- UID
- 119417
- 帖子
- 10984
- 主題
- 4308
- 精華
- 0
- 積分
- 5381
- 楓幣
- 13976
- 威望
- 5284
- 存款
- 70
- 贊助金額
- 0
- 推廣
- 0
- GP
- 713
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 1946 小時
- 註冊時間
- 2015-10-18
- 最後登入
- 2024-11-30
|
- //TwMs v206.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],esi
- ror ecx,05
- jmp 01BF020D
- GetMP:
- mov [edi+000001FC],ebx
- mov [NowMP],ebx
- mov [MaxMP],esi
- push eax
- jmp 01BF0A24
- 01BF0204:
- jmp GetHP
- 01BF0A1D:
- jmp GetMP
- [Disable]
- 01BF0204:
- xor ecx,BAADF00D
- ror ecx,05
- 01BF0A1D:
- mov [edi+000001FC],ebx
- push eax
- DeAlloc(NowHP)
- DeAlloc(NowMP)
- DeAlloc(MaxHP)
- DeAlloc(MaxMP)
- DeAlloc(GetHP)
- DeAlloc(GetMP)
- UnRegisterSymbol(NowHP)
- UnRegisterSymbol(NowMP)
- UnRegisterSymbol(MaxHP)
- UnRegisterSymbol(MaxMP)
複製代碼 |
|