{"type": "func", "start": 13403104, "end": 13403376, "name": "EditorSoundBrowserLayer::~EditorSoundBrowserLayer", "pseudocode": "// \n// EditorSoundBrowserLayer::~EditorSoundBrowserLayer from 0xcc83e0 to 0xcc84f0 (272 bytes)\n// \n// 5 xrefs:\n// > `non-virtual thunk to'EditorSoundBrowserLayer::~EditorSoundBrowserLayer @ 0xcc84f4\n// > EditorSoundBrowserLayer::~EditorSoundBrowserLayer @ 0xcc8508\n// > <???> @ 0x780a0\n// > <???> @ 0x9dc18\n// > <???> @ 0x14fd858\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 13:06:22 +0000\n// \n\n// Alternative name is '_ZN23EditorSoundBrowserLayerD1Ev'\nvoid __fastcall EditorSoundBrowserLayer::~EditorSoundBrowserLayer(EditorSoundBrowserLayer *this)\n{\n  GameLevelManager *v2; // x0\n  cocos2d::CCObject *v3; // x0\n  cocos2d::CCObject *v4; // x0\n  cocos2d::CCObject *v5; // x0\n\n  *(_QWORD *)this = &off_14FD850;\n  *((_QWORD *)this + 40) = off_14FDE70;\n  *((_QWORD *)this + 41) = &off_14FDEE0;\n  *((_QWORD *)this + 42) = off_14FDEF8;\n  *((_QWORD *)this + 43) = off_14FDF18;\n  *((_QWORD *)this + 44) = off_14FDF40;\n  *((_QWORD *)this + 51) = &off_14FDF70;\n  *((_QWORD *)this + 54) = &off_14FDFF0;\n  *((_QWORD *)this + 68) = off_14FE010;\n  *((_QWORD *)this + 83) = &off_14FE058;\n  *((_QWORD *)this + 84) = off_14FE070;\n  *((_QWORD *)this + 127) = &off_14FE090;\n  *((_QWORD *)this + 128) = &off_14FE0B0;\n  *((_QWORD *)this + 129) = &off_14FE0C8;\n  *((_QWORD *)this + 130) = &off_14FE120;\n  v2 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)&off_14FE120);\n  if ( v2\n    && *(EditorSoundBrowserLayer **)(GameLevelManager::sharedState(v2) + 1328) == (EditorSoundBrowserLayer *)((char *)this + 1016) )\n  {\n    *(_QWORD *)(GameLevelManager::sharedState((EditorSoundBrowserLayer *)((char *)this + 1016)) + 1328) = 0;\n  }\n  v3 = *((cocos2d::CCObject **)this + 138);\n  if ( v3 )\n    cocos2d::CCObject::release(v3);\n  v4 = *((cocos2d::CCObject **)this + 146);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  v5 = *((cocos2d::CCObject **)this + 147);\n  if ( v5 )\n    cocos2d::CCObject::release(v5);\n  if ( (*((_BYTE *)this + 1144) & 1) != 0 )\n    operator delete(*((void **)this + 145));\n  if ( (*((_BYTE *)this + 1120) & 1) != 0 )\n    operator delete(*((void **)this + 142));\n  SetupTriggerPopup::~SetupTriggerPopup(this);\n}", "assembly": "; \n; EditorSoundBrowserLayer::~EditorSoundBrowserLayer from 0xcc83e0 to 0xcc84f0 (272 bytes)\n; \n; 5 xrefs:\n; > `non-virtual thunk to'EditorSoundBrowserLayer::~EditorSoundBrowserLayer @ 0xcc84f4\n; > EditorSoundBrowserLayer::~EditorSoundBrowserLayer @ 0xcc8508\n; > <???> @ 0x780a0\n; > <???> @ 0x9dc18\n; > <???> @ 0x14fd858\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 13:06:22 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xcc83e0\nMOV             X29, SP                                                ; +0x4, 0xcc83e4\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xcc83e8\nMOV             X19, X0                                                ; +0xc, 0xcc83ec\nADRP            X0, #_ZTV23EditorSoundBrowserLayer_ptr@PAGE            ; +0x10, 0xcc83f0\nLDR             X0, [X0,#_ZTV23EditorSoundBrowserLayer_ptr@PAGEOFF]; `vtable for'EditorSoundBrowserLayer ... ; +0x14, 0xcc83f4\nADD             X14, X0, #0x10                                         ; +0x18, 0xcc83f8\nADD             X13, X0, #0x630                                        ; +0x1c, 0xcc83fc\nADD             X12, X0, #0x6A0                                        ; +0x20, 0xcc8400\nADD             X11, X0, #0x6B8                                        ; +0x24, 0xcc8404\nADD             X10, X0, #0x6D8                                        ; +0x28, 0xcc8408\nADD             X9, X0, #0x700                                         ; +0x2c, 0xcc840c\nADD             X8, X0, #0x730                                         ; +0x30, 0xcc8410\nADD             X7, X0, #0x7B0                                         ; +0x34, 0xcc8414\nADD             X6, X0, #0x7D0                                         ; +0x38, 0xcc8418\nADD             X5, X0, #0x818                                         ; +0x3c, 0xcc841c\nADD             X4, X0, #0x830                                         ; +0x40, 0xcc8420\nADD             X3, X0, #0x850                                         ; +0x44, 0xcc8424\nADD             X2, X0, #0x870                                         ; +0x48, 0xcc8428\nADD             X1, X0, #0x888                                         ; +0x4c, 0xcc842c\nSTR             X14, [X19]                                             ; +0x50, 0xcc8430\nADD             X0, X0, #0x8E0; this                                   ; +0x54, 0xcc8434\nSTR             X13, [X19,#0x140]                                      ; +0x58, 0xcc8438\nSTR             X12, [X19,#0x148]                                      ; +0x5c, 0xcc843c\nSTR             X11, [X19,#0x150]                                      ; +0x60, 0xcc8440\nSTR             X10, [X19,#0x158]                                      ; +0x64, 0xcc8444\nSTR             X9, [X19,#0x160]                                       ; +0x68, 0xcc8448\nSTR             X8, [X19,#0x198]                                       ; +0x6c, 0xcc844c\nSTR             X7, [X19,#0x1B0]                                       ; +0x70, 0xcc8450\nSTR             X6, [X19,#0x220]                                       ; +0x74, 0xcc8454\nSTR             X5, [X19,#0x298]                                       ; +0x78, 0xcc8458\nSTR             X4, [X19,#0x2A0]                                       ; +0x7c, 0xcc845c\nSTR             X3, [X19,#0x3F8]                                       ; +0x80, 0xcc8460\nSTR             X2, [X19,#0x400]                                       ; +0x84, 0xcc8464\nSTR             X1, [X19,#0x408]                                       ; +0x88, 0xcc8468\nSTR             X0, [X19,#0x410]                                       ; +0x8c, 0xcc846c\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x90, 0xcc8470\nCBZ             X0, loc_CC848C                                         ; +0x94, 0xcc8474\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x98, 0xcc8478\nLDR             X1, [X0,#0x530]                                        ; +0x9c, 0xcc847c\nADD             X0, X19, #0x3F8; this                                  ; +0xa0, 0xcc8480\nCMP             X1, X0                                                 ; +0xa4, 0xcc8484\nB.EQ            loc_CC84E4                                             ; +0xa8, 0xcc8488\nLDR             X0, [X19,#0x450]; this                                 ; +0xac, 0xcc848c\nCBZ             X0, loc_CC8498                                         ; +0xb0, 0xcc8490\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0xb4, 0xcc8494\nLDR             X0, [X19,#0x490]; this                                 ; +0xb8, 0xcc8498\nCBZ             X0, loc_CC84A4                                         ; +0xbc, 0xcc849c\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0xc0, 0xcc84a0\nLDR             X0, [X19,#0x498]; this                                 ; +0xc4, 0xcc84a4\nCBZ             X0, loc_CC84B0                                         ; +0xc8, 0xcc84a8\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0xcc, 0xcc84ac\nLDRB            W0, [X19,#0x478]                                       ; +0xd0, 0xcc84b0\nTBNZ            W0, #0, loc_CC84D8                                     ; +0xd4, 0xcc84b4\nLDRB            W0, [X19,#0x460]                                       ; +0xd8, 0xcc84b8\nTBZ             W0, #0, loc_CC84C8                                     ; +0xdc, 0xcc84bc\nLDR             X0, [X19,#0x470]; void *                               ; +0xe0, 0xcc84c0\nBL              _ZdlPv; operator delete(void *)                        ; +0xe4, 0xcc84c4\nMOV             X0, X19; this                                          ; +0xe8, 0xcc84c8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0xec, 0xcc84cc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0xf0, 0xcc84d0\nB               _ZN17SetupTriggerPopupD2Ev; SetupTriggerPopup::~SetupTriggerPopup() ; +0xf4, 0xcc84d4\nLDR             X0, [X19,#0x488]; void *                               ; +0xf8, 0xcc84d8\nBL              _ZdlPv; operator delete(void *)                        ; +0xfc, 0xcc84dc\nB               loc_CC84B8                                             ; +0x100, 0xcc84e0\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x104, 0xcc84e4\nSTR             XZR, [X0,#0x530]                                       ; +0x108, 0xcc84e8\nB               loc_CC848C                                             ; +0x10c, 0xcc84ec", "xrefs": ["`non-virtual thunk to'EditorSoundBrowserLayer::~EditorSoundBrowserLayer @ 0xcc84f4", "EditorSoundBrowserLayer::~EditorSoundBrowserLayer @ 0xcc8508", "<???> @ 0x780a0", "<???> @ 0x9dc18", "<???> @ 0x14fd858"], "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"}