//
// sub_1800CBBF0 from 0x1800cbbf0 to 0x1800cbc75 (133 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016c758
// > ??> @ 0x1801fe5b0
//
// 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:07 +0000
//
__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;
}