//
// CustomSongLayer::onMusicBrowser from 0x100144694 to 0x1001446dc (72 bytes)
//
// 1 xrefs:
// > CustomSongLayer::init @ 0x100143e58
//
// 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::onMusicBrowser(CustomSongLayer *a1, cocos2d::CCObject *a2)
{
CustomSongDelegate *m_songDelegate; // x0
MusicBrowser *v4; // x0
m_songDelegate = a1->m_songDelegate;
if ( m_songDelegate )
LODWORD(m_songDelegate) = ((__int64 (__fastcall *)(CustomSongDelegate *, cocos2d::CCObject *))m_songDelegate->getActiveSongID)(
m_songDelegate,
a2);
v4 = MusicBrowser::create((int)m_songDelegate, Music);
v4->m_delegate = &a1->MusicBrowserDelegate;
((void (__fastcall *)(MusicBrowser *))v4->show)(v4);
}