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 


auto assembler edits

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

Joined: 14 Dec 2006
Posts: 2

PostPosted: Thu Dec 14, 2006 7:45 am    Post subject: auto assembler edits Reply with quote

i was wondering if it was possoble to edit this code to and +4000 to its current function, sry if im a little vague, im rather new. i can clarify more if there are any questions. thx

alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

00503764:
jmp newmem

returnhere:

newmem:


originalcode:
mov esi,edx
repe movsd
mov eax,[edx+0c]

exit:
jmp returnhere
Back to top
View user's profile Send private message AIM Address MSN Messenger
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue Jun 05, 2007 5:12 pm    Post subject: Reply with quote

I have a few questions:

1) What game is this? (A link would be nice)

2) What exactly are you trying to achieve in it?

3) Why is there no code in the "newmem" section of your code?

I think, if you just want to add 4000 to something's current function, you could do one of two things.

One, if it is already an 'add' command, then just edit the opcode. Or two, if it's some other opcode, then for the newmem section of the code put:

Code:

add <address goes here>, 4000


If neither work, I'd have to look at the game and see what you're trying to do.
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 9

Joined: 28 Nov 2006
Posts: 6285

PostPosted: Tue Jun 05, 2007 5:35 pm    Post subject: Reply with quote

All he did was post the template for the instruction he found.
I suggest reading a little bit instead of posting what you want done.
I will only do this once, and no guarantee's it is going to work.
So there you go.

Code:
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

00503764:
jmp newmem

returnhere:

newmem:
mov edx,FA0

originalcode:
mov esi,edx
repe movsd
mov eax,[edx+0c]

exit:
jmp returnhere

_________________

Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue Jun 05, 2007 7:05 pm    Post subject: Reply with quote

Labyrnth wrote:
All he did was post the template for the instruction he found.
I suggest reading a little bit instead of posting what you want done.
I will only do this once, and no guarantee's it is going to work.
So there you go.

Code:
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

00503764:
jmp newmem

returnhere:

newmem:
mov edx,FA0 //Should it not be "add edx,FA0"?

originalcode:
mov esi,edx
repe movsd
mov eax,[edx+0c]

exit:
jmp returnhere


I believe he said he wanted it to do was make it add 4000 to its function. (Just FYI, gogenry, FA0 is 4000 in Hexadecimal, the programming number system.)
Back to top
View user's profile Send private message
Chi-Tur
How do I cheat?
Reputation: 0

Joined: 13 Jun 2007
Posts: 1

PostPosted: Wed Jun 13, 2007 5:17 pm    Post subject: mmm Reply with quote

could u do dat with another address
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 9

Joined: 28 Nov 2006
Posts: 6285

PostPosted: Wed Jun 13, 2007 5:51 pm    Post subject: Reply with quote

samuri25404 wrote:

mov edx,FA0 //Should it not be "add edx,FA0"?

Your right, Good eye. Thank you for bringing it up.



Chi-Tur wrote:
could u do dat with another address

You can do that with any address, But it has to be for a reason, Not just to do it lol.

_________________

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 Tutorials -> Auto Assembler tutorials 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