//
// kmMat4RotationX from 0x1800bca40 to 0x1800bcac3 (131 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c3000
//
// 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 kmMat4RotationX(__int64 a1, float a2)
{
float v3; // xmm6_4
float v4; // xmm0_4
*(_QWORD *)a1 = 1065353216;
*(_QWORD *)(a1 + 8) = 0;
*(_DWORD *)(a1 + 16) = 0;
v3 = cosf(a2);
*(float *)(a1 + 20) = v3;
v4 = sinf(a2);
*(float *)(a1 + 24) = v4;
*(float *)(a1 + 40) = v3;
*(float *)(a1 + 36) = -v4;
*(_QWORD *)(a1 + 28) = 0;
*(_QWORD *)(a1 + 44) = 0;
*(_QWORD *)(a1 + 52) = 0;
*(_DWORD *)(a1 + 60) = 1065353216;
return a1;
}