//
// sub_100620CC4 from 0x100620cc4 to 0x100620da4 (224 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
//
__int64 __fastcall sub_100620CC4(__int64 a1, _OWORD *a2)
{
__int64 v4; // x20
if ( *a2 == 0 )
return 0;
if ( a1 )
sub_100568CC4(a1, 0x13u);
v4 = a1 + 74040;
while ( 1 )
{
v4 = *(_QWORD *)v4;
if ( v4 == a1 + 74040 )
break;
if ( *a2 == *(_OWORD *)(v4 + 16) )
{
++*(_DWORD *)(v4 + 32);
if ( !a1 )
return v4;
goto LABEL_11;
}
}
v4 = 0;
if ( !a1 )
return v4;
LABEL_11:
sub_100568CE4(a1, 0x13u);
return v4;
}