//
// sub_BBC800 from 0xbbc800 to 0xbbc884 (132 bytes)
//
// 0 xrefs:
//
// 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_BBC800(__int64 a1, unsigned int a2)
{
__int64 result; // x0
if ( (sub_BC4470(a1, 18, 0, a2) & 0x80000000) != 0 )
return 0;
result = 0;
if ( *(_BYTE *)(a1 + 77) )
{
if ( *(_QWORD *)(a1 + 80) < (__int64)a2 )
{
*(_BYTE *)(a1 + 76) |= 4u;
sub_BBC0F0(a1, 0);
return 1;
}
}
return result;
}