Advertisement
alaestor

AC4 Infinite Consumables Cheat Engine

Dec 19th, 2017
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. { Game : AC4BFSP.exe (Assassin's Creed 4 - The one with pirates)
  2. Version: 1.06 / 1.07, tested on pirated version. Naturally.
  3. Date : 2017-12-19
  4. Author : Alaestor - http//public.FutureGadgetLab.net
  5. Script : "Freeze Consumables (and resources?)"
  6.  
  7. This one function seems to modify a TON of values.
  8. And now, it doesn't.
  9. Hmm... Sure hope this doesn't break anything important...
  10. }
  11.  
  12. [ENABLE]
  13. aobscanmodule(_valchange,AC4BFSP.exe,89 41 0C B0 01 5D C2 04 00 32 C0 5D C2 04 00)
  14. alloc(newmem,$1000)
  15. GlobalAlloc(LastChangedAddr,$1000)
  16.  
  17. label(code)
  18. label(return)
  19.  
  20. newmem:
  21. code:
  22. mov [LastChangedAddr],ecx // grab address of thing it tried to change
  23. //mov [ecx+0C],eax // set value of thing to new value
  24. mov al,01
  25. jmp return
  26.  
  27. _valchange:
  28. jmp newmem
  29. return:
  30. registersymbol(_valchange)
  31.  
  32. [DISABLE]
  33. _valchange:
  34. db 89 41 0C B0 01
  35. unregistersymbol(_valchange)
  36. dealloc(newmem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement