//
// sub_A5478 from 0xa5478 to 0xa54e6 (110 bytes)
//
// 1 xrefs:
// > sub_A5300 @ 0xa5346
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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);
}