//
// kmVec4Length from 0x5ca440 to 0x5ca48c (76 bytes)
//
// 1 xrefs:
// > kmVec4Normalize @ 0x5ca4da
//
// 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 kmVec4Length(float *a1)
{
float v2; // s16
float v3; // s16
float v4; // s15
float v5; // s15
v2 = kmSQR(*a1);
v3 = v2 + kmSQR(a1[1]);
v4 = kmSQR(a1[2]);
v5 = (float)(v3 + v4) + kmSQR(a1[3]);
return j_sqrtf(v5);
}