// // AchievementManager::limitForAchievement from 0x1000e8538 to 0x1000e85b8 (128 bytes) // // 1 xrefs: // > ItemInfoPopup::init @ 0x1003084b4 // // 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::limitForAchievement(AchievementManager *a1, const char *a2) { cocos2d::CCDictionary *result; // x0 cocos2d::CCDictionary *v3; // x19 __int64 v4; // x0 cocos2d::CCString *v5; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v7; // [xsp+1Fh] [xbp-11h] if ( a2[23] < 0 ) a2 = *(const char **)a2; result = AchievementManager::getAchievementsWithID(a1, a2); if ( result ) { v3 = result; sub_100009900(__p, "limits"); v4 = cocos2d::CCDictionary::objectForKey_1(v3, __p); v5 = (cocos2d::CCString *)v4; if ( v7 < 0 ) { operator delete(__p[0]); if ( v5 ) return (cocos2d::CCDictionary *)cocos2d::CCString::intValue(v5); } else if ( v4 ) { return (cocos2d::CCDictionary *)cocos2d::CCString::intValue(v5); } return nullptr; } return result; }