- UID
- 7067
- 帖子
- 2823
- 主題
- 67
- 精華
- 0
- 積分
- 225
- 楓幣
- 20085
- 威望
- 181
- 存款
- 19856
- 贊助金額
- 0
- 推廣
- 0
- GP
- 1671
- 閱讀權限
- 100
- 性別
- 保密
- 在線時間
- 870 小時
- 註冊時間
- 2012-3-23
- 最後登入
- 2024-12-15
|
按鍵碼就自行看上一篇吧!
免得有人ˊ連什麼是註解都不知道...- //TwMs v197.3 自動喝水 [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 000003E8 //1000
- MP:
- DD 00002710 //10000
- //-----------------------
- HPKey:
- DD 01520000
- MPKey:
- DD 01530000
- //-----------------------
- AutoDrinker:
- PUSHAD
- MOV EAX,[02D9347C]
- CMP EAX,00000000
- JE Return
- MOV EBX,[EAX+18AC] //HP
- MOV EAX,[EAX+18B4] //MP
- MOV ECX,[HP]
- MOV EDX,[MP]
- CMP [EBX+1B4],ECX
- JB PressHPKey
- CMP [EAX+1B4],EDX
- JB PressMPKey
- JMP Return
- PressHPKey:
- MOV ECX,[02D86314]
- PUSH 0000002D
- PUSH [HPKey]
- CALL 01A4F670
- JMP Return
- PressMPKey:
- MOV ECX,[02D86314]
- PUSH 0000002D
- PUSH [MPKey]
- CALL 01A4F670
- Return:
- POPAD
- CALL 01B89CB0
- JMP 01CA51E6+5
-
- 01CA51E6:
- JMP AutoDrinker
- [DISABLE]
- 01CA51E6:
- CALL 01B89CB0
- DeAlloc(HP)
- DeAlloc(MP)
- DeAlloc(HPKey)
- DeAlloc(MPKey)
- DeAlloc(AutoDrinker)
- UnRegisterSymbol(HP)
- UnRegisterSymbol(MP)
- UnRegisterSymbol(HPKey)
- UnRegisterSymbol(MPKey)
複製代碼 |
|