- UID
- 175467
- 帖子
- 24521
- 主題
- 1257
- 精華
- 0
- 積分
- 3023
- 楓幣
- 7015
- 威望
- 2439
- 存款
- 137915
- 贊助金額
- 1500
- 推廣
- 0
- GP
- 6072
- 閱讀權限
- 150
- 在線時間
- 4188 小時
- 註冊時間
- 2017-1-18
- 最後登入
- 2024-11-28
|
//TwMs v208.3 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],esi
ror ecx,05
jmp 01D6BF3D
GetMP:
mov [edi+00000214],ebx
mov [NowMP],ebx
mov [MaxMP],esi
push eax
jmp 01D6C754
01D6BF34:
jmp GetHP
01D6C74D:
jmp GetMP
[Disable]
01D6BF34:
xor ecx,BAADF00D
ror ecx,05
01D6C74D:
mov [edi+00000214],ebx
push eax
DeAlloc(NowHP)
DeAlloc(NowMP)
DeAlloc(MaxHP)
DeAlloc(MaxMP)
DeAlloc(GetHP)
DeAlloc(GetMP)
UnRegisterSymbol(NowHP)
UnRegisterSymbol(NowMP)
UnRegisterSymbol(MaxHP)
UnRegisterSymbol(MaxMP)
|
|