//
// CustomSongWidget::musicActionFinished from 0x86d5ac to 0x86d5cc (32 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CustomSongWidget::musicActionFinished @ 0x86d5d0
// > ??> @ 0x103b70
// > ??> @ 0x1442eb8
//
// 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 12:55:44 +0000
//
CustomSongWidget *__fastcall CustomSongWidget::musicActionFinished(CustomSongWidget *result, int a2)
{
if ( a2 == 2 )
{
if ( *((_BYTE *)result + 528) )
{
*((_BYTE *)result + 528) = 0;
return (CustomSongWidget *)CustomSongWidget::onDownload(result, nullptr);
}
}
return result;
}