gms_V62 物品過濾
//g62物品過濾//代碼:004CA5E8
//EIP:ItemFilter
//物品ID:ItemCounter
alloc(ItemFilter,124)
alloc(IFTable,16024)
alloc(ItemCounter,4)
label(ifreject)
label(end)
label(skip)
registersymbol(ItemFilter)
registersymbol(ItemCounter)
ItemFilter:
mov ,eax
push ebx
push esi
xor ebx, ebx
mov esi,IFTable
ifreject:
cmp eax,
je skip
cmp ,ebx
je end
add esi,4
jmp ifreject
skip:
mov eax,00
end:
pop esi
pop ebx
mov ,eax
mov edi,
jmp 004ca5ee
IFTable:
dd 00
004CA5E8:
jmp ItemFilter
004CA5E8:
db 89 47 34 8b 7d ec
dealloc(ItemFilter)
unregistersymbol(ItemFilter)
dealloc(IFTable)
dealloc(ItemCounter)
unregistersymbol(ItemCounter)
頁:
[1]