//
// sub_BB03D0 from 0xbb03d0 to 0xbb0410 (64 bytes)
//
// 1 xrefs:
// > sub_B9C364 @ 0xb9c7c0
//
// 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_BB03D0(__int64 a1, __int64 a2)
{
unsigned int v2; // w2
_QWORD **v3; // x3
_QWORD *v4; // x3
v2 = *(unsigned __int8 *)(a2 + 981);
if ( !*(_BYTE *)(a2 + 981) && !*(_BYTE *)(a2 + 1136) )
{
v3 = *(_QWORD ***)(a2 + 1152);
if ( v3 )
{
v4 = *v3;
if ( v4 )
{
if ( a1 == *v4 )
{
v2 = 1;
*(_BYTE *)(a2 + 1136) = 1;
}
}
}
}
return v2;
}