Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. DWORD a = 0x29E7028; // CUserLocal: 8B 3D ? ? ? ? 8B 40
  2. DWORD b = 0x1DF85E0; // E8 ? ? ? ? 8D ? ? ? ? ? ? ? 89 ? ? ? ? ? E8 ? ? ? ? DB [FUNCTION START] (push esi)
  3.  
  4. //For fucks sake, give those propper names
  5.  
  6. //Some global variable
  7. auto YourFunc = reinterpret_cast<void(__thiscall*)(void * instance, int pid, int x, int)>(a);
  8.  
  9. //call it like this
  10. YourFunc (*b, pID, x, y);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement