// // GameLevelManager::invalidateMessages from 0x1000a5b3c to 0x1000a5c0c (208 bytes) // // 7 xrefs: // > GameLevelManager::onBlockUserCompleted @ 0x10008d574 // > GameLevelManager::onDeleteUserMessagesCompleted @ 0x10008e454 // > ProfilePage::init @ 0x100196ac4 // > ProfilePage::init @ 0x100196ad4 // > ProfilePage::onUpdate @ 0x100197978 // > ProfilePage::onUpdate @ 0x100197988 // > MessagesProfilePage::onUpdate @ 0x1001ccc18 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall GameLevelManager::invalidateMessages(GameLevelManager *a1, bool a2, bool a3) { _BOOL4 v3; // w21 _BOOL8 v4; // x19 int v6; // w24 cocos2d::CCString *v7; // x0 char *CString; // x0 void **v9; // x1 cocos2d::CCArray *StoredOnlineLevels; // x23 MessageListDelegate *m_messageListDelegate; // x0 void *__p[2]; // [xsp+18h] [xbp-58h] BYREF char v13; // [xsp+2Fh] [xbp-41h] v3 = a3; v4 = a2; v6 = 0; do { v7 = (cocos2d::CCString *)sub_100268F4C("messages_%i_%i", v4, v6); CString = (char *)cocos2d::CCString::getCString(v7); sub_100009900(__p, CString); if ( v13 >= 0 ) v9 = __p; else v9 = (void **)__p[0]; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(a1, (const char *)v9); if ( StoredOnlineLevels ) cocos2d::CCDictionary::removeObjectForKey_1((int)a1->m_storedLevels, (char *)__p); if ( v13 < 0 ) operator delete(__p[0]); ++v6; } while ( StoredOnlineLevels ); if ( v3 ) { m_messageListDelegate = a1->m_messageListDelegate; if ( m_messageListDelegate ) ((void (__fastcall *)(MessageListDelegate *, _BOOL8))m_messageListDelegate->forceReloadMessages)( m_messageListDelegate, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source