{"type": "func", "start": 6442827104, "end": 6442827228, "name": "cocos2d::CCMenuItemFont::~CCMenuItemFont", "pseudocode": "// \n// cocos2d::CCMenuItemFont::~CCMenuItemFont from 0x18005bd60 to 0x18005bddc (124 bytes)\n// \n// 4 xrefs:\n// > sub_18005C010 @ 0x18005c06e\n// > sub_18005C010 @ 0x18005c02c\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcea4\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\n// Hidden C++ exception states: #wind=1\nvoid __fastcall cocos2d::CCMenuItemFont::~CCMenuItemFont(cocos2d::CCMenuItemFont *this)\n{\n  struct cocos2d::CCScriptEngineManager *v2; // rax\n\n  *(_QWORD *)this = &cocos2d::CCMenuItemFont::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::CCMenuItemFont::`vftable'{for `cocos2d::CCRGBAProtocol'};\n  sub_180005C70((__int64)this + 408);\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::CCMenuItemFont::~CCMenuItemFont from 0x18005bd60 to 0x18005bddc (124 bytes)\n; \n; 4 xrefs:\n; > sub_18005C010 @ 0x18005c06e\n; > sub_18005C010 @ 0x18005c02c\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcea4\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, 0x18005bd60\nsub     rsp, 20h                                                       ; +0x2, 0x18005bd62\nmov     rbx, rcx                                                       ; +0x6, 0x18005bd66\nlea     rax, ??_7CCMenuItemFont@cocos2d@@6BCCNode@1@@; const cocos2d::CCMenuItemFont::`vftable'{for `cocos2d::CCNode'} ; +0x9, 0x18005bd69\nmov     [rcx], rax                                                     ; +0x10, 0x18005bd70\nlea     rax, ??_7CCMenuItemFont@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCMenuItemFont::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x13, 0x18005bd73\nmov     [rcx+140h], rax                                                ; +0x1a, 0x18005bd7a\nadd     rcx, 198h                                                      ; +0x21, 0x18005bd81\ncall    sub_180005C70                                                  ; +0x28, 0x18005bd88\nnop                                                                    ; +0x2d, 0x18005bd8d\nlea     rax, ??_7CCMenuItem@cocos2d@@6BCCNode@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'} ; +0x2e, 0x18005bd8e\nmov     [rbx], rax                                                     ; +0x35, 0x18005bd95\nlea     rax, ??_7CCMenuItem@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x38, 0x18005bd98\nmov     [rbx+140h], rax                                                ; +0x3f, 0x18005bd9f\ncmp     dword ptr [rbx+170h], 0                                        ; +0x46, 0x18005bda6\njz      short loc_18005BDCD                                            ; +0x4d, 0x18005bdad\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x4f, 0x18005bdaf\nmov     rcx, [rax]                                                     ; +0x54, 0x18005bdb4\nmov     rax, [rcx]                                                     ; +0x57, 0x18005bdb7\nmov     edx, [rbx+170h]                                                ; +0x5a, 0x18005bdba\ncall    qword ptr [rax+18h]                                            ; +0x60, 0x18005bdc0\nmov     dword ptr [rbx+170h], 0                                        ; +0x63, 0x18005bdc3\nmov     rcx, rbx; this                                                 ; +0x6d, 0x18005bdcd\ncall    ??1CCNodeRGBA@cocos2d@@UEAA@XZ; cocos2d::CCNodeRGBA::~CCNodeRGBA(void) ; +0x70, 0x18005bdd0\nnop                                                                    ; +0x75, 0x18005bdd5\nadd     rsp, 20h                                                       ; +0x76, 0x18005bdd6\npop     rbx                                                            ; +0x7a, 0x18005bdda\nretn                                                                   ; +0x7b, 0x18005bddb", "xrefs": ["sub_18005C010 @ 0x18005c06e", "sub_18005C010 @ 0x18005c02c", "<???> @ 0x18014cf68", "<???> @ 0x1801bcea4"], "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"}