applying this to C++

Posts 1–2 of 2 · Page 1 of 1
applying this to C++
Now im slightly familiar at C++ but not enough yet that I can figure this out.

So I'm working on a memory hack for a game and the address/offsets started to get kinda funky so I wasn't able to continue with the way i was doing it. So I was wondering how I would use the following to get the address i need to edit with c++

So my base address is "client.dll"+005AA714 which gives me something along the lines of 0x0*****68 and then if i add an offset of 30 to that it gives me the address that i need. Now all i ask is how i would implement this into c++

Best Regards,
jjhend
I assume you're injecting so:
Code:
DWORD offset = *(DWORD*)((DWORD)GetModuleHandleA("client.dll") + 0x5AA714) + 0x30;
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us