// // GameStatsManager::postLoadGameStats from 0x4191f0 to 0x4192a0 (176 bytes) // // 2 xrefs: // > GameStatsManager::dataLoaded @ 0x41de90 // > GJAccountManager::onSyncAccountCompleted @ 0x464be0 // // 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 GameStatsManager::postLoadGameStats(GameStatsManager *a1) { const char *v2; // r4 bool m_dontNotify; // r9 cocos2d::CCString *v4; // r0 char *CString; // r0 char *v6; // r8 cocos2d::CCString *v7; // r0 int v8; // r0 cocos2d::CCDictionary *m_playerStats; // [sp+4h] [bp-18h] char *v10; // [sp+Ch] [bp-10h] BYREF std::string v11; // [sp+10h] [bp-Ch] BYREF v2 = (_BYTE *)(&dword_0 + 1); m_dontNotify = AchievementManager::sharedState()->m_dontNotify; AchievementManager::sharedState()->m_dontNotify = 1; do { v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v2); CString = (char *)cocos2d::CCString::getCString(v4); sub_776584((int)&v10, CString); v6 = v10; m_playerStats = a1->m_playerStats; sub_776584((int)&v11, v10); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(m_playerStats, &v11); v8 = cocos2d::CCString::intValue(v7); GameStatsManager::setStat(a1, v6, v8); ++v2; sub_774008(&v11); sub_774008(&v10); } while ( v2 != (const char *)&word_2C ); AchievementManager::sharedState()->m_dontNotify = m_dontNotify; }
GD Web Decomp Icon

GD Web Decomp

Raw Source