//
// cocos2d::extension::CCControl::~CCControl from 0x1800042a0 to 0x180004337 (151 bytes)
//
// 15 xrefs:
// > sub_180005660 @ 0x1800056be
// > cocos2d::extension::CCControlButton::~CCControlButton @ 0x1800058fd
// > cocos2d::extension::CCControlColourPicker::~CCControlColourPicker @ 0x180008310
// > sub_180008320 @ 0x18000837e
// > cocos2d::extension::CCControlHuePicker::~CCControlHuePicker @ 0x18000859b
// > cocos2d::extension::CCControlPotentiometer::~CCControlPotentiometer @ 0x180008ea3
// > cocos2d::extension::CCControlSaturationBrightnessPicker::~CCControlSaturationBrightnessPicker @ 0x1800099b5
// > cocos2d::extension::CCControlSlider::~CCControlSlider @ 0x18000a4d5
// > cocos2d::extension::CCControlStepper::~CCControlStepper @ 0x18000b30d
// > cocos2d::extension::CCControlSwitch::~CCControlSwitch @ 0x18000cad1
// > sub_1800206D0 @ 0x1800206d7
// > sub_180005660 @ 0x18000567c
// > ??> @ 0x18002d667
// > ??> @ 0x18002fdf8
// > ??> @ 0x1800493d8
//
// 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::CCControl::~CCControl(cocos2d::extension::CCControl *this)
{
cocos2d::CCObject *v2; // rcx
*(_QWORD *)this = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCTouchDelegate'};
*((_QWORD *)this + 41) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
*((_QWORD *)this + 42) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCKeypadDelegate'};
*((_QWORD *)this + 43) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCKeyboardDelegate'};
*((_QWORD *)this + 44) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCMouseDelegate'};
*((_QWORD *)this + 51) = &cocos2d::extension::CCControl::`vftable';
v2 = *((cocos2d::CCObject **)this + 56);
if ( v2 )
cocos2d::CCObject::release(v2);
sub_1800055E0((char *)this + 456, (char *)this + 456);
cocos2d::CCLayerRGBA::~CCLayerRGBA(this);
}