//
// CustomSongWidget::onGetSongInfo from 0x1000fabd8 to 0x1000fac64 (140 bytes)
//
// 3 xrefs:
// > LevelInfoLayer::init @ 0x100025d6c
// > CustomSongWidget::getSongInfoIfUnloaded @ 0x1000fd140
// > CustomSongWidget::init @ 0x1000f9dc4
//
// 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 __fastcall CustomSongWidget::onGetSongInfo(CustomSongWidget *a1, cocos2d::CCObject *a2)
{
cocos2d::extension::CCScale9Sprite *m_bgSpr; // x0
MusicDownloadManager *v4; // x0
if ( a1->m_songInfoObject )
{
((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))a1->m_errorLabel->setVisible)(a1->m_errorLabel, 0);
m_bgSpr = a1->m_bgSpr;
if ( m_bgSpr )
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, _QWORD))m_bgSpr->setVisible)(m_bgSpr, 0);
v4 = MusicDownloadManager::sharedState();
MusicDownloadManager::getSongInfo(v4, a1->m_customSongID, 0);
((void (__fastcall *)(CCMenuItemSpriteExtra *, void *))a1->m_getSongInfoBtn->setColor)(
a1->m_getSongInfoBtn,
&unk_100636BC6);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_getSongInfoBtn->setEnabled)(a1->m_getSongInfoBtn, 0);
}
}