This works with multicore rendering.
Credits to LazyFunker @UCCode:static auto dwFunction = FindSignature(XorStr("engine.dll"), XorStr("A1 ? ? ? ? 83 F8 01 7E 11 69 C8")); static DWORD_PTR dwVMatrixPtr = *(DWORD_PTR*)(dwFunction + 0x11); DWORD_PTR dwVMatrix = *(DWORD_PTR*)dwVMatrixPtr; DWORD_PTR dwResult = dwVMatrix + 2 * 528 - 68; // This is your W2S Matrix const VMatrix& w2sMatrix = (VMatrix&)(*(DWORD_PTR*)dwResult);