//
// sub_1800BE060 from 0x1800be060 to 0x1800be08a (42 bytes)
//
// 2 xrefs:
// > sub_180102CA0 @ 0x18010316c
// > ??> @ 0x1801fd818
//
// 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_1800BE060(__int64 a1)
{
__int64 (__fastcall *v1)(__int64); // rax
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 786) )
return 0;
v1 = *(__int64 (__fastcall **)(__int64))(a1 + 872);
if ( !v1 )
return 0;
result = v1(a1 + 8);
if ( !(_DWORD)result )
return 0;
return result;
}