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