public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0) { Class40 @class = (Class40)object_0; Class39 class2 = new Class39(); int num = 0; int num2 = 0; class2.class40_0 = @class; class2.int_0 = class27_0.int_3; class2.int_1 = @class.int_3; class2.class21_0 = class66_0.oggClass4; class2.class21_1 = class66_0.oggClass4[@class.int_4]; int num3 = class2.class21_1.int_0; class2.int_3 = new int[class2.int_1][]; for (int i = 0; i < class2.int_1; i++) { int num4 = Class24.smethod_2(@class.int_5[i]); if (num4 != 0) { if (num4 > num2) { num2 = num4; } class2.int_3[i] = new int[num4]; for (int j = 0; j < num4; j++) { if ((@class.int_5[i] & 1 << j) != 0) { class2.int_3[i][j] = @class.int_6[num++]; } } } } class2.int_4 = (int)Math.Round(Math.Pow((double)class2.int_1, (double)num3)); class2.int_2 = num2; class2.int_5 = new int[class2.int_4][]; for (int k = 0; k < class2.int_4; k++) { int num5 = k; int num6 = class2.int_4 / class2.int_1; class2.int_5[k] = new int[num3]; for (int l = 0; l < num3; l++) { int num7 = num5 / num6; num5 -= num7 * num6; num6 /= class2.int_1; class2.int_5[k][l] = num7; } } return(class2); }
public override int vmethod_3(OGGClass6 class71_0, object object_0, float[][] float_0, int[] int_1, int int_2) { int num = 0; while (num < int_2 && int_1[num] == 0) { num++; } if (num == int_2) { return(0); } return(Class24.smethod_1(class71_0, object_0, float_0, int_2)); }
public override int vmethod_3(OGGClass6 class71_0, object object_0, float[][] float_0, int[] int_1, int int_2) { int num = 0; for (int i = 0; i < int_2; i++) { if (int_1[i] != 0) { float_0[num++] = float_0[i]; } } if (num != 0) { return(Class24.smethod_0(class71_0, object_0, float_0, num, 0)); } return(0); }
public override object vmethod_0(OGGClass5 class49_0, OGGClass3 class38_0) { int num = 0; Class40 @class = new Class40(); @class.int_0 = class38_0.method_6(24); @class.int_1 = class38_0.method_6(24); @class.int_2 = class38_0.method_6(24) + 1; @class.int_3 = class38_0.method_6(6) + 1; @class.int_4 = class38_0.method_6(8); for (int i = 0; i < @class.int_3; i++) { int num2 = class38_0.method_6(3); if (class38_0.method_6(1) != 0) { num2 |= class38_0.method_6(5) << 3; } @class.int_5[i] = num2; num += Class24.smethod_3(num2); } for (int j = 0; j < num; j++) { @class.int_6[j] = class38_0.method_6(8); } if (@class.int_4 >= class49_0.int_19) { this.vmethod_2(@class); return(null); } for (int k = 0; k < num; k++) { if (@class.int_6[k] >= class49_0.int_19) { this.vmethod_2(@class); return(null); } } return(@class); }