//
// cocos2d::extension::CCEditBox::~CCEditBox from 0xd1ba94 to 0xd1bb70 (220 bytes)
//
// 6 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCEditBox::~CCEditBox @ 0xd1bb74
// > `non-virtual thunk to'cocos2d::extension::CCEditBox::~CCEditBox @ 0xd1bb7c
// > cocos2d::extension::CCEditBox::~CCEditBox @ 0xd1bb90
// > ??> @ 0x82d80
// > ??> @ 0xac1e0
// > ??> @ 0x150fbf8
//
// 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:07:09 +0000
//
// Alternative name is '_ZN7cocos2d9extension9CCEditBoxD1Ev'
void __fastcall cocos2d::extension::CCEditBox::~CCEditBox(cocos2d::extension::CCEditBox *this)
{
__int64 v2; // x0
v2 = *((_QWORD *)this + 72);
*(_QWORD *)this = &off_150FBF0;
*((_QWORD *)this + 40) = off_1510238;
*((_QWORD *)this + 41) = &off_15102A8;
*((_QWORD *)this + 42) = off_15102C0;
*((_QWORD *)this + 43) = off_15102E0;
*((_QWORD *)this + 44) = off_1510308;
*((_QWORD *)this + 51) = &off_1510338;
*((_QWORD *)this + 71) = off_15103B8;
if ( v2 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 8LL))(v2);
*((_QWORD *)this + 72) = 0;
}
cocos2d::extension::CCEditBox::unregisterScriptEditBoxHandler(this);
if ( (*((_BYTE *)this + 680) & 1) != 0 )
operator delete(*((void **)this + 87));
if ( (*((_BYTE *)this + 656) & 1) != 0 )
operator delete(*((void **)this + 84));
if ( (*((_BYTE *)this + 632) & 1) != 0 )
operator delete(*((void **)this + 81));
if ( (*((_BYTE *)this + 608) & 1) != 0 )
operator delete(*((void **)this + 78));
cocos2d::CCIMEDelegate::~CCIMEDelegate((cocos2d::extension::CCEditBox *)((char *)this + 568));
cocos2d::extension::CCControlButton::~CCControlButton(this);
}