{"type": "func", "start": 6442824752, "end": 6442824793, "name": "cocos2d::CCMenuItem::registerScriptTapHandler", "pseudocode": "// \n// cocos2d::CCMenuItem::registerScriptTapHandler from 0x18005b430 to 0x18005b459 (41 bytes)\n// \n// 9 xrefs:\n// > <???> @ 0x1800f75e0\n// > <???> @ 0x1800f7a08\n// > <???> @ 0x1800f7e50\n// > <???> @ 0x1800f8298\n// > <???> @ 0x1800f86e0\n// > <???> @ 0x1800f8b40\n// > <???> @ 0x1800f8fa0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2df0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCMenuItem::registerScriptTapHandler(cocos2d::CCMenuItem *this, int a2)\n{\n  ((void (__fastcall *)(cocos2d::CCMenuItem *))this->unregisterScriptTapHandler)(this);\n  LODWORD(this->m_pfnSelector.adj) = a2;\n}", "assembly": "; \n; cocos2d::CCMenuItem::registerScriptTapHandler from 0x18005b430 to 0x18005b459 (41 bytes)\n; \n; 9 xrefs:\n; > <???> @ 0x1800f75e0\n; > <???> @ 0x1800f7a08\n; > <???> @ 0x1800f7e50\n; > <???> @ 0x1800f8298\n; > <???> @ 0x1800f86e0\n; > <???> @ 0x1800f8b40\n; > <???> @ 0x1800f8fa0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2df0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18005b430\npush    rdi                                                            ; +0x5, 0x18005b435\nsub     rsp, 20h                                                       ; +0x6, 0x18005b436\nmov     rax, [rcx]                                                     ; +0xa, 0x18005b43a\nmov     edi, edx                                                       ; +0xd, 0x18005b43d\nmov     rbx, rcx                                                       ; +0xf, 0x18005b43f\ncall    qword ptr [rax+388h]                                           ; +0x12, 0x18005b442\nmov     [rbx+170h], edi                                                ; +0x18, 0x18005b448\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1e, 0x18005b44e\nadd     rsp, 20h                                                       ; +0x23, 0x18005b453\npop     rdi                                                            ; +0x27, 0x18005b457\nretn                                                                   ; +0x28, 0x18005b458", "xrefs": ["<???> @ 0x1800f75e0", "<???> @ 0x1800f7a08", "<???> @ 0x1800f7e50", "<???> @ 0x1800f8298", "<???> @ 0x1800f86e0", "<???> @ 0x1800f8b40", "<???> @ 0x1800f8fa0", "<???> @ 0x1801438a8", "<???> @ 0x1801b2df0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}