//
// sub_B9BCE8 from 0xb9bce8 to 0xb9bd50 (104 bytes)
//
// 1 xrefs:
// > sub_B94C64 @ 0xb94d04
//
// 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_B9BCE8(_QWORD *a1, __int64 a2)
{
unsigned int v2; // w3
if ( !a1 )
return 1;
v2 = 1;
if ( *a1 != 764702 )
return v2;
if ( !a2 )
return 2;
v2 = 2;
if ( *(_DWORD *)(a2 + 36448) != -1059136595 )
return v2;
v2 = 7;
if ( *(_QWORD *)(a2 + 96) )
return v2;
return sub_B9BBC0((__int64)a1, a2);
}