//
// sub_1001F4840 from 0x1001f4840 to 0x1001f489c (92 bytes)
//
// 2 xrefs:
// > SFXBrowser::init @ 0x1001f3120
// > SFXBrowser::musicActionFinished @ 0x1001f58a4
//
// 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:00:39 +0000
//
void __fastcall sub_1001F4840(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x19
__int64 v4; // x0
if ( *(_QWORD *)(MusicDownloadManager::sharedState() + 400) )
{
sub_1001F489C(a1);
}
else
{
v2 = MusicDownloadManager::sharedState();
v3 = *(char *)(v2 + 391);
if ( v3 < 0 )
v3 = *(_QWORD *)(v2 + 376);
v4 = MusicDownloadManager::sharedState();
if ( v3 )
sub_1001DED8C(v4);
else
MusicDownloadManager::getCustomContentURL(v4);
}
}