//
// kmMat4RotationZ from 0x1800bcb60 to 0x1800bcbda (122 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c3018
//
// 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:24 +0000
//
__int64 __fastcall kmMat4RotationZ(__int64 a1, float a2)
{
float v3; // xmm7_4
float v4; // xmm0_4
v3 = cosf(a2);
*(float *)a1 = v3;
v4 = sinf(a2);
*(float *)(a1 + 4) = v4;
*(float *)(a1 + 20) = v3;
*(_QWORD *)(a1 + 8) = 0;
*(float *)(a1 + 16) = -v4;
*(_QWORD *)(a1 + 24) = 0;
*(_QWORD *)(a1 + 32) = 0;
*(_QWORD *)(a1 + 40) = 1065353216;
*(_QWORD *)(a1 + 48) = 0;
*(_DWORD *)(a1 + 56) = 0;
*(_DWORD *)(a1 + 60) = 1065353216;
return a1;
}