//
// sub_1800DC0C0 from 0x1800dc0c0 to 0x1800dc14c (140 bytes)
//
// 2 xrefs:
// > sub_1800DA2E0 @ 0x1800da34e
// > ??> @ 0x1801bad94
//
// 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
//
void *sub_1800DC0C0()
{
void **v0; // rbx
void *result; // rax
v0 = (void **)&unk_1801AA078;
do
{
sub_1800D5440((__int64)(v0 - 32), 0x40002u);
if ( *v0 )
{
(*(void (__fastcall **)(void *))(*(_QWORD *)*v0 + 64LL))(*v0);
(*(void (__fastcall **)(void *))(*(_QWORD *)*v0 + 16LL))(*v0);
}
free(*(v0 - 2));
result = sub_1800D5280(v0 - 32);
v0 += 36;
}
while ( (__int64)v0 <= (__int64)dword_1801AB158 );
if ( qword_1801AC018 )
return (void *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)qword_1801AC018 + 16LL))(qword_1801AC018);
return result;
}