- UID
- 21539
- 帖子
- 3023
- 主題
- 1553
- 精華
- 0
- 積分
- 3621
- 楓幣
- 421
- 威望
- 3484
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 340
- 閱讀權限
- 90
- 在線時間
- 2736 小時
- 註冊時間
- 2013-1-30
- 最後登入
- 2024-11-15
|
這個會偏?
// TwMS v226.2 ICS 人物左右走
[ENABLE]
RegisterSymbol(AutoLRRange)
RegisterSymbol(AutoLRMain)
Alloc(AutoLRICSEntry,64)
Alloc(AutoLRMain,128)
Alloc(AutoLRRange,04)
Alloc(AutoLRValue,04)
Label(GoLeft)
Label(GoRight)
//-----------------------------------------------
AutoLRRange:
DD A //16進制 A=10 設置0為不左右走
//-----------------------------------------------
AutoLRICSEntry:
cmp [esp],00B3DE0A
jne GetFocus
mov [esp],AutoLRMain
jmp GetFocus
//-------------------
AutoLRMain:
cmp [AutoLRRange], 0
je 00B3DE0A
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-1C],FFFFFFFF
pop eax
jmp 00B3E6B1
GoRight:
mov [ebp-1C],00000001
pop eax
jmp 00B3E6B1
04340068:
DD AutoLRICSEntry
[DISABLE]
04340068:
DD GetFocus
DeAlloc(AutoLRMain)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRICSEntry)
UnRegisterSymbol(AutoLRMain)
UnRegisterSymbol(AutoLRRange) |
|