|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
toontoonizer Newbie cheater Reputation: 0
Joined: 24 Dec 2018 Posts: 12
|
Posted: Wed Jan 23, 2019 1:25 pm Post subject: AOB inject that NOPs 6 codes in one go |
|
|
Hi All,
I have a piece of code (below) where i would like to NOP 6 opcodes (indicated). I can do this by creating an AOB script for each individual opcode and putting the NOPs (equal number of bytes as the original opcode) and that works fine. The only minor annoyance is i have to make 6 scripts.
So
Code: |
Dishonored_DO.exe+ABBD7B - test rcx,rcx
Dishonored_DO.exe+ABBD7E - je Dishonored_DO.exe+ABBE6F <<<NOP
Dishonored_DO.exe+ABBD84 - mov rax,[rcx]
Dishonored_DO.exe+ABBD87 - call qword ptr [rax+000000E8]
Dishonored_DO.exe+ABBD8D - test al,al
Dishonored_DO.exe+ABBD8F - jne Dishonored_DO.exe+ABBE6F <<<NOP
Dishonored_DO.exe+ABBD95 - mov rcx,[Dishonored_DO.exe+27FB818]
Dishonored_DO.exe+ABBD9C - mov rax,[rcx]
Dishonored_DO.exe+ABBD9F - call qword ptr [rax+000000F8]
Dishonored_DO.exe+ABBDA5 - test al,al
Dishonored_DO.exe+ABBDA7 - jne Dishonored_DO.exe+ABBE6F <<<NOP
Dishonored_DO.exe+ABBDAD - mov rcx,[Dishonored_DO.exe+27FB818]
Dishonored_DO.exe+ABBDB4 - mov rax,[rcx]
Dishonored_DO.exe+ABBDB7 - call qword ptr [rax+38]
Dishonored_DO.exe+ABBDBA - test al,al
Dishonored_DO.exe+ABBDBC - je Dishonored_DO.exe+ABBE6F <<<NOP
Dishonored_DO.exe+ABBDC2 - mov rax,[Dishonored_DO.exe+368B7D0]
Dishonored_DO.exe+ABBDC9 - lea rcx,[Dishonored_DO.exe+368B7D0]
Dishonored_DO.exe+ABBDD0 - call qword ptr [rax+00000118]
Dishonored_DO.exe+ABBDD6 - test al,al
Dishonored_DO.exe+ABBDD8 - jne Dishonored_DO.exe+ABBE6F <<<NOP
Dishonored_DO.exe+ABBDDE - mov rcx,[Dishonored_DO.exe+27FB818]
Dishonored_DO.exe+ABBDE5 - add rcx,001F75F8
Dishonored_DO.exe+ABBDEC - call Dishonored_DO.exe+954390
Dishonored_DO.exe+ABBDF1 - cmp eax,05
Dishonored_DO.exe+ABBDF4 - je Dishonored_DO.exe+ABBE6F <<<NOP
Dishonored_DO.exe+ABBDF6 - call Dishonored_DO.exe+112780
|
When using CHeatengines autoassembler, the AOB injection only detects 6-8 bytes and the injection is too short.
Maybe i am missing something here (maybe it should be done in 6 individual scripts) but i thought it would be good to know if there is a way to do this? I can't seem to work it out.
Thanks!
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Wed Jan 23, 2019 1:52 pm Post subject: |
|
|
Code: | [enable]
Dishonored_DO.exe+ABBD7E:
db 90 90 90 90 90 90
Dishonored_DO.exe+ABBD8F:
db 90 90 90 90 90 90
Dishonored_DO.exe+ABBDA7:
db 90 90 90 90 90 90
Dishonored_DO.exe+ABBDBC:
db 90 90 90 90 90 90
Dishonored_DO.exe+ABBDD8:
db 90 90 90 90 90 90
Dishonored_DO.exe+ABBDF4:
db 90 90 90 90 90 90
[disable]
Dishonored_DO.exe+ABBD7E:
je Dishonored_DO.exe+ABBE6F
Dishonored_DO.exe+ABBD8F:
jne Dishonored_DO.exe+ABBE6F
Dishonored_DO.exe+ABBDA7:
jne Dishonored_DO.exe+ABBE6F
Dishonored_DO.exe+ABBDBC:
je Dishonored_DO.exe+ABBE6F
Dishonored_DO.exe+ABBDD8:
jne Dishonored_DO.exe+ABBE6F
Dishonored_DO.exe+ABBDF4:
je Dishonored_DO.exe+ABBE6F |
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
toontoonizer Newbie cheater Reputation: 0
Joined: 24 Dec 2018 Posts: 12
|
Posted: Fri Jan 25, 2019 4:52 pm Post subject: |
|
|
oh fantastic - thank you very much!
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Fri Jan 25, 2019 5:27 pm Post subject: |
|
|
sorry, just noticed an extra bytes:
Code: | [enable]
Dishonored_DO.exe+ABBD7E:
db 90 90 90 90 90 90
Dishonored_DO.exe+ABBD8F:
db 90 90 90 90 90 90
Dishonored_DO.exe+ABBDA7:
db 90 90 90 90 90 90
Dishonored_DO.exe+ABBDBC:
db 90 90 90 90 90 90
Dishonored_DO.exe+ABBDD8:
db 90 90 90 90 90 90
Dishonored_DO.exe+ABBDF4:
db 90 90 // extra bytes 90 90 90 90
[disable]
Dishonored_DO.exe+ABBD7E:
je Dishonored_DO.exe+ABBE6F
Dishonored_DO.exe+ABBD8F:
jne Dishonored_DO.exe+ABBE6F
Dishonored_DO.exe+ABBDA7:
jne Dishonored_DO.exe+ABBE6F
Dishonored_DO.exe+ABBDBC:
je Dishonored_DO.exe+ABBE6F
Dishonored_DO.exe+ABBDD8:
jne Dishonored_DO.exe+ABBE6F
Dishonored_DO.exe+ABBDF4:
je Dishonored_DO.exe+ABBE6F |
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
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
|
|