bandana Advanced Cheater
Reputation: 0
Joined: 28 Dec 2009 Posts: 90
|
Posted: Sat Jul 09, 2011 10:58 pm Post subject: making toggle pointers |
|
|
this is my script for terraria and i would like to know how to make it toggleable. like having this part in it
cmp byte ptr [enable],01
| Code: | [ENABLE]
aobscan(_craft,//the bytes//)
label(_craftLabel)
registersymbol(_craftLabel)
alloc(craft,2048)
label(returnhere)
_craft:
_craftLabel:
jmp craft
nop
nop
nop
nop
returnhere:
craft:
db 90 90 90
jmp returnhere
[DISABLE]
_craftLabel:
dec [eax+3C]
mov eax,[ebp-000004CC]
dealloc(craft)
dealloc(enable_build)
unregistersymbol(_craftLabel) |
|
|