// // GameLevelManager::onBlockUserCompleted from 0x10008d440 to 0x10008d59c (348 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x100089820 // // 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 // void __fastcall GameLevelManager::onBlockUserCompleted(GameLevelManager *a1, _QWORD *a2, char *__s) { char *v3; // x20 cocos2d::CCDictionary *m_friendReqAndUserBlocks; // x22 GameLevelManager *v7; // x0 __int64 SplitIntFromKey; // x20 _BOOL4 v9; // w0 _BOOL4 v10; // w21 UploadActionDelegate *m_uploadActionDelegate; // x0 cocos2d::CCObject *v12; // x0 cocos2d::CCObject *v13; // x1 UserInfoDelegate *m_userInfoDelegate; // x0 UploadActionDelegate *v15; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v17; // [xsp+1Fh] [xbp-21h] v3 = __s; if ( __s[23] < 0 ) v3 = *(char **)__s; m_friendReqAndUserBlocks = a1->m_friendReqAndUserBlocks; sub_100009900(__p, v3); v7 = (GameLevelManager *)cocos2d::CCDictionary::removeObjectForKey_1((int)m_friendReqAndUserBlocks, (char *)__p); if ( v17 < 0 ) operator delete(__p[0]); SplitIntFromKey = GameLevelManager::getSplitIntFromKey(v7, v3, 1); sub_100009900(__p, "-1"); v9 = sub_1000045BC(a2, __p); v10 = v9; if ( v17 < 0 ) { operator delete(__p[0]); if ( v10 ) { LABEL_7: m_uploadActionDelegate = a1->m_uploadActionDelegate; if ( m_uploadActionDelegate ) ((void (__fastcall *)(UploadActionDelegate *, __int64, __int64))m_uploadActionDelegate->uploadActionFailed)( m_uploadActionDelegate, SplitIntFromKey, 34); return; } } else if ( v9 ) { goto LABEL_7; } v12 = cocos2d::CCDictionary::objectForKey(a1->m_storedUserInfo, (int)SplitIntFromKey); if ( v12 ) { v13 = v12; LODWORD(v12[12].__vftable) = 2; m_userInfoDelegate = a1->m_userInfoDelegate; if ( m_userInfoDelegate ) ((void (__fastcall *)(UserInfoDelegate *, cocos2d::CCObject *))m_userInfoDelegate->userInfoChanged)( m_userInfoDelegate, v13); } v15 = a1->m_uploadActionDelegate; if ( v15 ) ((void (__fastcall *)(UploadActionDelegate *, __int64, __int64))v15->uploadActionFinished)(v15, SplitIntFromKey, 34); GameLevelManager::friendRequestWasRemoved(a1, SplitIntFromKey, 0); GameLevelManager::resetStoredUserList(a1, Blocked); GameLevelManager::invalidateMessages(a1, 0, 1); GameLevelManager::removeUserFromList(a1, SplitIntFromKey, (UserListType)0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source