//
// sub_100721CC4 from 0x100721cc4 to 0x100721d20 (92 bytes)
//
// 6 xrefs:
// > sub_1006F5DB4 @ 0x1006f5eb4
// > sub_1006F5DB4 @ 0x1006f602c
// > sub_1006F60AC @ 0x1006f6134
// > sub_1006F9B40 @ 0x1006f9c34
// > sub_1006F9B40 @ 0x1006f9c74
// > sub_1006F9CB0 @ 0x1006f9d68
//
// 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:05 +0000
//
void __fastcall sub_100721CC4(_QWORD *a1)
{
void *v2; // x0
if ( a1 )
{
v2 = (void *)a1[1];
if ( v2 )
{
if ( (a1[2] & 0x10) != 0 || (sub_1006B0510((char *)v2, *(int *)a1), (v2 = (void *)a1[1]) != nullptr) )
{
if ( (a1[2] & 0x10) == 0 )
sub_1006AEDAC(v2);
}
}
sub_1006AEDAC(a1);
}
}