//
// sub_1005A0F10 from 0x1005a0f10 to 0x1005a0f7c (108 bytes)
//
// 0 xrefs:
//
// 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:09:01 +0000
//
bool __fastcall sub_1005A0F10(__int64 a1, int a2)
{
__int64 v2; // x29
__int64 v3; // x30
char v6; // [xsp+Fh] [xbp-21h] BYREF
__int64 v7; // [xsp+20h] [xbp-10h]
__int64 v8; // [xsp+28h] [xbp-8h]
if ( a2 == 10 )
return 1;
if ( a2 != 13 )
return 0;
v7 = v2;
v8 = v3;
sub_1005D06F0(*(_QWORD *)(a1 + 368), &v6);
sub_1005D0A20(*(_QWORD *)(a1 + 368), 0xFFFFFFFFLL, 1);
return v6 != 10;
}