//
// sub_1006A1A48 from 0x1006a1a48 to 0x1006a1ac8 (128 bytes)
//
// 2 xrefs:
// > sub_100682ECC @ 0x100684fb4
// > sub_1006867D4 @ 0x100686838
//
// 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:11:40 +0000
//
bool __fastcall sub_1006A1A48(__int64 a1)
{
int v2; // w0
__int64 v4; // [xsp+8h] [xbp-18h] BYREF
v4 = a1;
v2 = sub_100696F50(*(_DWORD *)(a1 + 464), -1, -1, 0);
if ( !v2 )
return 0;
if ( (v2 & 5) != 1 )
return 1;
if ( *(_QWORD *)a1 )
return (unsigned int)sub_100691A00(*(_QWORD **)a1, &v4) == -1;
return 1;
}