//
// sub_1005EEBD0 from 0x1005eebd0 to 0x1005eec34 (100 bytes)
//
// 2 xrefs:
// > sub_100605FC8 @ 0x100605ff4
// > sub_10060C704 @ 0x10060c768
//
// 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
//
bool __fastcall sub_1005EEBD0(__int64 a1, int a2)
{
int v2; // w8
int v3; // w8
__int64 v5; // x9
v2 = a2 + 7;
if ( a2 >= 0 )
v2 = a2;
if ( !a1 )
return 0;
v3 = v2 >> 3;
if ( *(_DWORD *)a1 < v3 + 1 )
return 0;
v5 = *(_QWORD *)(a1 + 8);
return v5 && (*(unsigned __int8 *)(v5 + v3) & (1 << (~(_BYTE)a2 & 7))) != 0;
}