// // GameLevelManager::getSavedLevel_1 from 0x100531600 to 0x100531648 (72 bytes) // // 3 xrefs: // > DailyLevelPage::refreshDailyPage @ 0x100232649 // > GauntletLayer::unlockActiveItem @ 0x100394b7e // > InfoLayer::onLevelInfo @ 0x1007b18a4 // // 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::getSavedLevel_1(GameLevelManager *a1, GJGameLevel *a2) { int random; // eax bool v3; // cc int v4; // eax int v6; // eax if ( !a2 ) return nullptr; random = a2->m_dailyID.random; v3 = random <= a2->m_dailyID.seed; v4 = random - a2->m_dailyID.seed; if ( !v3 ) return GameLevelManager::getSavedDailyLevel(a1, v4); v6 = a2->m_levelID.random - a2->m_levelID.seed; if ( a2->m_gauntletLevel ) return GameLevelManager::getSavedGauntletLevel(a1, v6); else return GameLevelManager::getSavedLevel(a1, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source