Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { Game : AC4BFSP.exe (Assassin's Creed 4 - The one with pirates)
- Version: 1.06 / 1.07, tested on pirated version. Naturally.
- Date : 2017-12-19
- Author : Alaestor - http//public.FutureGadgetLab.net
- Script : "Freeze Consumables (and resources?)"
- This one function seems to modify a TON of values.
- And now, it doesn't.
- Hmm... Sure hope this doesn't break anything important...
- }
- [ENABLE]
- aobscanmodule(_valchange,AC4BFSP.exe,89 41 0C B0 01 5D C2 04 00 32 C0 5D C2 04 00)
- alloc(newmem,$1000)
- GlobalAlloc(LastChangedAddr,$1000)
- label(code)
- label(return)
- newmem:
- code:
- mov [LastChangedAddr],ecx // grab address of thing it tried to change
- //mov [ecx+0C],eax // set value of thing to new value
- mov al,01
- jmp return
- _valchange:
- jmp newmem
- return:
- registersymbol(_valchange)
- [DISABLE]
- _valchange:
- db 89 41 0C B0 01
- unregistersymbol(_valchange)
- dealloc(newmem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement