//
// sub_100620C48 from 0x100620c48 to 0x100620cc4 (124 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:19 +0000
//
bool __fastcall sub_100620C48(__int64 a1, __int64 a2)
{
int v4; // w8
int v5; // w21
_QWORD *v7; // x9
if ( a1 )
sub_100568CC4(a1, 0x13u);
v4 = *(_DWORD *)(a2 + 32);
v5 = v4 - 1;
*(_DWORD *)(a2 + 32) = v4 - 1;
if ( v4 == 1 )
{
v7 = *(_QWORD **)(a2 + 8);
*v7 = *(_QWORD *)a2;
*(_QWORD *)(*(_QWORD *)a2 + 8LL) = v7;
*(_QWORD *)a2 = a2;
*(_QWORD *)(a2 + 8) = a2;
if ( !a1 )
return v5 == 0;
goto LABEL_5;
}
if ( a1 )
LABEL_5:
sub_100568CE4(a1, 0x13u);
return v5 == 0;
}