//
// sub_10042E608 from 0x10042e608 to 0x10042e648 (64 bytes)
//
// 4 xrefs:
// > sub_1004301AC @ 0x1004302e8
// > sub_1004301AC @ 0x10043035c
// > sub_1004E60E0 @ 0x1004e6224
// > sub_1004E6644 @ 0x1004e6774
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_10042E608(__int64 a1)
{
unsigned int v2; // w0
if ( *(int *)(a1 + 8) < 1 )
return 0xFFFFFFFFLL;
v2 = sub_10042E648();
if ( (v2 & 0x80000000) != 0 )
return 0xFFFFFFFFLL;
else
return *(unsigned int *)(*(_QWORD *)(a1 + 40) + 4LL * v2);
}