TwMS v1.46_ICS_人物自動左右走(距離)


//TwMS v1.46_ICS_人物自動左右走(距離)
//更新: 歐歐=]



[ENABLE]
RegisterSymbol(AutoLRRange)
Alloc(AutoLRICSEntry, 64)
Alloc(AutoLRRange, 4)
Alloc(AutoLRValue, 4)
Label(AutoLRMain)
Label(GoLeft)
Label(GoRight)
//-----------------------------------------------
AutoLRRange:
DD A
//-----------------------------------------------
AutoLRICSEntry:
Cmp   [Esp], 008F8092
Jne   GetFocus
Mov   [Esp], AutoLRMain
Jmp   GetFocus
//-------------------
AutoLRMain:
Cmp   [AutoLRRange], 0
Je    008F8092
Push  Eax
Inc   [AutoLRValue]
Mov   Eax, [AutoLRRange]
Cmp   Eax, [AutoLRValue]
Jge   GoLeft
Add   Eax, [AutoLRRange]
Cmp   Eax, [AutoLRValue]
Jge   GoRight
Mov   [AutoLRValue], 1
Jmp   GoLeft

GoLeft:
Mov   [Ebp-04], FFFFFFFF
Pop   Eax
Jmp   008F835C

GoRight:
Mov   [Ebp-04], 00000001
Pop   Eax
Jmp   008F835C
//-----------------------------------------------
00D3D7C8:
DD AutoLRICSEntry

[DISABLE]
00D3D7C8:
DD GetFocus

Dealloc(AutoLRRange)
Dealloc(AutoLRValue)
Dealloc(AutoLRICSEntry)
UnregisterSymbol(AutoLRRange)

留言

本月最夯

偷用電腦,怎知?事件檢視器全記錄!(開機時間、啟動項時間...)