冰楓論壇

標題: TwMS v231.2 CRC 取得最大HP/當前HP [打印本頁]

作者: rhg59321    時間: 2021-1-31 12:01
標題: TwMS v231.2 CRC 取得最大HP/當前HP
// TwMS v231.2 CRC 取得最大HP/當前HP
[ENABLE]
Registersymbol(Max_HP)
Registersymbol(Now_HP)
Alloc(Max_HP,04)
Alloc(Now_HP,04)
Alloc(Hook,64)
Label(Return)

Hook:
mov [Max_HP],ebx
push eax
mov eax,[ebp-10]
mov [Now_HP],eax
pop eax
call 02782FF0
jmp Return

0277FDC0:
jmp Hook
Return:

[DISABLE]
0277FDC0:
call 02782FF0

UnRegistersymbol(Max_HP)
UnRegistersymbol(Now_HP)
DeAlloc(Max_HP)
DeAlloc(Now_HP)
DeAlloc(Hook)







歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓