- UID
- 119417
- 帖子
- 10957
- 主題
- 4281
- 精華
- 0
- 積分
- 5353
- 楓幣
- 13694
- 威望
- 5256
- 存款
- 70
- 贊助金額
- 0
- 推廣
- 0
- GP
- 684
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 1942 小時
- 註冊時間
- 2015-10-18
- 最後登入
- 2024-11-25
|
本帖最後由 prt 於 2017-10-18 10:27 編輯
- //TwMs 202.1_ICS人物左右走
- [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 //距離 16進制 A=10
- //-----------------------------------------------
- AutoLRICSEntry:
- Cmp [Esp], 0086594C
- Jne ICSReturn
- Mov [Esp], AutoLRMain
- ICSReturn:
- Jmp GetFocus
- //-------------------
- AutoLRMain:
- Cmp [AutoLRRange], 0
- Je 0086594C
- 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-14], FFFFFFFF
- Pop Eax
- Jmp 00865F43
- GoRight:
- Mov [Ebp-14], 00000001
- Pop Eax
- Jmp 00865F43
- //-----------------------------------------------
- 030715C0:
- DD AutoLRICSEntry
- [DISABLE]
- 030715C0:
- DD GetFocus
- Dealloc(AutoLRICSEntry)
- UnregisterSymbol(AutoLRMain)
- Dealloc(AutoLRMain)
- UnregisterSymbol(AutoLRRange)
- Dealloc(AutoLRRange)
- Dealloc(AutoLRValue)
複製代碼 |
|