// Token: 0x060000F1 RID: 241 RVA: 0x0000D498 File Offset: 0x0000B698 private static void smethod_5(byte[] byte_2, byte[] byte_3, int int_0, byte[] byte_4, int int_1, bool bool_0) { int num; int num2; if (bool_0) { num = 1; num2 = 0; } else { num = -1; num2 = 23; } ushort num3 = (ushort)(((int)byte_3[int_0] << 8) + (int)byte_3[int_0 + 1]); ushort num4 = (ushort)(((int)byte_3[int_0 + 2] << 8) + (int)byte_3[int_0 + 3]); for (int i = 0; i < 12; i++) { num4 ^= (ushort)((int)Class19.smethod_4(byte_2, num2, num3) ^ num2); num2 += num; num3 ^= (ushort)((int)Class19.smethod_4(byte_2, num2, num4) ^ num2); num2 += num; } byte_4[int_1] = (byte)(num4 >> 8); byte_4[int_1 + 1] = (byte)(num4 & 255); byte_4[int_1 + 2] = (byte)(num3 >> 8); byte_4[int_1 + 3] = (byte)(num3 & 255); }
internal static double smethod_3(Point point_0, Point point_1, Point point_2, Point point_3) { double[] array = new double[5]; double[] array2 = new double[5]; double[] array3 = new double[5]; double[] array4 = new double[5]; double[] array5 = new double[5]; double[] array6 = new double[5]; double[] array7 = new double[9]; double[] array8 = new double[13]; double[] array9 = new double[13]; double[] array10 = new double[13]; double[] array11 = new double[13]; double[] array12 = new double[25]; double[] array13 = new double[25]; double[] array14 = new double[25]; double[] array15 = new double[25]; double[] array16 = new double[49]; double[] array17 = new double[49]; double[] array18 = new double[97]; double num = point_0.X * point_1.Y; double num2 = Class20.double_1 * point_0.X; double num3 = num2 - point_0.X; double num4 = num2 - num3; double num5 = point_0.X - num4; num2 = Class20.double_1 * point_1.Y; num3 = num2 - point_1.Y; double num6 = num2 - num3; double num7 = point_1.Y - num6; double num8 = num - num4 * num6; double num9 = num8 - num5 * num6; double num10 = num9 - num4 * num7; double num11 = num5 * num7 - num10; double num12 = point_1.X * point_0.Y; num2 = Class20.double_1 * point_1.X; num3 = num2 - point_1.X; num4 = num2 - num3; num5 = point_1.X - num4; num2 = Class20.double_1 * point_0.Y; num3 = num2 - point_0.Y; num6 = num2 - num3; num7 = point_0.Y - num6; num8 = num12 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num13 = num5 * num7 - num10; double num14 = num11 - num13; double num15 = num11 - num14; double num16 = num14 + num15; double num17 = num15 - num13; double num18 = num11 - num16; array[0] = num18 + num17; double num19 = num + num14; num15 = num19 - num; num16 = num19 - num15; num17 = num14 - num15; num18 = num - num16; double num20 = num18 + num17; num14 = num20 - num12; num15 = num20 - num14; num16 = num14 + num15; num17 = num15 - num12; num18 = num20 - num16; array[1] = num18 + num17; array[3] = num19 + num14; num15 = array[3] - num19; num16 = array[3] - num15; num17 = num14 - num15; num18 = num19 - num16; array[2] = num18 + num17; double num21 = point_1.X * point_2.Y; num2 = Class20.double_1 * point_1.X; num3 = num2 - point_1.X; num4 = num2 - num3; num5 = point_1.X - num4; num2 = Class20.double_1 * point_2.Y; num3 = num2 - point_2.Y; num6 = num2 - num3; num7 = point_2.Y - num6; num8 = num21 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num22 = num5 * num7 - num10; double num23 = point_2.X * point_1.Y; num2 = Class20.double_1 * point_2.X; num3 = num2 - point_2.X; num4 = num2 - num3; num5 = point_2.X - num4; num2 = Class20.double_1 * point_1.Y; num3 = num2 - point_1.Y; num6 = num2 - num3; num7 = point_1.Y - num6; num8 = num23 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num24 = num5 * num7 - num10; num14 = num22 - num24; num15 = num22 - num14; num16 = num14 + num15; num17 = num15 - num24; num18 = num22 - num16; array2[0] = num18 + num17; num19 = num21 + num14; num15 = num19 - num21; num16 = num19 - num15; num17 = num14 - num15; num18 = num21 - num16; num20 = num18 + num17; num14 = num20 - num23; num15 = num20 - num14; num16 = num14 + num15; num17 = num15 - num23; num18 = num20 - num16; array2[1] = num18 + num17; array2[3] = num19 + num14; num15 = array2[3] - num19; num16 = array2[3] - num15; num17 = num14 - num15; num18 = num19 - num16; array2[2] = num18 + num17; double num25 = point_2.X * point_3.Y; num2 = Class20.double_1 * point_2.X; num3 = num2 - point_2.X; num4 = num2 - num3; num5 = point_2.X - num4; num2 = Class20.double_1 * point_3.Y; num3 = num2 - point_3.Y; num6 = num2 - num3; num7 = point_3.Y - num6; num8 = num25 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num26 = num5 * num7 - num10; double num27 = point_3.X * point_2.Y; num2 = Class20.double_1 * point_3.X; num3 = num2 - point_3.X; num4 = num2 - num3; num5 = point_3.X - num4; num2 = Class20.double_1 * point_2.Y; num3 = num2 - point_2.Y; num6 = num2 - num3; num7 = point_2.Y - num6; num8 = num27 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num28 = num5 * num7 - num10; num14 = num26 - num28; num15 = num26 - num14; num16 = num14 + num15; num17 = num15 - num28; num18 = num26 - num16; array3[0] = num18 + num17; num19 = num25 + num14; num15 = num19 - num25; num16 = num19 - num15; num17 = num14 - num15; num18 = num25 - num16; num20 = num18 + num17; num14 = num20 - num27; num15 = num20 - num14; num16 = num14 + num15; num17 = num15 - num27; num18 = num20 - num16; array3[1] = num18 + num17; array3[3] = num19 + num14; num15 = array3[3] - num19; num16 = array3[3] - num15; num17 = num14 - num15; num18 = num19 - num16; array3[2] = num18 + num17; double num29 = point_3.X * point_0.Y; num2 = Class20.double_1 * point_3.X; num3 = num2 - point_3.X; num4 = num2 - num3; num5 = point_3.X - num4; num2 = Class20.double_1 * point_0.Y; num3 = num2 - point_0.Y; num6 = num2 - num3; num7 = point_0.Y - num6; num8 = num29 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num30 = num5 * num7 - num10; double num31 = point_0.X * point_3.Y; num2 = Class20.double_1 * point_0.X; num3 = num2 - point_0.X; num4 = num2 - num3; num5 = point_0.X - num4; num2 = Class20.double_1 * point_3.Y; num3 = num2 - point_3.Y; num6 = num2 - num3; num7 = point_3.Y - num6; num8 = num31 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num32 = num5 * num7 - num10; num14 = num30 - num32; num15 = num30 - num14; num16 = num14 + num15; num17 = num15 - num32; num18 = num30 - num16; array4[0] = num18 + num17; num19 = num29 + num14; num15 = num19 - num29; num16 = num19 - num15; num17 = num14 - num15; num18 = num29 - num16; num20 = num18 + num17; num14 = num20 - num31; num15 = num20 - num14; num16 = num14 + num15; num17 = num15 - num31; num18 = num20 - num16; array4[1] = num18 + num17; array4[3] = num19 + num14; num15 = array4[3] - num19; num16 = array4[3] - num15; num17 = num14 - num15; num18 = num19 - num16; array4[2] = num18 + num17; double num33 = point_0.X * point_2.Y; num2 = Class20.double_1 * point_0.X; num3 = num2 - point_0.X; num4 = num2 - num3; num5 = point_0.X - num4; num2 = Class20.double_1 * point_2.Y; num3 = num2 - point_2.Y; num6 = num2 - num3; num7 = point_2.Y - num6; num8 = num33 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num34 = num5 * num7 - num10; double num35 = point_2.X * point_0.Y; num2 = Class20.double_1 * point_2.X; num3 = num2 - point_2.X; num4 = num2 - num3; num5 = point_2.X - num4; num2 = Class20.double_1 * point_0.Y; num3 = num2 - point_0.Y; num6 = num2 - num3; num7 = point_0.Y - num6; num8 = num35 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num36 = num5 * num7 - num10; num14 = num34 - num36; num15 = num34 - num14; num16 = num14 + num15; num17 = num15 - num36; num18 = num34 - num16; array5[0] = num18 + num17; num19 = num33 + num14; num15 = num19 - num33; num16 = num19 - num15; num17 = num14 - num15; num18 = num33 - num16; num20 = num18 + num17; num14 = num20 - num35; num15 = num20 - num14; num16 = num14 + num15; num17 = num15 - num35; num18 = num20 - num16; array5[1] = num18 + num17; array5[3] = num19 + num14; num15 = array5[3] - num19; num16 = array5[3] - num15; num17 = num14 - num15; num18 = num19 - num16; array5[2] = num18 + num17; double num37 = point_1.X * point_3.Y; num2 = Class20.double_1 * point_1.X; num3 = num2 - point_1.X; num4 = num2 - num3; num5 = point_1.X - num4; num2 = Class20.double_1 * point_3.Y; num3 = num2 - point_3.Y; num6 = num2 - num3; num7 = point_3.Y - num6; num8 = num37 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num38 = num5 * num7 - num10; double num39 = point_3.X * point_1.Y; num2 = Class20.double_1 * point_3.X; num3 = num2 - point_3.X; num4 = num2 - num3; num5 = point_3.X - num4; num2 = Class20.double_1 * point_1.Y; num3 = num2 - point_1.Y; num6 = num2 - num3; num7 = point_1.Y - num6; num8 = num39 - num4 * num6; num9 = num8 - num5 * num6; num10 = num9 - num4 * num7; double num40 = num5 * num7 - num10; num14 = num38 - num40; num15 = num38 - num14; num16 = num14 + num15; num17 = num15 - num40; num18 = num38 - num16; array6[0] = num18 + num17; num19 = num37 + num14; num15 = num19 - num37; num16 = num19 - num15; num17 = num14 - num15; num18 = num37 - num16; num20 = num18 + num17; num14 = num20 - num39; num15 = num20 - num14; num16 = num14 + num15; num17 = num15 - num39; num18 = num20 - num16; array6[1] = num18 + num17; array6[3] = num19 + num14; num15 = array6[3] - num19; num16 = array6[3] - num15; num17 = num14 - num15; num18 = num19 - num16; array6[2] = num18 + num17; int int_ = Class19.smethod_2(4, array3, 4, array4, array7); int int_2 = Class19.smethod_2(int_, array7, 4, array5, array10); int_ = Class19.smethod_2(4, array4, 4, array, array7); int int_3 = Class19.smethod_2(int_, array7, 4, array6, array11); for (int i = 0; i < 4; i++) { array6[i] = -array6[i]; array5[i] = -array5[i]; } int_ = Class19.smethod_2(4, array, 4, array2, array7); int int_4 = Class19.smethod_2(int_, array7, 4, array5, array8); int_ = Class19.smethod_2(4, array2, 4, array3, array7); int int_5 = Class19.smethod_2(int_, array7, 4, array6, array9); int int_6 = Class19.smethod_4(int_5, array9, point_0.Z, array12); int int_7 = Class19.smethod_4(int_2, array10, -point_1.Z, array13); int int_8 = Class19.smethod_4(int_3, array11, point_2.Z, array14); int int_9 = Class19.smethod_4(int_4, array8, -point_3.Z, array15); int int_10 = Class19.smethod_2(int_6, array12, int_7, array13, array16); int int_11 = Class19.smethod_2(int_8, array14, int_9, array15, array17); int num41 = Class19.smethod_2(int_10, array16, int_11, array17, array18); return(array18[num41 - 1]); }