// // LevelInfoLayer::onUpdate from 0x10002833c to 0x1000283c4 (136 bytes) // // 1 xrefs: // > LevelInfoLayer::init @ 0x100024fec // // 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 LevelInfoLayer::onUpdate(LevelInfoLayer *a1, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 _BOOL8 isUpdateValid; // x0 GameLevelManager *v5; // x0 if ( !a1->m_isBusy ) { if ( LevelInfoLayer::shouldDownloadLevel(a1) ) { LevelInfoLayer::downloadLevel(a1); } else { v3 = GameLevelManager::sharedState(); isUpdateValid = GameLevelManager::isUpdateValid(v3, a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed); if ( isUpdateValid ) { LevelInfoLayer::showUpdateAlert((LevelInfoLayer *)isUpdateValid, UpToDate); } else { GameLevelManager::sharedState()->m_levelUpdateDelegate = &a1->LevelUpdateDelegate; v5 = GameLevelManager::sharedState(); GameLevelManager::updateLevel(v5, a1->m_level); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source