// // MusicBrowser::onPage from 0x5826dc to 0x582744 (104 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 MusicBrowser::onPage(MusicBrowser *a1, cocos2d::CCObject *a2) { MusicSearchResult *m_searchResult; // r3 unsigned int v5; // r0 float v6; // r0 int m_startIndex; // r4 int v8; // s15 int v9; // r3 MusicSearchResult *v10; // r1 m_searchResult = a1->m_searchResult; if ( m_searchResult ) { v5 = cocos2d::CCArray::count(m_searchResult->m_filterObjects); v6 = ceilf((float)(v5 / 0xA)); m_startIndex = a1->m_searchResult->m_startIndex; v8 = (int)v6; if ( a2->getTag(a2) == 1 ) v9 = m_startIndex + 1; else v9 = m_startIndex - 1; if ( v9 >= 0 && v9 <= v8 ) { v10 = a1->m_searchResult; v10->m_startIndex = v9; MusicBrowser::setupList(a1, v10); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source