- UID
- 127666
- 帖子
- 2716
- 主題
- 420
- 精華
- 0
- 積分
- 1585
- 楓幣
- 4615
- 威望
- 1121
- 存款
- 7341
- 贊助金額
- 1500
- 推廣
- 22
- GP
- 4548
- 閱讀權限
- 150
- 在線時間
- 1785 小時
- 註冊時間
- 2016-1-30
- 最後登入
- 2024-11-22
|
//TwMs v215.2 CRC 取得人物血、魔
//Author:zeach01
[Enable]
RegisterSymbol(NowHP)
RegisterSymbol(NowMP)
RegisterSymbol(MaxHP)
RegisterSymbol(MaxMP)
Alloc(NowHP,4)
Alloc(NowMP,4)
Alloc(MaxHP,4)
Alloc(MaxMP,4)
Alloc(GetHP,64)
Alloc(GetMP,64)
GetHP:
xor ecx,BAADF00D
mov [NowHP],eax
mov [MaxHP],edi
ror ecx,05
jmp 01FBFC8C
GetMP:
mov [ebx+00000214],edi
mov [NowMP],edi
mov [MaxMP],esi
push eax
jmp 01FC04B6
01FBFC83:
jmp GetHP
01FC04AF:
jmp GetMP
[Disable]
01FBFC83:
xor ecx,BAADF00D
ror ecx,05
01FC04AF:
mov [ebx+00000214],edi
push eax
DeAlloc(NowHP)
DeAlloc(NowMP)
DeAlloc(MaxHP)
DeAlloc(MaxMP)
DeAlloc(GetHP)
DeAlloc(GetMP)
UnRegisterSymbol(NowHP)
UnRegisterSymbol(NowMP)
UnRegisterSymbol(MaxHP)
UnRegisterSymbol(MaxMP)
|
|