<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>10</ID>
<Description>"Van's Favorite Counter"</Description>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : STORY OF SEASONS Friends of Mineral Town.exe
Version:
Date : 2024-11-01
Author : Algester
This script does blah blah blah
}
[ENABLE]
aobscanmodule(VanFavo,STORY OF SEASONS Friends of Mineral Town.exe,8B 80 5C E6 00 00) // should be unique
alloc(newmem,$1000,VanFavo)
label(code)
label(return VanCount)
newmem:
code:
mov [VanCount],rax
mov eax,[rax+0000E65C]
jmp return
VanCount:
dq 0
VanFavo:
jmp newmem
nop
return:
registersymbol(VanFavo VanCount)
[DISABLE]
VanFavo:
db 8B 80 5C E6 00 00
unregistersymbol(VanFavo VanCount)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: STORY OF SEASONS Friends of Mineral Town.exe+357B47
STORY OF SEASONS Friends of Mineral Town.exe+357B21: 8B 80 54 E6 00 00 - mov eax,[rax+0000E654]
STORY OF SEASONS Friends of Mineral Town.exe+357B27: 48 83 C4 30 - add rsp,30
STORY OF SEASONS Friends of Mineral Town.exe+357B2B: 5B - pop rbx
STORY OF SEASONS Friends of Mineral Town.exe+357B2C: C3 - ret
STORY OF SEASONS Friends of Mineral Town.exe+357B2D: 48 8B 81 70 03 00 00 - mov rax,[rcx+00000370]
STORY OF SEASONS Friends of Mineral Town.exe+357B34: 8B 80 58 E6 00 00 - mov eax,[rax+0000E658]
STORY OF SEASONS Friends of Mineral Town.exe+357B3A: 48 83 C4 30 - add rsp,30
STORY OF SEASONS Friends of Mineral Town.exe+357B3E: 5B - pop rbx
STORY OF SEASONS Friends of Mineral Town.exe+357B3F: C3 - ret
STORY OF SEASONS Friends of Mineral Town.exe+357B40: 48 8B 81 70 03 00 00 - mov rax,[rcx+00000370]
// ---------- INJECTING HERE ----------
STORY OF SEASONS Friends of Mineral Town.exe+357B47: 8B 80 5C E6 00 00 - mov eax,[rax+0000E65C]
// ---------- DONE INJECTING ----------
STORY OF SEASONS Friends of Mineral Town.exe+357B4D: 48 83 C4 30 - add rsp,30
STORY OF SEASONS Friends of Mineral Town.exe+357B51: 5B - pop rbx
STORY OF SEASONS Friends of Mineral Town.exe+357B52: C3 - ret
STORY OF SEASONS Friends of Mineral Town.exe+357B53: 48 8B 81 70 03 00 00 - mov rax,[rcx+00000370]
STORY OF SEASONS Friends of Mineral Town.exe+357B5A: 8B 80 60 E6 00 00 - mov eax,[rax+0000E660]
STORY OF SEASONS Friends of Mineral Town.exe+357B60: 48 83 C4 30 - add rsp,30
STORY OF SEASONS Friends of Mineral Town.exe+357B64: 5B - pop rbx
STORY OF SEASONS Friends of Mineral Town.exe+357B65: C3 - ret
STORY OF SEASONS Friends of Mineral Town.exe+357B66: 48 8B 81 70 03 00 00 - mov rax,[rcx+00000370]
STORY OF SEASONS Friends of Mineral Town.exe+357B6D: 8B 80 64 E6 00 00 - mov eax,[rax+0000E664]
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>11</ID>
<Description>"Items Checked"</Description>
<LastState Value="0" RealAddress="22880D736BC"/>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>[VanCount]+E65C</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
Van's Favorite Counter for V1.07?
as this is the base I forgot how the offsets are managed but RAX here is the player base assuming the logic was consistent