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 


C++ Convert Multi-level Pointer to address pointed at

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

Joined: 27 Aug 2021
Posts: 41

PostPosted: Sun Oct 31, 2021 4:26 am    Post subject: C++ Convert Multi-level Pointer to address pointed at Reply with quote

I have this pointer in lua:
Code:
local base = '[[[["Minecraft.Windows.exe"+04169158]+40]+A0]+C0]+DC'

However, I want to find out what address this is pointing to, using C++
Is this possible?

_________________
Hope you're having a great day!
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Sun Oct 31, 2021 4:44 am    Post subject: Reply with quote

C++ pointer tutorial
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3321

PostPosted: Sun Oct 31, 2021 11:43 am    Post subject: Reply with quote

Sure it is.
Query the base address of the Minecraft.Windows.exe image, then iterate though the pointers using the offset.
When you reach the last one, you'll have your offset.
Keep in mind the address is valid only as long as no pointer has changed in that chain.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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