public int method_6(OGGClass2 oggClass2) { this.oggClass2 = oggClass2; this.int_1 = oggClass2.int_1; this.int_0 = oggClass2.int_0; this.float_0 = oggClass2.method_3(); this.oggData = this.getOGGData(); if (this.oggData == null) { this.method_5(); return(-1); } return(0); }
public int method_4(OGGClass3 oggClass3) { int num = 0; OGGData @class = this.oggData; if (@class == null) { return(num); } int num2 = oggClass3.method_2(@class.int_2); if (num2 >= 0) { num = @class.int_0[num2]; oggClass3.method_3(@class.int_1[num2]); if (num <= 0) { return(-num); } } do { switch (oggClass3.method_7()) { case 0: num = @class.int_3[num]; goto IL_46; case 1: num = @class.int_4[num]; goto IL_46; } return(-1); IL_46 :; }while (num > 0); return(-num); }
public OGGData getOGGData() { int num = 0; OGGData oggData = new OGGData(); int[] array = oggData.int_3 = new int[this.int_1 * 2]; int[] array2 = oggData.int_4 = new int[this.int_1 * 2]; int[] array3 = OGGClass4.smethod_0(this.oggClass2.int_2, this.oggClass2.int_1); if (array3 == null) { return null; } oggData.int_5 = this.int_1 * 2; for (int i = 0; i < this.int_1; i++) { if (this.oggClass2.int_2[i] > 0) { int num2 = 0; int j; for (j = 0; j < this.oggClass2.int_2[i] - 1; j++) { if (((uint)array3[i] >> j & 1u) == 0u) { if (array[num2] == 0) { num = (array[num2] = num + 1); } num2 = array[num2]; } else { if (array2[num2] == 0) { num = (array2[num2] = num + 1); } num2 = array2[num2]; } } if (((uint)array3[i] >> j & 1u) == 0u) { array[num2] = -i; } else { array2[num2] = -i; } } } oggData.int_2 = OGGClass4.smethod_1(this.int_1) - 4; if (oggData.int_2 < 5) { oggData.int_2 = 5; } int num3 = 1 << oggData.int_2; oggData.int_0 = new int[num3]; oggData.int_1 = new int[num3]; for (int k = 0; k < num3; k++) { int num4 = 0; int num5 = 0; while (num5 < oggData.int_2 && (num4 > 0 || num5 == 0)) { if ((k & 1 << num5) != 0) { num4 = array2[num4]; } else { num4 = array[num4]; } num5++; } oggData.int_0[k] = num4; oggData.int_1[k] = num5; } return oggData; }
public int method_6(OGGClass2 oggClass2) { this.oggClass2 = oggClass2; this.int_1 = oggClass2.int_1; this.int_0 = oggClass2.int_0; this.float_0 = oggClass2.method_3(); this.oggData = this.getOGGData(); if (this.oggData == null) { this.method_5(); return -1; } return 0; }
public OGGData getOGGData() { int num = 0; OGGData oggData = new OGGData(); int[] array = oggData.int_3 = new int[this.int_1 * 2]; int[] array2 = oggData.int_4 = new int[this.int_1 * 2]; int[] array3 = OGGClass4.smethod_0(this.oggClass2.int_2, this.oggClass2.int_1); if (array3 == null) { return(null); } oggData.int_5 = this.int_1 * 2; for (int i = 0; i < this.int_1; i++) { if (this.oggClass2.int_2[i] > 0) { int num2 = 0; int j; for (j = 0; j < this.oggClass2.int_2[i] - 1; j++) { if (((uint)array3[i] >> j & 1u) == 0u) { if (array[num2] == 0) { num = (array[num2] = num + 1); } num2 = array[num2]; } else { if (array2[num2] == 0) { num = (array2[num2] = num + 1); } num2 = array2[num2]; } } if (((uint)array3[i] >> j & 1u) == 0u) { array[num2] = -i; } else { array2[num2] = -i; } } } oggData.int_2 = OGGClass4.smethod_1(this.int_1) - 4; if (oggData.int_2 < 5) { oggData.int_2 = 5; } int num3 = 1 << oggData.int_2; oggData.int_0 = new int[num3]; oggData.int_1 = new int[num3]; for (int k = 0; k < num3; k++) { int num4 = 0; int num5 = 0; while (num5 < oggData.int_2 && (num4 > 0 || num5 == 0)) { if ((k & 1 << num5) != 0) { num4 = array2[num4]; } else { num4 = array[num4]; } num5++; } oggData.int_0[k] = num4; oggData.int_1[k] = num5; } return(oggData); }