| View previous topic :: View next topic |
| Author |
Message |
KalasDev Master Cheater
Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Thu Jun 16, 2016 2:28 am Post subject: Mirror's Edge Catalyst Inf. Focus Issue... |
|
|
| Code: | [ENABLE]
aobscanmodule(Focus,MSVCR120.dll,41 89 02 49 8B C3 C3 48 0F B6 02 8B) // should be unique
alloc(newmem,$100,"MSVCR120.dll"+3C516)
label(code)
label(return)
newmem:
code:
//mov [r10],eax
mov [r10],(float)99
mov rax,r11
jmp return
Focus:
jmp code
nop
return:
registersymbol(Focus)
[DISABLE]
Focus:
db 41 89 02 49 8B C3
unregistersymbol(Focus)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "MSVCR120.dll"+3C516
"MSVCR120.dll"+3C4F7: 66 41 89 02 - mov [r10],ax
"MSVCR120.dll"+3C4FB: 49 8B C3 - mov rax,r11
"MSVCR120.dll"+3C4FE: C3 - ret
"MSVCR120.dll"+3C4FF: 48 0F B6 02 - movzx rax,byte ptr [rdx]
"MSVCR120.dll"+3C503: 48 0F B7 4A 01 - movzx rcx,word ptr [rdx+01]
"MSVCR120.dll"+3C508: 41 88 02 - mov [r10],al
"MSVCR120.dll"+3C50B: 66 41 89 4A 01 - mov [r10+01],cx
"MSVCR120.dll"+3C510: 49 8B C3 - mov rax,r11
"MSVCR120.dll"+3C513: C3 - ret
"MSVCR120.dll"+3C514: 8B 02 - mov eax,[rdx]
// ---------- INJECTING HERE ----------
"MSVCR120.dll"+3C516: 41 89 02 - mov [r10],eax
"MSVCR120.dll"+3C519: 49 8B C3 - mov rax,r11
// ---------- DONE INJECTING ----------
"MSVCR120.dll"+3C51C: C3 - ret
"MSVCR120.dll"+3C51D: 48 0F B6 02 - movzx rax,byte ptr [rdx]
"MSVCR120.dll"+3C521: 8B 4A 01 - mov ecx,[rdx+01]
"MSVCR120.dll"+3C524: 41 88 02 - mov [r10],al
"MSVCR120.dll"+3C527: 41 89 4A 01 - mov [r10+01],ecx
"MSVCR120.dll"+3C52B: 49 8B C3 - mov rax,r11
"MSVCR120.dll"+3C52E: C3 - ret
"MSVCR120.dll"+3C52F: 48 0F B7 02 - movzx rax,word ptr [rdx]
"MSVCR120.dll"+3C533: 8B 4A 02 - mov ecx,[rdx+02]
"MSVCR120.dll"+3C536: 66 41 89 02 - mov [r10],ax
} |
When I activate the script the game crash, basically the max focus is 100 I just went with 99, what could be the issue that is causing the game to crash
Is there any Anti-Cheats in this game ?
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Thu Jun 16, 2016 2:29 am Post subject: |
|
|
You are editing code that is within a C++ runtime DLL. Meaning any other code that makes a call to the same function is going to be forced to use that same value. This is not the spot where you want to make a cave at.
_________________
- Retired. |
|
| Back to top |
|
 |
KalasDev Master Cheater
Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Thu Jun 16, 2016 2:30 am Post subject: |
|
|
| Ehm alright kind of new the AA, is there any way to make it work ?
|
|
| Back to top |
|
 |
zm0d Master Cheater
Reputation: 7
Joined: 06 Nov 2013 Posts: 423
|
Posted: Thu Jun 16, 2016 2:41 am Post subject: |
|
|
MSVCR120.dll is the module for the microsoft visual c runtime, as atom0s said.
You are creating a code cave in this module, which is totally not what you should do, because the function you are editing there is probably getting called alot of times on other places in your game. You should create this code cave in the game module, where your focus gets set.
- Find the right value with memory scanner
- Find out what writes to this value
- Create code cave at this place
- Write your own value
|
|
| Back to top |
|
 |
KalasDev Master Cheater
Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Thu Jun 16, 2016 2:46 am Post subject: |
|
|
| Ohh I was getting the wrong address yes I see that now, ok I'm going to re-scan, my Cheat Engine is so slow on this game so annoying...
|
|
| Back to top |
|
 |
zm0d Master Cheater
Reputation: 7
Joined: 06 Nov 2013 Posts: 423
|
Posted: Thu Jun 16, 2016 3:28 am Post subject: |
|
|
| Try use a bigger scan-buffer for faster scans. (Check out settings)
|
|
| Back to top |
|
 |
KalasDev Master Cheater
Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Thu Jun 16, 2016 3:40 am Post subject: |
|
|
Alright
|
|
| Back to top |
|
 |
|