{"type": "func", "start": 6442519744, "end": 6442519823, "name": "cocos2d::extension::CCEditBox::registerScriptEditBoxHandler", "pseudocode": "// \n// cocos2d::extension::CCEditBox::registerScriptEditBoxHandler from 0x180010cc0 to 0x180010d0f (79 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c134\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::registerScriptEditBoxHandler(\n        cocos2d::extension::CCEditBox *this,\n        int a2)\n{\n  _QWORD *v4; // rax\n\n  if ( *((_DWORD *)this + 190) )\n  {\n    v4 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v4 + 24LL))(*v4, *((unsigned int *)this + 190));\n    *((_DWORD *)this + 190) = a2;\n  }\n  else\n  {\n    *((_DWORD *)this + 190) = a2;\n  }\n}", "assembly": "; \n; cocos2d::extension::CCEditBox::registerScriptEditBoxHandler from 0x180010cc0 to 0x180010d0f (79 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c134\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, 0x180010cc0\npush    rdi                                                            ; +0x5, 0x180010cc5\nsub     rsp, 20h                                                       ; +0x6, 0x180010cc6\ncmp     dword ptr [rcx+2F8h], 0                                        ; +0xa, 0x180010cca\nmov     edi, edx                                                       ; +0x11, 0x180010cd1\nmov     rbx, rcx                                                       ; +0x13, 0x180010cd3\njz      short loc_180010CFE                                            ; +0x16, 0x180010cd6\ncall    cs:?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x18, 0x180010cd8\nmov     edx, [rbx+2F8h]                                                ; +0x1e, 0x180010cde\nmov     rcx, [rax]                                                     ; +0x24, 0x180010ce4\nmov     rax, [rcx]                                                     ; +0x27, 0x180010ce7\ncall    qword ptr [rax+18h]                                            ; +0x2a, 0x180010cea\nmov     [rbx+2F8h], edi                                                ; +0x2d, 0x180010ced\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x33, 0x180010cf3\nadd     rsp, 20h                                                       ; +0x38, 0x180010cf8\npop     rdi                                                            ; +0x3c, 0x180010cfc\nretn                                                                   ; +0x3d, 0x180010cfd\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3e, 0x180010cfe\nmov     [rcx+2F8h], edi                                                ; +0x43, 0x180010d03\nadd     rsp, 20h                                                       ; +0x49, 0x180010d09\npop     rdi                                                            ; +0x4d, 0x180010d0d\nretn                                                                   ; +0x4e, 0x180010d0e", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004c134"], "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"}