//
// CustomSongWidget::downloadSongFailed from 0x4e5a12 to 0x4e5a44 (50 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CustomSongWidget::downloadSongFailed @ 0x4e5a48
//
// 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
//
int __fastcall CustomSongWidget::downloadSongFailed(MusicDownloadManager *a1, int a2, int a3)
{
int result; // r0
if ( *((_BYTE *)a1 + 377) )
return (int)CustomSongWidget::downloadAssetFailed(a1, a2, 1);
result = CustomSongWidget::verifySongID(a1, a2);
if ( result )
{
CustomSongWidget::updateError((int)a1, a3);
return CustomSongWidget::downloadFailed(a1);
}
return result;
}