Advertisement
ChaosHacks

Age of Empires. Rise of Rome inf health

Mar 14th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. [ENABLE]
  2.  
  3. aobscanmodule(InfHealthTest2,EMPIRESX.EXE,D9 45 30 E8 63 F2 07 00)
  4. alloc(newmem,$1000)
  5.  
  6. label(code)
  7. label(return)
  8.  
  9. newmem:
  10.  
  11.  
  12. push edx
  13. mov edx,[ebp+C]
  14. mov edx,[edx+840]
  15. cmp [edx+6B8],#1
  16. pop edx
  17. jne code
  18.  
  19. //compare if the above changes
  20. //C+840+C54 me=4 AI=0
  21.  
  22. fld dword ptr [ebp+30]
  23. mov [ebp+30],(float)999
  24. //fld dword ptr [ebp+30]
  25. //fstp dword ptr [ebp+30]
  26.  
  27. call EMPIRESX.EXE+1283E0
  28.  
  29. jmp return
  30.  
  31. code:
  32.  
  33. fld dword ptr [ebp+30]
  34. call EMPIRESX.EXE+1283E0
  35. jmp return
  36.  
  37. InfHealthTest2:
  38. jmp newmem
  39. nop
  40. nop
  41. nop
  42. return:
  43. registersymbol(InfHealthTest2)
  44.  
  45. [DISABLE]
  46.  
  47. InfHealthTest2:
  48. db D9 45 30 E8 63 F2 07 00
  49.  
  50. unregistersymbol(InfHealthTest2)
  51. dealloc(newmem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement