// // cocos2d::extension::CCControlSwitch::CCControlSwitch from 0x18000c510 to 0x18000c59b (139 bytes) // // 4 xrefs: // > cocos2d::extension::CCControlSwitch::create @ 0x18000c698 // > cocos2d::extension::CCControlSwitch::create @ 0x18000c958 // > @ 0x180032408 // > @ 0x18004bc30 // // 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:38 +0000 // cocos2d::extension::CCControlSwitch *__fastcall cocos2d::extension::CCControlSwitch::CCControlSwitch( cocos2d::extension::CCControlSwitch *this) { cocos2d::extension::CCControl::CCControl(this); *(_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) = 0; *((_DWORD *)this + 120) = 0; *((_WORD *)this + 242) = 0; return this; }