//
// cocos2d::extension::CCControl::CCControl from 0x5a0a3c to 0x5a0abe (130 bytes)
//
// 9 xrefs:
// > cocos2d::extension::CCControl::create @ 0x5a0ad0
// > cocos2d::extension::CCControlButton::CCControlButton @ 0x5a1ecc
// > cocos2d::extension::CCControlColourPicker::create @ 0x5a25ec
// > cocos2d::extension::CCControlHuePicker::CCControlHuePicker @ 0x5a2da0
// > cocos2d::extension::CCControlSaturationBrightnessPicker::CCControlSaturationBrightnessPicker @ 0x5a3314
// > cocos2d::extension::CCControlSlider::CCControlSlider @ 0x5a3c90
// > cocos2d::extension::CCControlSwitch::CCControlSwitch @ 0x5a489c
// > cocos2d::extension::CCControlPotentiometer::CCControlPotentiometer @ 0x5a6e00
// > cocos2d::extension::CCControlStepper::CCControlStepper @ 0x5a7758
//
// 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
//
// Alternative name is '_ZN7cocos2d9extension9CCControlC1Ev'
cocos2d::extension::CCControl *__fastcall cocos2d::extension::CCControl::CCControl(cocos2d::extension::CCControl *this)
{
cocos2d::CCLayerRGBA::CCLayerRGBA(this);
this->m_bIsOpacityModifyRGB = 0;
this->m_hasVisibleParents = 0;
this->m_bEnabled = 0;
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::extension::CCControl_vtbl *)&off_A9B5E0;
this->m_bSelected = 0;
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A9B888;
this->m_bHighlighted = 0;
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A9B8C0;
this->m_pDispatchTable = nullptr;
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A9B8CC;
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A9B8DC;
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A9B8EC;
this->cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A9B900;
this->m_eState = 1;
memset(&this->m_mapHandleOfControlEvent.m_header, 0, sizeof(this->m_mapHandleOfControlEvent.m_header));
this->m_mapHandleOfControlEvent.m_nodecount = 0;
this->m_mapHandleOfControlEvent.m_header.m_left = &this->m_mapHandleOfControlEvent.m_header;
this->m_mapHandleOfControlEvent.m_header.m_right = &this->m_mapHandleOfControlEvent.m_header;
return this;
}