{"type": "func", "start": 6442502736, "end": 6442502870, "name": "cocos2d::extension::CCControlSwitch::~CCControlSwitch", "pseudocode": "// \n// cocos2d::extension::CCControlSwitch::~CCControlSwitch from 0x18000ca50 to 0x18000cad6 (134 bytes)\n// \n// 4 xrefs:\n// > sub_18000D330 @ 0x18000d38e\n// > sub_18000D330 @ 0x18000d34c\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049d74\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::extension::CCControlSwitch::~CCControlSwitch(cocos2d::extension::CCControlSwitch *this)\n{\n  cocos2d::CCObject *v2; // rcx\n\n  *(_QWORD *)this = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCTouchDelegate'};\n  *((_QWORD *)this + 41) = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCAccelerometerDelegate'};\n  *((_QWORD *)this + 42) = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeypadDelegate'};\n  *((_QWORD *)this + 43) = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeyboardDelegate'};\n  *((_QWORD *)this + 44) = &cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCMouseDelegate'};\n  *((_QWORD *)this + 51) = &cocos2d::extension::CCControlSwitch::`vftable';\n  v2 = *((cocos2d::CCObject **)this + 59);\n  if ( v2 )\n    cocos2d::CCObject::release(v2);\n  cocos2d::extension::CCControl::~CCControl(this);\n}", "assembly": "; \n; cocos2d::extension::CCControlSwitch::~CCControlSwitch from 0x18000ca50 to 0x18000cad6 (134 bytes)\n; \n; 4 xrefs:\n; > sub_18000D330 @ 0x18000d38e\n; > sub_18000D330 @ 0x18000d34c\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049d74\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x18000ca50\nsub     rsp, 20h                                                       ; +0x2, 0x18000ca52\nmov     rbx, rcx                                                       ; +0x6, 0x18000ca56\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCNode'} ; +0x9, 0x18000ca59\nmov     [rcx], rax                                                     ; +0x10, 0x18000ca60\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x13, 0x18000ca63\nmov     [rcx+140h], rax                                                ; +0x1a, 0x18000ca6a\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x21, 0x18000ca71\nmov     [rcx+148h], rax                                                ; +0x28, 0x18000ca78\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x2f, 0x18000ca7f\nmov     [rcx+150h], rax                                                ; +0x36, 0x18000ca86\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x3d, 0x18000ca8d\nmov     [rcx+158h], rax                                                ; +0x44, 0x18000ca94\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x4b, 0x18000ca9b\nmov     [rcx+160h], rax                                                ; +0x52, 0x18000caa2\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6B@; const cocos2d::extension::CCControlSwitch::`vftable' ; +0x59, 0x18000caa9\nmov     [rcx+198h], rax                                                ; +0x60, 0x18000cab0\nmov     rcx, [rcx+1D8h]                                                ; +0x67, 0x18000cab7\ntest    rcx, rcx                                                       ; +0x6e, 0x18000cabe\njz      short loc_18000CAC9                                            ; +0x71, 0x18000cac1\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x73, 0x18000cac3\nmov     rcx, rbx; this                                                 ; +0x79, 0x18000cac9\nadd     rsp, 20h                                                       ; +0x7c, 0x18000cacc\npop     rbx                                                            ; +0x80, 0x18000cad0\njmp     ??1CCControl@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCControl::~CCControl(void) ; +0x81, 0x18000cad1", "xrefs": ["sub_18000D330 @ 0x18000d38e", "sub_18000D330 @ 0x18000d34c", "<???> @ 0x18002fdf8", "<???> @ 0x180049d74"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}