- UID
- 119417
- 帖子
- 10957
- 主題
- 4281
- 精華
- 0
- 積分
- 5353
- 楓幣
- 13694
- 威望
- 5256
- 存款
- 70
- 贊助金額
- 0
- 推廣
- 0
- GP
- 684
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 1941 小時
- 註冊時間
- 2015-10-18
- 最後登入
- 2024-11-25
|
- //TwMs v203.1 自動喝水 [CRC]
- //Author: Doem 2017-04-09
- [ENABLE]
- RegisterSymbol(HPKey)
- RegisterSymbol(MPKey)
- RegisterSymbol(HP)
- RegisterSymbol(MP)
- Alloc(AutoDrinker, 128)
- Label(PressHPKey)
- Label(PressMPKey)
- Label(Return)
- Alloc(HPKey,04)
- Alloc(MPKey,04)
- Alloc(HP,04)
- Alloc(MP,04)
- //-----------------------
- HP:
- DD 00000BB8 //3000
- MP:
- DD 000002BC //700
- //-----------------------
- HPKey:
- DD 01470000 //Home
- MPKey:
- DD 014F0000 //End
- //-----------------------
- AutoDrinker:
- PUSHAD
- MOV EAX,[03092DBC]
- CMP EAX,00000000
- JE Return
- MOV EBX,[EAX+18E4]
- MOV EAX,[EAX+18EC]
- MOV ECX,[HP]
- MOV EDX,[MP]
- CMP [EBX+1CC],ECX
- JB PressHPKey
- CMP [EAX+1CC],EDX
- JB PressMPKey
- JMP Return
- PressHPKey:
- mov ecx,[03087714]
- PUSH 0000002D
- PUSH [HPKey]
- CALL 01C10920
- JMP Return
- PressMPKey:
- mov ecx,[03087714]
- PUSH 0000002D
- PUSH [MPKey]
- CALL 01C10920
- Return:
- POPAD
- call 01D627D0
- JMP 01E8E8E6+5
- 01E8E8E6:
- JMP AutoDrinker
- [DISABLE]
- 01E8E8E6:
- call 01D627D0
- DeAlloc(HP)
- DeAlloc(MP)
- DeAlloc(HPKey)
- DeAlloc(MPKey)
- DeAlloc(AutoDrinker)
- UnRegisterSymbol(HP)
- UnRegisterSymbol(MP)
- UnRegisterSymbol(HPKey)
- UnRegisterSymbol(MPKey)
複製代碼 |
|