//
// sub_1006F0570 from 0x1006f0570 to 0x1006f05ec (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bdac8
//
// 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:12:40 +0000
//
__int64 __fastcall sub_1006F0570(__int64 a1, __int64 a2)
{
__int64 v3; // x20
char **v4; // x0
void *v6; // [xsp+8h] [xbp-18h] BYREF
v6 = nullptr;
v3 = sub_1006F045C(*(_QWORD *)(a2 + 32), (__int64)&v6);
if ( (int)v3 >= 1 )
{
v4 = sub_1006B0D04(6u);
if ( (unsigned int)sub_100718F58(a1, v4, 5, 0, v6, v3) )
return 1;
sub_1006AEDAC(v6);
}
return 0;
}