//
// sub_1800BF880 from 0x1800bf880 to 0x1800bf8d8 (88 bytes)
//
// 2 xrefs:
// > sub_1800BF8E0 @ 0x1800bf906
// > ??> @ 0x1801fd9b0
//
// 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_1800BF880(__int64 a1)
{
__int64 v2; // rcx
__int64 v3; // rcx
v2 = *(_QWORD *)(a1 + 376);
if ( v2 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 32LL))(v2);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 376) + 16LL))(*(_QWORD *)(a1 + 376));
*(_QWORD *)(a1 + 376) = 0;
}
v3 = *(_QWORD *)(a1 + 384);
if ( v3 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
*(_QWORD *)(a1 + 384) = 0;
}
return 0;
}