// // GameStatsManager::hasCompletedMainLevel from 0x419834 to 0x41988c (88 bytes) // // 7 xrefs: // > GameLevelManager::getStarLevelsString @ 0x3d57e2 // > GameLevelManager::getStarLevelsString @ 0x3d5840 // > GJWorldNode::init @ 0x4fda52 // > GJWorldNode::init @ 0x4fdcdc // > WorldSelectLayer::init @ 0x4fe790 // > LevelAreaInnerLayer::init @ 0x56d2c6 // > LevelAreaInnerLayer::init @ 0x56d2dc // // 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::hasCompletedMainLevel(GameStatsManager *a1, int a2) { cocos2d::CCDictionary *m_completedLevels; // r7 int v3; // r6 bool result; // r0 std::string v5; // [sp+10h] [bp-Ch] BYREF m_completedLevels = a1->m_completedLevels; GameStatsManager::getLevelKey((GameStatsManager *)&v5, (int)a1, a2, 0, 0, 0, 0); v3 = cocos2d::CCDictionary::objectForKey(m_completedLevels, &v5); sub_774008(&v5); result = v3; if ( v3 ) return 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source