View previous topic :: View next topic |
Author |
Message |
Astaroth4256 Advanced Cheater Reputation: 0
Joined: 25 May 2014 Posts: 59
|
Posted: Wed Jul 20, 2016 4:39 am Post subject: Tips on finding pointer to a vector? |
|
|
I have found an address inside a "structure' that looks like this;
>pointer x
>pointer x+2
>my address
If I see what pointer2 points to it's:
>pointer x+2 address
>pointer x+3
>some address similiar to my address
My guess is that it's a vector, but I can't always find something that points to the vector and it's tedious. Is there some quick way to find a pointer to this? |
|
Back to top |
|
|
cooleko Grandmaster Cheater Reputation: 11
Joined: 04 May 2016 Posts: 717
|
Posted: Wed Jul 20, 2016 5:06 am Post subject: |
|
|
See what accesses the base of the structure, use that instruction to store the base address, then you can always access your value as [bAddress+offset] |
|
Back to top |
|
|
predprey Master Cheater Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Wed Jul 20, 2016 11:40 pm Post subject: |
|
|
if i understand correctly, looks like a linked list.
for one you can do as cookelo suggest, to get the instruction that accesses "my address" and store it in alloc-ed memory and register it as a symbol. then add a pointer record using it. try to find the instruction that accesses only the first item of the linked list, not the iterator that goes through it.
alternatively, you can use pointer scanner to find a pointer to the first item's "my address". but you have to do this again if the game updates changes the offsets. |
|
Back to top |
|
|
|