//
// sub_1800E9440 from 0x1800e9440 to 0x1800e94b5 (117 bytes)
//
// 4 xrefs:
// > cocos2d::CCIMEDispatcher::sharedDispatcher @ 0x1800b8af5
// > ??> @ 0x18014a638
// > ??> @ 0x18014a648
// > ??> @ 0x1801c6228
//
// 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_1800E9440()
{
void **v0; // rdi
_QWORD **v1; // rcx
_QWORD *v2; // rcx
_QWORD *v3; // rbx
v0 = (void **)qword_1801B3B68;
if ( qword_1801B3B68 )
{
v1 = *(_QWORD ***)qword_1801B3B68;
**(_QWORD **)(*(_QWORD *)qword_1801B3B68 + 8LL) = 0;
v2 = *v1;
if ( v2 )
{
do
{
v3 = (_QWORD *)*v2;
j_j_free_0(v2);
v2 = v3;
}
while ( v3 );
}
j_j_free_0(*v0);
j_j_free_0(v0);
qword_1801B3B68 = nullptr;
}
}