冰楓論壇

標題: TwMS 190.2_ICS_限定全圖+物品落腳下 [2016/07/06 已測試] [打印本頁]

作者: Homax    時間: 2016-7-6 14:36
標題: TwMS 190.2_ICS_限定全圖+物品落腳下 [2016/07/06 已測試]
本帖最後由 Homax 於 2016-7-6 14:47 編輯

[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
nop
Cmp [Esp+C],009699C3
Je FullMapAttByPass
Cmp [Esp+C],009697AB
Je FullMapAttack
Jmp Variantinit


FullMapAttByPass:
Mov [Esp+C],FullMapAttByPassHook
Jmp Variantinit


FullMapAttack:
Mov [Esp+C],FullMapAttackHook
Jmp Variantinit


FullMapAttByPassHook:
mov ecx,[ebx+000001b0]
mov [ebp-04],00000011
cmp ecx,esi
je 0096839d
lea eax,[ebp-68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax,[ebp-54]
push eax
lea eax,[ebp-58]
push eax
call 004cb81e
or dword ptr [ebp-04],-1
lea eax,[ebp-68]
push eax
call 00401dc1
pop ecx
lea eax,[ebp-58]
push eax
lea ecx,[ebx+000009ec]
call 0091ebac
test eax,eax
jmp 00969a13


FullMapAttackHook:
mov ecx,[ebx+000001b0]
mov [ebp-04],00000010
cmp ecx,esi
je 0096839d
lea eax,[ebp-68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax,[ebp-54]
push eax
lea eax,[ebp-58]
push eax
call 004cb81e
or dword ptr [ebp-04],-1
lea eax,[ebp-68]
push eax
call 00401dc1
pop ecx
lea eax,[ebp-58]
push eax
mov ecx,edi
call FullMapAttackCall
jmp 009697f0


FullMapAttackCall:
push esi
push edi
mov edi,[esp+0C]
pushad
mov ecx,[01bea35c]
add ecx, 04
push edi
call 005FB76B
popad
jmp 004CD15A


015ef2c8:
DD FullMapAtt_ICS


[Disable]
015ef2c8:
DD Variantinit


DeAlloc(FullMapAtt_ICS)
UnRegisterSymbol(FullMapSW)






歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓