// // GameLevelManager::invalidateMessages from 0x4afc6c to 0x4afd16 (170 bytes) // // 7 xrefs: // > GameLevelManager::onDeleteUserMessagesCompleted @ 0x4c22c8 // > GameLevelManager::onBlockUserCompleted @ 0x4c29a2 // > MessagesProfilePage::onUpdate @ 0x5ef69a // > ProfilePage::onUpdate @ 0x5f65aa // > ProfilePage::onUpdate @ 0x5f65b6 // > ProfilePage::init @ 0x5fae92 // > ProfilePage::init @ 0x5fae9e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:50:01 +0000 // int __fastcall GameLevelManager::invalidateMessages(cocos2d::CCDictionary **this, const char *a2, int a3) { int v3; // r8 const char *MessagesKey; // r0 const char *v8; // r5 size_t v9; // r0 char *v10; // r1 int v11; // r5 int result; // r0 int v13[2]; // [sp+0h] [bp-14h] BYREF char *v14; // [sp+8h] [bp-Ch] v3 = 0; do { MessagesKey = (const char *)GameLevelManager::getMessagesKey((GameLevelManager *)this, a2, v3); v13[0] = 0; v13[1] = 0; v14 = nullptr; v8 = MessagesKey; v9 = strlen(MessagesKey); std::string::__init(v13, v8, v9); if ( (v13[0] & 1) != 0 ) v10 = v14; else v10 = (char *)v13 + 1; if ( GameLevelManager::getStoredOnlineLevels((GameLevelManager *)this, v10) ) { cocos2d::CCDictionary::removeObjectForKey(*(this + 181)); v11 = 1; } else { v11 = 0; } ++v3; result = std::string::~string((int)v13); } while ( v11 ); if ( a3 ) { result = (int)*(this + 225); if ( result ) return (*(int (__fastcall **)(int, const char *))(*(_DWORD *)result + 8))(result, a2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source