{"type": "func", "start": 6886724, "end": 6886840, "name": "CCMenuItemSpriteExtra::~CCMenuItemSpriteExtra", "pseudocode": "// \n// CCMenuItemSpriteExtra::~CCMenuItemSpriteExtra from 0x691544 to 0x6915b8 (116 bytes)\n// \n// 10 xrefs:\n// > CCMenuItemSpriteExtra::~CCMenuItemSpriteExtra @ 0x6915c8\n// > RowPressItem::~RowPressItem @ 0x735f98\n// > RowPressItem::~RowPressItem @ 0x735fc4\n// > InfoAlertButton::~InfoAlertButton @ 0xa3f148\n// > InfoAlertButton::~InfoAlertButton @ 0xa3f19c\n// > CreateMenuItem::~CreateMenuItem @ 0xbcaea8\n// > CreateMenuItem::~CreateMenuItem @ 0xbcaee8\n// > <???> @ 0x6d1c8\n// > <???> @ 0x92770\n// > <???> @ 0x14167b8\n// \n// This function is hookable on this platform (idp: arm, 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 12:50:35 +0000\n// \n\n// Alternative name is '_ZN21CCMenuItemSpriteExtraD1Ev'\nvoid __fastcall CCMenuItemSpriteExtra::~CCMenuItemSpriteExtra(CCMenuItemSpriteExtra *this)\n{\n  char v2; // w1\n\n  v2 = *((_BYTE *)this + 440);\n  *(_QWORD *)this = &off_14167B0;\n  *((_QWORD *)this + 40) = &off_1416C28;\n  if ( (v2 & 1) != 0 )\n    operator delete(*((void **)this + 57));\n  if ( (*((_BYTE *)this + 416) & 1) != 0 )\n    operator delete(*((void **)this + 54));\n  *(_QWORD *)this = &off_15259E0;\n  *((_QWORD *)this + 40) = &off_1525E58;\n  cocos2d::CCMenuItem::~CCMenuItem(this);\n}", "assembly": "; \n; CCMenuItemSpriteExtra::~CCMenuItemSpriteExtra from 0x691544 to 0x6915b8 (116 bytes)\n; \n; 10 xrefs:\n; > CCMenuItemSpriteExtra::~CCMenuItemSpriteExtra @ 0x6915c8\n; > RowPressItem::~RowPressItem @ 0x735f98\n; > RowPressItem::~RowPressItem @ 0x735fc4\n; > InfoAlertButton::~InfoAlertButton @ 0xa3f148\n; > InfoAlertButton::~InfoAlertButton @ 0xa3f19c\n; > CreateMenuItem::~CreateMenuItem @ 0xbcaea8\n; > CreateMenuItem::~CreateMenuItem @ 0xbcaee8\n; > <???> @ 0x6d1c8\n; > <???> @ 0x92770\n; > <???> @ 0x14167b8\n; \n; This function is hookable on this platform (idp: arm, 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 12:50:35 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x691544\nMOV             X29, SP                                                ; +0x4, 0x691548\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x69154c\nMOV             X19, X0                                                ; +0xc, 0x691550\nADRP            X0, #_ZTV21CCMenuItemSpriteExtra_ptr@PAGE              ; +0x10, 0x691554\nLDRB            W1, [X19,#0x1B8]                                       ; +0x14, 0x691558\nLDR             X0, [X0,#_ZTV21CCMenuItemSpriteExtra_ptr@PAGEOFF]; `vtable for'CCMenuItemSpriteExtra ... ; +0x18, 0x69155c\nADD             X2, X0, #0x10                                          ; +0x1c, 0x691560\nADD             X0, X0, #0x488                                         ; +0x20, 0x691564\nSTR             X2, [X19]                                              ; +0x24, 0x691568\nSTR             X0, [X19,#0x140]                                       ; +0x28, 0x69156c\nTBNZ            W1, #0, loc_6915AC                                     ; +0x2c, 0x691570\nLDRB            W0, [X19,#0x1A0]                                       ; +0x30, 0x691574\nTBZ             W0, #0, loc_691584                                     ; +0x34, 0x691578\nLDR             X0, [X19,#0x1B0]; void *                               ; +0x38, 0x69157c\nBL              _ZdlPv; operator delete(void *)                        ; +0x3c, 0x691580\nADRP            X1, #_ZTVN7cocos2d16CCMenuItemSpriteE_ptr@PAGE         ; +0x40, 0x691584\nMOV             X0, X19; this                                          ; +0x44, 0x691588\nLDR             X1, [X1,#_ZTVN7cocos2d16CCMenuItemSpriteE_ptr@PAGEOFF]; `vtable for'cocos2d::CCMenuItemSprite ... ; +0x48, 0x69158c\nADD             X2, X1, #0x10                                          ; +0x4c, 0x691590\nADD             X1, X1, #0x488                                         ; +0x50, 0x691594\nSTR             X2, [X19]                                              ; +0x54, 0x691598\nSTR             X1, [X19,#0x140]                                       ; +0x58, 0x69159c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x6915a0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x6915a4\nB               _ZN7cocos2d10CCMenuItemD2Ev; cocos2d::CCMenuItem::~CCMenuItem() ; +0x64, 0x6915a8\nLDR             X0, [X19,#0x1C8]; void *                               ; +0x68, 0x6915ac\nBL              _ZdlPv; operator delete(void *)                        ; +0x6c, 0x6915b0\nB               loc_691574                                             ; +0x70, 0x6915b4", "xrefs": ["CCMenuItemSpriteExtra::~CCMenuItemSpriteExtra @ 0x6915c8", "RowPressItem::~RowPressItem @ 0x735f98", "RowPressItem::~RowPressItem @ 0x735fc4", "InfoAlertButton::~InfoAlertButton @ 0xa3f148", "InfoAlertButton::~InfoAlertButton @ 0xa3f19c", "CreateMenuItem::~CreateMenuItem @ 0xbcaea8", "CreateMenuItem::~CreateMenuItem @ 0xbcaee8", "<???> @ 0x6d1c8", "<???> @ 0x92770", "<???> @ 0x14167b8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}