prt 發表於 2023-4-15 01:22:03

TwMs v251.3 人物左右走

//TwMs v251.3 人物左右走

Alloc(AutoLRICSEntry,128,148241D80)
Alloc(AutoLRRange,08,148241D80)
Alloc(AutoLRMain,256,148241D80)
Alloc(AutoLRValue,08,148241D80)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)


AutoLRRange:
DQ A  //16進制 A=10 設置0為不左右走

AutoLRICSEntry:
push rax
mov rax,140BF75A3
cmp ,rax
jne ICSReturn
mov rax,AutoLRMain
mov ,rax
ICSReturn:
pop rax
jmp GetFocus

AutoLRMain:
cmp , 0
je 140BF75A3
inc
mov eax,
cmp eax,
jge GoLeft
add eax,
cmp eax,
jge GoRight
mov ,1
jmp GoLeft

GoLeft:
xor r14l,r14l
mov ,FFFFFFFF
jmp 140BF75C5

GoRight:
xor r14l,r14l
mov ,1

jmp 140BF75C5

148242D90:
DQ AutoLRICSEntry


148242D90:
DQ GetFocus

DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)

shock_131429055 發表於 2023-4-24 19:19:52

為何會出現 error in line 13 DQ A
This instruction cant be compiled??
球解決辦法
頁: [1]
查看完整版本: TwMs v251.3 人物左右走