//
// sub_1800CBBF0 from 0x1800cbbf0 to 0x1800cbc75 (133 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016c758
// > ??> @ 0x1801fe5b0
//
// 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_1800CBBF0(__int64 a1, __int64 a2, unsigned int a3, unsigned int a4, int a5, char a6)
{
__int64 result; // rax
if ( !a6 )
return sub_180069A10(*(_QWORD *)(a1 + 112), a2, a3, a4, a5, 64, 1);
result = sub_180010470(a1, a2, a3, a4, a5, a6);
if ( !(_DWORD)result )
return sub_180069A10(*(_QWORD *)(a1 + 112), a2, a3, a4, a5, 64, 1);
return result;
}