// // SFXBrowser::onPage from 0x5844e0 to 0x584558 (120 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 SFXBrowser::onPage(SFXBrowser *a1, cocos2d::CCObject *a2) { SFXSearchResult *m_searchResult; // r3 int v5; // r0 float v6; // r0 int m_startIndex; // r4 int v8; // s15 int v9; // r3 SFXSearchResult *v10; // r1 m_searchResult = a1->m_searchResult; if ( m_searchResult ) { v5 = cocos2d::CCArray::count(m_searchResult->m_filterObjects) / a1->m_cellAmount; v6 = ceilf((float)(unsigned int)v5); 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 ) { if ( v9 == -1 ) SFXBrowser::onExitFolder(a1, a2); } else if ( v9 <= v8 ) { v10 = a1->m_searchResult; v10->m_startIndex = v9; SFXBrowser::setupList(a1, v10); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source