//
// sub_1001F6910 from 0x1001f6910 to 0x1001f69a4 (148 bytes)
//
// 2 xrefs:
// > sub_1001F4350 @ 0x1001f44ec
// > SFXBrowser::rebuildContent @ 0x1001f7c1c
//
// 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:00:40 +0000
//
void __fastcall sub_1001F6910(__int64 a1)
{
__int64 v2; // x0
int v3; // w0
int v4; // w8
__int64 v5; // x1
v2 = *(_QWORD *)(a1 + 712);
if ( v2 )
{
if ( *(_DWORD *)(v2 + 140) == 3 )
{
sub_1001F4EF8(v2, (_QWORD *)v2);
v2 = *(_QWORD *)(a1 + 712);
}
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 80LL))(v2, *(unsigned int *)(a1 + 1112));
v3 = sub_1002E757C(*(_QWORD *)(*(_QWORD *)(a1 + 712) + 64LL));
if ( v3 < 1 )
v4 = 0;
else
v4 = (v3 - 1) / *(_DWORD *)(a1 + 1104);
v5 = *(_QWORD *)(a1 + 712);
if ( *(_DWORD *)(v5 + 96) > v4 )
*(_DWORD *)(v5 + 96) = v4;
sub_1001F50BC(a1, v5);
}
}