//
// cocos2d::extension::CCControlSwitch::CCControlSwitch from 0x18001c0e0 to 0x18001c195 (181 bytes)
//
// 2 xrefs:
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004ae90
//
// 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
//
cocos2d::extension::CCControlSwitch *__fastcall cocos2d::extension::CCControlSwitch::CCControlSwitch(
cocos2d::extension::CCControlSwitch *this,
const struct cocos2d::extension::CCControlSwitch *a2)
{
cocos2d::extension::CCControl::CCControl(this, a2);
*(_QWORD *)this = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCTouchDelegate'};
*((_QWORD *)this + 41) = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
*((_QWORD *)this + 42) = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeypadDelegate'};
*((_QWORD *)this + 43) = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeyboardDelegate'};
*((_QWORD *)this + 44) = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCMouseDelegate'};
*((_QWORD *)this + 51) = &cocos2d::extension::CCControlSwitch::`vftable';
*((_QWORD *)this + 59) = *((_QWORD *)a2 + 59);
*((_DWORD *)this + 120) = *((_DWORD *)a2 + 120);
*((_BYTE *)this + 484) = *((_BYTE *)a2 + 484);
*((_BYTE *)this + 485) = *((_BYTE *)a2 + 485);
return this;
}