// // GJLevelList::completedLevels from 0x3cdcfa to 0x3cdd24 (42 bytes) // // 4 xrefs: // > LevelListCell::loadFromList @ 0x33a7ca // > GameStatsManager::claimListReward @ 0x41c568 // > LevelListLayer::onClaimReward @ 0x58ec50 // > LevelListLayer::updateStatsArt @ 0x58fcc4 // // 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 // int GJLevelList::completedLevels(GJLevelList *a1) { int v1; // r5 int *m_finish; // r6 int *i; // r4 GameStatsManager *v4; // r0 int v5; // r1 v1 = 0; m_finish = a1->m_levels.m_finish; for ( i = a1->m_levels.m_start; i != m_finish; ++i ) { v4 = GameStatsManager::sharedState(); v5 = *i; if ( GameStatsManager::hasCompletedOnlineLevel(v4, v5) ) ++v1; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source