//
// sub_AC1BA from 0xac1ba to 0xac212 (88 bytes)
//
// 2 xrefs:
// > sub_A3F8C @ 0xa3ff0
// > sub_ABFD0 @ 0xac016
//
// 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:38 +0000
//
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;
}