//
// kmMat3ScalarMultiply from 0xd4f874 to 0xd4f8f0 (124 bytes)
//
// 2 xrefs:
// > kmMat3Inverse @ 0xd4f940
// > ??> @ 0xbddc0
//
// 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:40 +0000
//
float __fastcall kmMat3ScalarMultiply(float32x4_t *a1, float32x4_t *a2, double a3)
{
float32x4_t v3; // q4
float result; // s0
float32x4_t v5; // q1
float32x4_t v6; // q3
v3 = vdupq_lane_s32(*(int32x2_t *)&a3, 0);
result = a2[2].n128_f32[0] * *(float *)&a3;
v5 = a2[1];
v6 = vmulq_f32(*a2, v3);
a1[2].n128_f32[0] = result;
*a1 = v6;
a1[1] = vmulq_f32(v5, v3);
return result;
}