冰楓論壇
標題:
CMS 203.2 物品过滤
[打印本頁]
作者:
woaimiao
時間:
2023-12-12 12:26
標題:
CMS 203.2 物品过滤
[ENABLE]
Alloc(VariantInitInlineHook, 256)
Alloc(ItemFilter, 512)
Alloc(ItemFilterList, 1024)
RegisterSymbol(ItemFilterList)
ItemFilterList:
DD #1002134 // 紅游泳帽
DD #2000002 // 白色藥水
DD #00
VariantInitInlineHook:
mov rax,140E0B20D
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 143391B40
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 14484BA44
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
145004878:
DQ VariantInitInlineHook
[DISABLE]
145004878:
DQ VariantInit
Dealloc(VariantInitInlineHook, 256)
Dealloc(ItemFilter, 512)
Dealloc(ItemFilterList, 1024)
可以大家交流下 私聊留下方式。
作者:
miaopapa
時間:
2023-12-15 17:51
私聊留下方式。
作者:
依然卡卡
時間:
2023-12-16 21:28
测试无效
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓