//
// sub_10011E2FC from 0x10011e2fc to 0x10011e380 (132 bytes)
//
// 2 xrefs:
// > CustomSongWidget::dCustomSongWidget @ 0x10011e384
// > sub_10011E388 @ 0x10011e390
//
// 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 10:59:14 +0000
//
__int64 __fastcall sub_10011E2FC(__int64 a1)
{
__int64 v2; // x0
_DWORD *v3; // x0
void *v4; // x0
*(_QWORD *)a1 = off_1008D5690;
*(_QWORD *)(a1 + 320) = off_1008D5A78;
*(_QWORD *)(a1 + 328) = &off_1008D5AE8;
v2 = MusicDownloadManager::sharedState(a1);
MusicDownloadManager::removeMusicDownloadDelegate(v2, a1 + 320);
v3 = *(_DWORD **)(a1 + 336);
if ( v3 )
cocos2d::CCObject::release(v3);
sub_1000187C4(a1 + 632, *(_QWORD **)(a1 + 640));
v4 = *(void **)(a1 + 600);
if ( v4 )
{
*(_QWORD *)(a1 + 608) = v4;
operator delete(v4);
}
sub_1000187C4(a1 + 576, *(_QWORD **)(a1 + 584));
sub_1000187C4(a1 + 552, *(_QWORD **)(a1 + 560));
return cocos2d::CCNode::dCCNode(a1);
}