SHARE
TWEET

Untitled

a guest Oct 12th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. { Game   : ShadowOfWar.exe
  2.   Version:
  3.   Date   : 2017-10-12
  4.   Author : Kalas
  5.  
  6.   This script does blah blah blah
  7. }
  8.  
  9. [ENABLE]
  10.  
  11. aobscanmodule(TalionHealthOnWrites,ShadowOfWar.exe,F3 0F 11 93 E4 03 00 00) // 8 NOP's
  12. alloc(newmem,$100,TalionHealthOnWrites)
  13.  
  14. alloc(Talion_HealthSet, 08)
  15. registersymbol(Talion_HealthSet)
  16. Talion_HealthSet:
  17.   dd 0
  18.  
  19. label(code)
  20. label(return)
  21. label(PlayerCheck)
  22.  
  23. newmem:
  24.   cmp [rbx+78], 0
  25.   je PlayerCheck
  26.   jmp code
  27.  
  28. PlayerCheck:
  29.   cmp dword ptr [Talion_HealthSet], 1
  30.   jne code
  31.   mov [rbx+3E4], (float)999
  32.  
  33. code:
  34.   movss [rbx+000003E4],xmm2
  35.   jmp return
  36.  
  37. TalionHealthOnWrites:
  38.   jmp newmem
  39.   nop
  40.   nop
  41.   nop
  42. return:
  43. registersymbol(TalionHealthOnWrites)
  44.  
  45. [DISABLE]
  46.  
  47. TalionHealthOnWrites:
  48.   db F3 0F 11 93 E4 03 00 00
  49.  
  50. unregistersymbol(TalionHealthOnWrites)
  51. dealloc(newmem)
RAW Paste Data
Top