{"type": "func", "start": 6442471824, "end": 6442472101, "name": "cocos2d::extension::CCControlButton::CCControlButton", "pseudocode": "// \n// cocos2d::extension::CCControlButton::CCControlButton from 0x180005190 to 0x1800052a5 (277 bytes)\n// \n// 7 xrefs:\n// > cocos2d::extension::CCControlButton::create @ 0x180005887\n// > cocos2d::extension::CCControlButton::create @ 0x1800059cc\n// > cocos2d::extension::CCControlButton::create @ 0x180005a9f\n// > cocos2d::extension::CCControlButton::create @ 0x180007238\n// > cocos2d::extension::CCEditBox::CCEditBox @ 0x180010052\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b474\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:35 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::extension::CCControlButton *__fastcall cocos2d::extension::CCControlButton::CCControlButton(\n        cocos2d::extension::CCControlButton *this)\n{\n  cocos2d::extension::CCControl::CCControl(this);\n  *(_QWORD *)this = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCTouchDelegate'};\n  *((_QWORD *)this + 41) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCAccelerometerDelegate'};\n  *((_QWORD *)this + 42) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeypadDelegate'};\n  *((_QWORD *)this + 43) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeyboardDelegate'};\n  *((_QWORD *)this + 44) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCMouseDelegate'};\n  *((_QWORD *)this + 51) = &cocos2d::extension::CCControlButton::`vftable';\n  *((_QWORD *)this + 59) = 0;\n  *((_WORD *)this + 240) = -1;\n  *((_BYTE *)this + 482) = -1;\n  *((_BYTE *)this + 483) = 0;\n  *((_QWORD *)this + 61) = 0;\n  *((_QWORD *)this + 62) = 0;\n  cocos2d::CCSize::CCSize((cocos2d::extension::CCControlButton *)((char *)this + 504));\n  *((_BYTE *)this + 512) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::extension::CCControlButton *)((char *)this + 516));\n  *((_WORD *)this + 262) = 0;\n  *((_QWORD *)this + 66) = 0;\n  *((_QWORD *)this + 67) = 0;\n  *((_QWORD *)this + 68) = 0;\n  *((_QWORD *)this + 69) = 0;\n  *((_DWORD *)this + 140) = 2;\n  *((_DWORD *)this + 141) = 8;\n  return this;\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::CCControlButton from 0x180005190 to 0x1800052a5 (277 bytes)\n; \n; 7 xrefs:\n; > cocos2d::extension::CCControlButton::create @ 0x180005887\n; > cocos2d::extension::CCControlButton::create @ 0x1800059cc\n; > cocos2d::extension::CCControlButton::create @ 0x180005a9f\n; > cocos2d::extension::CCControlButton::create @ 0x180007238\n; > cocos2d::extension::CCEditBox::CCEditBox @ 0x180010052\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b474\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:35 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180005190\nmov     [rsp+arg_0], rcx                                               ; +0x5, 0x180005195\npush    rdi                                                            ; +0xa, 0x18000519a\nsub     rsp, 20h                                                       ; +0xb, 0x18000519b\nmov     rbx, rcx                                                       ; +0xf, 0x18000519f\ncall    ??0CCControl@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControl::CCControl(void) ; +0x12, 0x1800051a2\nnop                                                                    ; +0x17, 0x1800051a7\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCNode'} ; +0x18, 0x1800051a8\nmov     [rbx], rax                                                     ; +0x1f, 0x1800051af\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x22, 0x1800051b2\nmov     [rbx+140h], rax                                                ; +0x29, 0x1800051b9\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x30, 0x1800051c0\nmov     [rbx+148h], rax                                                ; +0x37, 0x1800051c7\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x3e, 0x1800051ce\nmov     [rbx+150h], rax                                                ; +0x45, 0x1800051d5\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x4c, 0x1800051dc\nmov     [rbx+158h], rax                                                ; +0x53, 0x1800051e3\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x5a, 0x1800051ea\nmov     [rbx+160h], rax                                                ; +0x61, 0x1800051f1\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6B@; const cocos2d::extension::CCControlButton::`vftable' ; +0x68, 0x1800051f8\nmov     [rbx+198h], rax                                                ; +0x6f, 0x1800051ff\nxor     edi, edi                                                       ; +0x76, 0x180005206\nmov     [rbx+1D8h], rdi                                                ; +0x78, 0x180005208\nmovzx   eax, cs:word_180025A0C                                         ; +0x7f, 0x18000520f\nmov     [rbx+1E0h], ax                                                 ; +0x86, 0x180005216\nmovzx   eax, cs:byte_180025A0E                                         ; +0x8d, 0x18000521d\nmov     [rbx+1E2h], al                                                 ; +0x94, 0x180005224\nmov     [rbx+1E3h], dil                                                ; +0x9a, 0x18000522a\nmov     [rbx+1E8h], rdi                                                ; +0xa1, 0x180005231\nmov     [rbx+1F0h], rdi                                                ; +0xa8, 0x180005238\nlea     rcx, [rbx+1F8h]                                                ; +0xaf, 0x18000523f\ncall    cs:??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)   ; +0xb6, 0x180005246\nmov     [rbx+200h], dil                                                ; +0xbc, 0x18000524c\nlea     rcx, [rbx+204h]                                                ; +0xc3, 0x180005253\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0xca, 0x18000525a\nmov     [rbx+20Ch], di                                                 ; +0xd0, 0x180005260\nmov     [rbx+210h], rdi                                                ; +0xd7, 0x180005267\nmov     [rbx+218h], rdi                                                ; +0xde, 0x18000526e\nmov     [rbx+220h], rdi                                                ; +0xe5, 0x180005275\nmov     [rbx+228h], rdi                                                ; +0xec, 0x18000527c\nmov     dword ptr [rbx+230h], 2                                        ; +0xf3, 0x180005283\nmov     dword ptr [rbx+234h], 8                                        ; +0xfd, 0x18000528d\nmov     rax, rbx                                                       ; +0x107, 0x180005297\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x10a, 0x18000529a\nadd     rsp, 20h                                                       ; +0x10f, 0x18000529f\npop     rdi                                                            ; +0x113, 0x1800052a3\nretn                                                                   ; +0x114, 0x1800052a4", "xrefs": ["cocos2d::extension::CCControlButton::create @ 0x180005887", "cocos2d::extension::CCControlButton::create @ 0x1800059cc", "cocos2d::extension::CCControlButton::create @ 0x180005a9f", "cocos2d::extension::CCControlButton::create @ 0x180007238", "cocos2d::extension::CCEditBox::CCEditBox @ 0x180010052", "<???> @ 0x180032408", "<???> @ 0x18004b474"], "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"}