// // GameStatsManager::markLevelAsCompletedAndClaimed from 0x4196c4 to 0x419780 (188 bytes) // // 1 xrefs: // > GameManager::recountUserStats @ 0x328218 // // 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::markLevelAsCompletedAndClaimed(GameStatsManager *a1, GJGameLevel *a2) { char *StarLevelKey; // r0 cocos2d::CCDictionary *m_completedLevels; // r11 cocos2d::CCString *m_trueString; // r10 char *DemonLevelKey; // r0 cocos2d::CCDictionary *v8; // r9 cocos2d::CCString *v9; // r4 int v10; // [sp+0h] [bp+0h] BYREF _BYTE v11[4]; // [sp+4h] [bp+4h] BYREF _BYTE v12[4]; // [sp+8h] [bp+8h] BYREF GameStatsManager::getLevelKey((GameStatsManager *)&v10, (GJGameLevel *)a1, (int)a2); cocos2d::CCDictionary::setObject((int)a1->m_completedLevels, a1->m_trueString); StarLevelKey = (char *)GameStatsManager::getStarLevelKey(a1, a2); m_completedLevels = a1->m_completedLevels; m_trueString = a1->m_trueString; sub_776584((int)v11, StarLevelKey); cocos2d::CCDictionary::setObject((int)m_completedLevels, m_trueString); sub_774008(v11); DemonLevelKey = (char *)GameStatsManager::getDemonLevelKey(a1, a2); v8 = a1->m_completedLevels; v9 = a1->m_trueString; sub_776584((int)v12, DemonLevelKey); cocos2d::CCDictionary::setObject((int)v8, v9); sub_774008(v12); sub_774008(&v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source