//
// sub_10070F750 from 0x10070f750 to 0x10070f7d0 (128 bytes)
//
// 1 xrefs:
// > sub_100725290 @ 0x1007252c4
//
// 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_10070F750(__int64 a1, _DWORD *a2)
{
__int64 v4; // x8
__int64 (__fastcall *v5)(__int64, _DWORD *); // x9
__int64 result; // x0
__int64 (__fastcall *v7)(__int64, _DWORD *); // x2
if ( *(_DWORD *)a1 != *a2 )
return 0xFFFFFFFFLL;
v4 = *(_QWORD *)(a1 + 16);
if ( !v4 )
return 4294967294LL;
v5 = *(__int64 (__fastcall **)(__int64, _DWORD *))(v4 + 136);
if ( v5 )
{
result = v5(a1, a2);
if ( (int)result < 1 )
return result;
v4 = *(_QWORD *)(a1 + 16);
}
v7 = *(__int64 (__fastcall **)(__int64, _DWORD *))(v4 + 48);
if ( v7 )
return v7(a1, a2);
else
return 4294967294LL;
}