冰楓論壇

標題: TwMS v213.3 CRC ItemFilter(黑名單) [打印本頁]

作者: smilelin0419    時間: 2019-1-25 10:08
標題: TwMS v213.3 CRC ItemFilter(黑名單)
//TwMS v213.3 CRC ItemFilter(黑名單)
// 原創:未知 有知道的麻煩私信 將改正
//update:smilelin0419
[Enable]
Alloc(ItemFilter,512)
Alloc(ItemList,1024)
Label(Filter)
Label(Skip)
Label(End)

ItemList:
// 以下為欲過濾物品

DD 001F6EE0 //箭矢
DD 003D0909 //藍姑姑傘
DD 3D0950   //煉獄獵犬的項鍊

// 以上為欲過濾物品
DD 00

ItemFilter:
call 0047AB00
PUSH ESI
MOV  ESI,ItemList

Filter:
CMP  EAX,C350
JLE  End
CMP  DWORD PTR DS:[ESI],0
JE   End
CMP  DWORD PTR DS:[ESI],EAX
JE   Skip
ADD  ESI,04
JMP  Filter

Skip:
XOR  EAX,EAX

End:
POP  ESI
mov ecx,[03BB569C]
mov [ebp-44],eax
inc ecx
mov eax,939A85C5
mov [03BB569C],ecx
imul ecx
add edx,ecx
sar edx,06
mov eax,edx
shr eax,1F
add eax,edx
imul eax,eax,6F
sub ecx,eax
jne 00F4A133
mov esi,[ebx+54]
mov ecx,03BBF918
push 0C
JMP 00F4A112

00F4A0D9:
JMP ItemFilter
[Disable]
00F4A0D9:
call 0047AB00

DeAlloc(ItemList)
DeAlloc(ItemFilter)




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