// // GameLevelManager::invalidateRequests from 0x1402586c0 to 0x1402588c7 (519 bytes) // // 7 xrefs: // > FRequestProfilePage::onUpdate @ 0x140210fca // > GameLevelManager::onDeleteFriendRequestCompleted @ 0x1402556c1 // > ProfilePage::init @ 0x140550b4e // > ProfilePage::init @ 0x140550b95 // > ProfilePage::onUpdate @ 0x140552024 // > ProfilePage::onUpdate @ 0x14055206b // > @ 0x14091c67c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:28:44 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall GameLevelManager::invalidateRequests(__int64 a1, unsigned __int8 a2, char a3) { int v4; // ebp char v6; // si int v7; // edi cocos2d::CCString *v8; // rax const char *CString; // rax size_t v10; // r8 __int128 *v11; // rdx void *v12; // rcx __int64 v13; // rcx __int128 v14; // [rsp+50h] [rbp-58h] BYREF __int128 v15; // [rsp+60h] [rbp-48h] v4 = a2; v6 = 1; v7 = 0; do { v8 = cocos2d::CCString::createWithFormat("%s_%i_%i", "fReq", v4, v7); CString = cocos2d::CCString::getCString(v8); v14 = 0; v15 = 0; v10 = -1; do ++v10; while ( CString[v10] ); sub_14003D230(&v14, CString, v10); v11 = &v14; if ( *((_QWORD *)&v15 + 1) > 0xFu ) v11 = (__int128 *)v14; if ( GameLevelManager::getStoredOnlineLevels(a1, v11) ) cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1152), &v14); else v6 = 0; ++v7; if ( *((_QWORD *)&v15 + 1) > 0xFu ) { v12 = (void *)v14; if ( (unsigned __int64)(*((_QWORD *)&v15 + 1) + 1LL) >= 0x1000 ) { v12 = *(void **)(v14 - 8); if ( (unsigned __int64)(v14 - (_QWORD)v12 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v12); } } while ( v6 ); GameLevelManager::purgeFriendRequestSearchCache(a1, v4, 0); if ( !(_BYTE)v4 ) GameLevelManager::dropIgnoredRequestLists(a1); if ( a3 ) { v13 = *(_QWORD *)(a1 + 1504); if ( v13 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v13 + 24LL))(v13, (unsigned __int8)v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source