//
// CustomSongLayer::musicBrowserClosed from 0x100144cb4 to 0x100144d14 (96 bytes)
//
// 2 xrefs:
// > sub_100144D14 @ 0x100144d18
// > ??> @ 0x100794e40
//
// 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 CustomSongLayer::musicBrowserClosed(CustomSongLayer *a1, MusicBrowser *a2)
{
CustomSongWidget *m_songWidget; // x20
int v4; // w0
SongInfoObject *v5; // x1
if ( a2->m_selectedCell )
{
((void (__fastcall *)(CustomSongDelegate *, _QWORD))a1->m_songDelegate->songIDChanged)(
a1->m_songDelegate,
(unsigned int)a2->m_songID);
m_songWidget = a1->m_songWidget;
v4 = ((__int64 (__fastcall *)(CustomSongDelegate *))a1->m_songDelegate->getActiveSongID)(a1->m_songDelegate);
v5 = SongInfoObject::create_1(v4);
CustomSongWidget::updateSongObject(m_songWidget, v5);
}
}