//
// AudioAssetsPopup::musicActionFinished from 0x1004a9a48 to 0x1004a9a94 (76 bytes)
//
// 2 xrefs:
// > sub_1004A9A94 @ 0x1004a9a98
// > ??> @ 0x10097ff10
//
// 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:06 +0000
//
void __fastcall AudioAssetsPopup::musicActionFinished(__int64 a1, int a2)
{
__int64 v2; // x19
int v3; // w20
int v4; // w2
if ( a2 == 8 )
{
v2 = *(_QWORD *)(a1 + 1024);
if ( v2 )
{
v3 = *(_DWORD *)(MusicDownloadManager::sharedState() + 392);
v4 = *(_DWORD *)(MusicDownloadManager::sharedState() + 396);
sub_100122884(v2, v3, v4);
}
}
}