| View previous topic :: View next topic |
| Author |
Message |
UnknownXYZ Newbie cheater
Reputation: 0
Joined: 13 Jun 2006 Posts: 22
|
Posted: Mon Jan 08, 2007 5:29 pm Post subject: Is there any way to find out what CALLED a piece of code? |
|
|
As the title said, is there any way to find out where a particular piece of code is called from?
I mean, you could search your HP in-game for example, and then go to 'find what accesses this address', which would end up leading you to a piece of assembly, that causes damage on your character. But if you scroll up (say, to find what causes the game to think you've been hit in the first place, for example), you usually end up just running into a dead end - a return from a previous procedure. Or maybe I'm just doing something wrong. How can I find out what assembly was run before that?
hanks.
|
|
| Back to top |
|
 |
dezuzi Expert Cheater
Reputation: 0
Joined: 09 Aug 2006 Posts: 146 Location: In your washing machine
|
|
| Back to top |
|
 |
g3nuin3 Cheater
Reputation: 0
Joined: 08 Jan 2007 Posts: 28
|
Posted: Tue Jan 09, 2007 9:57 am Post subject: |
|
|
Yep if you set a breakpoint on the ret. in the stack the caller functions address is saved there. i cant remember exactly which offset, but its there, thats how RET knows where to return to
|
|
| Back to top |
|
 |
dezuzi Expert Cheater
Reputation: 0
Joined: 09 Aug 2006 Posts: 146 Location: In your washing machine
|
Posted: Tue Jan 09, 2007 10:44 am Post subject: |
|
|
i believe this thread has been answered already...
_________________
Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime.
Dynamic memory is my playground.. |
|
| Back to top |
|
 |
UnknownXYZ Newbie cheater
Reputation: 0
Joined: 13 Jun 2006 Posts: 22
|
Posted: Wed Jan 10, 2007 3:36 am Post subject: |
|
|
| I see. But the game I want to do this with, uses GameGuard, and I thought it was semi-impossible to use the debugger with the latest versions of GameGuard?
|
|
| Back to top |
|
 |
dezuzi Expert Cheater
Reputation: 0
Joined: 09 Aug 2006 Posts: 146 Location: In your washing machine
|
Posted: Wed Jan 10, 2007 9:25 am Post subject: |
|
|
i dont mess around with games that use gameguard, theyr too simple to hack and theyr too boring and theyr all the same
_________________
Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime.
Dynamic memory is my playground.. |
|
| Back to top |
|
 |
|