//
// kmVec3Add from 0xae0244 to 0xae0278 (52 bytes)
//
// 3 xrefs:
// > kmQuaternionMultiplyVec3 @ 0xadf92c
// > kmQuaternionMultiplyVec3 @ 0xadf93c
// > ??> @ 0xbf3a0
//
// 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 kmVec3Add(float *a1, float *a2, float *a3)
{
float v3; // s1
float result; // s0
v3 = a2[2] + a3[2];
result = *a2 + *a3;
a1[1] = a2[1] + a3[1];
a1[2] = v3;
*a1 = result;
return result;
}