// // GameLevelManager::deleteLevelList from 0x100093094 to 0x100093128 (148 bytes) // // 3 xrefs: // > LevelListLayer::onFavorite @ 0x100244e04 // > LevelListLayer::onDelete @ 0x100246b78 // > LevelBrowserLayer::FLAlert_Clicked @ 0x10041974c // // 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 // void __fastcall GameLevelManager::deleteLevelList(GameLevelManager *a1, GJLevelList *a2) { LocalLevelManager *v3; // x0 cocos2d::CCDictionary *m_favoriteLists; // x20 cocos2d::CCString *v5; // x0 char *CString; // x0 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v8; // [xsp+1Fh] [xbp-11h] if ( a2->m_listType == Editor ) { v3 = LocalLevelManager::sharedState(); sub_10024A444(v3->m_localLists, a2, 1); } else { m_favoriteLists = a1->m_favoriteLists; v5 = (cocos2d::CCString *)sub_100268F4C("%i", a2->m_listID); CString = (char *)cocos2d::CCString::getCString(v5); sub_100009900(__p, CString); cocos2d::CCDictionary::removeObjectForKey_1((int)m_favoriteLists, (char *)__p); if ( v8 < 0 ) operator delete(__p[0]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source