冰楓論壇

標題: TwMs v267.2 人物左右走 [打印本頁]

作者: lafeng666    時間: 2025-1-8 22:30
標題: TwMs v267.2 人物左右走
//TwMs v267.2 人物左右走

[ENABLE]

Alloc(AutoLRICSEntry,128,14121754B)

Alloc(AutoLRRange,08,14121754B)

Alloc(AutoLRMain,256,14121754B)

Alloc(AutoLRValue,08,14121754B)

Label(ICSReturn)

Label(GoLeft)

Label(GoRight)





AutoLRRange:
DQ A
AutoLRICSEntry:

push rax

mov rax,14121754B

cmp [rsp+08],rax

jne ICSReturn

mov rax,AutoLRMain

mov [rsp+08],rax

ICSReturn:

pop rax

jmp GetFocus



AutoLRMain:

cmp [AutoLRRange], 0

je 14121754B

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 byte ptr [rbp-09],00

mov [rbp+000000E0],FFFFFFFF

jmp 14121757A



GoRight:

mov byte ptr [rbp-09],00

mov [rbp+000000E0],01

jmp 14121757A





1484BC050:

DQ AutoLRICSEntry



[DISABLE]

1484BC050:

DQ GetFocus



DeAlloc(AutoLRMain)

DeAlloc(AutoLRValue)

DeAlloc(AutoLRRange)

DeAlloc(AutoLRICSEntry)







歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓