// // GameLevelManager::getSavedLevelLists from 0x100097514 to 0x1000975a8 (148 bytes) // // 2 xrefs: // > LevelBrowserLayer::loadPage @ 0x10041721c // > LevelBrowserLayer::FLAlert_Clicked @ 0x100419720 // // 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 // cocos2d::CCArray *__fastcall GameLevelManager::getSavedLevelLists(GameLevelManager *a1, int a2) { cocos2d::CCArray *v4; // x19 cocos2d::CCDictionary *m_favoriteLists; // x8 cocos2d::CCDictElement *m_pElements; // x21 cocos2d::CCObject *m_pObject; // x1 v4 = (cocos2d::CCArray *)sub_10024A15C(a1); m_favoriteLists = a1->m_favoriteLists; if ( m_favoriteLists ) { m_pElements = m_favoriteLists->m_pElements; while ( m_pElements ) { m_pObject = m_pElements->m_pObject; m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next; if ( a2 < 1 || m_pObject[6].m_uIndexInArray == a2 ) sub_10024A2D0(v4, m_pObject); } } if ( (unsigned int)sub_10024A36C(v4) ) qsort(v4->data->arr, v4->data->num, 8u, (int (__cdecl *)(const void *, const void *))sub_100087A60); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source