// // GameManager::verifyStarUnlocks from 0x5e9f14 to 0x5e9f7c (104 bytes) // // 2 xrefs: // > GameManager::dataLoaded @ 0x5fb1ec // > @ 0x5eed8 // // 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 GameManager::verifyStarUnlocks(GameManager *a1) { int v1; // w19 GameLevelManager *v2; // x0 int v3; // w1 GJGameLevel *MainLevel; // x20 GameStatsManager *v5; // x0 GameStatsManager *v6; // x0 v1 = 1; do { while ( 1 ) { v2 = GameLevelManager::sharedState(); v3 = v1++; MainLevel = GameLevelManager::getMainLevel(v2, v3, 0); v5 = GameStatsManager::sharedState(); if ( GameStatsManager::hasCompletedLevel(v5, MainLevel) ) break; if ( v1 == 23 ) return; } v6 = GameStatsManager::sharedState(); GameStatsManager::completedStarLevel(v6, MainLevel); } while ( v1 != 23 ); }
GD Web Decomp Icon

GD Web Decomp

Raw Source