//
// cocos2d::extension::CCEditBox::~CCEditBox from 0x1800101e0 to 0x1800102f1 (273 bytes)
//
// 4 xrefs:
// > sub_180010D60 @ 0x180010dc2
// > sub_180010D60 @ 0x180010d7c
// > ??> @ 0x180032408
// > ??> @ 0x18004c044
//
// 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:39 +0000
//
void __fastcall cocos2d::extension::CCEditBox::~CCEditBox(cocos2d::extension::CCEditBox *this)
{
void (__fastcall ***v2)(_QWORD, __int64); // rcx
_QWORD *v3; // rax
*(_QWORD *)this = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCTouchDelegate'};
*((_QWORD *)this + 41) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
*((_QWORD *)this + 42) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeypadDelegate'};
*((_QWORD *)this + 43) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeyboardDelegate'};
*((_QWORD *)this + 44) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCMouseDelegate'};
*((_QWORD *)this + 51) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::extension::CCControlButton'};
*((_QWORD *)this + 71) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCIMEDelegate'};
v2 = *((void (__fastcall ****)(_QWORD, __int64))this + 72);
if ( v2 )
{
(**v2)(v2, 1);
*((_QWORD *)this + 72) = 0;
}
if ( *((_DWORD *)this + 190) )
{
v3 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v3 + 24LL))(*v3, *((unsigned int *)this + 190));
*((_DWORD *)this + 190) = 0;
}
sub_180003700((__int64)this + 704);
sub_180003700((__int64)this + 672);
sub_180003700((__int64)this + 640);
sub_180003700((__int64)this + 608);
cocos2d::CCIMEDelegate::~CCIMEDelegate((cocos2d::extension::CCEditBox *)((char *)this + 568));
cocos2d::extension::CCControlButton::~CCControlButton(this);
}