{"type": "func", "start": 6442826912, "end": 6442826997, "name": "cocos2d::CCMenuItem::~CCMenuItem", "pseudocode": "// \n// cocos2d::CCMenuItem::~CCMenuItem from 0x18005bca0 to 0x18005bcf5 (85 bytes)\n// \n// 3 xrefs:\n// > sub_18005BE70 @ 0x18005be89\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bce8c\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::~CCMenuItem(cocos2d::CCMenuItem *this)\n{\n  struct cocos2d::CCScriptEngineManager *v2; // rax\n\n  *(_QWORD *)this = &cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'};\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  cocos2d::CCNodeRGBA::~CCNodeRGBA(this);\n}", "assembly": "; \n; cocos2d::CCMenuItem::~CCMenuItem from 0x18005bca0 to 0x18005bcf5 (85 bytes)\n; \n; 3 xrefs:\n; > sub_18005BE70 @ 0x18005be89\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bce8c\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, 0x18005bca0\nsub     rsp, 20h                                                       ; +0x2, 0x18005bca2\nmov     rbx, rcx                                                       ; +0x6, 0x18005bca6\nlea     rax, ??_7CCMenuItem@cocos2d@@6BCCNode@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'} ; +0x9, 0x18005bca9\nmov     [rcx], rax                                                     ; +0x10, 0x18005bcb0\nlea     rax, ??_7CCMenuItem@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x13, 0x18005bcb3\nmov     [rcx+140h], rax                                                ; +0x1a, 0x18005bcba\ncmp     dword ptr [rcx+170h], 0                                        ; +0x21, 0x18005bcc1\njz      short loc_18005BCE8                                            ; +0x28, 0x18005bcc8\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x2a, 0x18005bcca\nmov     rcx, [rax]                                                     ; +0x2f, 0x18005bccf\nmov     rax, [rcx]                                                     ; +0x32, 0x18005bcd2\nmov     edx, [rbx+170h]                                                ; +0x35, 0x18005bcd5\ncall    qword ptr [rax+18h]                                            ; +0x3b, 0x18005bcdb\nmov     dword ptr [rbx+170h], 0                                        ; +0x3e, 0x18005bcde\nmov     rcx, rbx; this                                                 ; +0x48, 0x18005bce8\nadd     rsp, 20h                                                       ; +0x4b, 0x18005bceb\npop     rbx                                                            ; +0x4f, 0x18005bcef\njmp     ??1CCNodeRGBA@cocos2d@@UEAA@XZ; cocos2d::CCNodeRGBA::~CCNodeRGBA(void) ; +0x50, 0x18005bcf0", "xrefs": ["sub_18005BE70 @ 0x18005be89", "<???> @ 0x18014cf68", "<???> @ 0x1801bce8c"], "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"}