//
// MenuLayer::~MenuLayer from 0x6eaec4 to 0x6eaf50 (140 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'MenuLayer::~MenuLayer @ 0x6eaf54
// > MenuLayer::~MenuLayer @ 0x6eaf68
// > ??> @ 0xa5670
// > ??> @ 0xdfe40
// > ??> @ 0x1426b68
//
// 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 12:51:45 +0000
//
// Alternative name is '_ZN9MenuLayerD2Ev'
void __fastcall MenuLayer::~MenuLayer(MenuLayer *this)
{
MusicDownloadManager *v2; // x0
GameManager *v3; // x0
*(_QWORD *)this = &off_1426B60;
*((_QWORD *)this + 40) = off_1427008;
*((_QWORD *)this + 41) = &off_1427078;
*((_QWORD *)this + 42) = off_1427090;
*((_QWORD *)this + 43) = off_14270B0;
*((_QWORD *)this + 44) = off_14270D8;
*((_QWORD *)this + 51) = &off_1427108;
*((_QWORD *)this + 52) = &off_1427120;
*((_QWORD *)this + 53) = &off_1427138;
v2 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)&off_1427138);
v3 = (GameManager *)MusicDownloadManager::removeMusicDownloadDelegate(v2, (MenuLayer *)((char *)this + 424));
*(_QWORD *)(GameManager::sharedState(v3) + 576) = 0;
MenuLayer::willClose(this);
cocos2d::CCLayer::~CCLayer(this);
}