matviy How do I cheat?
Reputation: 1
Joined: 05 Jun 2011 Posts: 4
|
Posted: Sun Jun 05, 2011 6:28 am Post subject: Need debugging help. Finding a function call. |
|
|
I have a game with string "foobar" in memory. When i do a certain action in the game, this string is displayed on the screen.
I know there is a function somewhere that is responsible for drawing this text on the screen because I've found it before.
I can find the string "foobar" in memory and i can set an access breakpoint on it, thinking this would lead me to the place where it's pushed on the stack and the function is called.
The problems is that between the time the breakpoint is hit and the time that the text appears on the screen, this string is copied, duplicated, and moved around memory probably hundreds of times for some reason.
I could probably spend an hour or two following it around and eventually find where the function is called, but it seems grossly inefficient and i can't help but feel that there is a better way to do it.
Any help?
|
|