//
// kmVec4Scale from 0xd53418 to 0xd53474 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0xc79a8
//
// 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:42 +0000
//
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;
}