//
// kmQuaternionRotationAxis from 0xd51bb8 to 0xd51c2c (116 bytes)
//
// 3 xrefs:
// > kmQuaternionRotationBetweenVec3 @ 0xd524ac
// > kmQuaternionRotationBetweenVec3 @ 0xd524cc
// > ??> @ 0xc05e0
//
// 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:41 +0000
//
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;
}