//
// zRotateMat from 0x306e6a to 0x306e8e (36 bytes)
//
// 1 xrefs:
// > hueMatrix @ 0x306f58
//
// 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 zRotateMat(int result, float a2, float a3)
{
*(float *)result = a3;
*(_DWORD *)(result + 8) = 0;
*(_DWORD *)(result + 20) = 0;
*(_DWORD *)(result + 24) = 0;
*(_DWORD *)(result + 28) = 0;
*(float *)(result + 4) = a2;
*(float *)(result + 12) = -a2;
*(float *)(result + 16) = a3;
*(_DWORD *)(result + 32) = 1065353216;
return result;
}