// // GameLevelManager::firstSetup from 0x10053ab70 to 0x10053af26 (950 bytes) // // 1 xrefs: // > GameManager::firstLoad @ 0x10038ab24 // // 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::firstSetup(GameLevelManager *a1) { cocos2d::CCDictionary *v2; // rax cocos2d::CCDictionary *m_mainLevels; // rdi cocos2d::CCDictionary *v4; // r14 cocos2d::CCDictionary *v5; // rax cocos2d::CCDictionary *m_downloadedLevels; // rdi cocos2d::CCDictionary *v7; // r14 cocos2d::CCDictionary *v8; // rax cocos2d::CCDictionary *m_searchFilters; // rdi cocos2d::CCDictionary *v10; // r14 cocos2d::CCDictionary *v11; // rax cocos2d::CCDictionary *m_ratedLevels; // rdi cocos2d::CCDictionary *v13; // r14 cocos2d::CCDictionary *v14; // rax cocos2d::CCDictionary *m_ratedDemons; // rdi cocos2d::CCDictionary *v16; // r14 cocos2d::CCDictionary *v17; // rax cocos2d::CCDictionary *m_reportedLevels; // rdi cocos2d::CCDictionary *v19; // r14 cocos2d::CCDictionary *v20; // rax cocos2d::CCDictionary *m_likedLevels; // rdi cocos2d::CCDictionary *v22; // r14 cocos2d::CCDictionary *v23; // rax cocos2d::CCDictionary *m_onlineFolders; // rdi cocos2d::CCDictionary *v25; // r14 cocos2d::CCDictionary *v26; // rax cocos2d::CCDictionary *m_localLevelsFolders; // rdi cocos2d::CCDictionary *v28; // r14 cocos2d::CCDictionary *v29; // rax cocos2d::CCDictionary *m_onlineLevels; // rdi cocos2d::CCDictionary *v31; // r14 cocos2d::CCDictionary *v32; // rax cocos2d::CCDictionary *m_dailyLevels; // rdi cocos2d::CCDictionary *v34; // r14 cocos2d::CCDictionary *v35; // rax cocos2d::CCDictionary *m_gauntletLevels; // rdi cocos2d::CCDictionary *v37; // r14 cocos2d::CCDictionary *v38; // rax cocos2d::CCDictionary *m_storedLevelData; // rdi cocos2d::CCDictionary *v40; // r14 cocos2d::CCDictionary *v41; // rax cocos2d::CCDictionary *m_followedCreators; // rdi cocos2d::CCDictionary *v43; // r14 cocos2d::CCDictionary *v44; // rax cocos2d::CCDictionary *m_favoriteLists; // rdi cocos2d::CCDictionary *v46; // r14 v2 = cocos2d::CCDictionary::create(); m_mainLevels = a1->m_mainLevels; if ( m_mainLevels != v2 ) { v4 = v2; if ( v2 ) { cocos2d::CCObject::retain(v2); m_mainLevels = a1->m_mainLevels; } if ( m_mainLevels ) cocos2d::CCObject::release(m_mainLevels); a1->m_mainLevels = v4; } if ( !a1->m_downloadedLevels ) { v5 = cocos2d::CCDictionary::create(); m_downloadedLevels = a1->m_downloadedLevels; if ( m_downloadedLevels != v5 ) { v7 = v5; if ( v5 ) { cocos2d::CCObject::retain(v5); m_downloadedLevels = a1->m_downloadedLevels; } if ( m_downloadedLevels ) cocos2d::CCObject::release(m_downloadedLevels); a1->m_downloadedLevels = v7; } } if ( !a1->m_searchFilters ) { v8 = cocos2d::CCDictionary::create(); m_searchFilters = a1->m_searchFilters; if ( m_searchFilters != v8 ) { v10 = v8; if ( v8 ) { cocos2d::CCObject::retain(v8); m_searchFilters = a1->m_searchFilters; } if ( m_searchFilters ) cocos2d::CCObject::release(m_searchFilters); a1->m_searchFilters = v10; } } if ( !a1->m_ratedLevels ) { v11 = cocos2d::CCDictionary::create(); m_ratedLevels = a1->m_ratedLevels; if ( m_ratedLevels != v11 ) { v13 = v11; if ( v11 ) { cocos2d::CCObject::retain(v11); m_ratedLevels = a1->m_ratedLevels; } if ( m_ratedLevels ) cocos2d::CCObject::release(m_ratedLevels); a1->m_ratedLevels = v13; } } if ( !a1->m_ratedDemons ) { v14 = cocos2d::CCDictionary::create(); m_ratedDemons = a1->m_ratedDemons; if ( m_ratedDemons != v14 ) { v16 = v14; if ( v14 ) { cocos2d::CCObject::retain(v14); m_ratedDemons = a1->m_ratedDemons; } if ( m_ratedDemons ) cocos2d::CCObject::release(m_ratedDemons); a1->m_ratedDemons = v16; } } if ( !a1->m_reportedLevels ) { v17 = cocos2d::CCDictionary::create(); m_reportedLevels = a1->m_reportedLevels; if ( m_reportedLevels != v17 ) { v19 = v17; if ( v17 ) { cocos2d::CCObject::retain(v17); m_reportedLevels = a1->m_reportedLevels; } if ( m_reportedLevels ) cocos2d::CCObject::release(m_reportedLevels); a1->m_reportedLevels = v19; } } if ( !a1->m_likedLevels ) { v20 = cocos2d::CCDictionary::create(); m_likedLevels = a1->m_likedLevels; if ( m_likedLevels != v20 ) { v22 = v20; if ( v20 ) { cocos2d::CCObject::retain(v20); m_likedLevels = a1->m_likedLevels; } if ( m_likedLevels ) cocos2d::CCObject::release(m_likedLevels); a1->m_likedLevels = v22; } } if ( !a1->m_onlineFolders ) { v23 = cocos2d::CCDictionary::create(); m_onlineFolders = a1->m_onlineFolders; if ( m_onlineFolders != v23 ) { v25 = v23; if ( v23 ) { cocos2d::CCObject::retain(v23); m_onlineFolders = a1->m_onlineFolders; } if ( m_onlineFolders ) cocos2d::CCObject::release(m_onlineFolders); a1->m_onlineFolders = v25; } } if ( !a1->m_localLevelsFolders ) { v26 = cocos2d::CCDictionary::create(); m_localLevelsFolders = a1->m_localLevelsFolders; if ( m_localLevelsFolders != v26 ) { v28 = v26; if ( v26 ) { cocos2d::CCObject::retain(v26); m_localLevelsFolders = a1->m_localLevelsFolders; } if ( m_localLevelsFolders ) cocos2d::CCObject::release(m_localLevelsFolders); a1->m_localLevelsFolders = v28; } } v29 = cocos2d::CCDictionary::create(); m_onlineLevels = a1->m_onlineLevels; if ( m_onlineLevels != v29 ) { v31 = v29; if ( v29 ) { cocos2d::CCObject::retain(v29); m_onlineLevels = a1->m_onlineLevels; } if ( m_onlineLevels ) cocos2d::CCObject::release(m_onlineLevels); a1->m_onlineLevels = v31; } v32 = cocos2d::CCDictionary::create(); m_dailyLevels = a1->m_dailyLevels; if ( m_dailyLevels != v32 ) { v34 = v32; if ( v32 ) { cocos2d::CCObject::retain(v32); m_dailyLevels = a1->m_dailyLevels; } if ( m_dailyLevels ) cocos2d::CCObject::release(m_dailyLevels); a1->m_dailyLevels = v34; } v35 = cocos2d::CCDictionary::create(); m_gauntletLevels = a1->m_gauntletLevels; if ( m_gauntletLevels != v35 ) { v37 = v35; if ( v35 ) { cocos2d::CCObject::retain(v35); m_gauntletLevels = a1->m_gauntletLevels; } if ( m_gauntletLevels ) cocos2d::CCObject::release(m_gauntletLevels); a1->m_gauntletLevels = v37; } v38 = cocos2d::CCDictionary::create(); m_storedLevelData = a1->m_storedLevelData; if ( m_storedLevelData != v38 ) { v40 = v38; if ( v38 ) { cocos2d::CCObject::retain(v38); m_storedLevelData = a1->m_storedLevelData; } if ( m_storedLevelData ) cocos2d::CCObject::release(m_storedLevelData); a1->m_storedLevelData = v40; } v41 = cocos2d::CCDictionary::create(); m_followedCreators = a1->m_followedCreators; if ( m_followedCreators != v41 ) { v43 = v41; if ( v41 ) { cocos2d::CCObject::retain(v41); m_followedCreators = a1->m_followedCreators; } if ( m_followedCreators ) cocos2d::CCObject::release(m_followedCreators); a1->m_followedCreators = v43; } v44 = cocos2d::CCDictionary::create(); m_favoriteLists = a1->m_favoriteLists; if ( m_favoriteLists != v44 ) { v46 = v44; if ( v44 ) { cocos2d::CCObject::retain(v44); m_favoriteLists = a1->m_favoriteLists; } if ( m_favoriteLists ) cocos2d::CCObject::release(m_favoriteLists); a1->m_favoriteLists = v46; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source