//
// kmMat3Rotation from 0x5c7b18 to 0x5c7b52 (58 bytes)
//
// 0 xrefs:
//
// 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 kmMat3Rotation(int a1, float x)
{
float v4; // r5
float v5; // r0
float v6; // s15
v4 = cosf(x);
*(float *)a1 = v4;
v5 = sinf(x);
*(float *)(a1 + 16) = v4;
*(_DWORD *)(a1 + 8) = 0;
*(_DWORD *)(a1 + 20) = 0;
*(_DWORD *)(a1 + 24) = 0;
*(_DWORD *)(a1 + 28) = 0;
*(_DWORD *)(a1 + 32) = 1065353216;
v6 = v5;
*(float *)(a1 + 4) = v5;
*(float *)(a1 + 12) = -v6;
return a1;
}