//
// sub_1800BDB60 from 0x1800bdb60 to 0x1800bdbb2 (82 bytes)
//
// 4 xrefs:
// > sub_1800BE300 @ 0x1800be363
// > sub_1800BEDA0 @ 0x1800bee03
// > ??> @ 0x18016ba30
// > ??> @ 0x1801fd7c4
//
// 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_1800BDB60(__int64 a1)
{
void (__fastcall *v1)(__int64); // rax
v1 = *(void (__fastcall **)(__int64))(a1 + 864);
if ( v1 )
v1(a1 + 8);
*(_BYTE *)(a1 + 786) = 0;
sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), (_DWORD *)a1);
return 0;
}