//
// cocos2d::extension::CCControlSwitch::CCControlSwitch from 0x5a4898 to 0x5a48f4 (92 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCControlSwitch::create @ 0x5a4a4e
// > cocos2d::extension::CCControlSwitch::create @ 0x5a4aa6
//
// 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'
cocos2d::extension::CCControlSwitch *__fastcall cocos2d::extension::CCControlSwitch::CCControlSwitch(
cocos2d::extension::CCControlSwitch *this)
{
cocos2d::extension::CCControl::CCControl(this);
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::extension::CCControlSwitch_vtbl *)&off_A9CBA8;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A9CE50;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A9CE88;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A9CE94;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A9CEA4;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A9CEB4;
this->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A9CEC8;
*((_DWORD *)this + 93) = 0;
*((_DWORD *)this + 92) = 0;
*((_BYTE *)this + 376) = 0;
*((_BYTE *)this + 377) = 0;
return this;
}