prt 發表於 2017-12-1 22:25:18

TwMS v203.1 自動喝水 [CRC]

//TwMS v203.1 自動喝水
//Author: Doem 2017-04-09


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,
CMP  EAX,00000000
JE   Return
MOV  EBX,
MOV  EAX,
MOV  ECX,
MOV  EDX,
CMP  ,ECX
JB   PressHPKey
CMP  ,EDX
JB   PressMPKey
JMP  Return

PressHPKey:
mov ecx,
PUSH 0000002D
PUSH
CALL 01C10920
JMP  Return

PressMPKey:
mov ecx,
PUSH 0000002D
PUSH
CALL 01C10920

Return:
POPAD
call 01D627D0
JMP  01E8E8E6+5

01E8E8E6:
JMP AutoDrinker

01E8E8E6:
call 01D627D0

DeAlloc(HP)
DeAlloc(MP)
DeAlloc(HPKey)
DeAlloc(MPKey)
DeAlloc(AutoDrinker)
UnRegisterSymbol(HP)
UnRegisterSymbol(MP)
UnRegisterSymbol(HPKey)
UnRegisterSymbol(MPKey)
頁: [1]
查看完整版本: TwMS v203.1 自動喝水 [CRC]