//
// sub_A5478 from 0xa5478 to 0xa54e6 (110 bytes)
//
// 1 xrefs:
// > sub_A5300 @ 0xa5346
//
// 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_A5478(int a1, float a2, int a3)
{
int v4; // r5
int v5; // r4
float v6; // s16
float v7; // r0
float v8; // s18
float v9; // s16
float v10; // r0
float v11; // s16
float v12; // s18
v4 = a1 + 9476;
v5 = a1 + 16 * a3;
v6 = *(float *)(a1 + 9476);
v7 = sub_6D5B0(v5 + 1280, a2);
v8 = *(float *)(v4 + 20);
v9 = v7 * v6;
v10 = sub_6D5B0(v5 + 3328, a2);
v11 = v9 - (float)(sub_6D5B0(v5 + 5376, v10) * v8);
v12 = *(float *)(v4 + 40);
return v11 + (float)(sub_6D5B0(v5 + 7424, a2) * v12);
}