//
// sub_1005E2810 from 0x1005e2810 to 0x1005e2872 (98 bytes)
//
// 1 xrefs:
// > ??> @ 0x100976cf8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1005E2810(MusicDownloadDelegate *a1)
{
MusicDownloadManager *v2; // rax
cocos2d::CCObject *v3; // rdi
a1->__vftable = (MusicDownloadDelegate_vtbl *)off_100976CF0;
a1[40].__vftable = (MusicDownloadDelegate_vtbl *)off_100977090;
a1[41].__vftable = (MusicDownloadDelegate_vtbl *)&off_1009770F0;
v2 = MusicDownloadManager::sharedState();
MusicDownloadManager::removeMusicDownloadDelegate(v2, a1 + 40);
v3 = (cocos2d::CCObject *)a1[42].__vftable;
if ( v3 )
cocos2d::CCObject::release(v3);
return cocos2d::CCNode::dCCNode((__int64)a1);
}