2014年2月6日 星期四

TwMS v1.50.2_ICS_部分技能最大值

[Enable]
Alloc(ICSHook, 512)
Label(SkillMax)
registersymbol(Updatebingfeng)
Alloc(Updatebingfeng, 4)

ICSHook:
Cmp [Esp], 008eebda
Jne OffsetRect
Mov [Esp], SkillMax
Jmp OffsetRect

SkillMax:
push ebx
push ebx
mov [ebp+5C],ebx
lea eax,[ebp+5C]
push ebx
cmp [ebp+6B],bl
jne 008EEBE8
pop ebx
pop ebx
pop ebx
mov ecx,[00e1cabc]
pushad
push 00
push 00
push 00
push 00
push 00
push 00
push 00
push 01
push eax
lea eax,[ebp+24]
push eax
call 00615e25
inc [Updatebingfeng]
popad
cmp dword ptr [Updatebingfeng],20
jnge SkillMax
mov [Updatebingfeng],00000000
mov eax,[ebp+5C]
mov [ebp+60],eax
cmp [ebp+60],ebx
je 008eec61
mov eax,[ebp+60]
mov ecx,[eax+000001a0]
cmp [eax+0000033c],ebx
jne 008eec4f
mov ecx,eax
call 006093fe
mov eax,[ebp+60]
cmp [eax+00000428],ebx
je 008EEC63
mov [ebp+60],ebx
mov eax,[ebp+60]
cmp eax,ebx
je 008eec61
mov eax,[eax+0000019c]
jmp 008eec63

Updatebingfeng:
DD 00
Ret

00E25E34:
DD ICSHook

[Disable]
00E25E34:
DD OffsetRect
DeAlloc(ICSHook)

沒有留言:

張貼留言