//
// sub_1006F6CF0 from 0x1006f6cf0 to 0x1006f6d7c (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009be5c8
//
// 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:43 +0000
//
__int64 __fastcall sub_1006F6CF0(__int64 a1, __int64 a2, _QWORD *a3, __int64 a4, __int64 a5)
{
__int64 v9; // x23
__int64 v10; // x0
__int64 v11; // x0
__int64 result; // x0
unsigned int v13; // [xsp+Ch] [xbp-34h] BYREF
v9 = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 32LL);
v10 = *(_QWORD *)(*(_QWORD *)(a1 + 40) + 24LL);
if ( v10 )
v11 = sub_100711408(v10);
else
v11 = 64;
result = sub_1006F4F24(v11, a4, a5, a2, &v13, v9);
if ( (int)result >= 1 )
{
*a3 = v13;
return 1;
}
return result;
}