//
// sub_1004D3630 from 0x1004d3630 to 0x1004d368c (92 bytes)
//
// 1 xrefs:
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x1004d3e48
//
// 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 11:06:30 +0000
//
void __fastcall sub_1004D3630(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
v2 = MusicDownloadManager::sharedState();
if ( (*(char *)(v2 + 391) & 0x8000000000000000LL) != 0 )
{
if ( *(_QWORD *)(v2 + 376) )
goto LABEL_3;
}
else if ( *(_BYTE *)(v2 + 391) )
{
LABEL_3:
sub_1004D368C(a1);
return;
}
*(_BYTE *)(a1 + 1122) = 1;
v3 = MusicDownloadManager::sharedState();
MusicDownloadManager::addMusicDownloadDelegate(v3, a1 + 1080);
v4 = MusicDownloadManager::sharedState();
MusicDownloadManager::getCustomContentURL(v4);
}