// Token: 0x06001308 RID: 4872 RVA: 0x0000487C File Offset: 0x00002A7C internal void method_34(object object_0, Class54 class54_0) { if (this.delegate149_0 != null) { this.delegate149_0(object_0, class54_0); } }
public bool method_5() { object obj2; bool flag; Monitor.Enter(obj2 = this.object_1); try { if (!this.bool_0) { return(false); } this.int_4++; Class53 class3 = new Class53 { int_0 = this.int_3, int_6 = this.int_4, int_7 = this.int_0, int_8 = this.int_1, int_9 = 0 }; byte[] src = class3.method_0(); byte[] dst = new byte[4 + src.Length]; Buffer.BlockCopy(BitConverter.GetBytes(this.int_7), 0, dst, 0, 4); Buffer.BlockCopy(src, 0, dst, 4, src.Length); byte[] buffer5 = this.method_9(dst, this.string_0); byte[] buffer6 = new byte[buffer5.Length + 8]; byte[] bytes = BitConverter.GetBytes(buffer5.Length); byte[] buffer8 = BitConverter.GetBytes(this.int_0); Buffer.BlockCopy(bytes, 0, buffer6, 0, 4); Buffer.BlockCopy(buffer8, 0, buffer6, 4, 4); Buffer.BlockCopy(buffer5, 0, buffer6, 8, buffer5.Length); this.object_0.Write(buffer6, 0, buffer6.Length); int num = BitConverter.ToInt32(this.method_7((NetworkStream)this.object_0, 8), 0); byte[] buffer10 = this.method_7((NetworkStream)this.object_0, num); byte[] buffer = this.method_10(buffer10, this.string_0); if (BitConverter.ToInt32(buffer, 0) != this.int_8) { return(false); } Class54 class2 = Class54.smethod_0(buffer, 4); if (class2.int_3 != class3.int_6) { return(false); } flag = this.bool_1 = class2.int_4 == 1; } catch (Exception) { this.method_3(); flag = false; } finally { Monitor.Exit(obj2); } return(flag); }
public static byte[] smethod_1(Stream stream_0) { Stream stream = stream_0; MemoryStream stream2 = new MemoryStream(); Class54 class2 = new Class54(); class2.imethod_1(enum5_0, object_0); class2.imethod_2(stream2); long length = stream.Length; for (int i = 0; i < 8; i++) { stream2.WriteByte((byte)(length >> (8 * i))); } class2.imethod_0(stream, stream2, -1L, -1L, null); return(stream2.ToArray()); }
private void method_0(FontType fontType) { Class54 class54 = new Class54(new Class53()); foreach (string familyName in class54.FamilyNames) { if (!FontSetup.smethod_0(familyName)) { FontStyles fontStyles = class54.method_0(familyName); if (fontStyles.RegularAvailable) { string nextAvailableName = this.GetNextAvailableName(); this.pdfFontInfo_0.AddMetrics(nextAvailableName, (IFontMetric) new Class29(new FontProperties(familyName, false, false), fontType)); this.pdfFontInfo_0.AddFontProperties(nextAvailableName, familyName, "normal", "normal"); } if (fontStyles.BoldAvailable) { string nextAvailableName = this.GetNextAvailableName(); this.pdfFontInfo_0.AddMetrics(nextAvailableName, (IFontMetric) new Class29(new FontProperties(familyName, true, false), fontType)); this.pdfFontInfo_0.AddFontProperties(nextAvailableName, familyName, "normal", "bold"); } if (fontStyles.ItalicAvailable) { string nextAvailableName = this.GetNextAvailableName(); this.pdfFontInfo_0.AddMetrics(nextAvailableName, (IFontMetric) new Class29(new FontProperties(familyName, false, true), fontType)); this.pdfFontInfo_0.AddFontProperties(nextAvailableName, familyName, "italic", "normal"); } if (fontStyles.BoldItalicAvailable) { string nextAvailableName = this.GetNextAvailableName(); this.pdfFontInfo_0.AddMetrics(nextAvailableName, (IFontMetric) new Class29(new FontProperties(familyName, true, true), fontType)); this.pdfFontInfo_0.AddFontProperties(nextAvailableName, familyName, "italic", "bold"); } } } this.pdfFontInfo_0.AddMetrics("F15", (IFontMetric) new Class29(new FontProperties("Monotype Corsiva", false, false), fontType)); this.pdfFontInfo_0.AddFontProperties("F15", "cursive", "normal", "normal"); this.pdfFontInfo_0.AddMetrics("F16", (IFontMetric)Class14.font_13); this.pdfFontInfo_0.AddFontProperties("F16", "fantasy", "normal", "normal"); }
public static Class54 smethod_0(object object_0, int int_6) { int startIndex = int_6; Class54 class2 = new Class54 { int_0 = BitConverter.ToInt32((byte[])object_0, startIndex) }; startIndex += 4; class2.int_1 = BitConverter.ToInt32((byte[])object_0, startIndex); startIndex += 4; class2.int_2 = BitConverter.ToInt32((byte[])object_0, startIndex); startIndex += 4; class2.int_3 = BitConverter.ToInt32((byte[])object_0, startIndex); startIndex += 4; class2.int_4 = BitConverter.ToInt32((byte[])object_0, startIndex); startIndex += 4; class2.int_5 = BitConverter.ToInt32((byte[])object_0, startIndex); startIndex += 4; class2.byte_0 = new byte[class2.int_5]; Buffer.BlockCopy((Array)object_0, startIndex, class2.byte_0, 0, class2.int_5); startIndex += class2.int_5; return(class2); }
// Token: 0x0600011B RID: 283 RVA: 0x0000D864 File Offset: 0x0000BA64 public static void smethod_1(JObject jobject_0, string string_0) { try { foreach (JToken jtoken in jobject_0.Values()) { if (!Class130.dictionary_0.ContainsKey((int)jtoken["id"])) { MainWindow.webView_0.QueueScriptCall(string.Format("updateButton({0},true)", jtoken["id"])); string text = jtoken["store"].ToString().ToLower(); uint num = Class79.smethod_0(text); Class44 @class; if (num <= 2430139328u) { if (num <= 1369243890u) { if (num <= 650952027u) { if (num <= 536391395u) { if (num != 75628775u) { if (num != 536391395u) { goto IL_6E9; } if (!(text == "net-a-porter us")) { goto IL_6E9; } @class = new Class50(jtoken, "am", "us"); } else { if (!(text == "footpatrol")) { goto IL_6E9; } @class = new Class45(jtoken, "footpatrol", "AD60F89E1BB248F388B9FC671851A2B8"); } } else if (num != 634394085u) { if (num != 650952027u) { goto IL_6E9; } if (!(text == "footaction")) { goto IL_6E9; } @class = new Class51(jtoken, "footaction.com"); } else { if (!(text == "net-a-porter eu")) { goto IL_6E9; } @class = new Class50(jtoken, "intl", "gb"); } } else if (num <= 1003079584u) { if (num != 988777544u) { if (num != 1003079584u) { goto IL_6E9; } if (!(text == "champs sports")) { goto IL_6E9; } @class = new Class47(jtoken, "champssports.com"); } else { if (!(text == "the hip store")) { goto IL_6E9; } @class = new Class45(jtoken, "thehipstore", "117860D26D504A5FB26B2FB64CE35FB8"); } } else if (num != 1271241200u) { if (num != 1369243890u) { goto IL_6E9; } if (!(text == "supreme eu")) { goto IL_6E9; } @class = new Class54(jtoken, "EU"); } else { if (!(text == "supreme us")) { goto IL_6E9; } @class = new Class54(jtoken, "US"); } } else if (num <= 2033596121u) { if (num <= 1613681225u) { if (num != 1374915048u) { if (num != 1613681225u) { goto IL_6E9; } if (!(text == "footlocker us ")) { goto IL_6E9; } @class = new Class51(jtoken, "footlocker.com"); } else { if (!(text == "eastbay")) { goto IL_6E9; } @class = new Class47(jtoken, "eastbay.com"); } } else if (num != 1819840374u) { if (num != 2033596121u) { goto IL_6E9; } if (!(text == "size?")) { goto IL_6E9; } @class = new Class45(jtoken, "size", "3565AE9C56464BB0AD8020F735D1479E"); } else { if (!(text == "jd sports")) { goto IL_6E9; } @class = new Class45(jtoken, "jdsports", "60743806B14F4AF389F582E83A141733"); } } else if (num <= 2404272289u) { if (num != 2191237913u) { if (num != 2404272289u) { goto IL_6E9; } if (!(text == "footaction ")) { goto IL_6E9; } @class = new Class51(jtoken, "footaction.com"); } else { if (!(text == "footlocker ca ")) { goto IL_6E9; } @class = new Class51(jtoken, "footlocker.ca"); } } else if (num != 2407667328u) { if (num != 2414935827u) { if (num != 2430139328u) { goto IL_6E9; } if (!(text == "lacoste nl")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-NL-Site/fr/"); } else { if (!(text == "lacoste dk")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-DK-Site/fr/"); } } else { if (!(text == "mr porter eu")) { goto IL_6E9; } @class = new Class46(jtoken, "intl", "gb"); } } else if (num <= 2661617280u) { if (num <= 2551966898u) { if (num <= 2500795398u) { if (num != 2464533209u) { if (num != 2500795398u) { goto IL_6E9; } if (!(text == "lacoste pl")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-PL-Site/fr/"); } else { if (!(text == "lacoste ch")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-CH-Site/fr/"); } } else if (num != 2505773186u) { if (num != 2551966898u) { goto IL_6E9; } if (!(text == "lacoste uk")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-GB-Site/en/"); } else { if (!(text == "mr porter us")) { goto IL_6E9; } @class = new Class46(jtoken, "am", "us"); } } else if (num <= 2581976542u) { if (num != 2563815827u) { if (num != 2581976542u) { goto IL_6E9; } if (!(text == "lacoste ca")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-CA-Site/fr/"); } else { if (!(text == "lacoste kr")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-KR-Site/fr/"); } } else if (num != 2599048351u) { if (num != 2649822493u) { if (num != 2661617280u) { goto IL_6E9; } if (!(text == "champs sports ")) { goto IL_6E9; } @class = new Class51(jtoken, "champssports.com"); } else { if (!(text == "lacoste de")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-DE-Site/fr/"); } } else { if (!(text == "lacoste at")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-AT-Site/fr/"); } } else if (num <= 3023372879u) { if (num <= 2866210327u) { if (num != 2666305922u) { if (num != 2866210327u) { goto IL_6E9; } if (!(text == "lacoste it")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-IT-Site/fr/"); } else { if (!(text == "lacoste fr")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-FR-Site/fr/"); } } else if (num != 2954629754u) { if (num != 3023372879u) { goto IL_6E9; } if (!(text == "footlocker eu ")) { goto IL_6E9; } @class = new Class49(jtoken); } else { if (!(text == "lacoste us")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-FlagShip-Site/en_US/"); } } else if (num <= 3395413464u) { if (num != 3117874612u) { if (num != 3395413464u) { goto IL_6E9; } if (!(text == "eastbay ")) { goto IL_6E9; } @class = new Class51(jtoken, "eastbay.com"); } else { if (!(text == "lacoste ie")) { goto IL_6E9; } @class = new Class53(jtoken, "/on/demandware.store/Sites-IE-Site/fr/"); } } else if (num != 3491784070u) { if (num != 3987781139u) { if (num != 4224345091u) { goto IL_6E9; } if (!(text == "footlocker ca")) { goto IL_6E9; } @class = new Class47(jtoken, "footlocker.ca"); } else { if (!(text == "footlocker us")) { goto IL_6E9; } @class = new Class47(jtoken, "footlocker.com"); } } else { if (!(text == "off-white")) { goto IL_6E9; } @class = new Class48(jtoken); } IL_6FA: if ([email protected]_1) { Class130.dictionary_0[(int)jtoken["id"]] = @class; @class.vmethod_0(); continue; } continue; IL_6E9: @class = new Class52(jtoken, string_0); goto IL_6FA; } } } catch { } }
internal DocumentObjectCollection(Document A_0, DocumentObject A_1) : base(A_0, A_1) { this.class54_0 = new Class54(); }
// Token: 0x06001456 RID: 5206 RVA: 0x00025070 File Offset: 0x00023270 public void CdromBurnStateChange(GInterface5 pCdromBurn, Enum5 wmpbs) { Class54 class54_ = new Class54(pCdromBurn, wmpbs); this.class24_0.method_34(this.class24_0, class54_); }