//
// MusicDownloadManager::addDLToActive from 0x56c8cc to 0x56c928 (92 bytes)
//
// 11 xrefs:
// > MusicDownloadManager::addDLToActive @ 0x56c940
// > MusicDownloadManager::downloadCustomSong @ 0x57017e
// > MusicDownloadManager::downloadSong @ 0x57035a
// > MusicDownloadManager::tryUpdateMusicLibrary @ 0x570470
// > MusicDownloadManager::downloadMusicLibrary @ 0x570590
// > MusicDownloadManager::downloadSFX @ 0x57075e
// > MusicDownloadManager::tryUpdateSFXLibrary @ 0x57088c
// > MusicDownloadManager::downloadSFXLibrary @ 0x5709ac
// > MusicDownloadManager::downloadNewsFeed @ 0x570b44
// > MusicDownloadManager::downloadNewsImage @ 0x570d24
// > MusicDownloadManager::tryUpdateNewsFeed @ 0x57466e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:33 +0000
//
int __fastcall MusicDownloadManager::addDLToActive(
MusicDownloadManager *this,
const char *a2,
cocos2d::CCObject *a3,
int a4)
{
int v6; // r8
size_t v7; // r0
MusicDownloadManager *v9; // [sp+0h] [bp-10h] BYREF
const char *v10; // [sp+4h] [bp-Ch]
cocos2d::CCObject *v11; // [sp+8h] [bp-8h]
int v12; // [sp+Ch] [bp-4h]
v9 = this;
v10 = a2;
v11 = a3;
v12 = a4;
v6 = *((_DWORD *)this + 67);
v9 = nullptr;
v10 = nullptr;
v11 = nullptr;
v7 = strlen(a2);
std::string::__init((int *)&v9, a2, v7);
cocos2d::CCDictionary::setObject(v6, a3);
return std::string::~string((int)&v9);
}