// // GameStatsManager::hasCompletedStarLevel from 0x40c9d0 to 0x40ca20 (80 bytes) // // 5 xrefs: // > PlayLayer::levelComplete @ 0x3137a4 // > LevelCell::loadCustomLevelCell @ 0x3327be // > LevelInfoLayer::updateLabelValues @ 0x3b2fb6 // > LevelPage::updateDynamicPage @ 0x40b1fc // > GameStatsManager::completedStarLevel @ 0x41bd78 // // 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 // bool GameStatsManager::hasCompletedStarLevel(GameStatsManager *a1, GJGameLevel *a2) { cocos2d::CCDictionary *m_completedLevels; // r6 char *StarLevelKey; // r0 int v4; // r6 bool result; // r0 std::string v6; // [sp+8h] [bp-8h] BYREF m_completedLevels = a1->m_completedLevels; StarLevelKey = (char *)GameStatsManager::getStarLevelKey(a1, a2); sub_776584((int)&v6, StarLevelKey); v4 = cocos2d::CCDictionary::objectForKey(m_completedLevels, &v6); sub_774008(&v6); result = v4; if ( v4 ) return 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source