The best way is to look for patterns in memory and work using offsets. It will not be easy, because this is what game developers want to stop.
Thus, they will not have a good text string with the inscription "Ammo stores 27 bytes before the beginning of this line."
If they do complex things, for example, moving them every time the game starts (and I would be because I am insidious), you need to parse their code to find out how they determine memory.
Then you do the same. I know it sounds simple, and it does. But based on your past questions, I'm not sure if "H4cKL0rD" is a good nickname :-), at least in this case.
If you are not comfortable working with disassemblers, hexadecimal editors, etc., there will almost certainly be a program that does this for you.
source share