//
// cocos2d::CCIMEDispatcher::~CCIMEDispatcher from 0xda08d0 to 0xda0958 (136 bytes)
//
// 4 xrefs:
// > ??> @ 0xc8140
// > ??> @ 0xee720
// > cocos2d::CCIMEDispatcher::sharedDispatcher @ 0xda0f44
// > ??> @ 0x1547350
//
// This function is hookable on this platform (idp: arm, 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 13:08:29 +0000
//
// Alternative name is '_ZN7cocos2d15CCIMEDispatcherD1Ev'
void __fastcall cocos2d::CCIMEDispatcher::~CCIMEDispatcher(cocos2d::CCIMEDispatcher *this)
{
_QWORD *v1; // x19
_QWORD *v2; // x0
__int64 v3; // x1
_QWORD *v4; // x20
v1 = *(_QWORD **)this;
if ( *(_QWORD *)this )
{
if ( v1[2] )
{
v2 = (_QWORD *)v1[1];
v3 = *v1;
*(_QWORD *)(*v2 + 8LL) = *(_QWORD *)(*v1 + 8LL);
**(_QWORD **)(v3 + 8) = *v2;
v1[2] = 0;
if ( v2 != v1 )
{
do
{
v4 = (_QWORD *)v2[1];
operator delete(v2);
v2 = v4;
}
while ( v1 != v4 );
}
}
operator delete(v1);
}
}