//
// sub_10070F71C from 0x10070f71c to 0x10070f750 (52 bytes)
//
// 3 xrefs:
// > sub_100646164 @ 0x100646478
// > sub_10064CCC8 @ 0x10064cda0
// > sub_1007130DC @ 0x1007131cc
//
// 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_10070F71C(__int64 a1, _DWORD *a2)
{
__int64 v2; // x8
__int64 (*v3)(void); // x2
if ( *(_DWORD *)a1 != *a2 )
return 0xFFFFFFFFLL;
v2 = *(_QWORD *)(a1 + 16);
if ( v2 && (v3 = *(__int64 (**)(void))(v2 + 136)) != nullptr )
return v3();
else
return 4294967294LL;
}