private int method_12() { _int20 = 1; _oggClass5 = new OggClass5[_int20]; _oggClass5[0] = new OggClass5(); _class470 = new Class47[_int20]; _class470[0] = new Class47(); var array = new int[1]; if (method_2(_oggClass5[0], _class470[0], array, null) == -1) { return(-1); } _int22 = array[0]; method_4(); return(0); }
private int method_11() { var oggClass5 = new OggClass5(); var class47 = new Class47(); var @class = new Class48(); var array = new int[1]; var num = method_2(oggClass5, class47, array, null); var num2 = array[0]; var int_ = (int)_long0; _class560.method_2(); if (num == -1) { return(-1); } _bool0 = true; smethod_0(FileStream, 0L, Int5); _long0 = smethod_1(FileStream); var num3 = _long0; num3 = method_1(@class); if (@class.method_5() != num2) { if (method_13(0L, 0L, num3 + 1L, num2, 0) < 0) { method_22(); return(Int9); } } else if (method_13(0L, num3, num3 + 1L, num2, 0) < 0) { method_22(); return(Int9); } method_3(oggClass5, class47, int_); return(method_17(0)); }
public abstract object vmethod_0(OggClass5 class490, OggClass3 class380);
private void method_3(OggClass5 class491, Class47 class471, int int24) { var @class = new Class48(); _oggClass5 = new OggClass5[_int20]; _class470 = new Class47[_int20]; _long2 = new long[_int20]; _long3 = new long[_int20]; _int21 = new int[_int20]; var i = 0; while (i < _int20) { if (class491 != null && class471 != null && i == 0) { _oggClass5[i] = class491; _class470[i] = class471; _long2[i] = int24; } else { method_8(_long1[i]); if (method_2(_oggClass5[i], _class470[i], null, null) == -1) { Console.Error.WriteLine("Error opening logical bitstream #" + (i + 1) + "\n"); _long2[i] = -1L; } else { _long2[i] = _long0; _class560.method_2(); } } var long_ = _long1[i + 1]; method_8(long_); long num2; while (true) { var num = method_1(@class); if (num == -1) { goto Block_6; } num2 = @class.method_4(); if (num2 != -1L) { goto Block_5; } } IL_189: i++; continue; Block_5: _int21[i] = @class.method_5(); _long3[i] = num2; goto IL_189; Block_6: Console.Error.WriteLine("Could not find last page of logical bitstream #" + i + "\n"); _oggClass5[i].method_1(); _class470[i].method_2(); goto IL_189; } }
private int method_2(OggClass5 oggClass5, Class47 class471, int[] int24, Class48 class480) { var @class = new Class48(); var class67 = new Class67(); if (class480 == null) { var num = method_0(@class, Int2); if (num == Int9) { return(Int9); } if (num < 0) { return(Int13); } class480 = @class; } if (int24 != null) { int24[0] = class480.method_5(); } _class560.method_1(class480.method_5()); oggClass5.method_0(); class471.method_0(); var i = 0; while (i < 3) { _class560.method_6(class480); while (i < 3) { var num2 = _class560.method_5(class67); if (num2 == 0) { break; } if (num2 == -1) { Console.Error.WriteLine("Corrupt header in logical bitstream."); oggClass5.method_1(); class471.method_2(); _class560.method_2(); return(-1); } if (oggClass5.method_4(class471, class67) != 0) { Console.Error.WriteLine("Illegal header in logical bitstream."); oggClass5.method_1(); class471.method_2(); _class560.method_2(); return(-1); } i++; } if (i < 3 && method_0(class480, 1L) < 0) { Console.Error.WriteLine("Missing header in logical bitstream."); oggClass5.method_1(); class471.method_2(); _class560.method_2(); return(-1); } } return(0); }
public override object vmethod_0(OggClass5 class490, OggClass3 class380) { var @class = new Class54(); if (class380.method_6(1) != 0) { @class.Int0 = class380.method_6(4) + 1; } else { @class.Int0 = 1; } if (class380.method_6(1) != 0) { @class.Int6 = class380.method_6(8) + 1; for (var i = 0; i < @class.Int6; i++) { var num = @class.Int7[i] = class380.method_6(smethod_0(class490.Int8)); var num2 = @class.Int8[i] = class380.method_6(smethod_0(class490.Int8)); if (num < 0 || num2 < 0 || num == num2 || num >= class490.Int8 || num2 >= class490.Int8) { @class.method_0(); return(null); } } } if (class380.method_6(2) > 0) { @class.method_0(); return(null); } if (@class.Int0 > 1) { for (var j = 0; j < class490.Int8; j++) { @class.Int1[j] = class380.method_6(4); if (@class.Int1[j] >= @class.Int0) { @class.method_0(); return(null); } } } for (var k = 0; k < @class.Int0; k++) { @class.Int2[k] = class380.method_6(8); if (@class.Int2[k] >= class490.Int16) { @class.method_0(); return(null); } @class.Int3[k] = class380.method_6(8); if (@class.Int3[k] >= class490.Int17) { @class.method_0(); return(null); } @class.Int4[k] = class380.method_6(8); if (@class.Int4[k] >= class490.Int18) { @class.method_0(); return(null); } } return(@class); }