//
// CustomSongWidget::downloadSongFinished from 0x7492a4 to 0x749378 (212 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CustomSongWidget::downloadSongFinished @ 0x74938c
// > ??> @ 0x500e8
// > ??> @ 0x1161918
//
// 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::downloadSongFinished(CustomSongWidget *a1, int a2)
{
if ( a1->m_hasSFX )
{
CustomSongWidget::downloadAssetFinished(a1, a2, (GJAssetType)1);
}
else if ( CustomSongWidget::verifySongID(a1, a2) )
{
a1->m_errorLabel->setColor(a1->m_errorLabel, (const cocos2d::ccColor3B *)&unk_ECD700);
a1->m_errorLabel->setString(a1->m_errorLabel, "Download complete.");
if ( a1->m_isMusicLibrary )
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_errorLabel, 140.0, 0.35, 0.0);
else
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_errorLabel, 230.0, 0.4, 0.0);
CustomSongWidget::showError(a1, 1);
}
}