// // SFXSearchResult::getSelectedPage from 0x1403482a0 to 0x140348347 (167 bytes) // // 5 xrefs: // > SFXBrowser::setupSFXBrowser @ 0x14047f7b0 // > SFXBrowser::onExitFolder @ 0x140480c4e // > @ 0x140696074 // > @ 0x140696084 // > @ 0x1406d59cc // // 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 // int SFXSearchResult::getSelectedPage(SFXSearchResult *a1, int a2, int a3) { cocos2d::CCArray *m_filterObjects; // rdi signed int v6; // ebp unsigned int v7; // ebx m_filterObjects = a1->m_filterObjects; if ( !m_filterObjects || a3 <= 0 ) return 0; v6 = 0; v7 = 0; if ( cocos2d::CCArray::count(m_filterObjects) ) { while ( LODWORD(cocos2d::CCArray::objectAtIndex(m_filterObjects, v7)[1].__vftable) != a2 ) { if ( ++v7 >= cocos2d::CCArray::count(m_filterObjects) ) return (int)floorf((float)(v6 / a3)); } v6 = v7; } return (int)floorf((float)(v6 / a3)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source