//
// sub_100614048 from 0x100614048 to 0x100614148 (256 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:10:11 +0000
//
void __fastcall sub_100614048(__int64 a1)
{
__int64 v2; // x20
float v3; // s8
__int64 v4; // x8
int v5; // w22
__int64 v6; // x23
if ( *(int *)(a1 + 128) >= 2 && *(_DWORD *)(a1 + 8) )
{
v2 = sub_100612980(a1, -1);
v3 = sub_100612768(a1, -1);
v4 = *(int *)(a1 + 64);
v5 = 2 * v4 - 1;
do
{
v6 = v4 - 1;
if ( v4 < 1 )
break;
v2 -= *(_QWORD *)(*(_QWORD *)(a1 + 96) + 8LL * v5);
v3 = v3 - sub_100612768(a1, v4 - 1);
v5 -= 2;
v4 = v6;
}
while ( *(_QWORD *)(a1 + 120) < v2 );
}
}