// // cocos2d::extension::CCControlSwitch::CCControlSwitch from 0x18001be00 to 0x18001beb5 (181 bytes) // // 2 xrefs: // > @ 0x180032408 // > @ 0x18004cddc // // 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:43 +0000 // 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; }