//
// xRotateMat from 0x306e20 to 0x306e44 (36 bytes)
//
// 2 xrefs:
// > hueMatrix @ 0x306f2c
// > hueMatrix @ 0x306f80
//
// 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
//
int __fastcall xRotateMat(int result, float a2, float a3)
{
*(float *)(result + 16) = a3;
*(_DWORD *)result = 1065353216;
*(float *)(result + 20) = a2;
*(float *)(result + 32) = a3;
*(_DWORD *)(result + 4) = 0;
*(_DWORD *)(result + 8) = 0;
*(_DWORD *)(result + 12) = 0;
*(_DWORD *)(result + 24) = 0;
*(float *)(result + 28) = -a2;
return result;
}