//
// 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 (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:54:01 +0000
//
__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;
}