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

GD Web Decomp

Raw Source