{"type": "func", "start": 6442827152, "end": 6442827206, "name": "cocos2d::CCMenuItem::unregisterScriptTapHandler", "pseudocode": "// \n// cocos2d::CCMenuItem::unregisterScriptTapHandler from 0x18005bd90 to 0x18005bdc6 (54 bytes)\n// \n// 9 xrefs:\n// > <???> @ 0x1800f75e8\n// > <???> @ 0x1800f7a10\n// > <???> @ 0x1800f7e58\n// > <???> @ 0x1800f82a0\n// > <???> @ 0x1800f86e8\n// > <???> @ 0x1800f8b48\n// > <???> @ 0x1800f8fa8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2f94\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::unregisterScriptTapHandler(cocos2d::CCMenuItem *this)\n{\n  struct cocos2d::CCScriptEngineManager *v2; // rax\n\n  if ( LODWORD(this->m_pfnSelector.adj) )\n  {\n    v2 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 24LL))(*(_QWORD *)v2, LODWORD(this->m_pfnSelector.adj));\n    LODWORD(this->m_pfnSelector.adj) = 0;\n  }\n}", "assembly": "; \n; cocos2d::CCMenuItem::unregisterScriptTapHandler from 0x18005bd90 to 0x18005bdc6 (54 bytes)\n; \n; 9 xrefs:\n; > <???> @ 0x1800f75e8\n; > <???> @ 0x1800f7a10\n; > <???> @ 0x1800f7e58\n; > <???> @ 0x1800f82a0\n; > <???> @ 0x1800f86e8\n; > <???> @ 0x1800f8b48\n; > <???> @ 0x1800f8fa8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2f94\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\npush    rbx                                                            ; +0x0, 0x18005bd90\nsub     rsp, 20h                                                       ; +0x2, 0x18005bd92\ncmp     dword ptr [rcx+170h], 0                                        ; +0x6, 0x18005bd96\nmov     rbx, rcx                                                       ; +0xd, 0x18005bd9d\njz      short loc_18005BDC0                                            ; +0x10, 0x18005bda0\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x12, 0x18005bda2\nmov     edx, [rbx+170h]                                                ; +0x17, 0x18005bda7\nmov     rcx, [rax]                                                     ; +0x1d, 0x18005bdad\nmov     rax, [rcx]                                                     ; +0x20, 0x18005bdb0\ncall    qword ptr [rax+18h]                                            ; +0x23, 0x18005bdb3\nmov     dword ptr [rbx+170h], 0                                        ; +0x26, 0x18005bdb6\nadd     rsp, 20h                                                       ; +0x30, 0x18005bdc0\npop     rbx                                                            ; +0x34, 0x18005bdc4\nretn                                                                   ; +0x35, 0x18005bdc5", "xrefs": ["<???> @ 0x1800f75e8", "<???> @ 0x1800f7a10", "<???> @ 0x1800f7e58", "<???> @ 0x1800f82a0", "<???> @ 0x1800f86e8", "<???> @ 0x1800f8b48", "<???> @ 0x1800f8fa8", "<???> @ 0x1801438a8", "<???> @ 0x1801b2f94"], "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"}