// // GameStatsManager::uncompleteLevel from 0x419784 to 0x41982e (170 bytes) // // 1 xrefs: // > GameLevelManager::verifyLevelState @ 0x3c9482 // // 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 GameStatsManager::uncompleteLevel(GameStatsManager *a1, GJGameLevel *a2) { char *StarLevelKey; // r0 cocos2d::CCDictionary *m_completedLevels; // r10 char *DemonLevelKey; // r0 cocos2d::CCDictionary *v7; // r4 GameStatsManager *v8; // [sp+0h] [bp+0h] BYREF GJGameLevel *v9; // [sp+4h] [bp+4h] BYREF _BYTE v10[4]; // [sp+8h] [bp+8h] BYREF v8 = a1; v9 = a2; GameStatsManager::getLevelKey((GameStatsManager *)&v8, (GJGameLevel *)a1, (int)a2); cocos2d::CCDictionary::removeObjectForKey(a1->m_completedLevels); StarLevelKey = (char *)GameStatsManager::getStarLevelKey(a1, a2); m_completedLevels = a1->m_completedLevels; sub_776584((int)&v9, StarLevelKey); cocos2d::CCDictionary::removeObjectForKey(m_completedLevels); sub_774008(&v9); DemonLevelKey = (char *)GameStatsManager::getDemonLevelKey(a1, a2); v7 = a1->m_completedLevels; sub_776584((int)v10, DemonLevelKey); cocos2d::CCDictionary::removeObjectForKey(v7); sub_774008(v10); sub_774008(&v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source