{"type": "func", "start": 6442516544, "end": 6442516945, "name": "cocos2d::extension::CCEditBox::CCEditBox", "pseudocode": "// \n// cocos2d::extension::CCEditBox::CCEditBox from 0x180010040 to 0x1800101d1 (401 bytes)\n// \n// 3 xrefs:\n// > cocos2d::extension::CCEditBox::create @ 0x180010358\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c038\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:39 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::extension::CCEditBox *__fastcall cocos2d::extension::CCEditBox::CCEditBox(cocos2d::extension::CCEditBox *this)\n{\n  cocos2d::extension::CCControlButton::CCControlButton(this);\n  cocos2d::CCIMEDelegate::CCIMEDelegate((cocos2d::extension::CCEditBox *)((char *)this + 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) = 0;\n  *((_QWORD *)this + 73) = 0;\n  *((_DWORD *)this + 148) = 6;\n  *(_QWORD *)((char *)this + 596) = 4;\n  *((_OWORD *)this + 38) = 0;\n  *((_QWORD *)this + 78) = 0;\n  *((_QWORD *)this + 79) = 15;\n  *((_BYTE *)this + 608) = 0;\n  *((_OWORD *)this + 40) = 0;\n  *((_QWORD *)this + 82) = 0;\n  *((_QWORD *)this + 83) = 15;\n  *((_BYTE *)this + 640) = 0;\n  *((_OWORD *)this + 42) = 0;\n  *((_QWORD *)this + 86) = 0;\n  *((_QWORD *)this + 87) = 15;\n  *((_BYTE *)this + 672) = 0;\n  *((_OWORD *)this + 44) = 0;\n  *((_QWORD *)this + 90) = 0;\n  *((_QWORD *)this + 91) = 15;\n  *((_BYTE *)this + 704) = 0;\n  *((_QWORD *)this + 92) = -1;\n  *((_WORD *)this + 372) = -1;\n  *((_BYTE *)this + 746) = -1;\n  *(_WORD *)((char *)this + 747) = -22874;\n  *((_BYTE *)this + 749) = -90;\n  *((_QWORD *)this + 94) = 0;\n  *((_DWORD *)this + 190) = 0;\n  return this;\n}", "assembly": "; \n; cocos2d::extension::CCEditBox::CCEditBox from 0x180010040 to 0x1800101d1 (401 bytes)\n; \n; 3 xrefs:\n; > cocos2d::extension::CCEditBox::create @ 0x180010358\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c038\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:39 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180010040\nmov     [rsp+arg_0], rcx                                               ; +0x5, 0x180010045\npush    rdi                                                            ; +0xa, 0x18001004a\nsub     rsp, 20h                                                       ; +0xb, 0x18001004b\nmov     rdi, rcx                                                       ; +0xf, 0x18001004f\ncall    ??0CCControlButton@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControlButton::CCControlButton(void) ; +0x12, 0x180010052\nnop                                                                    ; +0x17, 0x180010057\nlea     rcx, [rdi+238h]                                                ; +0x18, 0x180010058\ncall    cs:??0CCIMEDelegate@cocos2d@@IEAA@XZ; cocos2d::CCIMEDelegate::CCIMEDelegate(void) ; +0x1f, 0x18001005f\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCNode'} ; +0x25, 0x180010065\nmov     [rdi], rax                                                     ; +0x2c, 0x18001006c\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x2f, 0x18001006f\nmov     [rdi+140h], rax                                                ; +0x36, 0x180010076\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x3d, 0x18001007d\nmov     [rdi+148h], rax                                                ; +0x44, 0x180010084\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x4b, 0x18001008b\nmov     [rdi+150h], rax                                                ; +0x52, 0x180010092\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x59, 0x180010099\nmov     [rdi+158h], rax                                                ; +0x60, 0x1800100a0\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x67, 0x1800100a7\nmov     [rdi+160h], rax                                                ; +0x6e, 0x1800100ae\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCControlButton@12@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::extension::CCControlButton'} ; +0x75, 0x1800100b5\nmov     [rdi+198h], rax                                                ; +0x7c, 0x1800100bc\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCIMEDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCIMEDelegate'} ; +0x83, 0x1800100c3\nmov     [rdi+238h], rax                                                ; +0x8a, 0x1800100ca\nxor     ecx, ecx                                                       ; +0x91, 0x1800100d1\nmov     [rdi+240h], rcx                                                ; +0x93, 0x1800100d3\nmov     [rdi+248h], rcx                                                ; +0x9a, 0x1800100da\nmov     dword ptr [rdi+250h], 6                                        ; +0xa1, 0x1800100e1\nmov     qword ptr [rdi+254h], 4                                        ; +0xab, 0x1800100eb\nxorps   xmm0, xmm0                                                     ; +0xb6, 0x1800100f6\nmovups  xmmword ptr [rdi+260h], xmm0                                   ; +0xb9, 0x1800100f9\nmov     [rdi+270h], rcx                                                ; +0xc0, 0x180010100\nmov     qword ptr [rdi+278h], 0Fh                                      ; +0xc7, 0x180010107\nmov     [rdi+260h], cl                                                 ; +0xd2, 0x180010112\nmovups  xmmword ptr [rdi+280h], xmm0                                   ; +0xd8, 0x180010118\nmov     [rdi+290h], rcx                                                ; +0xdf, 0x18001011f\nmov     qword ptr [rdi+298h], 0Fh                                      ; +0xe6, 0x180010126\nmov     [rdi+280h], cl                                                 ; +0xf1, 0x180010131\nmovups  xmmword ptr [rdi+2A0h], xmm0                                   ; +0xf7, 0x180010137\nmov     [rdi+2B0h], rcx                                                ; +0xfe, 0x18001013e\nmov     qword ptr [rdi+2B8h], 0Fh                                      ; +0x105, 0x180010145\nmov     [rdi+2A0h], cl                                                 ; +0x110, 0x180010150\nmovups  xmmword ptr [rdi+2C0h], xmm0                                   ; +0x116, 0x180010156\nmov     [rdi+2D0h], rcx                                                ; +0x11d, 0x18001015d\nmov     qword ptr [rdi+2D8h], 0Fh                                      ; +0x124, 0x180010164\nmov     [rdi+2C0h], cl                                                 ; +0x12f, 0x18001016f\nmov     qword ptr [rdi+2E0h], 0FFFFFFFFFFFFFFFFh                       ; +0x135, 0x180010175\nmovzx   eax, cs:word_180025A38                                         ; +0x140, 0x180010180\nmov     [rdi+2E8h], ax                                                 ; +0x147, 0x180010187\nmovzx   eax, cs:byte_180025A3A                                         ; +0x14e, 0x18001018e\nmov     [rdi+2EAh], al                                                 ; +0x155, 0x180010195\nmovzx   eax, cs:word_180025A34                                         ; +0x15b, 0x18001019b\nmov     [rdi+2EBh], ax                                                 ; +0x162, 0x1800101a2\nmovzx   eax, cs:byte_180025A36                                         ; +0x169, 0x1800101a9\nmov     [rdi+2EDh], al                                                 ; +0x170, 0x1800101b0\nmov     [rdi+2F0h], rcx                                                ; +0x176, 0x1800101b6\nmov     [rdi+2F8h], ecx                                                ; +0x17d, 0x1800101bd\nmov     rax, rdi                                                       ; +0x183, 0x1800101c3\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x186, 0x1800101c6\nadd     rsp, 20h                                                       ; +0x18b, 0x1800101cb\npop     rdi                                                            ; +0x18f, 0x1800101cf\nretn                                                                   ; +0x190, 0x1800101d0", "xrefs": ["cocos2d::extension::CCEditBox::create @ 0x180010358", "<???> @ 0x180032408", "<???> @ 0x18004c038"], "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"}