tsuan2000 發表於 2017-1-21 09:50:08

TwMS 195.2_ICS_人物左右走

//TwMS 195.2_ICS_人物左右走
//更新時間:2017-01-21
//更新: tsuan2000
//原創: 未知 有知道的麻煩私信 將改正


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   , 012E9EF1
Jne   ICSReturn
Mov   , AutoLRMain
ICSReturn:
Jmp   GetFocus

AutoLRMain:
Cmp   , 0
Je    012E9EF1
Push  Eax
Inc   
Mov   Eax,
Cmp   Eax,
Jge   GoLeft
Add   Eax,
Cmp   Eax,
Jge   GoRight
Mov   , 1
Jmp   GoLeft

GoLeft:
Mov   , FFFFFFFF
Pop   Eax
Jmp   012EA46E

GoRight:
Mov   , 00000001
Pop   Eax
Jmp   012EA46E

02140170:
DD AutoLRICSEntry


02140170:
DD GetFocus

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

prt 發表於 2017-1-21 10:40:27

阿勒我更新出來測試全噴了{:21_1386:}
頁: [1]
查看完整版本: TwMS 195.2_ICS_人物左右走