// // GameLevelManager::onBlockUserCompleted from 0x80e7e0 to 0x80e9dc (508 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x85cb0c // > @ 0xbd868 // // This function is hookable on this platform (idp: arm, 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 12:54:49 +0000 // __int64 __fastcall GameLevelManager::onBlockUserCompleted(GameLevelManager *a1, __int64 a2, char *a3) { char *v5; // x20 size_t v6; // x0 __int64 v7; // x24 unsigned int SplitIntFromKey; // w20 _BOOL4 v9; // w22 __int64 v10; // x0 __int64 v12; // x0 __int64 v13; // x1 __int64 v14; // x0 void (__fastcall ***v15)(_QWORD, _QWORD, __int64); // x0 __int64 v16; // [xsp+40h] [xbp+40h] BYREF __int64 v17; // [xsp+48h] [xbp+48h] void *v18; // [xsp+50h] [xbp+50h] v5 = a3 + 1; if ( (*a3 & 1) != 0 ) v5 = *((char **)a3 + 2); v16 = 0; v17 = 0; v18 = nullptr; v6 = strlen(v5); v7 = *((_QWORD *)a1 + 136); std::string::__init(&v16, v5, v6); cocos2d::CCDictionary::removeObjectForKey(v7, &v16); if ( (v16 & 1) != 0 ) operator delete(v18); SplitIntFromKey = GameLevelManager::getSplitIntFromKey(a1, v5, 1u); v16 = 0; v17 = 0; v18 = nullptr; std::string::__init(&v16, &word_117CE08, 2u); v9 = sub_7FEA60(a2, (__int64)&v16); if ( (v16 & 1) != 0 ) { operator delete(v18); if ( v9 ) { LABEL_7: v10 = *((_QWORD *)a1 + 170); if ( v10 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v10 + 8LL))(v10, SplitIntFromKey, 40); return _stack_chk_guard; } } else if ( v9 ) { goto LABEL_7; } v12 = GameLevelManager::userInfoForAccountID((cocos2d::CCDictionary **)a1, SplitIntFromKey); v13 = v12; if ( v12 ) { *(_BYTE *)(v12 + 722) = 0; *(_DWORD *)(v12 + 688) = 2; v14 = *((_QWORD *)a1 + 169); if ( v14 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v14 + 16LL))(v14, v13); } v15 = *((void (__fastcall ****)(_QWORD, _QWORD, __int64))a1 + 170); if ( v15 ) (**v15)(v15, SplitIntFromKey, 40); GameLevelManager::friendRequestWasRemoved(a1, SplitIntFromKey, 0); GameLevelManager::resetStoredUserList((__int64)a1, 1); GameLevelManager::invalidateMessages(a1, 0, 1u); GameLevelManager::removeUserFromList((__int64)a1, SplitIntFromKey, 0); GameLevelManager::unfollowUser(a1, (const char *)SplitIntFromKey); GameLevelManager::resetStoredUserList((__int64)a1, 3); GameLevelManager::resetStoredUserList((__int64)a1, 4); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source