Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
Posted: Fri Apr 14, 2017 11:37 am Post subject:
Based on the main post, he is injected into the target progress, so you can instead just use GetModuleHandle rather than the enumeration API to get the addresses of things.
For example:
Code:
auto gameBase = (uintptr_t)::GetModuleHandle("gta3.exe");
*(FLOAT*)(gameBase + 0x8F2CD4) = 2;
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