Find an instruction in an executable file, given its address in a running process?
问题 I'm modifying an old abandonware game to have infinite lives. The Address that has the instruction dec ecx is not the same as its position in the .exe debugged. I remembered that an old friend of mine told me once that there was a formula to get the "true" address with the instruction inside the .exe. Cheat engine gives me the Memory Address. I remember that in the math formula, I needed to get the Module, in OllyDbg i get it. But i can't remember the formula. Somebody know how is that math