//
// CustomSongWidget::onSelect from 0x3df9b4 to 0x3df9e8 (52 bytes)
//
// 0 xrefs:
//
// 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::onSelect(CustomSongWidget *a1, cocos2d::CCObject *a2)
{
SongInfoObject *m_songInfoObject; // r3
CustomSongDelegate *m_songDelegate; // r0
MusicDownloadManager *v5; // r0
m_songInfoObject = a1->m_songInfoObject;
if ( m_songInfoObject )
{
m_songDelegate = a1->m_songDelegate;
if ( m_songDelegate )
m_songDelegate->songIDChanged(m_songDelegate, m_songInfoObject->m_songID);
CustomSongWidget::updateSongInfo(a1);
if ( a1->m_isInCell )
{
v5 = MusicDownloadManager::sharedState();
MusicDownloadManager::songStateChanged(v5);
}
}
}