Another very simple God Mode. (Scripted Death's still happen)
Code: Select all
[ENABLE]
aobscanmodule(_InfiniteHealth,ShadowOfWar.exe,F3 0F 10 80 E4 03 00 00 48) // should be unique
aobscanmodule(_GodMode,ShadowOfWar.exe,F3 0F 10 90 E0 03 00 00 E8) // should be unique
alloc(newmem,$1000,ShadowOfWar.exe)
label(code)
label(return)
_GodMode:
db F3 0F 10 90 E4 03 00 00 // Visual Bar Fix
newmem:
push rbx
mov rbx,[rax+000003E0]
mov [rax+000003E4],rbx
pop rbx
code:
movss xmm0,[rax+000003E4]
jmp return
_InfiniteHealth:
jmp newmem
nop
nop
nop
return:
registersymbol(_InfiniteHealth)
registersymbol(_GodMode)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
_InfiniteHealth:
db F3 0F 10 80 E4 03 00 00
_GodMode:
db F3 0F 10 90 E0 03 00 00
unregistersymbol(_InfiniteHealth)
unregistersymbol(_GodMode)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "ShadowOfWar.exe"+15E83E
"ShadowOfWar.exe"+15E809: E8 EE 8A 62 00 - call ShadowOfWar.exe+7872FC
"ShadowOfWar.exe"+15E80E: EB CE - jmp ShadowOfWar.exe+15E7DE
"ShadowOfWar.exe"+15E810: 48 83 EC 38 - sub rsp,38
"ShadowOfWar.exe"+15E814: 8B 81 B4 00 00 00 - mov eax,[rcx+000000B4]
"ShadowOfWar.exe"+15E81A: 45 33 C9 - xor r9d,r9d
"ShadowOfWar.exe"+15E81D: F2 0F 10 81 AC 00 00 00 - movsd xmm0,[rcx+000000AC]
"ShadowOfWar.exe"+15E825: F2 0F 11 44 24 20 - movsd [rsp+20],xmm0
"ShadowOfWar.exe"+15E82B: 89 44 24 28 - mov [rsp+28],eax
"ShadowOfWar.exe"+15E82F: 48 8B 81 B0 24 00 00 - mov rax,[rcx+000024B0]
"ShadowOfWar.exe"+15E836: F3 0F 10 88 E0 03 00 00 - movss xmm1,[rax+000003E0]
// ---------- INJECTING HERE ----------
"ShadowOfWar.exe"+15E83E: F3 0F 10 80 E4 03 00 00 - movss xmm0,[rax+000003E4]
// ---------- DONE INJECTING ----------
"ShadowOfWar.exe"+15E846: 48 8B 05 93 C7 1C 02 - mov rax,[ShadowOfWar.exe+232AFE0]
"ShadowOfWar.exe"+15E84D: 4C 8B 80 18 6D 00 00 - mov r8,[rax+00006D18]
"ShadowOfWar.exe"+15E854: F3 41 0F 11 80 50 03 00 00 - movss [r8+00000350],xmm0
"ShadowOfWar.exe"+15E85D: F3 0F 10 44 24 20 - movss xmm0,[rsp+20]
"ShadowOfWar.exe"+15E863: F3 41 0F 11 88 54 03 00 00 - movss [r8+00000354],xmm1
"ShadowOfWar.exe"+15E86C: F3 0F 10 4C 24 24 - movss xmm1,[rsp+24]
"ShadowOfWar.exe"+15E872: 45 89 88 58 03 00 00 - mov [r8+00000358],r9d
"ShadowOfWar.exe"+15E879: F3 41 0F 11 80 24 03 00 00 - movss [r8+00000324],xmm0
"ShadowOfWar.exe"+15E882: F3 0F 10 44 24 28 - movss xmm0,[rsp+28]
"ShadowOfWar.exe"+15E888: F3 41 0F 11 80 2C 03 00 00 - movss [r8+0000032C],xmm0
}
{
// ORIGINAL CODE - INJECTION POINT: "ShadowOfWar.exe"+14DB50
"ShadowOfWar.exe"+14DB0D: 0F 84 1D FF FF FF - je ShadowOfWar.exe+14DA30
"ShadowOfWar.exe"+14DB13: E9 AE DF BC 00 - jmp ShadowOfWar.exe+D1BAC6
"ShadowOfWar.exe"+14DB18: 48 8B 05 C1 D4 1D 02 - mov rax,[ShadowOfWar.exe+232AFE0]
"ShadowOfWar.exe"+14DB1F: 0F 28 C1 - movaps xmm0,xmm1
"ShadowOfWar.exe"+14DB22: 48 8B 90 18 6D 00 00 - mov rdx,[rax+00006D18]
"ShadowOfWar.exe"+14DB29: F3 0F 5C 82 50 03 00 00 - subss xmm0,[rdx+00000350]
"ShadowOfWar.exe"+14DB31: F3 0F 11 8A 50 03 00 00 - movss [rdx+00000350],xmm1
"ShadowOfWar.exe"+14DB39: F3 0F 58 82 58 03 00 00 - addss xmm0,[rdx+00000358]
"ShadowOfWar.exe"+14DB41: F3 0F 11 82 58 03 00 00 - movss [rdx+00000358],xmm0
"ShadowOfWar.exe"+14DB49: 48 8B 81 B0 24 00 00 - mov rax,[rcx+000024B0]
// ---------- INJECTING HERE ----------
"ShadowOfWar.exe"+14DB50: F3 0F 10 90 E0 03 00 00 - movss xmm2,[rax+000003E0]
// ---------- DONE INJECTING ----------
"ShadowOfWar.exe"+14DB58: E8 13 2B 3D 01 - call ShadowOfWar.exe+1520670
"ShadowOfWar.exe"+14DB5D: E9 CE FE FF FF - jmp ShadowOfWar.exe+14DA30
"ShadowOfWar.exe"+14DB62: CC - int 3
"ShadowOfWar.exe"+14DB63: CC - int 3
"ShadowOfWar.exe"+14DB64: 48 83 EC 28 - sub rsp,28
"ShadowOfWar.exe"+14DB68: 48 8B 89 D8 21 00 00 - mov rcx,[rcx+000021D8]
"ShadowOfWar.exe"+14DB6F: 48 85 C9 - test rcx,rcx
"ShadowOfWar.exe"+14DB72: 74 0D - je ShadowOfWar.exe+14DB81
"ShadowOfWar.exe"+14DB74: 44 8A C2 - mov r8l,dl
"ShadowOfWar.exe"+14DB77: BA 04 00 00 00 - mov edx,00000004
}