6
"CombatManager"
0000FF
Auto Assembler Script
{ Game : West of Loathing.exe
Version:
Date : 2017-08-14
Author : ����
This script does blah blah blah
}
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(INJECT,48 63 86 B0 01 00 00 89) // should be unique
alloc(newmem,$1000)
alloc(plp,$1000)
registersymbol(plp)
label(code)
label(return)
newmem:
mov dword ptr [plp],rsi
movsxd rax,dword ptr [rsi+000001B0]
jmp return
code:
movsxd rax,dword ptr [rsi+000001B0]
jmp return
INJECT:
jmp newmem
nop
nop
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 48 63 86 B0 01 00 00
unregistersymbol(plp)
dealloc(plp,$1000)
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 10257B2E
10257B14: 53 - push rbx
10257B15: 56 - push rsi
10257B16: 57 - push rdi
10257B17: 41 54 - push r12
10257B19: 41 55 - push r13
10257B1B: 41 56 - push r14
10257B1D: 41 57 - push r15
10257B1F: 48 83 EC 38 - sub rsp,38
10257B23: 48 8B F1 - mov rsi,rcx
10257B26: 48 C7 45 B8 00 00 00 00 - mov [rbp-48],00000000
// ---------- INJECTING HERE ----------
10257B2E: 48 63 86 B0 01 00 00 - movsxd rax,dword ptr [rsi+000001B0]
// ---------- DONE INJECTING ----------
10257B35: 89 45 A4 - mov [rbp-5C],eax
10257B38: 48 89 45 98 - mov [rbp-68],rax
10257B3C: 48 8B 45 98 - mov rax,[rbp-68]
10257B40: 83 F8 05 - cmp eax,05
10257B43: 73 1B - jae CombatManager:Update+50
10257B45: 48 8B 45 98 - mov rax,[rbp-68]
10257B49: C1 E0 03 - shl eax,03
10257B4C: 8B C8 - mov ecx,eax
10257B4E: 48 B8 90 82 25 10 00 00 00 00 - mov rax,0000000010258290
10257B58: 48 03 C1 - add rax,rcx
}
9
"startDelay"
FF0000
Float
plp
1ac
10
"m_state"
FF0000
4 Bytes
plp
1b0
11
"m_tState"
FF0000
Double
plp
1B8
12
"m_iTurnCur"
FF0000
4 Bytes
plp
1C0
13
"m_fPlayerSideFirst"
FF0000
Byte
plp
1C4
14
"m_iSideCur"
FF0000
4 Bytes
plp
1C8
15
"m_iActorCur"
FF0000
4 Bytes
plp
1CC
16
"m_iActorSideMax"
FF0000
4 Bytes
plp
1D0
17
"m_iEffectCur"
FF0000
4 Bytes
plp
1D4
18
"m_gridposPlayerTarget"
FF0000
4 Bytes
plp
1D8
19
"m_combatresult"
FF0000
4 Bytes
plp
1DC
20
"m_combatresultForce"
FF0000
4 Bytes
plp
1E0
21
"m_fTargetDirty"
FF0000
Byte
plp
1E4
22
"m_apCostDoIt"
FF0000
4 Bytes
plp
1E8
23
"m_fAvailableDoIt"
FF0000
Byte
plp
1EC
24
"m_fReadyForAction [freez 1] unlimited turn player"
0000FF
Byte
plp
1Ed
8
"m_fShowDoItHelp"
FF0000
Byte
plp
1ee
43
"npcstorehandleselectitem"
0000FF
Auto Assembler Script
{ Game : West of Loathing.exe
Version:
Date : 2017-08-14
Author : ����
This script does blah blah blah
}
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(INJECT,48 63 46 58 89 45 CC 48 8B CD 48 ) // should be unique
alloc(newmem,$1000)
alloc(plp1,$1000)
registersymbol(plp1)
label(code)
label(return)
newmem:
mov dword ptr [plp1],rsi
movsxd rax,dword ptr [rsi+58]
mov [rbp-34],eax
jmp return
code:
movsxd rax,dword ptr [rsi+58]
mov [rbp-34],eax
jmp return
INJECT:
jmp newmem
nop
nop
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 48 63 46 58 89 45 CC
unregistersymbol(plp1)
dealloc(plp1,$1000)
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 0F7D232F
0F7D2310: 48 83 EC 20 - sub rsp,20
0F7D2314: 48 8B 00 - mov rax,[rax]
0F7D2317: 90 - nop
0F7D2318: 90 - nop
0F7D2319: 90 - nop
0F7D231A: FF 90 C8 02 00 00 - call qword ptr [rax+000002C8]
0F7D2320: 48 83 C4 20 - add rsp,20
0F7D2324: 48 8B 47 50 - mov rax,[rdi+50]
0F7D2328: 48 89 45 B8 - mov [rbp-48],rax
0F7D232C: 83 3E 00 - cmp dword ptr [rsi],00
// ---------- INJECTING HERE ----------
0F7D232F: 48 63 46 58 - movsxd rax,dword ptr [rsi+58]
0F7D2333: 89 45 CC - mov [rbp-34],eax
// ---------- DONE INJECTING ----------
0F7D2336: 48 8B CD - mov rcx,rbp
0F7D2339: 48 83 C1 CC - add rcx,-34
0F7D233D: 48 83 EC 20 - sub rsp,20
0F7D2341: 49 BB 20 26 C9 04 00 00 00 00 - mov r11,System:Int32:ToString
0F7D234B: 41 FF D3 - call r11
0F7D234E: 48 83 C4 20 - add rsp,20
0F7D2352: 48 8B D0 - mov rdx,rax
0F7D2355: 48 8B 45 B8 - mov rax,[rbp-48]
0F7D2359: 48 8B C8 - mov rcx,rax
0F7D235C: 48 83 EC 20 - sub rsp,20
}
45
"Selected Item Cost/Meat [ Buy/Sell ] ="
FF0000
4 Bytes
plp1
58
46
"Selected Item Qty [ Visual ]"
FF0000
4 Bytes
plp1
5C
59
"Activate in main menu Peramanent work"
0000FF
1
55
"meat 9999999 for 1.0"
FF0000
Auto Assembler Script
[ENABLE]
Aobscan(_fpx,02 72 6b 76 00 70 16 16 6F 0F 11 00 06 2A) //for 1.0
_fpx:
db 20 7F 96 98 00 2A
[DISABLE]
58
"meat 9999999 for 1.01"
FF0000
Auto Assembler Script
[ENABLE]
Aobscan(_fpx,02 72 83 76 00 70 16 16 6F 0F 11 00 06 2A) //for 1.01
_fpx:
db 20 7F 96 98 00 2A
[DISABLE]
57
"max ap 9999999 for 1.0 and 1.01"
FF0000
Auto Assembler Script
[ENABLE]
Aobscan(_fpx,02 72 5A ?? ?? ?? 17 16 6F ?? ?? ?? ?? 2A ) // for 1.0
// 02 72 5A 30 00 70 17 16 6F 0F 11 00 06 2A // for 1.01
_fpx:
db 20 7F 96 98 00 2A
[DISABLE]
Controls.Static
0393011D
Controls.Class
03930121
MPlayer.Static
0330011D
MPlayer.Class
03300121
INJECT
1CABECEE