冰楓論壇
標題:
TwMS 190.3_ICS_人物左右走 [2016/07/07 測試]
[打印本頁]
作者:
乂Boyue乂
時間:
2016-7-7 13:36
標題:
TwMS 190.3_ICS_人物左右走 [2016/07/07 測試]
//TwMS 190.3_ICS_人物左右走
//更新時間:2016-07-07
//更新: Boyue
//原創: 未知 有知道的麻煩私信 將改正
[ENABLE]
Alloc(AutoLRICSEntry, 64)
Label(ICSReturn)
RegisterSymbol(AutoLRMain)
Alloc(AutoLRMain, 128)
Label(GoLeft)
Label(GoRight)
RegisterSymbol(AutoLRRange)
Alloc(AutoLRRange, 4)
Alloc(AutoLRValue, 4)
AutoLRRange:
DD A
AutoLRICSEntry:
Cmp [Esp], 011E9F1C
Jne ICSReturn
Mov [Esp], AutoLRMain
ICSReturn:
Jmp GetFocus
AutoLRMain:
Cmp [AutoLRRange], 0
Je 011E9F1C
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-10], FFFFFFFF
Pop Eax
Jmp 011EA4A4
GoRight:
Mov [Ebp-10], 00000001
Pop Eax
Jmp 011EA4A4
01C05288:
DD AutoLRICSEntry
[DISABLE]
01C05288:
DD GetFocus
Dealloc(AutoLRICSEntry)
UnregisterSymbol(AutoLRMain)
Dealloc(AutoLRMain)
UnregisterSymbol(AutoLRRange)
Dealloc(AutoLRRange)
Dealloc(AutoLRValue)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓