Files
GWToolbox Bot 2b2a817c15 Wrap D3D9 COM objects instead of MinHook-patching the cold path
CreateDevice(Ex)/CreateTexture/CreateVolumeTexture/CreateCubeTexture/
UpdateTexture/BeginScene/SetTexture/GetTexture/Release are now intercepted
via ordinary compiled virtual dispatch on wrapper objects returned from
Direct3DCreate9(Ex), instead of MinHook patching the real object's vtable
slots. Nothing is ever patched in this path, so it sidesteps every
self-modifying-code/JIT-cache concern the ARM64 emulator (Windows-on-ARM's
xtajit, or Wine on FEX-Emu/box64) has with inline code patching.

The late-attach path (SetDevice/RegisterExistingDevice/D3D9Hooks.cpp) is
unchanged: wrapping only works when gMod controls object creation from the
start, so late-attach still needs MinHook and remains gated off under ARM64
emulation.
2026-07-07 10:17:08 +00:00
..
2026-06-08 17:44:00 +07:00
2026-06-08 17:44:00 +07:00