I wanna write an anticheat for a game. So it seems that the cheat itself is editing the memory (for example movement speed). So what I'm gonna do is make my anticheat tool to scan the memory offset and compare the value in the memory to the normal value that is there without editing memory. So I tried memory scanning tools but they show the value in a different address every time. So I need to find not the address but the offset (I think it's called offset actually :D ). I think since the cheat can find the value and edit it, so my anticheat can find the value and check it for correctness :) . But how? What functions I use? Is there already a program that does find the offset if you know the value?
Thanks in advance.