//
// sub_C5568 from 0xc5568 to 0xc55f4 (140 bytes)
//
// 1 xrefs:
// > sub_C53CC @ 0xc542c
//
// 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_C5568(float *a1, int a2, float a3)
{
float v3; // s10
float *v4; // x21
float v7; // s0
float v8; // s11
float v9; // s9
float v10; // s0
float v11; // s0
float v12; // s11
v3 = a1[2409];
v4 = &a1[4 * a2];
v7 = sub_8627C((__int64)(v4 + 360), a3);
v8 = a1[2414];
v9 = v7;
v10 = sub_8627C((__int64)(v4 + 872), a3);
v11 = sub_8627C((__int64)(v4 + 1384), v10) * v8;
v12 = a1[2419];
return (float)(sub_8627C((__int64)(v4 + 1896), a3) * v12) - (float)(v11 - (float)(v9 * v3));
}