// // GameLevelManager::getSavedDailyLevelFromLevelID from 0x100098c04 to 0x100098c3c (56 bytes) // // 2 xrefs: // > CommentCell::loadFromComment @ 0x100106984 // > CommentCell::loadFromComment @ 0x100106b0c // // 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 // GJGameLevel *__fastcall GameLevelManager::getSavedDailyLevelFromLevelID(GameLevelManager *a1, int a2) { cocos2d::CCDictionary *m_dailyLevels; // x8 cocos2d::CCDictElement *m_pElements; // x8 GJGameLevel *result; // x0 m_dailyLevels = a1->m_dailyLevels; if ( !m_dailyLevels ) return nullptr; m_pElements = m_dailyLevels->m_pElements; if ( !m_pElements ) return nullptr; while ( 1 ) { result = (GJGameLevel *)m_pElements->m_pObject; if ( result->m_levelID.random - result->m_levelID.seed == a2 ) break; m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next; if ( !m_pElements ) return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source