//
// cocos2d::extension::CCControl::~CCControl from 0x180003ca0 to 0x180003d37 (151 bytes)
//
// 15 xrefs:
// > sub_180005100 @ 0x18000515e
// > cocos2d::extension::CCControlButton::~CCControlButton @ 0x18000539d
// > cocos2d::extension::CCControlColourPicker::~CCControlColourPicker @ 0x180007dc0
// > sub_180007DD0 @ 0x180007e2e
// > cocos2d::extension::CCControlHuePicker::~CCControlHuePicker @ 0x18000804b
// > cocos2d::extension::CCControlPotentiometer::~CCControlPotentiometer @ 0x180008953
// > cocos2d::extension::CCControlSaturationBrightnessPicker::~CCControlSaturationBrightnessPicker @ 0x180009465
// > cocos2d::extension::CCControlSlider::~CCControlSlider @ 0x180009f65
// > cocos2d::extension::CCControlStepper::~CCControlStepper @ 0x18000ae2d
// > cocos2d::extension::CCControlSwitch::~CCControlSwitch @ 0x18000c621
// > sub_1800205B0 @ 0x1800205b7
// > sub_180005100 @ 0x18000511c
// > ??> @ 0x18002fc3b
// > ??> @ 0x180032408
// > ??> @ 0x18004b324
//
// 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:35 +0000
//
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_180005080((char *)this + 456, (char *)this + 456);
cocos2d::CCLayerRGBA::~CCLayerRGBA(this);
}