冰楓論壇

標題: gms_V62 物品過濾 [打印本頁]

作者: ta0926    時間: 2014-7-20 20:13
標題: gms_V62 物品過濾
//g62物品過濾
//代碼:004CA5E8
//EIP:ItemFilter
//物品ID:ItemCounter

[ENABLE]
alloc(ItemFilter,124)
alloc(IFTable,16024)
alloc(ItemCounter,4)
label(ifreject)
label(end)
label(skip)
registersymbol(ItemFilter)
registersymbol(ItemCounter)

ItemFilter:
        mov [ItemCounter],eax
        push ebx
        push esi
        xor ebx, ebx
        mov esi,IFTable
ifreject:
        cmp eax,[esi]
        je skip
        cmp [esi],ebx
        je end
        add esi,4
        jmp ifreject
skip:
        mov eax,00
end:
        pop esi
        pop ebx
        mov [edi+34],eax
        mov edi,[ebp-14]
        jmp 004ca5ee

IFTable:

dd 00

004CA5E8:
        jmp ItemFilter
[DISABLE]
004CA5E8:
        db 89 47 34 8b 7d ec
dealloc(ItemFilter)
unregistersymbol(ItemFilter)
dealloc(IFTable)
dealloc(ItemCounter)
unregistersymbol(ItemCounter)




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