Ejemplo n.º 1
0
        internal void SetActivePattern(LayoutPattern pattern)
        {
            label_1 :
            int num1 = -1582567626;
            object dataLock;

            while (true)
            {
                int  num2 = -554570146;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 3U)
                {
                case 1:
                    dataLock = SharedData.dataLock;
                    num1     = (int)num3 * -1619709966 ^ -568713933;
                    continue;

                case 2:
                    goto label_1;

                default:
                    goto label_4;
                }
            }
label_4:
            bool flag = false;

            try
            {
                SharedData.\u206E​​‍‬‮‎‏‫‌‎‎‌‎‏‎​‎‏​‪‮(dataLock, ref flag);
                this.activePattern = pattern;
            }
            finally
            {
                if (flag)
                {
label_7:
                    int num2 = -2040093341;
                    while (true)
                    {
                        int  num3 = -554570146;
                        uint num4;
                        switch ((num4 = (uint)(num2 ^ num3)) % 4U)
                        {
                        case 0:
                            goto label_7;

                        case 1:
                            SharedData.\u206B‫‫‪‭‌‮‏‪‭‭‮‏‌‌‬‍‮‭‪‌​‪‌‏‏‏‍‮(dataLock);
                            num2 = (int)num4 * 980393169 ^ 2039205412;
                            continue;

                        case 3:
                            num2 = (int)num4 * 599136642 ^ -763283174;
                            continue;

                        default:
                            goto label_11;
                        }
                    }
                }
                label_11 :;
            }
        }
Ejemplo n.º 2
0
        internal void RemoveButton(ZoomButton button)
        {
            object dataLock = SharedData.dataLock;
            bool   flag     = false;

            try
            {
                SharedData.\u206E​​‍‬‮‎‏‫‌‎‎‌‎‏‎​‎‏​‪‮(dataLock, ref flag);
label_2:
                int num1 = -237930759;
                while (true)
                {
                    int  num2 = -90087806;
                    uint num3;
                    switch ((num3 = (uint)(num1 ^ num2)) % 6U)
                    {
                    case 0:
                        ((Collection <ZoomButton>) this.MeetingButtons).Remove(button);
                        num1 = (int)num3 * -1310858613 ^ -965948481;
                        continue;

                    case 1:
                        num1 = (int)num3 * -1134958852 ^ -1050688;
                        continue;

                    case 2:
                        goto label_12;

                    case 3:
                        button = (ZoomButton)null;
                        num1   = -1756225546;
                        continue;

                    case 4:
                        int num4 = ((Collection <ZoomButton>) this.MeetingButtons).Contains(button) ? 1281453152 : (num4 = 1150094729);
                        int num5 = (int)num3 * -2090776782;
                        num1 = num4 ^ num5;
                        continue;

                    case 5:
                        goto label_2;

                    default:
                        goto label_8;
                    }
                }
label_8:
                return;

                label_12 :;
            }
            finally
            {
                if (flag)
                {
                    label_10 :
                    int num1 = -1268003640;
                    while (true)
                    {
                        int  num2 = -90087806;
                        uint num3;
                        switch ((num3 = (uint)(num1 ^ num2)) % 3U)
                        {
                        case 0:
                            goto label_10;

                        case 2:
                            SharedData.\u206B‫‫‪‭‌‮‏‪‭‭‮‏‌‌‬‍‮‭‪‌​‪‌‏‏‏‍‮(dataLock);
                            num1 = (int)num3 * -332114335 ^ 1897897051;
                            continue;

                        default:
                            goto label_14;
                        }
                    }
                }
                label_14 :;
            }
        }
Ejemplo n.º 3
0
        internal static ZoomMeeting CreateMeeting(SharedData sharedData, ZoomEvent zoomEvent)
        {
label_1:
            int num1 = -861884473;
            ZoomMeeting zoomMeeting1;

            while (true)
            {
                int  num2 = -1525751682;
                uint num3;
                // ISSUE: variable of a compiler-generated type
                ZoomFactory.\u003C\u003Ec__DisplayClass7_0 cDisplayClass70;
                ZoomMeeting meeting;
                ZoomMeeting zoomMeeting2;
                bool        flag1;
                bool        flag2;
                switch ((num3 = (uint)(num1 ^ num2)) % 19U)
                {
                case 0:
                    num1 = (int)num3 * -125655202 ^ 1308101219;
                    continue;

                case 1:
                    num1 = (int)num3 * -157833053 ^ -1318619265;
                    continue;

                case 2:
                    flag1 = zoomMeeting2 == null;
                    num1  = (int)num3 * 364624421 ^ -129366512;
                    continue;

                case 3:
                    num1 = -219942319;
                    continue;

                case 4:
                    ZoomFactory.Engine.AddMeeting(meeting);
                    num1 = (int)num3 * 1388653764 ^ 1130222007;
                    continue;

                case 5:
                    num1 = (int)num3 * 464674994 ^ -1385216633;
                    continue;

                case 6:
                    int num4 = flag2 ? 2119542646 : (num4 = 113453885);
                    int num5 = (int)num3 * 648048827;
                    num1 = num4 ^ num5;
                    continue;

                case 7:
                    int num6 = !flag1 ? -456688871 : (num6 = -689005855);
                    int num7 = (int)num3 * 912150115;
                    num1 = num6 ^ num7;
                    continue;

                case 8:
                    zoomMeeting1 = meeting;
                    num1         = -75720103;
                    continue;

                case 10:
                    num1 = (int)num3 * 954464147 ^ 320339067;
                    continue;

                case 11:
                    num1 = (int)num3 * 1521877506 ^ -609085097;
                    continue;

                case 12:
                    meeting = (ZoomMeeting)null;
                    flag2   = zoomEvent.ZoomWindowType == ZoomWindowType.Meeting;
                    num1    = (int)num3 * 1965103502 ^ -528108956;
                    continue;

                case 13:
                    goto label_1;

                case 14:
                    // ISSUE: reference to a compiler-generated field
                    meeting = new ZoomMeeting(cDisplayClass70.meetingId, zoomEvent.Window);
                    num1    = (int)num3 * -735738899 ^ -584300918;
                    continue;

                case 15:
                    // ISSUE: object of a compiler-generated type is created
                    cDisplayClass70 = new ZoomFactory.\u003C\u003Ec__DisplayClass7_0();
                    num1            = (int)num3 * 980739715 ^ 1849251880;
                    continue;

                case 16:
                    ZoomFactory.Engine.SaveMeetings();
                    num1 = (int)num3 * -422386060 ^ 849759059;
                    continue;

                case 17:
                    meeting = zoomMeeting2;
                    num1    = -247606021;
                    continue;

                case 18:
                    Engine instance = Engine.Instance;
                    // ISSUE: reference to a compiler-generated field
                    cDisplayClass70.meetingId = MeetingHelper.GetMeetingId(zoomEvent.Window.Title);
                    // ISSUE: method pointer
                    zoomMeeting2 = (ZoomMeeting)Enumerable.FirstOrDefault <ZoomMeeting>((IEnumerable <M0>)ZoomFactory.Engine.Meetings, (Func <M0, bool>) new Func <ZoomMeeting, bool>((object)cDisplayClass70, __methodptr(\u003CCreateMeeting\u003Eb__0)));
                    num1         = (int)num3 * -334952858 ^ -1578082535;
                    continue;

                default:
                    goto label_20;
                }
            }
label_20:
            return(zoomMeeting1);
        }