//
// CustomSongWidget::onGetSongInfo from 0x743e10 to 0x743e88 (120 bytes)
//
// 5 xrefs:
// > LevelInfoLayer::init @ 0x6dcf1c
// > CustomSongWidget::getSongInfoIfUnloaded @ 0x746a84
// > ??> @ 0xa38c0
// > CustomSongWidget::init @ 0x745bd8
// > ??> @ 0x122da48
//
// 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::onGetSongInfo(CustomSongWidget *a1, cocos2d::CCObject *a2)
{
cocos2d::extension::CCScale9Sprite *m_bgSpr; // x0
MusicDownloadManager *v4; // x0
if ( a1->m_songInfoObject )
{
a1->m_errorLabel->setVisible(a1->m_errorLabel, 0);
m_bgSpr = a1->m_bgSpr;
if ( m_bgSpr )
m_bgSpr->setVisible(m_bgSpr, 0);
v4 = MusicDownloadManager::sharedState();
MusicDownloadManager::getSongInfo(v4, a1->m_customSongID, 0);
CustomSongWidget::toggleUpdateButton(a1, 0);
}
}