//
// sub_1800E9190 from 0x1800e9190 to 0x1800e9228 (152 bytes)
//
// 4 xrefs:
// > sub_180001440 @ 0x180001450
// > ??> @ 0x180144de4
// > ??> @ 0x180144df4
// > ??> @ 0x1801c61e0
//
// 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:40 +0000
//
void __fastcall sub_1800E9190()
{
_QWORD **v0; // rcx
_QWORD *v1; // rcx
_QWORD *v2; // rbx
void *v3; // rcx
sub_1800175F0((__int64)&unk_1801B2618);
v0 = (_QWORD **)qword_1801B2608;
**((_QWORD **)qword_1801B2608 + 1) = 0;
v1 = *v0;
if ( v1 )
{
do
{
v2 = (_QWORD *)*v1;
j_j_free_0(v1);
v1 = v2;
}
while ( v2 );
}
j_j_free_0(qword_1801B2608);
sub_180078BA0(&qword_1801B25D8);
v3 = qword_1801B25D8;
qword_1801B25D8 = nullptr;
j_j_free_0(v3);
if ( dword_1801B2568 )
terminate();
}