- UID
- 287787
- 帖子
- 219
- 主題
- 94
- 精華
- 0
- 積分
- 381
- 楓幣
- 3070
- 威望
- 354
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 6
- GP
- 101
- 閱讀權限
- 30
- 在線時間
- 547 小時
- 註冊時間
- 2020-8-5
- 最後登入
- 2024-11-21
|
- // TwMs v229.2 登記找路 Thread
- [ENABLE]
- RegisterSymbol(AutoFindway)
- Alloc(AutoFindway,512)
- RegisterSymbol(delay)
- Alloc(delay,04)
- Alloc(timer,04)
- Label(do)
- CreateThread(AutoFindway)
- delay:
- dd 3E8
- timer:
- dd 0
- AutoFindway:
- call 02BB0060
- mov edx,eax
- sub edx,[timer]
- cmp edx,[delay]
- jl AutoFindway
- mov [timer],eax
- // Check Status Start
- mov eax,[042CFA94]
- mov eax,[eax+00000174]
- cmp eax,1
- jne AutoFindway
- mov eax,[042CFD74]
- mov eax,[eax+00010A68]
- cmp eax,0
- je AutoFindway
- mov eax,[042CFD74]
- mov eax,[eax+00010A6C]
- cmp eax,000F423F
- je AutoFindway
- // Check Status End
- call do
- jmp AutoFindway
- do:
- // Teleport
- mov eax,[042CFD74]
- mov ebx,[eax+00010A68] //X
- mov edx,[eax+00010A6C] //Y
- sub edx,2 //adjust Y
- mov esi,[042CFD74]
- 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 00B73C20
- //
- mov eax,[042CFD74]
- mov [eax+00011A1C],1
- ret
- [DISABLE]
- AutoFindway:
- ret
- UnRegisterSymbol(AutoFindway)
- DeAlloc(AutoFindway)
- UnRegisterSymbol(delay)
- DeAlloc(delay)
- DeAlloc(timer)
複製代碼 |
-
總評分: 彩票 + 1
查看全部評分
|