//
// kmQuaternionRotationAxis from 0x5c9098 to 0x5c90f0 (88 bytes)
//
// 1 xrefs:
// > kmQuaternionRotationBetweenVec3 @ 0x5c974c
//
// 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
//
float *__fastcall kmQuaternionRotationAxis(float *a1, float *a2, float a3)
{
float v5; // s16
float v6; // s17
float v7; // r0
float v8; // s15
v5 = a3 * 0.5;
v6 = sinf(a3 * 0.5);
v7 = cosf(v5);
*a1 = *a2 * v6;
v8 = a2[1] * v6;
a1[3] = v7;
a1[1] = v8;
a1[2] = a2[2] * v6;
return a1;
}