//
// sub_1800DE7C0 from 0x1800de7c0 to 0x1800de80c (76 bytes)
//
// 2 xrefs:
// > sub_1800DE350 @ 0x1800de425
// > ??> @ 0x1801c5004
//
// 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 11:22:35 +0000
//
void *__fastcall sub_1800DE7C0(__int64 a1)
{
__int64 v2; // rcx
sub_1800DD170(a1, 0x40002u);
v2 = *(_QWORD *)(a1 + 256);
if ( v2 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 64LL))(v2);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 256) + 16LL))(*(_QWORD *)(a1 + 256));
}
free(*(void **)(a1 + 240));
return sub_1800DCFB0((void **)a1);
}