// // CustomSongLayer::onMusicBrowser from 0x45e0c6 to 0x45e0f2 (44 bytes) // // 0 xrefs: // // 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; // r0 MusicBrowser *v4; // r0 MusicBrowser_vtbl *v5; // r3 m_songDelegate = a1->m_songDelegate; if ( m_songDelegate ) m_songDelegate = (CustomSongDelegate *)((int (__fastcall *)(CustomSongDelegate *, cocos2d::CCObject *))m_songDelegate->getActiveSongID)( m_songDelegate, a2); v4 = MusicBrowser::create((int)m_songDelegate, Music); v5 = v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4->m_delegate = &a1->MusicBrowserDelegate; ((void (*)(void))v5->show)(); }