冰楓論壇
標題:
求助!物品过滤以后几秒又显示出来
[打印本頁]
作者:
ProgramMx
時間:
2022-10-13 10:21
標題:
求助!物品过滤以后几秒又显示出来
本帖最後由 smilelin0419 於 2022-10-13 18:01 編輯
[ENABLE]
Alloc(VariantInitInlineHook, 256)
Alloc(ItemFilter, 512)
Alloc(ItemFilterList, 1024)
RegisterSymbol(ItemFilterList)
ItemFilterList:
DD #1002134 // 紅游泳帽
DD #2000002 // 白色藥水
DD #00
VariantInitInlineHook:
mov rax,141A69AC4
cmp [rsp],rax
jne VariantInitInlineHook_Back
jmp ItemFilter
VariantInitInlineHook_Back:
jmp VariantInit
ItemFilter:
push rax
push rbx
push rcx
push rdx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
sub rsp, 100
mov rsi, [rbp-78]
lea rcx, [rsi+90]
call 140111DC0
mov rbx, eax
lea rdi, [ItemFilterList]
xor eax, eax
ItemFilter_CheckingLoop:
xor rcx, rcx
mov rcx, eax
shl rcx, 2
add rcx, rdi
cmp [rcx], 0
je ItemFilter_Exit
cmp [rcx], rbx
je ItemFilter_SkipItem
inc eax
jmp ItemFilter_CheckingLoop
jmp ItemFilter_Exit
ItemFilter_SkipItem:
mov [rsp+40],0
xor rdi, rdi
call 1440F7104
mov rcx,[rsi+98]
mov [rcx+04],al
mov r10,[rsi+98]
movzx r9d,byte ptr [r10+04]
mov [r10+08],r13w
mov r11d,edi
lea rbx,[rsp+30]
sub rbx,r10
nop dword ptr [rax+rax+00]
ItemFilter_SkipItem_Label12:
movzx eax,r9l
test r9l,r9l
cmove eax,r12d
movzx r9d,al
movzx eax,byte ptr [rbx+r10]
xor al,r9l
mov [r10],al
add al,r12l
add r9l,al
mov r8,[rsi+98]
movzx ecx,word ptr [r8+08]
movzx edx,cx
shr dx,0D
movzx eax,r9l
add dx,ax
shl cx,03
or dx,cx
mov [r8+08],dx
inc r11d
lea r10,[r10+01]
cmp r11d,04
jb ItemFilter_SkipItem_Label12
jmp ItemFilter_Exit
ItemFilter_Exit:
add rsp, 100
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rdx
pop rcx
pop rbx
pop rax
jmp VariantInit
144614818:
DQ VariantInitInlineHook
[DISABLE]
144614818:
DQ VariantInit
Dealloc(VariantInitInlineHook, 256)
Dealloc(ItemFilter, 512)
Dealloc(ItemFilterList, 1024)
请教各位前辈,为什么物品当时确实过滤掉了,但是过了10秒左右,消失的物品又显示出来了?希望前辈们指点一二
请教各位前辈,为什么物品当时确实过滤掉了,但是过了10秒左右,消失的物品又显示出来了?希望前辈们指点一二
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓