{"type": "func", "start": 6442561600, "end": 6442561976, "name": "cocos2d::extension::CCControlButton::CCControlButton", "pseudocode": "// \n// cocos2d::extension::CCControlButton::CCControlButton from 0x18001b040 to 0x18001b1b8 (376 bytes)\n// \n// 3 xrefs:\n// > cocos2d::extension::CCEditBox::CCEditBox @ 0x18001c99a\n// > <???> @ 0x180032408\n// > <???> @ 0x18004cd10\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=1\ncocos2d::extension::CCControlButton *__fastcall cocos2d::extension::CCControlButton::CCControlButton(\n        cocos2d::extension::CCControlButton *this,\n        const struct cocos2d::extension::CCControlButton *a2)\n{\n  cocos2d::extension::CCControl::CCControl(this, a2);\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) = *((_QWORD *)a2 + 59);\n  *((_WORD *)this + 240) = *((_WORD *)a2 + 240);\n  *((_BYTE *)this + 482) = *((_BYTE *)a2 + 482);\n  *((_BYTE *)this + 483) = *((_BYTE *)a2 + 483);\n  *((_QWORD *)this + 61) = *((_QWORD *)a2 + 61);\n  *((_QWORD *)this + 62) = *((_QWORD *)a2 + 62);\n  cocos2d::CCSize::CCSize(\n    (cocos2d::extension::CCControlButton *)((char *)this + 504),\n    (const struct cocos2d::extension::CCControlButton *)((char *)a2 + 504));\n  *((_BYTE *)this + 512) = *((_BYTE *)a2 + 512);\n  cocos2d::CCPoint::CCPoint(\n    (cocos2d::extension::CCControlButton *)((char *)this + 516),\n    (const struct cocos2d::extension::CCControlButton *)((char *)a2 + 516));\n  *((_BYTE *)this + 524) = *((_BYTE *)a2 + 524);\n  *((_BYTE *)this + 525) = *((_BYTE *)a2 + 525);\n  *((_QWORD *)this + 66) = *((_QWORD *)a2 + 66);\n  *((_QWORD *)this + 67) = *((_QWORD *)a2 + 67);\n  *((_QWORD *)this + 68) = *((_QWORD *)a2 + 68);\n  *((_QWORD *)this + 69) = *((_QWORD *)a2 + 69);\n  *((_DWORD *)this + 140) = *((_DWORD *)a2 + 140);\n  *((_DWORD *)this + 141) = *((_DWORD *)a2 + 141);\n  return this;\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::CCControlButton from 0x18001b040 to 0x18001b1b8 (376 bytes)\n; \n; 3 xrefs:\n; > cocos2d::extension::CCEditBox::CCEditBox @ 0x18001c99a\n; > <???> @ 0x180032408\n; > <???> @ 0x18004cd10\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_8], rbx                                               ; +0x0, 0x18001b040\nmov     [rsp+arg_0], rcx                                               ; +0x5, 0x18001b045\npush    rdi                                                            ; +0xa, 0x18001b04a\nsub     rsp, 20h                                                       ; +0xb, 0x18001b04b\nmov     rbx, rdx                                                       ; +0xf, 0x18001b04f\nmov     rdi, rcx                                                       ; +0x12, 0x18001b052\ncall    ??0CCControl@extension@cocos2d@@QEAA@AEBV012@@Z; cocos2d::extension::CCControl::CCControl(cocos2d::extension::CCControl const &) ; +0x15, 0x18001b055\nnop                                                                    ; +0x1a, 0x18001b05a\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCNode'} ; +0x1b, 0x18001b05b\nmov     [rdi], rax                                                     ; +0x22, 0x18001b062\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x25, 0x18001b065\nmov     [rdi+140h], rax                                                ; +0x2c, 0x18001b06c\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x33, 0x18001b073\nmov     [rdi+148h], rax                                                ; +0x3a, 0x18001b07a\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x41, 0x18001b081\nmov     [rdi+150h], rax                                                ; +0x48, 0x18001b088\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x4f, 0x18001b08f\nmov     [rdi+158h], rax                                                ; +0x56, 0x18001b096\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x5d, 0x18001b09d\nmov     [rdi+160h], rax                                                ; +0x64, 0x18001b0a4\nlea     rax, ??_7CCControlButton@extension@cocos2d@@6B@; const cocos2d::extension::CCControlButton::`vftable' ; +0x6b, 0x18001b0ab\nmov     [rdi+198h], rax                                                ; +0x72, 0x18001b0b2\nmov     rax, [rbx+1D8h]                                                ; +0x79, 0x18001b0b9\nmov     [rdi+1D8h], rax                                                ; +0x80, 0x18001b0c0\nmovzx   eax, word ptr [rbx+1E0h]                                       ; +0x87, 0x18001b0c7\nmov     [rdi+1E0h], ax                                                 ; +0x8e, 0x18001b0ce\nmovzx   eax, byte ptr [rbx+1E2h]                                       ; +0x95, 0x18001b0d5\nmov     [rdi+1E2h], al                                                 ; +0x9c, 0x18001b0dc\nmovzx   eax, byte ptr [rbx+1E3h]                                       ; +0xa2, 0x18001b0e2\nmov     [rdi+1E3h], al                                                 ; +0xa9, 0x18001b0e9\nmov     rax, [rbx+1E8h]                                                ; +0xaf, 0x18001b0ef\nmov     [rdi+1E8h], rax                                                ; +0xb6, 0x18001b0f6\nmov     rax, [rbx+1F0h]                                                ; +0xbd, 0x18001b0fd\nmov     [rdi+1F0h], rax                                                ; +0xc4, 0x18001b104\nlea     rdx, [rbx+1F8h]                                                ; +0xcb, 0x18001b10b\nlea     rcx, [rdi+1F8h]                                                ; +0xd2, 0x18001b112\ncall    cs:??0CCSize@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCSize::CCSize(cocos2d::CCSize const &) ; +0xd9, 0x18001b119\nmovzx   eax, byte ptr [rbx+200h]                                       ; +0xdf, 0x18001b11f\nmov     [rdi+200h], al                                                 ; +0xe6, 0x18001b126\nlea     rdx, [rbx+204h]                                                ; +0xec, 0x18001b12c\nlea     rcx, [rdi+204h]                                                ; +0xf3, 0x18001b133\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xfa, 0x18001b13a\nmovzx   eax, byte ptr [rbx+20Ch]                                       ; +0x100, 0x18001b140\nmov     [rdi+20Ch], al                                                 ; +0x107, 0x18001b147\nmovzx   eax, byte ptr [rbx+20Dh]                                       ; +0x10d, 0x18001b14d\nmov     [rdi+20Dh], al                                                 ; +0x114, 0x18001b154\nmov     rax, [rbx+210h]                                                ; +0x11a, 0x18001b15a\nmov     [rdi+210h], rax                                                ; +0x121, 0x18001b161\nmov     rax, [rbx+218h]                                                ; +0x128, 0x18001b168\nmov     [rdi+218h], rax                                                ; +0x12f, 0x18001b16f\nmov     rax, [rbx+220h]                                                ; +0x136, 0x18001b176\nmov     [rdi+220h], rax                                                ; +0x13d, 0x18001b17d\nmov     rax, [rbx+228h]                                                ; +0x144, 0x18001b184\nmov     [rdi+228h], rax                                                ; +0x14b, 0x18001b18b\nmov     eax, [rbx+230h]                                                ; +0x152, 0x18001b192\nmov     [rdi+230h], eax                                                ; +0x158, 0x18001b198\nmov     eax, [rbx+234h]                                                ; +0x15e, 0x18001b19e\nmov     [rdi+234h], eax                                                ; +0x164, 0x18001b1a4\nmov     rax, rdi                                                       ; +0x16a, 0x18001b1aa\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x16d, 0x18001b1ad\nadd     rsp, 20h                                                       ; +0x172, 0x18001b1b2\npop     rdi                                                            ; +0x176, 0x18001b1b6\nretn                                                                   ; +0x177, 0x18001b1b7", "xrefs": ["cocos2d::extension::CCEditBox::CCEditBox @ 0x18001c99a", "<???> @ 0x180032408", "<???> @ 0x18004cd10"], "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"}