// // GameLevelManager::invalidateMessages from 0x14023c1a0 to 0x14023c2ea (330 bytes) // // 8 xrefs: // > GameLevelManager::onDeleteUserMessagesCompleted @ 0x14023bf68 // > GameLevelManager::onBlockUserCompleted @ 0x140256b1b // > MessagesProfilePage::onUpdate @ 0x14047666b // > ProfilePage::init @ 0x140550ac0 // > ProfilePage::init @ 0x140550b07 // > ProfilePage::onUpdate @ 0x140551f96 // > ProfilePage::onUpdate @ 0x140551fdd // > @ 0x14091c0dc // // 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:34 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall GameLevelManager::invalidateMessages(__int64 a1, unsigned __int8 a2, char a3) { int v4; // ebp char v6; // di int v7; // ebx cocos2d::CCString *v8; // rax const char *CString; // rax size_t v10; // r8 __int128 *v11; // rdx void *v12; // rcx __int64 v13; // rcx __int128 v14; // [rsp+30h] [rbp-58h] BYREF __int128 v15; // [rsp+40h] [rbp-48h] v4 = a2; v6 = 1; v7 = 0; do { v8 = cocos2d::CCString::createWithFormat("messages_%i_%i", 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 ); if ( a3 ) { v13 = *(_QWORD *)(a1 + 1512); if ( v13 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v13 + 16LL))(v13, (unsigned __int8)v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source