// // GJGarageLayer::descriptionForUnlock from 0x8bbcf4 to 0x8bbe38 (324 bytes) // // 2 xrefs: // > ItemInfoPopup::init @ 0x8beb14 // > @ 0xa1a28 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:56:27 +0000 // __int64 *__usercall GJGarageLayer::descriptionForUnlock@(signed int a1@, int a2@, __int64 *a3@) { __int64 v4; // x0 __int64 *v5; // x0 AchievementManager *v6; // x0 char *v7; // x1 __int64 AchievementsWithID; // x22 cocos2d::CCString *v9; // x0 const char *CString; // x0 size_t v11; // x0 char *v15; // [xsp+38h] [xbp+38h] __int64 v16[2]; // [xsp+48h] [xbp+48h] BYREF char *v17; // [xsp+58h] [xbp+58h] __int64 v18[2]; // [xsp+60h] [xbp+60h] BYREF void *v19; // [xsp+70h] [xbp+70h] v4 = AchievementManager::sharedState(_stack_chk_guard); v5 = AchievementManager::achievementForUnlock(v4, a1, a2, v16); v6 = (AchievementManager *)AchievementManager::sharedState((AchievementManager *)v5); v7 = (char *)v16 + 1; if ( (v16[0] & 1) != 0 ) v7 = v17; AchievementsWithID = AchievementManager::getAchievementsWithID(v6, v7); v18[0] = 0; v18[1] = 0; v19 = nullptr; std::string::__init(v18, "unachievedDescription", 0x15u); v9 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(AchievementsWithID, v18); CString = (const char *)cocos2d::CCString::getCString(v9); *a3 = 0; a3[1] = 0; a3[2] = 0; v15 = (char *)CString; v11 = strlen(CString); std::string::__init(a3, v15, v11); if ( (v18[0] & 1) != 0 ) operator delete(v19); if ( (v16[0] & 1) != 0 ) operator delete(v17); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source