// // SFXSearchResult::getSelectedPage from 0x10015d65c to 0x10015d6e8 (140 bytes) // // 2 xrefs: // > SFXBrowser::onExitFolder @ 0x1001696c4 // > SFXBrowser::setupSFXBrowser @ 0x100169b50 // // 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 __fastcall SFXSearchResult::getSelectedPage(SFXSearchResult *a1, int a2, int a3) { int result; // w0 cocos2d::CCArray *m_filterObjects; // x21 __int64 v8; // x22 result = 0; if ( a3 >= 1 ) { m_filterObjects = a1->m_filterObjects; if ( m_filterObjects ) { if ( (unsigned int)sub_10024A36C(a1->m_filterObjects) ) { v8 = 0; while ( *(_DWORD *)(sub_10024A388(m_filterObjects, v8) + 56) != a2 ) { v8 = (unsigned int)(v8 + 1); if ( (unsigned int)v8 >= (unsigned int)sub_10024A36C(m_filterObjects) ) goto LABEL_7; } } else { LABEL_7: LODWORD(v8) = 0; } return (int)(float)((unsigned int)v8 / a3); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source