// // SFXSearchResult::getSelectedPage from 0x82ee58 to 0x82eee8 (144 bytes) // // 3 xrefs: // > SFXBrowser::setupSFXBrowser @ 0xa5dddc // > SFXBrowser::onExitFolder @ 0xa5f1c4 // > @ 0x79c80 // // 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; // x20 signed int i; // w19 m_filterObjects = a1->m_filterObjects; if ( !m_filterObjects || a3 <= 0 ) return 0; for ( i = 0; i < (unsigned int)cocos2d::CCArray::count(m_filterObjects); ++i ) { if ( *(_DWORD *)(cocos2d::CCArray::objectAtIndex(m_filterObjects, i) + 56) == a2 ) return vcvtms_s32_f32((float)(i / a3)); } i = 0; return vcvtms_s32_f32((float)(i / a3)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source