//
// kmQuaternionScale from 0xd51f18 to 0xd51f4c (52 bytes)
//
// 5 xrefs:
// > kmQuaternionInverse @ 0xd51fe4
// > kmQuaternionNormalize @ 0xd52020
// > kmQuaternionSlerp @ 0xd52254
// > kmQuaternionSlerp @ 0xd52268
// > ??> @ 0x57cd0
//
// 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 kmQuaternionScale(float *a1, float *a2, float a3)
{
float v3; // s4
float v4; // s3
float v5; // s2
float result; // s0
v3 = *a2 * a3;
v4 = a2[1] * a3;
v5 = a2[2] * a3;
result = a2[3] * a3;
*a1 = v3;
a1[1] = v4;
a1[2] = v5;
a1[3] = result;
return result;
}