// // GameLevelManager::invalidateRequests from 0x1000a8a8c to 0x1000a8b5c (208 bytes) // // 6 xrefs: // > GameLevelManager::onDeleteFriendRequestCompleted @ 0x10008d084 // > ProfilePage::init @ 0x100196ae4 // > ProfilePage::init @ 0x100196af4 // > ProfilePage::onUpdate @ 0x100197998 // > ProfilePage::onUpdate @ 0x1001979a8 // > FRequestProfilePage::onUpdate @ 0x1001b6d6c // // 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::invalidateRequests(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 FriendRequestDelegate *m_friendRequestDelegate; // 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("fReq_%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_friendRequestDelegate = a1->m_friendRequestDelegate; if ( m_friendRequestDelegate ) ((void (__fastcall *)(FriendRequestDelegate *, _BOOL8))m_friendRequestDelegate->forceReloadRequests)( m_friendRequestDelegate, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source