{"type": "func", "start": 13420120, "end": 13420476, "name": "EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer", "pseudocode": "// \n// EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer from 0xccc658 to 0xccc7bc (356 bytes)\n// \n// 5 xrefs:\n// > `non-virtual thunk to'EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0xccc7c0\n// > EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0xccc7d4\n// > <???> @ 0x50098\n// > <???> @ 0xf0a18\n// > <???> @ 0x14fe878\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:24 +0000\n// \n\n// Alternative name is '_ZN26EditorSoundConfigInfoLayerD1Ev'\nvoid __fastcall EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer(EditorSoundConfigInfoLayer *this)\n{\n  GameLevelManager *v2; // x0\n  EditorSoundConfigInfoLayer *v3; // x1\n  GameLevelManager *v4; // x0\n  EditorSoundConfigInfoLayer *v5; // x1\n  GameLevelManager *v6; // x0\n  EditorSoundConfigInfoLayer *v7; // x1\n  cocos2d::CCArray **v8; // x0\n  __int64 v9; // x0\n  cocos2d::CCObject *v10; // x0\n\n  *(_QWORD *)this = &off_14FE870;\n  *((_QWORD *)this + 40) = off_14FEEC8;\n  *((_QWORD *)this + 41) = &off_14FEF38;\n  *((_QWORD *)this + 42) = off_14FEF50;\n  *((_QWORD *)this + 43) = off_14FEF70;\n  *((_QWORD *)this + 44) = off_14FEF98;\n  *((_QWORD *)this + 51) = &off_14FEFC8;\n  *((_QWORD *)this + 54) = &off_14FF048;\n  *((_QWORD *)this + 68) = off_14FF068;\n  *((_QWORD *)this + 83) = &off_14FF0B0;\n  *((_QWORD *)this + 84) = off_14FF0C8;\n  *((_QWORD *)this + 127) = &off_14FF0E8;\n  *((_QWORD *)this + 128) = &off_14FF108;\n  *((_QWORD *)this + 129) = &off_14FF128;\n  *((_QWORD *)this + 130) = &off_14FF140;\n  *((_QWORD *)this + 131) = &off_14FF158;\n  *((_QWORD *)this + 132) = &off_14FF170;\n  *((_QWORD *)this + 133) = off_14FF188;\n  *((_QWORD *)this + 134) = &off_14FF1A8;\n  *((_QWORD *)this + 135) = &off_14FF1C0;\n  v2 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)&off_14FF1C0);\n  if ( v2 )\n  {\n    v3 = *(EditorSoundConfigInfoLayer **)(GameLevelManager::sharedState(v2) + 1336);\n    v2 = (EditorSoundConfigInfoLayer *)((char *)this + 1016);\n    if ( v3 == (EditorSoundConfigInfoLayer *)((char *)this + 1016) )\n    {\n      v2 = (GameLevelManager *)GameLevelManager::sharedState(v2);\n      *((_QWORD *)v2 + 167) = 0;\n    }\n  }\n  v4 = (GameLevelManager *)GameLevelManager::sharedState(v2);\n  if ( v4 )\n  {\n    v5 = *(EditorSoundConfigInfoLayer **)(GameLevelManager::sharedState(v4) + 1344);\n    v4 = (EditorSoundConfigInfoLayer *)((char *)this + 1024);\n    if ( v5 == (EditorSoundConfigInfoLayer *)((char *)this + 1024) )\n    {\n      v4 = (GameLevelManager *)GameLevelManager::sharedState(v4);\n      *((_QWORD *)v4 + 168) = 0;\n    }\n  }\n  v6 = (GameLevelManager *)GameLevelManager::sharedState(v4);\n  if ( v6 )\n  {\n    v7 = *(EditorSoundConfigInfoLayer **)(GameLevelManager::sharedState(v6) + 1360);\n    v6 = (EditorSoundConfigInfoLayer *)((char *)this + 1064);\n    if ( v7 == (EditorSoundConfigInfoLayer *)((char *)this + 1064) )\n    {\n      v6 = (GameLevelManager *)GameLevelManager::sharedState(v6);\n      *((_QWORD *)v6 + 170) = 0;\n    }\n  }\n  v8 = (cocos2d::CCArray **)MusicDownloadManager::sharedState(v6);\n  MusicDownloadManager::removeMusicDownloadDelegate(v8, (EditorSoundConfigInfoLayer *)((char *)this + 1080));\n  v9 = *((_QWORD *)this + 150);\n  if ( v9 )\n    *(_QWORD *)(v9 + 664) = 0;\n  v10 = *((cocos2d::CCObject **)this + 136);\n  if ( v10 )\n    cocos2d::CCObject::release(v10);\n  SetupTriggerPopup::~SetupTriggerPopup(this);\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer from 0xccc658 to 0xccc7bc (356 bytes)\n; \n; 5 xrefs:\n; > `non-virtual thunk to'EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0xccc7c0\n; > EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0xccc7d4\n; > <???> @ 0x50098\n; > <???> @ 0xf0a18\n; > <???> @ 0x14fe878\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:24 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xccc658\nMOV             X29, SP                                                ; +0x4, 0xccc65c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xccc660\nMOV             X19, X0                                                ; +0xc, 0xccc664\nADRP            X0, #_ZTV26EditorSoundConfigInfoLayer_ptr@PAGE         ; +0x10, 0xccc668\nLDR             X0, [X0,#_ZTV26EditorSoundConfigInfoLayer_ptr@PAGEOFF]; `vtable for'EditorSoundConfigInfoLayer ... ; +0x14, 0xccc66c\nADD             X20, X0, #0x10                                         ; +0x18, 0xccc670\nADD             X18, X0, #0x668                                        ; +0x1c, 0xccc674\nADD             X17, X0, #0x6D8                                        ; +0x20, 0xccc678\nADD             X16, X0, #0x6F0                                        ; +0x24, 0xccc67c\nADD             X15, X0, #0x710                                        ; +0x28, 0xccc680\nADD             X14, X0, #0x738                                        ; +0x2c, 0xccc684\nADD             X13, X0, #0x768                                        ; +0x30, 0xccc688\nADD             X12, X0, #0x7E8                                        ; +0x34, 0xccc68c\nADD             X11, X0, #0x808                                        ; +0x38, 0xccc690\nADD             X10, X0, #0x850                                        ; +0x3c, 0xccc694\nADD             X9, X0, #0x868                                         ; +0x40, 0xccc698\nADD             X8, X0, #0x888                                         ; +0x44, 0xccc69c\nADD             X7, X0, #0x8A8                                         ; +0x48, 0xccc6a0\nADD             X6, X0, #0x8C8                                         ; +0x4c, 0xccc6a4\nADD             X5, X0, #0x8E0                                         ; +0x50, 0xccc6a8\nADD             X4, X0, #0x8F8                                         ; +0x54, 0xccc6ac\nADD             X3, X0, #0x910                                         ; +0x58, 0xccc6b0\nADD             X2, X0, #0x928                                         ; +0x5c, 0xccc6b4\nADD             X1, X0, #0x948                                         ; +0x60, 0xccc6b8\nSTR             X20, [X19]                                             ; +0x64, 0xccc6bc\nADD             X0, X0, #0x960; this                                   ; +0x68, 0xccc6c0\nSTR             X18, [X19,#0x140]                                      ; +0x6c, 0xccc6c4\nSTR             X17, [X19,#0x148]                                      ; +0x70, 0xccc6c8\nSTR             X16, [X19,#0x150]                                      ; +0x74, 0xccc6cc\nSTR             X15, [X19,#0x158]                                      ; +0x78, 0xccc6d0\nSTR             X14, [X19,#0x160]                                      ; +0x7c, 0xccc6d4\nSTR             X13, [X19,#0x198]                                      ; +0x80, 0xccc6d8\nSTR             X12, [X19,#0x1B0]                                      ; +0x84, 0xccc6dc\nSTR             X11, [X19,#0x220]                                      ; +0x88, 0xccc6e0\nSTR             X10, [X19,#0x298]                                      ; +0x8c, 0xccc6e4\nSTR             X9, [X19,#0x2A0]                                       ; +0x90, 0xccc6e8\nSTR             X8, [X19,#0x3F8]                                       ; +0x94, 0xccc6ec\nSTR             X7, [X19,#0x400]                                       ; +0x98, 0xccc6f0\nSTR             X6, [X19,#0x408]                                       ; +0x9c, 0xccc6f4\nSTR             X5, [X19,#0x410]                                       ; +0xa0, 0xccc6f8\nSTR             X4, [X19,#0x418]                                       ; +0xa4, 0xccc6fc\nSTR             X3, [X19,#0x420]                                       ; +0xa8, 0xccc700\nSTR             X2, [X19,#0x428]                                       ; +0xac, 0xccc704\nSTR             X1, [X19,#0x430]                                       ; +0xb0, 0xccc708\nSTR             X0, [X19,#0x438]                                       ; +0xb4, 0xccc70c\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xb8, 0xccc710\nCBZ             X0, loc_CCC72C                                         ; +0xbc, 0xccc714\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xc0, 0xccc718\nLDR             X1, [X0,#0x538]                                        ; +0xc4, 0xccc71c\nADD             X0, X19, #0x3F8; this                                  ; +0xc8, 0xccc720\nCMP             X1, X0                                                 ; +0xcc, 0xccc724\nB.EQ            loc_CCC798                                             ; +0xd0, 0xccc728\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xd4, 0xccc72c\nCBZ             X0, loc_CCC748                                         ; +0xd8, 0xccc730\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xdc, 0xccc734\nLDR             X1, [X0,#0x540]                                        ; +0xe0, 0xccc738\nADD             X0, X19, #0x400; this                                  ; +0xe4, 0xccc73c\nCMP             X1, X0                                                 ; +0xe8, 0xccc740\nB.EQ            loc_CCC7B0                                             ; +0xec, 0xccc744\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xf0, 0xccc748\nCBZ             X0, loc_CCC764                                         ; +0xf4, 0xccc74c\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xf8, 0xccc750\nLDR             X1, [X0,#0x550]                                        ; +0xfc, 0xccc754\nADD             X0, X19, #0x428; this                                  ; +0x100, 0xccc758\nCMP             X1, X0                                                 ; +0x104, 0xccc75c\nB.EQ            loc_CCC7A4                                             ; +0x108, 0xccc760\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x10c, 0xccc764\nADD             X1, X19, #0x438; MusicDownloadDelegate *               ; +0x110, 0xccc768\nBL              _ZN20MusicDownloadManager27removeMusicDownloadDelegateEP21MusicDownloadDelegate; MusicDownloadManager::removeMusicDownloadDelegate(MusicDownloadDelegate *) ; +0x114, 0xccc76c\nLDR             X0, [X19,#0x4B0]                                       ; +0x118, 0xccc770\nCBZ             X0, loc_CCC77C                                         ; +0x11c, 0xccc774\nSTR             XZR, [X0,#0x298]                                       ; +0x120, 0xccc778\nLDR             X0, [X19,#0x440]; this                                 ; +0x124, 0xccc77c\nCBZ             X0, loc_CCC788                                         ; +0x128, 0xccc780\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x12c, 0xccc784\nMOV             X0, X19; this                                          ; +0x130, 0xccc788\nLDP             X19, X20, [SP,#var_s10]                                ; +0x134, 0xccc78c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x138, 0xccc790\nB               _ZN17SetupTriggerPopupD2Ev; SetupTriggerPopup::~SetupTriggerPopup() ; +0x13c, 0xccc794\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x140, 0xccc798\nSTR             XZR, [X0,#0x538]                                       ; +0x144, 0xccc79c\nB               loc_CCC72C                                             ; +0x148, 0xccc7a0\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x14c, 0xccc7a4\nSTR             XZR, [X0,#0x550]                                       ; +0x150, 0xccc7a8\nB               loc_CCC764                                             ; +0x154, 0xccc7ac\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x158, 0xccc7b0\nSTR             XZR, [X0,#0x540]                                       ; +0x15c, 0xccc7b4\nB               loc_CCC748                                             ; +0x160, 0xccc7b8", "xrefs": ["`non-virtual thunk to'EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0xccc7c0", "EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0xccc7d4", "<???> @ 0x50098", "<???> @ 0xf0a18", "<???> @ 0x14fe878"], "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"}