//
// kmMat4RotationY from 0xd50ca0 to 0xd50d30 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0xea7d8
//
// This function is hookable on this platform (idp: arm, 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 13:07:40 +0000
//
__int64 __fastcall kmMat4RotationY(__int64 a1, float a2)
{
float v4; // s9
float v5; // s0
v4 = cosf(a2);
*(_DWORD *)(a1 + 4) = 0;
*(float *)a1 = v4;
v5 = sinf(a2);
*(_DWORD *)(a1 + 12) = 0;
*(_DWORD *)(a1 + 16) = 0;
*(_DWORD *)(a1 + 24) = 0;
*(_DWORD *)(a1 + 28) = 0;
*(_DWORD *)(a1 + 36) = 0;
*(float *)(a1 + 40) = v4;
*(_DWORD *)(a1 + 44) = 0;
*(_DWORD *)(a1 + 48) = 0;
*(_DWORD *)(a1 + 52) = 0;
*(_DWORD *)(a1 + 56) = 0;
*(float *)(a1 + 20) = 1.0;
*(float *)(a1 + 8) = -v5;
*(float *)(a1 + 32) = v5;
*(float *)(a1 + 60) = 1.0;
return a1;
}