//
// cocos2d::CCIMEDispatcher::~CCIMEDispatcher from 0x1800b8450 to 0x1800b84c6 (118 bytes)
//
// 4 xrefs:
// > ??> @ 0x18014a4d0
// > ??> @ 0x18014a4e0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2be0
//
// 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:22 +0000
//
void __fastcall cocos2d::CCIMEDispatcher::~CCIMEDispatcher(void ***this)
{
void **v1; // rdi
_QWORD **v3; // rdx
_QWORD *v4; // rcx
_QWORD *v5; // rbx
v1 = *this;
if ( *this )
{
v3 = (_QWORD **)*v1;
**((_QWORD **)*v1 + 1) = 0;
v4 = *v3;
if ( *v3 )
{
do
{
v5 = (_QWORD *)*v4;
j_j_free_0(v4);
v4 = v5;
}
while ( v5 );
}
j_j_free_0(*v1);
j_j_free_0(v1);
*this = nullptr;
}
}