{"type": "func", "start": 6442516960, "end": 6442517233, "name": "cocos2d::extension::CCEditBox::~CCEditBox", "pseudocode": "// \n// cocos2d::extension::CCEditBox::~CCEditBox from 0x1800101e0 to 0x1800102f1 (273 bytes)\n// \n// 4 xrefs:\n// > sub_180010D60 @ 0x180010dc2\n// > sub_180010D60 @ 0x180010d7c\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c044\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\nvoid __fastcall cocos2d::extension::CCEditBox::~CCEditBox(cocos2d::extension::CCEditBox *this)\n{\n  void (__fastcall ***v2)(_QWORD, __int64); // rcx\n  _QWORD *v3; // rax\n\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  v2 = *((void (__fastcall ****)(_QWORD, __int64))this + 72);\n  if ( v2 )\n  {\n    (**v2)(v2, 1);\n    *((_QWORD *)this + 72) = 0;\n  }\n  if ( *((_DWORD *)this + 190) )\n  {\n    v3 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v3 + 24LL))(*v3, *((unsigned int *)this + 190));\n    *((_DWORD *)this + 190) = 0;\n  }\n  sub_180003700((__int64)this + 704);\n  sub_180003700((__int64)this + 672);\n  sub_180003700((__int64)this + 640);\n  sub_180003700((__int64)this + 608);\n  cocos2d::CCIMEDelegate::~CCIMEDelegate((cocos2d::extension::CCEditBox *)((char *)this + 568));\n  cocos2d::extension::CCControlButton::~CCControlButton(this);\n}", "assembly": "; \n; cocos2d::extension::CCEditBox::~CCEditBox from 0x1800101e0 to 0x1800102f1 (273 bytes)\n; \n; 4 xrefs:\n; > sub_180010D60 @ 0x180010dc2\n; > sub_180010D60 @ 0x180010d7c\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c044\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_0], rbx                                               ; +0x0, 0x1800101e0\npush    rdi                                                            ; +0x5, 0x1800101e5\nsub     rsp, 20h                                                       ; +0x6, 0x1800101e6\nmov     rbx, rcx                                                       ; +0xa, 0x1800101ea\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCNode'} ; +0xd, 0x1800101ed\nmov     [rcx], rax                                                     ; +0x14, 0x1800101f4\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x17, 0x1800101f7\nmov     [rcx+140h], rax                                                ; +0x1e, 0x1800101fe\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x25, 0x180010205\nmov     [rcx+148h], rax                                                ; +0x2c, 0x18001020c\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x33, 0x180010213\nmov     [rcx+150h], rax                                                ; +0x3a, 0x18001021a\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x41, 0x180010221\nmov     [rcx+158h], rax                                                ; +0x48, 0x180010228\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x4f, 0x18001022f\nmov     [rcx+160h], rax                                                ; +0x56, 0x180010236\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCControlButton@12@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::extension::CCControlButton'} ; +0x5d, 0x18001023d\nmov     [rcx+198h], rax                                                ; +0x64, 0x180010244\nlea     rax, ??_7CCEditBox@extension@cocos2d@@6BCCIMEDelegate@2@@; const cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCIMEDelegate'} ; +0x6b, 0x18001024b\nmov     [rcx+238h], rax                                                ; +0x72, 0x180010252\nmov     rcx, [rcx+240h]                                                ; +0x79, 0x180010259\ntest    rcx, rcx                                                       ; +0x80, 0x180010260\njz      short loc_18001027A                                            ; +0x83, 0x180010263\nmov     rax, [rcx]                                                     ; +0x85, 0x180010265\nmov     edx, 1                                                         ; +0x88, 0x180010268\ncall    qword ptr [rax]                                                ; +0x8d, 0x18001026d\nmov     qword ptr [rbx+240h], 0                                        ; +0x8f, 0x18001026f\ncmp     dword ptr [rbx+2F8h], 0                                        ; +0x9a, 0x18001027a\njz      short loc_1800102A2                                            ; +0xa1, 0x180010281\ncall    cs:?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0xa3, 0x180010283\nmov     rcx, [rax]                                                     ; +0xa9, 0x180010289\nmov     rax, [rcx]                                                     ; +0xac, 0x18001028c\nmov     edx, [rbx+2F8h]                                                ; +0xaf, 0x18001028f\ncall    qword ptr [rax+18h]                                            ; +0xb5, 0x180010295\nmov     dword ptr [rbx+2F8h], 0                                        ; +0xb8, 0x180010298\nlea     rcx, [rbx+2C0h]                                                ; +0xc2, 0x1800102a2\ncall    sub_180003700                                                  ; +0xc9, 0x1800102a9\nlea     rcx, [rbx+2A0h]                                                ; +0xce, 0x1800102ae\ncall    sub_180003700                                                  ; +0xd5, 0x1800102b5\nlea     rcx, [rbx+280h]                                                ; +0xda, 0x1800102ba\ncall    sub_180003700                                                  ; +0xe1, 0x1800102c1\nlea     rcx, [rbx+260h]                                                ; +0xe6, 0x1800102c6\ncall    sub_180003700                                                  ; +0xed, 0x1800102cd\nlea     rcx, [rbx+238h]                                                ; +0xf2, 0x1800102d2\ncall    cs:??1CCIMEDelegate@cocos2d@@UEAA@XZ; cocos2d::CCIMEDelegate::~CCIMEDelegate(void) ; +0xf9, 0x1800102d9\nmov     rcx, rbx; this                                                 ; +0xff, 0x1800102df\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x102, 0x1800102e2\nadd     rsp, 20h                                                       ; +0x107, 0x1800102e7\npop     rdi                                                            ; +0x10b, 0x1800102eb\njmp     ??1CCControlButton@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCControlButton::~CCControlButton(void) ; +0x10c, 0x1800102ec", "xrefs": ["sub_180010D60 @ 0x180010dc2", "sub_180010D60 @ 0x180010d7c", "<???> @ 0x180032408", "<???> @ 0x18004c044"], "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"}