//
// sub_99E14 from 0x99e14 to 0x99e50 (60 bytes)
//
// 8 xrefs:
// > sub_9B010 @ 0x9b238
// > sub_9B010 @ 0x9b27c
// > sub_9B010 @ 0x9b418
// > sub_9B010 @ 0x9b654
// > sub_9CC6C @ 0x9cc74
// > sub_9CCDC @ 0x9cce0
// > sub_9CCE4 @ 0x9cce8
// > sub_9CCF8 @ 0x9ccfc
//
// 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_99E14(__int64 a1)
{
__int64 v1; // x8
unsigned __int8 *v2; // x9
int v3; // w10
int v4; // w11
int v5; // w12
v1 = *(_QWORD *)(a1 + 376) + 18600LL;
v2 = *(unsigned __int8 **)(*(_QWORD *)(a1 + 376) + 18608LL);
v3 = *(_DWORD *)v1;
v4 = *v2;
v5 = *(_DWORD *)v1 + 1;
*(_QWORD *)(v1 + 8) = &v2[v5 >> 3];
*(_DWORD *)v1 = v5 & 7;
return ((unsigned int)(v4 << v3) >> 7) & 1;
}