//
// sub_AC1BA from 0xac1ba to 0xac212 (88 bytes)
//
// 2 xrefs:
// > sub_A3F8C @ 0xa3ff0
// > sub_ABFD0 @ 0xac016
//
// 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
//
int __fastcall sub_AC1BA(int result, float a2, float a3, float a4, float a5)
{
int v7; // r1
int i; // r1
float v10; // s8
float *v11; // r3
_DWORD *v12; // r2
*(float *)(result + 1060) = a2;
v7 = (int)(float)(a5 * a2);
if ( !v7 )
v7 = 1;
*(_DWORD *)(result + 1096) = v7;
for ( i = 0; i != 28; i += 4 )
{
v10 = a3 + a2;
v11 = (float *)(result + i + 1064);
v12 = (_DWORD *)(result + i + 1100);
a3 = a3 * a4;
*v11 = v10;
*v12 = (int)(float)(v10 * a5);
}
return result;
}