//
// sub_1800BB630 from 0x1800bb630 to 0x1800bb655 (37 bytes)
//
// 7 xrefs:
// > sub_1800CD290 @ 0x1800cd38a
// > sub_1800FAF10 @ 0x1800fb025
// > sub_1800FAF10 @ 0x1800fb03d
// > sub_1800FB080 @ 0x1800fb202
// > sub_1800FB080 @ 0x1800fb21a
// > sub_1801026E0 @ 0x1801029aa
// > sub_1801026E0 @ 0x180102b20
//
// 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_1800BB630(__int64 a1, __int64 a2)
{
__int64 v3; // rcx
if ( !a2 )
return 31;
v3 = *(_QWORD *)(a1 + 64);
if ( v3 )
return sub_1800D0B80(v3, a2, 0xFFFFFFFFLL);
else
return 2;
}