//
// sub_53E90 from 0x53e90 to 0x53fa4 (276 bytes)
//
// 1 xrefs:
// > sub_652D0 @ 0x65422
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:40:45 +0000
//
void __fastcall sub_53E90(float *a1, float *a2, float a3)
{
float v6; // s18
float v7; // s2
float v8; // s0
float v9; // s0
memset(a1, 0, 0x30u);
if ( a1 && a2 )
{
*a1 = *a2 * a3;
a1[1] = a2[1] * a3;
a1[2] = a2[2] * a3;
a1[3] = expf(a2[3] * a3);
a1[4] = a2[4] * a3;
a1[5] = a2[5] * a3;
a1[6] = a2[6] * a3;
v6 = -80.0;
a1[7] = expf(a2[7] * a3);
v7 = -80.0;
v8 = a2[8];
if ( v8 > 0.0 )
v7 = logf(v8 * a3) * 5.0;
a1[8] = v7;
a1[9] = expf(a2[9] * a3);
a1[10] = a2[10] * a3;
v9 = a2[11];
if ( v9 > 0.0 )
v6 = logf(v9 * a3) * 5.0;
a1[11] = v6;
}
}