Advertisement
TheyCallMeTim13

Untitled

Apr 29th, 2021
1,822
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. define(address_1, "EoCApp.exe"+13F75FC)
  2. define(address_2, "EoCApp.exe"+15B80E5)
  3. [ENABLE]
  4. //code from here to '[DISABLE]' will be used to enable the cheat
  5. alloc(newmem, $100, address_1)
  6.  
  7. label(return_1)
  8. label(code_1)
  9.  
  10. label(return_2)
  11. label(code_2)
  12.  
  13. label(myPointer)
  14. registersymbol(myPointer)
  15.  
  16. newmem:
  17.     myPointer:
  18.         dq (float)0 // data quad for 8 bytes.
  19.                     //   The others are data word (dw) and data double (dd).
  20.     align 10 CC
  21.     code_1:
  22.         movsd [myPointer],xmm0
  23.         movsd [rbx+30],xmm0
  24.         jmp return_1
  25.     align 10 CC
  26.     code_2:
  27.         push rdx
  28.         mov rdx,[myPointer]
  29.         mov [rcx+38],rdx
  30.         pop rdx
  31.         jmp return_2
  32.  
  33. address_1:
  34.     jmp code_1
  35.     return_1:
  36. address_2:
  37.     jmp code_2
  38.     return_2:
  39.  
  40.  
  41. [DISABLE]
  42. //code from here till the end of the code will be used to disable the cheat
  43. address_1:
  44.     movsd [rcx+38],xmm0
  45. address_2:
  46.     movsd [rbx+30],xmm0
  47.  
  48. dealloc(newmem)
  49. unregistersymbol(myPointer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement