//
// sub_1006F9140 from 0x1006f9140 to 0x1006f918c (76 bytes)
//
// 5 xrefs:
// > sub_100644CC4 @ 0x100645428
// > sub_10064B5D0 @ 0x10064b6a4
// > sub_10064D160 @ 0x10064d6c0
// > sub_10064DCB8 @ 0x10064ddc4
// > sub_100666C40 @ 0x100666cf4
//
// 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:44 +0000
//
__int64 __fastcall sub_1006F9140(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x19
v2 = sub_1006F8CC0();
v3 = v2;
if ( !v2 )
return 0;
if ( !(unsigned int)sub_1006F918C(v2, a1, 0xFFFFFFFFLL) )
{
sub_1006F8E54(v3);
return 0;
}
return v3;
}