冰楓論壇

標題: TwMs v264.2 移除地板、移除前景、移除背景 [打印本頁]

作者: btb    時間: 2024-9-13 20:35
標題: TwMs v264.2 移除地板、移除前景、移除背景
//TwMs v264.2 移除地板、移除前景、移除背景
[ENABLE]
Alloc(remove_floor_fg_bg,256,146930A98)
Alloc(floor_switch, 4)
Alloc(fg_switch, 4)
Alloc(bg_switch, 4)

floor_switch:
DD 01

fg_switch:
DD 01

bg_switch:
DD 01

146930A98:
DQ remove_floor_fg_bg

remove_floor_fg_bg:
push rax

mov rax,142F9484A
cmp [rsp+08],rax
je remove_floor

mov rax,142F96346
cmp [rsp+08],rax
je remove_fg

mov rax,142FA2413
cmp [rsp+08],rax
je remove_bg

return:
pop rax
jmp VariantClear

remove_floor:
cmp dword ptr [floor_switch],01
jne return
mov rax,142F94889
mov [rsp+08],rax
jmp return

remove_fg:
cmp dword ptr [fg_switch],01
jne return
mov rax,142F9634B
mov [rsp+08],rax
jmp return

remove_bg:
cmp dword ptr [bg_switch],01
jne return
mov rax,142FA25B6

mov [rsp+08],rax
jmp return

[DISABLE]
DeAlloc(remove_bg_fg_floor)
DeAlloc(floor_switch)
DeAlloc(fg_switch)
DeAlloc(bg_switch)

146930A98:
DQ VariantClear






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