Thank you. But i'm gonna try those a other time.
Finding the right offset is very easy. It works exactly as how you find the 'closer' function. But instead of getting a function you have a hex value as offset. (press D a few times until you see ...h then google 0x... to decimal)
Changing the firetime doesn't always change how fast you can fire. For some weapons it doesn't work.
I committed my changes. https://github.com/M-itch/libcod/com...0f04c343e27dff