// // GameLevelManager::markLevelAsDownloaded from 0x1000a0830 to 0x1000a08e0 (176 bytes) // // 2 xrefs: // > GameLevelManager::processOnDownloadLevelCompleted @ 0x1000a05f4 // > GameLevelManager::markListAsDownloaded @ 0x1000a0904 // // 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::markLevelAsDownloaded(GameLevelManager *a1, int a2) { cocos2d::CCDictionary *m_downloadedLevels; // x21 cocos2d::CCString *m_trueString; // x20 cocos2d::CCString *v6; // x0 char *CString; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v9; // [xsp+1Fh] [xbp-21h] if ( cocos2d::CCDictionary::count(a1->m_downloadedLevels) >= 0x64 ) { cocos2d::CCDictionary::getFirstKey(__p, a1->m_downloadedLevels); cocos2d::CCDictionary::removeObjectForKey_1((int)a1->m_downloadedLevels, (char *)__p); if ( v9 < 0 ) operator delete(__p[0]); } m_downloadedLevels = a1->m_downloadedLevels; m_trueString = a1->m_trueString; v6 = (cocos2d::CCString *)sub_100268F4C("%i", a2); CString = (char *)cocos2d::CCString::getCString(v6); sub_100009900(__p, CString); cocos2d::CCDictionary::setObject_1(m_downloadedLevels, m_trueString, __p); if ( v9 < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source