自动读取大地图部队汇编脚本
{ Game : NOBU14PK.exe
Version:
Date : 2022-11-08
Author : ��������
This script does blah blah blah
}
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(INJECT100,NOBU14PK.exe,8B 50 18 0F BF 88 F8 00 00 00) // should be unique
alloc(newmem,$1000)
alloc(tmp100,$4)
label(code)
label(return)
newmem:
mov [tmp100],eax
code:
mov edx,[eax+18]
movsx ecx,word ptr [eax+000000F8]
jmp return
INJECT100:
jmp newmem
nop 5
return:
registersymbol(tmp100)
registersymbol(INJECT100)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT100:
db 8B 50 18 0F BF 88 F8 00 00 00
unregistersymbol(tmp100)
dealloc(tmp100)
unregistersymbol(INJECT100)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: NOBU14PK.exe+524725
NOBU14PK.exe+524703: 8B 96 C0 00 00 00 - mov edx,[esi+000000C0]
NOBU14PK.exe+524709: 6A 00 - push 00
NOBU14PK.exe+52470B: 52 - push edx
NOBU14PK.exe+52470C: E8 8F 69 DD FF - call NOBU14PK.exe+2FB0A0
NOBU14PK.exe+524711: 83 C4 08 - add esp,08
NOBU14PK.exe+524714: 43 - inc ebx
NOBU14PK.exe+524715: 83 FB 07 - cmp ebx,07
NOBU14PK.exe+524718: 0F 8C F8 FD FF FF - jl NOBU14PK.exe+524516
NOBU14PK.exe+52471E: 83 7D EC 00 - cmp dword ptr [ebp-14],00
NOBU14PK.exe+524722: 8B 45 08 - mov eax,[ebp+08]
// ---------- INJECTING HERE ----------
NOBU14PK.exe+524725: 8B 50 18 - mov edx,[eax+18]
// ---------- DONE INJECTING ----------
NOBU14PK.exe+524728: 0F BF 88 F8 00 00 00 - movsx ecx,word ptr [eax+000000F8]
NOBU14PK.exe+52472F: 8B 86 B8 00 00 00 - mov eax,[esi+000000B8]
NOBU14PK.exe+524735: 75 0C - jne NOBU14PK.exe+524743
NOBU14PK.exe+524737: 33 D2 - xor edx,edx
NOBU14PK.exe+524739: 39 48 40 - cmp [eax+40],ecx
NOBU14PK.exe+52473C: 74 12 - je NOBU14PK.exe+524750
NOBU14PK.exe+52473E: 89 48 40 - mov [eax+40],ecx
NOBU14PK.exe+524741: EB 0D - jmp NOBU14PK.exe+524750
NOBU14PK.exe+524743: 83 78 40 00 - cmp dword ptr [eax+40],00
NOBU14PK.exe+524747: 74 07 - je NOBU14PK.exe+524750
}