//
// kmMat3RotationY from 0xadd204 to 0xadd278 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x70a40
//
// 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 kmMat3RotationY(__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 + 20) = 0;
*(_DWORD *)(a1 + 28) = 0;
*(float *)(a1 + 32) = v4;
*(float *)(a1 + 16) = 1.0;
*(float *)(a1 + 8) = -v5;
*(float *)(a1 + 24) = v5;
return a1;
}