// // NCSInfoLayer::onLibrary from 0x100146c14 to 0x100146c78 (100 bytes) // // 1 xrefs: // > NCSInfoLayer::init @ 0x100146928 // // 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 NCSInfoLayer::onLibrary(NCSInfoLayer *a1, cocos2d::CCObject *a2) { CustomSongLayer *m_songLayer; // x8 CustomSongDelegate *m_songDelegate; // x0 MusicBrowser *v5; // x0 CustomSongLayer *v6; // x8 MusicBrowserDelegate *v7; // x8 m_songLayer = a1->m_songLayer; if ( m_songLayer ) { m_songDelegate = m_songLayer->m_songDelegate; if ( m_songDelegate ) LODWORD(m_songDelegate) = ((__int64 (__fastcall *)(CustomSongDelegate *, cocos2d::CCObject *))m_songDelegate->getActiveSongID)( m_songDelegate, a2); } else { LODWORD(m_songDelegate) = 0; } v5 = MusicBrowser::create((int)m_songDelegate, (GJSongType)1); v6 = a1->m_songLayer; if ( v6 ) v7 = &v6->MusicBrowserDelegate; else v7 = nullptr; v5->m_delegate = v7; ((void (__fastcall *)(MusicBrowser *))v5->show)(v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source