| View previous topic :: View next topic |
| Author |
Message |
rain-13 Expert Cheater
Reputation: 0
Joined: 18 Mar 2009 Posts: 110
|
Posted: Tue Aug 09, 2011 7:43 am Post subject: My first multilevel pointer (Prince of Persia SoT -> life |
|
|
Special thanks to Chase Payne for posting video that was really helpful.
So Base pointer is 00A99474 and offsets are: 18;4;44;19C
That's my first pointer I found (see I learned something).
But I would just like to ask about offsets. Does it mean that I have some structure or array?
I mean if 19C points to life, does it worth looking at other offsets as well?? like should I try 19B .. 0 ? Or is it improbable?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25930 Location: The netherlands
|
Posted: Tue Aug 09, 2011 8:41 am Post subject: |
|
|
yes, it's certainly worth looking there
for example 1a0 might contain the maximum value of health
and 198 might contain something else near health
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
rain-13 Expert Cheater
Reputation: 0
Joined: 18 Mar 2009 Posts: 110
|
Posted: Tue Aug 09, 2011 9:12 am Post subject: |
|
|
ok thanks, but does other offsets also worth looking? Or are they about other things then player?
Does those 4 offsets mean that i have something like following?
| Code: | Struct Base {
Struct ptr3 {
Struct ptr2 {
Struct ptr1 {
Struct Player {
[19C] = life
}
}
}
}
} |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25930 Location: The netherlands
|
Posted: Tue Aug 09, 2011 9:36 am Post subject: |
|
|
often yes, but is can also be an array (which is actually also a struct if you think about it, just a struct with all the same size and type elements)
it depends on the pointer if it's used for other stuff
e.g the pointerpath you found might be:
game struct->map struct->controller struct->player struct
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
rain-13 Expert Cheater
Reputation: 0
Joined: 18 Mar 2009 Posts: 110
|
Posted: Wed Aug 10, 2011 1:15 am Post subject: |
|
|
| that's good. Now I just need to way to dump it. Is there any way to tell if address is pointer? I could then just do endless loop that reads next address until address has value instead of pointer. but only thing is that how do I understand if extremely large number is coordinate or pointer to new address.
|
|
| Back to top |
|
 |
|