//
// kmMat3RotationZ from 0x1800bb0d0 to 0x1800bb13c (108 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2f4c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:22:23 +0000
//
__int64 __fastcall kmMat3RotationZ(__int64 a1, float a2)
{
float v3; // xmm7_4
float v4; // xmm0_4
v3 = cosf(a2);
*(float *)a1 = v3;
v4 = sinf(a2);
*(float *)(a1 + 16) = v3;
*(_DWORD *)(a1 + 8) = 0;
*(_QWORD *)(a1 + 20) = 0;
*(_DWORD *)(a1 + 28) = 0;
*(float *)(a1 + 4) = -v4;
*(float *)(a1 + 12) = v4;
*(_DWORD *)(a1 + 32) = 1065353216;
return a1;
}