//
// sub_AC212 from 0xac212 to 0xac256 (68 bytes)
//
// 1 xrefs:
// > sub_ABFD0 @ 0xac044
//
// 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_AC212(int result, float a2, float a3, float a4)
{
int v5; // r1
int v8; // r2
_DWORD *v9; // r3
int v10; // s6
v5 = -28;
while ( v5 )
{
v8 = result + v5;
v9 = (_DWORD *)(result + v5 + 1316);
v5 += 4;
*v9 = (int)(float)(a2 * a4);
*(float *)(v8 + 1288) = a2;
v10 = (int)(float)(a2 * a4);
a2 = a2 * a3;
*(_DWORD *)(v8 + 1352) = v10 - 1;
}
return result;
}