Posted: Sun Apr 16, 2023 11:46 pm Post subject: Error with finding static address with offset.
Error with finding static address with offset. I don't understand what the problem is. To find values, I use the cheat engine. I found a pointer that never changes value after application restart and always gives the right address.
In cheat engine Finds and works without problems, but if I write code in c++, there all the values diverge. In the code itself Module and offset are correct, the values are the same. But in cheat engine itself Wrong values. Calculation does not match c++ program and logic in general. ScreenShot 1 ScreenShot 2
0x59040000 = Base Adress
0x0001B6B0 = Offset for Base Adress
Offsets to find the right address: 0x20 + 0x124 + 0x1C + 0x5C
And if you look at the screenshots, it does not correspond to the logic of searching for an address. There value: 1C9ACB1C. What is the problem? I do not understand.
Tried to use 32bit and 64bit exe file. The base address of the module is found only on 32bit. Looked for static pointers many times, but everywhere the same result, they are correct and work in the Cheat Engine itself. But if I try to calculate values from outside with c++ and winapi code I have problems.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum