{"type": "func", "start": 7882320, "end": 7882636, "name": "EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer", "pseudocode": "// \n// EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer from 0x784650 to 0x78478c (316 bytes)\n// \n// 2 xrefs:\n// > `non-virtual thunk to'EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0x784794\n// > EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0x78479c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:31 +0000\n// \n\n// Alternative name is '_ZN26EditorSoundConfigInfoLayerD1Ev'\nvoid __fastcall EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer(EditorSoundConfigInfoLayer *this)\n{\n  GameLevelManager *v2; // r0\n  GameLevelManager *v3; // r0\n  GameLevelManager *v4; // r0\n  cocos2d::CCArray **v5; // r0\n  int v6; // r3\n  cocos2d::CCObject *v7; // r0\n\n  *(_DWORD *)this = &off_CF9600;\n  *((_DWORD *)this + 66) = &off_CF992C;\n  *((_DWORD *)this + 67) = &off_CF9964;\n  *((_DWORD *)this + 68) = &off_CF9970;\n  *((_DWORD *)this + 69) = &off_CF9980;\n  *((_DWORD *)this + 70) = &off_CF9994;\n  *((_DWORD *)this + 79) = &off_CF99AC;\n  *((_DWORD *)this + 83) = &off_CF99EC;\n  *((_DWORD *)this + 110) = &off_CF99FC;\n  *((_DWORD *)this + 130) = &off_CF9A20;\n  *((_DWORD *)this + 131) = &off_CF9A2C;\n  *((_DWORD *)this + 178) = &off_CF9A3C;\n  *((_DWORD *)this + 179) = &off_CF9A4C;\n  *((_DWORD *)this + 180) = &off_CF9A5C;\n  *((_DWORD *)this + 181) = &off_CF9A68;\n  *((_DWORD *)this + 182) = &off_CF9A74;\n  *((_DWORD *)this + 183) = &off_CF9A80;\n  *((_DWORD *)this + 184) = &off_CF9A8C;\n  *((_DWORD *)this + 185) = &off_CF9A9C;\n  *((_DWORD *)this + 186) = &off_CF9AA8;\n  v2 = (GameLevelManager *)GameLevelManager::sharedState(this);\n  if ( v2 )\n  {\n    v2 = (GameLevelManager *)GameLevelManager::sharedState(v2);\n    if ( *((EditorSoundConfigInfoLayer **)v2 + 219) == (EditorSoundConfigInfoLayer *)((char *)this + 712) )\n    {\n      v2 = (GameLevelManager *)GameLevelManager::sharedState(v2);\n      *((_DWORD *)v2 + 219) = 0;\n    }\n  }\n  v3 = (GameLevelManager *)GameLevelManager::sharedState(v2);\n  if ( v3 )\n  {\n    v3 = (GameLevelManager *)GameLevelManager::sharedState(v3);\n    if ( *((EditorSoundConfigInfoLayer **)v3 + 220) == (EditorSoundConfigInfoLayer *)((char *)this + 716) )\n    {\n      v3 = (GameLevelManager *)GameLevelManager::sharedState(v3);\n      *((_DWORD *)v3 + 220) = 0;\n    }\n  }\n  v4 = (GameLevelManager *)GameLevelManager::sharedState(v3);\n  if ( v4 )\n  {\n    v4 = (GameLevelManager *)GameLevelManager::sharedState(v4);\n    if ( *((EditorSoundConfigInfoLayer **)v4 + 222) == (EditorSoundConfigInfoLayer *)((char *)this + 736) )\n    {\n      v4 = (GameLevelManager *)GameLevelManager::sharedState(v4);\n      *((_DWORD *)v4 + 222) = 0;\n    }\n  }\n  v5 = (cocos2d::CCArray **)MusicDownloadManager::sharedState(v4);\n  MusicDownloadManager::removeMusicDownloadDelegate(v5, (EditorSoundConfigInfoLayer *)((char *)this + 744));\n  v6 = *((_DWORD *)this + 201);\n  if ( v6 )\n    *(_DWORD *)(v6 + 520) = 0;\n  v7 = *((cocos2d::CCObject **)this + 187);\n  if ( v7 )\n    cocos2d::CCObject::release(v7);\n  SetupTriggerPopup::~SetupTriggerPopup(this);\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer from 0x784650 to 0x78478c (316 bytes)\n; \n; 2 xrefs:\n; > `non-virtual thunk to'EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0x784794\n; > EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0x78479c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:31 +0000\n; \nLDR             R3, =(_ZTV26EditorSoundConfigInfoLayer_ptr - 0x784658) ; +0x0, 0x784650\nPUSH            {R4,LR}                                                ; +0x2, 0x784652\nADD             R3, PC; _ZTV26EditorSoundConfigInfoLayer_ptr           ; +0x4, 0x784654\nLDR             R3, [R3]; `vtable for'EditorSoundConfigInfoLayer ...   ; +0x6, 0x784656\nADD.W           R2, R3, #8                                             ; +0x8, 0x784658\nSTR             R2, [R0]                                               ; +0xc, 0x78465c\nADD.W           R2, R3, #0x334                                         ; +0xe, 0x78465e\nSTR.W           R2, [R0,#0x108]                                        ; +0x12, 0x784662\nADD.W           R2, R3, #0x36C                                         ; +0x16, 0x784666\nSTR.W           R2, [R0,#0x10C]                                        ; +0x1a, 0x78466a\nADD.W           R2, R3, #0x378                                         ; +0x1e, 0x78466e\nSTR.W           R2, [R0,#0x110]                                        ; +0x22, 0x784672\nADD.W           R2, R3, #0x388                                         ; +0x26, 0x784676\nSTR.W           R2, [R0,#0x114]                                        ; +0x2a, 0x78467a\nADD.W           R2, R3, #0x39C                                         ; +0x2e, 0x78467e\nSTR.W           R2, [R0,#0x118]                                        ; +0x32, 0x784682\nADD.W           R2, R3, #0x3B4                                         ; +0x36, 0x784686\nSTR.W           R2, [R0,#0x13C]                                        ; +0x3a, 0x78468a\nADD.W           R2, R3, #0x3F4                                         ; +0x3e, 0x78468e\nSTR.W           R2, [R0,#0x14C]                                        ; +0x42, 0x784692\nADDW            R2, R3, #0x404                                         ; +0x46, 0x784696\nSTR.W           R2, [R0,#0x1B8]                                        ; +0x4a, 0x78469a\nADD.W           R2, R3, #0x428                                         ; +0x4e, 0x78469e\nSTR.W           R2, [R0,#0x208]                                        ; +0x52, 0x7846a2\nADDW            R2, R3, #0x434                                         ; +0x56, 0x7846a6\nSTR.W           R2, [R0,#0x20C]                                        ; +0x5a, 0x7846aa\nADDW            R2, R3, #0x444                                         ; +0x5e, 0x7846ae\nSTR.W           R2, [R0,#0x2C8]                                        ; +0x62, 0x7846b2\nADDW            R2, R3, #0x454                                         ; +0x66, 0x7846b6\nSTR.W           R2, [R0,#0x2CC]                                        ; +0x6a, 0x7846ba\nADDW            R2, R3, #0x464                                         ; +0x6e, 0x7846be\nSTR.W           R2, [R0,#0x2D0]                                        ; +0x72, 0x7846c2\nADD.W           R2, R3, #0x470                                         ; +0x76, 0x7846c6\nSTR.W           R2, [R0,#0x2D4]                                        ; +0x7a, 0x7846ca\nADDW            R2, R3, #0x47C                                         ; +0x7e, 0x7846ce\nSTR.W           R2, [R0,#0x2D8]                                        ; +0x82, 0x7846d2\nADD.W           R2, R3, #0x488                                         ; +0x86, 0x7846d6\nSTR.W           R2, [R0,#0x2DC]                                        ; +0x8a, 0x7846da\nADDW            R2, R3, #0x494                                         ; +0x8e, 0x7846de\nSTR.W           R2, [R0,#0x2E0]                                        ; +0x92, 0x7846e2\nADDW            R2, R3, #0x4A4                                         ; +0x96, 0x7846e6\nADD.W           R3, R3, #0x4B0                                         ; +0x9a, 0x7846ea\nSTR.W           R2, [R0,#0x2E4]                                        ; +0x9e, 0x7846ee\nMOV             R4, R0                                                 ; +0xa2, 0x7846f2\nSTR.W           R3, [R0,#0x2E8]                                        ; +0xa4, 0x7846f4\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xa8, 0x7846f8\nCBZ             R0, loc_78470E                                         ; +0xac, 0x7846fc\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xae, 0x7846fe\nADD.W           R3, R4, #0x2C8                                         ; +0xb2, 0x784702\nLDR.W           R2, [R0,#0x36C]                                        ; +0xb6, 0x784706\nCMP             R2, R3                                                 ; +0xba, 0x78470a\nBEQ             loc_78475E                                             ; +0xbc, 0x78470c\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xbe, 0x78470e\nCBZ             R0, loc_784724                                         ; +0xc2, 0x784712\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xc4, 0x784714\nADD.W           R3, R4, #0x2CC                                         ; +0xc8, 0x784718\nLDR.W           R2, [R0,#0x370]                                        ; +0xcc, 0x78471c\nCMP             R2, R3                                                 ; +0xd0, 0x784720\nBEQ             loc_78476A                                             ; +0xd2, 0x784722\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xd4, 0x784724\nCBZ             R0, loc_78473A                                         ; +0xd8, 0x784728\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xda, 0x78472a\nADD.W           R3, R4, #0x2E0                                         ; +0xde, 0x78472e\nLDR.W           R2, [R0,#0x378]                                        ; +0xe2, 0x784732\nCMP             R2, R3                                                 ; +0xe6, 0x784736\nBEQ             loc_784776                                             ; +0xe8, 0x784738\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0xea, 0x78473a\nADD.W           R1, R4, #0x2E8; MusicDownloadDelegate *                ; +0xee, 0x78473e\nBL              _ZN20MusicDownloadManager27removeMusicDownloadDelegateEP21MusicDownloadDelegate; MusicDownloadManager::removeMusicDownloadDelegate(MusicDownloadDelegate *) ; +0xf2, 0x784742\nLDR.W           R3, [R4,#0x324]                                        ; +0xf6, 0x784746\nCBZ             R3, loc_784752                                         ; +0xfa, 0x78474a\nMOVS            R2, #0                                                 ; +0xfc, 0x78474c\nSTR.W           R2, [R3,#0x208]                                        ; +0xfe, 0x78474e\nLDR.W           R0, [R4,#0x2EC]; this                                  ; +0x102, 0x784752\nCBZ             R0, loc_784782                                         ; +0x106, 0x784756\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x108, 0x784758\nB               loc_784782                                             ; +0x10c, 0x78475c\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x10e, 0x78475e\nMOVS            R3, #0                                                 ; +0x112, 0x784762\nSTR.W           R3, [R0,#0x36C]                                        ; +0x114, 0x784764\nB               loc_78470E                                             ; +0x118, 0x784768\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x11a, 0x78476a\nMOVS            R3, #0                                                 ; +0x11e, 0x78476e\nSTR.W           R3, [R0,#0x370]                                        ; +0x120, 0x784770\nB               loc_784724                                             ; +0x124, 0x784774\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x126, 0x784776\nMOVS            R3, #0                                                 ; +0x12a, 0x78477a\nSTR.W           R3, [R0,#0x378]                                        ; +0x12c, 0x78477c\nB               loc_78473A                                             ; +0x130, 0x784780\nMOV             R0, R4; this                                           ; +0x132, 0x784782\nBL              _ZN17SetupTriggerPopupD2Ev; SetupTriggerPopup::~SetupTriggerPopup() ; +0x134, 0x784784\nMOV             R0, R4                                                 ; +0x138, 0x784788\nPOP             {R4,PC}                                                ; +0x13a, 0x78478a", "xrefs": ["`non-virtual thunk to'EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0x784794", "EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0x78479c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}