{"type": "func", "start": 6442835392, "end": 6442835446, "name": "cocos2d::CCMenuItem::unregisterScriptTapHandler", "pseudocode": "// \n// cocos2d::CCMenuItem::unregisterScriptTapHandler from 0x18005ddc0 to 0x18005ddf6 (54 bytes)\n// \n// 9 xrefs:\n// > <???> @ 0x1800fda60\n// > <???> @ 0x1800fde98\n// > <???> @ 0x1800fe2f0\n// > <???> @ 0x1800fe748\n// > <???> @ 0x1800feba0\n// > <???> @ 0x1800ff010\n// > <???> @ 0x1800ff480\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd24c\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 11:21:49 +0000\n// \n\nvoid __fastcall cocos2d::CCMenuItem::unregisterScriptTapHandler(cocos2d::CCMenuItem *this)\n{\n  struct cocos2d::CCScriptEngineManager *v2; // rax\n\n  if ( *((_DWORD *)this + 92) )\n  {\n    v2 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 24LL))(*(_QWORD *)v2, *((unsigned int *)this + 92));\n    *((_DWORD *)this + 92) = 0;\n  }\n}", "assembly": "; \n; cocos2d::CCMenuItem::unregisterScriptTapHandler from 0x18005ddc0 to 0x18005ddf6 (54 bytes)\n; \n; 9 xrefs:\n; > <???> @ 0x1800fda60\n; > <???> @ 0x1800fde98\n; > <???> @ 0x1800fe2f0\n; > <???> @ 0x1800fe748\n; > <???> @ 0x1800feba0\n; > <???> @ 0x1800ff010\n; > <???> @ 0x1800ff480\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd24c\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 11:21:49 +0000\n; \npush    rbx                                                            ; +0x0, 0x18005ddc0\nsub     rsp, 20h                                                       ; +0x2, 0x18005ddc2\ncmp     dword ptr [rcx+170h], 0                                        ; +0x6, 0x18005ddc6\nmov     rbx, rcx                                                       ; +0xd, 0x18005ddcd\njz      short loc_18005DDF0                                            ; +0x10, 0x18005ddd0\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x12, 0x18005ddd2\nmov     edx, [rbx+170h]                                                ; +0x17, 0x18005ddd7\nmov     rcx, [rax]                                                     ; +0x1d, 0x18005dddd\nmov     rax, [rcx]                                                     ; +0x20, 0x18005dde0\ncall    qword ptr [rax+18h]                                            ; +0x23, 0x18005dde3\nmov     dword ptr [rbx+170h], 0                                        ; +0x26, 0x18005dde6\nadd     rsp, 20h                                                       ; +0x30, 0x18005ddf0\npop     rbx                                                            ; +0x34, 0x18005ddf4\nretn                                                                   ; +0x35, 0x18005ddf5", "xrefs": ["<???> @ 0x1800fda60", "<???> @ 0x1800fde98", "<???> @ 0x1800fe2f0", "<???> @ 0x1800fe748", "<???> @ 0x1800feba0", "<???> @ 0x1800ff010", "<???> @ 0x1800ff480", "<???> @ 0x18014cf68", "<???> @ 0x1801bd24c"], "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"}