//
// sub_10072F18C from 0x10072f18c to 0x10072f208 (124 bytes)
//
// 4 xrefs:
// > sub_1007303FC @ 0x100730458
// > ??> @ 0x1009c3bc8
// > ??> @ 0x1009c3c30
// > ??> @ 0x1009c3c98
//
// 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:11 +0000
//
_BYTE *__fastcall sub_10072F18C(__int64 a1, unsigned int *a2, __int64 a3)
{
int v5; // w21
__int64 v6; // x0
if ( (int)sub_100704BB4(a2) >= 1 )
{
v5 = 0;
do
{
v6 = sub_100704BC8((__int64)a2, v5);
a3 = sub_10072F58C(v6, v6, a3);
++v5;
}
while ( v5 < (int)sub_100704BB4(a2) );
}
if ( !a3 )
return sub_10070460C();
return (_BYTE *)a3;
}