// // GameStatsManager::removeErrorFromSpecialChests from 0x100335bf8 to 0x100335cac (180 bytes) // // 2 xrefs: // > GameStatsManager::recountSpecialStats @ 0x100335214 // > GameStatsManager::dataLoaded @ 0x10033fa2c // // 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 GameStatsManager::removeErrorFromSpecialChests(GameStatsManager *a1) { cocos2d::CCArray *v2; // x20 unsigned int v3; // w21 cocos2d::CCString *v4; // x0 char *CString; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v7; // [xsp+1Fh] [xbp-21h] GameStatsManager::processOnlineChests(a1); v2 = cocos2d::CCDictionary::allKeys(a1->m_miscChests); if ( (unsigned int)sub_10024A36C((__int64)v2) ) { v3 = 0; do { v4 = cocos2d::CCArray::stringAtIndex(v2, v3); CString = (char *)cocos2d::CCString::getCString(v4); sub_100009900(__p, CString); if ( !cocos2d::CCDictionary::objectForKey_1(a1->m_allSpecialChests, __p) && !cocos2d::CCDictionary::objectForKey_1(a1->m_wraithChests, __p) ) { cocos2d::CCDictionary::removeObjectForKey_1((int)a1->m_miscChests, (char *)__p); } if ( v7 < 0 ) operator delete(__p[0]); ++v3; } while ( v3 < (unsigned int)sub_10024A36C((__int64)v2) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source