//
// EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer from 0xccc658 to 0xccc7bc (356 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0xccc7c0
// > EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer @ 0xccc7d4
// > ??> @ 0x50098
// > ??> @ 0xf0a18
// > ??> @ 0x14fe878
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:06:24 +0000
//
// Alternative name is '_ZN26EditorSoundConfigInfoLayerD1Ev'
void __fastcall EditorSoundConfigInfoLayer::~EditorSoundConfigInfoLayer(EditorSoundConfigInfoLayer *this)
{
GameLevelManager *v2; // x0
EditorSoundConfigInfoLayer *v3; // x1
GameLevelManager *v4; // x0
EditorSoundConfigInfoLayer *v5; // x1
GameLevelManager *v6; // x0
EditorSoundConfigInfoLayer *v7; // x1
cocos2d::CCArray **v8; // x0
__int64 v9; // x0
cocos2d::CCObject *v10; // x0
*(_QWORD *)this = &off_14FE870;
*((_QWORD *)this + 40) = off_14FEEC8;
*((_QWORD *)this + 41) = &off_14FEF38;
*((_QWORD *)this + 42) = off_14FEF50;
*((_QWORD *)this + 43) = off_14FEF70;
*((_QWORD *)this + 44) = off_14FEF98;
*((_QWORD *)this + 51) = &off_14FEFC8;
*((_QWORD *)this + 54) = &off_14FF048;
*((_QWORD *)this + 68) = off_14FF068;
*((_QWORD *)this + 83) = &off_14FF0B0;
*((_QWORD *)this + 84) = off_14FF0C8;
*((_QWORD *)this + 127) = &off_14FF0E8;
*((_QWORD *)this + 128) = &off_14FF108;
*((_QWORD *)this + 129) = &off_14FF128;
*((_QWORD *)this + 130) = &off_14FF140;
*((_QWORD *)this + 131) = &off_14FF158;
*((_QWORD *)this + 132) = &off_14FF170;
*((_QWORD *)this + 133) = off_14FF188;
*((_QWORD *)this + 134) = &off_14FF1A8;
*((_QWORD *)this + 135) = &off_14FF1C0;
v2 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)&off_14FF1C0);
if ( v2 )
{
v3 = *(EditorSoundConfigInfoLayer **)(GameLevelManager::sharedState(v2) + 1336);
v2 = (EditorSoundConfigInfoLayer *)((char *)this + 1016);
if ( v3 == (EditorSoundConfigInfoLayer *)((char *)this + 1016) )
{
v2 = (GameLevelManager *)GameLevelManager::sharedState(v2);
*((_QWORD *)v2 + 167) = 0;
}
}
v4 = (GameLevelManager *)GameLevelManager::sharedState(v2);
if ( v4 )
{
v5 = *(EditorSoundConfigInfoLayer **)(GameLevelManager::sharedState(v4) + 1344);
v4 = (EditorSoundConfigInfoLayer *)((char *)this + 1024);
if ( v5 == (EditorSoundConfigInfoLayer *)((char *)this + 1024) )
{
v4 = (GameLevelManager *)GameLevelManager::sharedState(v4);
*((_QWORD *)v4 + 168) = 0;
}
}
v6 = (GameLevelManager *)GameLevelManager::sharedState(v4);
if ( v6 )
{
v7 = *(EditorSoundConfigInfoLayer **)(GameLevelManager::sharedState(v6) + 1360);
v6 = (EditorSoundConfigInfoLayer *)((char *)this + 1064);
if ( v7 == (EditorSoundConfigInfoLayer *)((char *)this + 1064) )
{
v6 = (GameLevelManager *)GameLevelManager::sharedState(v6);
*((_QWORD *)v6 + 170) = 0;
}
}
v8 = (cocos2d::CCArray **)MusicDownloadManager::sharedState(v6);
MusicDownloadManager::removeMusicDownloadDelegate(v8, (EditorSoundConfigInfoLayer *)((char *)this + 1080));
v9 = *((_QWORD *)this + 150);
if ( v9 )
*(_QWORD *)(v9 + 664) = 0;
v10 = *((cocos2d::CCObject **)this + 136);
if ( v10 )
cocos2d::CCObject::release(v10);
SetupTriggerPopup::~SetupTriggerPopup(this);
}