//
// sub_AC212 from 0xac212 to 0xac256 (68 bytes)
//
// 1 xrefs:
// > sub_ABFD0 @ 0xac044
//
// 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_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;
}