//
// sub_A54EC from 0xa54ec to 0xa557a (142 bytes)
//
// 1 xrefs:
// > sub_A5300 @ 0xa5352
//
// 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:41:34 +0000
//
float __fastcall sub_A54EC(int a1, float a2, int a3)
{
int v4; // r4
int v5; // r6
float v6; // s16
float v7; // r0
float v8; // r0
float v9; // s18
float v10; // s16
float v11; // r0
float v12; // r0
float v13; // r0
float v14; // s16
float v15; // s18
float v16; // r0
v4 = a1 + 9476;
v5 = a1 + 16 * a3;
v6 = *(float *)(a1 + 9476);
v7 = sub_6D5B0(v5 + 1280, a2);
v8 = sub_6D5B0(v5 + 1792, v7);
v9 = *(float *)(v4 + 20);
v10 = v8 * v6;
v11 = sub_6D5B0(v5 + 3328, a2);
v12 = sub_6D5B0(v5 + 3840, v11);
v13 = sub_6D5B0(v5 + 5376, v12);
v14 = v10 + (float)(sub_6D5B0(v5 + 5888, v13) * v9);
v15 = *(float *)(v4 + 40);
v16 = sub_6D5B0(v5 + 7424, a2);
return v14 + (float)(sub_6D5B0(v5 + 7936, v16) * v15);
}