//
// kmMat3RotationZ from 0x7cf0b4 to 0x7cf0ee (58 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:33 +0000
//
int __fastcall kmMat3RotationZ(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 + 12) = v5;
*(float *)(a1 + 4) = -v6;
return a1;
}