peter0517 發表於 2022-10-24 20:38:36

懇求TwMs v247.1 人物左右走數據

如舊版TwMs v240.2 人物左右走,懇求高手幫忙TwMs v247.1 人物左右走數據,感恩!

rhg59321 發表於 2022-10-24 20:38:37

//TwMs v247.1 人物左右走

Alloc(AutoLRICSEntry,128,147869E90)
Alloc(AutoLRRange,08,147869E90)
Alloc(AutoLRMain,256,147869E90)
Alloc(AutoLRValue,08,147869E90)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)

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

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

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

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

GoRight:
xor r14l,r14l
mov ,1
jmp 140A86EF5

147869E90:
DQ AutoLRICSEntry


147869E90:
DQ GetFocus

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

peter0517 發表於 2022-10-27 22:53:54

感謝幫忙!
頁: [1]
查看完整版本: 懇求TwMs v247.1 人物左右走數據