Posted: Thu Jul 11, 2013 3:03 pm Post subject: [C++] DLL function hook help
There is anticheat.DLL which has the function sub_100CBA4E responsible for sending informations to server to check if you're banned or not. This .DLL isn't exported but injected to portable executable(third party mod), so address 100CBA4E changes then. I know that I can use GetModuleHandle function to go directly to the DLL start address but I still don't know what's the offset to get 100CBA4E function.
How can I get address of this function after injection to some EXE?
GetModuleHandle("anticheat.dll") + ???? = 100CBA4E
Thanks in advance, someone adviced me to use FindPattern but I completely don't know how can I use it.
Joined: 09 May 2003 Posts: 25804 Location: The netherlands
Posted: Thu Jul 11, 2013 3:06 pm Post subject:
the offset is probably CBA4E as windows prefers to load modules on a 20 bit alignment
anyhow, in CE you can press ctrl+m, or just "go to address anticheat.dll" to see the base address _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
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