TwMS v1.52.2_ICS_移動加速
[enable]
alloc(SpeedUp,128)
alloc(Client,128)
alloc(Speed,4)
alloc(FakeTime,4)
label(SpeedChk)
label(Normal)
label(SpeedMain)
label(SpeedUpMain)
Speed: // 移動速度
dd 6
SpeedUp:
cmp [esp], 009bf03d //8b 86 94 00 00 00 8b 4d 44 83 c0 1c
je SpeedMain
jmp 00a0fdc6
SpeedMain:
add esp, 4
push esi
mov esi,[Speed]
jmp SpeedChk
SpeedUpMain:
add esp, 4
push esi
mov esi,6
jmp SpeedChk
SpeedChk:
test esi,esi
je Normal
dec esi
Pushad
Mov Ecx,[Client]
Mov Eax,[00f71328]
Lea Eax,[Eax+1C]
Add [Eax],Ecx
Popad
push esi
push ecx
push eax
call dword ptr [eax]
pop eax
pop ecx
pop esi
Pushad
Mov Ecx,[Client]
Mov Eax,[00f71328]
Lea Eax,[Eax+1C]
Sub [Eax],Ecx
Add [Client],000001Fe
Popad
jmp SpeedChk
Normal:
pop esi
jmp 009bf03d
00DC0DEC:
dd SpeedUp
[disable]
00DC0DEC: // [9/10] // 008E0059
dd 00a0fdc6 // [2/2] // 53 56 57 8b f9 8d 77 ?? 8b 06
dealloc(SpeedUp)
dealloc(Speed)
dealloc(FakeTime)
沒有留言:
張貼留言