//
// CustomSongLayer::dropDownLayerWillClose from 0x45e438 to 0x45e470 (56 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CustomSongLayer::dropDownLayerWillClose @ 0x45e474
//
// 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::dropDownLayerWillClose(CustomSongLayer *a1, GJDropDownLayer *a2)
{
CustomSongWidget *m_songWidget; // r5
__int64 v4; // r0
SongInfoObject *v5; // r1
if ( LOBYTE(a2[1].m_uReference) )
{
a1->m_songDelegate->songIDChanged(a1->m_songDelegate, a2[1].m_nTag);
m_songWidget = a1->m_songWidget;
v4 = ((__int64 (__fastcall *)(CustomSongDelegate *))a1->m_songDelegate->getActiveSongID)(a1->m_songDelegate);
v5 = SongInfoObject::create((SongInfoObject *)v4, SHIDWORD(v4));
CustomSongWidget::updateSongObject(m_songWidget, v5);
}
}