冰楓論壇
標題:
TwMS v240.2 登記找路Thread
[打印本頁]
作者:
prt
時間:
2022-1-19 23:37
標題:
TwMS v240.2 登記找路Thread
//TwMS v240.2 登記找路Thread
[ENABLE]
RegisterSymbol(AutoFindway)
Alloc(AutoFindway,512)
RegisterSymbol(delay)
Alloc(delay,04)
Alloc(timer,04)
Label(do)
CreateThread(AutoFindway)
//換圖毫秒間隔,默認為1000毫秒,十六進制,切勿太低避免掉線問題。
delay:
dd 000003E8
timer:
dd 0
AutoFindway:
call 02FC37B0
mov edx,eax
sub edx,[timer]
cmp edx,[delay]
jl AutoFindway
mov [timer],eax
mov eax,[044365A4]
mov eax,[eax+00000160]
cmp eax,1
jne AutoFindway
mov eax,[04436898]
mov eax,[eax+00012BC4]
cmp eax,0
je AutoFindway
mov eax,[04436898]
mov eax,[eax+00012BC4]
cmp eax,000F423F
je AutoFindway
call do
jmp AutoFindway
do:
mov eax,[04436898]
mov ebx,[eax+00012BC4]
mov edx,[eax+00012BC8]
sub edx,4 //adjust Y
mov esi,[04436898]
lea ecx,[esi+04]
mov eax,[esi+04]
mov eax,[eax+24]
call eax
test eax,eax
je AutoFindway
push edx
push ebx
push 00
mov ecx,eax
call 00C76000
mov eax,[04436898]
mov [eax+00013B24],01
ret
[DISABLE]
AutoFindway:
ret
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓