//
// kmMat4RotationY from 0x1800b8fd0 to 0x1800b9058 (136 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b8d18
//
// 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 kmMat4RotationY(__int64 a1, float a2)
{
float v3; // xmm0_4
*(float *)a1 = cosf(a2);
*(_DWORD *)(a1 + 4) = 0;
*(float *)(a1 + 8) = -sinf(a2);
*(_QWORD *)(a1 + 12) = 0;
*(_QWORD *)(a1 + 20) = 1065353216;
*(_DWORD *)(a1 + 28) = 0;
*(float *)(a1 + 32) = sinf(a2);
*(_DWORD *)(a1 + 36) = 0;
v3 = cosf(a2);
*(float *)(a1 + 40) = v3;
*(_QWORD *)(a1 + 44) = 0;
*(_QWORD *)(a1 + 52) = 0;
*(_DWORD *)(a1 + 60) = 1065353216;
return a1;
}