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 


Accessing the pointer from the function name

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
selojin
How do I cheat?
Reputation: 0

Joined: 03 Jan 2024
Posts: 1

PostPosted: Sun Mar 17, 2024 6:29 am    Post subject: Accessing the pointer from the function name Reply with quote

Hello, first of all, I apologize for my bad English. My question is: I have a function like "Engine.CMovableEntity::SetDesiredTranslation+52". When I type into the cheat engine it gives me a pointer. Actually this means "Engine.dll+1CC812". I want to access this directly in C++, how can I do this?
Back to top
View user's profile Send private message
Alt
How do I cheat?
Reputation: 2

Joined: 19 Jan 2017
Posts: 4

PostPosted: Mon Mar 18, 2024 1:36 pm    Post subject: Reply with quote

In C++ you can use TlHelp32.h. Look into CreateToolhelp32Snapshot and the MODULEENTRY32 data type. Check if Module32First is your desired module, then loop through iterative Module32Next checks until you find your module. The base address will be stored in the MODULEENTRY32 object's modBaseAddr member variable
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