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 


Runtime JUMP Change via CE

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
argie
Newbie cheater
Reputation: 0

Joined: 23 Sep 2012
Posts: 21

PostPosted: Mon Sep 30, 2013 7:51 am    Post subject: Runtime JUMP Change via CE Reply with quote

Hi.

I am using CE for a long time. I mastered a lot of things reading tutorials and practicing. Still bad at LUA but improving. Also need more knowledge on AA. Thanks to all tutorial writers.

Anyway, I came across something I never needed before in CE because I would do it with other program or simply made my own. But now, I kinda want to learn to do it in CE.

"Problem" is this: Change the ASM jump command. It doesn't matter which one.

My example involves changing JNA to JA in CE disasm.

I tried with AA script (it worked) but then I had problems when reverting back.

So:

Code:
target.exe+11322EF - 76 05                 - jna target.exe+11322F6 // just needs to be JA 77
target.exe+11322F1 - 0F28 C1               - movaps xmm0,xmm1
target.exe+11322F4 - EB 08                 - jmp target.exe+11322FE
target.exe+11322F6 - 0F2F D8               - comiss xmm3,xmm0


Now, I am quite sure CE can change this to JA without using AA. But as said, I never used it for this so I am kinda confused.

How to simply change this to JA with possibility to revert to JNA? I know that AA is needed for reverting so I guess script will do. Or maybe it doesn't.

Thank you.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25856
Location: The netherlands

PostPosted: Mon Sep 30, 2013 7:59 am    Post subject: Reply with quote

change the 76 to 77 (JA) or FE (JMP) and when done change it to 76
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
argie
Newbie cheater
Reputation: 0

Joined: 23 Sep 2012
Posts: 21

PostPosted: Mon Sep 30, 2013 8:16 am    Post subject: Reply with quote

Dark Byte wrote:
change the 76 to 77 (JA) or FE (JMP) and when done change it to 76


Yes, I can change it manually in the disasm, But I was wondering is it possible to hotkey it somehow? There are few jumps that can be changed and it would be nice to be able to quickly deactivate JA to JNA (jbe, je).

I am guessing AA script is def needed but whenever I tried it, after deactivation I would get garbage code after the instruction. As said, I never changed jumps with AA.

I searched the forums for examples and made the working script but as said, after deactivation - 2lines of garbage code appear. I managed to get it without the garbage but then it wouldn't be deactivated...

Thanks for reply.
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Mon Sep 30, 2013 11:09 am    Post subject: Reply with quote

you can add a hotkey to your script file, so it activates or deactivates your patches, or you can add the address in the table then add a hotkey that sets the value at "target.exe+11322EF" to 0x0577 (JA patch)

then another key to disable(set value to 0x0576).
Back to top
View user's profile Send private message
argie
Newbie cheater
Reputation: 0

Joined: 23 Sep 2012
Posts: 21

PostPosted: Mon Sep 30, 2013 11:20 am    Post subject: Reply with quote

TsTg wrote:
you can add a hotkey to your script file, so it activates or deactivates your patches, or you can add the address in the table then add a hotkey that sets the value at "target.exe+11322EF" to 0x0577 (JA patch)

then another key to disable(set value to 0x0576).


Cheers mate, it works flawlessly Smile

Tried with multiple same and different jumps at the same time. All activate/deactivate properly when proper byte patch is set.

TY!
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