//
// kmQuaternionAdd from 0x5c9500 to 0x5c9542 (66 bytes)
//
// 1 xrefs:
// > kmQuaternionSlerp @ 0x5c964e
//
// 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 kmQuaternionAdd(float *result, float *a2, float *a3)
{
float v3; // s14
float v4; // s15
float v5; // s14
float v6; // s15
float v7; // s14
v3 = a3[1];
*result = *a2 + *a3;
v4 = a2[1] + v3;
v5 = a3[2];
result[1] = v4;
v6 = a2[2] + v5;
v7 = a3[3];
result[2] = v6;
result[3] = a2[3] + v7;
return result;
}