//
// CustomSongWidget::musicActionFinished from 0x4e5c74 to 0x4e5c8a (22 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CustomSongWidget::musicActionFinished @ 0x4e5c8e
//
// 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:51:05 +0000
//
unsigned __int8 *__fastcall CustomSongWidget::musicActionFinished(unsigned __int8 *result, int a2, int a3, int a4)
{
int v4; // r2
if ( a2 == 2 )
{
v4 = result[376];
if ( result[376] )
{
result[376] = 0;
return (unsigned __int8 *)CustomSongWidget::onDownload((CustomSongWidget *)result, nullptr, v4, a4);
}
}
return result;
}