//
// CustomSongWidget::downloadSongFailed from 0x86d154 to 0x86d1b8 (100 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CustomSongWidget::downloadSongFailed @ 0x86d1bc
// > ??> @ 0x9fe38
// > ??> @ 0x1442ea0
//
// 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::downloadSongFailed(CustomSongWidget *a1, int a2, int a3)
{
CustomSongWidget *result; // x0
if ( *((_BYTE *)a1 + 529) )
return CustomSongWidget::downloadAssetFailed(a1, a2, 1);
result = (CustomSongWidget *)(unsigned __int8)CustomSongWidget::verifySongID(a1, a2);
if ( (_BYTE)result )
{
CustomSongWidget::updateError((__int64)a1, a3);
return (CustomSongWidget *)CustomSongWidget::downloadFailed(a1);
}
return result;
}