{"type": "func", "start": 6442568064, "end": 6442568501, "name": "cocos2d::extension::CCEditBox::CCEditBox", "pseudocode": "// \n// cocos2d::extension::CCEditBox::CCEditBox from 0x18001c980 to 0x18001cb35 (437 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004ce9c\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=5\ncocos2d::extension::CCEditBox *__fastcall cocos2d::extension::CCEditBox::CCEditBox(\n        cocos2d::extension::CCEditBox *this,\n        const struct cocos2d::extension::CCEditBox *a2)\n{\n  cocos2d::extension::CCControlButton::CCControlButton(this, a2);\n  cocos2d::CCIMEDelegate::CCIMEDelegate(\n    (cocos2d::extension::CCEditBox *)((char *)this + 568),\n    (const struct cocos2d::extension::CCEditBox *)((char *)a2 + 568));\n  *(_QWORD *)this = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCTouchDelegate'};\n  *((_QWORD *)this + 41) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCAccelerometerDelegate'};\n  *((_QWORD *)this + 42) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeypadDelegate'};\n  *((_QWORD *)this + 43) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeyboardDelegate'};\n  *((_QWORD *)this + 44) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCMouseDelegate'};\n  *((_QWORD *)this + 51) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::extension::CCControlButton'};\n  *((_QWORD *)this + 71) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCIMEDelegate'};\n  *((_QWORD *)this + 72) = *((_QWORD *)a2 + 72);\n  *((_QWORD *)this + 73) = *((_QWORD *)a2 + 73);\n  *((_DWORD *)this + 148) = *((_DWORD *)a2 + 148);\n  *((_DWORD *)this + 149) = *((_DWORD *)a2 + 149);\n  *((_DWORD *)this + 150) = *((_DWORD *)a2 + 150);\n  sub_1800039B0((__int64)this + 608, (__int64)a2 + 608);\n  sub_1800039B0((__int64)this + 640, (__int64)a2 + 640);\n  sub_1800039B0((__int64)this + 672, (__int64)a2 + 672);\n  sub_1800039B0((__int64)this + 704, (__int64)a2 + 704);\n  *((_DWORD *)this + 184) = *((_DWORD *)a2 + 184);\n  *((_DWORD *)this + 185) = *((_DWORD *)a2 + 185);\n  *((_WORD *)this + 372) = *((_WORD *)a2 + 372);\n  *((_BYTE *)this + 746) = *((_BYTE *)a2 + 746);\n  *(_WORD *)((char *)this + 747) = *(_WORD *)((char *)a2 + 747);\n  *((_BYTE *)this + 749) = *((_BYTE *)a2 + 749);\n  *((_DWORD *)this + 188) = *((_DWORD *)a2 + 188);\n  *((_DWORD *)this + 189) = *((_DWORD *)a2 + 189);\n  *((_DWORD *)this + 190) = *((_DWORD *)a2 + 190);\n  return this;\n}", "assembly": "; \n; cocos2d::extension::CCEditBox::CCEditBox from 0x18001c980 to 0x18001cb35 (437 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004ce9c\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, 0x18001c980\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x18001c985\nmov     [rsp+arg_0], rcx                                               ; +0xa, 0x18001c98a\npush    rdi                                                            ; +0xf, 0x18001c98f\nsub     rsp, 20h                                                       ; +0x10, 0x18001c990\nmov     rdi, rdx                                                       ; +0x14, 0x18001c994\nmov     rsi, rcx                                                       ; +0x17, 0x18001c997\ncall    ??0CCControlButton@extension@cocos2d@@QEAA@AEBV012@@Z; cocos2d::extension::CCControlButton::CCControlButton(cocos2d::extension::CCControlButton const &) ; +0x1a, 0x18001c99a\nnop                                                                    ; +0x1f, 0x18001c99f\nlea     rdx, [rdi+238h]                                                ; +0x20, 0x18001c9a0\nlea     rcx, [rsi+238h]                                                ; +0x27, 0x18001c9a7\ncall    cs:??0CCIMEDelegate@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCIMEDelegate::CCIMEDelegate(cocos2d::CCIMEDelegate const &) ; +0x2e, 0x18001c9ae\nnop                                                                    ; +0x34, 0x18001c9b4\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCNode'} ; +0x35, 0x18001c9b5\nmov     [rsi], rax                                                     ; +0x3c, 0x18001c9bc\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x3f, 0x18001c9bf\nmov     [rsi+140h], rax                                                ; +0x46, 0x18001c9c6\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x4d, 0x18001c9cd\nmov     [rsi+148h], rax                                                ; +0x54, 0x18001c9d4\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x5b, 0x18001c9db\nmov     [rsi+150h], rax                                                ; +0x62, 0x18001c9e2\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x69, 0x18001c9e9\nmov     [rsi+158h], rax                                                ; +0x70, 0x18001c9f0\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x77, 0x18001c9f7\nmov     [rsi+160h], rax                                                ; +0x7e, 0x18001c9fe\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCControlButton@12@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::extension::CCControlButton'} ; +0x85, 0x18001ca05\nmov     [rsi+198h], rax                                                ; +0x8c, 0x18001ca0c\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCIMEDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCIMEDelegate'} ; +0x93, 0x18001ca13\nmov     [rsi+238h], rax                                                ; +0x9a, 0x18001ca1a\nmov     rax, [rdi+240h]                                                ; +0xa1, 0x18001ca21\nmov     [rsi+240h], rax                                                ; +0xa8, 0x18001ca28\nmov     rax, [rdi+248h]                                                ; +0xaf, 0x18001ca2f\nmov     [rsi+248h], rax                                                ; +0xb6, 0x18001ca36\nmov     eax, [rdi+250h]                                                ; +0xbd, 0x18001ca3d\nmov     [rsi+250h], eax                                                ; +0xc3, 0x18001ca43\nmov     eax, [rdi+254h]                                                ; +0xc9, 0x18001ca49\nmov     [rsi+254h], eax                                                ; +0xcf, 0x18001ca4f\nmov     eax, [rdi+258h]                                                ; +0xd5, 0x18001ca55\nmov     [rsi+258h], eax                                                ; +0xdb, 0x18001ca5b\nlea     rdx, [rdi+260h]                                                ; +0xe1, 0x18001ca61\nlea     rcx, [rsi+260h]                                                ; +0xe8, 0x18001ca68\ncall    sub_1800039B0                                                  ; +0xef, 0x18001ca6f\nnop                                                                    ; +0xf4, 0x18001ca74\nlea     rdx, [rdi+280h]                                                ; +0xf5, 0x18001ca75\nlea     rcx, [rsi+280h]                                                ; +0xfc, 0x18001ca7c\ncall    sub_1800039B0                                                  ; +0x103, 0x18001ca83\nnop                                                                    ; +0x108, 0x18001ca88\nlea     rdx, [rdi+2A0h]                                                ; +0x109, 0x18001ca89\nlea     rcx, [rsi+2A0h]                                                ; +0x110, 0x18001ca90\ncall    sub_1800039B0                                                  ; +0x117, 0x18001ca97\nnop                                                                    ; +0x11c, 0x18001ca9c\nlea     rdx, [rdi+2C0h]                                                ; +0x11d, 0x18001ca9d\nlea     rcx, [rsi+2C0h]                                                ; +0x124, 0x18001caa4\ncall    sub_1800039B0                                                  ; +0x12b, 0x18001caab\nmov     eax, [rdi+2E0h]                                                ; +0x130, 0x18001cab0\nmov     [rsi+2E0h], eax                                                ; +0x136, 0x18001cab6\nmov     eax, [rdi+2E4h]                                                ; +0x13c, 0x18001cabc\nmov     [rsi+2E4h], eax                                                ; +0x142, 0x18001cac2\nmovzx   eax, word ptr [rdi+2E8h]                                       ; +0x148, 0x18001cac8\nmov     [rsi+2E8h], ax                                                 ; +0x14f, 0x18001cacf\nmovzx   eax, byte ptr [rdi+2EAh]                                       ; +0x156, 0x18001cad6\nmov     [rsi+2EAh], al                                                 ; +0x15d, 0x18001cadd\nmovzx   eax, word ptr [rdi+2EBh]                                       ; +0x163, 0x18001cae3\nmov     [rsi+2EBh], ax                                                 ; +0x16a, 0x18001caea\nmovzx   eax, byte ptr [rdi+2EDh]                                       ; +0x171, 0x18001caf1\nmov     [rsi+2EDh], al                                                 ; +0x178, 0x18001caf8\nmov     eax, [rdi+2F0h]                                                ; +0x17e, 0x18001cafe\nmov     [rsi+2F0h], eax                                                ; +0x184, 0x18001cb04\nmov     eax, [rdi+2F4h]                                                ; +0x18a, 0x18001cb0a\nmov     [rsi+2F4h], eax                                                ; +0x190, 0x18001cb10\nmov     eax, [rdi+2F8h]                                                ; +0x196, 0x18001cb16\nmov     [rsi+2F8h], eax                                                ; +0x19c, 0x18001cb1c\nmov     rax, rsi                                                       ; +0x1a2, 0x18001cb22\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x1a5, 0x18001cb25\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x1aa, 0x18001cb2a\nadd     rsp, 20h                                                       ; +0x1af, 0x18001cb2f\npop     rdi                                                            ; +0x1b3, 0x18001cb33\nretn                                                                   ; +0x1b4, 0x18001cb34", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004ce9c"], "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"}