//
// sub_B990EC from 0xb990ec to 0xb99144 (88 bytes)
//
// 1 xrefs:
// > sub_BAB830 @ 0xbab87c
//
// 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_B990EC(__int64 a1)
{
unsigned int v1; // w1
int v2; // w0
char v4; // [xsp+1Fh] [xbp+1Fh] BYREF
v1 = *(unsigned __int8 *)(a1 + 664);
if ( *(_BYTE *)(a1 + 664) )
return (unsigned int)sub_BBA908() != 0;
v2 = *(_DWORD *)(a1 + 608);
if ( v2 != -1 )
return recv(v2, &v4, 1u, 2) != 0;
return v1;
}