Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Tips on finding pointer to a vector?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Astaroth4256
Advanced Cheater
Reputation: 0

Joined: 25 May 2014
Posts: 59

PostPosted: Wed Jul 20, 2016 4:39 am    Post subject: Tips on finding pointer to a vector? Reply with quote

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
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Wed Jul 20, 2016 5:06 am    Post subject: Reply with quote

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
View user's profile Send private message
predprey
Master Cheater
Reputation: 24

Joined: 08 Oct 2015
Posts: 486

PostPosted: Wed Jul 20, 2016 11:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites