//
// sub_10026A1F0 from 0x10026a1f0 to 0x10026a278 (136 bytes)
//
// 2 xrefs:
// > AudioAssetsBrowser::musicActionFinished @ 0x10026a278
// > sub_10026A27C @ 0x10026a280
//
// 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:01:43 +0000
//
void __fastcall sub_10026A1F0(__int64 a1)
{
__int64 v2; // x21
__int64 v3; // x0
__int64 v4; // x20
__int64 v5; // x0
__int64 v6; // x0
v2 = *(_QWORD *)(MusicDownloadManager::sharedState() + 400);
v3 = MusicDownloadManager::sharedState();
v4 = *(unsigned __int8 *)(v3 + 391);
if ( v2 )
{
if ( (v4 & 0x80) != 0 )
{
if ( *(_QWORD *)(v3 + 376) )
goto LABEL_4;
}
else if ( *(_BYTE *)(v3 + 391) )
{
LABEL_4:
sub_10026A060(a1);
return;
}
v6 = MusicDownloadManager::sharedState();
MusicDownloadManager::getCustomContentURL(v6);
goto LABEL_4;
}
if ( (v4 & 0x80) != 0 )
v4 = *(_QWORD *)(v3 + 376);
v5 = MusicDownloadManager::sharedState();
if ( v4 )
sub_1001DED8C(v5);
else
MusicDownloadManager::getCustomContentURL(v5);
}