//
// sub_18000EBC0 from 0x18000ebc0 to 0x18000ec32 (114 bytes)
//
// 5 xrefs:
// > sub_1800CEB90 @ 0x1800ceca4
// > sub_1800CFDB0 @ 0x1800d001c
// > sub_1800D0760 @ 0x1800d095a
// > sub_1800D0760 @ 0x1800d09e9
// > ??> @ 0x1801f6ccc
//
// 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_18000EBC0(__int64 a1, __int64 a2, unsigned int a3, unsigned int a4, __int64 a5, __int64 a6)
{
__int64 result; // rax
unsigned int v11; // ebx
result = sub_180102260(*(_QWORD *)(a1 + 8), 0);
if ( !(_DWORD)result )
{
v11 = (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD, __int64, __int64))(a1 + 368))(a2, a3, a4, a5, a6);
result = sub_180102340(*(_QWORD *)(a1 + 8));
if ( !(_DWORD)result )
return v11;
}
return result;
}