// // GameManager::verifyAchievementUnlocks from 0x3261f4 to 0x326296 (162 bytes) // // 1 xrefs: // > GameManager::dataLoaded @ 0x328db4 // // 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 GameManager::verifyAchievementUnlocks(GameManager *a1) { unsigned int v2; // r6 AchievementManager *v3; // r0 cocos2d::CCArray *AllAchievements; // r7 cocos2d::CCDictionary *v5; // r9 cocos2d::CCString *v6; // r0 char *CString; // r9 AchievementManager *v8; // r0 std::string v9; // [sp+8h] [bp-Ch] BYREF v2 = 0; v3 = AchievementManager::sharedState(); AllAchievements = AchievementManager::getAllAchievements(v3); while ( v2 < cocos2d::CCArray::count(AllAchievements) ) { v5 = (cocos2d::CCDictionary *)cocos2d::CCArray::objectAtIndex(AllAchievements, v2); sub_776584((int)&v9, "identifier"); v6 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v5, &v9); CString = (char *)cocos2d::CCString::getCString(v6); sub_774008(&v9); v8 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v8, CString) ) { sub_776584((int)&v9, CString); GameManager::completedAchievement(a1, (const char **)&v9); sub_774008(&v9); } ++v2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source