//
// cocos2d::extension::CCControlButton::~CCControlButton from 0x180005810 to 0x180005902 (242 bytes)
//
// 9 xrefs:
// > sub_180007AA0 @ 0x180007afe
// > cocos2d::extension::CCEditBox::~CCEditBox @ 0x180010911
// > sub_180020BD0 @ 0x180020bd7
// > sub_180021090 @ 0x180021097
// > sub_180007AA0 @ 0x180007abc
// > ??> @ 0x18002e5d3
// > ??> @ 0x18002f7f7
// > ??> @ 0x18002fdf8
// > ??> @ 0x180049534
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::extension::CCControlButton::~CCControlButton(cocos2d::extension::CCControlButton *this)
{
cocos2d::CCObject *v2; // rcx
cocos2d::CCObject *v3; // rcx
cocos2d::CCObject *v4; // rcx
cocos2d::CCObject *v5; // rcx
cocos2d::CCObject *v6; // rcx
cocos2d::CCObject *v7; // rcx
cocos2d::CCObject *v8; // rcx
*(_QWORD *)this = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCTouchDelegate'};
*((_QWORD *)this + 41) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
*((_QWORD *)this + 42) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeypadDelegate'};
*((_QWORD *)this + 43) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeyboardDelegate'};
*((_QWORD *)this + 44) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCMouseDelegate'};
*((_QWORD *)this + 51) = &cocos2d::extension::CCControlButton::`vftable';
v2 = *((cocos2d::CCObject **)this + 59);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 61);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 69);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 68);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 67);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *((cocos2d::CCObject **)this + 66);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *((cocos2d::CCObject **)this + 62);
if ( v8 )
cocos2d::CCObject::release(v8);
cocos2d::extension::CCControl::~CCControl(this);
}