public virtual int vmethod_7(int int5) { while (_int3 <= 0) { method_0(); } int5 <<= 1; int5 |= ((((int)_byte1[_int1] & 128 >> _int2) != 0) ? 1 : 0); _int2++; if (_int2 == 8) { _short0 = Class150.smethod_0(_byte1[_int1], _short0); _int1++; _int2 = 0; } _int3--; _int4++; return(int5); }
public virtual long vmethod_9(long long0) { while (_int3 <= 0) { method_0(); } long0 <<= 1; long0 |= ((((int)_byte1[_int1] & 128 >> _int2) != 0) ? 1L : 0L); _int2++; if (_int2 == 8) { _short0 = Class150.smethod_0(_byte1[_int1], _short0); _int1++; _int2 = 0; } _int3--; _int4++; return(long0); }
public virtual int vmethod_6() { while (_int3 <= 0) { method_0(); } var result = (((int)_byte1[_int1] & 128 >> _int2) != 0) ? 1 : 0; _int2++; if (_int2 == 8) { _short0 = Class150.smethod_0(_byte1[_int1], _short0); _int1++; _int2 = 0; } _int3--; _int4++; return(result); }
public virtual void vmethod_17(int[] int5, int int6, int int7, int int8) { var i = 0; var num = 0; var num2 = 0; var num3 = 0; var num4 = 0; var num5 = 0; if (int7 == 0) { return; } var num6 = _int1; long num7 = _int1 * 8 + _int2; if (_int2 > 0) { byte b2; var b = b2 = _byte1[num6]; num = _int2; b = (byte)(b << (byte)num); int num9; while (true) { if (num5 == 0) { if (b == 0) { goto IL_13D; } var num8 = 0; while ((b & Byte0) == 0) { b = (byte)(b << 1); num8++; } num3 += num8; b = (byte)(b << 1); num8++; num += num8; num2 = 0; num4 = int8; num5++; if (num == 8) { goto Block_8; } } else { num9 = 8 - num; if (num4 >= num9) { goto IL_15C; } num2 <<= num4; num2 |= (b & 255) >> 8 - num4; b = (byte)(b << (byte)num4); num += num4; num2 |= num3 << int8; if ((num2 & 1) != 0) { int5[int6 + i++] = -(num2 >> 1) - 1; } else { int5[int6 + i++] = num2 >> 1; } if (i == int7) { break; } num3 = 0; num5 = 0; } } num6--; goto IL_1D5; Block_8: num = 0; _short0 = Class150.smethod_0(b2, _short0); goto IL_1D5; IL_13D: num3 += 8 - num; num = 0; _short0 = Class150.smethod_0(b2, _short0); goto IL_1D5; IL_15C: num2 <<= num9; num2 |= (b & 255) >> num; num = 0; _short0 = Class150.smethod_0(b2, _short0); if (num4 == num9) { num2 |= num3 << int8; if ((num2 & 1) != 0) { int5[int6 + i++] = -(num2 >> 1) - 1; } else { int5[int6 + i++] = num2 >> 1; } if (i == int7) { goto IL_1D5; } num3 = 0; num5 = 0; } num4 -= num9; IL_1D5: num6++; _int1 = num6; _int2 = num; } while (i < int7) { while (num6 < _int0 && i < int7) { byte b2; var b = b2 = _byte1[num6]; num = 0; int num10; while (true) { if (num5 == 0) { if (b == 0) { goto IL_2EA; } var num8 = 0; while ((b & Byte0) == 0) { b = (byte)(b << 1); num8++; } num3 += num8; b = (byte)(b << 1); num8++; num += num8; num2 = 0; num4 = int8; num5++; if (num == 8) { goto Block_19; } } else { num10 = 8 - num; if (num4 >= num10) { goto IL_309; } num2 <<= num4; num2 |= (b & 255) >> 8 - num4; b = (byte)(b << (byte)num4); num += num4; num2 |= num3 << int8; if ((num2 & 1) != 0) { int5[int6 + i++] = -(num2 >> 1) - 1; } else { int5[int6 + i++] = num2 >> 1; } if (i == int7) { goto Block_16; } num3 = 0; num5 = 0; } } IL_382: num6++; continue; Block_16: num6--; goto IL_382; Block_19: num = 0; _short0 = Class150.smethod_0(b2, _short0); goto IL_382; IL_2EA: num3 += 8 - num; num = 0; _short0 = Class150.smethod_0(b2, _short0); goto IL_382; IL_309: num2 <<= num10; num2 |= (b & 255) >> num; num = 0; _short0 = Class150.smethod_0(b2, _short0); if (num4 == num10) { num2 |= num3 << int8; if ((num2 & 1) != 0) { int5[int6 + i++] = -(num2 >> 1) - 1; } else { int5[int6 + i++] = num2 >> 1; } if (i == int7) { goto IL_382; } num3 = 0; num5 = 0; } num4 -= num10; goto IL_382; } _int1 = num6; _int2 = num; if (i < int7) { long num11 = _int1 * 8 + _int2; _int4 = (int)(_int4 + num11 - num7); _int3 = (int)(_int3 - (num11 - num7)); method_0(); num6 = 0; num7 = _int1 * 8 + _int2; } } long num12 = _int1 * 8 + _int2; _int4 = (int)(_int4 + num12 - num7); _int3 = (int)(_int3 - (num12 - num7)); }