//
// CustomSongLayer::musicBrowserClosed from 0x83b0b0 to 0x83b11c (108 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CustomSongLayer::musicBrowserClosed @ 0x83b120
// > ??> @ 0xac770
// > ??> @ 0x118a8b0
//
// 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 CustomSongLayer::musicBrowserClosed(CustomSongLayer *a1, MusicBrowser *a2)
{
CustomSongDelegate *m_songDelegate; // x1
CustomSongWidget *m_songWidget; // x19
SongInfoObject *v5; // x0
SongInfoObject *v6; // x0
if ( a2->m_selectedCell )
{
a1->m_songDelegate->songIDChanged(a1->m_songDelegate, a2->m_songID);
m_songDelegate = a1->m_songDelegate;
m_songWidget = a1->m_songWidget;
v5 = (SongInfoObject *)((__int64 (__fastcall *)(CustomSongDelegate *))m_songDelegate->getActiveSongID)(m_songDelegate);
v6 = (SongInfoObject *)SongInfoObject::create(v5);
CustomSongWidget::updateSongObject(m_songWidget, v6);
}
}