//
// MusicDownloadManager::getCustomContentURL from 0x45a5fc to 0x45a69c (160 bytes)
//
// 9 xrefs:
// > CustomSongWidget::onDownload @ 0x3e0290
// > MusicBrowser::onUpdateLibrary @ 0x581582
// > MusicBrowser::setupMusicBrowser @ 0x581c36
// > MusicBrowser::trySetupMusicBrowser @ 0x581ca2
// > SFXBrowser::onUpdateLibrary @ 0x583008
// > SFXBrowser::setupSFXBrowser @ 0x583612
// > SFXBrowser::trySetupSFXBrowser @ 0x5836b6
// > AudioAssetsBrowser::trySetupAudioBrowser @ 0x59b7c0
// > AudioAssetsBrowser::trySetupAudioBrowser @ 0x59b7e4
//
// 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 MusicDownloadManager::getCustomContentURL(MusicDownloadManager *a1)
{
const char *v2; // [sp+10h] [bp-10h] BYREF
char *v3; // [sp+14h] [bp-Ch] BYREF
char *v4; // [sp+18h] [bp-8h] BYREF
if ( !MusicDownloadManager::isDLActive(a1, "get_c_url") )
{
MusicDownloadManager::addDLToActive(a1, "get_c_url");
sub_776584((int)&v3, "https://www.boomlings.com/database/getCustomContentURL.php");
GameLevelManager::sharedState();
GameLevelManager::getBasePostString((GameLevelManager *)&v2);
sub_776584((int)&v4, "get_c_url");
MusicDownloadManager::ProcessHttpRequest(a1, &v3, &v2, &v4, 59);
sub_774008(&v4);
sub_774008(&v2);
sub_774008(&v3);
}
}