// // AchievementManager::reportPlatformAchievementWithID from 0x2da734 to 0x2da7ec (184 bytes) // // 2 xrefs: // > AchievementManager::reportAchievementWithID @ 0x2da85a // > GameManager::syncPlatformAchievements @ 0x3223aa // // 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 AchievementManager::reportPlatformAchievementWithID(AchievementManager *a1, const char *a2, int a3) { cocos2d::CCDictionary *m_platformAchievements; // r7 cocos2d::CCDictionary *v5; // r7 cocos2d::CCString *v6; // r0 char *CString; // r7 int v8; // r9 _BYTE v9[4]; // [sp+Ch] [bp-10h] BYREF std::string v10; // [sp+10h] [bp-Ch] BYREF m_platformAchievements = a1->m_platformAchievements; sub_776584((int)&v10, (char *)a2); v5 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::objectForKey(m_platformAchievements, &v10); sub_774008(&v10); if ( v5 ) { sub_776584((int)&v10, "googleID"); v6 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v5, &v10); CString = (char *)cocos2d::CCString::getCString(v6); sub_774008(&v10); if ( CString ) { sub_776584((int)v9, CString); sub_776584((int)&v10, (char *)&unk_939830); v8 = sub_774DBC(v9, &v10); sub_774008(&v10); sub_774008(v9); if ( v8 ) PlatformToolbox::reportAchievementWithID(CString, a3); } } }