// // AchievementManager::init from 0x553270 to 0x5532ec (124 bytes) // // 3 xrefs: // > AchievementManager::sharedState @ 0x55335c // > @ 0x477c0 // > @ 0x11339c0 // // 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 AchievementManager::init(AchievementManager *a1) { cocos2d::CCDictionary *v2; // x0 cocos2d::CCDictionary *v3; // x0 cocos2d::CCArray *AllAchievementsSorted; // x0 cocos2d::CCArray *v5; // x0 v2 = (cocos2d::CCDictionary *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)&dword_0 + 1); a1->m_unAchieved = v2; cocos2d::CCObject::retain(v2); v3 = cocos2d::CCDictionary::create(); a1->m_platformAchievements = v3; cocos2d::CCObject::retain(v3); AchievementManager::addManualAchievements(a1); AllAchievementsSorted = AchievementManager::getAllAchievementsSorted(a1, 0); a1->m_allAchievements = AllAchievementsSorted; cocos2d::CCObject::retain(AllAchievementsSorted); v5 = AchievementManager::getAllAchievementsSorted(a1, 1); a1->m_allAchievementsSorted = v5; cocos2d::CCObject::retain(v5); AchievementManager::storeAchievementUnlocks(a1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source