//
// sub_AC258 from 0xac258 to 0xac2a0 (72 bytes)
//
// 1 xrefs:
// > sub_ABFD0 @ 0xac04c
//
// 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_AC258(int result, float a2)
{
int v3; // r1
int v4; // r2
int v5; // s4
v3 = 0;
*(_DWORD *)(result + 1360) = 1002525898;
*(_DWORD *)(result + 1364) = 1006391368;
while ( v3 != 8 )
{
v4 = result + v3;
v3 += 4;
v5 = (int)(float)(*(float *)(v4 + 1360) * a2);
*(_DWORD *)(v4 + 1368) = v5;
*(_DWORD *)(v4 + 1392) = v5 - 1;
}
return result;
}