//
// CustomSongWidget::onSelect from 0x746b7c to 0x746bd8 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0xc0f30
// > CustomSongWidget::init @ 0x745b8c
// > ??> @ 0x122eb18
//
// 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; // x1
CustomSongDelegate *m_songDelegate; // x0
__int64 m_songID; // x1
MusicDownloadManager *v6; // x0
m_songInfoObject = a1->m_songInfoObject;
if ( m_songInfoObject )
{
m_songDelegate = a1->m_songDelegate;
m_songID = (unsigned int)m_songInfoObject->m_songID;
if ( m_songDelegate )
m_songDelegate->songIDChanged(m_songDelegate, m_songID);
CustomSongWidget::updateSongInfo(a1);
if ( a1->m_isInCell )
{
v6 = MusicDownloadManager::sharedState();
MusicDownloadManager::songStateChanged(v6);
}
}
}