btb 發表於 2020-12-8 21:05:15

TWMS v230.1 CRC 取得人物經驗、等級

// TWMS v230.1 CRC 取得人物經驗、等級

RegisterSymbol(NowExp)
RegisterSymbol(MaxExp)
RegisterSymbol(NowLevel)
Alloc(NowExp,4)
Alloc(MaxExp,4)
Alloc(NowLevel,4)
Alloc(GetExp_Main,64)
Label(GetLevel)

02E95F0F:
jmp GetExp_Main
db 90 90

GetExp_Main:
mov ecx,eax
mov ,eax
call 034B4E20
db F2 0F 5A C0 56 F3 0F 11 45 08
call GetLevel
add esp,04
mov ,eax
jmp 02E95F28

GetLevel:
push ebp
mov ebp,esp
mov edx,
mov ,edx
cmp edx,00000113
mov eax,00000001
cmp edx,eax
cmovl edx,eax
db 8B 04 D5 E8 64 57 04 8B 14 D5 EC 64 57 04
pop ebp
ret


02E95F0F:
DB 8b c8 e8 0a ef 61 00

DeAlloc(NowExp)
DeAlloc(MaxExp)
DeAlloc(NowLevel)
UnRegisterSymbol(NowExp)
UnRegisterSymbol(MaxExp)
UnRegisterSymbol(NowLevel)

頁: [1]
查看完整版本: TWMS v230.1 CRC 取得人物經驗、等級