//
// sub_180019620 from 0x180019620 to 0x18001968d (109 bytes)
//
// 6 xrefs:
// > sub_180019590 @ 0x1800195e2
// > sub_180019590 @ 0x1800195f0
// > ??> @ 0x18002f46c
// > ??> @ 0x18002f47c
// > ??> @ 0x18004ac14
// > ??> @ 0x18004ac20
//
// 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 **__fastcall sub_180019620(void **Block)
{
_QWORD **v1; // rdx
_QWORD *v3; // rcx
_QWORD *v4; // rbx
v1 = (_QWORD **)*Block;
**((_QWORD **)*Block + 1) = 0;
v3 = *v1;
if ( *v1 )
{
do
{
v4 = (_QWORD *)*v3;
j_j_free(v3);
v3 = v4;
}
while ( v4 );
}
j_j_free(*Block);
j_j_free(Block);
return Block;
}