{"type": "func", "start": 6442560992, "end": 6442561301, "name": "cocos2d::extension::CCControl::CCControl", "pseudocode": "// \n// cocos2d::extension::CCControl::CCControl from 0x18001ade0 to 0x18001af15 (309 bytes)\n// \n// 10 xrefs:\n// > cocos2d::extension::CCControlButton::CCControlButton @ 0x18001b055\n// > cocos2d::extension::CCControlHuePicker::CCControlHuePicker @ 0x18001b335\n// > cocos2d::extension::CCControlSaturationBrightnessPicker::CCControlSaturationBrightnessPicker @ 0x18001b4b5\n// > cocos2d::extension::CCControlColourPicker::CCControlColourPicker @ 0x18001b6b0\n// > cocos2d::extension::CCControlPotentiometer::CCControlPotentiometer @ 0x18001b8a5\n// > cocos2d::extension::CCControlSlider::CCControlSlider @ 0x18001ba60\n// > cocos2d::extension::CCControlStepper::CCControlStepper @ 0x18001bbe0\n// > cocos2d::extension::CCControlSwitch::CCControlSwitch @ 0x18001be10\n// > <???> @ 0x180032408\n// > <???> @ 0x18004ccf8\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:43 +0000\n// \n\n// Hidden C++ exception states: #wind=2\ncocos2d::extension::CCControl *__fastcall cocos2d::extension::CCControl::CCControl(\n        cocos2d::extension::CCControl *this,\n        const struct cocos2d::extension::CCControl *a2)\n{\n  __int64 v4; // rax\n\n  cocos2d::CCLayerRGBA::CCLayerRGBA(this, a2);\n  *(_QWORD *)this = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCTouchDelegate'};\n  *((_QWORD *)this + 41) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCAccelerometerDelegate'};\n  *((_QWORD *)this + 42) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCKeypadDelegate'};\n  *((_QWORD *)this + 43) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCKeyboardDelegate'};\n  *((_QWORD *)this + 44) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCMouseDelegate'};\n  *((_QWORD *)this + 51) = &cocos2d::extension::CCControl::`vftable';\n  *((_BYTE *)this + 432) = *((_BYTE *)a2 + 432);\n  *((_DWORD *)this + 109) = *((_DWORD *)a2 + 109);\n  *((_BYTE *)this + 440) = *((_BYTE *)a2 + 440);\n  *((_BYTE *)this + 441) = *((_BYTE *)a2 + 441);\n  *((_BYTE *)this + 442) = *((_BYTE *)a2 + 442);\n  *((_BYTE *)this + 443) = *((_BYTE *)a2 + 443);\n  *((_QWORD *)this + 56) = *((_QWORD *)a2 + 56);\n  *((_QWORD *)this + 57) = 0;\n  *((_QWORD *)this + 58) = 0;\n  v4 = sub_18001F040(0x28u);\n  *(_QWORD *)v4 = v4;\n  *(_QWORD *)(v4 + 8) = v4;\n  *(_QWORD *)(v4 + 16) = v4;\n  *(_WORD *)(v4 + 24) = 257;\n  *((_QWORD *)this + 57) = v4;\n  sub_18001DA70((char *)this + 456, (char *)a2 + 456);\n  return this;\n}", "assembly": "; \n; cocos2d::extension::CCControl::CCControl from 0x18001ade0 to 0x18001af15 (309 bytes)\n; \n; 10 xrefs:\n; > cocos2d::extension::CCControlButton::CCControlButton @ 0x18001b055\n; > cocos2d::extension::CCControlHuePicker::CCControlHuePicker @ 0x18001b335\n; > cocos2d::extension::CCControlSaturationBrightnessPicker::CCControlSaturationBrightnessPicker @ 0x18001b4b5\n; > cocos2d::extension::CCControlColourPicker::CCControlColourPicker @ 0x18001b6b0\n; > cocos2d::extension::CCControlPotentiometer::CCControlPotentiometer @ 0x18001b8a5\n; > cocos2d::extension::CCControlSlider::CCControlSlider @ 0x18001ba60\n; > cocos2d::extension::CCControlStepper::CCControlStepper @ 0x18001bbe0\n; > cocos2d::extension::CCControlSwitch::CCControlSwitch @ 0x18001be10\n; > <???> @ 0x180032408\n; > <???> @ 0x18004ccf8\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:43 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x18001ade0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x18001ade5\nmov     [rsp+arg_0], rcx                                               ; +0xa, 0x18001adea\npush    rdi                                                            ; +0xf, 0x18001adef\nsub     rsp, 30h                                                       ; +0x10, 0x18001adf0\nmov     rdi, rdx                                                       ; +0x14, 0x18001adf4\nmov     rsi, rcx                                                       ; +0x17, 0x18001adf7\ncall    cs:??0CCLayerRGBA@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCLayerRGBA::CCLayerRGBA(cocos2d::CCLayerRGBA const &) ; +0x1a, 0x18001adfa\nnop                                                                    ; +0x20, 0x18001ae00\nlea     rax, ??_7CCControl@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCNode'} ; +0x21, 0x18001ae01\nmov     [rsi], rax                                                     ; +0x28, 0x18001ae08\nlea     rax, ??_7CCControl@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x2b, 0x18001ae0b\nmov     [rsi+140h], rax                                                ; +0x32, 0x18001ae12\nlea     rax, ??_7CCControl@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x39, 0x18001ae19\nmov     [rsi+148h], rax                                                ; +0x40, 0x18001ae20\nlea     rax, ??_7CCControl@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x47, 0x18001ae27\nmov     [rsi+150h], rax                                                ; +0x4e, 0x18001ae2e\nlea     rax, ??_7CCControl@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x55, 0x18001ae35\nmov     [rsi+158h], rax                                                ; +0x5c, 0x18001ae3c\nlea     rax, ??_7CCControl@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x63, 0x18001ae43\nmov     [rsi+160h], rax                                                ; +0x6a, 0x18001ae4a\nlea     rax, ??_7CCControl@extension@cocos2d@@6B@; const cocos2d::extension::CCControl::`vftable' ; +0x71, 0x18001ae51\nmov     [rsi+198h], rax                                                ; +0x78, 0x18001ae58\nmovzx   eax, byte ptr [rdi+1B0h]                                       ; +0x7f, 0x18001ae5f\nmov     [rsi+1B0h], al                                                 ; +0x86, 0x18001ae66\nmov     eax, [rdi+1B4h]                                                ; +0x8c, 0x18001ae6c\nmov     [rsi+1B4h], eax                                                ; +0x92, 0x18001ae72\nmovzx   eax, byte ptr [rdi+1B8h]                                       ; +0x98, 0x18001ae78\nmov     [rsi+1B8h], al                                                 ; +0x9f, 0x18001ae7f\nmovzx   eax, byte ptr [rdi+1B9h]                                       ; +0xa5, 0x18001ae85\nmov     [rsi+1B9h], al                                                 ; +0xac, 0x18001ae8c\nmovzx   eax, byte ptr [rdi+1BAh]                                       ; +0xb2, 0x18001ae92\nmov     [rsi+1BAh], al                                                 ; +0xb9, 0x18001ae99\nmovzx   eax, byte ptr [rdi+1BBh]                                       ; +0xbf, 0x18001ae9f\nmov     [rsi+1BBh], al                                                 ; +0xc6, 0x18001aea6\nmov     rax, [rdi+1C0h]                                                ; +0xcc, 0x18001aeac\nmov     [rsi+1C0h], rax                                                ; +0xd3, 0x18001aeb3\nlea     rbx, [rsi+1C8h]                                                ; +0xda, 0x18001aeba\nxor     eax, eax                                                       ; +0xe1, 0x18001aec1\nmov     [rbx], rax                                                     ; +0xe3, 0x18001aec3\nmov     [rbx+8], rax                                                   ; +0xe6, 0x18001aec6\nmov     [rsp+38h+var_18], rbx                                          ; +0xea, 0x18001aeca\nmov     [rsp+38h+var_10], rbx                                          ; +0xef, 0x18001aecf\nmov     ecx, 28h ; '('; Size                                           ; +0xf4, 0x18001aed4\ncall    sub_18001F040                                                  ; +0xf9, 0x18001aed9\nmov     [rax], rax                                                     ; +0xfe, 0x18001aede\nmov     [rax+8], rax                                                   ; +0x101, 0x18001aee1\nmov     [rax+10h], rax                                                 ; +0x105, 0x18001aee5\nmov     word ptr [rax+18h], 101h                                       ; +0x109, 0x18001aee9\nmov     [rbx], rax                                                     ; +0x10f, 0x18001aeef\nlea     rdx, [rdi+1C8h]                                                ; +0x112, 0x18001aef2\nmov     rcx, rbx                                                       ; +0x119, 0x18001aef9\ncall    sub_18001DA70                                                  ; +0x11c, 0x18001aefc\nnop                                                                    ; +0x121, 0x18001af01\nmov     rax, rsi                                                       ; +0x122, 0x18001af02\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x125, 0x18001af05\nmov     rsi, [rsp+38h+arg_18]                                          ; +0x12a, 0x18001af0a\nadd     rsp, 30h                                                       ; +0x12f, 0x18001af0f\npop     rdi                                                            ; +0x133, 0x18001af13\nretn                                                                   ; +0x134, 0x18001af14", "xrefs": ["cocos2d::extension::CCControlButton::CCControlButton @ 0x18001b055", "cocos2d::extension::CCControlHuePicker::CCControlHuePicker @ 0x18001b335", "cocos2d::extension::CCControlSaturationBrightnessPicker::CCControlSaturationBrightnessPicker @ 0x18001b4b5", "cocos2d::extension::CCControlColourPicker::CCControlColourPicker @ 0x18001b6b0", "cocos2d::extension::CCControlPotentiometer::CCControlPotentiometer @ 0x18001b8a5", "cocos2d::extension::CCControlSlider::CCControlSlider @ 0x18001ba60", "cocos2d::extension::CCControlStepper::CCControlStepper @ 0x18001bbe0", "cocos2d::extension::CCControlSwitch::CCControlSwitch @ 0x18001be10", "<???> @ 0x180032408", "<???> @ 0x18004ccf8"], "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"}