|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
killmanx27 Expert Cheater Reputation: 1
Joined: 03 Oct 2010 Posts: 130 Location: Canada :D
|
Posted: Fri Jul 11, 2014 7:55 pm Post subject: Help for AA scripts |
|
|
Hey guys its been a pretty long time since i last had done hacking and recently started to get into it, and i don't remember how to do things. My question is how do i address two separate addresses in only one AA script?
I want to combine
Code: |
[enable]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
//jg "Plant Tycoon.exe"+3A9F2
exit:
jmp returnhere
"Plant Tycoon.exe"+3A6A8:
jmp newmem
nop
returnhere:
[disable]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
jg "Plant Tycoon.exe"+3A9F2
exit:
jmp returnhere
"Plant Tycoon.exe"+3A6A8:
jmp newmem
nop
returnhere:
|
and
Code: |
[enable]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
cmp eax,#10000000000//[ecx+0000217C]
exit:
jmp returnhere
"Plant Tycoon.exe"+388B0:
jmp newmem
nop
returnhere:
[disable]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
cmp eax,[ecx+0000217C]
exit:
jmp returnhere
"Plant Tycoon.exe"+388B0:
jmp newmem
nop
returnhere:
| [/code]
_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Fri Jul 11, 2014 8:55 pm Post subject: |
|
|
One way:
Code: | [enable]
alloc(newmem,2048)
alloc(newmem2,2048)
label(returnhere)
label(returnhere2)
newmem:
jmp returnhere
"Plant Tycoon.exe"+3A6A8:
jmp newmem
nop
returnhere:
newmem2:
cmp eax,#10000000000//[ecx+0000217C]
jmp returnhere2
"Plant Tycoon.exe"+388B0:
jmp newmem2
nop
returnhere2:
[disable]
//code below |
|
|
Back to top |
|
|
killmanx27 Expert Cheater Reputation: 1
Joined: 03 Oct 2010 Posts: 130 Location: Canada :D
|
Posted: Fri Jul 11, 2014 9:36 pm Post subject: |
|
|
Thanks man that seems to work
_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|