//
// EditorSoundBrowserLayer::~EditorSoundBrowserLayer from 0x781a80 to 0x781b5c (220 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'EditorSoundBrowserLayer::~EditorSoundBrowserLayer @ 0x781b64
// > EditorSoundBrowserLayer::~EditorSoundBrowserLayer @ 0x781b6c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:29 +0000
//
// Alternative name is '_ZN23EditorSoundBrowserLayerD1Ev'
void __fastcall EditorSoundBrowserLayer::~EditorSoundBrowserLayer(EditorSoundBrowserLayer *this)
{
GameLevelManager *v2; // r0
EditorSoundBrowserLayer **v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
*(_DWORD *)this = &off_CF89C0;
*((_DWORD *)this + 66) = &off_CF8CD0;
*((_DWORD *)this + 67) = &off_CF8D08;
*((_DWORD *)this + 68) = &off_CF8D14;
*((_DWORD *)this + 69) = &off_CF8D24;
*((_DWORD *)this + 70) = &off_CF8D38;
*((_DWORD *)this + 79) = &off_CF8D50;
*((_DWORD *)this + 83) = &off_CF8D90;
*((_DWORD *)this + 110) = &off_CF8DA0;
*((_DWORD *)this + 130) = &off_CF8DC4;
*((_DWORD *)this + 131) = &off_CF8DD0;
*((_DWORD *)this + 178) = &off_CF8DE0;
*((_DWORD *)this + 179) = &off_CF8DF0;
*((_DWORD *)this + 180) = &off_CF8DFC;
*((_DWORD *)this + 181) = &off_CF8E28;
v2 = (GameLevelManager *)GameLevelManager::sharedState(this);
if ( v2 )
{
v3 = (EditorSoundBrowserLayer **)GameLevelManager::sharedState(v2);
if ( v3[218] == (EditorSoundBrowserLayer *)((char *)this + 712) )
*(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)v3) + 872) = 0;
}
v4 = *((cocos2d::CCObject **)this + 190);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 198);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 199);
if ( v6 )
cocos2d::CCObject::release(v6);
std::string::~string((int)this + 780);
std::string::~string((int)this + 768);
SetupTriggerPopup::~SetupTriggerPopup(this);
}