// // GJGarageLayer::descriptionForUnlock from 0x50c548 to 0x50c5f4 (172 bytes) // // 1 xrefs: // > ItemInfoPopup::init @ 0x50e19c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:51:28 +0000 // AchievementManager *__fastcall GJGarageLayer::descriptionForUnlock(AchievementManager *a1, int a2, int a3) { int v6; // r0 int *v7; // r0 AchievementManager *v8; // r0 const char *v9; // r1 int AchievementsWithID; // r8 cocos2d::CCString *v11; // r0 const char *CString; // r0 const char *v13; // r8 size_t v14; // r0 int v16[3]; // [sp+4h] [bp+0h] BYREF int v17[3]; // [sp+10h] [bp+Ch] BYREF v6 = AchievementManager::sharedState(a1); v7 = AchievementManager::achievementForUnlock(v16, v6, a2, a3); v8 = (AchievementManager *)AchievementManager::sharedState((AchievementManager *)v7); if ( (v16[0] & 1) != 0 ) v9 = (const char *)v16[2]; else v9 = (char *)v16 + 1; AchievementsWithID = AchievementManager::getAchievementsWithID(v8, v9); memset(v17, 0, sizeof(v17)); std::string::__init(v17, "unachievedDescription", 0x15u); v11 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(AchievementsWithID, v17); CString = (const char *)cocos2d::CCString::getCString(v11); *(_DWORD *)a1 = 0; *((_DWORD *)a1 + 1) = 0; v13 = CString; *((_DWORD *)a1 + 2) = 0; v14 = strlen(CString); std::string::__init((int *)a1, v13, v14); std::string::~string((int)v17); std::string::~string((int)v16); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source