//
// kmQuaternionRotationAxis from 0xadef50 to 0xadefc4 (116 bytes)
//
// 3 xrefs:
// > kmQuaternionRotationBetweenVec3 @ 0xadf844
// > kmQuaternionRotationBetweenVec3 @ 0xadf864
// > ??> @ 0x917e8
//
// 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 v4; // s8
float v5; // s9
float v6; // s0
float v8; // s3
float v9; // s2
float v10; // s1
v4 = a3 * 0.5;
v5 = sinf(a3 * 0.5);
v6 = cosf(v4);
v8 = *a2 * v5;
v9 = a2[1] * v5;
v10 = a2[2] * v5;
a1[3] = v6;
*a1 = v8;
a1[1] = v9;
a1[2] = v10;
return a1;
}