//
// 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 (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:02 +0000
//
__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;
}