{"type": "func", "start": 6442501536, "end": 6442501670, "name": "cocos2d::extension::CCControlSwitch::~CCControlSwitch", "pseudocode": "// \n// cocos2d::extension::CCControlSwitch::~CCControlSwitch from 0x18000c5a0 to 0x18000c626 (134 bytes)\n// \n// 4 xrefs:\n// > sub_18000CE50 @ 0x18000ceae\n// > sub_18000CE50 @ 0x18000ce6c\n// > <???> @ 0x180032408\n// > <???> @ 0x18004bc3c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:38 +0000\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 0x18000c5a0 to 0x18000c626 (134 bytes)\n; \n; 4 xrefs:\n; > sub_18000CE50 @ 0x18000ceae\n; > sub_18000CE50 @ 0x18000ce6c\n; > <???> @ 0x180032408\n; > <???> @ 0x18004bc3c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:38 +0000\n; \npush    rbx                                                            ; +0x0, 0x18000c5a0\nsub     rsp, 20h                                                       ; +0x2, 0x18000c5a2\nmov     rbx, rcx                                                       ; +0x6, 0x18000c5a6\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCNode'} ; +0x9, 0x18000c5a9\nmov     [rcx], rax                                                     ; +0x10, 0x18000c5b0\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x13, 0x18000c5b3\nmov     [rcx+140h], rax                                                ; +0x1a, 0x18000c5ba\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x21, 0x18000c5c1\nmov     [rcx+148h], rax                                                ; +0x28, 0x18000c5c8\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x2f, 0x18000c5cf\nmov     [rcx+150h], rax                                                ; +0x36, 0x18000c5d6\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x3d, 0x18000c5dd\nmov     [rcx+158h], rax                                                ; +0x44, 0x18000c5e4\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x4b, 0x18000c5eb\nmov     [rcx+160h], rax                                                ; +0x52, 0x18000c5f2\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6B@; const cocos2d::extension::CCControlSwitch::`vftable' ; +0x59, 0x18000c5f9\nmov     [rcx+198h], rax                                                ; +0x60, 0x18000c600\nmov     rcx, [rcx+1D8h]                                                ; +0x67, 0x18000c607\ntest    rcx, rcx                                                       ; +0x6e, 0x18000c60e\njz      short loc_18000C619                                            ; +0x71, 0x18000c611\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x73, 0x18000c613\nmov     rcx, rbx; this                                                 ; +0x79, 0x18000c619\nadd     rsp, 20h                                                       ; +0x7c, 0x18000c61c\npop     rbx                                                            ; +0x80, 0x18000c620\njmp     ??1CCControl@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCControl::~CCControl(void) ; +0x81, 0x18000c621", "xrefs": ["sub_18000CE50 @ 0x18000ceae", "sub_18000CE50 @ 0x18000ce6c", "<???> @ 0x180032408", "<???> @ 0x18004bc3c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}