//
// kmMat3RotationZ from 0xadd278 to 0xadd2e4 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x5d048
//
// 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
//
float __fastcall kmMat3RotationZ(__int64 a1, float a2)
{
float v4; // s8
float v5; // s0
float v6; // s2
v4 = cosf(a2);
*(float *)a1 = v4;
v5 = sinf(a2);
v6 = -v5;
*(float *)(a1 + 12) = v5;
*(float *)(a1 + 16) = v4;
*(_DWORD *)(a1 + 8) = 0;
*(float *)(a1 + 4) = v6;
*(_DWORD *)(a1 + 20) = 0;
*(_DWORD *)(a1 + 24) = 0;
*(_DWORD *)(a1 + 28) = 0;
*(float *)(a1 + 32) = 1.0;
return 1.0;
}