protected virtual void RestorePriorSettings() { label_1: int num1 = 694393231; while (true) { int num2 = 827733847; uint num3; bool flag1; bool flag2; int num4; int num5; int num6; switch ((num3 = (uint)(num1 ^ num2)) % 21U) { case 0: goto label_1; case 1: ActivityOptions.\u200F((UIElement)this.Engine.EngineView, (Visibility)this.GetPriorSetting(\u003CModule\u003E.\u200E <string>(2639068262U))); num1 = (int)num3 * 231136485 ^ -1046002601; continue; case 2: num1 = (int)num3 * 2009966712 ^ 1835967365; continue; case 3: int num7 = flag1 ? -427653752 : (num7 = -1148133894); int num8 = (int)num3 * 615662583; num1 = num7 ^ num8; continue; case 4: this.Engine.Settings.ApplyLayoutPattern = (bool)this.GetPriorSetting(\u003CModule\u003E.\u206A <string>(4065527654U)); num1 = (int)num3 * 1338747944 ^ -1670483973; continue; case 5: num4 = this.HasPriorSetting("") ? 1 : 0; goto label_22; case 6: num1 = (int)num3 * -616086498 ^ -1393851412; continue; case 7: num1 = (int)num3 * 141379105 ^ -1815840251; continue; case 8: num1 = (int)num3 * 955315735 ^ 1006334299; continue; case 9: int num9 = !flag2 ? -1721645339 : (num9 = -698598086); int num10 = (int)num3 * 919905923; num1 = num9 ^ num10; continue; case 10: num1 = (int)num3 * 1301230499 ^ 1966767562; continue; case 11: num1 = (int)num3 * -1622230212 ^ 213837575; continue; case 12: this.Engine.Settings.DisplayHighlightWindows = (bool)this.GetPriorSetting(\u003CModule\u003E.\u202A <string>(1463639909U)); num1 = (int)num3 * -1919238202 ^ 1972631912; continue; case 13: num5 = this.HasPriorSetting(\u003CModule\u003E.\u202A <string>(2082865122U)) ? 1 : 0; break; case 14: if (this.MinimizeEngineView) { num1 = 1102898836; continue; } num6 = 0; goto label_25; case 15: num6 = this.HasPriorSetting(\u003CModule\u003E.\u202A <string>(1233662718U)) ? 1 : 0; goto label_25; case 16: if (this.DisableHighlighting) { num1 = 1229895473; continue; } num4 = 0; goto label_22; case 17: num1 = (int)num3 * 1180598149 ^ 1240371353; continue; case 18: goto label_3; case 19: num1 = (int)num3 * -1176907973 ^ 1286668868; continue; case 20: if (!this.DisableApplyLayout) { num5 = 0; break; } num1 = (int)num3 * -496180355 ^ -1715465797; continue; default: goto label_32; } int num11; num1 = num11 = num5 != 0 ? 413404177 : (num11 = 1581725432); continue; label_22: flag2 = num4 != 0; num1 = 162617838; continue; label_25: flag1 = num6 != 0; num1 = 1634976942; } label_32: return; label_3 :; }
protected virtual void CapturePriorSettings() { if (!this.DisableApplyLayout) { goto label_6; } label_1: int num1 = 153574406; label_2: while (true) { int num2 = 1159064709; uint num3; bool minimizeEngineView; switch ((num3 = (uint)(num1 ^ num2)) % 13U) { case 0: minimizeEngineView = this.MinimizeEngineView; num1 = 1004695636; continue; case 1: num1 = (int)num3 * -615932882 ^ -660271851; continue; case 2: num1 = (int)num3 * -1099715417 ^ 161103668; continue; case 3: goto label_1; case 4: num1 = (int)num3 * 216821355 ^ 1432855677; continue; case 5: this.AddPriorSetting(\u003CModule\u003E.\u206B <string>(1474280944U), (object)this.Engine.Settings.DisplayHighlightWindows); num1 = (int)num3 * -1616320015 ^ 2140856881; continue; case 6: num1 = (int)num3 * 644093963 ^ 1678789286; continue; case 7: this.AddPriorSetting(\u003CModule\u003E.\u206A <string>(4065527654U), (object)this.Engine.Settings.ApplyLayoutPattern); num1 = (int)num3 * 673345062 ^ -1440144995; continue; case 8: goto label_3; case 9: num1 = (int)num3 * -1493477163 ^ 1438174707; continue; case 10: int num4 = !minimizeEngineView ? 1535190027 : (num4 = 1798527005); int num5 = (int)num3 * 1491799755; num1 = num4 ^ num5; continue; case 11: this.AddPriorSetting(\u003CModule\u003E.\u202A <string>(3174571410U), (object)ActivityOptions.\u200B((UIElement)this.Engine.EngineView)); num1 = (int)num3 * -803150792 ^ -1191093207; continue; case 12: goto label_6; default: goto label_15; } } label_15: return; label_3: return; label_6: num1 = this.DisableHighlighting ? 261245518 : (num1 = 1428171306); goto label_2; }
internal void RemovePriorSetting(string key) { label_1: int num1 = 1083936038; object optionsLock; while (true) { int num2 = 1285846535; uint num3; switch ((num3 = (uint)(num1 ^ num2)) % 3U) { case 0: goto label_1; case 2: optionsLock = ActivityOptions.optionsLock; num1 = (int)num3 * -392867124 ^ 52754907; continue; default: goto label_4; } } label_4: bool flag = false; try { ActivityOptions.\u206C(optionsLock, ref flag); label_6: int num2 = 1558653882; while (true) { int num3 = 1285846535; uint num4; switch ((num4 = (uint)(num2 ^ num3)) % 6U) { case 0: num2 = (int)num4 * -932111642 ^ -1402638555; continue; case 1: goto label_16; case 2: goto label_6; case 3: num2 = (int)num4 * -219580230 ^ -1383176714; continue; case 4: this.SettingsPriorToStart.Remove(key); num2 = (int)num4 * 873301845 ^ -1576849952; continue; case 5: num2 = (int)num4 * 659192637 ^ 1382348056; continue; default: goto label_12; } } label_12: return; label_16 :; } finally { if (flag) { label_14 : int num2 = 1013261038; while (true) { int num3 = 1285846535; uint num4; switch ((num4 = (uint)(num2 ^ num3)) % 4U) { case 0: num2 = (int)num4 * 791019069 ^ -564007692; continue; case 1: ActivityOptions.\u200B(optionsLock); num2 = (int)num4 * 431323509 ^ -1799445442; continue; case 2: goto label_14; default: goto label_19; } } } label_19 :; } }
internal bool HasPriorSetting(string key) { bool flag1 = false; label_1: int num1 = 117416667; object optionsLock; while (true) { int num2 = 1578132745; uint num3; switch ((num3 = (uint)(num1 ^ num2)) % 3U) { case 1: optionsLock = ActivityOptions.optionsLock; num1 = (int)num3 * 914520277 ^ 722931366; continue; case 2: goto label_1; default: goto label_4; } } label_4: bool flag2 = false; try { ActivityOptions.\u206C(optionsLock, ref flag2); label_6: int num2 = 1777637142; while (true) { int num3 = 1578132745; uint num4; switch ((num4 = (uint)(num2 ^ num3)) % 3U) { case 0: goto label_6; case 1: flag1 = this.SettingsPriorToStart.ContainsKey(key); num2 = (int)num4 * 1529900972 ^ 116574180; continue; default: goto label_15; } } } finally { if (flag2) { label_10: int num2 = 336558562; while (true) { int num3 = 1578132745; uint num4; switch ((num4 = (uint)(num2 ^ num3)) % 4U) { case 0: goto label_10; case 2: num2 = (int)num4 * -16741462 ^ 1801297648; continue; case 3: ActivityOptions.\u200B(optionsLock); num2 = (int)num4 * -467687879 ^ 159204164; continue; default: goto label_14; } } } label_14 :; } label_15 : bool flag3 = flag1; label_16: int num5 = 1578348972; while (true) { int num2 = 1578132745; uint num3; switch ((num3 = (uint)(num5 ^ num2)) % 3U) { case 0: goto label_16; case 2: num5 = (int)num3 * -725516722 ^ -1496119877; continue; default: goto label_19; } } label_19: return(flag3); }
internal void AddPriorSetting(string key, object value) { object optionsLock = ActivityOptions.optionsLock; bool flag1 = false; try { ActivityOptions.\u206C(optionsLock, ref flag1); label_2: int num1 = 970443500; while (true) { int num2 = 520644361; uint num3; bool flag2; switch ((num3 = (uint)(num1 ^ num2)) % 14U) { case 0: this.SettingsPriorToStart[key] = value; num1 = (int)num3 * -1362274183 ^ -779643940; continue; case 1: num1 = (int)num3 * 177206733 ^ 1611227943; continue; case 2: this.SettingsPriorToStart.Add(key, value); num1 = (int)num3 * -483457697 ^ 1100453826; continue; case 3: num1 = (int)num3 * 190627522 ^ 492124851; continue; case 4: num1 = (int)num3 * -1010291524 ^ 50520611; continue; case 5: num1 = (int)num3 * 1908825782 ^ 941006596; continue; case 6: flag2 = this.SettingsPriorToStart.ContainsKey(key); num1 = (int)num3 * 1217537740 ^ -606483677; continue; case 7: num1 = (int)num3 * 1525757696 ^ 1323142115; continue; case 8: int num4 = flag2 ? 1948236253 : (num4 = 1086647368); int num5 = (int)num3 * 1163514839; num1 = num4 ^ num5; continue; case 9: num1 = (int)num3 * 2110940877 ^ -124490744; continue; case 10: num1 = 438615751; continue; case 11: goto label_2; case 12: goto label_20; case 13: num1 = 1704026295; continue; default: goto label_16; } } label_16: return; label_20 :; } finally { if (flag1) { label_18 : int num1 = 1359942530; while (true) { int num2 = 520644361; uint num3; switch ((num3 = (uint)(num1 ^ num2)) % 3U) { case 0: goto label_18; case 1: ActivityOptions.\u200B(optionsLock); num1 = (int)num3 * -1529010074 ^ -421108153; continue; default: goto label_22; } } } label_22 :; } }
public ActivityState Hammer() { label_69: bool flag1 = this.ContinueExecution(); int num1 = -1701967320; ActivityState activityState; while (true) { int num2 = -1091218568; uint num3; switch ((num3 = (uint)(num1 ^ num2)) % 7U) { case 0: num1 = (int)num3 * -1808974005 ^ -102419435; continue; case 1: activityState = this.ActivityState; num1 = (int)num3 * -895149321 ^ -1863827649; continue; case 2: label_70: this.ReportProgress(HammerMeeting.\u202B(\u003CModule\u003E.\u200E <string>(3533555346U), (object)this.MeetingId, (object)this.MeetingStatus), \u003CModule\u003E.\u206A <string>(46240467U)); num1 = -1477311501; continue; case 4: if (flag1) { try { label_2: int num4 = -1867743527; JoinMeeting joinMeeting1; object activityLocker1; while (true) { int num5 = -1091218568; uint num6; switch ((num6 = (uint)(num4 ^ num5)) % 6U) { case 0: HammerMeeting.\u200F(CoreObject.log, \u003CModule\u003E.\u202A <string>(4266851340U), new object[0]); num4 = (int)num6 * 71510343 ^ -1877759082; continue; case 2: int num7 = (int)this.ExecuteSubActivity((ActivityBase)joinMeeting1, true); activityLocker1 = ActivityBase.activityLocker; num4 = (int)num6 * 1636112061 ^ 1768534997; continue; case 3: goto label_2; case 4: JoinMeeting joinMeeting2 = new JoinMeeting(this.MeetingId); ActivityOptions activityOptions = new ActivityOptions(); joinMeeting2.Options = activityOptions; joinMeeting1 = joinMeeting2; joinMeeting1.Options.SuppressProgressReports = true; num4 = (int)num6 * -436753848 ^ -1415666406; continue; case 5: if (this.Engine.ActiveMeeting == null) { num4 = (int)num6 * 1320503474 ^ 878211364; continue; } goto label_38; default: goto label_9; } } label_9: bool flag2 = false; try { HammerMeeting.\u206E(activityLocker1, ref flag2); label_11: int num5 = -1009452769; while (true) { int num6 = -1091218568; uint num7; switch ((num7 = (uint)(num5 ^ num6)) % 3U) { case 0: goto label_11; case 2: this.Status = joinMeeting1.Status; num5 = (int)num7 * -1536395795 ^ -2108265688; continue; default: goto label_14; } } label_14: this.MeetingStatus = joinMeeting1.MeetingStatus; } finally { if (flag2) { label_16: int num5 = -1225439223; while (true) { int num6 = -1091218568; uint num7; switch ((num7 = (uint)(num5 ^ num6)) % 3U) { case 0: goto label_16; case 1: HammerMeeting.\u200C(activityLocker1); num5 = (int)num7 * 268096835 ^ 195065992; continue; default: goto label_19; } } } label_19 :; } MeetingStatus meetingStatus = this.MeetingStatus; label_21: int num8 = -1734087353; label_22: object activityLocker2; while (true) { int num5 = -1091218568; uint num6; bool flag3; switch ((num6 = (uint)(num8 ^ num5)) % 19U) { case 0: this.SetActivityState(ActivityState.Completed, ""); num8 = (int)num6 * -2019080901 ^ 1505126027; continue; case 1: this.SetActivityState(ActivityState.InProgress, \u003CModule\u003E.\u206B <string>(3847149496U)); num8 = (int)num6 * 1366362207 ^ -71109009; continue; case 2: num8 = -247880085; continue; case 3: flag3 = this.ActivityState == ActivityState.Error; num8 = -96310031; continue; case 4: goto label_38; case 5: int num7 = !flag3 ? -2128934281 : (num7 = -871603268); int num9 = (int)num6 * -1454926258; num8 = num7 ^ num9; continue; case 6: num8 = (int)num6 * -261964762 ^ -1767279241; continue; case 7: goto label_70; case 8: this.Status = joinMeeting1.Status; num8 = (int)num6 * 1350024597 ^ 825194885; continue; case 9: num8 = (int)num6 * 1976424214 ^ -1979958741; continue; case 10: label_34: this.ReportProgress(HammerMeeting.\u206B(\u003CModule\u003E.\u206B <string>(1314762352U), (object)this.MeetingStatus), \u003CModule\u003E.\u202A <string>(711393104U)); num8 = -237599814; continue; case 11: goto label_21; case 12: num8 = (int)num6 * -2123805537 ^ 1315816936; continue; case 13: num8 = (int)num6 * -885225167 ^ -1386739168; continue; case 14: activityLocker2 = ActivityBase.activityLocker; num8 = (int)num6 * 499178308 ^ 209545045; continue; case 16: goto label_53; case 17: label_35: this.ReportProgress(HammerMeeting.\u206D((object)this.MeetingStatus, (object)\u003CModule\u003E.\u202A <string>(298389862U)), \u003CModule\u003E.\u202A <string>(711393104U)); num8 = -388630195; continue; case 18: switch (meetingStatus) { case MeetingStatus.Unknown: case MeetingStatus.Joining: case MeetingStatus.Leaving: case MeetingStatus.Hold: case MeetingStatus.WaitingForHost: case MeetingStatus.Full: case MeetingStatus.NotAttending: case MeetingStatus.Locked: goto label_34; case MeetingStatus.Attending: case MeetingStatus.Invalid: case MeetingStatus.Password: case MeetingStatus.Error: goto label_35; default: num8 = (int)num6 * 1355339163 ^ 2102366632; continue; } default: goto label_39; } } label_39: bool flag4 = false; try { HammerMeeting.\u206E(activityLocker2, ref flag4); label_41: int num5 = -1746317992; while (true) { int num6 = -1091218568; uint num7; switch ((num7 = (uint)(num5 ^ num6)) % 5U) { case 0: this.Status = \u003CModule\u003E.\u202A <string>(2524572053U); num5 = (int)num7 * 2144832410 ^ -1097466501; continue; case 1: num5 = (int)num7 * -1764936929 ^ -1804952923; continue; case 2: num5 = (int)num7 * 1979283830 ^ -1726159317; continue; case 4: goto label_41; default: goto label_46; } } label_46: this.MeetingStatus = MeetingStatus.Attending; } finally { if (flag4) { label_48: int num5 = -603074381; while (true) { int num6 = -1091218568; uint num7; switch ((num7 = (uint)(num5 ^ num6)) % 4U) { case 0: goto label_48; case 2: num5 = (int)num7 * 1389115406 ^ 129327761; continue; case 3: HammerMeeting.\u200C(activityLocker2); num5 = (int)num7 * 43070910 ^ -1722513064; continue; default: goto label_52; } } } label_52 :; } label_53 : this.SetActivityState(ActivityState.Completed, \u003CModule\u003E.\u202A <string>(2524572053U)); goto label_62; label_38: this.SetActivityState(ActivityState.Completed, \u003CModule\u003E.\u202A <string>(2524572053U)); num8 = -1817797536; goto label_22; } catch (Exception ex) { label_55: int num4 = -1516805753; while (true) { int num5 = -1091218568; uint num6; switch ((num6 = (uint)(num4 ^ num5)) % 6U) { case 0: this.HandleException(ex); num4 = (int)num6 * 533936870 ^ 29199551; continue; case 1: num4 = (int)num6 * 1898171722 ^ -1850161942; continue; case 3: goto label_55; case 4: num4 = (int)num6 * -298769566 ^ -1439667882; continue; case 5: num4 = (int)num6 * -41240828 ^ 1223987420; continue; default: goto label_62; } } } finally { } label_62: goto case 5; } else { num1 = (int)num3 * -1269073262 ^ 1452007523; continue; } case 5: num1 = -1332303721; continue; case 6: goto label_69; default: goto label_71; } } label_71: return(activityState); }