//
// CustomSongLayer::onMusicBrowser from 0x83ac9c to 0x83acf0 (84 bytes)
//
// 3 xrefs:
// > ??> @ 0x3bd48
// > CustomSongLayer::init @ 0x83c5a0
// > ??> @ 0x1229e20
//
// 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::onMusicBrowser(CustomSongLayer *a1, cocos2d::CCObject *a2)
{
CustomSongDelegate *m_songDelegate; // x0
int v4; // w0
MusicBrowser *v5; // x0
MusicBrowser_vtbl *v6; // x2
m_songDelegate = a1->m_songDelegate;
if ( m_songDelegate )
v4 = m_songDelegate->getActiveSongID(m_songDelegate);
else
v4 = 0;
v5 = MusicBrowser::create(v4, Music);
v6 = v5->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v5->m_delegate = &a1->MusicBrowserDelegate;
((void (*)(void))v6->show)();
}