//
// sub_1800194C0 from 0x1800194c0 to 0x18001952d (109 bytes)
//
// 6 xrefs:
// > sub_180019430 @ 0x180019482
// > sub_180019430 @ 0x180019490
// > ??> @ 0x180031a68
// > ??> @ 0x180031a78
// > ??> @ 0x18004cb78
// > ??> @ 0x18004cb84
//
// 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:42 +0000
//
void **__fastcall sub_1800194C0(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;
}