//
// sub_100554770 from 0x100554770 to 0x1005547b0 (64 bytes)
//
// 4 xrefs:
// > sub_100556314 @ 0x100556450
// > sub_100556314 @ 0x1005564c4
// > sub_10060C248 @ 0x10060c38c
// > sub_10060C7AC @ 0x10060c8dc
//
// 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:07:56 +0000
//
__int64 __fastcall sub_100554770(__int64 a1)
{
unsigned int v2; // w0
if ( *(int *)(a1 + 8) < 1 )
return 0xFFFFFFFFLL;
v2 = sub_1005547B0();
if ( (v2 & 0x80000000) != 0 )
return 0xFFFFFFFFLL;
else
return *(unsigned int *)(*(_QWORD *)(a1 + 40) + 4LL * v2);
}