Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DWORD a = 0x29E7028; // CUserLocal: 8B 3D ? ? ? ? 8B 40
- DWORD b = 0x1DF85E0; // E8 ? ? ? ? 8D ? ? ? ? ? ? ? 89 ? ? ? ? ? E8 ? ? ? ? DB [FUNCTION START] (push esi)
- //For fucks sake, give those propper names
- //Some global variable
- auto YourFunc = reinterpret_cast<void(__thiscall*)(void * instance, int pid, int x, int)>(a);
- //call it like this
- YourFunc (*b, pID, x, y);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement