// // SFXSearchResult::getSelectedPage from 0x10059b290 to 0x10059b30c (124 bytes) // // 2 xrefs: // > SFXBrowser::onExitFolder @ 0x10043f5ec // > SFXBrowser::setupSFXBrowser @ 0x10043faae // // 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) { cocos2d::CCArray *m_filterObjects; // r15 int result; // eax unsigned int v6; // r12d m_filterObjects = a1->m_filterObjects; result = 0; if ( m_filterObjects != nullptr && a3 > 0 ) { if ( (unsigned int)sub_100720070(a1->m_filterObjects) ) { v6 = 0; while ( *(_DWORD *)(sub_1007200C0(m_filterObjects, v6) + 56) != a2 ) { if ( ++v6 >= (unsigned int)sub_100720070(m_filterObjects) ) goto LABEL_6; } } else { LABEL_6: v6 = 0; } return (int)(float)(int)(v6 / a3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source