//
// xRotateMat from 0x5bcc58 to 0x5bcc8c (52 bytes)
//
// 3 xrefs:
// > hueMatrix @ 0x5bce58
// > hueMatrix @ 0x5bcee4
// > ??> @ 0x3fa50
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall xRotateMat(__int64 result, float a2, float a3)
{
*(float *)(result + 16) = a3;
*(float *)result = 1.0;
*(_DWORD *)(result + 4) = 0;
*(_DWORD *)(result + 8) = 0;
*(_DWORD *)(result + 12) = 0;
*(float *)(result + 20) = a2;
*(_DWORD *)(result + 24) = 0;
*(float *)(result + 28) = -a2;
*(float *)(result + 32) = a3;
return result;
}