Posted: Sun Mar 17, 2024 6:29 am Post subject: Accessing the pointer from the function name
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?
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
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