// // NCSInfoLayer::onLibrary from 0x1400c6c30 to 0x1400c6ca0 (112 bytes) // // 2 xrefs: // > NCSInfoLayer::init @ 0x1400c6831 // > @ 0x1406c81d8 // // 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 NCSInfoLayer::onLibrary(NCSInfoLayer *a1, cocos2d::CCObject *a2) { CustomSongLayer *m_songLayer; // rcx CustomSongDelegate *m_songDelegate; // rcx int v5; // eax MusicBrowser *v6; // rax CustomSongLayer *v7; // rcx MusicBrowserDelegate *v8; // rdx m_songLayer = a1->m_songLayer; if ( m_songLayer && (m_songDelegate = m_songLayer->m_songDelegate) != nullptr ) v5 = ((__int64 (__fastcall *)(CustomSongDelegate *, cocos2d::CCObject *))m_songDelegate->getActiveSongID)( m_songDelegate, a2); else v5 = 0; v6 = MusicBrowser::create(v5, (GJSongType)1); v7 = a1->m_songLayer; v8 = &v7->MusicBrowserDelegate; if ( !v7 ) v8 = nullptr; v6->m_delegate = v8; v6->show(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source