Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


help!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
optiplex
How do I cheat?
Reputation: 0

Joined: 29 Sep 2006
Posts: 1

PostPosted: Tue Jan 22, 2008 8:56 am    Post subject: help! Reply with quote

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 Razz

-optiplex
Back to top
View user's profile Send private message
Zerith
Master Cheater
Reputation: 1

Joined: 07 Oct 2007
Posts: 468

PostPosted: Tue Jan 22, 2008 10:26 am    Post subject: Re: help! Reply with quote

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 Razz

-optiplex


Why did you pop 0110579c's Value if it wasn't pushed anyway o_O
Back to top
View user's profile Send private message MSN Messenger
optiplex
How do I cheat?
Reputation: 0

Joined: 29 Sep 2006
Posts: 1

PostPosted: Wed Jan 23, 2008 1:12 am    Post subject: Reply with quote

dunno, im learnin it.
withouth the pop it wont work either...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites