Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.55 KB | None | 0 0
  1. void __declspec(naked)__stdcall PVacASM()
  2. {
  3.     __asm
  4.     {
  5.         mov eax,[esi+0x110]
  6.         cmp dword ptr [Time],0x007F0
  7.         jnl OtherRet
  8.         push ecx
  9.         push edx
  10.         inc [Time]
  11.         mov edx,dword ptr ds:[CharAddy]
  12.         mov edx,dword ptr ds:[edx+0x5F4]
  13.         mov ecx,dword ptr ds:[eax+0x0C]
  14.         cmp ecx,edx
  15.         jg Next
  16.         jl Prev
  17.  
  18.         OtherRet:
  19.         jmp [PvacRet]
  20.  
  21.         EndPVac:
  22.         pop ecx
  23.         pop edx
  24.         jmp [PvacRet]
  25.  
  26.         Next:
  27.         mov dword ptr [eax+0x50],0x00000000
  28.         jmp EndPVac
  29.  
  30.         Prev:
  31.         mov dword ptr [eax+0x4C],0x00000000
  32.         jmp EndPVac
  33.     }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement