//
// cocos2d::extension::CCControlSwitch::CCControlSwitch from 0xa9fa60 to 0xa9fad4 (116 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCControlSwitch::create @ 0xa9fce4
// > cocos2d::extension::CCControlSwitch::create @ 0xa9fdac
// > ??> @ 0x75ab0
// > ??> @ 0x7d430
//
// 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 '_ZN7cocos2d9extension15CCControlSwitchC1Ev'
__int64 (__fastcall **__fastcall cocos2d::extension::CCControlSwitch::CCControlSwitch(
cocos2d::extension::CCControlSwitch *this))(cocos2d::CCLayerRGBA *__hidden this, const cocos2d::_ccColor3B *)
{
cocos2d::extension::CCControl::CCControl(this);
*((_QWORD *)this + 62) = 0;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::extension::CCControlSwitch_vtbl *)&off_11F76A0;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11F7BF0;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11F7C60;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_11F7C78;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_11F7C98;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_11F7CB8;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11F7CE0;
*((_BYTE *)this + 508) = 0;
*((_BYTE *)this + 509) = 0;
*((_DWORD *)this + 126) = 0;
return &off_11F7CE0;
}