//
// MusicDelegateHandler::create from 0x95ba38 to 0x95bad0 (152 bytes)
//
// 2 xrefs:
// > MusicDownloadManager::addMusicDownloadDelegate @ 0x95bcf4
// > ??> @ 0x7bcb8
//
// 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:57:28 +0000
//
cocos2d::CCNode *__fastcall MusicDelegateHandler::create(MusicDelegateHandler *this, MusicDownloadDelegate *a2)
{
cocos2d::CCNode *v3; // x19
v3 = (cocos2d::CCNode *)operator new(0x148u);
cocos2d::CCNode::CCNode(v3);
*((_QWORD *)v3 + 40) = 0;
*(_QWORD *)v3 = &off_146E310;
if ( (unsigned __int8)MusicDelegateHandler::init(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v3 + 16LL))(v3);
return nullptr;
}
}