// // GameLevelManager::onRateStarsCompleted from 0x3c10c8 to 0x3c115a (146 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x3d709c // // 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 GameLevelManager::onRateStarsCompleted(GameLevelManager *a1, int a2, const char **a3) { int v5; // r9 _BOOL4 v6; // r8 cocos2d::CCDictionary *m_ratedLevels; // r8 char *RateStarsKey; // r0 GameStatsManager *v9; // r0 _BYTE v10[4]; // [sp+8h] [bp-Ch] BYREF v5 = atoi(*a3); sub_776584((int)v10, "-1"); v6 = sub_3BE0D8(a2, (int)v10); sub_774008(v10); if ( v6 ) { m_ratedLevels = a1->m_ratedLevels; RateStarsKey = (char *)GameLevelManager::getRateStarsKey(a1, v5); sub_776584((int)v10, RateStarsKey); cocos2d::CCDictionary::removeObjectForKey(m_ratedLevels); sub_774008(v10); } else { v9 = GameStatsManager::sharedState(); GameStatsManager::incrementStat(v9, "11"); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source