//
// kmVec4Scale from 0xae07b0 to 0xae080c (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x97308
//
// 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 kmVec4Scale(float *a1, float *a2, float a3)
{
float v4; // s3
float v5; // s2
float result; // s0
kmVec4Normalize(a1, a2);
v4 = a1[1] * a3;
v5 = a1[2] * a3;
result = a1[3] * a3;
*a1 = *a1 * a3;
a1[1] = v4;
a1[2] = v5;
a1[3] = result;
return result;
}