 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
optiplex How do I cheat?
Reputation: 0
Joined: 29 Sep 2006 Posts: 1
|
Posted: Tue Jan 22, 2008 8:56 am Post subject: help! |
|
|
hey dudes nd dudettes
im learning auto assemble, so I was looking in winmine.exe
i want to assemble 0100579C, and when the time value is above 10, then i want to decrease it.
heres my code, i dont see why its not working :/
| Code: | alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(decrease)
label(exit)
01002FF5:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
pop [0100579c]
cmp [0100579c],10 // compare timevalue with 10
ja decrease // jump if above to the decrease code
originalcode:
inc [0100579c]
decrease:
sub [0100579c],10 // decrease the timevalue with 10?
exit:
jmp returnhere
|
please help
-optiplex
|
|
| Back to top |
|
 |
Zerith Master Cheater
Reputation: 1
Joined: 07 Oct 2007 Posts: 468
|
Posted: Tue Jan 22, 2008 10:26 am Post subject: Re: help! |
|
|
| optiplex wrote: | hey dudes nd dudettes
im learning auto assemble, so I was looking in winmine.exe
i want to assemble 0100579C, and when the time value is above 10, then i want to decrease it.
heres my code, i dont see why its not working :/
| Code: | alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(decrease)
label(exit)
01002FF5:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
pop [0100579c]
cmp [0100579c],10 // compare timevalue with 10
ja decrease // jump if above to the decrease code
originalcode:
inc [0100579c]
decrease:
sub [0100579c],10 // decrease the timevalue with 10?
exit:
jmp returnhere
|
please help
-optiplex |
Why did you pop 0110579c's Value if it wasn't pushed anyway o_O
|
|
| Back to top |
|
 |
optiplex How do I cheat?
Reputation: 0
Joined: 29 Sep 2006 Posts: 1
|
Posted: Wed Jan 23, 2008 1:12 am Post subject: |
|
|
dunno, im learnin it.
withouth the pop it wont work either...
|
|
| 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
|
|