//
// MusicDownloadManager::onGetCustomContentURLCompleted from 0x458cc4 to 0x458d30 (108 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::handleIt @ 0x45c7f8
//
// 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 MusicDownloadManager::onGetCustomContentURLCompleted(
MusicDownloadManager *a1,
char **a2,
int a3,
int a4)
{
int v6; // r8
_DWORD v7[2]; // [sp+8h] [bp-8h] BYREF
v7[0] = a3;
v7[1] = a4;
MusicDownloadManager::removeDLFromActive(a1, "get_c_url");
sub_776584((int)v7, "-1");
v6 = sub_774DBC(a2, v7);
sub_774008(v7);
if ( v6 )
{
sub_7753D4((int)&a1->m_customContentURL, *a2);
MusicDownloadManager::musicActionFinished(a1, DownloadOrUpdate);
}
else
{
MusicDownloadManager::musicActionFailed(a1, DownloadOrUpdate);
}
}