//
// CustomSongLayer::musicBrowserClosed from 0x100216350 to 0x1002163a4 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008de060
//
// 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; // rbx
int v3; // eax
SongInfoObject *v4; // rax
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;
v3 = ((__int64 (__fastcall *)(CustomSongDelegate *))a1->m_songDelegate->getActiveSongID)(a1->m_songDelegate);
v4 = SongInfoObject::create_1(v3);
CustomSongWidget::updateSongObject(m_songWidget, v4);
}
}