//
// AchievementManager::getAchievementsWithID from 0x1000e84cc to 0x1000e851c (80 bytes)
//
// 4 xrefs:
// > AchievementManager::limitForAchievement @ 0x1000e8554
// > GJGarageLayer::titleForUnlock @ 0x100306a2c
// > GJGarageLayer::descriptionForUnlock @ 0x100306b18
// > GameManager::getUnlockForAchievement @ 0x10031303c
//
// 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::getAchievementsWithID(AchievementManager *a1, const char *a2)
{
cocos2d::CCDictionary *m_platformAchievements; // x19
cocos2d::CCDictionary *v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
m_platformAchievements = a1->m_platformAchievements;
sub_100009900(__p, (char *)a2);
v3 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::objectForKey_1(m_platformAchievements, __p);
if ( v6 < 0 )
operator delete(__p[0]);
return v3;
}