// // AchievementManager::notifyAchievementWithID from 0x3b84d4 to 0x3b85ce (250 bytes) // // 1 xrefs: // > AchievementManager::reportAchievementWithID @ 0x3bf060 // // 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:46:21 +0000 // FMODAudioEngine *__fastcall AchievementManager::notifyAchievementWithID(FMODAudioEngine *this, const char *a2) { int v2; // r4 int v4; // r7 size_t v5; // r0 int v6; // r5 cocos2d::CCString *v7; // r0 AchievementBar *CString; // r8 cocos2d::CCString *v9; // r0 const char *v10; // r7 cocos2d::CCString *v11; // r0 const char *v12; // r5 AchievementNotifier *v13; // r0 cocos2d::CCArray **v14; // r0 int v15; // [sp+8h] [bp-10h] BYREF int v16; // [sp+Ch] [bp-Ch] int v17; // [sp+10h] [bp-8h] v2 = *((unsigned __int8 *)this + 284); if ( !*((_BYTE *)this + 284) ) { v4 = *((_DWORD *)this + 67); v15 = *((unsigned __int8 *)this + 284); v16 = v2; v17 = v2; v5 = strlen(a2); std::string::__init(&v15, a2, v5); v6 = cocos2d::CCDictionary::objectForKey(v4, &v15); this = (FMODAudioEngine *)std::string::~string((int)&v15); if ( v6 ) { v15 = 0; v16 = 0; v17 = 0; std::string::__init(&v15, "title", 5u); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v6, &v15); CString = (AchievementBar *)cocos2d::CCString::getCString(v7); std::string::~string((int)&v15); v15 = 0; v16 = 0; v17 = 0; std::string::__init(&v15, "achievedDescription", 0x13u); v9 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v6, &v15); v10 = (const char *)cocos2d::CCString::getCString(v9); std::string::~string((int)&v15); v15 = 0; v16 = 0; v17 = 0; std::string::__init(&v15, "icon", 4u); v11 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v6, &v15); v12 = (const char *)cocos2d::CCString::getCString(v11); v13 = (AchievementNotifier *)std::string::~string((int)&v15); v14 = (cocos2d::CCArray **)AchievementNotifier::sharedState(v13); return AchievementNotifier::notifyAchievement(v14, CString, v10, v12, 0); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source