//
// AudioAssetsPopup::musicActionFinished from 0x760eb2 to 0x760ede (44 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'AudioAssetsPopup::musicActionFinished @ 0x760ee2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:03 +0000
//
MusicDownloadManager *__fastcall AudioAssetsPopup::musicActionFinished(MusicDownloadManager *result, int a2)
{
CustomSongWidget *v2; // r4
MusicDownloadManager *v3; // r0
int v4; // r5
int v5; // r0
if ( a2 == 8 )
{
v2 = *((CustomSongWidget **)result + 179);
if ( v2 )
{
v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(result);
v4 = *((_DWORD *)v3 + 75);
v5 = MusicDownloadManager::sharedState(v3);
return (MusicDownloadManager *)CustomSongWidget::setMultiAssetFilesize(v2, v4, *(_DWORD *)(v5 + 304));
}
}
return result;
}