//
// sub_A5DF4 from 0xa5df4 to 0xa5e68 (116 bytes)
//
// 2 xrefs:
// > sub_A5D24 @ 0xa5dae
// > sub_A64D6 @ 0xa6626
//
// 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_A5DF4(float *result)
{
float v1; // s16
float *v2; // r5
float v3; // s20
float v4; // s22
float *v5; // r4
int v6; // r6
float v7; // s28
float v8; // s0
float v9; // s0
v1 = result[123];
v2 = result + 188;
v3 = -1.5708;
v4 = 0.0;
v5 = result;
v6 = 0;
while ( v6 != 17 )
{
v7 = v5[96];
v8 = sinf(v3);
result = &v2[v6++];
v3 = v3 + (float)(v1 * 3.1416);
v9 = (float)(v7 * (float)((float)(v8 * 0.5) + 0.5)) + (float)((float)(1.0 - v7) * v4);
v4 = v4 + v1;
*result = v9;
}
return result;
}