//
// CustomSongWidget::downloadSongFailed from 0x1400ccfe0 to 0x1400cd05e (126 bytes)
//
// 2 xrefs:
// > ??> @ 0x14054ec80
// > ??> @ 0x1406c83a0
//
// 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 CustomSongWidget::downloadSongFailed(CustomSongWidget *a1, int a2, GJSongError a3)
{
GJSongError v3; // r9d
CustomSongWidget *v4; // rbx
int m_customSongID; // eax
v4 = (CustomSongWidget *)((char *)a1 - 320);
if ( BYTE1(a1->m_pGrid) )
{
CustomSongWidget::downloadAssetFailed((CustomSongWidget *)((char *)a1 - 320), a2, (GJAssetType)1, v3);
}
else
{
m_customSongID = v4->m_customSongID;
if ( m_customSongID == a2 )
{
if ( m_customSongID )
{
CustomSongWidget::updateError((CustomSongWidget *)((char *)a1 - 320), a3);
v4->m_sliderGroove->setVisible(v4->m_sliderGroove, 0);
cocos2d::CCNode::unschedule(v4, CustomSongWidget::updateDownloadProgress);
v4->m_isNotDownloading = 0;
CustomSongWidget::updateSongInfo(v4);
}
}
}
}