//TwMS_v182.2_ICS_全職業全圖打怪+物品掉落腳下
//更新:Boby
[Enable]
RegisterSymbol(FullMapSW)
Alloc(FullMapAtt_ICS,512)
Alloc(FullMapSW,04)
Label(FullMapAttByPass)
Label(FullMapAttack)
Label(FullMapAttackHook)
Label(FullMapAttackCall)
Label(FullMapAttByPassHook)
FullMapSW:
DD 01
FullMapAtt_ICS:
Cmp [FullMapSW],01
Jne Variantinit
Cmp [Esp+C],008D6FD4
Je FullMapAttByPass
Cmp [Esp+C],008D6E1C
Je FullMapAttack
Jmp Variantinit
//-------------------------------
FullMapAttByPass:
Mov [Esp+C],FullMapAttByPassHook
Jmp Variantinit
//-------------------------------
FullMapAttack:
Mov [Esp+C],FullMapAttackHook
Jmp Variantinit
//-------------------------------
FullMapAttByPassHook:
mov ecx,[ebx+00000214]
mov [ebp-04],0000000E
cmp ecx,esi
je 008D6BC8
lea eax,[ebp-58]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax,[ebp-5C]
push eax
lea eax,[ebp-60]
push eax
call 004B3ECC
or dword ptr [ebp-04],-1
lea eax,[ebp-58]
push eax
call 0046CE49
pop ecx
lea eax,[ebp-60]
push eax
lea ecx,[ebx+00000988]
call 00896205
test eax,eax
jmp 008D7024
//--------------------------
FullMapAttackHook:
mov ecx,[ebx+00000214]
mov [ebp-04],0000000D
cmp ecx,esi
je 008D6BC8
lea eax,[ebp-58]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax,[ebp-5C]
push eax
lea eax,[ebp-60]
push eax
call 004B3ECC
or dword ptr [ebp-04],-1
lea eax,[ebp-58]
push eax
call 0046CE49
pop ecx
lea eax,[ebp-60]
push eax
mov ecx,edi
//--------------------------
call FullMapAttackCall
//-------------------------------------
jmp 008D6E61
//-------------------------------------
FullMapAttackCall:
push esi
push edi
mov edi,[esp+0C]
pushad
mov ecx,[01928074]
add ecx, 04
push edi
call 005CB039
popad
jmp 004B55F4
//--------------------------------------
013D22EC:
DD FullMapAtt_ICS
[Disable]
013D22EC:
DD Variantinit
DeAlloc(FullMapAtt_ICS)
UnRegisterSymbol(FullMapSW)
沒有留言:
張貼留言