btb 發表於 2017-10-1 12:05:33

TwMS v201.3 自動喝水 [CRC]

本帖最後由 btb 於 2017-10-1 15:17 編輯

//TwMS v201.3 自動喝水
//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 01BEE590
JMP  Return

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

Return:
POPAD
call 01D3FDC0
JMP  01E6D3B6+5

01E6D3B6:
JMP AutoDrinker

01E6D3B6:
call 01D3FDC0

DeAlloc(HP)
DeAlloc(MP)
DeAlloc(HPKey)
DeAlloc(MPKey)
DeAlloc(AutoDrinker)
UnRegisterSymbol(HP)
UnRegisterSymbol(MP)
UnRegisterSymbol(HPKey)
UnRegisterSymbol(MPKey)



頁: [1]
查看完整版本: TwMS v201.3 自動喝水 [CRC]