//
// kmMat4RotationZ from 0x1800b9060 to 0x1800b90e6 (134 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b8d24
//
// 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
//
__int64 __fastcall kmMat4RotationZ(__int64 a1, float a2)
{
float v3; // xmm0_4
*(float *)a1 = cosf(a2);
*(float *)(a1 + 4) = sinf(a2);
*(_QWORD *)(a1 + 8) = 0;
*(float *)(a1 + 16) = -sinf(a2);
v3 = cosf(a2);
*(float *)(a1 + 20) = v3;
*(_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;
}