lazybug Newbie cheater
Reputation: 0
Joined: 06 Dec 2011 Posts: 10
|
Posted: Wed Dec 14, 2011 1:34 am Post subject: why cannot disable the auto assmble |
|
|
I make the script for learning. when I assign it to table, and toggle it in addresslist window. I clicked the active square twice .the code would be no changed(first insert jmp, then recover to original code),but I find the address where I insert jmp always be jmp.
could anyone give some idea. thks
| Code: |
[ENABLE]
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
alloc(life,4)
label(myexit)
mov [life],64
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
pushad
pushfd
push 58
call GetAsyncKeyState
test ax,8000
jz myexit
mov eax,[life]
mov [ebx+458],eax
myexit:
popfd
popad
originalcode:
sub [ebx+00000458],eax
exit:
jmp returnhere
420F3E:
jmp newmem
nop
returnhere:
[DISABLE]
dealloc(newmem)
dealloc(life)
420F3E:
sub [ebx+00000458],eax
|
|
|