Posted: Tue Apr 23, 2013 6:54 pm Post subject: Using Pointers Indside Data Structures
I am using a data structure for a compare for player ID. The data structure contains a pointer at offset +5C. When I expand this pointer, I see several values that might prove useful for my compare, but I do not know how to add them to my script. Is it possible?
Joined: 09 May 2003 Posts: 25909 Location: The netherlands
Posted: Wed Apr 24, 2013 2:05 am Post subject:
Like you do all pointers
Lets say you do a code injection and ecx contains the base of the structure
To get to the selected value you do:
mov eax,[ecx+5c]
Mov eax,[eax+4]
(You can replace eax with any register)
Also, rightclick and choose the option to add to your table to see an example with the base address set to the current structure base _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping
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