//
// CustomSongWidget::onSelect from 0x1000fab78 to 0x1000fabd8 (96 bytes)
//
// 1 xrefs:
// > CustomSongWidget::init @ 0x1000f9d78
//
// 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::onSelect(CustomSongWidget *a1, cocos2d::CCObject *a2)
{
SongInfoObject *m_songInfoObject; // x8
CustomSongDelegate *m_songDelegate; // x0
MusicDownloadManager *v5; // x0
m_songInfoObject = a1->m_songInfoObject;
if ( m_songInfoObject )
{
m_songDelegate = a1->m_songDelegate;
if ( m_songDelegate )
((void (__fastcall *)(CustomSongDelegate *, _QWORD))m_songDelegate->songIDChanged)(
m_songDelegate,
(unsigned int)m_songInfoObject->m_songID);
CustomSongWidget::updateSongInfo(a1);
if ( a1->m_isInCell )
{
v5 = MusicDownloadManager::sharedState();
MusicDownloadManager::songStateChanged(v5);
}
}
}