//
// sub_1007169BC from 0x1007169bc to 0x100716a3c (128 bytes)
//
// 2 xrefs:
// > sub_10072A2BC @ 0x10072a2d4
// > sub_10072A2D8 @ 0x10072a2f0
//
// 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_1007169BC(__int64 a1, __int64 a2, __int64 a3)
{
int v5; // w0
__int64 v6; // x22
void *v7; // x21
__int64 v9; // [xsp+0h] [xbp-30h] BYREF
void *v10; // [xsp+8h] [xbp-28h] BYREF
v10 = nullptr;
v5 = sub_1007166A8(a2, (unsigned __int64 **)&v10);
v6 = 0;
v7 = v10;
if ( (v5 & 0x80000000) == 0 )
{
v9 = *((_QWORD *)v10 + 1);
v6 = sub_10071CF9C(a3, &v9, v5, a1);
}
if ( v7 )
sub_1006FFF60(v7);
return v6;
}