//
// sub_100716A3C from 0x100716a3c to 0x100716b18 (220 bytes)
//
// 1 xrefs:
// > sub_10073C324 @ 0x10073c33c
//
// 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:00 +0000
//
__int64 __fastcall sub_100716A3C(__int64 a1, __int64 a2, __int64 a3)
{
void *v6; // x0
_QWORD *v7; // x0
_DWORD *v8; // x19
int v9; // w0
unsigned __int64 *v10; // x22
__int64 v11; // x21
__int64 v12; // x20
unsigned __int64 v14; // [xsp+0h] [xbp-30h] BYREF
unsigned __int64 *v15; // [xsp+8h] [xbp-28h] BYREF
v6 = sub_100701918();
v7 = sub_1007005EC((__int64)v6);
v8 = v7;
if ( v7 )
{
sub_100700CE0(v7, 106, 0, a2);
v15 = nullptr;
v9 = sub_1007166A8((__int64)v8, &v15);
v10 = v15;
if ( v9 < 0 )
{
v11 = 0;
v12 = 0;
if ( !v15 )
{
LABEL_7:
sub_1007006BC(v8);
return v12;
}
}
else
{
v14 = v15[1];
v11 = sub_10071CF9C(a3, &v14, v9, a1);
}
sub_1006FFF60(v10);
v12 = v11;
goto LABEL_7;
}
sub_100706FB0(13, 206, 7, (__int64)"a_d2i_fp.c", 133);
return 0;
}