| View previous topic :: View next topic |
| Author |
Message |
q19 How do I cheat?
Reputation: 0
Joined: 06 Jul 2010 Posts: 1
|
Posted: Tue Jul 06, 2010 12:34 pm Post subject: [Delphi] Reading Value of Multi Level Pointer |
|
|
Hi,
normally I use this sample syntax to get a specific value from a memory address:
Card1p:=ptr($02CEF250);
readprocessmemory(handlewindow,Card1p,@Card1i,2,bytes);
Card1i has then the integer value I am looking for.
But what about multi level pointers?
What do I have to do (in Delphi) if I want to look for the pointer so that I dont need to change Card1p:=ptr($02CEF250); manually everytime I restart the programm.
Any ideas?
Thx...[/img]
PS: Of course I know the Address of the pointer...
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Tue Jul 06, 2010 12:53 pm Post subject: |
|
|
you're going to be reading an address out of your first address, so change it to read 4 bytes for each level.
read, add offset, then use that for the next address that you read from
repeat until through all the levels.
|
|
| Back to top |
|
 |
|