//
// sub_18001DC00 from 0x18001dc00 to 0x18001dc65 (101 bytes)
//
// 5 xrefs:
// > sub_18002102C @ 0x180021033
// > ??> @ 0x180031fa9
// > ??> @ 0x180031fc4
// > ??> @ 0x180031fd4
// > ??> @ 0x18004cfd4
//
// 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 12:15:44 +0000
//
void __fastcall sub_18001DC00(__int64 *a1)
{
__int64 v1; // rdi
_QWORD *v2; // rbx
__int64 v3; // rsi
void *v4; // rcx
v1 = *a1;
if ( *a1 )
{
v2 = (_QWORD *)a1[2];
v3 = a1[1];
while ( !*((_BYTE *)v2 + 25) )
{
sub_180005020(v1, v3, v2[2]);
v4 = v2;
v2 = (_QWORD *)*v2;
j_j_free(v4);
}
}
}