// // GameLevelManager::firstSetup from 0x6f43d0 to 0x6f471c (844 bytes) // // 2 xrefs: // > GameManager::firstLoad @ 0x5f0b78 // > @ 0x9d170 // // 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 GameLevelManager::firstSetup(GameLevelManager *a1) { cocos2d::CCDictionary *v2; // x0 cocos2d::CCDictionary *v3; // x20 cocos2d::CCDictionary *m_mainLevels; // x1 cocos2d::CCDictionary *v5; // x0 cocos2d::CCDictionary *v6; // x20 cocos2d::CCDictionary *m_onlineLevels; // x1 cocos2d::CCDictionary *v8; // x0 cocos2d::CCDictionary *v9; // x20 cocos2d::CCDictionary *m_dailyLevels; // x1 cocos2d::CCDictionary *v11; // x0 cocos2d::CCDictionary *v12; // x20 cocos2d::CCDictionary *m_gauntletLevels; // x1 cocos2d::CCDictionary *v14; // x0 cocos2d::CCDictionary *v15; // x20 cocos2d::CCDictionary *m_storedLevelData; // x1 cocos2d::CCDictionary *v17; // x0 cocos2d::CCDictionary *v18; // x20 cocos2d::CCDictionary *m_followedCreators; // x1 cocos2d::CCDictionary *v20; // x0 cocos2d::CCDictionary *v21; // x20 cocos2d::CCDictionary *m_favoriteLists; // x1 cocos2d::CCDictionary *v23; // x0 cocos2d::CCDictionary *v24; // x20 cocos2d::CCDictionary *m_localLevelsFolders; // x1 cocos2d::CCDictionary *v26; // x0 cocos2d::CCDictionary *v27; // x20 cocos2d::CCDictionary *m_downloadedLevels; // x1 cocos2d::CCDictionary *v29; // x0 cocos2d::CCDictionary *v30; // x20 cocos2d::CCDictionary *m_searchFilters; // x1 cocos2d::CCDictionary *v32; // x0 cocos2d::CCDictionary *v33; // x20 cocos2d::CCDictionary *m_ratedLevels; // x1 cocos2d::CCDictionary *v35; // x0 cocos2d::CCDictionary *v36; // x20 cocos2d::CCDictionary *m_ratedDemons; // x1 cocos2d::CCDictionary *v38; // x0 cocos2d::CCDictionary *v39; // x20 cocos2d::CCDictionary *m_reportedLevels; // x1 cocos2d::CCDictionary *v41; // x0 cocos2d::CCDictionary *v42; // x20 cocos2d::CCDictionary *m_likedLevels; // x1 cocos2d::CCDictionary *v44; // x0 cocos2d::CCDictionary *v45; // x20 cocos2d::CCDictionary *m_onlineFolders; // x1 v2 = cocos2d::CCDictionary::create(); v3 = v2; m_mainLevels = a1->m_mainLevels; if ( v2 != m_mainLevels ) { if ( v2 ) { cocos2d::CCObject::retain(v2); m_mainLevels = a1->m_mainLevels; } if ( m_mainLevels ) cocos2d::CCObject::release(m_mainLevels); a1->m_mainLevels = v3; } if ( !a1->m_downloadedLevels ) { v26 = cocos2d::CCDictionary::create(); v27 = v26; m_downloadedLevels = a1->m_downloadedLevels; if ( m_downloadedLevels != v26 ) { if ( v26 ) { cocos2d::CCObject::retain(v26); m_downloadedLevels = a1->m_downloadedLevels; } if ( m_downloadedLevels ) cocos2d::CCObject::release(m_downloadedLevels); a1->m_downloadedLevels = v27; } } if ( !a1->m_searchFilters ) { v29 = cocos2d::CCDictionary::create(); v30 = v29; m_searchFilters = a1->m_searchFilters; if ( m_searchFilters != v29 ) { if ( v29 ) { cocos2d::CCObject::retain(v29); m_searchFilters = a1->m_searchFilters; } if ( m_searchFilters ) cocos2d::CCObject::release(m_searchFilters); a1->m_searchFilters = v30; } } if ( !a1->m_ratedLevels ) { v32 = cocos2d::CCDictionary::create(); v33 = v32; m_ratedLevels = a1->m_ratedLevels; if ( m_ratedLevels != v32 ) { if ( v32 ) { cocos2d::CCObject::retain(v32); m_ratedLevels = a1->m_ratedLevels; } if ( m_ratedLevels ) cocos2d::CCObject::release(m_ratedLevels); a1->m_ratedLevels = v33; } } if ( !a1->m_ratedDemons ) { v35 = cocos2d::CCDictionary::create(); v36 = v35; m_ratedDemons = a1->m_ratedDemons; if ( m_ratedDemons != v35 ) { if ( v35 ) { cocos2d::CCObject::retain(v35); m_ratedDemons = a1->m_ratedDemons; } if ( m_ratedDemons ) cocos2d::CCObject::release(m_ratedDemons); a1->m_ratedDemons = v36; } } if ( !a1->m_reportedLevels ) { v38 = cocos2d::CCDictionary::create(); v39 = v38; m_reportedLevels = a1->m_reportedLevels; if ( m_reportedLevels != v38 ) { if ( v38 ) { cocos2d::CCObject::retain(v38); m_reportedLevels = a1->m_reportedLevels; } if ( m_reportedLevels ) cocos2d::CCObject::release(m_reportedLevels); a1->m_reportedLevels = v39; } } if ( !a1->m_likedLevels ) { v41 = cocos2d::CCDictionary::create(); v42 = v41; m_likedLevels = a1->m_likedLevels; if ( m_likedLevels != v41 ) { if ( v41 ) { cocos2d::CCObject::retain(v41); m_likedLevels = a1->m_likedLevels; } if ( m_likedLevels ) cocos2d::CCObject::release(m_likedLevels); a1->m_likedLevels = v42; } } if ( !a1->m_onlineFolders ) { v44 = cocos2d::CCDictionary::create(); v45 = v44; m_onlineFolders = a1->m_onlineFolders; if ( m_onlineFolders != v44 ) { if ( v44 ) { cocos2d::CCObject::retain(v44); m_onlineFolders = a1->m_onlineFolders; } if ( m_onlineFolders ) cocos2d::CCObject::release(m_onlineFolders); a1->m_onlineFolders = v45; } } if ( !a1->m_localLevelsFolders ) { v23 = cocos2d::CCDictionary::create(); v24 = v23; m_localLevelsFolders = a1->m_localLevelsFolders; if ( m_localLevelsFolders != v23 ) { if ( v23 ) { cocos2d::CCObject::retain(v23); m_localLevelsFolders = a1->m_localLevelsFolders; } if ( m_localLevelsFolders ) cocos2d::CCObject::release(m_localLevelsFolders); a1->m_localLevelsFolders = v24; } } v5 = cocos2d::CCDictionary::create(); v6 = v5; m_onlineLevels = a1->m_onlineLevels; if ( m_onlineLevels != v5 ) { if ( v5 ) { cocos2d::CCObject::retain(v5); m_onlineLevels = a1->m_onlineLevels; } if ( m_onlineLevels ) cocos2d::CCObject::release(m_onlineLevels); a1->m_onlineLevels = v6; } v8 = cocos2d::CCDictionary::create(); v9 = v8; m_dailyLevels = a1->m_dailyLevels; if ( m_dailyLevels != v8 ) { if ( v8 ) { cocos2d::CCObject::retain(v8); m_dailyLevels = a1->m_dailyLevels; } if ( m_dailyLevels ) cocos2d::CCObject::release(m_dailyLevels); a1->m_dailyLevels = v9; } v11 = cocos2d::CCDictionary::create(); v12 = v11; m_gauntletLevels = a1->m_gauntletLevels; if ( m_gauntletLevels != v11 ) { if ( v11 ) { cocos2d::CCObject::retain(v11); m_gauntletLevels = a1->m_gauntletLevels; } if ( m_gauntletLevels ) cocos2d::CCObject::release(m_gauntletLevels); a1->m_gauntletLevels = v12; } v14 = cocos2d::CCDictionary::create(); v15 = v14; m_storedLevelData = a1->m_storedLevelData; if ( m_storedLevelData != v14 ) { if ( v14 ) { cocos2d::CCObject::retain(v14); m_storedLevelData = a1->m_storedLevelData; } if ( m_storedLevelData ) cocos2d::CCObject::release(m_storedLevelData); a1->m_storedLevelData = v15; } v17 = cocos2d::CCDictionary::create(); v18 = v17; m_followedCreators = a1->m_followedCreators; if ( m_followedCreators != v17 ) { if ( v17 ) { cocos2d::CCObject::retain(v17); m_followedCreators = a1->m_followedCreators; } if ( m_followedCreators ) cocos2d::CCObject::release(m_followedCreators); a1->m_followedCreators = v18; } v20 = cocos2d::CCDictionary::create(); v21 = v20; m_favoriteLists = a1->m_favoriteLists; if ( m_favoriteLists != v20 ) { if ( v20 ) { cocos2d::CCObject::retain(v20); m_favoriteLists = a1->m_favoriteLists; } if ( m_favoriteLists ) cocos2d::CCObject::release(m_favoriteLists); a1->m_favoriteLists = v21; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source