// // AchievementManager::notifyAchievementWithID from 0x1000e8854 to 0x1000e8970 (284 bytes) // // 1 xrefs: // > AchievementManager::reportAchievementWithID @ 0x1000e8b00 // // 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 // void __fastcall AchievementManager::notifyAchievementWithID(AchievementManager *a1, const char *a2) { cocos2d::CCDictionary *m_platformAchievements; // x19 __int64 v3; // x0 __int64 v4; // x19 cocos2d::CCString *v5; // x0 const char *CString; // x20 cocos2d::CCString *v7; // x0 const char *v8; // x21 cocos2d::CCString *v9; // x0 const char *v10; // x19 AchievementNotifier *v11; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v13; // [xsp+1Fh] [xbp-21h] if ( !a1->m_dontNotify ) { m_platformAchievements = a1->m_platformAchievements; sub_100009900(__p, (char *)a2); v3 = cocos2d::CCDictionary::objectForKey_1(m_platformAchievements, __p); v4 = v3; if ( v13 < 0 ) { operator delete(__p[0]); if ( !v4 ) return; } else if ( !v3 ) { return; } sub_100009900(__p, "title"); v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1(v4, __p); CString = cocos2d::CCString::getCString(v5); if ( v13 < 0 ) operator delete(__p[0]); sub_100009900(__p, "achievedDescription"); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1(v4, __p); v8 = cocos2d::CCString::getCString(v7); if ( v13 < 0 ) operator delete(__p[0]); sub_100009900(__p, "icon"); v9 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1(v4, __p); v10 = cocos2d::CCString::getCString(v9); if ( v13 < 0 ) operator delete(__p[0]); v11 = AchievementNotifier::sharedState(); AchievementNotifier::notifyAchievement(v11, CString, v8, v10, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source