Posted: Wed Aug 06, 2014 9:44 pm Post subject: Rapidly changing pointer value
Hi,
*pointer scanning with default parameters does not work*
A variable K1 whose address is given by
[EBP + 8] where EBP always has the value 0124DDAC when K1 is being accessed.
However, the pointer at 0124DDAC is changing rather rapidly so only at one instant would it contain the address for K1.
Using <find out what writes to this address> returns an enormous list of assembly code that had written something to the address at some point (I only did some minimal action in the game).
In this case how should I find out a static pointer? I am going to look at using breakpoint to investigate for now.
EDIT:
Okay,
So I have tracked down this pointer value one step back, which is calculated from yet another pointer value that is rapidly changing and gets written over all the time. I could trace it few steps back but I am considering an alternative solution right now -
Question: How to instruct cheat engine to read a value at a particular address when a specified instruction code is executed?
Alright, I had a feeling that the offset used to calculate the new pointer value everytime a new address is generated would also be be changing all the time, so it's pointless to keep tracing back.
I looked into LUA scripting, and just did some simple scripting to set value of EAX which gets written to whatever address ECX is pointing at when a block of assembly gets executed that deals with battle dynamics.
Code:
function debugger_onBreakpoint()
EAX = 0x000000C8
debug_continueFromBreakpoint(co_run)
return 1
end
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