//
// kmQuaternionAdd from 0xd52144 to 0xd52188 (68 bytes)
//
// 2 xrefs:
// > kmQuaternionSlerp @ 0xd52278
// > ??> @ 0x6c4a8
//
// 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 kmQuaternionAdd(float *a1, float *a2, float *a3)
{
float v3; // s2
float v4; // s1
float result; // s0
v3 = a2[1] + a3[1];
v4 = a2[2] + a3[2];
result = a2[3] + a3[3];
*a1 = *a2 + *a3;
a1[1] = v3;
a1[2] = v4;
a1[3] = result;
return result;
}