//
// sub_10070FD70 from 0x10070fd70 to 0x10070fe18 (168 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009e9840
//
// 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:56 +0000
//
__int64 __fastcall sub_10070FD70(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // x22
__int64 v5; // x0
__int64 v6; // x20
bool v7; // zf
if ( !a2 )
return 0;
v4 = *(_QWORD *)(a1 + 48);
if ( !v4 )
return 0;
v5 = *(_QWORD *)(a1 + 56);
if ( !v5 )
return 0;
v6 = sub_100700794(v5, a2, a3);
v7 = (int)v6 < 1 || *(_DWORD *)(a1 + 24) == 0;
if ( !v7 && (int)sub_1007091A4(v4) < 1 )
return 0xFFFFFFFFLL;
sub_100700768(a1, 15);
sub_100701210(a1);
return v6;
}