//
// CustomSongWidget::downloadSongFinished from 0x3e0860 to 0x3e08c4 (100 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CustomSongWidget::downloadSongFinished @ 0x3e08e0
//
// 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)
{
float v3; // r1
float v4; // r2
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_9AAD36);
a1->m_errorLabel->setString(a1->m_errorLabel, "Download complete.");
if ( a1->m_isMusicLibrary )
{
v3 = 140.0;
v4 = 0.35;
}
else
{
v3 = 230.0;
v4 = 0.4;
}
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_errorLabel, v3, v4, 0.0);
CustomSongWidget::showError(a1, 1);
}
}