// // AchievementManager::isAchievementAvailable from 0x2da394 to 0x2da3ea (86 bytes) // // 2 xrefs: // > GJGarageLayer::achievementForUnlock @ 0x402b3a // > GameStatsManager::getItemUnlockStateLite @ 0x41cbd4 // // 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 // cocos2d::CCDictionary *__fastcall AchievementManager::isAchievementAvailable( AchievementManager *a1, const char **a2, stl::StringData::Internal *a3, stl::StringData::Internal *a4) { cocos2d::CCDictionary *AchievementsWithID; // r4 std::string v6[2]; // [sp+8h] [bp-8h] BYREF v6[0].m_data.m_data = a3; v6[1].m_data.m_data = a4; AchievementsWithID = AchievementManager::getAchievementsWithID(a1, *a2); if ( AchievementsWithID ) { sub_776584((int)v6, "un"); AchievementsWithID = (cocos2d::CCDictionary *)(cocos2d::CCDictionary::objectForKey(AchievementsWithID, v6) == 0); sub_774008(v6); } return AchievementsWithID; }