//
// sub_10073CF8C from 0x10073cf8c to 0x10073d0a4 (280 bytes)
//
// 2 xrefs:
// > sub_10073CB08 @ 0x10073cb48
// > sub_10073CB08 @ 0x10073cc18
//
// 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:13:18 +0000
//
__int64 __fastcall sub_10073CF8C(unsigned int *a1, __int64 a2)
{
__int64 v3; // x8
const void *v4; // x20
int v5; // w21
__int64 v6; // x22
int *v7; // x0
_BYTE __s2[20]; // [xsp+34h] [xbp-4Ch] BYREF
if ( !*(_DWORD *)a2 )
return sub_10072517C(a1, *(_QWORD *)(a2 + 8));
v3 = *(_QWORD *)(a2 + 8);
if ( *(_DWORD *)v3 != 20 )
return 0;
v4 = *(const void **)(v3 + 8);
if ( (int)sub_100704BB4(a1) < 1 )
return 0;
v5 = 0;
while ( 1 )
{
v6 = sub_100704BC8((__int64)a1, v5);
v7 = (int *)sub_10070F06C();
sub_10072A2F4(v6, v7, (__int64)__s2, nullptr);
if ( !memcmp(v4, __s2, 0x14u) )
break;
if ( ++v5 >= (int)sub_100704BB4(a1) )
return 0;
}
return v6;
}