//
// CustomSongWidget::onGetSongInfo from 0x1400cab30 to 0x1400cabba (138 bytes)
//
// 4 xrefs:
// > CustomSongWidget::getSongInfoIfUnloaded @ 0x1400caa8b
// > LevelInfoLayer::init @ 0x1402f938f
// > CustomSongWidget::init @ 0x1400c8983
// > ??> @ 0x1406c82ec
//
// 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; // rcx
MusicDownloadManager *v4; // rax
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);
a1->m_getSongInfoBtn->setColor(&a1->m_getSongInfoBtn->cocos2d::CCRGBAProtocol, &stru_140529A28);
a1->m_getSongInfoBtn->setEnabled(a1->m_getSongInfoBtn, 0);
}
}