//
// sub_10072FA64 from 0x10072fa64 to 0x10072fb40 (220 bytes)
//
// 1 xrefs:
// > sub_100732774 @ 0x1007327c4
//
// 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:12 +0000
//
void **__fastcall sub_10072FA64(__int64 a1, __int64 a2, unsigned int *a3)
{
void **v6; // x19
int v7; // w23
__int64 v8; // x0
__int64 v9; // x8
v6 = (void **)sub_10070460C();
if ( !v6 )
{
sub_100706FB0(34, 118, 65, (__int64)"v3_alt.c", 407);
return nullptr;
}
if ( (int)sub_100704BB4(a3) > 0 )
{
v7 = 0;
while ( 1 )
{
v8 = sub_100704BC8((__int64)a3, v7);
v9 = sub_10072FB64(0, a1, a2, v8, 0);
if ( !v9 )
break;
sub_100704974(v6, v9);
if ( ++v7 >= (int)sub_100704BB4(a3) )
return v6;
}
sub_100704B38(v6, (void (*)(void))sub_10072F054);
return nullptr;
}
return v6;
}