//
// sub_1005E2880 from 0x1005e2880 to 0x1005e28ea (106 bytes)
//
// 1 xrefs:
// > ??> @ 0x100976d00
//
// 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
//
void __fastcall sub_1005E2880(MusicDownloadDelegate *__p)
{
MusicDownloadManager *v2; // rax
cocos2d::CCObject *v3; // rdi
__p->__vftable = (MusicDownloadDelegate_vtbl *)off_100976CF0;
__p[40].__vftable = (MusicDownloadDelegate_vtbl *)off_100977090;
__p[41].__vftable = (MusicDownloadDelegate_vtbl *)&off_1009770F0;
v2 = MusicDownloadManager::sharedState();
MusicDownloadManager::removeMusicDownloadDelegate(v2, __p + 40);
v3 = (cocos2d::CCObject *)__p[42].__vftable;
if ( v3 )
cocos2d::CCObject::release(v3);
cocos2d::CCNode::dCCNode((__int64)__p);
operator delete(__p);
}