//
// CustomSongWidget::downloadSongFailed from 0x1000fe31c to 0x1000fe384 (104 bytes)
//
// 2 xrefs:
// > sub_1000FE408 @ 0x1000fe40c
// > ??> @ 0x100787220
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall CustomSongWidget::downloadSongFailed(CustomSongWidget *a1, int a2, GJSongError a3)
{
GJSongError v3; // w3
int m_customSongID; // w8
if ( a1->m_hasSFX )
{
CustomSongWidget::downloadAssetFailed(a1, a2, (GJAssetType)1, v3);
}
else
{
m_customSongID = a1->m_customSongID;
if ( m_customSongID == a2 && m_customSongID != 0 )
{
CustomSongWidget::updateError(a1, a3);
CustomSongWidget::downloadFailed(a1);
}
}
}