TwMS v205.1 ICS 牆值左右走
- //TwMS v205.1 ICS 牆值左右走
- [Enable]
- Alloc(AutoLRICS,512)
- Alloc(MyLR,4)
- Label(AutoLR)
- Label(GetWall)
- Label(GetChrX)
- Label(GoRight)
- Label(GoLeft)
- MyLR:
- DD 1
- AutoLRICS:
- Cmp [Esp],008F447A
- Jne GetFocus
- Mov [Esp],AutoLR
- Jmp GetFocus
- AutoLR:
- Call GetWall
- Mov [ebp-18],Eax
- Xor Ecx,Ecx
- Xor Eax,Eax
- Cmp [ebp-18],Eax
- Jmp 008F4CA2
- GetWall:
- Call GetChrX
- Mov Ecx,[0354AFF0]
- Sub Eax,[Ecx+c]
- Cmp Eax,04
- Jle GoRight
- Call GetChrX
- Mov Ecx,[Ecx+14]
- sub Ecx,Eax
- cmp Ecx,04
- Jle GoLeft
- Mov Eax,[MyLR]
- Ret
- GetChrX:
- Mov Eax,[032E7F64]
- Mov Eax,[Eax+B128]
- Mov Eax,[Eax+34]
- Mov Eax,[Eax+60]
- Ret
- GoRight:
- Mov [MyLR],1
- Mov Eax,1
- Ret
- GoLeft:
- Mov [MyLR],FFFFFFFF
- Mov Eax,FFFFFFFF
- Ret
- 03552820:
- DD AutoLRICS
- [Disable]
- 03552820:
- DD GetFocus
- DeAlloc(MyLR)
- DeAlloc(AutoLRICS)
沒有留言:
張貼留言