{"type": "func", "start": 6442565856, "end": 6442566037, "name": "cocos2d::extension::CCControlSwitch::CCControlSwitch", "pseudocode": "// \n// cocos2d::extension::CCControlSwitch::CCControlSwitch from 0x18001c0e0 to 0x18001c195 (181 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004ae90\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\ncocos2d::extension::CCControlSwitch *__fastcall cocos2d::extension::CCControlSwitch::CCControlSwitch(\n        cocos2d::extension::CCControlSwitch *this,\n        const struct cocos2d::extension::CCControlSwitch *a2)\n{\n  cocos2d::extension::CCControl::CCControl(this, a2);\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  *((_QWORD *)this + 59) = *((_QWORD *)a2 + 59);\n  *((_DWORD *)this + 120) = *((_DWORD *)a2 + 120);\n  *((_BYTE *)this + 484) = *((_BYTE *)a2 + 484);\n  *((_BYTE *)this + 485) = *((_BYTE *)a2 + 485);\n  return this;\n}", "assembly": "; \n; cocos2d::extension::CCControlSwitch::CCControlSwitch from 0x18001c0e0 to 0x18001c195 (181 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004ae90\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18001c0e0\npush    rdi                                                            ; +0x5, 0x18001c0e5\nsub     rsp, 20h                                                       ; +0x6, 0x18001c0e6\nmov     rbx, rdx                                                       ; +0xa, 0x18001c0ea\nmov     rdi, rcx                                                       ; +0xd, 0x18001c0ed\ncall    ??0CCControl@extension@cocos2d@@QEAA@AEBV012@@Z; cocos2d::extension::CCControl::CCControl(cocos2d::extension::CCControl const &) ; +0x10, 0x18001c0f0\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCNode'} ; +0x15, 0x18001c0f5\nmov     [rdi], rax                                                     ; +0x1c, 0x18001c0fc\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x1f, 0x18001c0ff\nmov     [rdi+140h], rax                                                ; +0x26, 0x18001c106\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x2d, 0x18001c10d\nmov     [rdi+148h], rax                                                ; +0x34, 0x18001c114\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x3b, 0x18001c11b\nmov     [rdi+150h], rax                                                ; +0x42, 0x18001c122\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x49, 0x18001c129\nmov     [rdi+158h], rax                                                ; +0x50, 0x18001c130\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x57, 0x18001c137\nmov     [rdi+160h], rax                                                ; +0x5e, 0x18001c13e\nlea     rax, ??_7CCControlSwitch@extension@cocos2d@@6B@; const cocos2d::extension::CCControlSwitch::`vftable' ; +0x65, 0x18001c145\nmov     [rdi+198h], rax                                                ; +0x6c, 0x18001c14c\nmov     rax, [rbx+1D8h]                                                ; +0x73, 0x18001c153\nmov     [rdi+1D8h], rax                                                ; +0x7a, 0x18001c15a\nmov     eax, [rbx+1E0h]                                                ; +0x81, 0x18001c161\nmov     [rdi+1E0h], eax                                                ; +0x87, 0x18001c167\nmovzx   eax, byte ptr [rbx+1E4h]                                       ; +0x8d, 0x18001c16d\nmov     [rdi+1E4h], al                                                 ; +0x94, 0x18001c174\nmovzx   eax, byte ptr [rbx+1E5h]                                       ; +0x9a, 0x18001c17a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa1, 0x18001c181\nmov     [rdi+1E5h], al                                                 ; +0xa6, 0x18001c186\nmov     rax, rdi                                                       ; +0xac, 0x18001c18c\nadd     rsp, 20h                                                       ; +0xaf, 0x18001c18f\npop     rdi                                                            ; +0xb3, 0x18001c193\nretn                                                                   ; +0xb4, 0x18001c194", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004ae90"], "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"}