rhg59321 發表於 2020-12-16 14:36:58

TwMS v230.2 CRC 取得人物經驗、等級

// TwMS v230.2 CRC 取得人物經驗、等級

RegisterSymbol(NowExp)
RegisterSymbol(MaxExp)
RegisterSymbol(NowLevel)
Alloc(NowExp,04)
Alloc(MaxExp,04)
Alloc(NowLevel,04)
Alloc(GetExp_Main,128)
Label(GetLevel)

02E9854F:
jmp GetExp_Main
db 90 90

GetExp_Main:
mov ecx,eax
mov ,eax
call 034B7470
db f2 0f 5a c0 56 f3 0f 11 45 08
call GetLevel
add esp,04
mov ,eax
jmp 02E98568

GetLevel:
push ebp
mov ebp,esp
mov edx,
mov ,edx
cmp edx,00000113
jg 00A4C008
mov eax,00000001
cmp edx,eax
cmovl edx,eax
db 8b 04 d5 e8 94 57 04 8b 14 d5 ec 94 57 04
pop ebp
ret


02E9854F:
DB 8b c8 e8 1a ef 61 00

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

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