scripts
This commit is contained in:
@@ -0,0 +1,954 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001343 RID: 4931
|
||||
[Token(Token = "0x2001343")]
|
||||
[StructLayout(3)]
|
||||
public abstract class Arrays
|
||||
{
|
||||
// Token: 0x06007C2F RID: 31791 RVA: 0x0019D7A8 File Offset: 0x0019B9A8
|
||||
[Token(Token = "0x6007C2F")]
|
||||
[Address(RVA = "0x1C59E80", Offset = "0x1C58880", VA = "0x181C59E80")]
|
||||
public static bool AreAllZeroes(byte[] buf, int off, int len)
|
||||
{
|
||||
int num = 0;
|
||||
if (len > 0)
|
||||
{
|
||||
}
|
||||
return num == 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C30 RID: 31792 RVA: 0x0019D7C8 File Offset: 0x0019B9C8
|
||||
[Token(Token = "0x6007C30")]
|
||||
[Address(RVA = "0x1C5A070", Offset = "0x1C58A70", VA = "0x181C5A070")]
|
||||
public static bool AreEqual(bool[] a, bool[] b)
|
||||
{
|
||||
if (a != b)
|
||||
{
|
||||
if (a != 0 && b != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length != length2 || length != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007C31 RID: 31793 RVA: 0x0019D800 File Offset: 0x0019BA00
|
||||
[Token(Token = "0x6007C31")]
|
||||
[Address(RVA = "0x1C59FA0", Offset = "0x1C589A0", VA = "0x181C59FA0")]
|
||||
public static bool AreEqual(char[] a, char[] b)
|
||||
{
|
||||
if (a != b)
|
||||
{
|
||||
if (a != 0 && b != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length == length2)
|
||||
{
|
||||
if (length != 0)
|
||||
{
|
||||
char c = b[length];
|
||||
while ("{il2cpp array field a->}" == c)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007C32 RID: 31794 RVA: 0x0019D848 File Offset: 0x0019BA48
|
||||
[Token(Token = "0x6007C32")]
|
||||
[Address(RVA = "0x1C5A1F0", Offset = "0x1C58BF0", VA = "0x181C5A1F0")]
|
||||
public static bool AreEqual(byte[] a, byte[] b)
|
||||
{
|
||||
if (a != b)
|
||||
{
|
||||
if (a != 0 && b != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length != length2 || length != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007C33 RID: 31795 RVA: 0x0019D880 File Offset: 0x0019BA80
|
||||
[Token(Token = "0x6007C33")]
|
||||
[Address(RVA = "0x1C5A2B0", Offset = "0x1C58CB0", VA = "0x181C5A2B0")]
|
||||
[Obsolete]
|
||||
public static bool AreSame(byte[] a, byte[] b)
|
||||
{
|
||||
if (a != b)
|
||||
{
|
||||
if (a != 0 && b != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length != length2 || length != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007C34 RID: 31796 RVA: 0x0019D8B8 File Offset: 0x0019BAB8
|
||||
[Token(Token = "0x6007C34")]
|
||||
[Address(RVA = "0x1C5AB80", Offset = "0x1C59580", VA = "0x181C5AB80")]
|
||||
public static bool ConstantTimeAreEqual(byte[] a, byte[] b)
|
||||
{
|
||||
int length = b.Length;
|
||||
int length2 = a.Length;
|
||||
if (length2 == length)
|
||||
{
|
||||
int num = 0;
|
||||
if (length2 != 0)
|
||||
{
|
||||
while (length2 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
return num == 0;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C35 RID: 31797 RVA: 0x0019D8F0 File Offset: 0x0019BAF0
|
||||
[Token(Token = "0x6007C35")]
|
||||
[Address(RVA = "0x1C5A130", Offset = "0x1C58B30", VA = "0x181C5A130")]
|
||||
public static bool AreEqual(int[] a, int[] b)
|
||||
{
|
||||
if (a != b)
|
||||
{
|
||||
if (a != 0 && b != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length == length2)
|
||||
{
|
||||
if (length != 0)
|
||||
{
|
||||
int num = b[length];
|
||||
while ("{il2cpp array field a->}" == num)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007C36 RID: 31798 RVA: 0x0019D938 File Offset: 0x0019BB38
|
||||
[Token(Token = "0x6007C36")]
|
||||
[Address(RVA = "0x1C59EE0", Offset = "0x1C588E0", VA = "0x181C59EE0")]
|
||||
[CLSCompliant(false)]
|
||||
public static bool AreEqual(uint[] a, uint[] b)
|
||||
{
|
||||
if (a != b)
|
||||
{
|
||||
if (a != 0 && b != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length == length2)
|
||||
{
|
||||
if (length != 0)
|
||||
{
|
||||
uint num = b[length];
|
||||
while ("{il2cpp array field a->}" == num)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007C37 RID: 31799 RVA: 0x0019D980 File Offset: 0x0019BB80
|
||||
[Token(Token = "0x6007C37")]
|
||||
[Address(RVA = "0x1C5B8A0", Offset = "0x1C5A2A0", VA = "0x181C5B8A0")]
|
||||
private static bool HaveSameContents(bool[] a, bool[] b)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length == length2)
|
||||
{
|
||||
if (length != 0)
|
||||
{
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C38 RID: 31800 RVA: 0x0019D9AC File Offset: 0x0019BBAC
|
||||
[Token(Token = "0x6007C38")]
|
||||
[Address(RVA = "0x1C5B920", Offset = "0x1C5A320", VA = "0x181C5B920")]
|
||||
private static bool HaveSameContents(char[] a, char[] b)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length == length2)
|
||||
{
|
||||
if (length != 0)
|
||||
{
|
||||
char c = b[length];
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C39 RID: 31801 RVA: 0x0019D9E0 File Offset: 0x0019BBE0
|
||||
[Token(Token = "0x6007C39")]
|
||||
[Address(RVA = "0x1C5B8A0", Offset = "0x1C5A2A0", VA = "0x181C5B8A0")]
|
||||
private static bool HaveSameContents(byte[] a, byte[] b)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length == length2)
|
||||
{
|
||||
if (length != 0)
|
||||
{
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C3A RID: 31802 RVA: 0x0019DA0C File Offset: 0x0019BC0C
|
||||
[Token(Token = "0x6007C3A")]
|
||||
[Address(RVA = "0x1C5B820", Offset = "0x1C5A220", VA = "0x181C5B820")]
|
||||
private static bool HaveSameContents(int[] a, int[] b)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length == length2)
|
||||
{
|
||||
if (length != 0)
|
||||
{
|
||||
int num = b[length];
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C3B RID: 31803 RVA: 0x0019DA40 File Offset: 0x0019BC40
|
||||
[Token(Token = "0x6007C3B")]
|
||||
[Address(RVA = "0x1C5B820", Offset = "0x1C5A220", VA = "0x181C5B820")]
|
||||
private static bool HaveSameContents(uint[] a, uint[] b)
|
||||
{
|
||||
int length = a.Length;
|
||||
int length2 = b.Length;
|
||||
if (length == length2)
|
||||
{
|
||||
if (length != 0)
|
||||
{
|
||||
uint num = b[length];
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C3C RID: 31804 RVA: 0x0019DA74 File Offset: 0x0019BC74
|
||||
[Token(Token = "0x6007C3C")]
|
||||
[Address(RVA = "0x1C5BDF0", Offset = "0x1C5A7F0", VA = "0x181C5BDF0")]
|
||||
public static string ToString(object[] a)
|
||||
{
|
||||
StringBuilder stringBuilder = new StringBuilder(91);
|
||||
if (a.Length != 0)
|
||||
{
|
||||
object obj = a[0];
|
||||
StringBuilder stringBuilder2 = stringBuilder.Append(obj);
|
||||
if ((uint)1 < (uint)a.Length)
|
||||
{
|
||||
object obj2;
|
||||
StringBuilder stringBuilder3 = stringBuilder.Append(", ").Append(obj2);
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C3D RID: 31805 RVA: 0x0019DAC4 File Offset: 0x0019BCC4
|
||||
[Token(Token = "0x6007C3D")]
|
||||
[Address(RVA = "0x1C5B630", Offset = "0x1C5A030", VA = "0x181C5B630")]
|
||||
public static int GetHashCode(byte[] data)
|
||||
{
|
||||
if (data != 0)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = length - 1;
|
||||
long num2 = (long)((length + 1) * (int)((uint)257));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C3E RID: 31806 RVA: 0x0019DAF4 File Offset: 0x0019BCF4
|
||||
[Token(Token = "0x6007C3E")]
|
||||
[Address(RVA = "0x1C5B5D0", Offset = "0x1C59FD0", VA = "0x181C5B5D0")]
|
||||
public static int GetHashCode(byte[] data, int off, int len)
|
||||
{
|
||||
if (data != 0)
|
||||
{
|
||||
int num = len + 1;
|
||||
int length = data.Length;
|
||||
long num2 = (long)(num * (int)((uint)257));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C3F RID: 31807 RVA: 0x0019DB20 File Offset: 0x0019BD20
|
||||
[Token(Token = "0x6007C3F")]
|
||||
[Address(RVA = "0x1C5B570", Offset = "0x1C59F70", VA = "0x181C5B570")]
|
||||
public static int GetHashCode(int[] data)
|
||||
{
|
||||
if (data != 0)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = length - 1;
|
||||
int num2 = length + 1;
|
||||
return num;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C40 RID: 31808 RVA: 0x0019DB4C File Offset: 0x0019BD4C
|
||||
[Token(Token = "0x6007C40")]
|
||||
[Address(RVA = "0x1C5B510", Offset = "0x1C59F10", VA = "0x181C5B510")]
|
||||
public static int GetHashCode(int[] data, int off, int len)
|
||||
{
|
||||
if (data != 0)
|
||||
{
|
||||
int num = len + 1;
|
||||
int length = data.Length;
|
||||
return off;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C41 RID: 31809 RVA: 0x0019DB74 File Offset: 0x0019BD74
|
||||
[Token(Token = "0x6007C41")]
|
||||
[Address(RVA = "0x1C5B570", Offset = "0x1C59F70", VA = "0x181C5B570")]
|
||||
[CLSCompliant(false)]
|
||||
public static int GetHashCode(uint[] data)
|
||||
{
|
||||
if (data != 0)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = length - 1;
|
||||
int num2 = length + 1;
|
||||
uint num3 = data[num];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C42 RID: 31810 RVA: 0x0019DBA4 File Offset: 0x0019BDA4
|
||||
[Token(Token = "0x6007C42")]
|
||||
[Address(RVA = "0x1C5B510", Offset = "0x1C59F10", VA = "0x181C5B510")]
|
||||
[CLSCompliant(false)]
|
||||
public static int GetHashCode(uint[] data, int off, int len)
|
||||
{
|
||||
if (data != 0)
|
||||
{
|
||||
int num = len + 1;
|
||||
int length = data.Length;
|
||||
uint num2 = data[off];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C43 RID: 31811 RVA: 0x0019DBD0 File Offset: 0x0019BDD0
|
||||
[Token(Token = "0x6007C43")]
|
||||
[Address(RVA = "0x1C5B690", Offset = "0x1C5A090", VA = "0x181C5B690")]
|
||||
[CLSCompliant(false)]
|
||||
public static int GetHashCode(ulong[] data)
|
||||
{
|
||||
if (data != 0)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = length - 1;
|
||||
long num2 = (long)((length + 1) * (int)((uint)257));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C44 RID: 31812 RVA: 0x0019DC00 File Offset: 0x0019BE00
|
||||
[Token(Token = "0x6007C44")]
|
||||
[Address(RVA = "0x1C5B700", Offset = "0x1C5A100", VA = "0x181C5B700")]
|
||||
[CLSCompliant(false)]
|
||||
public static int GetHashCode(ulong[] data, int off, int len)
|
||||
{
|
||||
if (data != 0)
|
||||
{
|
||||
int num = len + 1;
|
||||
int length = data.Length;
|
||||
long num2 = (long)(num * (int)((uint)257));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C45 RID: 31813 RVA: 0x0019DC2C File Offset: 0x0019BE2C
|
||||
[Token(Token = "0x6007C45")]
|
||||
[Address(RVA = "0x1C5A6D0", Offset = "0x1C590D0", VA = "0x181C5A6D0")]
|
||||
public static byte[] Clone(byte[] data)
|
||||
{
|
||||
while (data != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007C46 RID: 31814 RVA: 0x0019DC40 File Offset: 0x0019BE40
|
||||
[Token(Token = "0x6007C46")]
|
||||
[Address(RVA = "0x1C5A3B0", Offset = "0x1C58DB0", VA = "0x181C5A3B0")]
|
||||
public static byte[] Clone(byte[] data, byte[] existing)
|
||||
{
|
||||
if (data != 0)
|
||||
{
|
||||
if (existing != 0)
|
||||
{
|
||||
int length = existing.Length;
|
||||
if (length == data.Length)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
Array.Copy(data, num2, existing, num, length);
|
||||
return existing;
|
||||
}
|
||||
}
|
||||
return Arrays.Clone(data);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007C47 RID: 31815 RVA: 0x0019DC80 File Offset: 0x0019BE80
|
||||
[Token(Token = "0x6007C47")]
|
||||
[Address(RVA = "0x1C5A5D0", Offset = "0x1C58FD0", VA = "0x181C5A5D0")]
|
||||
public static int[] Clone(int[] data)
|
||||
{
|
||||
while (data != 0)
|
||||
{
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C48 RID: 31816 RVA: 0x0019DC94 File Offset: 0x0019BE94
|
||||
[Token(Token = "0x6007C48")]
|
||||
[Address(RVA = "0x1C5A750", Offset = "0x1C59150", VA = "0x181C5A750")]
|
||||
internal static uint[] Clone(uint[] data)
|
||||
{
|
||||
while (data != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007C49 RID: 31817 RVA: 0x0019DCA8 File Offset: 0x0019BEA8
|
||||
[Token(Token = "0x6007C49")]
|
||||
[Address(RVA = "0x1C5A460", Offset = "0x1C58E60", VA = "0x181C5A460")]
|
||||
public static long[] Clone(long[] data)
|
||||
{
|
||||
while (data != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007C4A RID: 31818 RVA: 0x0019DCBC File Offset: 0x0019BEBC
|
||||
[Token(Token = "0x6007C4A")]
|
||||
[Address(RVA = "0x1C5A650", Offset = "0x1C59050", VA = "0x181C5A650")]
|
||||
[CLSCompliant(false)]
|
||||
public static ulong[] Clone(ulong[] data)
|
||||
{
|
||||
while (data != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007C4B RID: 31819 RVA: 0x0019DCD0 File Offset: 0x0019BED0
|
||||
[Token(Token = "0x6007C4B")]
|
||||
[Address(RVA = "0x1C5A4E0", Offset = "0x1C58EE0", VA = "0x181C5A4E0")]
|
||||
[CLSCompliant(false)]
|
||||
public static ulong[] Clone(ulong[] data, ulong[] existing)
|
||||
{
|
||||
if (data == 0 || existing == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
int length = existing.Length;
|
||||
if (length == data.Length)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
Array.Copy(data, num2, existing, num, length);
|
||||
return existing;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007C4C RID: 31820 RVA: 0x0019DD0C File Offset: 0x0019BF0C
|
||||
[Token(Token = "0x6007C4C")]
|
||||
[Address(RVA = "0x1C5AC80", Offset = "0x1C59680", VA = "0x181C5AC80")]
|
||||
public static bool Contains(byte[] a, byte n)
|
||||
{
|
||||
int num = 0;
|
||||
int length = a.Length;
|
||||
if (num < length)
|
||||
{
|
||||
num++;
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C4D RID: 31821 RVA: 0x0019DD34 File Offset: 0x0019BF34
|
||||
[Token(Token = "0x6007C4D")]
|
||||
[Address(RVA = "0x1C5AC20", Offset = "0x1C59620", VA = "0x181C5AC20")]
|
||||
public static bool Contains(short[] a, short n)
|
||||
{
|
||||
int num = 0;
|
||||
int length = a.Length;
|
||||
if (num < length)
|
||||
{
|
||||
if ("{il2cpp array field a->}" != n)
|
||||
{
|
||||
num++;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C4E RID: 31822 RVA: 0x0019DD64 File Offset: 0x0019BF64
|
||||
[Token(Token = "0x6007C4E")]
|
||||
[Address(RVA = "0x1C5ACE0", Offset = "0x1C596E0", VA = "0x181C5ACE0")]
|
||||
public static bool Contains(int[] a, int n)
|
||||
{
|
||||
int num = 0;
|
||||
int length = a.Length;
|
||||
if (num < length)
|
||||
{
|
||||
if ("{il2cpp array field a->}" != n)
|
||||
{
|
||||
num++;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C4F RID: 31823 RVA: 0x0019DD94 File Offset: 0x0019BF94
|
||||
[Token(Token = "0x6007C4F")]
|
||||
[Address(RVA = "0x1C5B4C0", Offset = "0x1C59EC0", VA = "0x181C5B4C0")]
|
||||
public static void Fill(byte[] buf, byte b)
|
||||
{
|
||||
int num = buf.Length;
|
||||
if (num > 0)
|
||||
{
|
||||
num--;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007C50 RID: 31824 RVA: 0x0019DDB8 File Offset: 0x0019BFB8
|
||||
[Token(Token = "0x6007C50")]
|
||||
[Address(RVA = "0x1C5B470", Offset = "0x1C59E70", VA = "0x181C5B470")]
|
||||
public static void Fill(byte[] buf, int from, int to, byte b)
|
||||
{
|
||||
if (from < to)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007C51 RID: 31825 RVA: 0x0019DDD0 File Offset: 0x0019BFD0
|
||||
[Token(Token = "0x6007C51")]
|
||||
[Address(RVA = "0x1C5B310", Offset = "0x1C59D10", VA = "0x181C5B310")]
|
||||
public static byte[] CopyOf(byte[] data, int newLength)
|
||||
{
|
||||
byte[] array = new byte[newLength];
|
||||
int length = data.Length;
|
||||
int num = Math.Min(newLength, length);
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
Array.Copy(data, num3, array, num2, num);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C52 RID: 31826 RVA: 0x0019DE0C File Offset: 0x0019C00C
|
||||
[Token(Token = "0x6007C52")]
|
||||
[Address(RVA = "0x1C5B1B0", Offset = "0x1C59BB0", VA = "0x181C5B1B0")]
|
||||
public static char[] CopyOf(char[] data, int newLength)
|
||||
{
|
||||
char[] array = new char[newLength];
|
||||
int length = data.Length;
|
||||
int num = Math.Min(newLength, length);
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
Array.Copy(data, num3, array, num2, num);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C53 RID: 31827 RVA: 0x0019DE48 File Offset: 0x0019C048
|
||||
[Token(Token = "0x6007C53")]
|
||||
[Address(RVA = "0x1C5B3C0", Offset = "0x1C59DC0", VA = "0x181C5B3C0")]
|
||||
public static int[] CopyOf(int[] data, int newLength)
|
||||
{
|
||||
int[] array = new int[newLength];
|
||||
int length = data.Length;
|
||||
int num = Math.Min(newLength, length);
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
Array.Copy(data, num3, array, num2, num);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C54 RID: 31828 RVA: 0x0019DE84 File Offset: 0x0019C084
|
||||
[Token(Token = "0x6007C54")]
|
||||
[Address(RVA = "0x1C5B260", Offset = "0x1C59C60", VA = "0x181C5B260")]
|
||||
public static long[] CopyOf(long[] data, int newLength)
|
||||
{
|
||||
long[] array = new long[newLength];
|
||||
int length = data.Length;
|
||||
int num = Math.Min(newLength, length);
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
Array.Copy(data, num3, array, num2, num);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C55 RID: 31829 RVA: 0x0019DEC0 File Offset: 0x0019C0C0
|
||||
[Token(Token = "0x6007C55")]
|
||||
[Address(RVA = "0x1C5B100", Offset = "0x1C59B00", VA = "0x181C5B100")]
|
||||
public static BigInteger[] CopyOf(BigInteger[] data, int newLength)
|
||||
{
|
||||
BigInteger[] array = new BigInteger[newLength];
|
||||
int length = data.Length;
|
||||
int num = Math.Min(newLength, length);
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
Array.Copy(data, num3, array, num2, num);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C56 RID: 31830 RVA: 0x0019DEFC File Offset: 0x0019C0FC
|
||||
[Token(Token = "0x6007C56")]
|
||||
[Address(RVA = "0x1C5AE30", Offset = "0x1C59830", VA = "0x181C5AE30")]
|
||||
public static byte[] CopyOfRange(byte[] data, int from, int to)
|
||||
{
|
||||
int length = Arrays.GetLength(from, from);
|
||||
byte[] array = new byte[from];
|
||||
int num = data.Length;
|
||||
num -= from;
|
||||
int num2 = Math.Min(to, num);
|
||||
int num3 = 0;
|
||||
Array.Copy(data, from, array, num3, num2);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C57 RID: 31831 RVA: 0x0019DF44 File Offset: 0x0019C144
|
||||
[Token(Token = "0x6007C57")]
|
||||
[Address(RVA = "0x1C5AF20", Offset = "0x1C59920", VA = "0x181C5AF20")]
|
||||
public static int[] CopyOfRange(int[] data, int from, int to)
|
||||
{
|
||||
int length = Arrays.GetLength(from, from);
|
||||
int[] array = new int[from];
|
||||
int num = data.Length;
|
||||
num -= from;
|
||||
int num2 = Math.Min(to, num);
|
||||
int num3 = 0;
|
||||
Array.Copy(data, from, array, num3, num2);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C58 RID: 31832 RVA: 0x0019DF8C File Offset: 0x0019C18C
|
||||
[Token(Token = "0x6007C58")]
|
||||
[Address(RVA = "0x1C5AD40", Offset = "0x1C59740", VA = "0x181C5AD40")]
|
||||
public static long[] CopyOfRange(long[] data, int from, int to)
|
||||
{
|
||||
int length = Arrays.GetLength(from, from);
|
||||
long[] array = new long[from];
|
||||
int num = data.Length;
|
||||
num -= from;
|
||||
int num2 = Math.Min(to, num);
|
||||
int num3 = 0;
|
||||
Array.Copy(data, from, array, num3, num2);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C59 RID: 31833 RVA: 0x0019DFD4 File Offset: 0x0019C1D4
|
||||
[Token(Token = "0x6007C59")]
|
||||
[Address(RVA = "0x1C5B010", Offset = "0x1C59A10", VA = "0x181C5B010")]
|
||||
public static BigInteger[] CopyOfRange(BigInteger[] data, int from, int to)
|
||||
{
|
||||
int length = Arrays.GetLength(from, from);
|
||||
BigInteger[] array = new BigInteger[from];
|
||||
int num = data.Length;
|
||||
num -= from;
|
||||
int num2 = Math.Min(to, num);
|
||||
int num3 = 0;
|
||||
Array.Copy(data, from, array, num3, num2);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C5A RID: 31834 RVA: 0x0019E01C File Offset: 0x0019C21C
|
||||
[Token(Token = "0x6007C5A")]
|
||||
[Address(RVA = "0x1C5B770", Offset = "0x1C5A170", VA = "0x181C5B770")]
|
||||
private static int GetLength(int from, int to)
|
||||
{
|
||||
return to;
|
||||
}
|
||||
|
||||
// Token: 0x06007C5B RID: 31835 RVA: 0x0019E03C File Offset: 0x0019C23C
|
||||
[Token(Token = "0x6007C5B")]
|
||||
[Address(RVA = "0x1C59DA0", Offset = "0x1C587A0", VA = "0x181C59DA0")]
|
||||
public static byte[] Append(byte[] a, byte b)
|
||||
{
|
||||
if (a != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
byte[] array = new byte[length + 1];
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
Array.Copy(a, num2, array, num, length);
|
||||
return array;
|
||||
}
|
||||
(new byte[1])[0] = b;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C5C RID: 31836 RVA: 0x0019E084 File Offset: 0x0019C284
|
||||
[Token(Token = "0x6007C5C")]
|
||||
[Address(RVA = "0x1C59BE0", Offset = "0x1C585E0", VA = "0x181C59BE0")]
|
||||
public static short[] Append(short[] a, short b)
|
||||
{
|
||||
if (a != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
short[] array = new short[length + 1];
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
Array.Copy(a, num2, array, num, length);
|
||||
array[0] = b;
|
||||
return array;
|
||||
}
|
||||
(new short[1])[0] = b;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C5D RID: 31837 RVA: 0x0019E0D4 File Offset: 0x0019C2D4
|
||||
[Token(Token = "0x6007C5D")]
|
||||
[Address(RVA = "0x1C59CC0", Offset = "0x1C586C0", VA = "0x181C59CC0")]
|
||||
public static int[] Append(int[] a, int b)
|
||||
{
|
||||
if (a != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
int[] array = new int[length + 1];
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
Array.Copy(a, num2, array, num, length);
|
||||
array[0] = b;
|
||||
return array;
|
||||
}
|
||||
(new int[1])[0] = b;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C5E RID: 31838 RVA: 0x0019E124 File Offset: 0x0019C324
|
||||
[Token(Token = "0x6007C5E")]
|
||||
[Address(RVA = "0x1C5A960", Offset = "0x1C59360", VA = "0x181C5A960")]
|
||||
public static byte[] Concatenate(byte[] a, byte[] b)
|
||||
{
|
||||
if (a == 0)
|
||||
{
|
||||
return Arrays.Clone(b);
|
||||
}
|
||||
if (b != 0)
|
||||
{
|
||||
byte[] array = new byte[b.Length];
|
||||
int length = a.Length;
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
Array.Copy(a, num2, array, num, length);
|
||||
int length2 = b.Length;
|
||||
int length3 = a.Length;
|
||||
int num3 = 0;
|
||||
Array.Copy(b, num3, array, length3, length2);
|
||||
return array;
|
||||
}
|
||||
return Arrays.Clone(a);
|
||||
}
|
||||
|
||||
// Token: 0x06007C5F RID: 31839 RVA: 0x0019E18C File Offset: 0x0019C38C
|
||||
[Token(Token = "0x6007C5F")]
|
||||
[Address(RVA = "0x1C5A7D0", Offset = "0x1C591D0", VA = "0x181C5A7D0")]
|
||||
public static byte[] ConcatenateAll(params byte[][] vs)
|
||||
{
|
||||
byte[][] array = new byte[vs.Length][];
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
int num4 = 0;
|
||||
int length = vs.Length;
|
||||
if (num4 < length)
|
||||
{
|
||||
byte[] array2 = vs[num3];
|
||||
if (array2 != 0)
|
||||
{
|
||||
num++;
|
||||
throw new ArrayTypeMismatchException();
|
||||
}
|
||||
num3++;
|
||||
}
|
||||
byte[] array3 = new byte[num2];
|
||||
int num5 = 0;
|
||||
if (num > 0)
|
||||
{
|
||||
byte[] array4 = array[num5];
|
||||
int length2 = array4.Length;
|
||||
int num6 = 0;
|
||||
Array.Copy(array4, num6, array3, num5, length2);
|
||||
num5++;
|
||||
}
|
||||
return array3;
|
||||
}
|
||||
|
||||
// Token: 0x06007C60 RID: 31840 RVA: 0x0019E224 File Offset: 0x0019C424
|
||||
[Token(Token = "0x6007C60")]
|
||||
[Address(RVA = "0x1C5AA70", Offset = "0x1C59470", VA = "0x181C5AA70")]
|
||||
public static int[] Concatenate(int[] a, int[] b)
|
||||
{
|
||||
if (a == 0)
|
||||
{
|
||||
return Arrays.Clone(b);
|
||||
}
|
||||
if (b != 0)
|
||||
{
|
||||
int[] array = new int[b.Length];
|
||||
int length = a.Length;
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
Array.Copy(a, num2, array, num, length);
|
||||
int length2 = b.Length;
|
||||
int length3 = a.Length;
|
||||
int num3 = 0;
|
||||
Array.Copy(b, num3, array, length3, length2);
|
||||
return array;
|
||||
}
|
||||
return Arrays.Clone(a);
|
||||
}
|
||||
|
||||
// Token: 0x06007C61 RID: 31841 RVA: 0x0019E28C File Offset: 0x0019C48C
|
||||
[Token(Token = "0x6007C61")]
|
||||
[Address(RVA = "0x1C5BA90", Offset = "0x1C5A490", VA = "0x181C5BA90")]
|
||||
public static byte[] Prepend(byte[] a, byte b)
|
||||
{
|
||||
if (a != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
byte[] array = new byte[length + 1];
|
||||
int num = 0;
|
||||
Array.Copy(a, num, array, 1, length);
|
||||
array[0] = b;
|
||||
return array;
|
||||
}
|
||||
return new byte[] { b };
|
||||
}
|
||||
|
||||
// Token: 0x06007C62 RID: 31842 RVA: 0x0019E2DC File Offset: 0x0019C4DC
|
||||
[Token(Token = "0x6007C62")]
|
||||
[Address(RVA = "0x1C5BB80", Offset = "0x1C5A580", VA = "0x181C5BB80")]
|
||||
public static short[] Prepend(short[] a, short b)
|
||||
{
|
||||
if (a != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
short[] array = new short[length + 1];
|
||||
int num = 0;
|
||||
Array.Copy(a, num, array, 1, length);
|
||||
array[0] = b;
|
||||
return array;
|
||||
}
|
||||
return new short[] { b };
|
||||
}
|
||||
|
||||
// Token: 0x06007C63 RID: 31843 RVA: 0x0019E32C File Offset: 0x0019C52C
|
||||
[Token(Token = "0x6007C63")]
|
||||
[Address(RVA = "0x1C5B9A0", Offset = "0x1C5A3A0", VA = "0x181C5B9A0")]
|
||||
public static int[] Prepend(int[] a, int b)
|
||||
{
|
||||
if (a != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
int[] array = new int[length + 1];
|
||||
int num = 0;
|
||||
Array.Copy(a, num, array, 1, length);
|
||||
array[0] = b;
|
||||
return array;
|
||||
}
|
||||
return new int[] { b };
|
||||
}
|
||||
|
||||
// Token: 0x06007C64 RID: 31844 RVA: 0x0019E37C File Offset: 0x0019C57C
|
||||
[Token(Token = "0x6007C64")]
|
||||
[Address(RVA = "0x1C5BD30", Offset = "0x1C5A730", VA = "0x181C5BD30")]
|
||||
public static byte[] Reverse(byte[] a)
|
||||
{
|
||||
if (a != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
int num = 0;
|
||||
byte[] array = new byte[length];
|
||||
num++;
|
||||
return array;
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C65 RID: 31845 RVA: 0x0019E3AC File Offset: 0x0019C5AC
|
||||
[Token(Token = "0x6007C65")]
|
||||
[Address(RVA = "0x1C5BC70", Offset = "0x1C5A670", VA = "0x181C5BC70")]
|
||||
public static int[] Reverse(int[] a)
|
||||
{
|
||||
if (a != 0)
|
||||
{
|
||||
int length = a.Length;
|
||||
int num = 0;
|
||||
int[] array = new int[length];
|
||||
num++;
|
||||
int num2 = a[num];
|
||||
array[0] = num2;
|
||||
return array;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007C66 RID: 31846 RVA: 0x0019E3EC File Offset: 0x0019C5EC
|
||||
[Token(Token = "0x6007C66")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected Arrays()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040058A1 RID: 22689
|
||||
[Token(Token = "0x40058A1")]
|
||||
public static readonly byte[] EmptyBytes = new byte[0];
|
||||
|
||||
// Token: 0x040058A2 RID: 22690
|
||||
[Token(Token = "0x40058A2")]
|
||||
public static readonly int[] EmptyInts = new int[0];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001344 RID: 4932
|
||||
[Token(Token = "0x2001344")]
|
||||
[StructLayout(3)]
|
||||
public abstract class BigIntegers
|
||||
{
|
||||
// Token: 0x06007C68 RID: 31848 RVA: 0x0019E424 File Offset: 0x0019C624
|
||||
[Token(Token = "0x6007C68")]
|
||||
[Address(RVA = "0x1C5D8B0", Offset = "0x1C5C2B0", VA = "0x181C5D8B0")]
|
||||
public static byte[] AsUnsignedByteArray(BigInteger n)
|
||||
{
|
||||
return n.ToByteArrayUnsigned();
|
||||
}
|
||||
|
||||
// Token: 0x06007C69 RID: 31849 RVA: 0x0019E440 File Offset: 0x0019C640
|
||||
[Token(Token = "0x6007C69")]
|
||||
[Address(RVA = "0x1C5D8D0", Offset = "0x1C5C2D0", VA = "0x181C5D8D0")]
|
||||
public static byte[] AsUnsignedByteArray(int length, BigInteger n)
|
||||
{
|
||||
byte[] array = n.ToByteArrayUnsigned();
|
||||
if (array.Length != length)
|
||||
{
|
||||
byte[] array2 = new byte[length];
|
||||
int length2 = array.Length;
|
||||
int num = array2.Length;
|
||||
int num2 = 0;
|
||||
num -= length2;
|
||||
Array.Copy(array, num2, array2, num, length2);
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C6A RID: 31850 RVA: 0x0019E48C File Offset: 0x0019C68C
|
||||
[Token(Token = "0x6007C6A")]
|
||||
[Address(RVA = "0x1C5D9A0", Offset = "0x1C5C3A0", VA = "0x181C5D9A0")]
|
||||
public static BigInteger CreateRandomInRange(BigInteger min, BigInteger max, SecureRandom random)
|
||||
{
|
||||
int num = min.CompareTo(max);
|
||||
int num2 = min.BitLength;
|
||||
int num3 = 0;
|
||||
int num4 = max.BitLength;
|
||||
num4 -= num3;
|
||||
int num5 = 0;
|
||||
num2 = max.BitLength;
|
||||
BigInteger bigInteger = new BigInteger(num2, random);
|
||||
int num6 = bigInteger.CompareTo(min);
|
||||
if (bigInteger.CompareTo(max) > 0)
|
||||
{
|
||||
num5++;
|
||||
num2 = max.Subtract(min).BitLength;
|
||||
int num7;
|
||||
BigInteger bigInteger2 = new BigInteger(num7, random);
|
||||
num7 = num2 - 1;
|
||||
return bigInteger2.Add(min);
|
||||
}
|
||||
BigInteger zero = BigInteger.Zero;
|
||||
BigInteger bigInteger3 = max.Subtract(min);
|
||||
BigInteger bigInteger4 = BigIntegers.CreateRandomInRange(zero, bigInteger3, random);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C6B RID: 31851 RVA: 0x0019E52C File Offset: 0x0019C72C
|
||||
[Token(Token = "0x6007C6B")]
|
||||
[Address(RVA = "0x1C5DBB0", Offset = "0x1C5C5B0", VA = "0x181C5DBB0")]
|
||||
public static int GetUnsignedByteLength(BigInteger n)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = n.BitLength;
|
||||
num2 += 7;
|
||||
return num2 + num;
|
||||
}
|
||||
|
||||
// Token: 0x06007C6C RID: 31852 RVA: 0x0019E554 File Offset: 0x0019C754
|
||||
[Token(Token = "0x6007C6C")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected BigIntegers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040058A3 RID: 22691
|
||||
[Token(Token = "0x40058A3")]
|
||||
private const int MaxIterations = 1000;
|
||||
}
|
||||
}
|
||||
+206
@@ -0,0 +1,206 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001379 RID: 4985
|
||||
[Token(Token = "0x2001379")]
|
||||
[StructLayout(3)]
|
||||
public abstract class CollectionUtilities
|
||||
{
|
||||
// Token: 0x06007E0F RID: 32271 RVA: 0x001A757C File Offset: 0x001A577C
|
||||
[Token(Token = "0x6007E0F")]
|
||||
[Address(RVA = "0x1C5E7C0", Offset = "0x1C5D1C0", VA = "0x181C5E7C0")]
|
||||
public static void AddRange(IList to, IEnumerable range)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
uint num2;
|
||||
if (num < (int)num2)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
num += num;
|
||||
num++;
|
||||
num += 19;
|
||||
num += num;
|
||||
num += 2;
|
||||
num += 19;
|
||||
if (num != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06007E10 RID: 32272 RVA: 0x001A75D4 File Offset: 0x001A57D4
|
||||
[Token(Token = "0x6007E10")]
|
||||
[Address(RVA = "0x1C5E9E0", Offset = "0x1C5D3E0", VA = "0x181C5E9E0")]
|
||||
public static bool CheckElementsAreOfType(IEnumerable e, Type t)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
bool flag;
|
||||
while (flag)
|
||||
{
|
||||
}
|
||||
if (flag)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
if (typeof(IDisposable).TypeHandle == (ulong)58L)
|
||||
{
|
||||
}
|
||||
if (typeof(IDisposable).TypeHandle == (ulong)56L)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007E11 RID: 32273 RVA: 0x001A7620 File Offset: 0x001A5820
|
||||
[Token(Token = "0x6007E11")]
|
||||
[Address(RVA = "0x1C5EB80", Offset = "0x1C5D580", VA = "0x181C5EB80")]
|
||||
public static IDictionary ReadOnly(IDictionary d)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E11)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.CollectionUtilities::ReadOnly(System.Collections.IDictionary)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stfld:IDictionary(UnmodifiableDictionaryProxy::d, ldloc:UnmodifiableDictionaryProxy(var_0), ldloc:IDictionary(d))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E12 RID: 32274 RVA: 0x001A7634 File Offset: 0x001A5834
|
||||
[Token(Token = "0x6007E12")]
|
||||
[Address(RVA = "0x1C5EC40", Offset = "0x1C5D640", VA = "0x181C5EC40")]
|
||||
public static IList ReadOnly(IList l)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E12)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.CollectionUtilities::ReadOnly(System.Collections.IList)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stfld:IList(UnmodifiableListProxy::l, ldloc:UnmodifiableListProxy(var_0), ldloc:IList(l))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E13 RID: 32275 RVA: 0x001A7648 File Offset: 0x001A5848
|
||||
[Token(Token = "0x6007E13")]
|
||||
[Address(RVA = "0x1C5EBE0", Offset = "0x1C5D5E0", VA = "0x181C5EBE0")]
|
||||
public static ISet ReadOnly(ISet s)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E13)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.CollectionUtilities::ReadOnly(BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stfld:ISet(UnmodifiableSetProxy::s, ldloc:UnmodifiableSetProxy(var_0), ldloc:ISet(s))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E14 RID: 32276 RVA: 0x001A765C File Offset: 0x001A585C
|
||||
[Token(Token = "0x6007E14")]
|
||||
[Address(RVA = "0x1C5ECA0", Offset = "0x1C5D6A0", VA = "0x181C5ECA0")]
|
||||
public static object RequireNext(IEnumerator e)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E15 RID: 32277 RVA: 0x001A7674 File Offset: 0x001A5874
|
||||
[Token(Token = "0x6007E15")]
|
||||
[Address(RVA = "0x1C5ED30", Offset = "0x1C5D730", VA = "0x181C5ED30")]
|
||||
public static string ToString(IEnumerable c)
|
||||
{
|
||||
StringBuilder stringBuilder = new StringBuilder("[");
|
||||
if (stringBuilder != 0)
|
||||
{
|
||||
int hashCode = stringBuilder.GetHashCode();
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
if (num2 < num)
|
||||
{
|
||||
num2 += num2;
|
||||
num2++;
|
||||
}
|
||||
if (num2 != 0)
|
||||
{
|
||||
int num3 = 0;
|
||||
StringBuilder stringBuilder2 = stringBuilder.Append(", ");
|
||||
if (num2 < num3)
|
||||
{
|
||||
num2 += num2;
|
||||
num2++;
|
||||
}
|
||||
int num4 = num2.GetHashCode();
|
||||
num4 += num4;
|
||||
num4 += num4;
|
||||
}
|
||||
}
|
||||
uint num5;
|
||||
StringBuilder stringBuilder3 = stringBuilder.Append((char)num5);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E16 RID: 32278 RVA: 0x001A76FC File Offset: 0x001A58FC
|
||||
[Token(Token = "0x6007E16")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected CollectionUtilities()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200137A RID: 4986
|
||||
[Token(Token = "0x200137A")]
|
||||
[StructLayout(3)]
|
||||
public sealed class EmptyEnumerable : IEnumerable
|
||||
{
|
||||
// Token: 0x06007E17 RID: 32279 RVA: 0x001A7710 File Offset: 0x001A5910
|
||||
[Token(Token = "0x6007E17")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private EmptyEnumerable()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007E18 RID: 32280 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007E18")]
|
||||
[Address(RVA = "0x1C5F380", Offset = "0x1C5DD80", VA = "0x181C5F380", Slot = "4")]
|
||||
public IEnumerator GetEnumerator()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007E19 RID: 32281 RVA: 0x001A7724 File Offset: 0x001A5924
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007E19")]
|
||||
[Address(RVA = "0x1C5F3E0", Offset = "0x1C5DDE0", VA = "0x181C5F3E0")]
|
||||
static EmptyEnumerable()
|
||||
{
|
||||
EmptyEnumerable emptyEnumerable = new EmptyEnumerable();
|
||||
}
|
||||
|
||||
// Token: 0x04005A4D RID: 23117
|
||||
[Token(Token = "0x4005A4D")]
|
||||
public static readonly IEnumerable Instance;
|
||||
}
|
||||
}
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200137B RID: 4987
|
||||
[Token(Token = "0x200137B")]
|
||||
[StructLayout(3)]
|
||||
public sealed class EmptyEnumerator : IEnumerator
|
||||
{
|
||||
// Token: 0x06007E1A RID: 32282 RVA: 0x001A7738 File Offset: 0x001A5938
|
||||
[Token(Token = "0x6007E1A")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private EmptyEnumerator()
|
||||
{
|
||||
this.Reset();
|
||||
}
|
||||
|
||||
// Token: 0x06007E1B RID: 32283 RVA: 0x001A774C File Offset: 0x001A594C
|
||||
[Token(Token = "0x6007E1B")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "4")]
|
||||
public bool MoveNext()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007E1C RID: 32284 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007E1C")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "6")]
|
||||
public void Reset()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x1700147A RID: 5242
|
||||
// (get) Token: 0x06007E1D RID: 32285 RVA: 0x001A775C File Offset: 0x001A595C
|
||||
[Token(Token = "0x1700147A")]
|
||||
public object Current
|
||||
{
|
||||
[Token(Token = "0x6007E1D")]
|
||||
[Address(RVA = "0x1C5F4A0", Offset = "0x1C5DEA0", VA = "0x181C5F4A0", Slot = "5")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E1D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.EmptyEnumerator::get_Current()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:InvalidOperationException(var_0_0A, newobj:InvalidOperationException(InvalidOperationException::.ctor, ldstr:string("No elements")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E1E RID: 32286 RVA: 0x001A7774 File Offset: 0x001A5974
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007E1E")]
|
||||
[Address(RVA = "0x1C5F440", Offset = "0x1C5DE40", VA = "0x181C5F440")]
|
||||
static EmptyEnumerator()
|
||||
{
|
||||
EmptyEnumerator emptyEnumerator;
|
||||
emptyEnumerator.Reset();
|
||||
}
|
||||
|
||||
// Token: 0x04005A4E RID: 23118
|
||||
[Token(Token = "0x4005A4E")]
|
||||
public static readonly IEnumerator Instance;
|
||||
}
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200137C RID: 4988
|
||||
[Token(Token = "0x200137C")]
|
||||
[StructLayout(3)]
|
||||
public sealed class EnumerableProxy : IEnumerable
|
||||
{
|
||||
// Token: 0x06007E1F RID: 32287 RVA: 0x001A7788 File Offset: 0x001A5988
|
||||
[Token(Token = "0x6007E1F")]
|
||||
[Address(RVA = "0x1C5F550", Offset = "0x1C5DF50", VA = "0x181C5F550")]
|
||||
public EnumerableProxy(IEnumerable inner)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E1F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.EnumerableProxy::.ctor(System.Collections.IEnumerable)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_12:
|
||||
stloc:ArgumentNullException(var_0_1C, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("inner")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E20 RID: 32288 RVA: 0x001A77B4 File Offset: 0x001A59B4
|
||||
[Token(Token = "0x6007E20")]
|
||||
[Address(RVA = "0x1C5F500", Offset = "0x1C5DF00", VA = "0x181C5F500", Slot = "4")]
|
||||
public IEnumerator GetEnumerator()
|
||||
{
|
||||
IEnumerable enumerable = this.inner;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04005A4F RID: 23119
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A4F")]
|
||||
private readonly IEnumerable inner;
|
||||
}
|
||||
}
|
||||
+244
@@ -0,0 +1,244 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200137D RID: 4989
|
||||
[Token(Token = "0x200137D")]
|
||||
[StructLayout(3)]
|
||||
public class HashSet : ISet, ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06007E21 RID: 32289 RVA: 0x001A77D0 File Offset: 0x001A59D0
|
||||
[Token(Token = "0x6007E21")]
|
||||
[Address(RVA = "0x1C5FFA0", Offset = "0x1C5E9A0", VA = "0x181C5FFA0")]
|
||||
public HashSet()
|
||||
{
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
this.impl = dictionary;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x06007E22 RID: 32290 RVA: 0x001A77F4 File Offset: 0x001A59F4
|
||||
[Token(Token = "0x6007E22")]
|
||||
[Address(RVA = "0x1C60000", Offset = "0x1C5EA00", VA = "0x181C60000")]
|
||||
public HashSet(IEnumerable s)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
this.impl = dictionary;
|
||||
base..ctor();
|
||||
IEnumerator enumerator;
|
||||
if (dictionary != 0)
|
||||
{
|
||||
if (num < dictionary)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
enumerator = this.GetEnumerator();
|
||||
num += num;
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06007E23 RID: 32291 RVA: 0x001A7848 File Offset: 0x001A5A48
|
||||
[Token(Token = "0x6007E23")]
|
||||
[Address(RVA = "0x1C5FB80", Offset = "0x1C5E580", VA = "0x181C5FB80", Slot = "18")]
|
||||
public virtual void Add(object o)
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
}
|
||||
|
||||
// Token: 0x06007E24 RID: 32292 RVA: 0x001A7864 File Offset: 0x001A5A64
|
||||
[Token(Token = "0x6007E24")]
|
||||
[Address(RVA = "0x1C5F9C0", Offset = "0x1C5E3C0", VA = "0x181C5F9C0", Slot = "19")]
|
||||
public virtual void AddAll(IEnumerable e)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
IEnumerator enumerator = this.GetEnumerator();
|
||||
num += num;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06007E25 RID: 32293 RVA: 0x001A7898 File Offset: 0x001A5A98
|
||||
[Token(Token = "0x6007E25")]
|
||||
[Address(RVA = "0x1C5FBF0", Offset = "0x1C5E5F0", VA = "0x181C5FBF0", Slot = "20")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E26 RID: 32294 RVA: 0x001A78B4 File Offset: 0x001A5AB4
|
||||
[Token(Token = "0x6007E26")]
|
||||
[Address(RVA = "0x1C5FC40", Offset = "0x1C5E640", VA = "0x181C5FC40", Slot = "21")]
|
||||
public virtual bool Contains(object o)
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E27 RID: 32295 RVA: 0x001A78D0 File Offset: 0x001A5AD0
|
||||
[Token(Token = "0x6007E27")]
|
||||
[Address(RVA = "0x1C5FCA0", Offset = "0x1C5E6A0", VA = "0x181C5FCA0", Slot = "22")]
|
||||
public virtual void CopyTo(Array array, int index)
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
}
|
||||
|
||||
// Token: 0x1700147B RID: 5243
|
||||
// (get) Token: 0x06007E28 RID: 32296 RVA: 0x001A78EC File Offset: 0x001A5AEC
|
||||
[Token(Token = "0x1700147B")]
|
||||
public virtual int Count
|
||||
{
|
||||
[Token(Token = "0x6007E28")]
|
||||
[Address(RVA = "0x1C601E0", Offset = "0x1C5EBE0", VA = "0x181C601E0", Slot = "23")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E29 RID: 32297 RVA: 0x001A7908 File Offset: 0x001A5B08
|
||||
[Token(Token = "0x6007E29")]
|
||||
[Address(RVA = "0x1C5FD20", Offset = "0x1C5E720", VA = "0x181C5FD20", Slot = "24")]
|
||||
public virtual IEnumerator GetEnumerator()
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x1700147C RID: 5244
|
||||
// (get) Token: 0x06007E2A RID: 32298 RVA: 0x001A7924 File Offset: 0x001A5B24
|
||||
[Token(Token = "0x1700147C")]
|
||||
public virtual bool IsEmpty
|
||||
{
|
||||
[Token(Token = "0x6007E2A")]
|
||||
[Address(RVA = "0x1C60230", Offset = "0x1C5EC30", VA = "0x181C60230", Slot = "25")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
bool flag;
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700147D RID: 5245
|
||||
// (get) Token: 0x06007E2B RID: 32299 RVA: 0x001A7940 File Offset: 0x001A5B40
|
||||
[Token(Token = "0x1700147D")]
|
||||
public virtual bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6007E2B")]
|
||||
[Address(RVA = "0x1C60280", Offset = "0x1C5EC80", VA = "0x181C60280", Slot = "26")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700147E RID: 5246
|
||||
// (get) Token: 0x06007E2C RID: 32300 RVA: 0x001A795C File Offset: 0x001A5B5C
|
||||
[Token(Token = "0x1700147E")]
|
||||
public virtual bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6007E2C")]
|
||||
[Address(RVA = "0x1C602D0", Offset = "0x1C5ECD0", VA = "0x181C602D0", Slot = "27")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700147F RID: 5247
|
||||
// (get) Token: 0x06007E2D RID: 32301 RVA: 0x001A7978 File Offset: 0x001A5B78
|
||||
[Token(Token = "0x1700147F")]
|
||||
public virtual bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6007E2D")]
|
||||
[Address(RVA = "0x1C60320", Offset = "0x1C5ED20", VA = "0x181C60320", Slot = "28")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E2E RID: 32302 RVA: 0x001A7994 File Offset: 0x001A5B94
|
||||
[Token(Token = "0x6007E2E")]
|
||||
[Address(RVA = "0x1C5FF40", Offset = "0x1C5E940", VA = "0x181C5FF40", Slot = "29")]
|
||||
public virtual void Remove(object o)
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E2F RID: 32303 RVA: 0x001A79B0 File Offset: 0x001A5BB0
|
||||
[Token(Token = "0x6007E2F")]
|
||||
[Address(RVA = "0x1C5FD80", Offset = "0x1C5E780", VA = "0x181C5FD80", Slot = "30")]
|
||||
public virtual void RemoveAll(IEnumerable e)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
bool isSynchronized = this.IsSynchronized;
|
||||
num += num;
|
||||
if (isSynchronized)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x17001480 RID: 5248
|
||||
// (get) Token: 0x06007E30 RID: 32304 RVA: 0x001A79E4 File Offset: 0x001A5BE4
|
||||
[Token(Token = "0x17001480")]
|
||||
public virtual object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6007E30")]
|
||||
[Address(RVA = "0x1C60370", Offset = "0x1C5ED70", VA = "0x181C60370", Slot = "31")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04005A50 RID: 23120
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A50")]
|
||||
private readonly IDictionary impl;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200137E RID: 4990
|
||||
[Token(Token = "0x200137E")]
|
||||
[StructLayout(3)]
|
||||
public interface ISet : ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06007E31 RID: 32305
|
||||
[Token(Token = "0x6007E31")]
|
||||
[Address(Slot = "0")]
|
||||
void Add(object o);
|
||||
|
||||
// Token: 0x06007E32 RID: 32306
|
||||
[Token(Token = "0x6007E32")]
|
||||
[Address(Slot = "1")]
|
||||
void AddAll(IEnumerable e);
|
||||
|
||||
// Token: 0x06007E33 RID: 32307
|
||||
[Token(Token = "0x6007E33")]
|
||||
[Address(Slot = "2")]
|
||||
void Clear();
|
||||
|
||||
// Token: 0x06007E34 RID: 32308
|
||||
[Token(Token = "0x6007E34")]
|
||||
[Address(Slot = "3")]
|
||||
bool Contains(object o);
|
||||
|
||||
// Token: 0x17001481 RID: 5249
|
||||
// (get) Token: 0x06007E35 RID: 32309
|
||||
[Token(Token = "0x17001481")]
|
||||
bool IsEmpty
|
||||
{
|
||||
[Token(Token = "0x6007E35")]
|
||||
[Address(Slot = "4")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001482 RID: 5250
|
||||
// (get) Token: 0x06007E36 RID: 32310
|
||||
[Token(Token = "0x17001482")]
|
||||
bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6007E36")]
|
||||
[Address(Slot = "5")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001483 RID: 5251
|
||||
// (get) Token: 0x06007E37 RID: 32311
|
||||
[Token(Token = "0x17001483")]
|
||||
bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6007E37")]
|
||||
[Address(Slot = "6")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06007E38 RID: 32312
|
||||
[Token(Token = "0x6007E38")]
|
||||
[Address(Slot = "7")]
|
||||
void Remove(object o);
|
||||
|
||||
// Token: 0x06007E39 RID: 32313
|
||||
[Token(Token = "0x6007E39")]
|
||||
[Address(Slot = "8")]
|
||||
void RemoveAll(IEnumerable e);
|
||||
}
|
||||
}
|
||||
+334
@@ -0,0 +1,334 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200137F RID: 4991
|
||||
[Token(Token = "0x200137F")]
|
||||
[StructLayout(3)]
|
||||
public class LinkedDictionary : IDictionary, ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06007E3A RID: 32314 RVA: 0x001A7A00 File Offset: 0x001A5C00
|
||||
[Token(Token = "0x6007E3A")]
|
||||
[Address(RVA = "0x1C611E0", Offset = "0x1C5FBE0", VA = "0x181C611E0")]
|
||||
public LinkedDictionary()
|
||||
{
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
this.hash = dictionary;
|
||||
IList list = Platform.CreateArrayList();
|
||||
this.keys = list;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x06007E3B RID: 32315 RVA: 0x001A7A34 File Offset: 0x001A5C34
|
||||
[Token(Token = "0x6007E3B")]
|
||||
[Address(RVA = "0x1C60D30", Offset = "0x1C5F730", VA = "0x181C60D30", Slot = "20")]
|
||||
public virtual void Add(object k, object v)
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
IList list = this.keys;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E3C RID: 32316 RVA: 0x001A7A54 File Offset: 0x001A5C54
|
||||
[Token(Token = "0x6007E3C")]
|
||||
[Address(RVA = "0x1C60DC0", Offset = "0x1C5F7C0", VA = "0x181C60DC0", Slot = "21")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
IList list = this.keys;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E3D RID: 32317 RVA: 0x001A7A74 File Offset: 0x001A5C74
|
||||
[Token(Token = "0x6007E3D")]
|
||||
[Address(RVA = "0x1C60E30", Offset = "0x1C5F830", VA = "0x181C60E30", Slot = "22")]
|
||||
public virtual bool Contains(object k)
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E3E RID: 32318 RVA: 0x001A7A90 File Offset: 0x001A5C90
|
||||
[Token(Token = "0x6007E3E")]
|
||||
[Address(RVA = "0x1C60E90", Offset = "0x1C5F890", VA = "0x181C60E90", Slot = "23")]
|
||||
public virtual void CopyTo(Array array, int index)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
IList list = this.keys;
|
||||
num += num;
|
||||
num++;
|
||||
IDictionary dictionary = this.hash;
|
||||
uint num2;
|
||||
if (num < (int)num2)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
array.SetValue(num, index);
|
||||
num += num;
|
||||
num++;
|
||||
num += 19;
|
||||
num += num;
|
||||
num += 19;
|
||||
if (num != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x17001484 RID: 5252
|
||||
// (get) Token: 0x06007E3F RID: 32319 RVA: 0x001A7B00 File Offset: 0x001A5D00
|
||||
[Token(Token = "0x17001484")]
|
||||
public virtual int Count
|
||||
{
|
||||
[Token(Token = "0x6007E3F")]
|
||||
[Address(RVA = "0x1C61250", Offset = "0x1C5FC50", VA = "0x181C61250", Slot = "24")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E40 RID: 32320 RVA: 0x001A7B1C File Offset: 0x001A5D1C
|
||||
[Token(Token = "0x6007E40")]
|
||||
[Address(RVA = "0x82C510", Offset = "0x82AF10", VA = "0x18082C510", Slot = "19")]
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E40)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.LinkedDictionary::System.Collections.IEnumerable.GetEnumerator()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:IEnumerator`1(var_0_06, call:IEnumerator`1(IEnumerable`1::GetEnumerator, ldloc:LinkedDictionary[exp:IEnumerable`1](this)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E41 RID: 32321 RVA: 0x001A7B30 File Offset: 0x001A5D30
|
||||
[Token(Token = "0x6007E41")]
|
||||
[Address(RVA = "0x1C61100", Offset = "0x1C5FB00", VA = "0x181C61100", Slot = "25")]
|
||||
public virtual IDictionaryEnumerator GetEnumerator()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E41)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IDictionaryEnumerator BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.LinkedDictionary::GetEnumerator()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stfld:int32(LinkedDictionaryEnumerator::pos, ldloc:LinkedDictionaryEnumerator(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](4294967295)))
|
||||
stfld:LinkedDictionary(LinkedDictionaryEnumerator::parent, ldloc:LinkedDictionaryEnumerator(var_0), ldloc:LinkedDictionary(this))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E42 RID: 32322 RVA: 0x001A7B54 File Offset: 0x001A5D54
|
||||
[Token(Token = "0x6007E42")]
|
||||
[Address(RVA = "0x1C61160", Offset = "0x1C5FB60", VA = "0x181C61160", Slot = "26")]
|
||||
public virtual void Remove(object k)
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
IList list = this.keys;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001485 RID: 5253
|
||||
// (get) Token: 0x06007E43 RID: 32323 RVA: 0x001A7B74 File Offset: 0x001A5D74
|
||||
[Token(Token = "0x17001485")]
|
||||
public virtual bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6007E43")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "27")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001486 RID: 5254
|
||||
// (get) Token: 0x06007E44 RID: 32324 RVA: 0x001A7B84 File Offset: 0x001A5D84
|
||||
[Token(Token = "0x17001486")]
|
||||
public virtual bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6007E44")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "28")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001487 RID: 5255
|
||||
// (get) Token: 0x06007E45 RID: 32325 RVA: 0x001A7B94 File Offset: 0x001A5D94
|
||||
[Token(Token = "0x17001487")]
|
||||
public virtual bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6007E45")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "29")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001488 RID: 5256
|
||||
// (get) Token: 0x06007E46 RID: 32326 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17001488")]
|
||||
public virtual object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6007E46")]
|
||||
[Address(RVA = "0x1C61360", Offset = "0x1C5FD60", VA = "0x181C61360", Slot = "30")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001489 RID: 5257
|
||||
// (get) Token: 0x06007E47 RID: 32327 RVA: 0x001A7BA4 File Offset: 0x001A5DA4
|
||||
[Token(Token = "0x17001489")]
|
||||
public virtual ICollection Keys
|
||||
{
|
||||
[Token(Token = "0x6007E47")]
|
||||
[Address(RVA = "0x1C61300", Offset = "0x1C5FD00", VA = "0x181C61300", Slot = "31")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E47)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.ICollection BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.LinkedDictionary::get_Keys()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:IList(var_0_0B, call:IList(Platform::CreateArrayList, ldfld:IList[exp:ICollection](LinkedDictionary::keys, ldloc:LinkedDictionary(this))))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700148A RID: 5258
|
||||
// (get) Token: 0x06007E48 RID: 32328 RVA: 0x001A7BBC File Offset: 0x001A5DBC
|
||||
[Token(Token = "0x1700148A")]
|
||||
public virtual ICollection Values
|
||||
{
|
||||
[Token(Token = "0x6007E48")]
|
||||
[Address(RVA = "0x1C613A0", Offset = "0x1C5FDA0", VA = "0x181C613A0", Slot = "32")]
|
||||
get
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
IList list = this.keys;
|
||||
IList list2 = this.keys;
|
||||
IList list3;
|
||||
if (list3 != 0)
|
||||
{
|
||||
if (num < list3)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
IDictionary dictionary = this.hash;
|
||||
uint num2;
|
||||
if (num < (int)num2)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
int num3 = 0;
|
||||
if (num < num3)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
num += num;
|
||||
num++;
|
||||
num += 19;
|
||||
num += num;
|
||||
num += 19;
|
||||
num += num;
|
||||
num += 2;
|
||||
num += 19;
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700148B RID: 5259
|
||||
[Token(Token = "0x1700148B")]
|
||||
public virtual object this[object k]
|
||||
{
|
||||
[Token(Token = "0x6007E49")]
|
||||
[Address(RVA = "0x1C612A0", Offset = "0x1C5FCA0", VA = "0x181C612A0", Slot = "33")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
[Token(Token = "0x6007E4A")]
|
||||
[Address(RVA = "0x1C616C0", Offset = "0x1C600C0", VA = "0x181C616C0", Slot = "34")]
|
||||
set
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
IList list = this.keys;
|
||||
IDictionary dictionary2 = this.hash;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04005A51 RID: 23121
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A51")]
|
||||
internal readonly IDictionary hash;
|
||||
|
||||
// Token: 0x04005A52 RID: 23122
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A52")]
|
||||
internal readonly IList keys;
|
||||
}
|
||||
}
|
||||
+145
@@ -0,0 +1,145 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001380 RID: 4992
|
||||
[Token(Token = "0x2001380")]
|
||||
[StructLayout(3)]
|
||||
internal class LinkedDictionaryEnumerator : IDictionaryEnumerator, IEnumerator
|
||||
{
|
||||
// Token: 0x06007E4B RID: 32331 RVA: 0x001A7C98 File Offset: 0x001A5E98
|
||||
[Token(Token = "0x6007E4B")]
|
||||
[Address(RVA = "0x9905F0", Offset = "0x98EFF0", VA = "0x1809905F0")]
|
||||
internal LinkedDictionaryEnumerator(LinkedDictionary parent)
|
||||
{
|
||||
this.parent = parent;
|
||||
}
|
||||
|
||||
// Token: 0x1700148C RID: 5260
|
||||
// (get) Token: 0x06007E4C RID: 32332 RVA: 0x001A7CC4 File Offset: 0x001A5EC4
|
||||
[Token(Token = "0x1700148C")]
|
||||
public virtual object Current
|
||||
{
|
||||
[Token(Token = "0x6007E4C")]
|
||||
[Address(RVA = "0x1C60BB0", Offset = "0x1C5F5B0", VA = "0x181C60BB0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
object obj;
|
||||
return obj;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700148D RID: 5261
|
||||
// (get) Token: 0x06007E4D RID: 32333 RVA: 0x001A7CD4 File Offset: 0x001A5ED4
|
||||
[Token(Token = "0x1700148D")]
|
||||
public virtual DictionaryEntry Entry
|
||||
{
|
||||
[Token(Token = "0x6007E4D")]
|
||||
[Address(RVA = "0x1C60C10", Offset = "0x1C5F610", VA = "0x181C60C10", Slot = "11")]
|
||||
get
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700148E RID: 5262
|
||||
// (get) Token: 0x06007E4E RID: 32334 RVA: 0x001A7CEC File Offset: 0x001A5EEC
|
||||
[Token(Token = "0x1700148E")]
|
||||
public virtual object Key
|
||||
{
|
||||
[Token(Token = "0x6007E4E")]
|
||||
[Address(RVA = "0x1C60CB0", Offset = "0x1C5F6B0", VA = "0x181C60CB0", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return this.CurrentKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E4F RID: 32335 RVA: 0x001A7D00 File Offset: 0x001A5F00
|
||||
[Token(Token = "0x6007E4F")]
|
||||
[Address(RVA = "0x1C60A50", Offset = "0x1C5F450", VA = "0x181C60A50", Slot = "13")]
|
||||
public virtual bool MoveNext()
|
||||
{
|
||||
LinkedDictionary linkedDictionary = this.parent;
|
||||
int num = this.pos;
|
||||
IList keys = linkedDictionary.keys;
|
||||
if (num < linkedDictionary)
|
||||
{
|
||||
int num2 = this.pos;
|
||||
LinkedDictionary linkedDictionary2 = this.parent;
|
||||
num2++;
|
||||
this.pos = num2;
|
||||
IList keys2 = linkedDictionary2.keys;
|
||||
return num2 < linkedDictionary2;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E50 RID: 32336 RVA: 0x001A7D58 File Offset: 0x001A5F58
|
||||
[Token(Token = "0x6007E50")]
|
||||
[Address(RVA = "0x9905E0", Offset = "0x98EFE0", VA = "0x1809905E0", Slot = "14")]
|
||||
public virtual void Reset()
|
||||
{
|
||||
this.pos = (int)((ulong)4294967295L);
|
||||
}
|
||||
|
||||
// Token: 0x1700148F RID: 5263
|
||||
// (get) Token: 0x06007E51 RID: 32337 RVA: 0x001A7D78 File Offset: 0x001A5F78
|
||||
[Token(Token = "0x1700148F")]
|
||||
public virtual object Value
|
||||
{
|
||||
[Token(Token = "0x6007E51")]
|
||||
[Address(RVA = "0x1C60CC0", Offset = "0x1C5F6C0", VA = "0x181C60CC0", Slot = "15")]
|
||||
get
|
||||
{
|
||||
IDictionary hash = this.parent.hash;
|
||||
object currentKey = this.CurrentKey;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001490 RID: 5264
|
||||
// (get) Token: 0x06007E52 RID: 32338 RVA: 0x001A7DA0 File Offset: 0x001A5FA0
|
||||
[Token(Token = "0x17001490")]
|
||||
private object CurrentKey
|
||||
{
|
||||
[Token(Token = "0x6007E52")]
|
||||
[Address(RVA = "0x1C60AF0", Offset = "0x1C5F4F0", VA = "0x181C60AF0")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E52)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.LinkedDictionaryEnumerator::get_CurrentKey()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_25:
|
||||
stloc:InvalidOperationException(var_4_2A, newobj:InvalidOperationException(InvalidOperationException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04005A53 RID: 23123
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A53")]
|
||||
private readonly LinkedDictionary parent;
|
||||
|
||||
// Token: 0x04005A54 RID: 23124
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A54")]
|
||||
private int pos = (int)((ulong)4294967295L);
|
||||
}
|
||||
}
|
||||
+271
@@ -0,0 +1,271 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001381 RID: 4993
|
||||
[Token(Token = "0x2001381")]
|
||||
[StructLayout(3)]
|
||||
public abstract class UnmodifiableDictionary : IDictionary, ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06007E53 RID: 32339 RVA: 0x001A7DD8 File Offset: 0x001A5FD8
|
||||
[Token(Token = "0x6007E53")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected UnmodifiableDictionary()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007E54 RID: 32340 RVA: 0x001A7DEC File Offset: 0x001A5FEC
|
||||
[Token(Token = "0x6007E54")]
|
||||
[Address(RVA = "0x1C6FD10", Offset = "0x1C6E710", VA = "0x181C6FD10", Slot = "20")]
|
||||
public virtual void Add(object k, object v)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E54)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableDictionary::Add(System.Object,System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E55 RID: 32341 RVA: 0x001A7E00 File Offset: 0x001A6000
|
||||
[Token(Token = "0x6007E55")]
|
||||
[Address(RVA = "0x1C6FD60", Offset = "0x1C6E760", VA = "0x181C6FD60", Slot = "21")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E55)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableDictionary::Clear()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E56 RID: 32342
|
||||
[Token(Token = "0x6007E56")]
|
||||
[Address(Slot = "22")]
|
||||
public abstract bool Contains(object k);
|
||||
|
||||
// Token: 0x06007E57 RID: 32343
|
||||
[Token(Token = "0x6007E57")]
|
||||
[Address(Slot = "23")]
|
||||
public abstract void CopyTo(Array array, int index);
|
||||
|
||||
// Token: 0x17001491 RID: 5265
|
||||
// (get) Token: 0x06007E58 RID: 32344
|
||||
[Token(Token = "0x17001491")]
|
||||
public abstract int Count
|
||||
{
|
||||
[Token(Token = "0x6007E58")]
|
||||
[Address(Slot = "24")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06007E59 RID: 32345 RVA: 0x001A7E14 File Offset: 0x001A6014
|
||||
[Token(Token = "0x6007E59")]
|
||||
[Address(RVA = "0x82C510", Offset = "0x82AF10", VA = "0x18082C510", Slot = "19")]
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E59)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableDictionary::System.Collections.IEnumerable.GetEnumerator()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:int32(var_0_06, callgetter:int32(UnmodifiableDictionary::get_Count, ldloc:UnmodifiableDictionary(this)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E5A RID: 32346
|
||||
[Token(Token = "0x6007E5A")]
|
||||
[Address(Slot = "25")]
|
||||
public abstract IDictionaryEnumerator GetEnumerator();
|
||||
|
||||
// Token: 0x06007E5B RID: 32347 RVA: 0x001A7E28 File Offset: 0x001A6028
|
||||
[Token(Token = "0x6007E5B")]
|
||||
[Address(RVA = "0x1C6FDB0", Offset = "0x1C6E7B0", VA = "0x181C6FDB0", Slot = "26")]
|
||||
public virtual void Remove(object k)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E5B)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableDictionary::Remove(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001492 RID: 5266
|
||||
// (get) Token: 0x06007E5C RID: 32348
|
||||
[Token(Token = "0x17001492")]
|
||||
public abstract bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6007E5C")]
|
||||
[Address(Slot = "27")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001493 RID: 5267
|
||||
// (get) Token: 0x06007E5D RID: 32349 RVA: 0x001A7E3C File Offset: 0x001A603C
|
||||
[Token(Token = "0x17001493")]
|
||||
public virtual bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6007E5D")]
|
||||
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "28")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001494 RID: 5268
|
||||
// (get) Token: 0x06007E5E RID: 32350
|
||||
[Token(Token = "0x17001494")]
|
||||
public abstract bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6007E5E")]
|
||||
[Address(Slot = "29")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001495 RID: 5269
|
||||
// (get) Token: 0x06007E5F RID: 32351
|
||||
[Token(Token = "0x17001495")]
|
||||
public abstract object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6007E5F")]
|
||||
[Address(Slot = "30")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001496 RID: 5270
|
||||
// (get) Token: 0x06007E60 RID: 32352
|
||||
[Token(Token = "0x17001496")]
|
||||
public abstract ICollection Keys
|
||||
{
|
||||
[Token(Token = "0x6007E60")]
|
||||
[Address(Slot = "31")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001497 RID: 5271
|
||||
// (get) Token: 0x06007E61 RID: 32353
|
||||
[Token(Token = "0x17001497")]
|
||||
public abstract ICollection Values
|
||||
{
|
||||
[Token(Token = "0x6007E61")]
|
||||
[Address(Slot = "32")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001498 RID: 5272
|
||||
[Token(Token = "0x17001498")]
|
||||
public virtual object this[object k]
|
||||
{
|
||||
[Token(Token = "0x6007E62")]
|
||||
[Address(RVA = "0x1C6FE00", Offset = "0x1C6E800", VA = "0x181C6FE00", Slot = "33")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E62)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableDictionary::get_Item(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:bool(var_0_07, call:bool(UnmodifiableDictionary::Contains, ldloc:UnmodifiableDictionary(this), ldloc:object(k)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
[Token(Token = "0x6007E63")]
|
||||
[Address(RVA = "0x1C6FE20", Offset = "0x1C6E820", VA = "0x181C6FE20", Slot = "34")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E63)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableDictionary::set_Item(System.Object,System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E64 RID: 32356
|
||||
[Token(Token = "0x6007E64")]
|
||||
[Address(Slot = "35")]
|
||||
protected abstract object GetValue(object k);
|
||||
}
|
||||
}
|
||||
+145
@@ -0,0 +1,145 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001382 RID: 4994
|
||||
[Token(Token = "0x2001382")]
|
||||
[StructLayout(3)]
|
||||
public class UnmodifiableDictionaryProxy : UnmodifiableDictionary
|
||||
{
|
||||
// Token: 0x06007E65 RID: 32357 RVA: 0x001A7E74 File Offset: 0x001A6074
|
||||
[Token(Token = "0x6007E65")]
|
||||
[Address(RVA = "0x3C3A30", Offset = "0x3C2430", VA = "0x1803C3A30")]
|
||||
public UnmodifiableDictionaryProxy(IDictionary d)
|
||||
{
|
||||
this.d = d;
|
||||
}
|
||||
|
||||
// Token: 0x06007E66 RID: 32358 RVA: 0x001A7E90 File Offset: 0x001A6090
|
||||
[Token(Token = "0x6007E66")]
|
||||
[Address(RVA = "0x1C6F9B0", Offset = "0x1C6E3B0", VA = "0x181C6F9B0", Slot = "22")]
|
||||
public override bool Contains(object k)
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E67 RID: 32359 RVA: 0x001A7EAC File Offset: 0x001A60AC
|
||||
[Token(Token = "0x6007E67")]
|
||||
[Address(RVA = "0x1C6FA10", Offset = "0x1C6E410", VA = "0x181C6FA10", Slot = "23")]
|
||||
public override void CopyTo(Array array, int index)
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
}
|
||||
|
||||
// Token: 0x17001499 RID: 5273
|
||||
// (get) Token: 0x06007E68 RID: 32360 RVA: 0x001A7EC8 File Offset: 0x001A60C8
|
||||
[Token(Token = "0x17001499")]
|
||||
public override int Count
|
||||
{
|
||||
[Token(Token = "0x6007E68")]
|
||||
[Address(RVA = "0x1C6FB30", Offset = "0x1C6E530", VA = "0x181C6FB30", Slot = "24")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E69 RID: 32361 RVA: 0x001A7EE4 File Offset: 0x001A60E4
|
||||
[Token(Token = "0x6007E69")]
|
||||
[Address(RVA = "0x1C6FA80", Offset = "0x1C6E480", VA = "0x181C6FA80", Slot = "25")]
|
||||
public override IDictionaryEnumerator GetEnumerator()
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x1700149A RID: 5274
|
||||
// (get) Token: 0x06007E6A RID: 32362 RVA: 0x001A7F00 File Offset: 0x001A6100
|
||||
[Token(Token = "0x1700149A")]
|
||||
public override bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6007E6A")]
|
||||
[Address(RVA = "0x1C6FB80", Offset = "0x1C6E580", VA = "0x181C6FB80", Slot = "27")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700149B RID: 5275
|
||||
// (get) Token: 0x06007E6B RID: 32363 RVA: 0x001A7F1C File Offset: 0x001A611C
|
||||
[Token(Token = "0x1700149B")]
|
||||
public override bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6007E6B")]
|
||||
[Address(RVA = "0x1C6FBD0", Offset = "0x1C6E5D0", VA = "0x181C6FBD0", Slot = "29")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700149C RID: 5276
|
||||
// (get) Token: 0x06007E6C RID: 32364 RVA: 0x001A7F38 File Offset: 0x001A6138
|
||||
[Token(Token = "0x1700149C")]
|
||||
public override object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6007E6C")]
|
||||
[Address(RVA = "0x1C6FC70", Offset = "0x1C6E670", VA = "0x181C6FC70", Slot = "30")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700149D RID: 5277
|
||||
// (get) Token: 0x06007E6D RID: 32365 RVA: 0x001A7F54 File Offset: 0x001A6154
|
||||
[Token(Token = "0x1700149D")]
|
||||
public override ICollection Keys
|
||||
{
|
||||
[Token(Token = "0x6007E6D")]
|
||||
[Address(RVA = "0x1C6FC20", Offset = "0x1C6E620", VA = "0x181C6FC20", Slot = "31")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700149E RID: 5278
|
||||
// (get) Token: 0x06007E6E RID: 32366 RVA: 0x001A7F70 File Offset: 0x001A6170
|
||||
[Token(Token = "0x1700149E")]
|
||||
public override ICollection Values
|
||||
{
|
||||
[Token(Token = "0x6007E6E")]
|
||||
[Address(RVA = "0x1C6FCC0", Offset = "0x1C6E6C0", VA = "0x181C6FCC0", Slot = "32")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E6F RID: 32367 RVA: 0x001A7F8C File Offset: 0x001A618C
|
||||
[Token(Token = "0x6007E6F")]
|
||||
[Address(RVA = "0x1C6FAD0", Offset = "0x1C6E4D0", VA = "0x181C6FAD0", Slot = "35")]
|
||||
protected override object GetValue(object k)
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04005A55 RID: 23125
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A55")]
|
||||
private readonly IDictionary d;
|
||||
}
|
||||
}
|
||||
+282
@@ -0,0 +1,282 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001383 RID: 4995
|
||||
[Token(Token = "0x2001383")]
|
||||
[StructLayout(3)]
|
||||
public abstract class UnmodifiableList : IList, ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06007E70 RID: 32368 RVA: 0x001A7FA8 File Offset: 0x001A61A8
|
||||
[Token(Token = "0x6007E70")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected UnmodifiableList()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007E71 RID: 32369 RVA: 0x001A7FBC File Offset: 0x001A61BC
|
||||
[Token(Token = "0x6007E71")]
|
||||
[Address(RVA = "0x1C70190", Offset = "0x1C6EB90", VA = "0x181C70190", Slot = "20")]
|
||||
public virtual int Add(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E71)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableList::Add(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E72 RID: 32370 RVA: 0x001A7FD0 File Offset: 0x001A61D0
|
||||
[Token(Token = "0x6007E72")]
|
||||
[Address(RVA = "0x1C701E0", Offset = "0x1C6EBE0", VA = "0x181C701E0", Slot = "21")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E72)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableList::Clear()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E73 RID: 32371
|
||||
[Token(Token = "0x6007E73")]
|
||||
[Address(Slot = "22")]
|
||||
public abstract bool Contains(object o);
|
||||
|
||||
// Token: 0x06007E74 RID: 32372
|
||||
[Token(Token = "0x6007E74")]
|
||||
[Address(Slot = "23")]
|
||||
public abstract void CopyTo(Array array, int index);
|
||||
|
||||
// Token: 0x1700149F RID: 5279
|
||||
// (get) Token: 0x06007E75 RID: 32373
|
||||
[Token(Token = "0x1700149F")]
|
||||
public abstract int Count
|
||||
{
|
||||
[Token(Token = "0x6007E75")]
|
||||
[Address(Slot = "24")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06007E76 RID: 32374
|
||||
[Token(Token = "0x6007E76")]
|
||||
[Address(Slot = "25")]
|
||||
public abstract IEnumerator GetEnumerator();
|
||||
|
||||
// Token: 0x06007E77 RID: 32375
|
||||
[Token(Token = "0x6007E77")]
|
||||
[Address(Slot = "26")]
|
||||
public abstract int IndexOf(object o);
|
||||
|
||||
// Token: 0x06007E78 RID: 32376 RVA: 0x001A7FE4 File Offset: 0x001A61E4
|
||||
[Token(Token = "0x6007E78")]
|
||||
[Address(RVA = "0x1C70230", Offset = "0x1C6EC30", VA = "0x181C70230", Slot = "27")]
|
||||
public virtual void Insert(int i, object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E78)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableList::Insert(System.Int32,System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x170014A0 RID: 5280
|
||||
// (get) Token: 0x06007E79 RID: 32377
|
||||
[Token(Token = "0x170014A0")]
|
||||
public abstract bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6007E79")]
|
||||
[Address(Slot = "28")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170014A1 RID: 5281
|
||||
// (get) Token: 0x06007E7A RID: 32378 RVA: 0x001A7FF8 File Offset: 0x001A61F8
|
||||
[Token(Token = "0x170014A1")]
|
||||
public virtual bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6007E7A")]
|
||||
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "29")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170014A2 RID: 5282
|
||||
// (get) Token: 0x06007E7B RID: 32379
|
||||
[Token(Token = "0x170014A2")]
|
||||
public abstract bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6007E7B")]
|
||||
[Address(Slot = "30")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06007E7C RID: 32380 RVA: 0x001A8008 File Offset: 0x001A6208
|
||||
[Token(Token = "0x6007E7C")]
|
||||
[Address(RVA = "0x1C702D0", Offset = "0x1C6ECD0", VA = "0x181C702D0", Slot = "31")]
|
||||
public virtual void Remove(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E7C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableList::Remove(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E7D RID: 32381 RVA: 0x001A801C File Offset: 0x001A621C
|
||||
[Token(Token = "0x6007E7D")]
|
||||
[Address(RVA = "0x1C70280", Offset = "0x1C6EC80", VA = "0x181C70280", Slot = "32")]
|
||||
public virtual void RemoveAt(int i)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E7D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableList::RemoveAt(System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x170014A3 RID: 5283
|
||||
// (get) Token: 0x06007E7E RID: 32382
|
||||
[Token(Token = "0x170014A3")]
|
||||
public abstract object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6007E7E")]
|
||||
[Address(Slot = "33")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170014A4 RID: 5284
|
||||
[Token(Token = "0x170014A4")]
|
||||
public virtual object this[int i]
|
||||
{
|
||||
[Token(Token = "0x6007E7F")]
|
||||
[Address(RVA = "0x1C70320", Offset = "0x1C6ED20", VA = "0x181C70320", Slot = "34")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E7F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableList::get_Item(System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:bool(var_0_07, call:bool(UnmodifiableList::Contains, ldloc:UnmodifiableList(this), ldloc:int32[exp:object](i)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
[Token(Token = "0x6007E80")]
|
||||
[Address(RVA = "0x1C70340", Offset = "0x1C6ED40", VA = "0x181C70340", Slot = "35")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E80)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableList::set_Item(System.Int32,System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E81 RID: 32385
|
||||
[Token(Token = "0x6007E81")]
|
||||
[Address(Slot = "36")]
|
||||
protected abstract object GetValue(int i);
|
||||
}
|
||||
}
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001384 RID: 4996
|
||||
[Token(Token = "0x2001384")]
|
||||
[StructLayout(3)]
|
||||
public class UnmodifiableListProxy : UnmodifiableList
|
||||
{
|
||||
// Token: 0x06007E82 RID: 32386 RVA: 0x001A8058 File Offset: 0x001A6258
|
||||
[Token(Token = "0x6007E82")]
|
||||
[Address(RVA = "0x3C3A30", Offset = "0x3C2430", VA = "0x1803C3A30")]
|
||||
public UnmodifiableListProxy(IList l)
|
||||
{
|
||||
this.l = l;
|
||||
}
|
||||
|
||||
// Token: 0x06007E83 RID: 32387 RVA: 0x001A8074 File Offset: 0x001A6274
|
||||
[Token(Token = "0x6007E83")]
|
||||
[Address(RVA = "0x1C6FE70", Offset = "0x1C6E870", VA = "0x181C6FE70", Slot = "22")]
|
||||
public override bool Contains(object o)
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E84 RID: 32388 RVA: 0x001A8090 File Offset: 0x001A6290
|
||||
[Token(Token = "0x6007E84")]
|
||||
[Address(RVA = "0x1C6FED0", Offset = "0x1C6E8D0", VA = "0x181C6FED0", Slot = "23")]
|
||||
public override void CopyTo(Array array, int index)
|
||||
{
|
||||
IList list = this.l;
|
||||
}
|
||||
|
||||
// Token: 0x170014A5 RID: 5285
|
||||
// (get) Token: 0x06007E85 RID: 32389 RVA: 0x001A80AC File Offset: 0x001A62AC
|
||||
[Token(Token = "0x170014A5")]
|
||||
public override int Count
|
||||
{
|
||||
[Token(Token = "0x6007E85")]
|
||||
[Address(RVA = "0x1C70050", Offset = "0x1C6EA50", VA = "0x181C70050", Slot = "24")]
|
||||
get
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E86 RID: 32390 RVA: 0x001A80C8 File Offset: 0x001A62C8
|
||||
[Token(Token = "0x6007E86")]
|
||||
[Address(RVA = "0x1C6FF40", Offset = "0x1C6E940", VA = "0x181C6FF40", Slot = "25")]
|
||||
public override IEnumerator GetEnumerator()
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E87 RID: 32391 RVA: 0x001A80E4 File Offset: 0x001A62E4
|
||||
[Token(Token = "0x6007E87")]
|
||||
[Address(RVA = "0x1C6FFF0", Offset = "0x1C6E9F0", VA = "0x181C6FFF0", Slot = "26")]
|
||||
public override int IndexOf(object o)
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x170014A6 RID: 5286
|
||||
// (get) Token: 0x06007E88 RID: 32392 RVA: 0x001A8100 File Offset: 0x001A6300
|
||||
[Token(Token = "0x170014A6")]
|
||||
public override bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6007E88")]
|
||||
[Address(RVA = "0x1C700A0", Offset = "0x1C6EAA0", VA = "0x181C700A0", Slot = "28")]
|
||||
get
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170014A7 RID: 5287
|
||||
// (get) Token: 0x06007E89 RID: 32393 RVA: 0x001A811C File Offset: 0x001A631C
|
||||
[Token(Token = "0x170014A7")]
|
||||
public override bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6007E89")]
|
||||
[Address(RVA = "0x1C700F0", Offset = "0x1C6EAF0", VA = "0x181C700F0", Slot = "30")]
|
||||
get
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170014A8 RID: 5288
|
||||
// (get) Token: 0x06007E8A RID: 32394 RVA: 0x001A8138 File Offset: 0x001A6338
|
||||
[Token(Token = "0x170014A8")]
|
||||
public override object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6007E8A")]
|
||||
[Address(RVA = "0x1C70140", Offset = "0x1C6EB40", VA = "0x181C70140", Slot = "33")]
|
||||
get
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E8B RID: 32395 RVA: 0x001A8154 File Offset: 0x001A6354
|
||||
[Token(Token = "0x6007E8B")]
|
||||
[Address(RVA = "0x1C6FF90", Offset = "0x1C6E990", VA = "0x181C6FF90", Slot = "36")]
|
||||
protected override object GetValue(int i)
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04005A56 RID: 23126
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A56")]
|
||||
private readonly IList l;
|
||||
}
|
||||
}
|
||||
+228
@@ -0,0 +1,228 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001385 RID: 4997
|
||||
[Token(Token = "0x2001385")]
|
||||
[StructLayout(3)]
|
||||
public abstract class UnmodifiableSet : ISet, ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06007E8C RID: 32396 RVA: 0x001A8170 File Offset: 0x001A6370
|
||||
[Token(Token = "0x6007E8C")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected UnmodifiableSet()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007E8D RID: 32397 RVA: 0x001A8184 File Offset: 0x001A6384
|
||||
[Token(Token = "0x6007E8D")]
|
||||
[Address(RVA = "0x1C70690", Offset = "0x1C6F090", VA = "0x181C70690", Slot = "18")]
|
||||
public virtual void Add(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E8D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableSet::Add(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E8E RID: 32398 RVA: 0x001A8198 File Offset: 0x001A6398
|
||||
[Token(Token = "0x6007E8E")]
|
||||
[Address(RVA = "0x1C70640", Offset = "0x1C6F040", VA = "0x181C70640", Slot = "19")]
|
||||
public virtual void AddAll(IEnumerable e)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E8E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableSet::AddAll(System.Collections.IEnumerable)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E8F RID: 32399 RVA: 0x001A81AC File Offset: 0x001A63AC
|
||||
[Token(Token = "0x6007E8F")]
|
||||
[Address(RVA = "0x1C706E0", Offset = "0x1C6F0E0", VA = "0x181C706E0", Slot = "20")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E8F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableSet::Clear()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E90 RID: 32400
|
||||
[Token(Token = "0x6007E90")]
|
||||
[Address(Slot = "21")]
|
||||
public abstract bool Contains(object o);
|
||||
|
||||
// Token: 0x06007E91 RID: 32401
|
||||
[Token(Token = "0x6007E91")]
|
||||
[Address(Slot = "22")]
|
||||
public abstract void CopyTo(Array array, int index);
|
||||
|
||||
// Token: 0x170014A9 RID: 5289
|
||||
// (get) Token: 0x06007E92 RID: 32402
|
||||
[Token(Token = "0x170014A9")]
|
||||
public abstract int Count
|
||||
{
|
||||
[Token(Token = "0x6007E92")]
|
||||
[Address(Slot = "23")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06007E93 RID: 32403
|
||||
[Token(Token = "0x6007E93")]
|
||||
[Address(Slot = "24")]
|
||||
public abstract IEnumerator GetEnumerator();
|
||||
|
||||
// Token: 0x170014AA RID: 5290
|
||||
// (get) Token: 0x06007E94 RID: 32404
|
||||
[Token(Token = "0x170014AA")]
|
||||
public abstract bool IsEmpty
|
||||
{
|
||||
[Token(Token = "0x6007E94")]
|
||||
[Address(Slot = "25")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170014AB RID: 5291
|
||||
// (get) Token: 0x06007E95 RID: 32405
|
||||
[Token(Token = "0x170014AB")]
|
||||
public abstract bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6007E95")]
|
||||
[Address(Slot = "26")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170014AC RID: 5292
|
||||
// (get) Token: 0x06007E96 RID: 32406 RVA: 0x001A81C0 File Offset: 0x001A63C0
|
||||
[Token(Token = "0x170014AC")]
|
||||
public virtual bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6007E96")]
|
||||
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "27")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170014AD RID: 5293
|
||||
// (get) Token: 0x06007E97 RID: 32407
|
||||
[Token(Token = "0x170014AD")]
|
||||
public abstract bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6007E97")]
|
||||
[Address(Slot = "28")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170014AE RID: 5294
|
||||
// (get) Token: 0x06007E98 RID: 32408
|
||||
[Token(Token = "0x170014AE")]
|
||||
public abstract object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6007E98")]
|
||||
[Address(Slot = "29")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06007E99 RID: 32409 RVA: 0x001A81D0 File Offset: 0x001A63D0
|
||||
[Token(Token = "0x6007E99")]
|
||||
[Address(RVA = "0x1C70780", Offset = "0x1C6F180", VA = "0x181C70780", Slot = "30")]
|
||||
public virtual void Remove(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E99)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableSet::Remove(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E9A RID: 32410 RVA: 0x001A81E4 File Offset: 0x001A63E4
|
||||
[Token(Token = "0x6007E9A")]
|
||||
[Address(RVA = "0x1C70730", Offset = "0x1C6F130", VA = "0x181C70730", Slot = "31")]
|
||||
public virtual void RemoveAll(IEnumerable e)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E9A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.UnmodifiableSet::RemoveAll(System.Collections.IEnumerable)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
}
|
||||
+122
@@ -0,0 +1,122 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001386 RID: 4998
|
||||
[Token(Token = "0x2001386")]
|
||||
[StructLayout(3)]
|
||||
public class UnmodifiableSetProxy : UnmodifiableSet
|
||||
{
|
||||
// Token: 0x06007E9B RID: 32411 RVA: 0x001A81F8 File Offset: 0x001A63F8
|
||||
[Token(Token = "0x6007E9B")]
|
||||
[Address(RVA = "0x3C3A30", Offset = "0x3C2430", VA = "0x1803C3A30")]
|
||||
public UnmodifiableSetProxy(ISet s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x06007E9C RID: 32412 RVA: 0x001A8214 File Offset: 0x001A6414
|
||||
[Token(Token = "0x6007E9C")]
|
||||
[Address(RVA = "0x1C70390", Offset = "0x1C6ED90", VA = "0x181C70390", Slot = "21")]
|
||||
public override bool Contains(object o)
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E9D RID: 32413 RVA: 0x001A8230 File Offset: 0x001A6430
|
||||
[Token(Token = "0x6007E9D")]
|
||||
[Address(RVA = "0x1C703F0", Offset = "0x1C6EDF0", VA = "0x181C703F0", Slot = "22")]
|
||||
public override void CopyTo(Array array, int index)
|
||||
{
|
||||
ISet set = this.s;
|
||||
}
|
||||
|
||||
// Token: 0x170014AF RID: 5295
|
||||
// (get) Token: 0x06007E9E RID: 32414 RVA: 0x001A824C File Offset: 0x001A644C
|
||||
[Token(Token = "0x170014AF")]
|
||||
public override int Count
|
||||
{
|
||||
[Token(Token = "0x6007E9E")]
|
||||
[Address(RVA = "0x1C704B0", Offset = "0x1C6EEB0", VA = "0x181C704B0", Slot = "23")]
|
||||
get
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E9F RID: 32415 RVA: 0x001A8268 File Offset: 0x001A6468
|
||||
[Token(Token = "0x6007E9F")]
|
||||
[Address(RVA = "0x1C70460", Offset = "0x1C6EE60", VA = "0x181C70460", Slot = "24")]
|
||||
public override IEnumerator GetEnumerator()
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x170014B0 RID: 5296
|
||||
// (get) Token: 0x06007EA0 RID: 32416 RVA: 0x001A8284 File Offset: 0x001A6484
|
||||
[Token(Token = "0x170014B0")]
|
||||
public override bool IsEmpty
|
||||
{
|
||||
[Token(Token = "0x6007EA0")]
|
||||
[Address(RVA = "0x1C70500", Offset = "0x1C6EF00", VA = "0x181C70500", Slot = "25")]
|
||||
get
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170014B1 RID: 5297
|
||||
// (get) Token: 0x06007EA1 RID: 32417 RVA: 0x001A82A0 File Offset: 0x001A64A0
|
||||
[Token(Token = "0x170014B1")]
|
||||
public override bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6007EA1")]
|
||||
[Address(RVA = "0x1C70550", Offset = "0x1C6EF50", VA = "0x181C70550", Slot = "26")]
|
||||
get
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170014B2 RID: 5298
|
||||
// (get) Token: 0x06007EA2 RID: 32418 RVA: 0x001A82BC File Offset: 0x001A64BC
|
||||
[Token(Token = "0x170014B2")]
|
||||
public override bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6007EA2")]
|
||||
[Address(RVA = "0x1C705A0", Offset = "0x1C6EFA0", VA = "0x181C705A0", Slot = "28")]
|
||||
get
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170014B3 RID: 5299
|
||||
// (get) Token: 0x06007EA3 RID: 32419 RVA: 0x001A82D8 File Offset: 0x001A64D8
|
||||
[Token(Token = "0x170014B3")]
|
||||
public override object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6007EA3")]
|
||||
[Address(RVA = "0x1C705F0", Offset = "0x1C6EFF0", VA = "0x181C705F0", Slot = "29")]
|
||||
get
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04005A57 RID: 23127
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A57")]
|
||||
private readonly ISet s;
|
||||
}
|
||||
}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date
|
||||
{
|
||||
// Token: 0x02001377 RID: 4983
|
||||
[Token(Token = "0x2001377")]
|
||||
[StructLayout(3)]
|
||||
public sealed class DateTimeObject
|
||||
{
|
||||
// Token: 0x06007E07 RID: 32263 RVA: 0x001A74A8 File Offset: 0x001A56A8
|
||||
[Token(Token = "0x6007E07")]
|
||||
[Address(RVA = "0x1C5EF90", Offset = "0x1C5D990", VA = "0x181C5EF90")]
|
||||
public DateTimeObject(DateTime dt)
|
||||
{
|
||||
this.dt = dt;
|
||||
}
|
||||
|
||||
// Token: 0x17001479 RID: 5241
|
||||
// (get) Token: 0x06007E08 RID: 32264 RVA: 0x001A74C4 File Offset: 0x001A56C4
|
||||
[Token(Token = "0x17001479")]
|
||||
public DateTime Value
|
||||
{
|
||||
[Token(Token = "0x6007E08")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.dt;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E09 RID: 32265 RVA: 0x001A74D8 File Offset: 0x001A56D8
|
||||
[Token(Token = "0x6007E09")]
|
||||
[Address(RVA = "0x1C5EF70", Offset = "0x1C5D970", VA = "0x181C5EF70", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E09)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date.DateTimeObject::ToString()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:DateTime(var_0_06, ldfld:DateTime(DateTimeObject::dt, ldloc:DateTimeObject(this)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04005A4B RID: 23115
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A4B")]
|
||||
private readonly DateTime dt;
|
||||
}
|
||||
}
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date
|
||||
{
|
||||
// Token: 0x02001378 RID: 4984
|
||||
[Token(Token = "0x2001378")]
|
||||
[StructLayout(3)]
|
||||
public class DateTimeUtilities
|
||||
{
|
||||
// Token: 0x06007E0A RID: 32266 RVA: 0x001A74EC File Offset: 0x001A56EC
|
||||
[Token(Token = "0x6007E0A")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private DateTimeUtilities()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007E0B RID: 32267 RVA: 0x001A7500 File Offset: 0x001A5700
|
||||
[Token(Token = "0x6007E0B")]
|
||||
[Address(RVA = "0x1C5F150", Offset = "0x1C5DB50", VA = "0x181C5F150")]
|
||||
public static long DateTimeToUnixMs(DateTime dateTime)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E0B)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date.DateTimeUtilities::DateTimeToUnixMs(System.DateTime)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:int32(var_1_01, ldc.i4:int32(0))
|
||||
stloc:int32(var_1_05, add:int32(ldloc:int32(var_1_01), ldloc:int32(var_1_01)))
|
||||
stloc:ArgumentException(var_2_15, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("DateTime value may not be before the epoch"), ldstr:string("dateTime")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E0C RID: 32268 RVA: 0x001A7524 File Offset: 0x001A5724
|
||||
[Token(Token = "0x6007E0C")]
|
||||
[Address(RVA = "0x1C5F280", Offset = "0x1C5DC80", VA = "0x181C5F280")]
|
||||
public static DateTime UnixMsToDateTime(long unixMs)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E0C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.DateTime BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date.DateTimeUtilities::UnixMsToDateTime(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:int64(var_1_09, mul:int64(ldloc:int64(unixMs), conv.u8:uint64[exp:int64](ldc.i8:int64[exp:uint64](10000))))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007E0D RID: 32269 RVA: 0x001A753C File Offset: 0x001A573C
|
||||
[Token(Token = "0x6007E0D")]
|
||||
[Address(RVA = "0x1C5EFC0", Offset = "0x1C5D9C0", VA = "0x181C5EFC0")]
|
||||
public static long CurrentUnixMs()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E0D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date.DateTimeUtilities::CurrentUnixMs()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:DateTime(var_1_07, callgetter:DateTime(DateTime::get_UtcNow))
|
||||
stloc:DateTime(var_1_0B, sub:DateTime(ldloc:DateTime(var_1_07), ldloc:DateTime(var_1_07)))
|
||||
stloc:uint64(var_3, add:uint64(ldloc:uint64(var_3), ldloc:uint64(var_3)))
|
||||
stloc:ArgumentException(var_4_1F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("DateTime value may not be before the epoch"), ldstr:string("dateTime")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04005A4C RID: 23116
|
||||
[Token(Token = "0x4005A4C")]
|
||||
public static readonly DateTime UnixEpoch;
|
||||
}
|
||||
}
|
||||
+104
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x0200136C RID: 4972
|
||||
[Token(Token = "0x200136C")]
|
||||
[StructLayout(3)]
|
||||
public sealed class Base64
|
||||
{
|
||||
// Token: 0x06007DC7 RID: 32199 RVA: 0x001A6728 File Offset: 0x001A4928
|
||||
[Token(Token = "0x6007DC7")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Base64()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007DC8 RID: 32200 RVA: 0x001A673C File Offset: 0x001A493C
|
||||
[Token(Token = "0x6007DC8")]
|
||||
[Address(RVA = "0x1C5D840", Offset = "0x1C5C240", VA = "0x181C5D840")]
|
||||
public static string ToBase64String(byte[] data)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = 0;
|
||||
return Convert.ToBase64String(data, num, length);
|
||||
}
|
||||
|
||||
// Token: 0x06007DC9 RID: 32201 RVA: 0x001A6760 File Offset: 0x001A4960
|
||||
[Token(Token = "0x6007DC9")]
|
||||
[Address(RVA = "0x1C5D7D0", Offset = "0x1C5C1D0", VA = "0x181C5D7D0")]
|
||||
public static string ToBase64String(byte[] data, int off, int length)
|
||||
{
|
||||
return Convert.ToBase64String(data, off, length);
|
||||
}
|
||||
|
||||
// Token: 0x06007DCA RID: 32202 RVA: 0x001A6778 File Offset: 0x001A4978
|
||||
[Token(Token = "0x6007DCA")]
|
||||
[Address(RVA = "0x1C5D5B0", Offset = "0x1C5BFB0", VA = "0x181C5D5B0")]
|
||||
public static byte[] Encode(byte[] data)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = 0;
|
||||
return Strings.ToAsciiByteArray(Convert.ToBase64String(data, num, length));
|
||||
}
|
||||
|
||||
// Token: 0x06007DCB RID: 32203 RVA: 0x001A67A4 File Offset: 0x001A49A4
|
||||
[Token(Token = "0x6007DCB")]
|
||||
[Address(RVA = "0x1C5D750", Offset = "0x1C5C150", VA = "0x181C5D750")]
|
||||
public static byte[] Encode(byte[] data, int off, int length)
|
||||
{
|
||||
return Strings.ToAsciiByteArray(Convert.ToBase64String(data, off, length));
|
||||
}
|
||||
|
||||
// Token: 0x06007DCC RID: 32204 RVA: 0x001A67C0 File Offset: 0x001A49C0
|
||||
[Token(Token = "0x6007DCC")]
|
||||
[Address(RVA = "0x1C5D690", Offset = "0x1C5C090", VA = "0x181C5D690")]
|
||||
public static int Encode(byte[] data, Stream outStream)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = 0;
|
||||
byte[] array = Strings.ToAsciiByteArray(Convert.ToBase64String(data, num, length));
|
||||
int num2 = outStream.ReadByte();
|
||||
return array.Length;
|
||||
}
|
||||
|
||||
// Token: 0x06007DCD RID: 32205 RVA: 0x001A67F8 File Offset: 0x001A49F8
|
||||
[Token(Token = "0x6007DCD")]
|
||||
[Address(RVA = "0x1C5D630", Offset = "0x1C5C030", VA = "0x181C5D630")]
|
||||
public static int Encode(byte[] data, int off, int length, Stream outStream)
|
||||
{
|
||||
byte[] array = Base64.Encode(data, off, length);
|
||||
int num = outStream.ReadByte();
|
||||
return array.Length;
|
||||
}
|
||||
|
||||
// Token: 0x06007DCE RID: 32206 RVA: 0x001A6824 File Offset: 0x001A4A24
|
||||
[Token(Token = "0x6007DCE")]
|
||||
[Address(RVA = "0x1C5D450", Offset = "0x1C5BE50", VA = "0x181C5D450")]
|
||||
public static byte[] Decode(byte[] data)
|
||||
{
|
||||
return Convert.FromBase64String(Strings.FromAsciiByteArray(data));
|
||||
}
|
||||
|
||||
// Token: 0x06007DCF RID: 32207 RVA: 0x001A683C File Offset: 0x001A4A3C
|
||||
[Token(Token = "0x6007DCF")]
|
||||
[Address(RVA = "0x1C5D550", Offset = "0x1C5BF50", VA = "0x181C5D550")]
|
||||
public static byte[] Decode(string data)
|
||||
{
|
||||
return Convert.FromBase64String(data);
|
||||
}
|
||||
|
||||
// Token: 0x06007DD0 RID: 32208 RVA: 0x001A6850 File Offset: 0x001A4A50
|
||||
[Token(Token = "0x6007DD0")]
|
||||
[Address(RVA = "0x1C5D4B0", Offset = "0x1C5BEB0", VA = "0x181C5D4B0")]
|
||||
public static int Decode(string data, Stream outStream)
|
||||
{
|
||||
byte[] array = Convert.FromBase64String(data);
|
||||
int num = outStream.ReadByte();
|
||||
return array.Length;
|
||||
}
|
||||
}
|
||||
}
|
||||
+268
@@ -0,0 +1,268 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x0200136D RID: 4973
|
||||
[Token(Token = "0x200136D")]
|
||||
[StructLayout(3)]
|
||||
public class Base64Encoder : IEncoder
|
||||
{
|
||||
// Token: 0x06007DD1 RID: 32209 RVA: 0x001A6878 File Offset: 0x001A4A78
|
||||
[Token(Token = "0x6007DD1")]
|
||||
[Address(RVA = "0x1C5CCE0", Offset = "0x1C5B6E0", VA = "0x181C5CCE0")]
|
||||
protected void InitialiseDecodingTable()
|
||||
{
|
||||
int num = this.decodingTable.Length;
|
||||
if (num > 0)
|
||||
{
|
||||
num--;
|
||||
}
|
||||
byte[] array = this.encodingTable;
|
||||
int num2 = 0;
|
||||
if (num2 < array.Length)
|
||||
{
|
||||
byte[] array2 = this.decodingTable;
|
||||
num2++;
|
||||
byte[] array3 = this.encodingTable;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DD2 RID: 32210 RVA: 0x001A68C4 File Offset: 0x001A4AC4
|
||||
[Token(Token = "0x6007DD2")]
|
||||
[Address(RVA = "0x1C5CDF0", Offset = "0x1C5B7F0", VA = "0x181C5CDF0")]
|
||||
public Base64Encoder()
|
||||
{
|
||||
byte[] array = new byte[64];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.0953DF544832295E4A5B19928F95C351F25DA86A).FieldHandle);
|
||||
this.encodingTable = array;
|
||||
this.padding = (byte)((ulong)61L);
|
||||
byte[] array2 = new byte[128];
|
||||
this.decodingTable = array2;
|
||||
base..ctor();
|
||||
int num = this.decodingTable.Length;
|
||||
if (num > 0)
|
||||
{
|
||||
num--;
|
||||
}
|
||||
byte[] array3 = this.encodingTable;
|
||||
int num2 = 0;
|
||||
if (num2 < array3.Length)
|
||||
{
|
||||
byte[] array4 = this.decodingTable;
|
||||
num2++;
|
||||
byte[] array5 = this.encodingTable;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DD3 RID: 32211 RVA: 0x001A6954 File Offset: 0x001A4B54
|
||||
[Token(Token = "0x6007DD3")]
|
||||
[Address(RVA = "0x1C5C850", Offset = "0x1C5B250", VA = "0x181C5C850", Slot = "4")]
|
||||
public int Encode(byte[] data, int off, int length, Stream outStream)
|
||||
{
|
||||
int length2 = data.Length;
|
||||
int num = off + 1;
|
||||
byte b = data[num];
|
||||
byte[] array = this.encodingTable;
|
||||
byte[] array2 = this.encodingTable;
|
||||
byte[] array3 = this.encodingTable;
|
||||
byte[] array4 = this.encodingTable;
|
||||
byte b2;
|
||||
if (length != 0)
|
||||
{
|
||||
if (length == 0)
|
||||
{
|
||||
goto IL_70;
|
||||
}
|
||||
if (length == 1)
|
||||
{
|
||||
int length3 = data.Length;
|
||||
byte[] array5 = this.encodingTable;
|
||||
byte[] array6 = this.encodingTable;
|
||||
byte[] array7 = this.encodingTable;
|
||||
b2 = this.padding;
|
||||
}
|
||||
}
|
||||
b2 += b2;
|
||||
IL_70:
|
||||
byte[] array8 = this.encodingTable;
|
||||
byte[] array9 = this.encodingTable;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DD4 RID: 32212 RVA: 0x001A69E8 File Offset: 0x001A4BE8
|
||||
[Token(Token = "0x6007DD4")]
|
||||
[Address(RVA = "0x1C5D360", Offset = "0x1C5BD60", VA = "0x181C5D360")]
|
||||
private bool ignore(char c)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007DD5 RID: 32213 RVA: 0x001A69F8 File Offset: 0x001A4BF8
|
||||
[Token(Token = "0x6007DD5")]
|
||||
[Address(RVA = "0x1C5C340", Offset = "0x1C5AD40", VA = "0x181C5C340", Slot = "5")]
|
||||
public int Decode(byte[] data, int off, int length, Stream outStream)
|
||||
{
|
||||
int num = 0;
|
||||
if (off >= length || off == 250)
|
||||
{
|
||||
}
|
||||
if (off < length)
|
||||
{
|
||||
byte[] array = this.decodingTable;
|
||||
int length2 = data.Length;
|
||||
int length3 = array.Length;
|
||||
if (off >= length || off == 250)
|
||||
{
|
||||
}
|
||||
if (off < length)
|
||||
{
|
||||
if (off == 250)
|
||||
{
|
||||
}
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
}
|
||||
}
|
||||
if (off < length)
|
||||
{
|
||||
if (off == 250)
|
||||
{
|
||||
}
|
||||
bool flag2;
|
||||
if (flag2)
|
||||
{
|
||||
}
|
||||
}
|
||||
num += 3;
|
||||
if (off < length)
|
||||
{
|
||||
int length4 = data.Length;
|
||||
if (off == 250)
|
||||
{
|
||||
}
|
||||
if (off < length)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
int length5 = data.Length;
|
||||
int num2;
|
||||
num2 += num;
|
||||
return num2;
|
||||
}
|
||||
|
||||
// Token: 0x06007DD6 RID: 32214 RVA: 0x001A6A94 File Offset: 0x001A4C94
|
||||
[Token(Token = "0x6007DD6")]
|
||||
[Address(RVA = "0x1C5D380", Offset = "0x1C5BD80", VA = "0x181C5D380")]
|
||||
private int nextI(byte[] data, int i, int finish)
|
||||
{
|
||||
if (i >= finish || i == 250)
|
||||
{
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x06007DD7 RID: 32215 RVA: 0x001A6AB4 File Offset: 0x001A4CB4
|
||||
[Token(Token = "0x6007DD7")]
|
||||
[Address(RVA = "0x1C5BF80", Offset = "0x1C5A980", VA = "0x181C5BF80", Slot = "6")]
|
||||
public int DecodeString(string data, Stream outStream)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = data.m_stringLength;
|
||||
uint num4;
|
||||
if (num2 > 0)
|
||||
{
|
||||
int num3 = num2 - 1;
|
||||
char c = data[num3];
|
||||
if (num4 == data)
|
||||
{
|
||||
}
|
||||
num2 = num3;
|
||||
}
|
||||
int num5 = 0;
|
||||
int num6 = this.nextI(data, num5, (int)num4);
|
||||
if (num6 < (int)num4)
|
||||
{
|
||||
byte[] array = this.decodingTable;
|
||||
char c2 = data[num6];
|
||||
int num7 = num6 + 1;
|
||||
int num8 = this.nextI(data, num7, (int)num4);
|
||||
byte[] array2 = this.decodingTable;
|
||||
char c3 = data[num8];
|
||||
int num9 = num8 + 1;
|
||||
int num10 = this.nextI(data, num9, (int)num4);
|
||||
byte[] array3 = this.decodingTable;
|
||||
char c4 = data[num10];
|
||||
int num11 = num10 + 1;
|
||||
int num12 = this.nextI(data, num11, (int)num4);
|
||||
byte[] array4 = this.decodingTable;
|
||||
num10 = num12;
|
||||
char c5 = data[num12];
|
||||
int num13 = num10 + 1;
|
||||
if (num13 < (int)num4)
|
||||
{
|
||||
char c6 = data[num13];
|
||||
uint num14;
|
||||
if (num14 == data)
|
||||
{
|
||||
}
|
||||
num13++;
|
||||
}
|
||||
}
|
||||
char c7 = data[(int)num4];
|
||||
char c8 = data[(int)num4];
|
||||
char c9 = data[(int)num4];
|
||||
int num15 = num2 - 1;
|
||||
char c10 = data[num15];
|
||||
int num16;
|
||||
num16 += num;
|
||||
return num16;
|
||||
}
|
||||
|
||||
// Token: 0x06007DD8 RID: 32216 RVA: 0x001A6BE4 File Offset: 0x001A4DE4
|
||||
[Token(Token = "0x6007DD8")]
|
||||
[Address(RVA = "0x1C5CF60", Offset = "0x1C5B960", VA = "0x181C5CF60")]
|
||||
private int decodeLastBlock(Stream outStream, char c1, char c2, char c3, char c4)
|
||||
{
|
||||
byte b = this.padding;
|
||||
byte[] array = this.decodingTable;
|
||||
int length = array.Length;
|
||||
return 3;
|
||||
}
|
||||
|
||||
// Token: 0x06007DD9 RID: 32217 RVA: 0x001A6C28 File Offset: 0x001A4E28
|
||||
[Token(Token = "0x6007DD9")]
|
||||
[Address(RVA = "0x1C5D3E0", Offset = "0x1C5BDE0", VA = "0x181C5D3E0")]
|
||||
private int nextI(string data, int i, int finish)
|
||||
{
|
||||
if (i < finish)
|
||||
{
|
||||
char c = data[i];
|
||||
if ((uint)65530 == data)
|
||||
{
|
||||
}
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x04005A3D RID: 23101
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A3D")]
|
||||
protected readonly byte[] encodingTable;
|
||||
|
||||
// Token: 0x04005A3E RID: 23102
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A3E")]
|
||||
protected byte padding;
|
||||
|
||||
// Token: 0x04005A3F RID: 23103
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4005A3F")]
|
||||
protected readonly byte[] decodingTable;
|
||||
}
|
||||
}
|
||||
+104
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x0200136E RID: 4974
|
||||
[Token(Token = "0x200136E")]
|
||||
[StructLayout(3)]
|
||||
public class BufferedDecoder
|
||||
{
|
||||
// Token: 0x06007DDA RID: 32218 RVA: 0x001A6C54 File Offset: 0x001A4E54
|
||||
[Token(Token = "0x6007DDA")]
|
||||
[Address(RVA = "0x1C5E130", Offset = "0x1C5CB30", VA = "0x181C5E130")]
|
||||
public BufferedDecoder(ITranslator translator, int bufferSize)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007DDA)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders.BufferedDecoder::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders.ITranslator,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_2A:
|
||||
stloc:ArgumentException(var_1_34, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("buffer size not multiple of input block size")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007DDB RID: 32219 RVA: 0x001A6C98 File Offset: 0x001A4E98
|
||||
[Token(Token = "0x6007DDB")]
|
||||
[Address(RVA = "0x1C5DE80", Offset = "0x1C5C880", VA = "0x181C5DE80")]
|
||||
public int ProcessByte(byte input, byte[] output, int outOff)
|
||||
{
|
||||
int num = this.bufOff;
|
||||
int num2 = 0;
|
||||
byte[] array = this.buffer;
|
||||
int num3 = num + 1;
|
||||
this.bufOff = num3;
|
||||
int length = this.buffer.Length;
|
||||
if (this.bufOff == length)
|
||||
{
|
||||
ITranslator translator = this.translator;
|
||||
this.bufOff = (int)((ulong)0L);
|
||||
}
|
||||
return num2;
|
||||
}
|
||||
|
||||
// Token: 0x06007DDC RID: 32220 RVA: 0x001A6CF0 File Offset: 0x001A4EF0
|
||||
[Token(Token = "0x6007DDC")]
|
||||
[Address(RVA = "0x1C5DF60", Offset = "0x1C5C960", VA = "0x181C5DF60")]
|
||||
public int ProcessBytes(byte[] input, int inOff, int len, byte[] outBytes, int outOff)
|
||||
{
|
||||
byte[] array = this.buffer;
|
||||
int num = 0;
|
||||
int num2 = array.Length;
|
||||
int num3 = this.bufOff;
|
||||
num2 -= num3;
|
||||
if (len > num2)
|
||||
{
|
||||
Array.Copy(input, inOff, array, num3, num2);
|
||||
byte[] array2 = this.buffer;
|
||||
ITranslator translator = this.translator;
|
||||
int length = array2.Length;
|
||||
byte[] array3 = this.buffer;
|
||||
this.bufOff = num;
|
||||
ITranslator translator2 = this.translator;
|
||||
}
|
||||
if (len != 0)
|
||||
{
|
||||
int num4 = this.bufOff;
|
||||
byte[] array4 = this.buffer;
|
||||
Array.Copy(input, inOff, array4, num4, len);
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x04005A40 RID: 23104
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A40")]
|
||||
internal byte[] buffer;
|
||||
|
||||
// Token: 0x04005A41 RID: 23105
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A41")]
|
||||
internal int bufOff;
|
||||
|
||||
// Token: 0x04005A42 RID: 23106
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4005A42")]
|
||||
internal ITranslator translator;
|
||||
}
|
||||
}
|
||||
+104
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x0200136F RID: 4975
|
||||
[Token(Token = "0x200136F")]
|
||||
[StructLayout(3)]
|
||||
public class BufferedEncoder
|
||||
{
|
||||
// Token: 0x06007DDD RID: 32221 RVA: 0x001A6D88 File Offset: 0x001A4F88
|
||||
[Token(Token = "0x6007DDD")]
|
||||
[Address(RVA = "0x1C5E4A0", Offset = "0x1C5CEA0", VA = "0x181C5E4A0")]
|
||||
public BufferedEncoder(ITranslator translator, int bufferSize)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007DDD)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders.BufferedEncoder::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders.ITranslator,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_2A:
|
||||
stloc:ArgumentException(var_1_34, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("buffer size not multiple of input block size")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007DDE RID: 32222 RVA: 0x001A6DCC File Offset: 0x001A4FCC
|
||||
[Token(Token = "0x6007DDE")]
|
||||
[Address(RVA = "0x1C5E1F0", Offset = "0x1C5CBF0", VA = "0x181C5E1F0")]
|
||||
public int ProcessByte(byte input, byte[] outBytes, int outOff)
|
||||
{
|
||||
int num = this.bufOff;
|
||||
int num2 = 0;
|
||||
byte[] buffer = this.Buffer;
|
||||
int num3 = num + 1;
|
||||
this.bufOff = num3;
|
||||
int length = this.Buffer.Length;
|
||||
if (this.bufOff == length)
|
||||
{
|
||||
ITranslator translator = this.translator;
|
||||
this.bufOff = (int)((ulong)0L);
|
||||
}
|
||||
return num2;
|
||||
}
|
||||
|
||||
// Token: 0x06007DDF RID: 32223 RVA: 0x001A6E24 File Offset: 0x001A5024
|
||||
[Token(Token = "0x6007DDF")]
|
||||
[Address(RVA = "0x1C5E2D0", Offset = "0x1C5CCD0", VA = "0x181C5E2D0")]
|
||||
public int ProcessBytes(byte[] input, int inOff, int len, byte[] outBytes, int outOff)
|
||||
{
|
||||
byte[] buffer = this.Buffer;
|
||||
int num = 0;
|
||||
int num2 = buffer.Length;
|
||||
int num3 = this.bufOff;
|
||||
num2 -= num3;
|
||||
if (len > num2)
|
||||
{
|
||||
Array.Copy(input, inOff, buffer, num3, num2);
|
||||
byte[] buffer2 = this.Buffer;
|
||||
ITranslator translator = this.translator;
|
||||
int length = buffer2.Length;
|
||||
byte[] buffer3 = this.Buffer;
|
||||
this.bufOff = num;
|
||||
ITranslator translator2 = this.translator;
|
||||
}
|
||||
if (len != 0)
|
||||
{
|
||||
int num4 = this.bufOff;
|
||||
byte[] buffer4 = this.Buffer;
|
||||
Array.Copy(input, inOff, buffer4, num4, len);
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x04005A43 RID: 23107
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A43")]
|
||||
internal byte[] Buffer;
|
||||
|
||||
// Token: 0x04005A44 RID: 23108
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A44")]
|
||||
internal int bufOff;
|
||||
|
||||
// Token: 0x04005A45 RID: 23109
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4005A45")]
|
||||
internal ITranslator translator;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001370 RID: 4976
|
||||
[Token(Token = "0x2001370")]
|
||||
[StructLayout(3)]
|
||||
public sealed class Hex
|
||||
{
|
||||
// Token: 0x06007DE0 RID: 32224 RVA: 0x001A6EBC File Offset: 0x001A50BC
|
||||
[Token(Token = "0x6007DE0")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Hex()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007DE1 RID: 32225 RVA: 0x001A6ED0 File Offset: 0x001A50D0
|
||||
[Token(Token = "0x6007DE1")]
|
||||
[Address(RVA = "0x1C608B0", Offset = "0x1C5F2B0", VA = "0x181C608B0")]
|
||||
public static string ToHexString(byte[] data)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = 0;
|
||||
return Strings.FromAsciiByteArray(Hex.Encode(data, num, length));
|
||||
}
|
||||
|
||||
// Token: 0x06007DE2 RID: 32226 RVA: 0x001A6EFC File Offset: 0x001A50FC
|
||||
[Token(Token = "0x6007DE2")]
|
||||
[Address(RVA = "0x1C60970", Offset = "0x1C5F370", VA = "0x181C60970")]
|
||||
public static string ToHexString(byte[] data, int off, int length)
|
||||
{
|
||||
return Strings.FromAsciiByteArray(Hex.Encode(data, off, length));
|
||||
}
|
||||
|
||||
// Token: 0x06007DE3 RID: 32227 RVA: 0x001A6F18 File Offset: 0x001A5118
|
||||
[Token(Token = "0x6007DE3")]
|
||||
[Address(RVA = "0x1C606F0", Offset = "0x1C5F0F0", VA = "0x181C606F0")]
|
||||
public static byte[] Encode(byte[] data)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = 0;
|
||||
return Hex.Encode(data, num, length);
|
||||
}
|
||||
|
||||
// Token: 0x06007DE4 RID: 32228 RVA: 0x001A6F3C File Offset: 0x001A513C
|
||||
[Token(Token = "0x6007DE4")]
|
||||
[Address(RVA = "0x1C60610", Offset = "0x1C5F010", VA = "0x181C60610")]
|
||||
public static byte[] Encode(byte[] data, int off, int length)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream(off);
|
||||
((IDisposable)memoryStream).Dispose();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DE5 RID: 32229 RVA: 0x001A6F60 File Offset: 0x001A5160
|
||||
[Token(Token = "0x6007DE5")]
|
||||
[Address(RVA = "0x1C60810", Offset = "0x1C5F210", VA = "0x181C60810")]
|
||||
public static int Encode(byte[] data, Stream outStream)
|
||||
{
|
||||
return data.Length;
|
||||
}
|
||||
|
||||
// Token: 0x06007DE6 RID: 32230 RVA: 0x001A6F7C File Offset: 0x001A517C
|
||||
[Token(Token = "0x6007DE6")]
|
||||
[Address(RVA = "0x1C60760", Offset = "0x1C5F160", VA = "0x181C60760")]
|
||||
public static int Encode(byte[] data, int off, int length, Stream outStream)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DE7 RID: 32231 RVA: 0x001A6F90 File Offset: 0x001A5190
|
||||
[Token(Token = "0x6007DE7")]
|
||||
[Address(RVA = "0x1C604A0", Offset = "0x1C5EEA0", VA = "0x181C604A0")]
|
||||
public static byte[] Decode(byte[] data)
|
||||
{
|
||||
int num;
|
||||
MemoryStream memoryStream = new MemoryStream(num);
|
||||
num = data.Length;
|
||||
num++;
|
||||
int length = data.Length;
|
||||
((IDisposable)memoryStream).Dispose();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DE8 RID: 32232 RVA: 0x001A6FC4 File Offset: 0x001A51C4
|
||||
[Token(Token = "0x6007DE8")]
|
||||
[Address(RVA = "0x1C603C0", Offset = "0x1C5EDC0", VA = "0x181C603C0")]
|
||||
public static byte[] Decode(string data)
|
||||
{
|
||||
int stringLength = data.m_stringLength;
|
||||
int num;
|
||||
MemoryStream memoryStream = new MemoryStream(num);
|
||||
num = stringLength + 1;
|
||||
((IDisposable)memoryStream).Dispose();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DE9 RID: 32233 RVA: 0x001A6FF0 File Offset: 0x001A51F0
|
||||
[Token(Token = "0x6007DE9")]
|
||||
[Address(RVA = "0x1C60580", Offset = "0x1C5EF80", VA = "0x181C60580")]
|
||||
public static int Decode(string data, Stream outStream)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DEA RID: 32234 RVA: 0x001A7004 File Offset: 0x001A5204
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007DEA")]
|
||||
[Address(RVA = "0x1C609F0", Offset = "0x1C5F3F0", VA = "0x181C609F0")]
|
||||
static Hex()
|
||||
{
|
||||
HexEncoder hexEncoder = new HexEncoder();
|
||||
}
|
||||
|
||||
// Token: 0x04005A46 RID: 23110
|
||||
[Token(Token = "0x4005A46")]
|
||||
private static readonly IEncoder encoder;
|
||||
}
|
||||
}
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001371 RID: 4977
|
||||
[Token(Token = "0x2001371")]
|
||||
[StructLayout(3)]
|
||||
public class HexEncoder : IEncoder
|
||||
{
|
||||
// Token: 0x06007DEB RID: 32235 RVA: 0x001A7018 File Offset: 0x001A5218
|
||||
[Token(Token = "0x6007DEB")]
|
||||
[Address(RVA = "0x202B4E0", Offset = "0x2029EE0", VA = "0x18202B4E0")]
|
||||
protected void InitialiseDecodingTable()
|
||||
{
|
||||
byte[] array = this.decodingTable;
|
||||
byte[] array2 = this.encodingTable;
|
||||
int num = 0;
|
||||
if (num < array2.Length)
|
||||
{
|
||||
byte[] array3 = this.decodingTable;
|
||||
num++;
|
||||
byte[] array4 = this.encodingTable;
|
||||
}
|
||||
byte[] array5 = this.decodingTable;
|
||||
byte b = array5[12];
|
||||
array5[8] = b;
|
||||
byte[] array6 = this.decodingTable;
|
||||
byte b2 = array6[12];
|
||||
array6[8] = b2;
|
||||
byte[] array7 = this.decodingTable;
|
||||
byte b3 = array7[12];
|
||||
array7[8] = b3;
|
||||
byte[] array8 = this.decodingTable;
|
||||
byte b4 = array8[12];
|
||||
array8[8] = b4;
|
||||
byte[] array9 = this.decodingTable;
|
||||
byte b5 = array9[12];
|
||||
array9[8] = b5;
|
||||
byte[] array10 = this.decodingTable;
|
||||
byte b6 = array10[12];
|
||||
array10[8] = b6;
|
||||
}
|
||||
|
||||
// Token: 0x06007DEC RID: 32236 RVA: 0x001A7108 File Offset: 0x001A5308
|
||||
[Token(Token = "0x6007DEC")]
|
||||
[Address(RVA = "0x202B720", Offset = "0x202A120", VA = "0x18202B720")]
|
||||
public HexEncoder()
|
||||
{
|
||||
byte[] array = new byte[16];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.FE5567E8D769550852182CDF69D74BB16DFF8E29).FieldHandle);
|
||||
this.encodingTable = array;
|
||||
byte[] array2 = new byte[128];
|
||||
this.decodingTable = array2;
|
||||
base..ctor();
|
||||
this.InitialiseDecodingTable();
|
||||
}
|
||||
|
||||
// Token: 0x06007DED RID: 32237 RVA: 0x001A7150 File Offset: 0x001A5350
|
||||
[Token(Token = "0x6007DED")]
|
||||
[Address(RVA = "0x202B3A0", Offset = "0x2029DA0", VA = "0x18202B3A0", Slot = "4")]
|
||||
public int Encode(byte[] data, int off, int length, Stream outStream)
|
||||
{
|
||||
byte[] array = this.encodingTable;
|
||||
byte[] array2 = this.encodingTable;
|
||||
return off;
|
||||
}
|
||||
|
||||
// Token: 0x06007DEE RID: 32238 RVA: 0x001A7174 File Offset: 0x001A5374
|
||||
[Token(Token = "0x6007DEE")]
|
||||
[Address(RVA = "0x202B4C0", Offset = "0x2029EC0", VA = "0x18202B4C0")]
|
||||
private static bool Ignore(char c)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007DEF RID: 32239 RVA: 0x001A7184 File Offset: 0x001A5384
|
||||
[Token(Token = "0x6007DEF")]
|
||||
[Address(RVA = "0x202B150", Offset = "0x2029B50", VA = "0x18202B150", Slot = "5")]
|
||||
public int Decode(byte[] data, int off, int length, Stream outStream)
|
||||
{
|
||||
int num = 0;
|
||||
if (off < length)
|
||||
{
|
||||
if (length == 250)
|
||||
{
|
||||
}
|
||||
if (off < length)
|
||||
{
|
||||
if (length == 250)
|
||||
{
|
||||
}
|
||||
byte[] array = this.decodingTable;
|
||||
int length2 = data.Length;
|
||||
int length3 = array.Length;
|
||||
if (off >= length || length == 250)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
}
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06007DF0 RID: 32240 RVA: 0x001A71E8 File Offset: 0x001A53E8
|
||||
[Token(Token = "0x6007DF0")]
|
||||
[Address(RVA = "0x202AF40", Offset = "0x2029940", VA = "0x18202AF40", Slot = "6")]
|
||||
public int DecodeString(string data, Stream outStream)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = data.m_stringLength;
|
||||
if (num2 > 0)
|
||||
{
|
||||
int num3 = num2 - 1;
|
||||
char c = data[num3];
|
||||
if ((uint)65530 == (uint)c)
|
||||
{
|
||||
}
|
||||
num2 = num3;
|
||||
}
|
||||
if (num2 > 0)
|
||||
{
|
||||
if (num < num2)
|
||||
{
|
||||
char c2 = data[num];
|
||||
if ((uint)65530 == (uint)c2)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
}
|
||||
byte[] array = this.decodingTable;
|
||||
num++;
|
||||
char c3 = data[num];
|
||||
if (num < num2)
|
||||
{
|
||||
char c4 = data[num];
|
||||
if ((uint)65530 == (uint)c4)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
}
|
||||
byte[] array2 = this.decodingTable;
|
||||
num++;
|
||||
char c5 = data[num];
|
||||
num++;
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x04005A47 RID: 23111
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A47")]
|
||||
protected readonly byte[] encodingTable;
|
||||
|
||||
// Token: 0x04005A48 RID: 23112
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A48")]
|
||||
protected readonly byte[] decodingTable;
|
||||
}
|
||||
}
|
||||
+76
@@ -0,0 +1,76 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001372 RID: 4978
|
||||
[Token(Token = "0x2001372")]
|
||||
[StructLayout(3)]
|
||||
public class HexTranslator : ITranslator
|
||||
{
|
||||
// Token: 0x06007DF1 RID: 32241 RVA: 0x001A7294 File Offset: 0x001A5494
|
||||
[Token(Token = "0x6007DF1")]
|
||||
[Address(RVA = "0x8509C0", Offset = "0x84F3C0", VA = "0x1808509C0", Slot = "4")]
|
||||
public int GetEncodedBlockSize()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
// Token: 0x06007DF2 RID: 32242 RVA: 0x001A72A4 File Offset: 0x001A54A4
|
||||
[Token(Token = "0x6007DF2")]
|
||||
[Address(RVA = "0x202B8F0", Offset = "0x202A2F0", VA = "0x18202B8F0", Slot = "5")]
|
||||
public int Encode(byte[] input, int inOff, int length, byte[] outBytes, int outOff)
|
||||
{
|
||||
int num = 0;
|
||||
if (length > 0)
|
||||
{
|
||||
num++;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DF3 RID: 32243 RVA: 0x001A72C0 File Offset: 0x001A54C0
|
||||
[Token(Token = "0x6007DF3")]
|
||||
[Address(RVA = "0x3E2800", Offset = "0x3E1200", VA = "0x1803E2800", Slot = "6")]
|
||||
public int GetDecodedBlockSize()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Token: 0x06007DF4 RID: 32244 RVA: 0x001A72D0 File Offset: 0x001A54D0
|
||||
[Token(Token = "0x6007DF4")]
|
||||
[Address(RVA = "0x202B7B0", Offset = "0x202A1B0", VA = "0x18202B7B0", Slot = "7")]
|
||||
public int Decode(byte[] input, int inOff, int length, byte[] outBytes, int outOff)
|
||||
{
|
||||
int num = 0;
|
||||
if (length > 0)
|
||||
{
|
||||
int length2 = input.Length;
|
||||
num++;
|
||||
}
|
||||
return length;
|
||||
}
|
||||
|
||||
// Token: 0x06007DF5 RID: 32245 RVA: 0x001A72F8 File Offset: 0x001A54F8
|
||||
[Token(Token = "0x6007DF5")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public HexTranslator()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007DF6 RID: 32246 RVA: 0x001A730C File Offset: 0x001A550C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007DF6")]
|
||||
[Address(RVA = "0x202BAA0", Offset = "0x202A4A0", VA = "0x18202BAA0")]
|
||||
static HexTranslator()
|
||||
{
|
||||
RuntimeHelpers.InitializeArray(new byte[16], fieldof(<PrivateImplementationDetails>.FE5567E8D769550852182CDF69D74BB16DFF8E29).FieldHandle);
|
||||
}
|
||||
|
||||
// Token: 0x04005A49 RID: 23113
|
||||
[Token(Token = "0x4005A49")]
|
||||
private static readonly byte[] hexTable;
|
||||
}
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001373 RID: 4979
|
||||
[Token(Token = "0x2001373")]
|
||||
[StructLayout(3)]
|
||||
public interface IEncoder
|
||||
{
|
||||
// Token: 0x06007DF7 RID: 32247
|
||||
[Token(Token = "0x6007DF7")]
|
||||
[Address(Slot = "0")]
|
||||
int Encode(byte[] data, int off, int length, Stream outStream);
|
||||
|
||||
// Token: 0x06007DF8 RID: 32248
|
||||
[Token(Token = "0x6007DF8")]
|
||||
[Address(Slot = "1")]
|
||||
int Decode(byte[] data, int off, int length, Stream outStream);
|
||||
|
||||
// Token: 0x06007DF9 RID: 32249
|
||||
[Token(Token = "0x6007DF9")]
|
||||
[Address(Slot = "2")]
|
||||
int DecodeString(string data, Stream outStream);
|
||||
}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001374 RID: 4980
|
||||
[Token(Token = "0x2001374")]
|
||||
[StructLayout(3)]
|
||||
public interface ITranslator
|
||||
{
|
||||
// Token: 0x06007DFA RID: 32250
|
||||
[Token(Token = "0x6007DFA")]
|
||||
[Address(Slot = "0")]
|
||||
int GetEncodedBlockSize();
|
||||
|
||||
// Token: 0x06007DFB RID: 32251
|
||||
[Token(Token = "0x6007DFB")]
|
||||
[Address(Slot = "1")]
|
||||
int Encode(byte[] input, int inOff, int length, byte[] outBytes, int outOff);
|
||||
|
||||
// Token: 0x06007DFC RID: 32252
|
||||
[Token(Token = "0x6007DFC")]
|
||||
[Address(Slot = "2")]
|
||||
int GetDecodedBlockSize();
|
||||
|
||||
// Token: 0x06007DFD RID: 32253
|
||||
[Token(Token = "0x6007DFD")]
|
||||
[Address(Slot = "3")]
|
||||
int Decode(byte[] input, int inOff, int length, byte[] outBytes, int outOff);
|
||||
}
|
||||
}
|
||||
+91
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001375 RID: 4981
|
||||
[Token(Token = "0x2001375")]
|
||||
[StructLayout(3)]
|
||||
public class UrlBase64
|
||||
{
|
||||
// Token: 0x06007DFE RID: 32254 RVA: 0x001A732C File Offset: 0x001A552C
|
||||
[Token(Token = "0x6007DFE")]
|
||||
[Address(RVA = "0x20353E0", Offset = "0x2033DE0", VA = "0x1820353E0")]
|
||||
public static byte[] Encode(byte[] data)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
int length = data.Length;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DFF RID: 32255 RVA: 0x001A7358 File Offset: 0x001A5558
|
||||
[Token(Token = "0x6007DFF")]
|
||||
[Address(RVA = "0x2035340", Offset = "0x2033D40", VA = "0x182035340")]
|
||||
public static int Encode(byte[] data, Stream outStr)
|
||||
{
|
||||
return data.Length;
|
||||
}
|
||||
|
||||
// Token: 0x06007E00 RID: 32256 RVA: 0x001A7374 File Offset: 0x001A5574
|
||||
[Token(Token = "0x6007E00")]
|
||||
[Address(RVA = "0x20350B0", Offset = "0x2033AB0", VA = "0x1820350B0")]
|
||||
public static byte[] Decode(byte[] data)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
int length = data.Length;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E01 RID: 32257 RVA: 0x001A73A0 File Offset: 0x001A55A0
|
||||
[Token(Token = "0x6007E01")]
|
||||
[Address(RVA = "0x2035210", Offset = "0x2033C10", VA = "0x182035210")]
|
||||
public static int Decode(byte[] data, Stream outStr)
|
||||
{
|
||||
return data.Length;
|
||||
}
|
||||
|
||||
// Token: 0x06007E02 RID: 32258 RVA: 0x001A73BC File Offset: 0x001A55BC
|
||||
[Token(Token = "0x6007E02")]
|
||||
[Address(RVA = "0x2034F60", Offset = "0x2033960", VA = "0x182034F60")]
|
||||
public static byte[] Decode(string data)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E03 RID: 32259 RVA: 0x001A73E0 File Offset: 0x001A55E0
|
||||
[Token(Token = "0x6007E03")]
|
||||
[Address(RVA = "0x20352B0", Offset = "0x2033CB0", VA = "0x1820352B0")]
|
||||
public static int Decode(string data, Stream outStr)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007E04 RID: 32260 RVA: 0x001A73F4 File Offset: 0x001A55F4
|
||||
[Token(Token = "0x6007E04")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public UrlBase64()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007E05 RID: 32261 RVA: 0x001A7408 File Offset: 0x001A5608
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007E05")]
|
||||
[Address(RVA = "0x2035540", Offset = "0x2033F40", VA = "0x182035540")]
|
||||
static UrlBase64()
|
||||
{
|
||||
UrlBase64Encoder urlBase64Encoder = new UrlBase64Encoder();
|
||||
int length = urlBase64Encoder.encodingTable.Length;
|
||||
urlBase64Encoder.decodingTable = (ulong)45L;
|
||||
int num = urlBase64Encoder.encodingTable.Length - 1;
|
||||
urlBase64Encoder.padding = (byte)((ulong)46L);
|
||||
urlBase64Encoder.InitialiseDecodingTable();
|
||||
}
|
||||
|
||||
// Token: 0x04005A4A RID: 23114
|
||||
[Token(Token = "0x4005A4A")]
|
||||
private static readonly IEncoder encoder;
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001376 RID: 4982
|
||||
[Token(Token = "0x2001376")]
|
||||
[StructLayout(3)]
|
||||
public class UrlBase64Encoder : Base64Encoder
|
||||
{
|
||||
// Token: 0x06007E06 RID: 32262 RVA: 0x001A7458 File Offset: 0x001A5658
|
||||
[Token(Token = "0x6007E06")]
|
||||
[Address(RVA = "0x2034EE0", Offset = "0x20338E0", VA = "0x182034EE0")]
|
||||
public UrlBase64Encoder()
|
||||
{
|
||||
int length = this.encodingTable.Length;
|
||||
this.decodingTable = (ulong)45L;
|
||||
int num = this.encodingTable.Length - 1;
|
||||
this.padding = (byte)((ulong)46L);
|
||||
base.InitialiseDecodingTable();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001345 RID: 4933
|
||||
[Token(Token = "0x2001345")]
|
||||
[StructLayout(3)]
|
||||
internal abstract class Enums
|
||||
{
|
||||
// Token: 0x06007C6D RID: 31853 RVA: 0x0019E568 File Offset: 0x0019C768
|
||||
[Token(Token = "0x6007C6D")]
|
||||
[Address(RVA = "0x202AB40", Offset = "0x2029540", VA = "0x18202AB40")]
|
||||
internal static Enum GetEnumValue(Type enumType, string s)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C6D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Enum BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Enums::GetEnumValue(System.Type,System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3A:
|
||||
stloc:ArgumentException(var_7_49, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Not an enumeration type"), ldstr:string("enumType")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C6E RID: 31854 RVA: 0x0019E5C0 File Offset: 0x0019C7C0
|
||||
[Token(Token = "0x6007C6E")]
|
||||
[Address(RVA = "0x202ACE0", Offset = "0x20296E0", VA = "0x18202ACE0")]
|
||||
internal static Array GetEnumValues(Type enumType)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C6E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Array BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Enums::GetEnumValues(System.Type)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_16:
|
||||
stloc:ArgumentException(var_0_25, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Not an enumeration type"), ldstr:string("enumType")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C6F RID: 31855 RVA: 0x0019E5F4 File Offset: 0x0019C7F4
|
||||
[Token(Token = "0x6007C6F")]
|
||||
[Address(RVA = "0x202A9C0", Offset = "0x20293C0", VA = "0x18202A9C0")]
|
||||
internal static Enum GetArbitraryValue(Type enumType)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C6F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Enum BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Enums::GetArbitraryValue(System.Type)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3E:
|
||||
stloc:ArgumentException(var_7_4D, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Not an enumeration type"), ldstr:string("enumType")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C70 RID: 31856 RVA: 0x0019E650 File Offset: 0x0019C850
|
||||
[Token(Token = "0x6007C70")]
|
||||
[Address(RVA = "0x524700", Offset = "0x523100", VA = "0x180524700")]
|
||||
internal static bool IsEnumType(Type t)
|
||||
{
|
||||
Guid guid = t.GUID;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C71 RID: 31857 RVA: 0x0019E66C File Offset: 0x0019C86C
|
||||
[Token(Token = "0x6007C71")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected Enums()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001346 RID: 4934
|
||||
[Token(Token = "0x2001346")]
|
||||
[StructLayout(3)]
|
||||
public interface IMemoable
|
||||
{
|
||||
// Token: 0x06007C72 RID: 31858
|
||||
[Token(Token = "0x6007C72")]
|
||||
[Address(Slot = "0")]
|
||||
IMemoable Copy();
|
||||
|
||||
// Token: 0x06007C73 RID: 31859
|
||||
[Token(Token = "0x6007C73")]
|
||||
[Address(Slot = "1")]
|
||||
void Reset(IMemoable other);
|
||||
}
|
||||
}
|
||||
+260
@@ -0,0 +1,260 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200135C RID: 4956
|
||||
[Token(Token = "0x200135C")]
|
||||
[StructLayout(3)]
|
||||
public abstract class BaseInputStream : Stream
|
||||
{
|
||||
// Token: 0x17001463 RID: 5219
|
||||
// (get) Token: 0x06007D63 RID: 32099 RVA: 0x001A58FC File Offset: 0x001A3AFC
|
||||
[Token(Token = "0x17001463")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6007D63")]
|
||||
[Address(RVA = "0x11E5400", Offset = "0x11E3E00", VA = "0x1811E5400", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001464 RID: 5220
|
||||
// (get) Token: 0x06007D64 RID: 32100 RVA: 0x001A5914 File Offset: 0x001A3B14
|
||||
[Token(Token = "0x17001464")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6007D64")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001465 RID: 5221
|
||||
// (get) Token: 0x06007D65 RID: 32101 RVA: 0x001A5924 File Offset: 0x001A3B24
|
||||
[Token(Token = "0x17001465")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6007D65")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "9")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D66 RID: 32102 RVA: 0x001A5934 File Offset: 0x001A3B34
|
||||
[Token(Token = "0x6007D66")]
|
||||
[Address(RVA = "0x2024E20", Offset = "0x2023820", VA = "0x182024E20", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007D67 RID: 32103 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D67")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "17")]
|
||||
public sealed override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17001466 RID: 5222
|
||||
// (get) Token: 0x06007D68 RID: 32104 RVA: 0x001A5950 File Offset: 0x001A3B50
|
||||
[Token(Token = "0x17001466")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x6007D68")]
|
||||
[Address(RVA = "0x2025070", Offset = "0x2023A70", VA = "0x182025070", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D68)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::get_Length()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001467 RID: 5223
|
||||
// (get) Token: 0x06007D69 RID: 32105 RVA: 0x001A5964 File Offset: 0x001A3B64
|
||||
// (set) Token: 0x06007D6A RID: 32106 RVA: 0x001A5978 File Offset: 0x001A3B78
|
||||
[Token(Token = "0x17001467")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6007D69")]
|
||||
[Address(RVA = "0x20250C0", Offset = "0x2023AC0", VA = "0x1820250C0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D69)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::get_Position()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
[Token(Token = "0x6007D6A")]
|
||||
[Address(RVA = "0x2025110", Offset = "0x2023B10", VA = "0x182025110", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D6A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::set_Position(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D6B RID: 32107 RVA: 0x001A598C File Offset: 0x001A3B8C
|
||||
[Token(Token = "0x6007D6B")]
|
||||
[Address(RVA = "0x2024E30", Offset = "0x2023830", VA = "0x182024E30", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
int num;
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
if (offset != 0)
|
||||
{
|
||||
return offset;
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D6C RID: 32108 RVA: 0x001A59B0 File Offset: 0x001A3BB0
|
||||
[Token(Token = "0x6007D6C")]
|
||||
[Address(RVA = "0x2024F20", Offset = "0x2023920", VA = "0x182024F20", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D6C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::Seek(System.Int64,System.IO.SeekOrigin)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007D6D RID: 32109 RVA: 0x001A59C4 File Offset: 0x001A3BC4
|
||||
[Token(Token = "0x6007D6D")]
|
||||
[Address(RVA = "0x2024F70", Offset = "0x2023970", VA = "0x182024F70", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D6D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::SetLength(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007D6E RID: 32110 RVA: 0x001A59D8 File Offset: 0x001A3BD8
|
||||
[Token(Token = "0x6007D6E")]
|
||||
[Address(RVA = "0x2024FC0", Offset = "0x20239C0", VA = "0x182024FC0", Slot = "29")]
|
||||
public sealed override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D6E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::Write(System.Byte[],System.Int32,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007D6F RID: 32111 RVA: 0x001A59EC File Offset: 0x001A3BEC
|
||||
[Token(Token = "0x6007D6F")]
|
||||
[Address(RVA = "0x2025010", Offset = "0x2023A10", VA = "0x182025010")]
|
||||
protected BaseInputStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04005A28 RID: 23080
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4005A28")]
|
||||
private bool closed;
|
||||
}
|
||||
}
|
||||
+268
@@ -0,0 +1,268 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200135D RID: 4957
|
||||
[Token(Token = "0x200135D")]
|
||||
[StructLayout(3)]
|
||||
public abstract class BaseOutputStream : Stream
|
||||
{
|
||||
// Token: 0x17001468 RID: 5224
|
||||
// (get) Token: 0x06007D70 RID: 32112 RVA: 0x001A5A00 File Offset: 0x001A3C00
|
||||
[Token(Token = "0x17001468")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6007D70")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "7")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001469 RID: 5225
|
||||
// (get) Token: 0x06007D71 RID: 32113 RVA: 0x001A5A10 File Offset: 0x001A3C10
|
||||
[Token(Token = "0x17001469")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6007D71")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700146A RID: 5226
|
||||
// (get) Token: 0x06007D72 RID: 32114 RVA: 0x001A5A20 File Offset: 0x001A3C20
|
||||
[Token(Token = "0x1700146A")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6007D72")]
|
||||
[Address(RVA = "0x11E5400", Offset = "0x11E3E00", VA = "0x1811E5400", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D73 RID: 32115 RVA: 0x001A5A38 File Offset: 0x001A3C38
|
||||
[Token(Token = "0x6007D73")]
|
||||
[Address(RVA = "0x2024E20", Offset = "0x2023820", VA = "0x182024E20", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007D74 RID: 32116 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D74")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x1700146B RID: 5227
|
||||
// (get) Token: 0x06007D75 RID: 32117 RVA: 0x001A5A54 File Offset: 0x001A3C54
|
||||
[Token(Token = "0x1700146B")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x6007D75")]
|
||||
[Address(RVA = "0x20253D0", Offset = "0x2023DD0", VA = "0x1820253D0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D75)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::get_Length()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700146C RID: 5228
|
||||
// (get) Token: 0x06007D76 RID: 32118 RVA: 0x001A5A68 File Offset: 0x001A3C68
|
||||
// (set) Token: 0x06007D77 RID: 32119 RVA: 0x001A5A7C File Offset: 0x001A3C7C
|
||||
[Token(Token = "0x1700146C")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6007D76")]
|
||||
[Address(RVA = "0x2025420", Offset = "0x2023E20", VA = "0x182025420", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D76)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::get_Position()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
[Token(Token = "0x6007D77")]
|
||||
[Address(RVA = "0x2025470", Offset = "0x2023E70", VA = "0x182025470", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D77)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::set_Position(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D78 RID: 32120 RVA: 0x001A5A90 File Offset: 0x001A3C90
|
||||
[Token(Token = "0x6007D78")]
|
||||
[Address(RVA = "0x2025160", Offset = "0x2023B60", VA = "0x182025160", Slot = "27")]
|
||||
public sealed override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D78)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::Read(System.Byte[],System.Int32,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007D79 RID: 32121 RVA: 0x001A5AA4 File Offset: 0x001A3CA4
|
||||
[Token(Token = "0x6007D79")]
|
||||
[Address(RVA = "0x20251B0", Offset = "0x2023BB0", VA = "0x1820251B0", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D79)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::Seek(System.Int64,System.IO.SeekOrigin)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007D7A RID: 32122 RVA: 0x001A5AB8 File Offset: 0x001A3CB8
|
||||
[Token(Token = "0x6007D7A")]
|
||||
[Address(RVA = "0x2025200", Offset = "0x2023C00", VA = "0x182025200", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D7A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::SetLength(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007D7B RID: 32123 RVA: 0x001A5ACC File Offset: 0x001A3CCC
|
||||
[Token(Token = "0x6007D7B")]
|
||||
[Address(RVA = "0x20252F0", Offset = "0x2023CF0", VA = "0x1820252F0", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007D7C RID: 32124 RVA: 0x001A5AE0 File Offset: 0x001A3CE0
|
||||
[Token(Token = "0x6007D7C")]
|
||||
[Address(RVA = "0x1DFBEC0", Offset = "0x1DFA8C0", VA = "0x181DFBEC0", Slot = "31")]
|
||||
public virtual void Write(params byte[] buffer)
|
||||
{
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06007D7D RID: 32125 RVA: 0x001A5AFC File Offset: 0x001A3CFC
|
||||
[Token(Token = "0x6007D7D")]
|
||||
[Address(RVA = "0x2025250", Offset = "0x2023C50", VA = "0x182025250", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
(new byte[1])[0] = b;
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06007D7E RID: 32126 RVA: 0x001A5B24 File Offset: 0x001A3D24
|
||||
[Token(Token = "0x6007D7E")]
|
||||
[Address(RVA = "0x2025370", Offset = "0x2023D70", VA = "0x182025370")]
|
||||
protected BaseOutputStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04005A29 RID: 23081
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4005A29")]
|
||||
private bool closed;
|
||||
}
|
||||
}
|
||||
+168
@@ -0,0 +1,168 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200135E RID: 4958
|
||||
[Token(Token = "0x200135E")]
|
||||
[StructLayout(3)]
|
||||
public class FilterStream : Stream
|
||||
{
|
||||
// Token: 0x06007D7F RID: 32127 RVA: 0x001A5B38 File Offset: 0x001A3D38
|
||||
[Token(Token = "0x6007D7F")]
|
||||
[Address(RVA = "0x202AED0", Offset = "0x20298D0", VA = "0x18202AED0")]
|
||||
public FilterStream(Stream s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x1700146D RID: 5229
|
||||
// (get) Token: 0x06007D80 RID: 32128 RVA: 0x001A5B54 File Offset: 0x001A3D54
|
||||
[Token(Token = "0x1700146D")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6007D80")]
|
||||
[Address(RVA = "0x917880", Offset = "0x916280", VA = "0x180917880", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700146E RID: 5230
|
||||
// (get) Token: 0x06007D81 RID: 32129 RVA: 0x001A5B74 File Offset: 0x001A3D74
|
||||
[Token(Token = "0x1700146E")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6007D81")]
|
||||
[Address(RVA = "0x9178B0", Offset = "0x9162B0", VA = "0x1809178B0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700146F RID: 5231
|
||||
// (get) Token: 0x06007D82 RID: 32130 RVA: 0x001A5B94 File Offset: 0x001A3D94
|
||||
[Token(Token = "0x1700146F")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6007D82")]
|
||||
[Address(RVA = "0x9178E0", Offset = "0x9162E0", VA = "0x1809178E0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001470 RID: 5232
|
||||
// (get) Token: 0x06007D83 RID: 32131 RVA: 0x001A5BB4 File Offset: 0x001A3DB4
|
||||
[Token(Token = "0x17001470")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x6007D83")]
|
||||
[Address(RVA = "0x7760E0", Offset = "0x774AE0", VA = "0x1807760E0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001471 RID: 5233
|
||||
// (get) Token: 0x06007D84 RID: 32132 RVA: 0x001A5BD4 File Offset: 0x001A3DD4
|
||||
// (set) Token: 0x06007D85 RID: 32133 RVA: 0x001A5BF4 File Offset: 0x001A3DF4
|
||||
[Token(Token = "0x17001471")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x6007D84")]
|
||||
[Address(RVA = "0x776110", Offset = "0x774B10", VA = "0x180776110", Slot = "11")]
|
||||
get
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
[Token(Token = "0x6007D85")]
|
||||
[Address(RVA = "0x1F4FD30", Offset = "0x1F4E730", VA = "0x181F4FD30", Slot = "12")]
|
||||
set
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D86 RID: 32134 RVA: 0x001A5C14 File Offset: 0x001A3E14
|
||||
[Token(Token = "0x6007D86")]
|
||||
[Address(RVA = "0x202AD90", Offset = "0x2029790", VA = "0x18202AD90", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.s.WriteTimeout;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007D87 RID: 32135 RVA: 0x001A5C3C File Offset: 0x001A3E3C
|
||||
[Token(Token = "0x6007D87")]
|
||||
[Address(RVA = "0x69C680", Offset = "0x69B080", VA = "0x18069C680", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007D88 RID: 32136 RVA: 0x001A5C5C File Offset: 0x001A3E5C
|
||||
[Token(Token = "0x6007D88")]
|
||||
[Address(RVA = "0xC7F460", Offset = "0xC7DE60", VA = "0x180C7F460", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D89 RID: 32137 RVA: 0x001A5C7C File Offset: 0x001A3E7C
|
||||
[Token(Token = "0x6007D89")]
|
||||
[Address(RVA = "0x775940", Offset = "0x774340", VA = "0x180775940", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007D8A RID: 32138 RVA: 0x001A5C9C File Offset: 0x001A3E9C
|
||||
[Token(Token = "0x6007D8A")]
|
||||
[Address(RVA = "0x202AE40", Offset = "0x2029840", VA = "0x18202AE40", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D8B RID: 32139 RVA: 0x001A5CBC File Offset: 0x001A3EBC
|
||||
[Token(Token = "0x6007D8B")]
|
||||
[Address(RVA = "0x202AE10", Offset = "0x2029810", VA = "0x18202AE10", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D8C RID: 32140 RVA: 0x001A5CDC File Offset: 0x001A3EDC
|
||||
[Token(Token = "0x6007D8C")]
|
||||
[Address(RVA = "0x202AEA0", Offset = "0x20298A0", VA = "0x18202AEA0", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007D8D RID: 32141 RVA: 0x001A5CFC File Offset: 0x001A3EFC
|
||||
[Token(Token = "0x6007D8D")]
|
||||
[Address(RVA = "0x202AE70", Offset = "0x2029870", VA = "0x18202AE70", Slot = "30")]
|
||||
public override void WriteByte(byte value)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x04005A2A RID: 23082
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4005A2A")]
|
||||
protected readonly Stream s;
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200135F RID: 4959
|
||||
[Token(Token = "0x200135F")]
|
||||
[StructLayout(3)]
|
||||
internal class NullOutputStream : BaseOutputStream
|
||||
{
|
||||
// Token: 0x06007D8E RID: 32142 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D8E")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007D8F RID: 32143 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D8F")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007D90 RID: 32144 RVA: 0x001A5D1C File Offset: 0x001A3F1C
|
||||
[Token(Token = "0x6007D90")]
|
||||
[Address(RVA = "0x2025370", Offset = "0x2023D70", VA = "0x182025370")]
|
||||
public NullOutputStream()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001365 RID: 4965
|
||||
[Token(Token = "0x2001365")]
|
||||
[Serializable]
|
||||
[StructLayout(3)]
|
||||
public class PemGenerationException : Exception
|
||||
{
|
||||
// Token: 0x06007DAB RID: 32171 RVA: 0x001A6138 File Offset: 0x001A4338
|
||||
[Token(Token = "0x6007DAB")]
|
||||
[Address(RVA = "0x2031A80", Offset = "0x2030480", VA = "0x182031A80")]
|
||||
public PemGenerationException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007DAC RID: 32172 RVA: 0x001A614C File Offset: 0x001A434C
|
||||
[Token(Token = "0x6007DAC")]
|
||||
[Address(RVA = "0x2031990", Offset = "0x2030390", VA = "0x182031990")]
|
||||
public PemGenerationException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007DAD RID: 32173 RVA: 0x001A6160 File Offset: 0x001A4360
|
||||
[Token(Token = "0x6007DAD")]
|
||||
[Address(RVA = "0x2031A00", Offset = "0x2030400", VA = "0x182031A00")]
|
||||
public PemGenerationException(string message, Exception exception)
|
||||
: base(message, exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+122
@@ -0,0 +1,122 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001366 RID: 4966
|
||||
[Token(Token = "0x2001366")]
|
||||
[StructLayout(3)]
|
||||
public class PemHeader
|
||||
{
|
||||
// Token: 0x06007DAE RID: 32174 RVA: 0x001A6178 File Offset: 0x001A4378
|
||||
[Token(Token = "0x6007DAE")]
|
||||
[Address(RVA = "0x3C39C0", Offset = "0x3C23C0", VA = "0x1803C39C0")]
|
||||
public PemHeader(string name, string val)
|
||||
{
|
||||
this.name = name;
|
||||
this.val = val;
|
||||
}
|
||||
|
||||
// Token: 0x17001472 RID: 5234
|
||||
// (get) Token: 0x06007DAF RID: 32175 RVA: 0x001A619C File Offset: 0x001A439C
|
||||
[Token(Token = "0x17001472")]
|
||||
public virtual string Name
|
||||
{
|
||||
[Token(Token = "0x6007DAF")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001473 RID: 5235
|
||||
// (get) Token: 0x06007DB0 RID: 32176 RVA: 0x001A61B0 File Offset: 0x001A43B0
|
||||
[Token(Token = "0x17001473")]
|
||||
public virtual string Value
|
||||
{
|
||||
[Token(Token = "0x6007DB0")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return this.val;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DB1 RID: 32177 RVA: 0x001A61C4 File Offset: 0x001A43C4
|
||||
[Token(Token = "0x6007DB1")]
|
||||
[Address(RVA = "0x2031BF0", Offset = "0x20305F0", VA = "0x182031BF0", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007DB1)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemHeader::GetHashCode()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_22:
|
||||
stloc:int64(var_3, add:int64(ldloc:int64(var_3), ldloc:uint32[exp:int64](var_0)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007DB2 RID: 32178 RVA: 0x001A61F8 File Offset: 0x001A43F8
|
||||
[Token(Token = "0x6007DB2")]
|
||||
[Address(RVA = "0x2031AE0", Offset = "0x20304E0", VA = "0x182031AE0", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
while (obj != this)
|
||||
{
|
||||
if (obj != 0 && obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
string text = this.name;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
string text2 = this.val;
|
||||
bool flag2;
|
||||
return flag2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007DB3 RID: 32179 RVA: 0x001A6234 File Offset: 0x001A4434
|
||||
[Token(Token = "0x6007DB3")]
|
||||
[Address(RVA = "0x2031C60", Offset = "0x2030660", VA = "0x182031C60")]
|
||||
private int GetHashCode(string s)
|
||||
{
|
||||
if (s != 0)
|
||||
{
|
||||
object obj = ((ICloneable)s).Clone();
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Token: 0x04005A31 RID: 23089
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A31")]
|
||||
private string name;
|
||||
|
||||
// Token: 0x04005A32 RID: 23090
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A32")]
|
||||
private string val;
|
||||
}
|
||||
}
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001367 RID: 4967
|
||||
[Token(Token = "0x2001367")]
|
||||
[StructLayout(3)]
|
||||
public class PemObject : PemObjectGenerator
|
||||
{
|
||||
// Token: 0x06007DB4 RID: 32180 RVA: 0x001A6250 File Offset: 0x001A4450
|
||||
[Token(Token = "0x6007DB4")]
|
||||
[Address(RVA = "0x2031D50", Offset = "0x2030750", VA = "0x182031D50")]
|
||||
public PemObject(string type, byte[] content)
|
||||
{
|
||||
ArrayList arrayList = new ArrayList();
|
||||
}
|
||||
|
||||
// Token: 0x06007DB5 RID: 32181 RVA: 0x001A6264 File Offset: 0x001A4464
|
||||
[Token(Token = "0x6007DB5")]
|
||||
[Address(RVA = "0x2031C90", Offset = "0x2030690", VA = "0x182031C90")]
|
||||
public PemObject(string type, IList headers, byte[] content)
|
||||
{
|
||||
this.type = type;
|
||||
ArrayList arrayList = new ArrayList(headers);
|
||||
this.headers = arrayList;
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
// Token: 0x17001474 RID: 5236
|
||||
// (get) Token: 0x06007DB6 RID: 32182 RVA: 0x001A6294 File Offset: 0x001A4494
|
||||
[Token(Token = "0x17001474")]
|
||||
public string Type
|
||||
{
|
||||
[Token(Token = "0x6007DB6")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.type;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001475 RID: 5237
|
||||
// (get) Token: 0x06007DB7 RID: 32183 RVA: 0x001A62A8 File Offset: 0x001A44A8
|
||||
[Token(Token = "0x17001475")]
|
||||
public IList Headers
|
||||
{
|
||||
[Token(Token = "0x6007DB7")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.headers;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001476 RID: 5238
|
||||
// (get) Token: 0x06007DB8 RID: 32184 RVA: 0x001A62BC File Offset: 0x001A44BC
|
||||
[Token(Token = "0x17001476")]
|
||||
public byte[] Content
|
||||
{
|
||||
[Token(Token = "0x6007DB8")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.content;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DB9 RID: 32185 RVA: 0x001A62D0 File Offset: 0x001A44D0
|
||||
[Token(Token = "0x6007DB9")]
|
||||
[Address(RVA = "0x518E70", Offset = "0x517870", VA = "0x180518E70", Slot = "4")]
|
||||
public PemObject Generate()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x04005A33 RID: 23091
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A33")]
|
||||
private string type;
|
||||
|
||||
// Token: 0x04005A34 RID: 23092
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A34")]
|
||||
private IList headers;
|
||||
|
||||
// Token: 0x04005A35 RID: 23093
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4005A35")]
|
||||
private byte[] content;
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001368 RID: 4968
|
||||
[Token(Token = "0x2001368")]
|
||||
[StructLayout(3)]
|
||||
public interface PemObjectGenerator
|
||||
{
|
||||
// Token: 0x06007DBA RID: 32186
|
||||
[Token(Token = "0x6007DBA")]
|
||||
[Address(Slot = "0")]
|
||||
PemObject Generate();
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001369 RID: 4969
|
||||
[Token(Token = "0x2001369")]
|
||||
[StructLayout(3)]
|
||||
public interface PemObjectParser
|
||||
{
|
||||
// Token: 0x06007DBB RID: 32187
|
||||
[Token(Token = "0x6007DBB")]
|
||||
[Address(Slot = "0")]
|
||||
object ParseObject(PemObject obj);
|
||||
}
|
||||
}
|
||||
+114
@@ -0,0 +1,114 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x0200136A RID: 4970
|
||||
[Token(Token = "0x200136A")]
|
||||
[StructLayout(3)]
|
||||
public class PemReader
|
||||
{
|
||||
// Token: 0x06007DBC RID: 32188 RVA: 0x001A62E0 File Offset: 0x001A44E0
|
||||
[Token(Token = "0x6007DBC")]
|
||||
[Address(RVA = "0x20322F0", Offset = "0x2030CF0", VA = "0x1820322F0")]
|
||||
public PemReader(TextReader reader)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007DBC)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemReader::.ctor(System.IO.TextReader)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_12:
|
||||
stloc:ArgumentNullException(var_0_1C, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("reader")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001477 RID: 5239
|
||||
// (get) Token: 0x06007DBD RID: 32189 RVA: 0x001A630C File Offset: 0x001A450C
|
||||
[Token(Token = "0x17001477")]
|
||||
public TextReader Reader
|
||||
{
|
||||
[Token(Token = "0x6007DBD")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.reader;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DBE RID: 32190 RVA: 0x001A6320 File Offset: 0x001A4520
|
||||
[Token(Token = "0x6007DBE")]
|
||||
[Address(RVA = "0x20321E0", Offset = "0x2030BE0", VA = "0x1820321E0")]
|
||||
public PemObject ReadPemObject()
|
||||
{
|
||||
string text = this.reader.ReadToEnd();
|
||||
if (text != 0 && Platform.StartsWith(text, "-----BEGIN "))
|
||||
{
|
||||
int num = 0;
|
||||
string text3;
|
||||
int num2;
|
||||
string text2 = text3.Substring(num, num2);
|
||||
if (num2 > 0)
|
||||
{
|
||||
return this.LoadObject(text2);
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DBF RID: 32191 RVA: 0x001A636C File Offset: 0x001A456C
|
||||
[Token(Token = "0x6007DBF")]
|
||||
[Address(RVA = "0x2031E10", Offset = "0x2030810", VA = "0x182031E10")]
|
||||
private PemObject LoadObject(string type)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007DBF)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemObject BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemReader::LoadObject(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_EE:
|
||||
stloc:IOException(var_19_F8, newobj:IOException(IOException::.ctor, ldstr:string("base64 data appears to be truncated")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04005A36 RID: 23094
|
||||
[Token(Token = "0x4005A36")]
|
||||
private const string BeginString = "-----BEGIN ";
|
||||
|
||||
// Token: 0x04005A37 RID: 23095
|
||||
[Token(Token = "0x4005A37")]
|
||||
private const string EndString = "-----END ";
|
||||
|
||||
// Token: 0x04005A38 RID: 23096
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A38")]
|
||||
private readonly TextReader reader;
|
||||
}
|
||||
}
|
||||
+233
@@ -0,0 +1,233 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x0200136B RID: 4971
|
||||
[Token(Token = "0x200136B")]
|
||||
[StructLayout(3)]
|
||||
public class PemWriter
|
||||
{
|
||||
// Token: 0x06007DC0 RID: 32192 RVA: 0x001A6474 File Offset: 0x001A4674
|
||||
[Token(Token = "0x6007DC0")]
|
||||
[Address(RVA = "0x2032E60", Offset = "0x2031860", VA = "0x182032E60")]
|
||||
public PemWriter(TextWriter writer)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007DC0)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemWriter::.ctor(System.IO.TextWriter)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_33:
|
||||
stloc:ArgumentNullException(var_2_3D, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("writer")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001478 RID: 5240
|
||||
// (get) Token: 0x06007DC1 RID: 32193 RVA: 0x001A64C0 File Offset: 0x001A46C0
|
||||
[Token(Token = "0x17001478")]
|
||||
public TextWriter Writer
|
||||
{
|
||||
[Token(Token = "0x6007DC1")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.writer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DC2 RID: 32194 RVA: 0x001A64D4 File Offset: 0x001A46D4
|
||||
[Token(Token = "0x6007DC2")]
|
||||
[Address(RVA = "0x2032370", Offset = "0x2030D70", VA = "0x182032370")]
|
||||
public int GetOutputSize(PemObject obj)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
string type = obj.type;
|
||||
IList headers = obj.headers;
|
||||
if (type <= 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
IList headers2 = obj.headers;
|
||||
int num3;
|
||||
if (type != 0)
|
||||
{
|
||||
if (num < type)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
ulong num2;
|
||||
num2 += (ulong)1L;
|
||||
if (type == 0)
|
||||
{
|
||||
goto IL_8C;
|
||||
}
|
||||
int stringLength = type.ToString().m_stringLength;
|
||||
num3 += this;
|
||||
num3 += stringLength;
|
||||
}
|
||||
if (num3 != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
int num4 = obj.content.Length;
|
||||
num4 += 2;
|
||||
throw new NullReferenceException();
|
||||
IL_8C:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DC3 RID: 32195 RVA: 0x001A6578 File Offset: 0x001A4778
|
||||
[Token(Token = "0x6007DC3")]
|
||||
[Address(RVA = "0x20327C0", Offset = "0x20311C0", VA = "0x1820327C0")]
|
||||
public void WriteObject(PemObjectGenerator objGen)
|
||||
{
|
||||
int num;
|
||||
int num2;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
string text;
|
||||
if (text <= 0)
|
||||
{
|
||||
goto IL_4A;
|
||||
}
|
||||
if (text != 0)
|
||||
{
|
||||
if (num < text)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (text == 0)
|
||||
{
|
||||
}
|
||||
if (text == 0)
|
||||
{
|
||||
goto IL_C3;
|
||||
}
|
||||
string text2 = text.ToString();
|
||||
}
|
||||
num2 = 0;
|
||||
int num3;
|
||||
if (num3 != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
TextWriter textWriter = this.writer;
|
||||
IL_4A:
|
||||
byte[] array;
|
||||
if (num2 < array.Length)
|
||||
{
|
||||
char[] array2 = this.buf;
|
||||
int length = array2.Length;
|
||||
if (num2 != length && 0 < array.Length)
|
||||
{
|
||||
byte b;
|
||||
array2[0] = (char)b;
|
||||
num2++;
|
||||
}
|
||||
char[] array3 = this.buf;
|
||||
}
|
||||
string text3 = "-----END " + num2 + "-----";
|
||||
return;
|
||||
IL_C3:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DC4 RID: 32196 RVA: 0x001A6650 File Offset: 0x001A4850
|
||||
[Token(Token = "0x6007DC4")]
|
||||
[Address(RVA = "0x20326D0", Offset = "0x20310D0", VA = "0x1820326D0")]
|
||||
private void WriteEncoded(byte[] bytes)
|
||||
{
|
||||
byte[] array = Base64.Encode(bytes);
|
||||
int num = 0;
|
||||
if (num < array.Length)
|
||||
{
|
||||
int num2 = 0;
|
||||
char[] array2 = this.buf;
|
||||
int length = array2.Length;
|
||||
if (num2 != length && 0 < array.Length)
|
||||
{
|
||||
num2++;
|
||||
byte b;
|
||||
array2[0] = (char)b;
|
||||
}
|
||||
this.writer.WriteLine(array2);
|
||||
char[] array3 = this.buf;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DC5 RID: 32197 RVA: 0x001A66C0 File Offset: 0x001A48C0
|
||||
[Token(Token = "0x6007DC5")]
|
||||
[Address(RVA = "0x2032DE0", Offset = "0x20317E0", VA = "0x182032DE0")]
|
||||
private void WritePreEncapsulationBoundary(string type)
|
||||
{
|
||||
TextWriter textWriter = this.writer;
|
||||
string text = "-----BEGIN " + type + "-----";
|
||||
Encoding encoding = textWriter.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x06007DC6 RID: 32198 RVA: 0x001A66F4 File Offset: 0x001A48F4
|
||||
[Token(Token = "0x6007DC6")]
|
||||
[Address(RVA = "0x2032D60", Offset = "0x2031760", VA = "0x182032D60")]
|
||||
private void WritePostEncapsulationBoundary(string type)
|
||||
{
|
||||
TextWriter textWriter = this.writer;
|
||||
string text = "-----END " + type + "-----";
|
||||
Encoding encoding = textWriter.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x04005A39 RID: 23097
|
||||
[Token(Token = "0x4005A39")]
|
||||
private const int LineLength = 64;
|
||||
|
||||
// Token: 0x04005A3A RID: 23098
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A3A")]
|
||||
private readonly TextWriter writer;
|
||||
|
||||
// Token: 0x04005A3B RID: 23099
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A3B")]
|
||||
private readonly int nlLength;
|
||||
|
||||
// Token: 0x04005A3C RID: 23100
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4005A3C")]
|
||||
private char[] buf;
|
||||
}
|
||||
}
|
||||
+83
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001360 RID: 4960
|
||||
[Token(Token = "0x2001360")]
|
||||
[StructLayout(3)]
|
||||
public class PushbackStream : FilterStream
|
||||
{
|
||||
// Token: 0x06007D91 RID: 32145 RVA: 0x001A5D30 File Offset: 0x001A3F30
|
||||
[Token(Token = "0x6007D91")]
|
||||
[Address(RVA = "0x2033AF0", Offset = "0x20324F0", VA = "0x182033AF0")]
|
||||
public PushbackStream(Stream s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x06007D92 RID: 32146 RVA: 0x001A5D5C File Offset: 0x001A3F5C
|
||||
[Token(Token = "0x6007D92")]
|
||||
[Address(RVA = "0x20339C0", Offset = "0x20323C0", VA = "0x1820339C0", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
int num = this.buf;
|
||||
if (num == -1)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
this.buf = (int)((ulong)4294967295L);
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06007D93 RID: 32147 RVA: 0x001A5D98 File Offset: 0x001A3F98
|
||||
[Token(Token = "0x6007D93")]
|
||||
[Address(RVA = "0x2033A00", Offset = "0x2032400", VA = "0x182033A00", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
if (this.buf != -1 && count > 0)
|
||||
{
|
||||
this.buf = (int)((ulong)4294967295L);
|
||||
return 1;
|
||||
}
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D94 RID: 32148 RVA: 0x001A5DD8 File Offset: 0x001A3FD8
|
||||
[Token(Token = "0x6007D94")]
|
||||
[Address(RVA = "0x2033A70", Offset = "0x2032470", VA = "0x182033A70", Slot = "31")]
|
||||
public virtual void Unread(int b)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D94)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.PushbackStream::Unread(System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_11:
|
||||
stloc:InvalidOperationException(var_0_1B, newobj:InvalidOperationException(InvalidOperationException::.ctor, ldstr:string("Can only push back one byte")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04005A2B RID: 23083
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4005A2B")]
|
||||
private int buf = (int)((ulong)4294967295L);
|
||||
}
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001361 RID: 4961
|
||||
[Token(Token = "0x2001361")]
|
||||
[Serializable]
|
||||
[StructLayout(3)]
|
||||
public class StreamOverflowException : IOException
|
||||
{
|
||||
// Token: 0x06007D95 RID: 32149 RVA: 0x001A5E00 File Offset: 0x001A4000
|
||||
[Token(Token = "0x6007D95")]
|
||||
[Address(RVA = "0x1C85220", Offset = "0x1C83C20", VA = "0x181C85220")]
|
||||
public StreamOverflowException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007D96 RID: 32150 RVA: 0x001A5E14 File Offset: 0x001A4014
|
||||
[Token(Token = "0x6007D96")]
|
||||
[Address(RVA = "0x47A3A0", Offset = "0x478DA0", VA = "0x18047A3A0")]
|
||||
public StreamOverflowException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007D97 RID: 32151 RVA: 0x001A5E28 File Offset: 0x001A4028
|
||||
[Token(Token = "0x6007D97")]
|
||||
[Address(RVA = "0x47A3B0", Offset = "0x478DB0", VA = "0x18047A3B0")]
|
||||
public StreamOverflowException(string message, Exception exception)
|
||||
: base(message, exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001362 RID: 4962
|
||||
[Token(Token = "0x2001362")]
|
||||
[StructLayout(3)]
|
||||
public sealed class Streams
|
||||
{
|
||||
// Token: 0x06007D98 RID: 32152 RVA: 0x001A5E40 File Offset: 0x001A4040
|
||||
[Token(Token = "0x6007D98")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Streams()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007D99 RID: 32153 RVA: 0x001A5E54 File Offset: 0x001A4054
|
||||
[Token(Token = "0x6007D99")]
|
||||
[Address(RVA = "0x2033D60", Offset = "0x2032760", VA = "0x182033D60")]
|
||||
public static void Drain(Stream inStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
}
|
||||
|
||||
// Token: 0x06007D9A RID: 32154 RVA: 0x001A5E74 File Offset: 0x001A4074
|
||||
[Token(Token = "0x6007D9A")]
|
||||
[Address(RVA = "0x2034140", Offset = "0x2032B40", VA = "0x182034140")]
|
||||
public static byte[] ReadAll(Stream inStr)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
byte[] array = new byte[512];
|
||||
int num = memoryStream.ReadByte();
|
||||
((IDisposable)memoryStream).Dispose();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D9B RID: 32155 RVA: 0x001A5EA4 File Offset: 0x001A40A4
|
||||
[Token(Token = "0x6007D9B")]
|
||||
[Address(RVA = "0x2033FD0", Offset = "0x20329D0", VA = "0x182033FD0")]
|
||||
public static byte[] ReadAllLimited(Stream inStr, int limit)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
byte[] array = new byte[512];
|
||||
int num = memoryStream.ReadByte();
|
||||
((IDisposable)memoryStream).Dispose();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D9C RID: 32156 RVA: 0x001A5ED8 File Offset: 0x001A40D8
|
||||
[Token(Token = "0x6007D9C")]
|
||||
[Address(RVA = "0x20342D0", Offset = "0x2032CD0", VA = "0x1820342D0")]
|
||||
public static int ReadFully(Stream inStr, byte[] buf)
|
||||
{
|
||||
int num = buf.Length;
|
||||
int num2 = 0;
|
||||
if (num > 0)
|
||||
{
|
||||
num -= num2;
|
||||
}
|
||||
return num2;
|
||||
}
|
||||
|
||||
// Token: 0x06007D9D RID: 32157 RVA: 0x001A5F00 File Offset: 0x001A4100
|
||||
[Token(Token = "0x6007D9D")]
|
||||
[Address(RVA = "0x2034240", Offset = "0x2032C40", VA = "0x182034240")]
|
||||
public static int ReadFully(Stream inStr, byte[] buf, int off, int len)
|
||||
{
|
||||
int num = 0;
|
||||
if (len > 0)
|
||||
{
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06007D9E RID: 32158 RVA: 0x001A5F1C File Offset: 0x001A411C
|
||||
[Token(Token = "0x6007D9E")]
|
||||
[Address(RVA = "0x2033F10", Offset = "0x2032910", VA = "0x182033F10")]
|
||||
public static void PipeAll(Stream inStr, Stream outStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06007D9F RID: 32159 RVA: 0x001A5F44 File Offset: 0x001A4144
|
||||
[Token(Token = "0x6007D9F")]
|
||||
[Address(RVA = "0x2033DF0", Offset = "0x20327F0", VA = "0x182033DF0")]
|
||||
public static long PipeAllLimited(Stream inStr, long limit, Stream outStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA0 RID: 32160 RVA: 0x001A5F6C File Offset: 0x001A416C
|
||||
[Token(Token = "0x6007DA0")]
|
||||
[Address(RVA = "0x2034350", Offset = "0x2032D50", VA = "0x182034350")]
|
||||
public static void WriteBufTo(MemoryStream buf, Stream output)
|
||||
{
|
||||
((IDisposable)buf).Dispose();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA1 RID: 32161 RVA: 0x001A5F88 File Offset: 0x001A4188
|
||||
[Token(Token = "0x6007DA1")]
|
||||
[Address(RVA = "0x2034380", Offset = "0x2032D80", VA = "0x182034380")]
|
||||
public static int WriteBufTo(MemoryStream buf, byte[] output, int offset)
|
||||
{
|
||||
bool canWrite = buf.CanWrite;
|
||||
ulong num;
|
||||
MemoryStream memoryStream = new MemoryStream(output, offset, canWrite ? 1 : 0, num != 0UL);
|
||||
byte[] array = buf.ToArray();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA2 RID: 32162 RVA: 0x001A5FB4 File Offset: 0x001A41B4
|
||||
[Token(Token = "0x6007DA2")]
|
||||
[Address(RVA = "0x2034450", Offset = "0x2032E50", VA = "0x182034450")]
|
||||
public static void WriteZeroes(Stream outStr, long count)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
int num2 = outStr.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x04005A2C RID: 23084
|
||||
[Token(Token = "0x4005A2C")]
|
||||
private const int BufferSize = 512;
|
||||
}
|
||||
}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001363 RID: 4963
|
||||
[Token(Token = "0x2001363")]
|
||||
[StructLayout(3)]
|
||||
public class TeeInputStream : BaseInputStream
|
||||
{
|
||||
// Token: 0x06007DA3 RID: 32163 RVA: 0x001A5FE0 File Offset: 0x001A41E0
|
||||
[Token(Token = "0x6007DA3")]
|
||||
[Address(RVA = "0x2034B70", Offset = "0x2033570", VA = "0x182034B70")]
|
||||
public TeeInputStream(Stream input, Stream tee)
|
||||
{
|
||||
this.input = input;
|
||||
this.tee = tee;
|
||||
}
|
||||
|
||||
// Token: 0x06007DA4 RID: 32164 RVA: 0x001A6004 File Offset: 0x001A4204
|
||||
[Token(Token = "0x6007DA4")]
|
||||
[Address(RVA = "0x20349E0", Offset = "0x20333E0", VA = "0x1820349E0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.input.WriteTimeout;
|
||||
int writeTimeout2 = this.tee.WriteTimeout;
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA5 RID: 32165 RVA: 0x001A603C File Offset: 0x001A423C
|
||||
[Token(Token = "0x6007DA5")]
|
||||
[Address(RVA = "0x2034AE0", Offset = "0x20334E0", VA = "0x182034AE0", Slot = "27")]
|
||||
public override int Read(byte[] buf, int off, int len)
|
||||
{
|
||||
Stream stream = this.input;
|
||||
int num = this.tee.ReadByte();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA6 RID: 32166 RVA: 0x001A6064 File Offset: 0x001A4264
|
||||
[Token(Token = "0x6007DA6")]
|
||||
[Address(RVA = "0x2034A80", Offset = "0x2033480", VA = "0x182034A80", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
Stream stream = this.input;
|
||||
Stream stream2 = this.tee;
|
||||
int num;
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x04005A2D RID: 23085
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4005A2D")]
|
||||
private readonly Stream input;
|
||||
|
||||
// Token: 0x04005A2E RID: 23086
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4005A2E")]
|
||||
private readonly Stream tee;
|
||||
}
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001364 RID: 4964
|
||||
[Token(Token = "0x2001364")]
|
||||
[StructLayout(3)]
|
||||
public class TeeOutputStream : BaseOutputStream
|
||||
{
|
||||
// Token: 0x06007DA7 RID: 32167 RVA: 0x001A6088 File Offset: 0x001A4288
|
||||
[Token(Token = "0x6007DA7")]
|
||||
[Address(RVA = "0x2034D80", Offset = "0x2033780", VA = "0x182034D80")]
|
||||
public TeeOutputStream(Stream output, Stream tee)
|
||||
{
|
||||
this.output = output;
|
||||
this.tee = tee;
|
||||
}
|
||||
|
||||
// Token: 0x06007DA8 RID: 32168 RVA: 0x001A60AC File Offset: 0x001A42AC
|
||||
[Token(Token = "0x6007DA8")]
|
||||
[Address(RVA = "0x2034BF0", Offset = "0x20335F0", VA = "0x182034BF0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.output.WriteTimeout;
|
||||
int writeTimeout2 = this.tee.WriteTimeout;
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA9 RID: 32169 RVA: 0x001A60E4 File Offset: 0x001A42E4
|
||||
[Token(Token = "0x6007DA9")]
|
||||
[Address(RVA = "0x2034CF0", Offset = "0x20336F0", VA = "0x182034CF0", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
int num = this.output.ReadByte();
|
||||
bool canRead = this.tee.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007DAA RID: 32170 RVA: 0x001A6110 File Offset: 0x001A4310
|
||||
[Token(Token = "0x6007DAA")]
|
||||
[Address(RVA = "0x2034C90", Offset = "0x2033690", VA = "0x182034C90", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
Stream stream = this.output;
|
||||
bool canRead = this.tee.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x04005A2F RID: 23087
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4005A2F")]
|
||||
private readonly Stream output;
|
||||
|
||||
// Token: 0x04005A30 RID: 23088
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4005A30")]
|
||||
private readonly Stream tee;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001347 RID: 4935
|
||||
[Token(Token = "0x2001347")]
|
||||
[StructLayout(3)]
|
||||
public abstract class Integers
|
||||
{
|
||||
// Token: 0x06007C74 RID: 31860 RVA: 0x0019E680 File Offset: 0x0019C880
|
||||
[Token(Token = "0x6007C74")]
|
||||
[Address(RVA = "0x2031910", Offset = "0x2030310", VA = "0x182031910")]
|
||||
public static int RotateLeft(int i, int distance)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x06007C75 RID: 31861 RVA: 0x0019E690 File Offset: 0x0019C890
|
||||
[Token(Token = "0x6007C75")]
|
||||
[Address(RVA = "0x2031910", Offset = "0x2030310", VA = "0x182031910")]
|
||||
[CLSCompliant(false)]
|
||||
public static uint RotateLeft(uint i, int distance)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x06007C76 RID: 31862 RVA: 0x0019E6A0 File Offset: 0x0019C8A0
|
||||
[Token(Token = "0x6007C76")]
|
||||
[Address(RVA = "0x2031930", Offset = "0x2030330", VA = "0x182031930")]
|
||||
public static int RotateRight(int i, int distance)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x06007C77 RID: 31863 RVA: 0x0019E6B0 File Offset: 0x0019C8B0
|
||||
[Token(Token = "0x6007C77")]
|
||||
[Address(RVA = "0x2031930", Offset = "0x2030330", VA = "0x182031930")]
|
||||
[CLSCompliant(false)]
|
||||
public static uint RotateRight(uint i, int distance)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x06007C78 RID: 31864 RVA: 0x0019E6C0 File Offset: 0x0019C8C0
|
||||
[Token(Token = "0x6007C78")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected Integers()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001348 RID: 4936
|
||||
[Token(Token = "0x2001348")]
|
||||
[StructLayout(3)]
|
||||
public class MemoableResetException : InvalidCastException
|
||||
{
|
||||
// Token: 0x06007C79 RID: 31865 RVA: 0x0019E6D4 File Offset: 0x0019C8D4
|
||||
[Token(Token = "0x6007C79")]
|
||||
[Address(RVA = "0x2031980", Offset = "0x2030380", VA = "0x182031980")]
|
||||
public MemoableResetException(string msg)
|
||||
: base(msg)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,240 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Net
|
||||
{
|
||||
// Token: 0x0200135B RID: 4955
|
||||
[Token(Token = "0x200135B")]
|
||||
[StructLayout(3)]
|
||||
public class IPAddress
|
||||
{
|
||||
// Token: 0x06007D59 RID: 32089 RVA: 0x001A55E4 File Offset: 0x001A37E4
|
||||
[Token(Token = "0x6007D59")]
|
||||
[Address(RVA = "0x202BFA0", Offset = "0x202A9A0", VA = "0x18202BFA0")]
|
||||
public static bool IsValid(string address)
|
||||
{
|
||||
return IPAddress.IsValidIPv4(address) || IPAddress.IsValidIPv6(address);
|
||||
}
|
||||
|
||||
// Token: 0x06007D5A RID: 32090 RVA: 0x001A5604 File Offset: 0x001A3804
|
||||
[Token(Token = "0x6007D5A")]
|
||||
[Address(RVA = "0x202BE80", Offset = "0x202A880", VA = "0x18202BE80")]
|
||||
public static bool IsValidWithNetMask(string address)
|
||||
{
|
||||
int num2;
|
||||
int num = num2 + 1;
|
||||
string text = address.Substring(num);
|
||||
if (num2 > 0)
|
||||
{
|
||||
int num3 = 0;
|
||||
if (IPAddress.IsValidIPv4(address.Substring(num3, num2)) && (IPAddress.IsValidIPv4(text) || IPAddress.IsMaskValue(text, 32)))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
int num4;
|
||||
num2 = num4;
|
||||
int num5 = num4 + 1;
|
||||
string text2 = address.Substring(num5);
|
||||
if (num2 > 0)
|
||||
{
|
||||
int num6 = 0;
|
||||
if (!IPAddress.IsValidIPv6(address.Substring(num6, num2)))
|
||||
{
|
||||
}
|
||||
}
|
||||
IL_66:
|
||||
bool flag;
|
||||
while (flag)
|
||||
{
|
||||
}
|
||||
bool flag2;
|
||||
return flag2;
|
||||
goto IL_66;
|
||||
}
|
||||
|
||||
// Token: 0x06007D5B RID: 32091 RVA: 0x001A5684 File Offset: 0x001A3884
|
||||
[Token(Token = "0x6007D5B")]
|
||||
[Address(RVA = "0x202BC40", Offset = "0x202A640", VA = "0x18202BC40")]
|
||||
public static bool IsValidIPv4(string address)
|
||||
{
|
||||
if (address.m_stringLength != 0)
|
||||
{
|
||||
int num = 0;
|
||||
string text = address + ".";
|
||||
if (num < text.m_stringLength)
|
||||
{
|
||||
uint num3;
|
||||
int num2 = text.IndexOf((char)num3, num);
|
||||
if (num2 > num && num != 4)
|
||||
{
|
||||
num2 -= num;
|
||||
if (int.Parse(text.Substring(num, num2)) <= 255)
|
||||
{
|
||||
num++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D5C RID: 32092 RVA: 0x001A56EC File Offset: 0x001A38EC
|
||||
[Token(Token = "0x6007D5C")]
|
||||
[Address(RVA = "0x202BFD0", Offset = "0x202A9D0", VA = "0x18202BFD0")]
|
||||
private static bool unsafeIsValidIPv4(string address)
|
||||
{
|
||||
if (address.m_stringLength != 0)
|
||||
{
|
||||
int num = 0;
|
||||
string text = address + ".";
|
||||
if (num < text.m_stringLength)
|
||||
{
|
||||
uint num3;
|
||||
int num2 = text.IndexOf((char)num3, num);
|
||||
if (num2 > num)
|
||||
{
|
||||
if (num == 4)
|
||||
{
|
||||
goto IL_52;
|
||||
}
|
||||
num2 -= num;
|
||||
if (int.Parse(text.Substring(num, num2)) > 255)
|
||||
{
|
||||
goto IL_52;
|
||||
}
|
||||
num++;
|
||||
}
|
||||
}
|
||||
return num == 4;
|
||||
}
|
||||
IL_52:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D5D RID: 32093 RVA: 0x001A5750 File Offset: 0x001A3950
|
||||
[Token(Token = "0x6007D5D")]
|
||||
[Address(RVA = "0x202BB80", Offset = "0x202A580", VA = "0x18202BB80")]
|
||||
public static bool IsValidIPv4WithNetmask(string address)
|
||||
{
|
||||
int num2;
|
||||
int num = num2 + 1;
|
||||
string text = address.Substring(num);
|
||||
if (num2 > 0)
|
||||
{
|
||||
int num3 = 0;
|
||||
if (IPAddress.IsValidIPv4(address.Substring(num3, num2)))
|
||||
{
|
||||
return IPAddress.IsValidIPv4(text) || IPAddress.IsMaskValue(text, 32);
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D5E RID: 32094 RVA: 0x001A579C File Offset: 0x001A399C
|
||||
[Token(Token = "0x6007D5E")]
|
||||
[Address(RVA = "0x202BD60", Offset = "0x202A760", VA = "0x18202BD60")]
|
||||
public static bool IsValidIPv6WithNetmask(string address)
|
||||
{
|
||||
int num2;
|
||||
int num = num2 + 1;
|
||||
string text = address.Substring(num);
|
||||
if (num2 > 0)
|
||||
{
|
||||
int num3 = 0;
|
||||
if (!IPAddress.IsValidIPv6(address.Substring(num3, num2)))
|
||||
{
|
||||
}
|
||||
}
|
||||
bool flag;
|
||||
bool flag2;
|
||||
return flag || flag2;
|
||||
}
|
||||
|
||||
// Token: 0x06007D5F RID: 32095 RVA: 0x001A57E0 File Offset: 0x001A39E0
|
||||
[Token(Token = "0x6007D5F")]
|
||||
[Address(RVA = "0x202BB00", Offset = "0x202A500", VA = "0x18202BB00")]
|
||||
private static bool IsMaskValue(string component, int size)
|
||||
{
|
||||
return int.Parse(component) <= size;
|
||||
}
|
||||
|
||||
// Token: 0x06007D60 RID: 32096 RVA: 0x001A57FC File Offset: 0x001A39FC
|
||||
[Token(Token = "0x6007D60")]
|
||||
[Address(RVA = "0x202BE20", Offset = "0x202A820", VA = "0x18202BE20")]
|
||||
public static bool IsValidIPv6(string address)
|
||||
{
|
||||
return IPAddress.unsafeIsValidIPv6(address);
|
||||
}
|
||||
|
||||
// Token: 0x06007D61 RID: 32097 RVA: 0x001A5814 File Offset: 0x001A3A14
|
||||
[Token(Token = "0x6007D61")]
|
||||
[Address(RVA = "0x202C0B0", Offset = "0x202AAB0", VA = "0x18202C0B0")]
|
||||
private static bool unsafeIsValidIPv6(string address)
|
||||
{
|
||||
if (address.m_stringLength != 0)
|
||||
{
|
||||
int num = 0;
|
||||
string text = address + ":";
|
||||
int num2 = 0;
|
||||
if (num < text.m_stringLength)
|
||||
{
|
||||
uint num4;
|
||||
int num3 = text.IndexOf((char)num4, num);
|
||||
if (num == 8)
|
||||
{
|
||||
goto IL_C2;
|
||||
}
|
||||
int num5;
|
||||
if (num == num3)
|
||||
{
|
||||
if (num3 != 1)
|
||||
{
|
||||
int stringLength = text.m_stringLength;
|
||||
}
|
||||
if (num != num2)
|
||||
{
|
||||
goto IL_C2;
|
||||
}
|
||||
num5 = num3 + 1;
|
||||
num = num5;
|
||||
num++;
|
||||
}
|
||||
num3 -= num5;
|
||||
string text2 = text.Substring(num5, num3);
|
||||
int stringLength2 = text.m_stringLength;
|
||||
uint num6;
|
||||
int num7;
|
||||
if (num3 == stringLength2 && text2.IndexOf((char)num6) > 0)
|
||||
{
|
||||
if (!IPAddress.IsValidIPv4(text2))
|
||||
{
|
||||
goto IL_C2;
|
||||
}
|
||||
num++;
|
||||
num7 = num3 + 1;
|
||||
num++;
|
||||
}
|
||||
string text3 = text.Substring(num7, num3);
|
||||
int num8;
|
||||
if (num8 > 65535)
|
||||
{
|
||||
goto IL_C2;
|
||||
}
|
||||
num++;
|
||||
}
|
||||
return num != 8;
|
||||
}
|
||||
IL_C2:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D62 RID: 32098 RVA: 0x001A58E8 File Offset: 0x001A3AE8
|
||||
[Token(Token = "0x6007D62")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public IPAddress()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,376 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001349 RID: 4937
|
||||
[Token(Token = "0x2001349")]
|
||||
[StructLayout(3)]
|
||||
internal abstract class Platform
|
||||
{
|
||||
// Token: 0x06007C7A RID: 31866 RVA: 0x0019E6E8 File Offset: 0x0019C8E8
|
||||
[Token(Token = "0x6007C7A")]
|
||||
[Address(RVA = "0x2033610", Offset = "0x2032010", VA = "0x182033610")]
|
||||
private static string GetNewLine()
|
||||
{
|
||||
return Environment.NewLine;
|
||||
}
|
||||
|
||||
// Token: 0x06007C7B RID: 31867 RVA: 0x0019E6FC File Offset: 0x0019C8FC
|
||||
[Token(Token = "0x6007C7B")]
|
||||
[Address(RVA = "0x20334A0", Offset = "0x2031EA0", VA = "0x1820334A0")]
|
||||
internal static bool EqualsIgnoreCase(string a, string b)
|
||||
{
|
||||
CultureInfo invariantCulture = CultureInfo.InvariantCulture;
|
||||
string text = a.ToUpper(invariantCulture);
|
||||
CultureInfo invariantCulture2 = CultureInfo.InvariantCulture;
|
||||
string text2 = b.ToUpper(invariantCulture2);
|
||||
return string.Equals(text, text2);
|
||||
}
|
||||
|
||||
// Token: 0x06007C7C RID: 31868 RVA: 0x0019E73C File Offset: 0x0019C93C
|
||||
[Token(Token = "0x6007C7C")]
|
||||
[Address(RVA = "0x20335B0", Offset = "0x2031FB0", VA = "0x1820335B0")]
|
||||
internal static string GetEnvironmentVariable(string variable)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C7C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::GetEnvironmentVariable(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:string(var_0_06, call:string(Environment::GetEnvironmentVariable, ldloc:string(variable)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C7D RID: 31869 RVA: 0x0019E754 File Offset: 0x0019C954
|
||||
[Token(Token = "0x6007C7D")]
|
||||
[Address(RVA = "0x2033340", Offset = "0x2031D40", VA = "0x182033340")]
|
||||
internal static Exception CreateNotImplementedException(string message)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C7D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Exception BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateNotImplementedException(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotImplementedException(var_0_06, newobj:NotImplementedException(NotImplementedException::.ctor, ldloc:string(message)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C7E RID: 31870 RVA: 0x0019E768 File Offset: 0x0019C968
|
||||
[Token(Token = "0x6007C7E")]
|
||||
[Address(RVA = "0x20331E0", Offset = "0x2031BE0", VA = "0x1820331E0")]
|
||||
internal static IList CreateArrayList()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C7E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateArrayList()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:ArrayList(var_0_05, newobj:ArrayList(ArrayList::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C7F RID: 31871 RVA: 0x0019E77C File Offset: 0x0019C97C
|
||||
[Token(Token = "0x6007C7F")]
|
||||
[Address(RVA = "0x2032FA0", Offset = "0x20319A0", VA = "0x182032FA0")]
|
||||
internal static IList CreateArrayList(int capacity)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C7F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateArrayList(System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:ArrayList(var_0_06, newobj:ArrayList(ArrayList::.ctor, ldloc:int32(capacity)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C80 RID: 31872 RVA: 0x0019E790 File Offset: 0x0019C990
|
||||
[Token(Token = "0x6007C80")]
|
||||
[Address(RVA = "0x2032F40", Offset = "0x2031940", VA = "0x182032F40")]
|
||||
internal static IList CreateArrayList(ICollection collection)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C80)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateArrayList(System.Collections.ICollection)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:ArrayList(var_0_06, newobj:ArrayList(ArrayList::.ctor, ldloc:ICollection(collection)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C81 RID: 31873 RVA: 0x0019E7A4 File Offset: 0x0019C9A4
|
||||
[Token(Token = "0x6007C81")]
|
||||
[Address(RVA = "0x2033000", Offset = "0x2031A00", VA = "0x182033000")]
|
||||
internal static IList CreateArrayList(IEnumerable collection)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
ArrayList arrayList = new ArrayList();
|
||||
if (arrayList != 0)
|
||||
{
|
||||
if (num < arrayList)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
num += num;
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C82 RID: 31874 RVA: 0x0019E7E8 File Offset: 0x0019C9E8
|
||||
[Token(Token = "0x6007C82")]
|
||||
[Address(RVA = "0x20332F0", Offset = "0x2031CF0", VA = "0x1820332F0")]
|
||||
internal static IDictionary CreateHashtable()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C82)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateHashtable()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Hashtable(var_0_05, newobj:Hashtable(Hashtable::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C83 RID: 31875 RVA: 0x0019E7FC File Offset: 0x0019C9FC
|
||||
[Token(Token = "0x6007C83")]
|
||||
[Address(RVA = "0x2033290", Offset = "0x2031C90", VA = "0x182033290")]
|
||||
internal static IDictionary CreateHashtable(int capacity)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C83)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateHashtable(System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Hashtable(var_0_06, newobj:Hashtable(Hashtable::.ctor, ldloc:int32(capacity)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C84 RID: 31876 RVA: 0x0019E810 File Offset: 0x0019CA10
|
||||
[Token(Token = "0x6007C84")]
|
||||
[Address(RVA = "0x2033230", Offset = "0x2031C30", VA = "0x182033230")]
|
||||
internal static IDictionary CreateHashtable(IDictionary dictionary)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C84)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateHashtable(System.Collections.IDictionary)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Hashtable(var_0_06, newobj:Hashtable(Hashtable::.ctor, ldloc:IDictionary(dictionary)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C85 RID: 31877 RVA: 0x0019E824 File Offset: 0x0019CA24
|
||||
[Token(Token = "0x6007C85")]
|
||||
[Address(RVA = "0x2033840", Offset = "0x2032240", VA = "0x182033840")]
|
||||
internal static string ToLowerInvariant(string s)
|
||||
{
|
||||
CultureInfo invariantCulture = CultureInfo.InvariantCulture;
|
||||
return s.ToLower(invariantCulture);
|
||||
}
|
||||
|
||||
// Token: 0x06007C86 RID: 31878 RVA: 0x0019E848 File Offset: 0x0019CA48
|
||||
[Token(Token = "0x6007C86")]
|
||||
[Address(RVA = "0x20338B0", Offset = "0x20322B0", VA = "0x1820338B0")]
|
||||
internal static string ToUpperInvariant(string s)
|
||||
{
|
||||
CultureInfo invariantCulture = CultureInfo.InvariantCulture;
|
||||
return s.ToUpper(invariantCulture);
|
||||
}
|
||||
|
||||
// Token: 0x06007C87 RID: 31879 RVA: 0x0019E86C File Offset: 0x0019CA6C
|
||||
[Token(Token = "0x6007C87")]
|
||||
[Address(RVA = "0x20333A0", Offset = "0x2031DA0", VA = "0x1820333A0")]
|
||||
internal static void Dispose(Stream s)
|
||||
{
|
||||
bool canRead = s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007C88 RID: 31880 RVA: 0x0019E888 File Offset: 0x0019CA88
|
||||
[Token(Token = "0x6007C88")]
|
||||
[Address(RVA = "0x20333D0", Offset = "0x2031DD0", VA = "0x1820333D0")]
|
||||
internal static void Dispose(TextWriter t)
|
||||
{
|
||||
Encoding encoding = t.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x06007C89 RID: 31881 RVA: 0x0019E8A4 File Offset: 0x0019CAA4
|
||||
[Token(Token = "0x6007C89")]
|
||||
[Address(RVA = "0x2033660", Offset = "0x2032060", VA = "0x182033660")]
|
||||
internal static int IndexOf(string source, string value)
|
||||
{
|
||||
bool flag = Platform.InvariantCompareInfo.IsSuffix(source, value, (CompareOptions)((uint)1073741824));
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C8A RID: 31882 RVA: 0x0019E8CC File Offset: 0x0019CACC
|
||||
[Token(Token = "0x6007C8A")]
|
||||
[Address(RVA = "0x2033700", Offset = "0x2032100", VA = "0x182033700")]
|
||||
internal static int LastIndexOf(string source, string value)
|
||||
{
|
||||
CompareInfo invariantCompareInfo = Platform.InvariantCompareInfo;
|
||||
int num;
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06007C8B RID: 31883 RVA: 0x0019E8E8 File Offset: 0x0019CAE8
|
||||
[Token(Token = "0x6007C8B")]
|
||||
[Address(RVA = "0x20337A0", Offset = "0x20321A0", VA = "0x1820337A0")]
|
||||
internal static bool StartsWith(string source, string prefix)
|
||||
{
|
||||
CompareInfo invariantCompareInfo = Platform.InvariantCompareInfo;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C8C RID: 31884 RVA: 0x0019E900 File Offset: 0x0019CB00
|
||||
[Token(Token = "0x6007C8C")]
|
||||
[Address(RVA = "0x2033400", Offset = "0x2031E00", VA = "0x182033400")]
|
||||
internal static bool EndsWith(string source, string suffix)
|
||||
{
|
||||
return Platform.InvariantCompareInfo.IsPrefix(source, suffix, (CompareOptions)((uint)1073741824));
|
||||
}
|
||||
|
||||
// Token: 0x06007C8D RID: 31885 RVA: 0x0019E928 File Offset: 0x0019CB28
|
||||
[Token(Token = "0x6007C8D")]
|
||||
[Address(RVA = "0x2033620", Offset = "0x2032020", VA = "0x182033620")]
|
||||
internal static string GetTypeName(object obj)
|
||||
{
|
||||
Guid guid = obj.GetType().GUID;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C8E RID: 31886 RVA: 0x0019E948 File Offset: 0x0019CB48
|
||||
[Token(Token = "0x6007C8E")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected Platform()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007C8F RID: 31887 RVA: 0x0019E95C File Offset: 0x0019CB5C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007C8F")]
|
||||
[Address(RVA = "0x2033920", Offset = "0x2032320", VA = "0x182033920")]
|
||||
static Platform()
|
||||
{
|
||||
object obj = CultureInfo.InvariantCulture.Clone();
|
||||
Platform.InvariantCompareInfo = obj;
|
||||
Platform.NewLine = Environment.NewLine;
|
||||
}
|
||||
|
||||
// Token: 0x040058A4 RID: 22692
|
||||
[Token(Token = "0x40058A4")]
|
||||
private static readonly CompareInfo InvariantCompareInfo;
|
||||
|
||||
// Token: 0x040058A5 RID: 22693
|
||||
[Token(Token = "0x40058A5")]
|
||||
internal static readonly string NewLine;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x0200134A RID: 4938
|
||||
[Token(Token = "0x200134A")]
|
||||
[StructLayout(3)]
|
||||
public abstract class Strings
|
||||
{
|
||||
// Token: 0x06007C90 RID: 31888 RVA: 0x0019E990 File Offset: 0x0019CB90
|
||||
[Token(Token = "0x6007C90")]
|
||||
[Address(RVA = "0x20346C0", Offset = "0x20330C0", VA = "0x1820346C0")]
|
||||
internal static bool IsOneOf(string s, params string[] candidates)
|
||||
{
|
||||
int num = 0;
|
||||
int length = candidates.Length;
|
||||
if (num < length)
|
||||
{
|
||||
string text = candidates[num];
|
||||
if (!string.Equals(s, text))
|
||||
{
|
||||
num++;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C91 RID: 31889 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007C91")]
|
||||
[Address(RVA = "0x2034570", Offset = "0x2032F70", VA = "0x182034570")]
|
||||
public static string FromByteArray(byte[] bs)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007C92 RID: 31890 RVA: 0x0019E9CC File Offset: 0x0019CBCC
|
||||
[Token(Token = "0x6007C92")]
|
||||
[Address(RVA = "0x20347D0", Offset = "0x20331D0", VA = "0x1820347D0")]
|
||||
public static byte[] ToByteArray(char[] cs)
|
||||
{
|
||||
byte[] array = new byte[cs.Length];
|
||||
int num = 0;
|
||||
if (num < array.Length)
|
||||
{
|
||||
byte b = Convert.ToByte(cs[num]);
|
||||
num++;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C93 RID: 31891 RVA: 0x0019EA08 File Offset: 0x0019CC08
|
||||
[Token(Token = "0x6007C93")]
|
||||
[Address(RVA = "0x20348C0", Offset = "0x20332C0", VA = "0x1820348C0")]
|
||||
public static byte[] ToByteArray(string s)
|
||||
{
|
||||
byte[] array = new byte[s.m_stringLength];
|
||||
int num = 0;
|
||||
if (num < array.Length)
|
||||
{
|
||||
byte b = Convert.ToByte(s[num]);
|
||||
num++;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x06007C94 RID: 31892 RVA: 0x0019EA44 File Offset: 0x0019CC44
|
||||
[Token(Token = "0x6007C94")]
|
||||
[Address(RVA = "0x2034520", Offset = "0x2032F20", VA = "0x182034520")]
|
||||
public static string FromAsciiByteArray(byte[] bytes)
|
||||
{
|
||||
return Encoding.ASCII.GetString(bytes);
|
||||
}
|
||||
|
||||
// Token: 0x06007C95 RID: 31893 RVA: 0x0019EA64 File Offset: 0x0019CC64
|
||||
[Token(Token = "0x6007C95")]
|
||||
[Address(RVA = "0x2034750", Offset = "0x2033150", VA = "0x182034750")]
|
||||
public static byte[] ToAsciiByteArray(char[] cs)
|
||||
{
|
||||
Encoding ascii = Encoding.ASCII;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C96 RID: 31894 RVA: 0x0019EA80 File Offset: 0x0019CC80
|
||||
[Token(Token = "0x6007C96")]
|
||||
[Address(RVA = "0x2034790", Offset = "0x2033190", VA = "0x182034790")]
|
||||
public static byte[] ToAsciiByteArray(string s)
|
||||
{
|
||||
Encoding ascii = Encoding.ASCII;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C97 RID: 31895 RVA: 0x0019EA9C File Offset: 0x0019CC9C
|
||||
[Token(Token = "0x6007C97")]
|
||||
[Address(RVA = "0x2034670", Offset = "0x2033070", VA = "0x182034670")]
|
||||
public static string FromUtf8ByteArray(byte[] bytes)
|
||||
{
|
||||
return Encoding.UTF8.GetString(bytes);
|
||||
}
|
||||
|
||||
// Token: 0x06007C98 RID: 31896 RVA: 0x0019EABC File Offset: 0x0019CCBC
|
||||
[Token(Token = "0x6007C98")]
|
||||
[Address(RVA = "0x20349A0", Offset = "0x20333A0", VA = "0x1820349A0")]
|
||||
public static byte[] ToUtf8ByteArray(char[] cs)
|
||||
{
|
||||
Encoding utf = Encoding.UTF8;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C99 RID: 31897 RVA: 0x0019EAD8 File Offset: 0x0019CCD8
|
||||
[Token(Token = "0x6007C99")]
|
||||
[Address(RVA = "0xE61020", Offset = "0xE5FA20", VA = "0x180E61020")]
|
||||
public static byte[] ToUtf8ByteArray(string s)
|
||||
{
|
||||
Encoding utf = Encoding.UTF8;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C9A RID: 31898 RVA: 0x0019EAF4 File Offset: 0x0019CCF4
|
||||
[Token(Token = "0x6007C9A")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected Strings()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x0200134B RID: 4939
|
||||
[Token(Token = "0x200134B")]
|
||||
[StructLayout(3)]
|
||||
public sealed class Times
|
||||
{
|
||||
// Token: 0x06007C9B RID: 31899 RVA: 0x0019EB08 File Offset: 0x0019CD08
|
||||
[Token(Token = "0x6007C9B")]
|
||||
[Address(RVA = "0x2034E00", Offset = "0x2033800", VA = "0x182034E00")]
|
||||
public static long NanoTime()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007C9B)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times::NanoTime()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:DateTime(var_2_07, callgetter:DateTime(DateTime::get_UtcNow))
|
||||
stloc:DateTime(var_3_0B, mul:DateTime(ldloc:DateTime(var_2_07), ldloc:DateTime(var_2_07)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007C9C RID: 31900 RVA: 0x0019EB20 File Offset: 0x0019CD20
|
||||
[Token(Token = "0x6007C9C")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public Times()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040058A6 RID: 22694
|
||||
[Token(Token = "0x40058A6")]
|
||||
private static long NanosecondsPerTick;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x0200134C RID: 4940
|
||||
[Token(Token = "0x200134C")]
|
||||
[StructLayout(3)]
|
||||
internal sealed class Adler32
|
||||
{
|
||||
// Token: 0x06007C9E RID: 31902 RVA: 0x0019EB44 File Offset: 0x0019CD44
|
||||
[Token(Token = "0x6007C9E")]
|
||||
[Address(RVA = "0x2023640", Offset = "0x2022040", VA = "0x182023640")]
|
||||
internal long adler32(long adler, byte[] buf, int index, int len)
|
||||
{
|
||||
if (buf != 0)
|
||||
{
|
||||
int length = buf.Length;
|
||||
int num = index + 1;
|
||||
byte b = buf[num];
|
||||
byte b2 = buf[(int)b];
|
||||
byte b3 = buf[(int)b2];
|
||||
byte b4 = buf[(int)b3];
|
||||
byte b5 = buf[(int)b4];
|
||||
byte b6 = buf[index];
|
||||
byte b7 = buf[(int)b6];
|
||||
byte b8 = buf[index];
|
||||
byte b9 = buf[(int)b8];
|
||||
byte b10 = buf[(int)b9];
|
||||
byte b11 = buf[index];
|
||||
byte b12 = buf[index];
|
||||
byte b14;
|
||||
byte b13 = buf[(int)b14];
|
||||
byte b15 = b13 + 1;
|
||||
b13 = (byte)((long)b13 + adler);
|
||||
b13 = (byte)((long)b13 + adler);
|
||||
b13 = (byte)((long)b13 + adler);
|
||||
b13 = (byte)((long)b13 + adler);
|
||||
b13 = (byte)((long)b13 + adler);
|
||||
b13 = (byte)((long)b13 + adler);
|
||||
int length2 = buf.Length;
|
||||
ulong num2;
|
||||
num2 += num2;
|
||||
long num3 = (long)(num2 * (ulong)65521L);
|
||||
ulong num4;
|
||||
num4 += num4;
|
||||
long num5 = (long)(num4 * (ulong)65521L);
|
||||
return adler;
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
|
||||
// Token: 0x06007C9F RID: 31903 RVA: 0x0019EC48 File Offset: 0x0019CE48
|
||||
[Token(Token = "0x6007C9F")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public Adler32()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040058A7 RID: 22695
|
||||
[Token(Token = "0x40058A7")]
|
||||
private const int BASE = 65521;
|
||||
|
||||
// Token: 0x040058A8 RID: 22696
|
||||
[Token(Token = "0x40058A8")]
|
||||
private const int NMAX = 5552;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2213 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x0200134D RID: 4941
|
||||
[Token(Token = "0x200134D")]
|
||||
[StructLayout(3)]
|
||||
public sealed class Deflate
|
||||
{
|
||||
// Token: 0x06007CA0 RID: 31904 RVA: 0x0019EC5C File Offset: 0x0019CE5C
|
||||
[Token(Token = "0x6007CA0")]
|
||||
[Address(RVA = "0x20254C0", Offset = "0x2023EC0", VA = "0x1820254C0")]
|
||||
static Deflate()
|
||||
{
|
||||
string[] array = new string[10];
|
||||
if ("need dictionary" != 0)
|
||||
{
|
||||
}
|
||||
array[0] = "need dictionary";
|
||||
if ("stream end" != 0)
|
||||
{
|
||||
}
|
||||
array[1] = "stream end";
|
||||
if ("" != 0)
|
||||
{
|
||||
}
|
||||
array[2] = "";
|
||||
if ("file error" != 0)
|
||||
{
|
||||
}
|
||||
array[3] = "file error";
|
||||
if ("stream error" != 0)
|
||||
{
|
||||
}
|
||||
array[4] = "stream error";
|
||||
if ("data error" != 0)
|
||||
{
|
||||
}
|
||||
array[5] = "data error";
|
||||
if ("insufficient memory" != 0)
|
||||
{
|
||||
}
|
||||
array[6] = "insufficient memory";
|
||||
if ("buffer error" != 0)
|
||||
{
|
||||
}
|
||||
array[7] = "buffer error";
|
||||
if ("incompatible version" != 0)
|
||||
{
|
||||
}
|
||||
array[8] = "incompatible version";
|
||||
if ("" != 0)
|
||||
{
|
||||
}
|
||||
array[9] = "";
|
||||
Deflate.z_errmsg = array;
|
||||
Deflate.config_table = new Deflate.Config[10];
|
||||
Deflate.Config[] array2 = Deflate.config_table;
|
||||
int num = 0;
|
||||
Deflate.Config config;
|
||||
config.good_length = num;
|
||||
config.nice_length = num;
|
||||
config.func = num;
|
||||
array2[0] = config;
|
||||
Deflate.Config[] array3 = Deflate.config_table;
|
||||
Deflate.Config config2;
|
||||
config2.good_length = (int)((ulong)4L);
|
||||
config2.max_lazy = (int)((ulong)4L);
|
||||
config2.nice_length = (int)((ulong)8L);
|
||||
config2.max_chain = (int)((ulong)4L);
|
||||
config2.func = (int)((ulong)1L);
|
||||
array3[1] = config2;
|
||||
Deflate.Config[] array4 = Deflate.config_table;
|
||||
Deflate.Config config3;
|
||||
config3.good_length = (int)((ulong)4L);
|
||||
config3.max_lazy = (int)((ulong)5L);
|
||||
config3.nice_length = (int)((ulong)16L);
|
||||
config3.max_chain = (int)((ulong)8L);
|
||||
config3.func = (int)((ulong)1L);
|
||||
array4[2] = config3;
|
||||
Deflate.Config[] array5 = Deflate.config_table;
|
||||
Deflate.Config config4;
|
||||
config4.good_length = (int)((ulong)4L);
|
||||
config4.max_lazy = (int)((ulong)6L);
|
||||
config4.nice_length = (int)((ulong)32L);
|
||||
config4.max_chain = (int)((ulong)32L);
|
||||
config4.func = (int)((ulong)1L);
|
||||
array5[3] = config4;
|
||||
Deflate.Config[] array6 = Deflate.config_table;
|
||||
Deflate.Config config5;
|
||||
config5.good_length = (int)((ulong)4L);
|
||||
config5.max_lazy = (int)((ulong)4L);
|
||||
config5.nice_length = (int)((ulong)16L);
|
||||
config5.max_chain = (int)((ulong)16L);
|
||||
config5.func = (int)((ulong)2L);
|
||||
array6[4] = config5;
|
||||
Deflate.Config[] array7 = Deflate.config_table;
|
||||
Deflate.Config config6;
|
||||
config6.good_length = (int)((ulong)8L);
|
||||
config6.max_lazy = (int)((ulong)16L);
|
||||
config6.nice_length = (int)((ulong)32L);
|
||||
config6.max_chain = (int)((ulong)32L);
|
||||
config6.func = (int)((ulong)2L);
|
||||
array7[5] = config6;
|
||||
Deflate.Config[] array8 = Deflate.config_table;
|
||||
Deflate.Config config7;
|
||||
config7.good_length = (int)((ulong)8L);
|
||||
config7.max_lazy = (int)((ulong)16L);
|
||||
config7.nice_length = (int)((ulong)128L);
|
||||
config7.max_chain = (int)((ulong)128L);
|
||||
config7.func = (int)((ulong)2L);
|
||||
array8[6] = config7;
|
||||
Deflate.Config[] array9 = Deflate.config_table;
|
||||
Deflate.Config config8;
|
||||
config8.good_length = (int)((ulong)8L);
|
||||
config8.max_lazy = (int)((ulong)32L);
|
||||
config8.nice_length = (int)((ulong)128L);
|
||||
config8.max_chain = (int)((ulong)256L);
|
||||
config8.func = (int)((ulong)2L);
|
||||
array9[7] = config8;
|
||||
Deflate.Config[] array10 = Deflate.config_table;
|
||||
Deflate.Config config9;
|
||||
config9.good_length = (int)((ulong)32L);
|
||||
config9.max_lazy = (int)((ulong)128L);
|
||||
config9.nice_length = (int)((ulong)258L);
|
||||
config9.max_chain = (int)((ulong)1024L);
|
||||
config9.func = (int)((ulong)2L);
|
||||
array10[8] = config9;
|
||||
Deflate.Config[] array11 = Deflate.config_table;
|
||||
Deflate.Config config10;
|
||||
config10.good_length = (int)((ulong)32L);
|
||||
config10.max_lazy = (int)((ulong)258L);
|
||||
config10.nice_length = (int)((ulong)258L);
|
||||
config10.max_chain = (int)((ulong)4096L);
|
||||
config10.func = (int)((ulong)2L);
|
||||
array11[9] = config10;
|
||||
}
|
||||
|
||||
// Token: 0x06007CA1 RID: 31905 RVA: 0x0019F008 File Offset: 0x0019D208
|
||||
[Token(Token = "0x6007CA1")]
|
||||
[Address(RVA = "0x2025EC0", Offset = "0x20248C0", VA = "0x182025EC0")]
|
||||
internal Deflate()
|
||||
{
|
||||
ZTree ztree = new ZTree();
|
||||
this.l_desc = ztree;
|
||||
ZTree ztree2 = new ZTree();
|
||||
this.d_desc = ztree2;
|
||||
ZTree ztree3 = new ZTree();
|
||||
this.bl_desc = ztree3;
|
||||
short[] array = new short[16];
|
||||
this.bl_count = array;
|
||||
int[] array2 = new int[573];
|
||||
this.heap = array2;
|
||||
byte[] array3 = new byte[573];
|
||||
this.depth = array3;
|
||||
base..ctor();
|
||||
short[] array4 = new short[1146];
|
||||
this.dyn_ltree = array4;
|
||||
short[] array5 = new short[122];
|
||||
this.dyn_dtree = array5;
|
||||
short[] array6 = new short[78];
|
||||
this.bl_tree = array6;
|
||||
}
|
||||
|
||||
// Token: 0x06007CA2 RID: 31906 RVA: 0x0019F0B0 File Offset: 0x0019D2B0
|
||||
[Token(Token = "0x6007CA2")]
|
||||
[Address(RVA = "0x2029350", Offset = "0x2027D50", VA = "0x182029350")]
|
||||
internal void lm_init()
|
||||
{
|
||||
int num = this.w_size;
|
||||
short[] array = this.head;
|
||||
num += num;
|
||||
this.window_size = num;
|
||||
int num2 = this.hash_size;
|
||||
int num3 = 0;
|
||||
array[0] = (short)num3;
|
||||
if (this.hash_size > 0)
|
||||
{
|
||||
short[] array2 = this.head;
|
||||
num3++;
|
||||
array2[0] = (short)num3;
|
||||
int num4 = this.hash_size;
|
||||
}
|
||||
Deflate.Config[] array3 = Deflate.config_table;
|
||||
int num5 = this.level;
|
||||
int max_lazy = array3[num5].max_lazy;
|
||||
this.max_lazy_match = max_lazy;
|
||||
int good_length = Deflate.config_table[num5].good_length;
|
||||
this.good_match = good_length;
|
||||
int nice_length = Deflate.config_table[num5].nice_length;
|
||||
this.nice_match = nice_length;
|
||||
int max_chain = Deflate.config_table[num5].max_chain;
|
||||
this.match_available = num3;
|
||||
this.block_start = num3;
|
||||
this.lookahead = num3;
|
||||
this.ins_h = num3;
|
||||
this.max_chain_length = max_chain;
|
||||
this.prev_length = (int)((ulong)2L);
|
||||
this.match_length = (int)((ulong)2L);
|
||||
}
|
||||
|
||||
// Token: 0x06007CA3 RID: 31907 RVA: 0x0019F1BC File Offset: 0x0019D3BC
|
||||
[Token(Token = "0x6007CA3")]
|
||||
[Address(RVA = "0x202A890", Offset = "0x2029290", VA = "0x18202A890")]
|
||||
internal void tr_init()
|
||||
{
|
||||
ZTree ztree = this.l_desc;
|
||||
short[] array = this.dyn_ltree;
|
||||
ztree.dyn_tree = array;
|
||||
ZTree ztree2 = this.l_desc;
|
||||
StaticTree static_l_desc = StaticTree.static_l_desc;
|
||||
ztree2.stat_desc = static_l_desc;
|
||||
ZTree ztree3 = this.d_desc;
|
||||
short[] array2 = this.dyn_dtree;
|
||||
ztree3.dyn_tree = array2;
|
||||
ZTree ztree4 = this.d_desc;
|
||||
StaticTree static_d_desc = StaticTree.static_d_desc;
|
||||
ztree4.stat_desc = static_d_desc;
|
||||
ZTree ztree5 = this.bl_desc;
|
||||
short[] array3 = this.bl_tree;
|
||||
ztree5.dyn_tree = array3;
|
||||
ZTree ztree6 = this.bl_desc;
|
||||
StaticTree static_bl_desc = StaticTree.static_bl_desc;
|
||||
ztree6.stat_desc = static_bl_desc;
|
||||
int num = 0;
|
||||
this.bi_buf = (uint)num;
|
||||
this.last_eob_len = (int)((ulong)8L);
|
||||
this.init_block();
|
||||
}
|
||||
|
||||
// Token: 0x06007CA4 RID: 31908 RVA: 0x0019F274 File Offset: 0x0019D474
|
||||
[Token(Token = "0x6007CA4")]
|
||||
[Address(RVA = "0x2029220", Offset = "0x2027C20", VA = "0x182029220")]
|
||||
internal void init_block()
|
||||
{
|
||||
int num = 0;
|
||||
short[] array = this.dyn_ltree;
|
||||
num += 2;
|
||||
array[0] = (short)num;
|
||||
short[] array2 = this.dyn_dtree;
|
||||
num += 2;
|
||||
array2[0] = (short)num;
|
||||
short[] array3 = this.bl_tree;
|
||||
num += 2;
|
||||
array3[0] = (short)num;
|
||||
uint num2;
|
||||
this.dyn_ltree[128] = (short)num2;
|
||||
this.opt_len = num;
|
||||
this.matches = num;
|
||||
this.last_lit = num;
|
||||
}
|
||||
|
||||
// Token: 0x06007CA5 RID: 31909 RVA: 0x0019F2EC File Offset: 0x0019D4EC
|
||||
[Token(Token = "0x6007CA5")]
|
||||
[Address(RVA = "0x2029BA0", Offset = "0x20285A0", VA = "0x182029BA0")]
|
||||
internal void pqdownheap(short[] tree, int k)
|
||||
{
|
||||
int[] array = this.heap;
|
||||
int num = this.heap_len;
|
||||
int num2 = array[k];
|
||||
int length = this.heap.Length;
|
||||
int num3 = k + 1;
|
||||
byte[] array2 = this.depth;
|
||||
if (Deflate.smaller(tree, num3, k, array2))
|
||||
{
|
||||
}
|
||||
int[] array3 = this.heap;
|
||||
byte[] array4 = this.depth;
|
||||
if (!Deflate.smaller(tree, num2, k, array4))
|
||||
{
|
||||
int[] array5 = this.heap;
|
||||
int length2 = array5.Length;
|
||||
int num4;
|
||||
array5[0] = num4;
|
||||
int num5 = this.heap_len;
|
||||
}
|
||||
int[] array6 = this.heap;
|
||||
array6[0] = num2;
|
||||
}
|
||||
|
||||
// Token: 0x06007CA6 RID: 31910 RVA: 0x0019F390 File Offset: 0x0019D590
|
||||
[Token(Token = "0x6007CA6")]
|
||||
[Address(RVA = "0x202A7D0", Offset = "0x20291D0", VA = "0x18202A7D0")]
|
||||
internal static bool smaller(short[] tree, int n, int m, byte[] depth)
|
||||
{
|
||||
int length = tree.Length;
|
||||
short num;
|
||||
short num2;
|
||||
if (num < num2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (num != num2)
|
||||
{
|
||||
}
|
||||
int length2 = depth.Length;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CA7 RID: 31911 RVA: 0x0019F3C0 File Offset: 0x0019D5C0
|
||||
[Token(Token = "0x6007CA7")]
|
||||
[Address(RVA = "0x2029F90", Offset = "0x2028990", VA = "0x182029F90")]
|
||||
internal void scan_tree(short[] tree, int max_code)
|
||||
{
|
||||
int length = tree.Length;
|
||||
int i = 0;
|
||||
uint num;
|
||||
tree[0] = (short)num;
|
||||
int num2 = 0;
|
||||
num2 += 3;
|
||||
uint num3;
|
||||
if (1U < num3)
|
||||
{
|
||||
}
|
||||
if (tree == 0)
|
||||
{
|
||||
short[] array = this.bl_tree;
|
||||
if (1UL > (ulong)10L)
|
||||
{
|
||||
}
|
||||
}
|
||||
if (tree != num)
|
||||
{
|
||||
short[] array2 = this.bl_tree;
|
||||
}
|
||||
short[] array3 = this.bl_tree;
|
||||
short[] array4 = this.bl_tree;
|
||||
i++;
|
||||
num2 += 2;
|
||||
while (i <= max_code)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007CA8 RID: 31912 RVA: 0x0019F430 File Offset: 0x0019D630
|
||||
[Token(Token = "0x6007CA8")]
|
||||
[Address(RVA = "0x2026C60", Offset = "0x2025660", VA = "0x182026C60")]
|
||||
internal int build_bl_tree()
|
||||
{
|
||||
int max_code = this.l_desc.max_code;
|
||||
short[] array = this.dyn_ltree;
|
||||
this.scan_tree(array, max_code);
|
||||
int max_code2 = this.d_desc.max_code;
|
||||
short[] array2 = this.dyn_dtree;
|
||||
this.scan_tree(array2, max_code2);
|
||||
this.bl_desc.build_tree(this);
|
||||
short[] array3 = this.bl_tree;
|
||||
byte[] bl_order = ZTree.bl_order;
|
||||
uint num;
|
||||
if ("{il2cpp array field local12->}" == (ulong)0L)
|
||||
{
|
||||
while (num >= (uint)3)
|
||||
{
|
||||
}
|
||||
}
|
||||
byte b = (byte)((uint)b + num);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CA9 RID: 31913 RVA: 0x0019F4AC File Offset: 0x0019D6AC
|
||||
[Token(Token = "0x6007CA9")]
|
||||
[Address(RVA = "0x202A1F0", Offset = "0x2028BF0", VA = "0x18202A1F0")]
|
||||
internal void send_all_trees(int lcodes, int dcodes, int blcodes)
|
||||
{
|
||||
this.send_bits(lcodes, 5);
|
||||
this.send_bits(lcodes, 5);
|
||||
this.send_bits(lcodes, 4);
|
||||
int num = 0;
|
||||
if (blcodes > 0)
|
||||
{
|
||||
short[] array = this.bl_tree;
|
||||
byte[] bl_order = ZTree.bl_order;
|
||||
num++;
|
||||
}
|
||||
short[] array2 = this.dyn_ltree;
|
||||
int num2 = lcodes - 1;
|
||||
this.send_tree(array2, num2);
|
||||
short[] array3 = this.dyn_dtree;
|
||||
this.send_tree(array3, num2);
|
||||
}
|
||||
|
||||
// Token: 0x06007CAA RID: 31914 RVA: 0x0019F518 File Offset: 0x0019D718
|
||||
[Token(Token = "0x6007CAA")]
|
||||
[Address(RVA = "0x202A4D0", Offset = "0x2028ED0", VA = "0x18202A4D0")]
|
||||
internal void send_tree(short[] tree, int max_code)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
num2 += 3;
|
||||
uint num3;
|
||||
if (1U < num3)
|
||||
{
|
||||
}
|
||||
short[] array = this.bl_tree;
|
||||
if (1UL > (ulong)10L)
|
||||
{
|
||||
this.send_code((int)num3, array);
|
||||
uint num4;
|
||||
this.send_bits((int)num3, (int)num4);
|
||||
}
|
||||
uint num5;
|
||||
this.send_code((int)num5, array);
|
||||
this.send_bits((int)num5, 3);
|
||||
short[] array2 = this.bl_tree;
|
||||
this.send_code((int)num3, array2);
|
||||
short[] array3 = this.bl_tree;
|
||||
this.send_code(16, array3);
|
||||
this.send_bits(16, 2);
|
||||
short[] array4 = this.bl_tree;
|
||||
this.send_code(16, array4);
|
||||
while (num2 != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
num2 += 2;
|
||||
}
|
||||
|
||||
// Token: 0x06007CAB RID: 31915 RVA: 0x0019F5BC File Offset: 0x0019D7BC
|
||||
[Token(Token = "0x6007CAB")]
|
||||
[Address(RVA = "0x2029E80", Offset = "0x2028880", VA = "0x182029E80")]
|
||||
internal void put_byte(byte[] p, int start, int len)
|
||||
{
|
||||
byte[] array = this.pending_buf;
|
||||
int num = this.pending;
|
||||
Array.Copy(p, start, array, num, len);
|
||||
}
|
||||
|
||||
// Token: 0x06007CAC RID: 31916 RVA: 0x0019F5E4 File Offset: 0x0019D7E4
|
||||
[Token(Token = "0x6007CAC")]
|
||||
[Address(RVA = "0x2029ED0", Offset = "0x20288D0", VA = "0x182029ED0")]
|
||||
internal void put_byte(byte c)
|
||||
{
|
||||
int num = this.pending;
|
||||
byte[] array = this.pending_buf;
|
||||
int num2 = num + 1;
|
||||
this.pending = num2;
|
||||
}
|
||||
|
||||
// Token: 0x06007CAD RID: 31917 RVA: 0x0019F610 File Offset: 0x0019D810
|
||||
[Token(Token = "0x6007CAD")]
|
||||
[Address(RVA = "0x2029F10", Offset = "0x2028910", VA = "0x182029F10")]
|
||||
internal void put_short(int w)
|
||||
{
|
||||
byte[] array = this.pending_buf;
|
||||
int num = this.pending + 1;
|
||||
this.pending = num;
|
||||
int num2 = this.pending;
|
||||
byte[] array2 = this.pending_buf;
|
||||
int num3 = num2 + 1;
|
||||
this.pending = num3;
|
||||
}
|
||||
|
||||
// Token: 0x06007CAE RID: 31918 RVA: 0x0019F658 File Offset: 0x0019D858
|
||||
[Token(Token = "0x6007CAE")]
|
||||
[Address(RVA = "0x2029E00", Offset = "0x2028800", VA = "0x182029E00")]
|
||||
internal void putShortMSB(int b)
|
||||
{
|
||||
int num = this.pending;
|
||||
byte[] array = this.pending_buf;
|
||||
int num2 = num + 1;
|
||||
this.pending = num2;
|
||||
int num3 = this.pending;
|
||||
byte[] array2 = this.pending_buf;
|
||||
int num4 = num3 + 1;
|
||||
this.pending = num4;
|
||||
}
|
||||
|
||||
// Token: 0x06007CAF RID: 31919 RVA: 0x0019F6A0 File Offset: 0x0019D8A0
|
||||
[Token(Token = "0x6007CAF")]
|
||||
[Address(RVA = "0x202A460", Offset = "0x2028E60", VA = "0x18202A460")]
|
||||
internal void send_code(int c, short[] tree)
|
||||
{
|
||||
int length = tree.Length;
|
||||
short num;
|
||||
short num2;
|
||||
this.send_bits((int)num, (int)num2);
|
||||
}
|
||||
|
||||
// Token: 0x06007CB0 RID: 31920 RVA: 0x0019F6C4 File Offset: 0x0019D8C4
|
||||
[Token(Token = "0x6007CB0")]
|
||||
[Address(RVA = "0x202A370", Offset = "0x2028D70", VA = "0x18202A370")]
|
||||
internal void send_bits(int val, int length)
|
||||
{
|
||||
int num = this.bi_valid;
|
||||
uint num2;
|
||||
num2 -= (uint)length;
|
||||
this.bi_buf = (uint)val;
|
||||
}
|
||||
|
||||
// Token: 0x06007CB1 RID: 31921 RVA: 0x0019F750 File Offset: 0x0019D950
|
||||
[Token(Token = "0x6007CB1")]
|
||||
[Address(RVA = "0x2025FF0", Offset = "0x20249F0", VA = "0x182025FF0")]
|
||||
internal void _tr_align()
|
||||
{
|
||||
this.send_bits(2, 3);
|
||||
short[] static_ltree = StaticTree.static_ltree;
|
||||
int length = static_ltree.Length;
|
||||
short num = static_ltree[128];
|
||||
short num2 = static_ltree[128];
|
||||
this.send_bits((int)num2, (int)num);
|
||||
this.bi_flush();
|
||||
int num3 = this.last_eob_len;
|
||||
num3 += 11;
|
||||
if (num3 < 9)
|
||||
{
|
||||
this.send_bits(2, 3);
|
||||
short[] static_ltree2 = StaticTree.static_ltree;
|
||||
int length2 = static_ltree2.Length;
|
||||
short num4 = static_ltree2[128];
|
||||
short num5 = static_ltree2[128];
|
||||
this.send_bits((int)num5, (int)num4);
|
||||
this.bi_flush();
|
||||
}
|
||||
this.last_eob_len = (int)((ulong)7L);
|
||||
}
|
||||
|
||||
// Token: 0x06007CB2 RID: 31922 RVA: 0x0019F800 File Offset: 0x0019DA00
|
||||
[Token(Token = "0x6007CB2")]
|
||||
[Address(RVA = "0x2026750", Offset = "0x2025150", VA = "0x182026750")]
|
||||
internal bool _tr_tally(int dist, int lc)
|
||||
{
|
||||
byte[] array = this.pending_buf;
|
||||
int num = this.last_lit;
|
||||
int num2 = this.d_buf;
|
||||
byte[] array2 = this.pending_buf;
|
||||
int num3 = this.d_buf;
|
||||
num3++;
|
||||
byte[] array3 = this.pending_buf;
|
||||
num3 = this.l_buf;
|
||||
short[] array4 = this.dyn_ltree;
|
||||
if (dist != 0)
|
||||
{
|
||||
byte[] length_code = ZTree._length_code;
|
||||
short[] array5 = this.dyn_dtree;
|
||||
int num4 = ZTree.d_code(dist - 1);
|
||||
num4 += num4;
|
||||
}
|
||||
if (this.last_lit == 8191 && this.level > 2)
|
||||
{
|
||||
int num5 = 0;
|
||||
short[] array6 = this.dyn_dtree;
|
||||
int[] extra_dbits = ZTree.extra_dbits;
|
||||
num5 += 2;
|
||||
num5++;
|
||||
int num6 = extra_dbits[num5];
|
||||
num6 += 5;
|
||||
int num7 = num6 * num5;
|
||||
int num8 = this.last_lit;
|
||||
num8 -= array6;
|
||||
if (this.matches < num8)
|
||||
{
|
||||
num8 -= array6;
|
||||
}
|
||||
}
|
||||
int num9 = this.lit_bufsize;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CB3 RID: 31923 RVA: 0x0019F8F4 File Offset: 0x0019DAF4
|
||||
[Token(Token = "0x6007CB3")]
|
||||
[Address(RVA = "0x2026DC0", Offset = "0x20257C0", VA = "0x182026DC0")]
|
||||
internal void compress_block(short[] ltree, short[] dtree)
|
||||
{
|
||||
int num = 0;
|
||||
if (this.last_lit != num)
|
||||
{
|
||||
byte[] array = this.pending_buf;
|
||||
int num2 = this.d_buf;
|
||||
int length = array.Length;
|
||||
num2 += num;
|
||||
int num3 = num2 + 1;
|
||||
int num4 = this.l_buf;
|
||||
num4 += num;
|
||||
num += 2;
|
||||
num++;
|
||||
byte[] length_code = ZTree._length_code;
|
||||
int length2 = ltree.Length;
|
||||
short num5 = ltree[length_code];
|
||||
short num6 = ltree[length_code];
|
||||
this.send_bits((int)num6, (int)num5);
|
||||
int[] extra_lbits = ZTree.extra_lbits;
|
||||
int num7;
|
||||
if (num7 != 0)
|
||||
{
|
||||
int[] base_length = ZTree.base_length;
|
||||
byte b;
|
||||
this.send_bits((int)b, num7);
|
||||
}
|
||||
byte b2;
|
||||
int num8 = ZTree.d_code((int)b2);
|
||||
this.send_bits(1, (int)num5);
|
||||
if (ZTree.extra_dbits[num8] != 0)
|
||||
{
|
||||
int[] base_dist = ZTree.base_dist;
|
||||
int length3 = ltree.Length;
|
||||
num4++;
|
||||
short num9 = ltree[num4];
|
||||
short num10 = ltree[num4];
|
||||
this.send_bits((int)num10, (int)num9);
|
||||
}
|
||||
if (num < this.last_lit)
|
||||
{
|
||||
}
|
||||
}
|
||||
int length4 = ltree.Length;
|
||||
short num11 = ltree[128];
|
||||
short num12 = ltree[128];
|
||||
this.send_bits((int)num12, (int)num11);
|
||||
this.last_eob_len = length4;
|
||||
}
|
||||
|
||||
// Token: 0x06007CB4 RID: 31924 RVA: 0x0019FA28 File Offset: 0x0019DC28
|
||||
[Token(Token = "0x6007CB4")]
|
||||
[Address(RVA = "0x202A6D0", Offset = "0x20290D0", VA = "0x18202A6D0")]
|
||||
internal void set_data_type()
|
||||
{
|
||||
short[] array = this.dyn_ltree;
|
||||
int num = 0;
|
||||
int length = array.Length;
|
||||
num++;
|
||||
num += 2;
|
||||
num += this;
|
||||
if (num < 128)
|
||||
{
|
||||
num++;
|
||||
num += this;
|
||||
}
|
||||
if (num < 256)
|
||||
{
|
||||
num += this;
|
||||
}
|
||||
bool flag = num <= num;
|
||||
this.data_type = (flag ? 1 : 0);
|
||||
}
|
||||
|
||||
// Token: 0x06007CB5 RID: 31925 RVA: 0x0019FA84 File Offset: 0x0019DC84
|
||||
[Token(Token = "0x6007CB5")]
|
||||
[Address(RVA = "0x2026A90", Offset = "0x2025490", VA = "0x182026A90")]
|
||||
internal void bi_flush()
|
||||
{
|
||||
if (this.bi_valid != 16)
|
||||
{
|
||||
int num = this.pending;
|
||||
byte[] array = this.pending_buf;
|
||||
uint num2 = this.bi_buf;
|
||||
int num3 = num + 1;
|
||||
this.pending = num3;
|
||||
this.bi_buf = (uint)num3;
|
||||
return;
|
||||
}
|
||||
int num4 = this.pending;
|
||||
byte[] array2 = this.pending_buf;
|
||||
uint num5 = this.bi_buf;
|
||||
int num6 = num4 + 1;
|
||||
this.pending = num6;
|
||||
int num7 = this.pending;
|
||||
byte[] array3 = this.pending_buf;
|
||||
uint num8 = this.bi_buf;
|
||||
int num9 = num7 + 1;
|
||||
this.pending = num9;
|
||||
int num10 = 0;
|
||||
this.bi_buf = (uint)num10;
|
||||
}
|
||||
|
||||
// Token: 0x06007CB6 RID: 31926 RVA: 0x0019FB20 File Offset: 0x0019DD20
|
||||
[Token(Token = "0x6007CB6")]
|
||||
[Address(RVA = "0x2026B80", Offset = "0x2025580", VA = "0x182026B80")]
|
||||
internal void bi_windup()
|
||||
{
|
||||
if (this.bi_valid > 0)
|
||||
{
|
||||
int num = this.pending;
|
||||
byte[] array = this.pending_buf;
|
||||
uint num2 = this.bi_buf;
|
||||
int num3 = num + 1;
|
||||
this.pending = num3;
|
||||
int num4 = 0;
|
||||
this.bi_buf = (uint)num4;
|
||||
return;
|
||||
}
|
||||
int num5 = 0;
|
||||
this.bi_buf = (uint)num5;
|
||||
}
|
||||
|
||||
// Token: 0x06007CB7 RID: 31927 RVA: 0x0019FBC0 File Offset: 0x0019DDC0
|
||||
[Token(Token = "0x6007CB7")]
|
||||
[Address(RVA = "0x2027270", Offset = "0x2025C70", VA = "0x182027270")]
|
||||
internal void copy_block(int buf, int len, bool header)
|
||||
{
|
||||
int num = 0;
|
||||
this.bi_windup();
|
||||
this.last_eob_len = (int)((ulong)8L);
|
||||
if (header)
|
||||
{
|
||||
this.put_short(num);
|
||||
this.put_short(num);
|
||||
}
|
||||
int num2 = this.pending;
|
||||
byte[] array = this.pending_buf;
|
||||
Array.Copy(this.window, buf, array, num2, len);
|
||||
}
|
||||
|
||||
// Token: 0x06007CB8 RID: 31928 RVA: 0x0019FC10 File Offset: 0x0019DE10
|
||||
[Token(Token = "0x6007CB8")]
|
||||
[Address(RVA = "0x20291C0", Offset = "0x2027BC0", VA = "0x1820291C0")]
|
||||
internal void flush_block_only(bool eof)
|
||||
{
|
||||
int num = this.block_start;
|
||||
int num2 = this.strstart;
|
||||
num2 -= num;
|
||||
this._tr_flush_block(num, num2, eof);
|
||||
ZStream zstream = this.strm;
|
||||
int num3 = this.strstart;
|
||||
this.block_start = num3;
|
||||
zstream.flush_pending();
|
||||
}
|
||||
|
||||
// Token: 0x06007CB9 RID: 31929 RVA: 0x0019FC5C File Offset: 0x0019DE5C
|
||||
[Token(Token = "0x6007CB9")]
|
||||
[Address(RVA = "0x2028D20", Offset = "0x2027720", VA = "0x182028D20")]
|
||||
internal int deflate_stored(int flush)
|
||||
{
|
||||
int num2;
|
||||
do
|
||||
{
|
||||
int num = this.pending_buf_size;
|
||||
num += -5;
|
||||
num2 = 0;
|
||||
int num3 = this.lookahead;
|
||||
this.fill_window();
|
||||
int num4 = this.lookahead;
|
||||
if (num4 == 0)
|
||||
{
|
||||
if (flush == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (num4 == 0)
|
||||
{
|
||||
goto IL_107;
|
||||
}
|
||||
}
|
||||
int num5 = this.block_start;
|
||||
int num6 = this.strstart;
|
||||
this.lookahead = num2;
|
||||
if (num4 != 0)
|
||||
{
|
||||
}
|
||||
num6 -= this;
|
||||
this.strstart = this;
|
||||
this.lookahead = num6;
|
||||
int num7 = 0;
|
||||
num5 = num;
|
||||
this._tr_flush_block(num5, num5, num7 != 0);
|
||||
ZStream zstream = this.strm;
|
||||
int num8 = this.strstart;
|
||||
this.block_start = num8;
|
||||
zstream.flush_pending();
|
||||
if (this.strm.avail_out == num2)
|
||||
{
|
||||
break;
|
||||
}
|
||||
int num9 = this.strstart;
|
||||
int num10 = this.w_size;
|
||||
int num11 = this.block_start;
|
||||
num9 -= num11;
|
||||
int num12 = 0;
|
||||
this._tr_flush_block(num11, num9, num12 != 0);
|
||||
ZStream zstream2 = this.strm;
|
||||
int num13 = this.strstart;
|
||||
this.block_start = num13;
|
||||
zstream2.flush_pending();
|
||||
}
|
||||
while (this.strm.avail_out != num2);
|
||||
return 0;
|
||||
IL_107:
|
||||
bool flag = flush == 4;
|
||||
this.flush_block_only(flag);
|
||||
if (this.strm.avail_out != num2)
|
||||
{
|
||||
}
|
||||
while (flush != 4)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CBA RID: 31930 RVA: 0x0019FD98 File Offset: 0x0019DF98
|
||||
[Token(Token = "0x6007CBA")]
|
||||
[Address(RVA = "0x20266B0", Offset = "0x20250B0", VA = "0x1820266B0")]
|
||||
internal void _tr_stored_block(int buf, int stored_len, bool eof)
|
||||
{
|
||||
this.send_bits(eof ? 1 : 0, 3);
|
||||
int num = 0;
|
||||
this.bi_windup();
|
||||
this.last_eob_len = (int)((ulong)8L);
|
||||
this.put_short(num);
|
||||
this.put_short(num);
|
||||
int num2 = this.pending;
|
||||
byte[] array = this.pending_buf;
|
||||
Array.Copy(this.window, buf, array, num2, stored_len);
|
||||
}
|
||||
|
||||
// Token: 0x06007CBB RID: 31931 RVA: 0x0019FDF0 File Offset: 0x0019DFF0
|
||||
[Token(Token = "0x6007CBB")]
|
||||
[Address(RVA = "0x2026190", Offset = "0x2024B90", VA = "0x182026190")]
|
||||
internal void _tr_flush_block(int buf, int stored_len, bool eof)
|
||||
{
|
||||
int num = 0;
|
||||
int length = this.dyn_ltree.Length;
|
||||
num++;
|
||||
num += 2;
|
||||
if (num < 128)
|
||||
{
|
||||
num++;
|
||||
}
|
||||
if (num < 256)
|
||||
{
|
||||
}
|
||||
bool flag = num <= num;
|
||||
this.data_type = (flag ? 1 : 0);
|
||||
this.l_desc.build_tree(this);
|
||||
this.d_desc.build_tree(this);
|
||||
int max_code = this.l_desc.max_code;
|
||||
short[] array = this.dyn_ltree;
|
||||
this.scan_tree(array, max_code);
|
||||
int max_code2 = this.d_desc.max_code;
|
||||
short[] array2 = this.dyn_dtree;
|
||||
this.scan_tree(array2, max_code2);
|
||||
this.bl_desc.build_tree(this);
|
||||
short[] array3 = this.bl_tree;
|
||||
byte[] bl_order = ZTree.bl_order;
|
||||
uint num2;
|
||||
if ("{il2cpp array field local23->}" == num)
|
||||
{
|
||||
while (num2 >= (uint)3)
|
||||
{
|
||||
}
|
||||
}
|
||||
int num3 = this.static_len;
|
||||
num2 += num2;
|
||||
num3 += 10;
|
||||
int num4 = this.opt_len;
|
||||
num4 += 10;
|
||||
if (num3 <= num4)
|
||||
{
|
||||
num4 = num3;
|
||||
}
|
||||
if (buf != -1)
|
||||
{
|
||||
num4 = buf;
|
||||
this._tr_stored_block(num4, stored_len, eof);
|
||||
}
|
||||
if (this != num4)
|
||||
{
|
||||
this.send_bits(num4, 3);
|
||||
ZTree ztree = this.l_desc;
|
||||
ZTree ztree2 = this.d_desc;
|
||||
uint num5 = num2 + 1U;
|
||||
int max_code3 = ztree.max_code;
|
||||
this.send_bits(num4, 5);
|
||||
this.send_bits(num4, 5);
|
||||
this.send_bits(num4, 4);
|
||||
if (num5 > (uint)0)
|
||||
{
|
||||
short[] array4 = this.bl_tree;
|
||||
byte[] bl_order2 = ZTree.bl_order;
|
||||
this.send_bits(num4, 3);
|
||||
num++;
|
||||
}
|
||||
short[] array5 = this.dyn_ltree;
|
||||
this.send_tree(array5, max_code3);
|
||||
short[] array6 = this.dyn_dtree;
|
||||
this.send_tree(array6, max_code3);
|
||||
}
|
||||
short[] static_dtree = StaticTree.static_dtree;
|
||||
short[] static_ltree = StaticTree.static_ltree;
|
||||
this.compress_block(static_ltree, static_dtree);
|
||||
this.init_block();
|
||||
if (eof)
|
||||
{
|
||||
this.bi_windup();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007CBC RID: 31932 RVA: 0x0019FFB4 File Offset: 0x0019E1B4
|
||||
[Token(Token = "0x6007CBC")]
|
||||
[Address(RVA = "0x2028ED0", Offset = "0x20278D0", VA = "0x182028ED0")]
|
||||
internal void fill_window()
|
||||
{
|
||||
int num2;
|
||||
byte[] array4;
|
||||
do
|
||||
{
|
||||
int num = this.lookahead;
|
||||
num2 = 0;
|
||||
int num3 = this.window_size;
|
||||
int num4 = this.strstart;
|
||||
num3 -= num4;
|
||||
num3 -= num;
|
||||
int num13;
|
||||
if (num4 != 0 || num != 0 || this.w_size != -1)
|
||||
{
|
||||
int num5 = this.w_size;
|
||||
byte[] array = this.window;
|
||||
int num6 = 0;
|
||||
Array.Copy(array, num5, array, num6, num5);
|
||||
int num7 = this.hash_size;
|
||||
num5 = num7;
|
||||
short[] array2 = this.head;
|
||||
short num8 = array2[num5];
|
||||
int num9 = this.w_size;
|
||||
num8 = (short)((int)num8 - num9);
|
||||
array2[0] = (short)num2;
|
||||
int num10 = num7 - 1;
|
||||
while (num10 != 0)
|
||||
{
|
||||
}
|
||||
int num11 = this.w_size;
|
||||
num5 = num11;
|
||||
short[] array3 = this.prev;
|
||||
short num12 = array3[num5];
|
||||
num13 = this.w_size;
|
||||
num12 = (short)((int)num12 - num13);
|
||||
array3[0] = (short)num2;
|
||||
int num14 = num11 - 1;
|
||||
while (num14 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
ZStream zstream = this.strm;
|
||||
int num15 = zstream.avail_in;
|
||||
if (num15 == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
array4 = this.window;
|
||||
if (num15 != 0)
|
||||
{
|
||||
num15 -= num15;
|
||||
zstream.avail_in = num15;
|
||||
int next_in_index;
|
||||
if (zstream.dstate.noheader == num2)
|
||||
{
|
||||
Adler32 adler = zstream._adler;
|
||||
next_in_index = zstream.next_in_index;
|
||||
byte[] next_in = zstream.next_in;
|
||||
long adler2 = zstream.adler;
|
||||
long num16 = adler.adler32(adler2, next_in, next_in_index, num15);
|
||||
zstream.adler = num16;
|
||||
}
|
||||
int next_in_index2 = zstream.next_in_index;
|
||||
Array.Copy(zstream.next_in, next_in_index2, array4, next_in_index, num15);
|
||||
}
|
||||
this.lookahead = array4;
|
||||
byte[] array5 = this.window;
|
||||
num13 = this.strstart;
|
||||
byte b;
|
||||
this.ins_h = (int)b;
|
||||
num13++;
|
||||
this.ins_h = (int)b;
|
||||
}
|
||||
while (array4 < (ulong)262L && this.strm.avail_in != num2);
|
||||
}
|
||||
|
||||
// Token: 0x06007CBD RID: 31933 RVA: 0x001A0194 File Offset: 0x0019E394
|
||||
[Token(Token = "0x6007CBD")]
|
||||
[Address(RVA = "0x2027DB0", Offset = "0x20267B0", VA = "0x182027DB0")]
|
||||
internal int deflate_fast(int flush)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
if (this.lookahead < 262)
|
||||
{
|
||||
this.fill_window();
|
||||
int num2 = this.lookahead;
|
||||
if (num2 < 262 && flush == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (num2 == 0)
|
||||
{
|
||||
goto IL_27F;
|
||||
}
|
||||
}
|
||||
byte[] array = this.window;
|
||||
int num3 = this.strstart;
|
||||
int num4 = this.ins_h;
|
||||
short[] array2 = this.head;
|
||||
this.ins_h = num4;
|
||||
short num5 = array2[num4];
|
||||
short[] array3 = this.prev;
|
||||
int num6 = this.w_mask;
|
||||
array3[0] = num5;
|
||||
short[] array4 = this.head;
|
||||
int num7 = this.ins_h;
|
||||
int num8 = this.strstart;
|
||||
array4[0] = (short)num8;
|
||||
int num9 = this.strstart;
|
||||
num9 -= (int)num5;
|
||||
int num10 = this.w_size;
|
||||
if (this.strategy != 2)
|
||||
{
|
||||
int num11 = this.longest_match((int)num5);
|
||||
this.match_length = num11;
|
||||
}
|
||||
bool flag;
|
||||
int num14;
|
||||
if (this.match_length < 3)
|
||||
{
|
||||
byte[] array5 = this.window;
|
||||
int num12 = this.strstart;
|
||||
int num13 = 0;
|
||||
byte b;
|
||||
flag = this._tr_tally(num13, (int)b);
|
||||
num14 = this.strstart;
|
||||
}
|
||||
int num15 = this.strstart;
|
||||
num14 += -3;
|
||||
bool flag2 = this._tr_tally(num15, num14);
|
||||
int num16 = this.match_length;
|
||||
flag = flag2;
|
||||
int num17 = this.lookahead;
|
||||
num17 -= num16;
|
||||
this.lookahead = num17;
|
||||
int num18 = num16 - 1;
|
||||
this.match_length = num18;
|
||||
int num19 = this.strstart;
|
||||
byte[] array6 = this.window;
|
||||
int num20 = num19 + 1;
|
||||
this.strstart = num20;
|
||||
int num21 = this.ins_h;
|
||||
short[] array7 = this.head;
|
||||
this.ins_h = num21;
|
||||
short num22 = array7[num21];
|
||||
short[] array8 = this.prev;
|
||||
int num23 = this.w_mask;
|
||||
array8[0] = num22;
|
||||
short[] array9 = this.head;
|
||||
int num24 = this.ins_h;
|
||||
num23 = num24;
|
||||
int num25 = this.strstart;
|
||||
array9[0] = (short)num25;
|
||||
while (num24 != array9.Length)
|
||||
{
|
||||
}
|
||||
int num26 = this.strstart;
|
||||
byte[] array10 = this.window;
|
||||
num26 += num23;
|
||||
this.strstart = num26;
|
||||
this.match_length = num;
|
||||
num3 = num26;
|
||||
byte b2 = array10[num3];
|
||||
this.ins_h = (int)b2;
|
||||
num3++;
|
||||
this.ins_h = (int)b2;
|
||||
while (!flag)
|
||||
{
|
||||
}
|
||||
int num27 = this.block_start;
|
||||
num26 -= num27;
|
||||
int num28 = 0;
|
||||
this._tr_flush_block(num27, num26, num28 != 0);
|
||||
ZStream zstream = this.strm;
|
||||
int num29 = this.strstart;
|
||||
this.block_start = num29;
|
||||
zstream.flush_pending();
|
||||
}
|
||||
while (this.strm.avail_out != num);
|
||||
return 0;
|
||||
IL_27F:
|
||||
int num30 = this.block_start;
|
||||
int num31 = this.strstart;
|
||||
bool flag3 = flush == 4;
|
||||
num31 -= num30;
|
||||
this._tr_flush_block(num30, num31, flag3);
|
||||
ZStream zstream2 = this.strm;
|
||||
int num32 = this.strstart;
|
||||
this.block_start = num32;
|
||||
zstream2.flush_pending();
|
||||
if (this.strm.avail_out != num)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CBE RID: 31934 RVA: 0x001A047C File Offset: 0x0019E67C
|
||||
[Token(Token = "0x6007CBE")]
|
||||
[Address(RVA = "0x20287A0", Offset = "0x20271A0", VA = "0x1820287A0")]
|
||||
internal int deflate_slow(int flush)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
if (this.lookahead < 262)
|
||||
{
|
||||
this.fill_window();
|
||||
int num2 = this.lookahead;
|
||||
if (num2 < 262 && flush == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (num2 == 0)
|
||||
{
|
||||
goto IL_277;
|
||||
}
|
||||
}
|
||||
byte[] array = this.window;
|
||||
int num3 = this.strstart;
|
||||
int num4 = this.ins_h;
|
||||
short[] array2 = this.head;
|
||||
this.ins_h = num4;
|
||||
short num5 = array2[num4];
|
||||
short[] array3 = this.prev;
|
||||
int num6 = this.w_mask;
|
||||
array3[0] = num5;
|
||||
short[] array4 = this.head;
|
||||
int num7 = this.ins_h;
|
||||
int num8 = this.strstart;
|
||||
array4[0] = (short)num8;
|
||||
int num9 = this.match_length;
|
||||
int num10 = this.match_start;
|
||||
this.prev_length = num9;
|
||||
this.prev_match = num10;
|
||||
this.match_length = 2;
|
||||
if (num9 < this.max_lazy_match)
|
||||
{
|
||||
int num11 = this.strstart;
|
||||
num11 -= (int)num5;
|
||||
int num12 = this.w_size;
|
||||
if (this.strategy != 2)
|
||||
{
|
||||
int num13 = this.longest_match((int)num5);
|
||||
this.match_length = num13;
|
||||
}
|
||||
if (this.strategy == 1 || (2 == 3 && this.strstart > 4096))
|
||||
{
|
||||
this.match_length = 2;
|
||||
}
|
||||
}
|
||||
int num14 = this.strstart;
|
||||
num9 += -3;
|
||||
int num15 = this.lookahead;
|
||||
num15 += -3;
|
||||
num15 += num14;
|
||||
bool flag = this._tr_tally(num14, num9);
|
||||
int num16 = this.prev_length;
|
||||
this.prev_length = 1;
|
||||
int num17 = this.strstart;
|
||||
int num18 = num17 + 1;
|
||||
this.strstart = num18;
|
||||
byte[] array5 = this.window;
|
||||
int num19 = this.ins_h;
|
||||
short[] array6 = this.head;
|
||||
this.ins_h = num19;
|
||||
short num20 = array6[num19];
|
||||
short[] array7 = this.prev;
|
||||
int num21 = this.w_mask;
|
||||
array7[0] = num20;
|
||||
short[] array8 = this.head;
|
||||
int num22 = this.ins_h;
|
||||
int num23 = this.strstart;
|
||||
array8[0] = (short)num23;
|
||||
while (num22 != array8.Length)
|
||||
{
|
||||
}
|
||||
int num24 = this.strstart;
|
||||
num24++;
|
||||
this.match_available = num;
|
||||
this.match_length = 2;
|
||||
this.strstart = num24;
|
||||
while (!flag)
|
||||
{
|
||||
}
|
||||
int num25 = this.block_start;
|
||||
num24 -= num25;
|
||||
int num26 = 0;
|
||||
this._tr_flush_block(num25, num24, num26 != 0);
|
||||
ZStream zstream = this.strm;
|
||||
int num27 = this.strstart;
|
||||
this.block_start = num27;
|
||||
zstream.flush_pending();
|
||||
}
|
||||
while (this.strm.avail_out != num);
|
||||
return 0;
|
||||
IL_277:
|
||||
if (this.match_available != num)
|
||||
{
|
||||
byte[] array9 = this.window;
|
||||
int num28 = this.strstart;
|
||||
int num29 = 0;
|
||||
byte b;
|
||||
bool flag2 = this._tr_tally(num29, (int)b);
|
||||
this.match_available = num;
|
||||
}
|
||||
bool flag3 = flush == 4;
|
||||
this.flush_block_only(flag3);
|
||||
if (this.strm.avail_out != num)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CBF RID: 31935 RVA: 0x001A0750 File Offset: 0x0019E950
|
||||
[Token(Token = "0x6007CBF")]
|
||||
[Address(RVA = "0x2029580", Offset = "0x2027F80", VA = "0x182029580")]
|
||||
internal int longest_match(int cur_match)
|
||||
{
|
||||
int num = this.w_size;
|
||||
int num2 = this.strstart;
|
||||
int num3 = this.max_chain_length;
|
||||
int num4 = this.prev_length;
|
||||
num2 -= num;
|
||||
num2 += 262;
|
||||
int num5 = 0;
|
||||
byte[] array = this.window;
|
||||
int num6 = this.nice_match;
|
||||
int length = array.Length;
|
||||
int num7 = cur_match - 1;
|
||||
int num8 = this.lookahead;
|
||||
if (num6 <= num8)
|
||||
{
|
||||
}
|
||||
int length2 = array.Length;
|
||||
num8 = cur_match + 1;
|
||||
int num9 = num2 + 1;
|
||||
int length3 = array.Length;
|
||||
num6 = num3;
|
||||
int num10 = num6 + 1;
|
||||
int num11 = cur_match + 1;
|
||||
int num12 = cur_match + 1;
|
||||
num12 = num3;
|
||||
num12 += 3;
|
||||
int num13 = cur_match + 1;
|
||||
int num14 = cur_match + 1;
|
||||
num14 = num3;
|
||||
num14 += 5;
|
||||
int num15 = cur_match + 1;
|
||||
int num16 = cur_match + 1;
|
||||
num16 = num3;
|
||||
num16 += 7;
|
||||
int num17 = cur_match + 1;
|
||||
num3 += 8;
|
||||
if (cur_match > num4)
|
||||
{
|
||||
this.match_start = cur_match;
|
||||
int length4 = array.Length;
|
||||
byte b2;
|
||||
byte b = b2 - 1;
|
||||
}
|
||||
short[] array2 = this.prev;
|
||||
int num18 = this.w_mask;
|
||||
if ((int)array2[num18] > num5)
|
||||
{
|
||||
int num19 = num3 - 1;
|
||||
if (num19 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
return cur_match;
|
||||
}
|
||||
|
||||
// Token: 0x06007CC0 RID: 31936 RVA: 0x001A087C File Offset: 0x0019EA7C
|
||||
[Token(Token = "0x6007CC0")]
|
||||
[Address(RVA = "0x20276C0", Offset = "0x20260C0", VA = "0x1820276C0")]
|
||||
internal int deflateInit(ZStream strm, int level, int bits)
|
||||
{
|
||||
int num = 0;
|
||||
ulong num2;
|
||||
return this.deflateInit2(strm, level, 8, bits, (int)num2, num);
|
||||
}
|
||||
|
||||
// Token: 0x06007CC1 RID: 31937 RVA: 0x001A0898 File Offset: 0x0019EA98
|
||||
[Token(Token = "0x6007CC1")]
|
||||
[Address(RVA = "0x2027690", Offset = "0x2026090", VA = "0x182027690")]
|
||||
internal int deflateInit(ZStream strm, int level)
|
||||
{
|
||||
int num = 0;
|
||||
ulong num2;
|
||||
ulong num3;
|
||||
return this.deflateInit2(strm, level, 8, (int)num2, (int)num3, num);
|
||||
}
|
||||
|
||||
// Token: 0x06007CC2 RID: 31938 RVA: 0x001A08B4 File Offset: 0x0019EAB4
|
||||
[Token(Token = "0x6007CC2")]
|
||||
[Address(RVA = "0x2027340", Offset = "0x2025D40", VA = "0x182027340")]
|
||||
internal int deflateInit2(ZStream strm, int level, int method, int windowBits, int memLevel, int strategy)
|
||||
{
|
||||
int num = 0;
|
||||
strm.msg = num;
|
||||
if (method == 8 && level <= 9)
|
||||
{
|
||||
strm.dstate = this;
|
||||
this.w_bits = 0;
|
||||
this.noheader = 0;
|
||||
uint num2;
|
||||
this.w_size = (int)num2;
|
||||
this.hash_bits = 0;
|
||||
uint num3 = num2 - 1U;
|
||||
this.w_mask = (int)num3;
|
||||
uint num4;
|
||||
this.hash_size = (int)num4;
|
||||
uint num5 = num4 - 1U;
|
||||
this.hash_mask = (int)num5;
|
||||
byte[] array = new byte[0];
|
||||
int num6 = this.w_size;
|
||||
this.window = array;
|
||||
short[] array2 = new short[num6];
|
||||
int num7 = this.hash_size;
|
||||
this.prev = array2;
|
||||
short[] array3 = new short[num7];
|
||||
this.head = array3;
|
||||
uint num8;
|
||||
this.lit_bufsize = (int)num8;
|
||||
byte[] array4 = new byte[1];
|
||||
int num9 = this.lit_bufsize;
|
||||
this.pending_buf = array4;
|
||||
this.level = level;
|
||||
this.strategy = 0;
|
||||
this.method = (byte)method;
|
||||
this.pending_buf_size = array4;
|
||||
num9 -= (int)num8;
|
||||
this.d_buf = num9;
|
||||
this.l_buf = num9;
|
||||
strm.total_out = (long)num;
|
||||
strm.total_in = (long)num;
|
||||
strm.msg = num;
|
||||
strm.data_type = (int)((ulong)2L);
|
||||
int num10 = this.noheader;
|
||||
this.pending_out = num;
|
||||
this.noheader = num;
|
||||
uint num11;
|
||||
this.status = (int)num11;
|
||||
strm.adler = (long)((ulong)1L);
|
||||
this.last_flush = num;
|
||||
ZTree ztree = this.l_desc;
|
||||
short[] array5 = this.dyn_ltree;
|
||||
ztree.dyn_tree = array5;
|
||||
ZTree ztree2 = this.l_desc;
|
||||
StaticTree static_l_desc = StaticTree.static_l_desc;
|
||||
ztree2.stat_desc = static_l_desc;
|
||||
ZTree ztree3 = this.d_desc;
|
||||
short[] array6 = this.dyn_dtree;
|
||||
ztree3.dyn_tree = array6;
|
||||
ZTree ztree4 = this.d_desc;
|
||||
StaticTree static_d_desc = StaticTree.static_d_desc;
|
||||
ztree4.stat_desc = static_d_desc;
|
||||
ZTree ztree5 = this.bl_desc;
|
||||
short[] array7 = this.bl_tree;
|
||||
ztree5.dyn_tree = array7;
|
||||
ZTree ztree6 = this.bl_desc;
|
||||
StaticTree static_bl_desc = StaticTree.static_bl_desc;
|
||||
ztree6.stat_desc = static_bl_desc;
|
||||
this.bi_buf = (uint)num;
|
||||
this.last_eob_len = (int)((ulong)8L);
|
||||
this.init_block();
|
||||
this.lm_init();
|
||||
return 0;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CC3 RID: 31939 RVA: 0x001A0AB4 File Offset: 0x0019ECB4
|
||||
[Token(Token = "0x6007CC3")]
|
||||
[Address(RVA = "0x20279D0", Offset = "0x20263D0", VA = "0x1820279D0")]
|
||||
internal int deflateReset(ZStream strm)
|
||||
{
|
||||
int num = 0;
|
||||
strm.data_type = (int)((ulong)2L);
|
||||
strm.total_out = (long)num;
|
||||
strm.total_in = (long)num;
|
||||
strm.msg = num;
|
||||
this.pending_out = num;
|
||||
int num2 = this.noheader;
|
||||
this.noheader = num;
|
||||
this.status = (int)((uint)42);
|
||||
strm.adler = (long)((ulong)1L);
|
||||
this.last_flush = num;
|
||||
ZTree ztree = this.l_desc;
|
||||
short[] array = this.dyn_ltree;
|
||||
ztree.dyn_tree = array;
|
||||
ZTree ztree2 = this.l_desc;
|
||||
StaticTree static_l_desc = StaticTree.static_l_desc;
|
||||
ztree2.stat_desc = static_l_desc;
|
||||
ZTree ztree3 = this.d_desc;
|
||||
short[] array2 = this.dyn_dtree;
|
||||
ztree3.dyn_tree = array2;
|
||||
ZTree ztree4 = this.d_desc;
|
||||
StaticTree static_d_desc = StaticTree.static_d_desc;
|
||||
ztree4.stat_desc = static_d_desc;
|
||||
ZTree ztree5 = this.bl_desc;
|
||||
short[] array3 = this.bl_tree;
|
||||
ztree5.dyn_tree = array3;
|
||||
ZTree ztree6 = this.bl_desc;
|
||||
StaticTree static_bl_desc = StaticTree.static_bl_desc;
|
||||
ztree6.stat_desc = static_bl_desc;
|
||||
this.bi_buf = (uint)num;
|
||||
this.last_eob_len = (int)((ulong)8L);
|
||||
this.init_block();
|
||||
this.lm_init();
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007CC4 RID: 31940 RVA: 0x001A0BC4 File Offset: 0x0019EDC4
|
||||
[Token(Token = "0x6007CC4")]
|
||||
[Address(RVA = "0x2027300", Offset = "0x2025D00", VA = "0x182027300")]
|
||||
internal int deflateEnd()
|
||||
{
|
||||
int num = this.status;
|
||||
if (num != 42 && num != 113 && num != 666)
|
||||
{
|
||||
return -2;
|
||||
}
|
||||
int num2 = 0;
|
||||
this.pending_buf = num2;
|
||||
this.head = num2;
|
||||
this.prev = num2;
|
||||
this.window = num2;
|
||||
return -3;
|
||||
}
|
||||
|
||||
// Token: 0x06007CC5 RID: 31941 RVA: 0x001A0C10 File Offset: 0x0019EE10
|
||||
[Token(Token = "0x6007CC5")]
|
||||
[Address(RVA = "0x20276F0", Offset = "0x20260F0", VA = "0x1820276F0")]
|
||||
internal int deflateParams(ZStream strm, int _level, int _strategy)
|
||||
{
|
||||
int num = 0;
|
||||
if (_level <= 9 && _strategy <= 2)
|
||||
{
|
||||
Deflate.Config[] array = Deflate.config_table;
|
||||
int num2 = this.level;
|
||||
int length = array.Length;
|
||||
int func = array[num2].func;
|
||||
Deflate.Config config = array[_level];
|
||||
if (func != config.func && strm.total_in != (long)num)
|
||||
{
|
||||
Deflate dstate = strm.dstate;
|
||||
if (dstate != 0)
|
||||
{
|
||||
int num3 = dstate.deflate(strm, 1);
|
||||
}
|
||||
}
|
||||
if (num2 != _level)
|
||||
{
|
||||
this.level = _level;
|
||||
Deflate.Config[] array2 = Deflate.config_table;
|
||||
int num4 = this.level;
|
||||
int max_lazy = array2[num4].max_lazy;
|
||||
this.max_lazy_match = max_lazy;
|
||||
int good_length = Deflate.config_table[num4].good_length;
|
||||
this.good_match = good_length;
|
||||
int nice_length = Deflate.config_table[num4].nice_length;
|
||||
this.nice_match = nice_length;
|
||||
int max_chain = Deflate.config_table[num4].max_chain;
|
||||
this.max_chain_length = max_chain;
|
||||
}
|
||||
this.strategy = _strategy;
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06007CC6 RID: 31942 RVA: 0x001A0D18 File Offset: 0x0019EF18
|
||||
[Token(Token = "0x6007CC6")]
|
||||
[Address(RVA = "0x2027B70", Offset = "0x2026570", VA = "0x182027B70")]
|
||||
internal int deflateSetDictionary(ZStream strm, byte[] dictionary, int dictLength)
|
||||
{
|
||||
int i = 0;
|
||||
if (dictionary != 0 && this.status == 42)
|
||||
{
|
||||
Adler32 adler = strm._adler;
|
||||
long adler2 = strm.adler;
|
||||
int num = 0;
|
||||
long num2 = adler.adler32(adler2, dictionary, num, dictLength);
|
||||
strm.adler = num2;
|
||||
int num3 = this.w_size;
|
||||
num3 += -262;
|
||||
if (dictLength > num3)
|
||||
{
|
||||
}
|
||||
byte[] array = this.window;
|
||||
int num4 = 0;
|
||||
Array.Copy(dictionary, i, array, num4, dictLength);
|
||||
byte[] array2 = this.window;
|
||||
this.strstart = dictLength;
|
||||
this.block_start = dictLength;
|
||||
byte b = array2[0];
|
||||
this.ins_h = (int)b;
|
||||
this.ins_h = (int)b;
|
||||
byte[] array3 = this.window;
|
||||
int num5 = this.ins_h;
|
||||
short[] array4 = this.head;
|
||||
this.ins_h = num5;
|
||||
short[] array5 = this.prev;
|
||||
int num6 = this.w_mask;
|
||||
short num7 = array4[num5];
|
||||
array5[0] = num7;
|
||||
short[] array6 = this.head;
|
||||
int num8 = this.ins_h;
|
||||
array6[0] = (short)i;
|
||||
i++;
|
||||
while (i <= dictLength)
|
||||
{
|
||||
}
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CC7 RID: 31943 RVA: 0x001A0E28 File Offset: 0x0019F028
|
||||
[Token(Token = "0x6007CC7")]
|
||||
[Address(RVA = "0x20282B0", Offset = "0x2026CB0", VA = "0x1820282B0")]
|
||||
internal int deflate(ZStream strm, int flush)
|
||||
{
|
||||
if (flush <= 4)
|
||||
{
|
||||
if (strm.next_out != (ulong)0L && (strm.next_in != (ulong)0L || strm.avail_in == 0))
|
||||
{
|
||||
int num = this.status;
|
||||
if (num != 666 || flush == 4)
|
||||
{
|
||||
if (strm.avail_out != 0)
|
||||
{
|
||||
int num2 = this.last_flush;
|
||||
this.last_flush = flush;
|
||||
this.strm = strm;
|
||||
if (num == 42)
|
||||
{
|
||||
int num3 = this.level;
|
||||
this.status = (int)((ulong)113L);
|
||||
ulong num4;
|
||||
num4 += (ulong)1L;
|
||||
num4 += num4;
|
||||
long num5 = (long)(num4 * (ulong)((uint)31));
|
||||
this.putShortMSB((int)num5);
|
||||
if (this.strstart != 0)
|
||||
{
|
||||
long adler = strm.adler;
|
||||
this.putShortMSB((int)adler);
|
||||
long adler2 = strm.adler;
|
||||
this.putShortMSB((int)adler2);
|
||||
}
|
||||
strm.adler = (long)((ulong)1L);
|
||||
}
|
||||
if (this.pending == 0)
|
||||
{
|
||||
if (strm.avail_in != 0 || flush == 4)
|
||||
{
|
||||
goto IL_F9;
|
||||
}
|
||||
string[] array = Deflate.z_errmsg;
|
||||
}
|
||||
strm.flush_pending();
|
||||
if (strm.avail_out == 0)
|
||||
{
|
||||
goto IL_259;
|
||||
}
|
||||
IL_F9:
|
||||
string[] array2;
|
||||
if (this.status == 666)
|
||||
{
|
||||
if (strm.avail_in == 0)
|
||||
{
|
||||
goto IL_11F;
|
||||
}
|
||||
array2 = Deflate.z_errmsg;
|
||||
}
|
||||
if (strm.avail_in != 0)
|
||||
{
|
||||
goto IL_13D;
|
||||
}
|
||||
IL_11F:
|
||||
if (this.lookahead == 0 && (flush == 0 || array2 == (ulong)666L))
|
||||
{
|
||||
goto IL_204;
|
||||
}
|
||||
IL_13D:
|
||||
Deflate.Config[] array3 = Deflate.config_table;
|
||||
int num6 = this.level;
|
||||
int func = array3[num6].func;
|
||||
if (func != 0)
|
||||
{
|
||||
if (func != 0)
|
||||
{
|
||||
if (func != 1)
|
||||
{
|
||||
goto IL_19D;
|
||||
}
|
||||
int num7 = this.deflate_slow(flush);
|
||||
}
|
||||
int num8 = this.deflate_fast(flush);
|
||||
}
|
||||
int num9 = this.deflate_stored(flush);
|
||||
if (num9 == 2 || num9 == 3)
|
||||
{
|
||||
this.status = (int)((ulong)666L);
|
||||
}
|
||||
IL_19D:
|
||||
if (num9 == 0 || num9 == 2)
|
||||
{
|
||||
goto IL_250;
|
||||
}
|
||||
if (num9 == 1)
|
||||
{
|
||||
if (flush != num9)
|
||||
{
|
||||
int num10 = 0;
|
||||
int num11 = 0;
|
||||
int num12 = 0;
|
||||
int num13 = 0;
|
||||
this._tr_stored_block(num13, num12, num11 != 0);
|
||||
if (flush == 3 && this.hash_size > num10)
|
||||
{
|
||||
short[] array4 = this.head;
|
||||
num10++;
|
||||
array4[0] = (short)num10;
|
||||
}
|
||||
}
|
||||
strm.flush_pending();
|
||||
if (strm.avail_out == 0)
|
||||
{
|
||||
goto IL_259;
|
||||
}
|
||||
}
|
||||
IL_204:
|
||||
if (flush != 4)
|
||||
{
|
||||
goto IL_259;
|
||||
}
|
||||
if (this.noheader == 0)
|
||||
{
|
||||
long adler3 = strm.adler;
|
||||
this.putShortMSB((int)adler3);
|
||||
long adler4 = strm.adler;
|
||||
this.putShortMSB((int)adler4);
|
||||
strm.flush_pending();
|
||||
this.noheader = (int)((ulong)4294967295L);
|
||||
if (this.pending != 0)
|
||||
{
|
||||
goto IL_259;
|
||||
}
|
||||
}
|
||||
IL_250:
|
||||
if (strm.avail_out == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
IL_259:
|
||||
string text = Deflate.z_errmsg[7];
|
||||
strm.msg = text;
|
||||
}
|
||||
}
|
||||
string text2 = Deflate.z_errmsg[4];
|
||||
strm.msg = text2;
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
|
||||
// Token: 0x040058A9 RID: 22697
|
||||
[Token(Token = "0x40058A9")]
|
||||
private const int MAX_MEM_LEVEL = 9;
|
||||
|
||||
// Token: 0x040058AA RID: 22698
|
||||
[Token(Token = "0x40058AA")]
|
||||
private const int Z_DEFAULT_COMPRESSION = -1;
|
||||
|
||||
// Token: 0x040058AB RID: 22699
|
||||
[Token(Token = "0x40058AB")]
|
||||
private const int MAX_WBITS = 15;
|
||||
|
||||
// Token: 0x040058AC RID: 22700
|
||||
[Token(Token = "0x40058AC")]
|
||||
private const int DEF_MEM_LEVEL = 8;
|
||||
|
||||
// Token: 0x040058AD RID: 22701
|
||||
[Token(Token = "0x40058AD")]
|
||||
private const int STORED = 0;
|
||||
|
||||
// Token: 0x040058AE RID: 22702
|
||||
[Token(Token = "0x40058AE")]
|
||||
private const int FAST = 1;
|
||||
|
||||
// Token: 0x040058AF RID: 22703
|
||||
[Token(Token = "0x40058AF")]
|
||||
private const int SLOW = 2;
|
||||
|
||||
// Token: 0x040058B0 RID: 22704
|
||||
[Token(Token = "0x40058B0")]
|
||||
private static readonly Deflate.Config[] config_table;
|
||||
|
||||
// Token: 0x040058B1 RID: 22705
|
||||
[Token(Token = "0x40058B1")]
|
||||
private static readonly string[] z_errmsg;
|
||||
|
||||
// Token: 0x040058B2 RID: 22706
|
||||
[Token(Token = "0x40058B2")]
|
||||
private const int NeedMore = 0;
|
||||
|
||||
// Token: 0x040058B3 RID: 22707
|
||||
[Token(Token = "0x40058B3")]
|
||||
private const int BlockDone = 1;
|
||||
|
||||
// Token: 0x040058B4 RID: 22708
|
||||
[Token(Token = "0x40058B4")]
|
||||
private const int FinishStarted = 2;
|
||||
|
||||
// Token: 0x040058B5 RID: 22709
|
||||
[Token(Token = "0x40058B5")]
|
||||
private const int FinishDone = 3;
|
||||
|
||||
// Token: 0x040058B6 RID: 22710
|
||||
[Token(Token = "0x40058B6")]
|
||||
private const int PRESET_DICT = 32;
|
||||
|
||||
// Token: 0x040058B7 RID: 22711
|
||||
[Token(Token = "0x40058B7")]
|
||||
private const int Z_FILTERED = 1;
|
||||
|
||||
// Token: 0x040058B8 RID: 22712
|
||||
[Token(Token = "0x40058B8")]
|
||||
private const int Z_HUFFMAN_ONLY = 2;
|
||||
|
||||
// Token: 0x040058B9 RID: 22713
|
||||
[Token(Token = "0x40058B9")]
|
||||
private const int Z_DEFAULT_STRATEGY = 0;
|
||||
|
||||
// Token: 0x040058BA RID: 22714
|
||||
[Token(Token = "0x40058BA")]
|
||||
private const int Z_NO_FLUSH = 0;
|
||||
|
||||
// Token: 0x040058BB RID: 22715
|
||||
[Token(Token = "0x40058BB")]
|
||||
private const int Z_PARTIAL_FLUSH = 1;
|
||||
|
||||
// Token: 0x040058BC RID: 22716
|
||||
[Token(Token = "0x40058BC")]
|
||||
private const int Z_SYNC_FLUSH = 2;
|
||||
|
||||
// Token: 0x040058BD RID: 22717
|
||||
[Token(Token = "0x40058BD")]
|
||||
private const int Z_FULL_FLUSH = 3;
|
||||
|
||||
// Token: 0x040058BE RID: 22718
|
||||
[Token(Token = "0x40058BE")]
|
||||
private const int Z_FINISH = 4;
|
||||
|
||||
// Token: 0x040058BF RID: 22719
|
||||
[Token(Token = "0x40058BF")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x040058C0 RID: 22720
|
||||
[Token(Token = "0x40058C0")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x040058C1 RID: 22721
|
||||
[Token(Token = "0x40058C1")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x040058C2 RID: 22722
|
||||
[Token(Token = "0x40058C2")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x040058C3 RID: 22723
|
||||
[Token(Token = "0x40058C3")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x040058C4 RID: 22724
|
||||
[Token(Token = "0x40058C4")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x040058C5 RID: 22725
|
||||
[Token(Token = "0x40058C5")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x040058C6 RID: 22726
|
||||
[Token(Token = "0x40058C6")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x040058C7 RID: 22727
|
||||
[Token(Token = "0x40058C7")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x040058C8 RID: 22728
|
||||
[Token(Token = "0x40058C8")]
|
||||
private const int INIT_STATE = 42;
|
||||
|
||||
// Token: 0x040058C9 RID: 22729
|
||||
[Token(Token = "0x40058C9")]
|
||||
private const int BUSY_STATE = 113;
|
||||
|
||||
// Token: 0x040058CA RID: 22730
|
||||
[Token(Token = "0x40058CA")]
|
||||
private const int FINISH_STATE = 666;
|
||||
|
||||
// Token: 0x040058CB RID: 22731
|
||||
[Token(Token = "0x40058CB")]
|
||||
private const int Z_DEFLATED = 8;
|
||||
|
||||
// Token: 0x040058CC RID: 22732
|
||||
[Token(Token = "0x40058CC")]
|
||||
private const int STORED_BLOCK = 0;
|
||||
|
||||
// Token: 0x040058CD RID: 22733
|
||||
[Token(Token = "0x40058CD")]
|
||||
private const int STATIC_TREES = 1;
|
||||
|
||||
// Token: 0x040058CE RID: 22734
|
||||
[Token(Token = "0x40058CE")]
|
||||
private const int DYN_TREES = 2;
|
||||
|
||||
// Token: 0x040058CF RID: 22735
|
||||
[Token(Token = "0x40058CF")]
|
||||
private const int Z_BINARY = 0;
|
||||
|
||||
// Token: 0x040058D0 RID: 22736
|
||||
[Token(Token = "0x40058D0")]
|
||||
private const int Z_ASCII = 1;
|
||||
|
||||
// Token: 0x040058D1 RID: 22737
|
||||
[Token(Token = "0x40058D1")]
|
||||
private const int Z_UNKNOWN = 2;
|
||||
|
||||
// Token: 0x040058D2 RID: 22738
|
||||
[Token(Token = "0x40058D2")]
|
||||
private const int Buf_size = 16;
|
||||
|
||||
// Token: 0x040058D3 RID: 22739
|
||||
[Token(Token = "0x40058D3")]
|
||||
private const int REP_3_6 = 16;
|
||||
|
||||
// Token: 0x040058D4 RID: 22740
|
||||
[Token(Token = "0x40058D4")]
|
||||
private const int REPZ_3_10 = 17;
|
||||
|
||||
// Token: 0x040058D5 RID: 22741
|
||||
[Token(Token = "0x40058D5")]
|
||||
private const int REPZ_11_138 = 18;
|
||||
|
||||
// Token: 0x040058D6 RID: 22742
|
||||
[Token(Token = "0x40058D6")]
|
||||
private const int MIN_MATCH = 3;
|
||||
|
||||
// Token: 0x040058D7 RID: 22743
|
||||
[Token(Token = "0x40058D7")]
|
||||
private const int MAX_MATCH = 258;
|
||||
|
||||
// Token: 0x040058D8 RID: 22744
|
||||
[Token(Token = "0x40058D8")]
|
||||
private const int MIN_LOOKAHEAD = 262;
|
||||
|
||||
// Token: 0x040058D9 RID: 22745
|
||||
[Token(Token = "0x40058D9")]
|
||||
private const int MAX_BITS = 15;
|
||||
|
||||
// Token: 0x040058DA RID: 22746
|
||||
[Token(Token = "0x40058DA")]
|
||||
private const int D_CODES = 30;
|
||||
|
||||
// Token: 0x040058DB RID: 22747
|
||||
[Token(Token = "0x40058DB")]
|
||||
private const int BL_CODES = 19;
|
||||
|
||||
// Token: 0x040058DC RID: 22748
|
||||
[Token(Token = "0x40058DC")]
|
||||
private const int LENGTH_CODES = 29;
|
||||
|
||||
// Token: 0x040058DD RID: 22749
|
||||
[Token(Token = "0x40058DD")]
|
||||
private const int LITERALS = 256;
|
||||
|
||||
// Token: 0x040058DE RID: 22750
|
||||
[Token(Token = "0x40058DE")]
|
||||
private const int L_CODES = 286;
|
||||
|
||||
// Token: 0x040058DF RID: 22751
|
||||
[Token(Token = "0x40058DF")]
|
||||
private const int HEAP_SIZE = 573;
|
||||
|
||||
// Token: 0x040058E0 RID: 22752
|
||||
[Token(Token = "0x40058E0")]
|
||||
private const int END_BLOCK = 256;
|
||||
|
||||
// Token: 0x040058E1 RID: 22753
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40058E1")]
|
||||
internal ZStream strm;
|
||||
|
||||
// Token: 0x040058E2 RID: 22754
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40058E2")]
|
||||
internal int status;
|
||||
|
||||
// Token: 0x040058E3 RID: 22755
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40058E3")]
|
||||
internal byte[] pending_buf;
|
||||
|
||||
// Token: 0x040058E4 RID: 22756
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40058E4")]
|
||||
internal int pending_buf_size;
|
||||
|
||||
// Token: 0x040058E5 RID: 22757
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
|
||||
[Token(Token = "0x40058E5")]
|
||||
internal int pending_out;
|
||||
|
||||
// Token: 0x040058E6 RID: 22758
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40058E6")]
|
||||
internal int pending;
|
||||
|
||||
// Token: 0x040058E7 RID: 22759
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x40058E7")]
|
||||
internal int noheader;
|
||||
|
||||
// Token: 0x040058E8 RID: 22760
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40058E8")]
|
||||
internal byte data_type;
|
||||
|
||||
// Token: 0x040058E9 RID: 22761
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x39")]
|
||||
[Token(Token = "0x40058E9")]
|
||||
internal byte method;
|
||||
|
||||
// Token: 0x040058EA RID: 22762
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x40058EA")]
|
||||
internal int last_flush;
|
||||
|
||||
// Token: 0x040058EB RID: 22763
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40058EB")]
|
||||
internal int w_size;
|
||||
|
||||
// Token: 0x040058EC RID: 22764
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
|
||||
[Token(Token = "0x40058EC")]
|
||||
internal int w_bits;
|
||||
|
||||
// Token: 0x040058ED RID: 22765
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40058ED")]
|
||||
internal int w_mask;
|
||||
|
||||
// Token: 0x040058EE RID: 22766
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40058EE")]
|
||||
internal byte[] window;
|
||||
|
||||
// Token: 0x040058EF RID: 22767
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40058EF")]
|
||||
internal int window_size;
|
||||
|
||||
// Token: 0x040058F0 RID: 22768
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x40058F0")]
|
||||
internal short[] prev;
|
||||
|
||||
// Token: 0x040058F1 RID: 22769
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x40058F1")]
|
||||
internal short[] head;
|
||||
|
||||
// Token: 0x040058F2 RID: 22770
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x40058F2")]
|
||||
internal int ins_h;
|
||||
|
||||
// Token: 0x040058F3 RID: 22771
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x74")]
|
||||
[Token(Token = "0x40058F3")]
|
||||
internal int hash_size;
|
||||
|
||||
// Token: 0x040058F4 RID: 22772
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x40058F4")]
|
||||
internal int hash_bits;
|
||||
|
||||
// Token: 0x040058F5 RID: 22773
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x7C")]
|
||||
[Token(Token = "0x40058F5")]
|
||||
internal int hash_mask;
|
||||
|
||||
// Token: 0x040058F6 RID: 22774
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x40058F6")]
|
||||
internal int hash_shift;
|
||||
|
||||
// Token: 0x040058F7 RID: 22775
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x84")]
|
||||
[Token(Token = "0x40058F7")]
|
||||
internal int block_start;
|
||||
|
||||
// Token: 0x040058F8 RID: 22776
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x40058F8")]
|
||||
internal int match_length;
|
||||
|
||||
// Token: 0x040058F9 RID: 22777
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8C")]
|
||||
[Token(Token = "0x40058F9")]
|
||||
internal int prev_match;
|
||||
|
||||
// Token: 0x040058FA RID: 22778
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x40058FA")]
|
||||
internal int match_available;
|
||||
|
||||
// Token: 0x040058FB RID: 22779
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x94")]
|
||||
[Token(Token = "0x40058FB")]
|
||||
internal int strstart;
|
||||
|
||||
// Token: 0x040058FC RID: 22780
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x40058FC")]
|
||||
internal int match_start;
|
||||
|
||||
// Token: 0x040058FD RID: 22781
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x9C")]
|
||||
[Token(Token = "0x40058FD")]
|
||||
internal int lookahead;
|
||||
|
||||
// Token: 0x040058FE RID: 22782
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA0")]
|
||||
[Token(Token = "0x40058FE")]
|
||||
internal int prev_length;
|
||||
|
||||
// Token: 0x040058FF RID: 22783
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA4")]
|
||||
[Token(Token = "0x40058FF")]
|
||||
internal int max_chain_length;
|
||||
|
||||
// Token: 0x04005900 RID: 22784
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")]
|
||||
[Token(Token = "0x4005900")]
|
||||
internal int max_lazy_match;
|
||||
|
||||
// Token: 0x04005901 RID: 22785
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xAC")]
|
||||
[Token(Token = "0x4005901")]
|
||||
internal int level;
|
||||
|
||||
// Token: 0x04005902 RID: 22786
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB0")]
|
||||
[Token(Token = "0x4005902")]
|
||||
internal int strategy;
|
||||
|
||||
// Token: 0x04005903 RID: 22787
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB4")]
|
||||
[Token(Token = "0x4005903")]
|
||||
internal int good_match;
|
||||
|
||||
// Token: 0x04005904 RID: 22788
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
||||
[Token(Token = "0x4005904")]
|
||||
internal int nice_match;
|
||||
|
||||
// Token: 0x04005905 RID: 22789
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC0")]
|
||||
[Token(Token = "0x4005905")]
|
||||
internal short[] dyn_ltree;
|
||||
|
||||
// Token: 0x04005906 RID: 22790
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")]
|
||||
[Token(Token = "0x4005906")]
|
||||
internal short[] dyn_dtree;
|
||||
|
||||
// Token: 0x04005907 RID: 22791
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
||||
[Token(Token = "0x4005907")]
|
||||
internal short[] bl_tree;
|
||||
|
||||
// Token: 0x04005908 RID: 22792
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")]
|
||||
[Token(Token = "0x4005908")]
|
||||
internal ZTree l_desc;
|
||||
|
||||
// Token: 0x04005909 RID: 22793
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE0")]
|
||||
[Token(Token = "0x4005909")]
|
||||
internal ZTree d_desc;
|
||||
|
||||
// Token: 0x0400590A RID: 22794
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE8")]
|
||||
[Token(Token = "0x400590A")]
|
||||
internal ZTree bl_desc;
|
||||
|
||||
// Token: 0x0400590B RID: 22795
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF0")]
|
||||
[Token(Token = "0x400590B")]
|
||||
internal short[] bl_count;
|
||||
|
||||
// Token: 0x0400590C RID: 22796
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF8")]
|
||||
[Token(Token = "0x400590C")]
|
||||
internal int[] heap;
|
||||
|
||||
// Token: 0x0400590D RID: 22797
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x100")]
|
||||
[Token(Token = "0x400590D")]
|
||||
internal int heap_len;
|
||||
|
||||
// Token: 0x0400590E RID: 22798
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x104")]
|
||||
[Token(Token = "0x400590E")]
|
||||
internal int heap_max;
|
||||
|
||||
// Token: 0x0400590F RID: 22799
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x108")]
|
||||
[Token(Token = "0x400590F")]
|
||||
internal byte[] depth;
|
||||
|
||||
// Token: 0x04005910 RID: 22800
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x110")]
|
||||
[Token(Token = "0x4005910")]
|
||||
internal int l_buf;
|
||||
|
||||
// Token: 0x04005911 RID: 22801
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x114")]
|
||||
[Token(Token = "0x4005911")]
|
||||
internal int lit_bufsize;
|
||||
|
||||
// Token: 0x04005912 RID: 22802
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x118")]
|
||||
[Token(Token = "0x4005912")]
|
||||
internal int last_lit;
|
||||
|
||||
// Token: 0x04005913 RID: 22803
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x11C")]
|
||||
[Token(Token = "0x4005913")]
|
||||
internal int d_buf;
|
||||
|
||||
// Token: 0x04005914 RID: 22804
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x120")]
|
||||
[Token(Token = "0x4005914")]
|
||||
internal int opt_len;
|
||||
|
||||
// Token: 0x04005915 RID: 22805
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x124")]
|
||||
[Token(Token = "0x4005915")]
|
||||
internal int static_len;
|
||||
|
||||
// Token: 0x04005916 RID: 22806
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x128")]
|
||||
[Token(Token = "0x4005916")]
|
||||
internal int matches;
|
||||
|
||||
// Token: 0x04005917 RID: 22807
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x12C")]
|
||||
[Token(Token = "0x4005917")]
|
||||
internal int last_eob_len;
|
||||
|
||||
// Token: 0x04005918 RID: 22808
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x130")]
|
||||
[Token(Token = "0x4005918")]
|
||||
internal uint bi_buf;
|
||||
|
||||
// Token: 0x04005919 RID: 22809
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x134")]
|
||||
[Token(Token = "0x4005919")]
|
||||
internal int bi_valid;
|
||||
|
||||
// Token: 0x0200134E RID: 4942
|
||||
[Token(Token = "0x200134E")]
|
||||
internal class Config
|
||||
{
|
||||
// Token: 0x06007CC8 RID: 31944 RVA: 0x001A10C0 File Offset: 0x0019F2C0
|
||||
[Token(Token = "0x6007CC8")]
|
||||
[Address(RVA = "0xE250B0", Offset = "0xE23AB0", VA = "0x180E250B0")]
|
||||
internal Config(int good_length, int max_lazy, int nice_length, int max_chain, int func)
|
||||
{
|
||||
this.max_chain = 0;
|
||||
this.good_length = good_length;
|
||||
this.nice_length = nice_length;
|
||||
this.func = 0;
|
||||
this.max_lazy = max_lazy;
|
||||
}
|
||||
|
||||
// Token: 0x0400591A RID: 22810
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400591A")]
|
||||
internal int good_length;
|
||||
|
||||
// Token: 0x0400591B RID: 22811
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x400591B")]
|
||||
internal int max_lazy;
|
||||
|
||||
// Token: 0x0400591C RID: 22812
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400591C")]
|
||||
internal int nice_length;
|
||||
|
||||
// Token: 0x0400591D RID: 22813
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x400591D")]
|
||||
internal int max_chain;
|
||||
|
||||
// Token: 0x0400591E RID: 22814
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400591E")]
|
||||
internal int func;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,827 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x0200134F RID: 4943
|
||||
[Token(Token = "0x200134F")]
|
||||
[StructLayout(3)]
|
||||
internal sealed class InfBlocks
|
||||
{
|
||||
// Token: 0x06007CC9 RID: 31945 RVA: 0x001A10F8 File Offset: 0x0019F2F8
|
||||
[Token(Token = "0x6007CC9")]
|
||||
[Address(RVA = "0x202C310", Offset = "0x202AD10", VA = "0x18202C310")]
|
||||
internal InfBlocks(ZStream z, object checkfn, int w)
|
||||
{
|
||||
int[] array = new int[1];
|
||||
this.bb = array;
|
||||
int[] array2 = new int[1];
|
||||
this.tb = array2;
|
||||
int num = 0;
|
||||
InfCodes infCodes;
|
||||
infCodes.free(num);
|
||||
this.codes = infCodes;
|
||||
InfTree infTree = new InfTree();
|
||||
this.inftree = infTree;
|
||||
base..ctor();
|
||||
int[] array3 = new int[4320];
|
||||
this.hufts = array3;
|
||||
byte[] array4 = new byte[w];
|
||||
this.window = array4;
|
||||
this.end = w;
|
||||
this.checkfn = checkfn;
|
||||
int num2 = 0;
|
||||
this.mode = num2;
|
||||
this.bitk = num2;
|
||||
this.read = num2;
|
||||
if (checkfn != 0)
|
||||
{
|
||||
this.check = (long)((ulong)1L);
|
||||
z.adler = (long)((ulong)1L);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007CCA RID: 31946 RVA: 0x001A11B0 File Offset: 0x0019F3B0
|
||||
[Token(Token = "0x6007CCA")]
|
||||
[Address(RVA = "0x202DAF0", Offset = "0x202C4F0", VA = "0x18202DAF0")]
|
||||
internal void reset(ZStream z, long[] c)
|
||||
{
|
||||
if (c != 0)
|
||||
{
|
||||
long num = this.check;
|
||||
c[0] = num;
|
||||
}
|
||||
if (this.mode == 6)
|
||||
{
|
||||
}
|
||||
int num2 = 0;
|
||||
this.mode = num2;
|
||||
this.bitk = num2;
|
||||
this.read = num2;
|
||||
if (this.checkfn != num2)
|
||||
{
|
||||
this.check = (long)((ulong)1L);
|
||||
z.adler = (long)((ulong)1L);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007CCB RID: 31947 RVA: 0x001A1214 File Offset: 0x0019F414
|
||||
[Token(Token = "0x6007CCB")]
|
||||
[Address(RVA = "0x202C630", Offset = "0x202B030", VA = "0x18202C630")]
|
||||
internal int proc(ZStream z, int r)
|
||||
{
|
||||
int num = this.write;
|
||||
int num2 = this.read;
|
||||
int num3 = z.next_in_index;
|
||||
int avail_in = z.avail_in;
|
||||
int num4 = this.bitb;
|
||||
int num5 = this.bitk;
|
||||
if (num < num2)
|
||||
{
|
||||
num2 -= num;
|
||||
}
|
||||
int num6 = this.end;
|
||||
num6 -= num;
|
||||
int num7 = this.mode;
|
||||
int num19;
|
||||
if (num7 <= 9)
|
||||
{
|
||||
if (num5 >= 3)
|
||||
{
|
||||
goto IL_77;
|
||||
}
|
||||
if (avail_in != 0)
|
||||
{
|
||||
byte[] next_in = z.next_in;
|
||||
num3++;
|
||||
num5 += 8;
|
||||
goto IL_77;
|
||||
}
|
||||
goto IL_79C;
|
||||
IL_87A:
|
||||
uint num8;
|
||||
while (num8 != (uint)(-3))
|
||||
{
|
||||
}
|
||||
this.blens = (ulong)0L;
|
||||
this.mode = (int)((ulong)9L);
|
||||
int num9;
|
||||
this.bitb = num9;
|
||||
int num10;
|
||||
this.bitk = num10;
|
||||
int num11;
|
||||
this.write = num11;
|
||||
goto IL_8AC;
|
||||
IL_77:
|
||||
num7 = num4;
|
||||
num5 = num4;
|
||||
this.last = num7;
|
||||
if (num5 != 3)
|
||||
{
|
||||
if (num5 != 3)
|
||||
{
|
||||
if (num5 != 3)
|
||||
{
|
||||
if (num5 != 1)
|
||||
{
|
||||
goto IL_1A6;
|
||||
}
|
||||
this.mode = (int)((ulong)9L);
|
||||
z.msg = "invalid block type";
|
||||
this.bitk = "invalid block type";
|
||||
}
|
||||
this.mode = 3;
|
||||
}
|
||||
int[] array = new int[1];
|
||||
int[] array2 = new int[1];
|
||||
int[][] array3 = new int[1][];
|
||||
int[][] array4 = new int[1][];
|
||||
array[0] = (int)((ulong)9L);
|
||||
array2[0] = (int)((ulong)5L);
|
||||
int[] fixed_tl = InfTree.fixed_tl;
|
||||
if (fixed_tl != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = fixed_tl;
|
||||
int[] fixed_td = InfTree.fixed_td;
|
||||
if (fixed_td != 0)
|
||||
{
|
||||
}
|
||||
array4[0] = fixed_td;
|
||||
int num12 = array[0];
|
||||
int num13 = array2[0];
|
||||
int[] array5 = array3[0];
|
||||
InfCodes infCodes = this.codes;
|
||||
infCodes.mode = (int)((ulong)0L);
|
||||
infCodes.lbits = (byte)num12;
|
||||
infCodes.dbits = (byte)num13;
|
||||
infCodes.ltree = array5;
|
||||
infCodes.ltree_index = (int)((ulong)0L);
|
||||
infCodes.dtree = fixed_td;
|
||||
infCodes.dtree_index = (int)((ulong)0L);
|
||||
infCodes.tree = (ulong)0L;
|
||||
this.mode = (int)((ulong)6L);
|
||||
IL_1A6:
|
||||
int i = this.mode;
|
||||
while (i <= 9)
|
||||
{
|
||||
}
|
||||
goto IL_1B4;
|
||||
}
|
||||
this.mode = (int)((ulong)1L);
|
||||
int num14 = 0;
|
||||
this.left = 0;
|
||||
int num15 = 0;
|
||||
uint num16;
|
||||
this.mode = (int)num16;
|
||||
int num17 = this.last;
|
||||
this.mode = num17;
|
||||
int num18 = this.end;
|
||||
int num21;
|
||||
int num22;
|
||||
if (num19 == num18)
|
||||
{
|
||||
int num20 = this.read;
|
||||
if (num20 != 0)
|
||||
{
|
||||
num21 = 0;
|
||||
if (num20 > 0)
|
||||
{
|
||||
num22 = num20 - 1;
|
||||
}
|
||||
if (num22 != 0)
|
||||
{
|
||||
goto IL_295;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.write = num21;
|
||||
int num23 = this.write;
|
||||
int num24 = this.read;
|
||||
int num25 = this.end;
|
||||
if (num23 < num24)
|
||||
{
|
||||
num22 = num24;
|
||||
num22 -= num23;
|
||||
}
|
||||
num22 = num25;
|
||||
num22 -= num23;
|
||||
int num26;
|
||||
int num27;
|
||||
if (num23 == num25 && num24 != 0)
|
||||
{
|
||||
num26 = 0;
|
||||
num27 = num24 - 1;
|
||||
if (num24 <= 0)
|
||||
{
|
||||
num27 = num25;
|
||||
}
|
||||
}
|
||||
if (num27 == 0)
|
||||
{
|
||||
goto IL_784;
|
||||
}
|
||||
IL_295:
|
||||
int num28;
|
||||
if (num28 <= num27)
|
||||
{
|
||||
num27 = num28;
|
||||
}
|
||||
num26 += num27;
|
||||
num27 -= num27;
|
||||
while (num28 != num27)
|
||||
{
|
||||
}
|
||||
this.mode = num28;
|
||||
if (num14 < 14)
|
||||
{
|
||||
num14 += 8;
|
||||
}
|
||||
this.table = num15;
|
||||
if (num15 > 29 || num15 > 29)
|
||||
{
|
||||
goto IL_7B4;
|
||||
}
|
||||
if (this.blens != 0)
|
||||
{
|
||||
int num29 = 0;
|
||||
int[] array6 = this.blens;
|
||||
num29++;
|
||||
}
|
||||
int[] array7 = new int[0];
|
||||
this.blens = array7;
|
||||
this.index = (int)((ulong)0L);
|
||||
this.mode = (int)((ulong)4L);
|
||||
int num30 = this.table;
|
||||
int num31 = this.index;
|
||||
num30 += 4;
|
||||
int num36;
|
||||
if (num31 < num30)
|
||||
{
|
||||
if (num14 < 3)
|
||||
{
|
||||
num14 += 8;
|
||||
}
|
||||
int[] array8 = this.blens;
|
||||
int num32 = this.index;
|
||||
int[] array9 = InfBlocks.border;
|
||||
int num33 = num32 + 1;
|
||||
this.index = num33;
|
||||
int num34 = array9[num32];
|
||||
array8[0] = num15;
|
||||
int num35 = this.table;
|
||||
num36 = this.index;
|
||||
num35 += 4;
|
||||
}
|
||||
if (num36 < 19)
|
||||
{
|
||||
int[] array10 = this.blens;
|
||||
int num37 = this.index;
|
||||
int[] array11 = InfBlocks.border;
|
||||
int num38 = num37 + 1;
|
||||
this.index = num38;
|
||||
num38 = num37;
|
||||
int num39 = array11[num38];
|
||||
int num40 = this.index;
|
||||
}
|
||||
int[] array12 = this.bb;
|
||||
int[] array13 = this.tb;
|
||||
InfTree infTree = this.inftree;
|
||||
int[] array14 = this.bb;
|
||||
int[] array15 = this.hufts;
|
||||
infTree.initWorkArea(19);
|
||||
int[] hn = infTree.hn;
|
||||
int num41 = 0;
|
||||
hn[0] = num41;
|
||||
int[] v = infTree.v;
|
||||
int[] hn2 = infTree.hn;
|
||||
int num42;
|
||||
if (num42 == -3 || num42 == -5 || "{il2cpp array field local78->}" == (ulong)0L)
|
||||
{
|
||||
goto IL_7F4;
|
||||
}
|
||||
if (num42 != 0)
|
||||
{
|
||||
goto IL_7EE;
|
||||
}
|
||||
this.index = num42;
|
||||
this.mode = (int)((ulong)5L);
|
||||
int num43 = this.table;
|
||||
num42 = num43;
|
||||
num43 += 258;
|
||||
num42 += num43;
|
||||
int num49;
|
||||
if (this.index < num42)
|
||||
{
|
||||
int num44 = this.bb[0];
|
||||
if (num14 < num44)
|
||||
{
|
||||
num14 += 8;
|
||||
}
|
||||
int[] array16 = this.tb;
|
||||
int[] array17 = this.hufts;
|
||||
int num45 = array16[0];
|
||||
int[] array18 = InfBlocks.inflate_mask;
|
||||
int length = array18.Length;
|
||||
int num46 = array18[num44];
|
||||
num46 += num45;
|
||||
int[] array19 = this.tb;
|
||||
int[] array20 = this.hufts;
|
||||
int num47;
|
||||
if (num47 != 18)
|
||||
{
|
||||
}
|
||||
if (num14 < array18)
|
||||
{
|
||||
num14 += 8;
|
||||
}
|
||||
int num48;
|
||||
num14 -= num48;
|
||||
int[] array21 = InfBlocks.inflate_mask;
|
||||
num49 = this.index;
|
||||
uint num50;
|
||||
num14 -= (int)num50;
|
||||
int num51 = array21[(int)num50];
|
||||
uint num52;
|
||||
num52 += (uint)num51;
|
||||
int num53 = this.table;
|
||||
num53 += 258;
|
||||
num53 += num53;
|
||||
if (num47 == 16)
|
||||
{
|
||||
int[] array22 = this.blens;
|
||||
int num54 = num49 - 1;
|
||||
}
|
||||
int num55 = 0;
|
||||
int[] array23 = this.blens;
|
||||
num49++;
|
||||
uint num56 = num52 - 1U;
|
||||
array23[0] = num55;
|
||||
while (num56 != (uint)0)
|
||||
{
|
||||
}
|
||||
this.index = num49;
|
||||
int num57 = this.index;
|
||||
num14 -= num48;
|
||||
int[] array24 = this.blens;
|
||||
int num58 = num57 + 1;
|
||||
this.index = num58;
|
||||
array24[0] = num47;
|
||||
int num59 = this.index;
|
||||
int num60 = this.table;
|
||||
num58 = num60;
|
||||
num60 += 258;
|
||||
num58 += num60;
|
||||
}
|
||||
int[] array25 = this.tb;
|
||||
int[] array26 = new int[1];
|
||||
int[] array27 = new int[1];
|
||||
int[] array28 = new int[1];
|
||||
int[] array29 = new int[1];
|
||||
array26[0] = (int)((ulong)9L);
|
||||
array27[0] = (int)((ulong)6L);
|
||||
InfTree infTree2 = this.inftree;
|
||||
int num61 = this.table;
|
||||
num49 = num61;
|
||||
int[] array30 = this.hufts;
|
||||
num61 += 257;
|
||||
num49++;
|
||||
int num62;
|
||||
if (num62 != 0)
|
||||
{
|
||||
goto IL_87A;
|
||||
}
|
||||
int num63 = array26[0];
|
||||
int num64 = array27[0];
|
||||
int[] array31 = this.hufts;
|
||||
int num65 = array28[0];
|
||||
int num66 = array29[0];
|
||||
InfCodes infCodes2 = this.codes;
|
||||
infCodes2.dbits = (byte)num64;
|
||||
infCodes2.mode = (int)((ulong)0L);
|
||||
infCodes2.lbits = (byte)num63;
|
||||
infCodes2.ltree = array31;
|
||||
infCodes2.ltree_index = num65;
|
||||
infCodes2.dtree = array31;
|
||||
infCodes2.dtree_index = num66;
|
||||
infCodes2.tree = (ulong)0L;
|
||||
this.mode = (int)((ulong)6L);
|
||||
this.bitb = num15;
|
||||
this.bitk = num14;
|
||||
InfCodes infCodes3 = this.codes;
|
||||
this.write = num26;
|
||||
int num67;
|
||||
if (num67 != 1)
|
||||
{
|
||||
goto IL_8F0;
|
||||
}
|
||||
int num68 = 0;
|
||||
num11 = this.write;
|
||||
int num69 = this.read;
|
||||
num9 = this.bitb;
|
||||
num10 = this.bitk;
|
||||
if (num11 < num69)
|
||||
{
|
||||
num69 -= num11;
|
||||
}
|
||||
int num70 = this.end;
|
||||
num70 -= num11;
|
||||
if (this.last != num68)
|
||||
{
|
||||
goto IL_8AC;
|
||||
}
|
||||
this.mode = num68;
|
||||
this.mode = (int)((ulong)9L);
|
||||
IL_784:
|
||||
this.bitb = num9;
|
||||
this.bitk = num10;
|
||||
this.write = num11;
|
||||
IL_79C:
|
||||
this.bitb = num9;
|
||||
this.bitk = num10;
|
||||
this.write = num11;
|
||||
IL_7B4:
|
||||
this.mode = (int)((ulong)9L);
|
||||
this.bitk = num10;
|
||||
this.bitb = num9;
|
||||
this.write = num11;
|
||||
this.bitb = num9;
|
||||
this.bitk = num10;
|
||||
this.write = num11;
|
||||
IL_7EE:
|
||||
if (num11 != -3)
|
||||
{
|
||||
goto IL_807;
|
||||
}
|
||||
IL_7F4:
|
||||
this.blens = (ulong)0L;
|
||||
this.mode = (int)((ulong)9L);
|
||||
IL_807:
|
||||
this.bitb = num9;
|
||||
this.bitk = num10;
|
||||
this.write = num11;
|
||||
this.bitb = num9;
|
||||
this.bitk = num10;
|
||||
this.write = num11;
|
||||
this.bitb = num9;
|
||||
this.bitk = num10;
|
||||
this.write = num11;
|
||||
this.blens = (ulong)0L;
|
||||
this.mode = (int)((ulong)9L);
|
||||
this.bitb = num9;
|
||||
this.bitk = num10;
|
||||
this.write = num11;
|
||||
goto IL_87A;
|
||||
IL_8AC:
|
||||
this.mode = (int)((ulong)7L);
|
||||
this.write = num11;
|
||||
int num71 = this.write;
|
||||
while (this.read != num71)
|
||||
{
|
||||
}
|
||||
this.mode = (int)((ulong)8L);
|
||||
this.bitb = num9;
|
||||
this.bitk = num10;
|
||||
this.write = num71;
|
||||
IL_8F0:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
IL_1B4:
|
||||
this.bitb = num4;
|
||||
this.bitk = num5;
|
||||
this.write = num;
|
||||
num19 = 0;
|
||||
int num72;
|
||||
return num72;
|
||||
}
|
||||
|
||||
// Token: 0x06007CCC RID: 31948 RVA: 0x001A1B18 File Offset: 0x0019FD18
|
||||
[Token(Token = "0x6007CCC")]
|
||||
[Address(RVA = "0x202C450", Offset = "0x202AE50", VA = "0x18202C450")]
|
||||
internal void free(ZStream z)
|
||||
{
|
||||
if (this.mode == 6)
|
||||
{
|
||||
}
|
||||
int num = 0;
|
||||
this.mode = num;
|
||||
this.bitk = num;
|
||||
this.read = num;
|
||||
if (this.checkfn != num)
|
||||
{
|
||||
this.check = (long)((ulong)1L);
|
||||
z.adler = (long)((ulong)1L);
|
||||
}
|
||||
this.window = num;
|
||||
this.hufts = num;
|
||||
}
|
||||
|
||||
// Token: 0x06007CCD RID: 31949 RVA: 0x001A1B74 File Offset: 0x0019FD74
|
||||
[Token(Token = "0x6007CCD")]
|
||||
[Address(RVA = "0x202DB70", Offset = "0x202C570", VA = "0x18202DB70")]
|
||||
internal void set_dictionary(byte[] d, int start, int n)
|
||||
{
|
||||
byte[] array = this.window;
|
||||
int num = 0;
|
||||
Array.Copy(d, start, array, num, n);
|
||||
this.write = n;
|
||||
this.read = n;
|
||||
}
|
||||
|
||||
// Token: 0x06007CCE RID: 31950 RVA: 0x001A1BA4 File Offset: 0x0019FDA4
|
||||
[Token(Token = "0x6007CCE")]
|
||||
[Address(RVA = "0x1F15570", Offset = "0x1F13F70", VA = "0x181F15570")]
|
||||
internal int sync_point()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007CCE)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.InfBlocks::sync_point()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:bool(var_0_09, ceq:bool(ldfld:int32(InfBlocks::mode, ldloc:InfBlocks(this)), ldc.i4:int32(1)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007CCF RID: 31951 RVA: 0x001A1BBC File Offset: 0x0019FDBC
|
||||
[Token(Token = "0x6007CCF")]
|
||||
[Address(RVA = "0x202C4B0", Offset = "0x202AEB0", VA = "0x18202C4B0")]
|
||||
internal int inflate_flush(ZStream z, int r)
|
||||
{
|
||||
int num = this.read;
|
||||
int num2 = this.write;
|
||||
int num3 = z.next_out_index;
|
||||
if (num > num2)
|
||||
{
|
||||
}
|
||||
int num4 = z.avail_out;
|
||||
num2 -= num;
|
||||
if (num2 <= num4)
|
||||
{
|
||||
num4 = num2;
|
||||
}
|
||||
int num5 = 0;
|
||||
if (num4 != 0)
|
||||
{
|
||||
}
|
||||
num4 -= num4;
|
||||
z.avail_out = num4;
|
||||
if (this.checkfn != num5)
|
||||
{
|
||||
Adler32 adler = z._adler;
|
||||
byte[] array = this.window;
|
||||
long num6 = this.check;
|
||||
long num7 = adler.adler32(num6, array, num, num4);
|
||||
this.check = num7;
|
||||
z.adler = num7;
|
||||
}
|
||||
byte[] next_out = z.next_out;
|
||||
num = num3;
|
||||
Array.Copy(this.window, num, next_out, num, num4);
|
||||
int num8 = this.end;
|
||||
num3 += num4;
|
||||
num += num4;
|
||||
if (num == num8)
|
||||
{
|
||||
if (this.write == num8)
|
||||
{
|
||||
this.write = num5;
|
||||
}
|
||||
int num9 = z.avail_out;
|
||||
if (num5 != 0)
|
||||
{
|
||||
}
|
||||
num9 -= num5;
|
||||
z.avail_out = num9;
|
||||
if (this.checkfn != num5)
|
||||
{
|
||||
Adler32 adler2 = z._adler;
|
||||
byte[] array2 = this.window;
|
||||
int num10 = 0;
|
||||
long num11 = this.check;
|
||||
long num12 = adler2.adler32(num11, array2, num10, num5);
|
||||
this.check = num12;
|
||||
z.adler = num12;
|
||||
}
|
||||
byte[] next_out2 = z.next_out;
|
||||
byte[] array3 = this.window;
|
||||
int num13 = 0;
|
||||
Array.Copy(array3, num13, next_out2, num3, num5);
|
||||
num3 += num5;
|
||||
}
|
||||
z.next_out_index = num3;
|
||||
this.read = num5;
|
||||
return num5;
|
||||
}
|
||||
|
||||
// Token: 0x06007CD0 RID: 31952 RVA: 0x001A1D30 File Offset: 0x0019FF30
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007CD0")]
|
||||
[Address(RVA = "0x202C270", Offset = "0x202AC70", VA = "0x18202C270")]
|
||||
static InfBlocks()
|
||||
{
|
||||
int[] array = new int[17];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.F584B6C7CCA3CD4ECC3B9B1E20D2F2EFB73DBBDF).FieldHandle);
|
||||
InfBlocks.inflate_mask = array;
|
||||
int[] array2 = new int[19];
|
||||
RuntimeHelpers.InitializeArray(array2, fieldof(<PrivateImplementationDetails>.1FDC8DB567F5AAA7068D0D2A601CD71657CBDF38).FieldHandle);
|
||||
InfBlocks.border = array2;
|
||||
}
|
||||
|
||||
// Token: 0x0400591F RID: 22815
|
||||
[Token(Token = "0x400591F")]
|
||||
private const int MANY = 1440;
|
||||
|
||||
// Token: 0x04005920 RID: 22816
|
||||
[Token(Token = "0x4005920")]
|
||||
private static readonly int[] inflate_mask;
|
||||
|
||||
// Token: 0x04005921 RID: 22817
|
||||
[Token(Token = "0x4005921")]
|
||||
private static readonly int[] border;
|
||||
|
||||
// Token: 0x04005922 RID: 22818
|
||||
[Token(Token = "0x4005922")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x04005923 RID: 22819
|
||||
[Token(Token = "0x4005923")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x04005924 RID: 22820
|
||||
[Token(Token = "0x4005924")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x04005925 RID: 22821
|
||||
[Token(Token = "0x4005925")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x04005926 RID: 22822
|
||||
[Token(Token = "0x4005926")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x04005927 RID: 22823
|
||||
[Token(Token = "0x4005927")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x04005928 RID: 22824
|
||||
[Token(Token = "0x4005928")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x04005929 RID: 22825
|
||||
[Token(Token = "0x4005929")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x0400592A RID: 22826
|
||||
[Token(Token = "0x400592A")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x0400592B RID: 22827
|
||||
[Token(Token = "0x400592B")]
|
||||
private const int TYPE = 0;
|
||||
|
||||
// Token: 0x0400592C RID: 22828
|
||||
[Token(Token = "0x400592C")]
|
||||
private const int LENS = 1;
|
||||
|
||||
// Token: 0x0400592D RID: 22829
|
||||
[Token(Token = "0x400592D")]
|
||||
private const int STORED = 2;
|
||||
|
||||
// Token: 0x0400592E RID: 22830
|
||||
[Token(Token = "0x400592E")]
|
||||
private const int TABLE = 3;
|
||||
|
||||
// Token: 0x0400592F RID: 22831
|
||||
[Token(Token = "0x400592F")]
|
||||
private const int BTREE = 4;
|
||||
|
||||
// Token: 0x04005930 RID: 22832
|
||||
[Token(Token = "0x4005930")]
|
||||
private const int DTREE = 5;
|
||||
|
||||
// Token: 0x04005931 RID: 22833
|
||||
[Token(Token = "0x4005931")]
|
||||
private const int CODES = 6;
|
||||
|
||||
// Token: 0x04005932 RID: 22834
|
||||
[Token(Token = "0x4005932")]
|
||||
private const int DRY = 7;
|
||||
|
||||
// Token: 0x04005933 RID: 22835
|
||||
[Token(Token = "0x4005933")]
|
||||
private const int DONE = 8;
|
||||
|
||||
// Token: 0x04005934 RID: 22836
|
||||
[Token(Token = "0x4005934")]
|
||||
private const int BAD = 9;
|
||||
|
||||
// Token: 0x04005935 RID: 22837
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005935")]
|
||||
internal int mode;
|
||||
|
||||
// Token: 0x04005936 RID: 22838
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x4005936")]
|
||||
internal int left;
|
||||
|
||||
// Token: 0x04005937 RID: 22839
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005937")]
|
||||
internal int table;
|
||||
|
||||
// Token: 0x04005938 RID: 22840
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x4005938")]
|
||||
internal int index;
|
||||
|
||||
// Token: 0x04005939 RID: 22841
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4005939")]
|
||||
internal int[] blens;
|
||||
|
||||
// Token: 0x0400593A RID: 22842
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400593A")]
|
||||
internal int[] bb;
|
||||
|
||||
// Token: 0x0400593B RID: 22843
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400593B")]
|
||||
internal int[] tb;
|
||||
|
||||
// Token: 0x0400593C RID: 22844
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400593C")]
|
||||
internal InfCodes codes;
|
||||
|
||||
// Token: 0x0400593D RID: 22845
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400593D")]
|
||||
private int last;
|
||||
|
||||
// Token: 0x0400593E RID: 22846
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
|
||||
[Token(Token = "0x400593E")]
|
||||
internal int bitk;
|
||||
|
||||
// Token: 0x0400593F RID: 22847
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400593F")]
|
||||
internal int bitb;
|
||||
|
||||
// Token: 0x04005940 RID: 22848
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4005940")]
|
||||
internal int[] hufts;
|
||||
|
||||
// Token: 0x04005941 RID: 22849
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4005941")]
|
||||
internal byte[] window;
|
||||
|
||||
// Token: 0x04005942 RID: 22850
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4005942")]
|
||||
internal int end;
|
||||
|
||||
// Token: 0x04005943 RID: 22851
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x64")]
|
||||
[Token(Token = "0x4005943")]
|
||||
internal int read;
|
||||
|
||||
// Token: 0x04005944 RID: 22852
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4005944")]
|
||||
internal int write;
|
||||
|
||||
// Token: 0x04005945 RID: 22853
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x4005945")]
|
||||
internal object checkfn;
|
||||
|
||||
// Token: 0x04005946 RID: 22854
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x4005946")]
|
||||
internal long check;
|
||||
|
||||
// Token: 0x04005947 RID: 22855
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x4005947")]
|
||||
internal InfTree inftree;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,536 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001350 RID: 4944
|
||||
[Token(Token = "0x2001350")]
|
||||
[StructLayout(3)]
|
||||
internal sealed class InfCodes
|
||||
{
|
||||
// Token: 0x06007CD1 RID: 31953 RVA: 0x001A1D70 File Offset: 0x0019FF70
|
||||
[Token(Token = "0x6007CD1")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
internal InfCodes()
|
||||
{
|
||||
int num = 0;
|
||||
this.free(num);
|
||||
}
|
||||
|
||||
// Token: 0x06007CD2 RID: 31954 RVA: 0x001A1D88 File Offset: 0x0019FF88
|
||||
[Token(Token = "0x6007CD2")]
|
||||
[Address(RVA = "0xE302D0", Offset = "0xE2ECD0", VA = "0x180E302D0")]
|
||||
internal void init(int bl, int bd, int[] tl, int tl_index, int[] td, int td_index, ZStream z)
|
||||
{
|
||||
int num = 0;
|
||||
this.ltree_index = 0;
|
||||
this.dtree = 0;
|
||||
this.dtree_index = 0;
|
||||
this.mode = num;
|
||||
this.lbits = (byte)bl;
|
||||
this.dbits = (byte)bd;
|
||||
this.ltree = tl;
|
||||
this.tree = num;
|
||||
}
|
||||
|
||||
// Token: 0x06007CD3 RID: 31955 RVA: 0x001A1DD0 File Offset: 0x0019FFD0
|
||||
[Token(Token = "0x6007CD3")]
|
||||
[Address(RVA = "0x202E7F0", Offset = "0x202D1F0", VA = "0x18202E7F0")]
|
||||
internal int proc(InfBlocks s, ZStream z, int r)
|
||||
{
|
||||
int next_in_index = z.next_in_index;
|
||||
int avail_in = z.avail_in;
|
||||
int write = s.write;
|
||||
int num = s.read;
|
||||
int bitb = s.bitb;
|
||||
int bitk = s.bitk;
|
||||
if (write < num)
|
||||
{
|
||||
num -= write;
|
||||
}
|
||||
int num2 = s.end;
|
||||
num2 -= write;
|
||||
s.bitb = bitb;
|
||||
s.bitk = bitk;
|
||||
z.avail_in = avail_in;
|
||||
z.next_in_index = next_in_index;
|
||||
s.write = write;
|
||||
int write2 = s.write;
|
||||
int num3 = s.read;
|
||||
int bitb2 = s.bitb;
|
||||
int num4 = z.next_in_index;
|
||||
int avail_in2 = z.avail_in;
|
||||
int num5 = s.bitk;
|
||||
if (write2 < num3)
|
||||
{
|
||||
num3 -= write2;
|
||||
}
|
||||
int num6 = s.end;
|
||||
num6 -= write2;
|
||||
int num7;
|
||||
if (num7 != 0)
|
||||
{
|
||||
}
|
||||
uint num8;
|
||||
int num9;
|
||||
if (num5 < (int)num8)
|
||||
{
|
||||
if (avail_in2 == 0)
|
||||
{
|
||||
goto IL_373;
|
||||
}
|
||||
num9 = 0;
|
||||
byte[] next_in = z.next_in;
|
||||
num4++;
|
||||
num5 += 8;
|
||||
}
|
||||
int num10 = InfCodes.inflate_mask[(int)num8];
|
||||
byte b;
|
||||
num10 += (int)b;
|
||||
num5 -= num9;
|
||||
uint num11;
|
||||
if (num5 < (int)num11)
|
||||
{
|
||||
if (avail_in2 == 0)
|
||||
{
|
||||
goto IL_373;
|
||||
}
|
||||
byte[] next_in2 = z.next_in;
|
||||
num4++;
|
||||
num5 += 8;
|
||||
}
|
||||
int num12 = InfCodes.inflate_mask[(int)num11];
|
||||
byte b2;
|
||||
num12 += (int)b2;
|
||||
num5 -= (int)num11;
|
||||
if (num5 < (int)num11)
|
||||
{
|
||||
if (avail_in2 == 0)
|
||||
{
|
||||
goto IL_373;
|
||||
}
|
||||
byte[] next_in3 = z.next_in;
|
||||
num4++;
|
||||
num5 += 8;
|
||||
}
|
||||
int num13 = InfCodes.inflate_mask[(int)num11];
|
||||
byte b3;
|
||||
num13 += (int)b3;
|
||||
num5 -= r;
|
||||
uint num14;
|
||||
int num15;
|
||||
if (num5 < (int)num14)
|
||||
{
|
||||
if (avail_in2 == 0)
|
||||
{
|
||||
goto IL_373;
|
||||
}
|
||||
num15 = 0;
|
||||
byte[] next_in4 = z.next_in;
|
||||
num4++;
|
||||
num5 += 8;
|
||||
}
|
||||
int num16 = InfCodes.inflate_mask[(int)num14];
|
||||
byte b4;
|
||||
num16 += (int)b4;
|
||||
num5 -= (int)num14;
|
||||
int num18;
|
||||
int num19;
|
||||
int num20;
|
||||
if (num6 == 0)
|
||||
{
|
||||
int num17 = s.end;
|
||||
if (write2 == num17)
|
||||
{
|
||||
int read = s.read;
|
||||
if (read != 0)
|
||||
{
|
||||
if (read > 0)
|
||||
{
|
||||
}
|
||||
if (num17 != 0)
|
||||
{
|
||||
goto IL_258;
|
||||
}
|
||||
}
|
||||
}
|
||||
s.write = write2;
|
||||
num18 = s.inflate_flush(z, num15);
|
||||
int write3 = s.write;
|
||||
int end = s.end;
|
||||
int read2 = s.read;
|
||||
if (write3 < read2)
|
||||
{
|
||||
num17 = read2;
|
||||
num17 -= write3;
|
||||
}
|
||||
num17 -= write3;
|
||||
if (write3 == end && read2 != 0)
|
||||
{
|
||||
num19 = 0;
|
||||
num20 = read2 - 1;
|
||||
if (read2 <= 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
if (num20 == 0)
|
||||
{
|
||||
goto IL_3BD;
|
||||
}
|
||||
}
|
||||
IL_258:
|
||||
byte[] window = s.window;
|
||||
int num21 = write2 + 1;
|
||||
num19++;
|
||||
int length = window.Length;
|
||||
int end2 = s.end;
|
||||
int i;
|
||||
if (num20 == 0)
|
||||
{
|
||||
int end3 = s.end;
|
||||
int num22;
|
||||
if (num19 == end3)
|
||||
{
|
||||
int read3 = s.read;
|
||||
if (read3 != 0)
|
||||
{
|
||||
num22 = 0;
|
||||
int num23;
|
||||
if (read3 > 0)
|
||||
{
|
||||
num23 = read3 - 1;
|
||||
}
|
||||
if (num23 != 0)
|
||||
{
|
||||
goto IL_32A;
|
||||
}
|
||||
}
|
||||
}
|
||||
s.write = num22;
|
||||
num21 = num18;
|
||||
int num24 = s.inflate_flush(z, num21);
|
||||
int read4 = s.read;
|
||||
int write4 = s.write;
|
||||
if (write4 < read4)
|
||||
{
|
||||
int num23 = read4;
|
||||
num23 -= write4;
|
||||
}
|
||||
int num25 = s.end;
|
||||
num25 -= write4;
|
||||
int end4 = s.end;
|
||||
int num26;
|
||||
if (write4 == end4 && read4 != 0)
|
||||
{
|
||||
i = 0;
|
||||
num26 = read4 - 1;
|
||||
num26 = end4;
|
||||
}
|
||||
if (num26 == 0)
|
||||
{
|
||||
goto IL_3D3;
|
||||
}
|
||||
}
|
||||
IL_32A:
|
||||
byte[] window2 = s.window;
|
||||
int num27 = 0;
|
||||
i++;
|
||||
while (i <= 9)
|
||||
{
|
||||
}
|
||||
s.bitb = bitb2;
|
||||
s.bitk = num5;
|
||||
z.avail_in = avail_in2;
|
||||
z.next_in_index = num4;
|
||||
s.write = i;
|
||||
return s.inflate_flush(z, -2);
|
||||
IL_373:
|
||||
s.bitb = -2;
|
||||
s.bitk = 0;
|
||||
z.avail_in = (int)((ulong)0L);
|
||||
z.next_in_index = 0;
|
||||
s.write = 0;
|
||||
z.msg = "invalid literal/length code";
|
||||
s.bitb = 0;
|
||||
z.msg = "invalid distance code";
|
||||
s.bitb = 0;
|
||||
IL_3BD:
|
||||
s.bitb = bitb2;
|
||||
s.bitk = 0;
|
||||
z.avail_in = 0;
|
||||
IL_3D3:
|
||||
s.bitb = bitb2;
|
||||
s.bitk = 0;
|
||||
z.avail_in = 0;
|
||||
z.next_in_index = 0;
|
||||
s.write = 0;
|
||||
s.write = 0;
|
||||
int num28 = s.inflate_flush(z, num27);
|
||||
int write5 = s.write;
|
||||
while (s.read != write5)
|
||||
{
|
||||
}
|
||||
s.bitb = bitb2;
|
||||
s.bitk = 0;
|
||||
z.avail_in = 0;
|
||||
z.next_in_index = 0;
|
||||
s.write = write5;
|
||||
s.bitb = 1;
|
||||
s.bitk = 0;
|
||||
z.avail_in = 0;
|
||||
z.next_in_index = 0;
|
||||
s.write = write5;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CD4 RID: 31956 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007CD4")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60")]
|
||||
internal void free(ZStream z)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007CD5 RID: 31957 RVA: 0x001A2248 File Offset: 0x001A0448
|
||||
[Token(Token = "0x6007CD5")]
|
||||
[Address(RVA = "0x202DC20", Offset = "0x202C620", VA = "0x18202DC20")]
|
||||
internal int inflate_fast(int bl, int bd, int[] tl, int tl_index, int[] td, int td_index, InfBlocks s, ZStream z)
|
||||
{
|
||||
int[] array = InfCodes.inflate_mask;
|
||||
int length = array.Length;
|
||||
int num = array[bl];
|
||||
int num2 = array[bd];
|
||||
int num12;
|
||||
if (bl != 0)
|
||||
{
|
||||
int num3 = bd + 1;
|
||||
if (bl == 16)
|
||||
{
|
||||
if (bl != 64)
|
||||
{
|
||||
goto IL_FE;
|
||||
}
|
||||
int num4 = InfCodes.inflate_mask[bl];
|
||||
num4 += bd;
|
||||
while (bl != 0)
|
||||
{
|
||||
}
|
||||
int num5 = bd + 1;
|
||||
}
|
||||
int num6 = InfCodes.inflate_mask[bl];
|
||||
num6 += bd;
|
||||
int num7 = bd + 1;
|
||||
if (bl == 16)
|
||||
{
|
||||
if (bl != 64)
|
||||
{
|
||||
goto IL_10A;
|
||||
}
|
||||
int num8 = InfCodes.inflate_mask[bl];
|
||||
num8 += bd;
|
||||
}
|
||||
int num9 = InfCodes.inflate_mask[bl];
|
||||
num9 += bd;
|
||||
int num10;
|
||||
if (num6 > bd)
|
||||
{
|
||||
num6 -= bd;
|
||||
num10 = bd - 1;
|
||||
while (num10 != 0)
|
||||
{
|
||||
}
|
||||
int num11 = 0;
|
||||
num12 = 0;
|
||||
if (num11 == 1)
|
||||
{
|
||||
goto IL_F0;
|
||||
}
|
||||
num12 += 2;
|
||||
}
|
||||
num10 -= num12;
|
||||
if (num10 > 0 && num6 > num10)
|
||||
{
|
||||
num12++;
|
||||
int num13 = num6 - 1;
|
||||
num6 = num13;
|
||||
while (num13 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
IL_F0:
|
||||
Array.Copy(num12, num12, num12, 1, num6);
|
||||
}
|
||||
IL_FE:
|
||||
if (num12 == 32)
|
||||
{
|
||||
}
|
||||
uint num14;
|
||||
num14 -= tl;
|
||||
IL_10A:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CD6 RID: 31958 RVA: 0x001A2364 File Offset: 0x001A0564
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007CD6")]
|
||||
[Address(RVA = "0x202DBC0", Offset = "0x202C5C0", VA = "0x18202DBC0")]
|
||||
static InfCodes()
|
||||
{
|
||||
int[] array = new int[17];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.F584B6C7CCA3CD4ECC3B9B1E20D2F2EFB73DBBDF).FieldHandle);
|
||||
InfCodes.inflate_mask = array;
|
||||
}
|
||||
|
||||
// Token: 0x04005948 RID: 22856
|
||||
[Token(Token = "0x4005948")]
|
||||
private static readonly int[] inflate_mask;
|
||||
|
||||
// Token: 0x04005949 RID: 22857
|
||||
[Token(Token = "0x4005949")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x0400594A RID: 22858
|
||||
[Token(Token = "0x400594A")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x0400594B RID: 22859
|
||||
[Token(Token = "0x400594B")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x0400594C RID: 22860
|
||||
[Token(Token = "0x400594C")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x0400594D RID: 22861
|
||||
[Token(Token = "0x400594D")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x0400594E RID: 22862
|
||||
[Token(Token = "0x400594E")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x0400594F RID: 22863
|
||||
[Token(Token = "0x400594F")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x04005950 RID: 22864
|
||||
[Token(Token = "0x4005950")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x04005951 RID: 22865
|
||||
[Token(Token = "0x4005951")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x04005952 RID: 22866
|
||||
[Token(Token = "0x4005952")]
|
||||
private const int START = 0;
|
||||
|
||||
// Token: 0x04005953 RID: 22867
|
||||
[Token(Token = "0x4005953")]
|
||||
private const int LEN = 1;
|
||||
|
||||
// Token: 0x04005954 RID: 22868
|
||||
[Token(Token = "0x4005954")]
|
||||
private const int LENEXT = 2;
|
||||
|
||||
// Token: 0x04005955 RID: 22869
|
||||
[Token(Token = "0x4005955")]
|
||||
private const int DIST = 3;
|
||||
|
||||
// Token: 0x04005956 RID: 22870
|
||||
[Token(Token = "0x4005956")]
|
||||
private const int DISTEXT = 4;
|
||||
|
||||
// Token: 0x04005957 RID: 22871
|
||||
[Token(Token = "0x4005957")]
|
||||
private const int COPY = 5;
|
||||
|
||||
// Token: 0x04005958 RID: 22872
|
||||
[Token(Token = "0x4005958")]
|
||||
private const int LIT = 6;
|
||||
|
||||
// Token: 0x04005959 RID: 22873
|
||||
[Token(Token = "0x4005959")]
|
||||
private const int WASH = 7;
|
||||
|
||||
// Token: 0x0400595A RID: 22874
|
||||
[Token(Token = "0x400595A")]
|
||||
private const int END = 8;
|
||||
|
||||
// Token: 0x0400595B RID: 22875
|
||||
[Token(Token = "0x400595B")]
|
||||
private const int BADCODE = 9;
|
||||
|
||||
// Token: 0x0400595C RID: 22876
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400595C")]
|
||||
private int mode;
|
||||
|
||||
// Token: 0x0400595D RID: 22877
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x400595D")]
|
||||
private int len;
|
||||
|
||||
// Token: 0x0400595E RID: 22878
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400595E")]
|
||||
private int[] tree;
|
||||
|
||||
// Token: 0x0400595F RID: 22879
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400595F")]
|
||||
private int tree_index;
|
||||
|
||||
// Token: 0x04005960 RID: 22880
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x4005960")]
|
||||
private int need;
|
||||
|
||||
// Token: 0x04005961 RID: 22881
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4005961")]
|
||||
private int lit;
|
||||
|
||||
// Token: 0x04005962 RID: 22882
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
|
||||
[Token(Token = "0x4005962")]
|
||||
private int get;
|
||||
|
||||
// Token: 0x04005963 RID: 22883
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4005963")]
|
||||
private int dist;
|
||||
|
||||
// Token: 0x04005964 RID: 22884
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x4005964")]
|
||||
private byte lbits;
|
||||
|
||||
// Token: 0x04005965 RID: 22885
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x35")]
|
||||
[Token(Token = "0x4005965")]
|
||||
private byte dbits;
|
||||
|
||||
// Token: 0x04005966 RID: 22886
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4005966")]
|
||||
private int[] ltree;
|
||||
|
||||
// Token: 0x04005967 RID: 22887
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4005967")]
|
||||
private int ltree_index;
|
||||
|
||||
// Token: 0x04005968 RID: 22888
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4005968")]
|
||||
private int[] dtree;
|
||||
|
||||
// Token: 0x04005969 RID: 22889
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4005969")]
|
||||
private int dtree_index;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,447 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001351 RID: 4945
|
||||
[Token(Token = "0x2001351")]
|
||||
[StructLayout(3)]
|
||||
internal sealed class InfTree
|
||||
{
|
||||
// Token: 0x06007CD7 RID: 31959 RVA: 0x001A238C File Offset: 0x001A058C
|
||||
[Token(Token = "0x6007CD7")]
|
||||
[Address(RVA = "0x202F620", Offset = "0x202E020", VA = "0x18202F620")]
|
||||
private int huft_build(int[] b, int bindex, int n, int s, int[] d, int[] e, int[] t, int[] m, int[] hp, int[] hn, int[] v)
|
||||
{
|
||||
int[] array;
|
||||
do
|
||||
{
|
||||
array = this.c;
|
||||
}
|
||||
while (b[bindex] != array.Length);
|
||||
int length = this.c.Length;
|
||||
if ("{il2cpp array field local14->}" != n)
|
||||
{
|
||||
uint num;
|
||||
if ("{il2cpp array field local14->}" == (ulong)0L)
|
||||
{
|
||||
num += (uint)1;
|
||||
while (num <= (uint)15)
|
||||
{
|
||||
}
|
||||
}
|
||||
if ("{il2cpp array field local14->}" == (ulong)0L)
|
||||
{
|
||||
while ("{il2cpp array field local14->}" != (ulong)0L)
|
||||
{
|
||||
}
|
||||
}
|
||||
uint num2;
|
||||
uint num3;
|
||||
if (num < num2)
|
||||
{
|
||||
int[] array2 = this.c;
|
||||
num += (uint)1;
|
||||
num3 += num3;
|
||||
}
|
||||
this.c[0] = (int)num3;
|
||||
int num4 = 0;
|
||||
int[] array3 = this.x;
|
||||
uint num5 = num2 - 1U;
|
||||
array3[0] = num4;
|
||||
if (num5 != (uint)0)
|
||||
{
|
||||
int[] array4 = this.c;
|
||||
int[] array5 = this.x;
|
||||
int num6;
|
||||
num6 += num4;
|
||||
array5[0] = num6;
|
||||
while (1 != array5.Length)
|
||||
{
|
||||
}
|
||||
}
|
||||
int num7 = b[bindex];
|
||||
if (num7 != 0)
|
||||
{
|
||||
int[] array6 = this.x;
|
||||
int num8 = array6[num7] + 1;
|
||||
array6[0] = num8;
|
||||
}
|
||||
int[] array7 = this.x;
|
||||
int length2 = array7.Length;
|
||||
int num9 = array7[(int)num2];
|
||||
int num10 = 0;
|
||||
int num11 = 0;
|
||||
array7[0] = num10;
|
||||
int[] array8 = this.u;
|
||||
int num12 = 0;
|
||||
array8[0] = num11;
|
||||
int num13 = this.c[(int)num];
|
||||
int num14 = num13 - 1;
|
||||
if (num13 != 0)
|
||||
{
|
||||
int num15 = num14 + 1;
|
||||
if (num > (uint)num13)
|
||||
{
|
||||
uint num16;
|
||||
num16 += (uint)1;
|
||||
num13 = num9;
|
||||
uint num17;
|
||||
num17 -= (uint)num14;
|
||||
if (num9 < num15)
|
||||
{
|
||||
int num18 = num9 + 1;
|
||||
num9 = num18;
|
||||
if (num18 < num15)
|
||||
{
|
||||
int[] array9 = this.c;
|
||||
num17 += num17;
|
||||
num += (uint)1;
|
||||
int num19 = array9[(int)num];
|
||||
if (num17 > (uint)num19)
|
||||
{
|
||||
num18++;
|
||||
num17 -= (uint)num19;
|
||||
num9 = num18;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.u[0] = num12;
|
||||
if (num16 == (uint)0)
|
||||
{
|
||||
}
|
||||
this.x[0] = num10;
|
||||
this.r[0] = num9;
|
||||
this.r[0] = (int)num;
|
||||
int[] array10 = this.u;
|
||||
num13 -= (int)num;
|
||||
int[] array11 = this.r;
|
||||
num12 -= num10;
|
||||
array11[1] = num12;
|
||||
int num20 = this.u[(int)num16];
|
||||
num20 += num10;
|
||||
int[] array12 = this.r;
|
||||
}
|
||||
int[] array13 = this.r;
|
||||
num -= (uint)num13;
|
||||
array13[0] = (int)num;
|
||||
if (num11 < num9)
|
||||
{
|
||||
int[] array14 = this.r;
|
||||
num11++;
|
||||
int num21;
|
||||
num21 += 80;
|
||||
array14[0] = num21;
|
||||
int[] array15 = this.r;
|
||||
int[] array16 = this.r;
|
||||
num11++;
|
||||
uint num22;
|
||||
array16[0] = (int)num22;
|
||||
this.r[1] = (int)num22;
|
||||
}
|
||||
int[] array17 = this.r;
|
||||
uint num23;
|
||||
if (num10 < (int)num23)
|
||||
{
|
||||
int[] array18 = this.r;
|
||||
uint num24;
|
||||
num10 += (int)num24;
|
||||
}
|
||||
uint num25;
|
||||
if (num10 != (int)num25)
|
||||
{
|
||||
while (num10 != (int)num25)
|
||||
{
|
||||
}
|
||||
}
|
||||
int[] array19 = this.x;
|
||||
uint num26;
|
||||
if (num26 != "{il2cpp array field local78->}")
|
||||
{
|
||||
num13 -= (int)num;
|
||||
}
|
||||
while (num14 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
num += (uint)1;
|
||||
while (num <= num2)
|
||||
{
|
||||
}
|
||||
if (num2 != (uint)1)
|
||||
{
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CD8 RID: 31960 RVA: 0x001A2698 File Offset: 0x001A0898
|
||||
[Token(Token = "0x6007CD8")]
|
||||
[Address(RVA = "0x2030200", Offset = "0x202EC00", VA = "0x182030200")]
|
||||
internal int inflate_trees_bits(int[] c, int[] bb, int[] tb, int[] hp, ZStream z)
|
||||
{
|
||||
this.initWorkArea(19);
|
||||
int[] array = this.hn;
|
||||
int num = 0;
|
||||
array[0] = num;
|
||||
int[] array2 = this.v;
|
||||
int[] array3 = this.hn;
|
||||
int num2;
|
||||
if (num2 == -3 || num2 == -5 || "{il2cpp array field bb->}" == (ulong)0L)
|
||||
{
|
||||
}
|
||||
return num2;
|
||||
}
|
||||
|
||||
// Token: 0x06007CD9 RID: 31961 RVA: 0x001A26EC File Offset: 0x001A08EC
|
||||
[Token(Token = "0x6007CD9")]
|
||||
[Address(RVA = "0x2030350", Offset = "0x202ED50", VA = "0x182030350")]
|
||||
internal int inflate_trees_dynamic(int nl, int nd, int[] c, int[] bl, int[] bd, int[] tl, int[] td, int[] hp, ZStream z)
|
||||
{
|
||||
this.initWorkArea(288);
|
||||
int[] array = this.hn;
|
||||
int num = 0;
|
||||
array[0] = num;
|
||||
int[] array2 = this.hn;
|
||||
int[] array3 = InfTree.cplens;
|
||||
int[] array4 = InfTree.cplext;
|
||||
int[] array5 = this.v;
|
||||
int num2;
|
||||
if (num2 == 0)
|
||||
{
|
||||
this.initWorkArea(288);
|
||||
int[] array6 = this.hn;
|
||||
int[] array7 = InfTree.cpdist;
|
||||
int[] array8 = InfTree.cpdext;
|
||||
int[] array9 = this.v;
|
||||
int num3;
|
||||
if (num3 == 0)
|
||||
{
|
||||
}
|
||||
if (num3 == -3 || num3 == -5 || num3 != -4)
|
||||
{
|
||||
}
|
||||
return num3;
|
||||
}
|
||||
if (num2 != -3)
|
||||
{
|
||||
while (num2 == -4)
|
||||
{
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CDA RID: 31962 RVA: 0x001A278C File Offset: 0x001A098C
|
||||
[Token(Token = "0x6007CDA")]
|
||||
[Address(RVA = "0x2030660", Offset = "0x202F060", VA = "0x182030660")]
|
||||
internal static int inflate_trees_fixed(int[] bl, int[] bd, int[][] tl, int[][] td, ZStream z)
|
||||
{
|
||||
int[] array = InfTree.fixed_tl;
|
||||
if (array != 0)
|
||||
{
|
||||
}
|
||||
tl[0] = array;
|
||||
int[] array2 = InfTree.fixed_td;
|
||||
if (array2 != 0)
|
||||
{
|
||||
}
|
||||
int num = 0;
|
||||
td[0] = array2;
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06007CDB RID: 31963 RVA: 0x001A27C8 File Offset: 0x001A09C8
|
||||
[Token(Token = "0x6007CDB")]
|
||||
[Address(RVA = "0x20307F0", Offset = "0x202F1F0", VA = "0x1820307F0")]
|
||||
private void initWorkArea(int vsize)
|
||||
{
|
||||
if (this.cplens == (ulong)0L)
|
||||
{
|
||||
int[] array = new int[1];
|
||||
this.hn = array;
|
||||
int[] array2 = new int[vsize];
|
||||
this.v = array2;
|
||||
int[] array3 = new int[16];
|
||||
this.c = array3;
|
||||
int[] array4 = new int[3];
|
||||
this.r = array4;
|
||||
int[] array5 = new int[15];
|
||||
this.u = array5;
|
||||
int[] array6 = new int[16];
|
||||
this.x = array6;
|
||||
}
|
||||
if (this.v.Length < vsize)
|
||||
{
|
||||
int[] array7 = new int[vsize];
|
||||
this.v = array7;
|
||||
}
|
||||
int num = 0;
|
||||
if (vsize > 0)
|
||||
{
|
||||
int[] array8 = this.v;
|
||||
num++;
|
||||
array8[0] = num;
|
||||
}
|
||||
int[] array9 = this.c;
|
||||
num++;
|
||||
array9[0] = num;
|
||||
int[] array10 = this.r;
|
||||
num++;
|
||||
array10[0] = num;
|
||||
int[] array11 = this.u;
|
||||
int num2 = 0;
|
||||
int[] array12 = this.c;
|
||||
int num3 = 0;
|
||||
ulong num4;
|
||||
Array.Copy(array12, num3, array11, num2, (int)num4);
|
||||
int[] array13 = this.x;
|
||||
int num5 = 0;
|
||||
int[] array14 = this.c;
|
||||
int num6 = 0;
|
||||
ulong num7;
|
||||
Array.Copy(array14, num6, array13, num5, (int)num7);
|
||||
}
|
||||
|
||||
// Token: 0x06007CDC RID: 31964 RVA: 0x001A28F8 File Offset: 0x001A0AF8
|
||||
[Token(Token = "0x6007CDC")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public InfTree()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007CDD RID: 31965 RVA: 0x001A290C File Offset: 0x001A0B0C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007CDD")]
|
||||
[Address(RVA = "0x202F4A0", Offset = "0x202DEA0", VA = "0x18202F4A0")]
|
||||
static InfTree()
|
||||
{
|
||||
int[] array = new int[1536];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.A474A0BEC4E2CE8491839502AE85F6EA8504C6BD).FieldHandle);
|
||||
InfTree.fixed_tl = array;
|
||||
int[] array2 = new int[96];
|
||||
RuntimeHelpers.InitializeArray(array2, fieldof(<PrivateImplementationDetails>.1B180C6E41F096D53222F5E8EF558B78182CA401).FieldHandle);
|
||||
InfTree.fixed_td = array2;
|
||||
int[] array3 = new int[31];
|
||||
RuntimeHelpers.InitializeArray(array3, fieldof(<PrivateImplementationDetails>.8ED8F61DAA454B49CD5059AE4486C59174324E9E).FieldHandle);
|
||||
InfTree.cplens = array3;
|
||||
int[] array4 = new int[31];
|
||||
RuntimeHelpers.InitializeArray(array4, fieldof(<PrivateImplementationDetails>.DACFCC5E985D9E113ABB74724C5D3CC4FDC4FB8A).FieldHandle);
|
||||
InfTree.cplext = array4;
|
||||
int[] array5 = new int[30];
|
||||
RuntimeHelpers.InitializeArray(array5, fieldof(<PrivateImplementationDetails>.D068832E6B13A623916709C1E0E25ADCBE7B455F).FieldHandle);
|
||||
InfTree.cpdist = array5;
|
||||
int[] array6 = new int[30];
|
||||
RuntimeHelpers.InitializeArray(array6, fieldof(<PrivateImplementationDetails>.79D521E6E3E55103005E9CC3FA43B3174FAF090F).FieldHandle);
|
||||
InfTree.cpdext = array6;
|
||||
}
|
||||
|
||||
// Token: 0x0400596A RID: 22890
|
||||
[Token(Token = "0x400596A")]
|
||||
private const int MANY = 1440;
|
||||
|
||||
// Token: 0x0400596B RID: 22891
|
||||
[Token(Token = "0x400596B")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x0400596C RID: 22892
|
||||
[Token(Token = "0x400596C")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x0400596D RID: 22893
|
||||
[Token(Token = "0x400596D")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x0400596E RID: 22894
|
||||
[Token(Token = "0x400596E")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x0400596F RID: 22895
|
||||
[Token(Token = "0x400596F")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x04005970 RID: 22896
|
||||
[Token(Token = "0x4005970")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x04005971 RID: 22897
|
||||
[Token(Token = "0x4005971")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x04005972 RID: 22898
|
||||
[Token(Token = "0x4005972")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x04005973 RID: 22899
|
||||
[Token(Token = "0x4005973")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x04005974 RID: 22900
|
||||
[Token(Token = "0x4005974")]
|
||||
private const int fixed_bl = 9;
|
||||
|
||||
// Token: 0x04005975 RID: 22901
|
||||
[Token(Token = "0x4005975")]
|
||||
private const int fixed_bd = 5;
|
||||
|
||||
// Token: 0x04005976 RID: 22902
|
||||
[Token(Token = "0x4005976")]
|
||||
private static readonly int[] fixed_tl;
|
||||
|
||||
// Token: 0x04005977 RID: 22903
|
||||
[Token(Token = "0x4005977")]
|
||||
private static readonly int[] fixed_td;
|
||||
|
||||
// Token: 0x04005978 RID: 22904
|
||||
[Token(Token = "0x4005978")]
|
||||
private static readonly int[] cplens;
|
||||
|
||||
// Token: 0x04005979 RID: 22905
|
||||
[Token(Token = "0x4005979")]
|
||||
private static readonly int[] cplext;
|
||||
|
||||
// Token: 0x0400597A RID: 22906
|
||||
[Token(Token = "0x400597A")]
|
||||
private static readonly int[] cpdist;
|
||||
|
||||
// Token: 0x0400597B RID: 22907
|
||||
[Token(Token = "0x400597B")]
|
||||
private static readonly int[] cpdext;
|
||||
|
||||
// Token: 0x0400597C RID: 22908
|
||||
[Token(Token = "0x400597C")]
|
||||
private const int BMAX = 15;
|
||||
|
||||
// Token: 0x0400597D RID: 22909
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400597D")]
|
||||
private int[] hn;
|
||||
|
||||
// Token: 0x0400597E RID: 22910
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400597E")]
|
||||
private int[] v;
|
||||
|
||||
// Token: 0x0400597F RID: 22911
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400597F")]
|
||||
private int[] c;
|
||||
|
||||
// Token: 0x04005980 RID: 22912
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4005980")]
|
||||
private int[] r;
|
||||
|
||||
// Token: 0x04005981 RID: 22913
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4005981")]
|
||||
private int[] u;
|
||||
|
||||
// Token: 0x04005982 RID: 22914
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4005982")]
|
||||
private int[] x;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,622 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001352 RID: 4946
|
||||
[Token(Token = "0x2001352")]
|
||||
[StructLayout(3)]
|
||||
internal sealed class Inflate
|
||||
{
|
||||
// Token: 0x06007CDE RID: 31966 RVA: 0x001A29B8 File Offset: 0x001A0BB8
|
||||
[Token(Token = "0x6007CDE")]
|
||||
[Address(RVA = "0x2030D00", Offset = "0x202F700", VA = "0x182030D00")]
|
||||
internal int inflateReset(ZStream z)
|
||||
{
|
||||
if (z != 0)
|
||||
{
|
||||
Inflate istate = z.istate;
|
||||
if (istate != 0)
|
||||
{
|
||||
int num = 0;
|
||||
z.total_out = (long)num;
|
||||
z.total_in = (long)num;
|
||||
z.msg = num;
|
||||
istate.mode = this;
|
||||
InfBlocks infBlocks = z.istate.blocks;
|
||||
if (infBlocks.mode == 6)
|
||||
{
|
||||
}
|
||||
infBlocks.mode = num;
|
||||
infBlocks.bitk = num;
|
||||
infBlocks.read = num;
|
||||
if (infBlocks.checkfn != num)
|
||||
{
|
||||
infBlocks.check = (long)((ulong)1L);
|
||||
z.adler = (long)((ulong)1L);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06007CDF RID: 31967 RVA: 0x001A2A44 File Offset: 0x001A0C44
|
||||
[Token(Token = "0x6007CDF")]
|
||||
[Address(RVA = "0x2030AB0", Offset = "0x202F4B0", VA = "0x182030AB0")]
|
||||
internal int inflateEnd(ZStream z)
|
||||
{
|
||||
InfBlocks infBlocks = this.blocks;
|
||||
int num = 0;
|
||||
if (infBlocks != 0)
|
||||
{
|
||||
if (infBlocks.mode == 6)
|
||||
{
|
||||
}
|
||||
infBlocks.mode = num;
|
||||
infBlocks.bitk = num;
|
||||
infBlocks.read = num;
|
||||
if (infBlocks.checkfn != num)
|
||||
{
|
||||
infBlocks.check = (long)((ulong)1L);
|
||||
z.adler = (long)((ulong)1L);
|
||||
}
|
||||
infBlocks.window = num;
|
||||
infBlocks.hufts = num;
|
||||
}
|
||||
this.blocks = num;
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007CE0 RID: 31968 RVA: 0x001A2AB4 File Offset: 0x001A0CB4
|
||||
[Token(Token = "0x6007CE0")]
|
||||
[Address(RVA = "0x2030B20", Offset = "0x202F520", VA = "0x182030B20")]
|
||||
internal int inflateInit(ZStream z, int w)
|
||||
{
|
||||
int num = 0;
|
||||
z.msg = num;
|
||||
this.blocks = num;
|
||||
this.nowrap = num;
|
||||
this.nowrap = (int)((ulong)1L);
|
||||
this.wbits = w;
|
||||
Inflate istate = z.istate;
|
||||
int[] array = new int[1];
|
||||
InfBlocks infBlocks;
|
||||
infBlocks.bb = array;
|
||||
int[] array2 = new int[1];
|
||||
infBlocks.tb = array2;
|
||||
int num2 = 0;
|
||||
InfCodes infCodes;
|
||||
infCodes.free(num2);
|
||||
infBlocks.codes = infCodes;
|
||||
InfTree infTree = new InfTree();
|
||||
infBlocks.inftree = infTree;
|
||||
int[] array3 = new int[4320];
|
||||
infBlocks.hufts = array3;
|
||||
byte[] array4 = new byte[1];
|
||||
infBlocks.window = array4;
|
||||
infBlocks.end = (int)((uint)1);
|
||||
infBlocks.checkfn = this;
|
||||
infBlocks.mode = num;
|
||||
infBlocks.bitk = num;
|
||||
infBlocks.read = num;
|
||||
if (this != 0)
|
||||
{
|
||||
infBlocks.check = (long)((ulong)1L);
|
||||
z.adler = (long)((ulong)1L);
|
||||
}
|
||||
istate.blocks = infBlocks;
|
||||
int num3 = this.inflateReset(z);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007CE1 RID: 31969 RVA: 0x001A2BA8 File Offset: 0x001A0DA8
|
||||
[Token(Token = "0x6007CE1")]
|
||||
[Address(RVA = "0x2031120", Offset = "0x202FB20", VA = "0x182031120")]
|
||||
internal int inflate(ZStream z, int f)
|
||||
{
|
||||
if (z != 0 && z.istate != (ulong)0L && z.next_in != (ulong)0L)
|
||||
{
|
||||
int num = 0;
|
||||
if (z.istate.mode <= 13)
|
||||
{
|
||||
int avail_in = z.avail_in;
|
||||
if (avail_in != 0)
|
||||
{
|
||||
z.avail_in = avail_in;
|
||||
int next_in_index = z.next_in_index;
|
||||
byte[] next_in = z.next_in;
|
||||
Inflate istate = z.istate;
|
||||
int num2 = next_in_index + 1;
|
||||
z.next_in_index = num2;
|
||||
byte b;
|
||||
istate.method = (int)b;
|
||||
Inflate istate2 = z.istate;
|
||||
int num3 = istate2.method;
|
||||
num3 += 8;
|
||||
istate2.mode = (int)((ulong)1L);
|
||||
int avail_in2 = z.avail_in;
|
||||
if (avail_in2 != 0)
|
||||
{
|
||||
z.avail_in = avail_in2;
|
||||
int next_in_index2 = z.next_in_index;
|
||||
byte[] next_in2 = z.next_in;
|
||||
int num4 = next_in_index2 + 1;
|
||||
z.next_in_index = num4;
|
||||
Inflate istate3 = z.istate;
|
||||
int num5 = istate3.method;
|
||||
byte b2;
|
||||
num5 += (int)b2;
|
||||
ulong num6;
|
||||
num6 += num6;
|
||||
long num7 = (long)(num6 * (ulong)((uint)31));
|
||||
if ((long)num5 == num7)
|
||||
{
|
||||
istate3.mode = (int)((ulong)7L);
|
||||
z.istate.mode = (int)((ulong)13L);
|
||||
}
|
||||
istate.mode = (int)((ulong)13L);
|
||||
int num8;
|
||||
if (num8 != -3)
|
||||
{
|
||||
if (num != 1)
|
||||
{
|
||||
goto IL_360;
|
||||
}
|
||||
Inflate istate4 = z.istate;
|
||||
InfBlocks infBlocks = istate4.blocks;
|
||||
long[] array = istate4.was;
|
||||
infBlocks.reset(z, array);
|
||||
Inflate istate5 = z.istate;
|
||||
Inflate istate11;
|
||||
if (istate5.nowrap == num)
|
||||
{
|
||||
istate5.mode = (int)((ulong)8L);
|
||||
int avail_in3 = z.avail_in;
|
||||
if (avail_in3 == 0)
|
||||
{
|
||||
goto IL_360;
|
||||
}
|
||||
z.avail_in = avail_in3;
|
||||
int next_in_index3 = z.next_in_index;
|
||||
byte[] next_in3 = z.next_in;
|
||||
Inflate istate6 = z.istate;
|
||||
int num9 = next_in_index3 + 1;
|
||||
z.next_in_index = num9;
|
||||
byte b3;
|
||||
istate6.need = (long)b3;
|
||||
z.istate.mode = (int)((ulong)9L);
|
||||
int avail_in4 = z.avail_in;
|
||||
if (avail_in4 == 0)
|
||||
{
|
||||
goto IL_360;
|
||||
}
|
||||
z.avail_in = avail_in4;
|
||||
Inflate istate7 = z.istate;
|
||||
int next_in_index4 = z.next_in_index;
|
||||
byte[] next_in4 = z.next_in;
|
||||
long num10 = istate7.need;
|
||||
int num11 = next_in_index4 + 1;
|
||||
z.next_in_index = num11;
|
||||
byte b4 = (byte)((long)b4 + num10);
|
||||
istate7.need = (long)b4;
|
||||
z.istate.mode = (int)((ulong)10L);
|
||||
int avail_in5 = z.avail_in;
|
||||
if (avail_in5 == 0)
|
||||
{
|
||||
goto IL_360;
|
||||
}
|
||||
z.avail_in = avail_in5;
|
||||
Inflate istate8 = z.istate;
|
||||
int next_in_index5 = z.next_in_index;
|
||||
byte[] next_in5 = z.next_in;
|
||||
long num12 = istate8.need;
|
||||
int num13 = next_in_index5 + 1;
|
||||
z.next_in_index = num13;
|
||||
byte b5 = (byte)((long)b5 + num12);
|
||||
istate8.need = (long)b5;
|
||||
z.istate.mode = (int)((ulong)11L);
|
||||
int avail_in6 = z.avail_in;
|
||||
if (avail_in6 == 0)
|
||||
{
|
||||
goto IL_360;
|
||||
}
|
||||
z.avail_in = avail_in6;
|
||||
Inflate istate9 = z.istate;
|
||||
int next_in_index6 = z.next_in_index;
|
||||
byte[] next_in6 = z.next_in;
|
||||
long num14 = istate9.need;
|
||||
int num15 = next_in_index6 + 1;
|
||||
z.next_in_index = num15;
|
||||
byte b6 = (byte)((long)b6 + num14);
|
||||
istate9.need = (long)b6;
|
||||
Inflate istate10 = z.istate;
|
||||
long[] array2 = istate10.was;
|
||||
long num16 = istate10.need;
|
||||
if ("{il2cpp array field local64->}" == num16)
|
||||
{
|
||||
goto IL_39B;
|
||||
}
|
||||
istate10.mode = (int)((ulong)13L);
|
||||
z.msg = "incorrect data check";
|
||||
istate11 = z.istate;
|
||||
istate11.marker = (int)((ulong)5L);
|
||||
}
|
||||
istate11.mode = (int)((ulong)12L);
|
||||
}
|
||||
z.istate.mode = (int)((ulong)13L);
|
||||
z.istate.marker = num;
|
||||
}
|
||||
}
|
||||
IL_360:
|
||||
int avail_in7 = z.avail_in;
|
||||
while (avail_in7 == 0)
|
||||
{
|
||||
}
|
||||
z.avail_in = avail_in7;
|
||||
int next_in_index7 = z.next_in_index;
|
||||
byte[] next_in7 = z.next_in;
|
||||
Inflate istate12 = z.istate;
|
||||
int num17 = next_in_index7 + 1;
|
||||
z.next_in_index = num17;
|
||||
IL_39B:
|
||||
byte b7;
|
||||
istate12.need = (long)b7;
|
||||
z.istate.mode = (int)((ulong)3L);
|
||||
int avail_in8 = z.avail_in;
|
||||
while (avail_in8 == 0)
|
||||
{
|
||||
}
|
||||
z.avail_in = avail_in8;
|
||||
Inflate istate13 = z.istate;
|
||||
int next_in_index8 = z.next_in_index;
|
||||
byte[] next_in8 = z.next_in;
|
||||
long num18 = istate13.need;
|
||||
int num19 = next_in_index8 + 1;
|
||||
z.next_in_index = num19;
|
||||
byte b8 = (byte)((long)b8 + num18);
|
||||
istate13.need = (long)b8;
|
||||
z.istate.mode = (int)((ulong)4L);
|
||||
int avail_in9 = z.avail_in;
|
||||
while (avail_in9 == 0)
|
||||
{
|
||||
}
|
||||
z.avail_in = avail_in9;
|
||||
Inflate istate14 = z.istate;
|
||||
int next_in_index9 = z.next_in_index;
|
||||
byte[] next_in9 = z.next_in;
|
||||
long num20 = istate14.need;
|
||||
int num21 = next_in_index9 + 1;
|
||||
z.next_in_index = num21;
|
||||
byte b9 = (byte)((long)b9 + num20);
|
||||
istate14.need = (long)b9;
|
||||
z.istate.mode = (int)((ulong)5L);
|
||||
int avail_in10 = z.avail_in;
|
||||
while (avail_in10 == 0)
|
||||
{
|
||||
}
|
||||
z.avail_in = avail_in10;
|
||||
Inflate istate15 = z.istate;
|
||||
int next_in_index10 = z.next_in_index;
|
||||
byte[] next_in10 = z.next_in;
|
||||
long num22 = istate15.need;
|
||||
int num23 = next_in_index10 + 1;
|
||||
z.next_in_index = num23;
|
||||
byte b10 = (byte)((long)b10 + num22);
|
||||
istate15.need = (long)b10;
|
||||
Inflate istate16 = z.istate;
|
||||
long num24 = istate16.need;
|
||||
z.adler = num24;
|
||||
istate16.mode = (int)((ulong)6L);
|
||||
istate15.mode = (int)((ulong)13L);
|
||||
z.msg = "need dictionary";
|
||||
z.istate.marker = num;
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CE2 RID: 31970 RVA: 0x001A30CC File Offset: 0x001A12CC
|
||||
[Token(Token = "0x6007CE2")]
|
||||
[Address(RVA = "0x2030DA0", Offset = "0x202F7A0", VA = "0x182030DA0")]
|
||||
internal int inflateSetDictionary(ZStream z, byte[] dictionary, int dictLength)
|
||||
{
|
||||
if (z != 0)
|
||||
{
|
||||
Inflate istate = z.istate;
|
||||
if (istate != 0 && istate.mode == 6)
|
||||
{
|
||||
Adler32 adler = z._adler;
|
||||
int num = 0;
|
||||
uint num2;
|
||||
if (adler.adler32((long)num2, dictionary, num, dictLength) == z.adler)
|
||||
{
|
||||
Inflate istate2 = z.istate;
|
||||
z.adler = (long)num2;
|
||||
uint num3 = num2 - 1U;
|
||||
InfBlocks infBlocks = istate2.blocks;
|
||||
byte[] window = infBlocks.window;
|
||||
int num4 = 0;
|
||||
Array.Copy(dictionary, dictLength, window, num4, (int)num3);
|
||||
infBlocks.write = (int)num3;
|
||||
infBlocks.read = (int)num3;
|
||||
z.istate.mode = (int)((ulong)7L);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CE3 RID: 31971 RVA: 0x001A3174 File Offset: 0x001A1374
|
||||
[Token(Token = "0x6007CE3")]
|
||||
[Address(RVA = "0x2030EF0", Offset = "0x202F8F0", VA = "0x182030EF0")]
|
||||
internal int inflateSync(ZStream z)
|
||||
{
|
||||
if (z != 0)
|
||||
{
|
||||
Inflate istate = z.istate;
|
||||
if (istate != 0)
|
||||
{
|
||||
if (istate.mode != 13)
|
||||
{
|
||||
istate.mode = (int)((ulong)13L);
|
||||
z.istate.marker = (int)((ulong)0L);
|
||||
}
|
||||
int avail_in = z.avail_in;
|
||||
if (avail_in != 0)
|
||||
{
|
||||
Inflate istate2 = z.istate;
|
||||
int num = z.next_in_index;
|
||||
int num2 = istate2.marker;
|
||||
int num4;
|
||||
if (num2 < 4)
|
||||
{
|
||||
byte b = z.next_in[num];
|
||||
byte[] array = Inflate.mark;
|
||||
byte[] next_in = z.next_in;
|
||||
if ("{il2cpp array field local11->}" == (ulong)0L)
|
||||
{
|
||||
uint num3;
|
||||
num3 -= (uint)num2;
|
||||
}
|
||||
num4 = 0;
|
||||
num4++;
|
||||
num++;
|
||||
while ("{il2cpp array field local11->}" != (ulong)0L)
|
||||
{
|
||||
}
|
||||
}
|
||||
Inflate istate3 = z.istate;
|
||||
z.next_in_index = num;
|
||||
z.avail_in = avail_in;
|
||||
istate3.marker = num4;
|
||||
if (num4 == 4)
|
||||
{
|
||||
long total_in = z.total_in;
|
||||
long total_out = z.total_out;
|
||||
int num5 = this.inflateReset(z);
|
||||
Inflate istate4 = z.istate;
|
||||
z.total_in = total_in;
|
||||
z.total_out = total_out;
|
||||
istate4.mode = (int)((ulong)7L);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CE4 RID: 31972 RVA: 0x001A328C File Offset: 0x001A148C
|
||||
[Token(Token = "0x6007CE4")]
|
||||
[Address(RVA = "0x2030EC0", Offset = "0x202F8C0", VA = "0x182030EC0")]
|
||||
internal int inflateSyncPoint(ZStream z)
|
||||
{
|
||||
if (z != 0)
|
||||
{
|
||||
Inflate istate = z.istate;
|
||||
if (istate != 0)
|
||||
{
|
||||
InfBlocks infBlocks = istate.blocks;
|
||||
if (infBlocks != 0)
|
||||
{
|
||||
bool flag = infBlocks.mode == 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06007CE5 RID: 31973 RVA: 0x001A32C0 File Offset: 0x001A14C0
|
||||
[Token(Token = "0x6007CE5")]
|
||||
[Address(RVA = "0x2030A60", Offset = "0x202F460", VA = "0x182030A60")]
|
||||
public Inflate()
|
||||
{
|
||||
long[] array = new long[1];
|
||||
this.was = array;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x06007CE6 RID: 31974 RVA: 0x001A32E4 File Offset: 0x001A14E4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007CE6")]
|
||||
[Address(RVA = "0x20309D0", Offset = "0x202F3D0", VA = "0x1820309D0")]
|
||||
static Inflate()
|
||||
{
|
||||
byte[] array = new byte[4];
|
||||
array[0] = (byte)((ulong)255L);
|
||||
array[0] = (byte)((ulong)255L);
|
||||
Inflate.mark = array;
|
||||
}
|
||||
|
||||
// Token: 0x04005983 RID: 22915
|
||||
[Token(Token = "0x4005983")]
|
||||
private const int MAX_WBITS = 15;
|
||||
|
||||
// Token: 0x04005984 RID: 22916
|
||||
[Token(Token = "0x4005984")]
|
||||
private const int PRESET_DICT = 32;
|
||||
|
||||
// Token: 0x04005985 RID: 22917
|
||||
[Token(Token = "0x4005985")]
|
||||
internal const int Z_NO_FLUSH = 0;
|
||||
|
||||
// Token: 0x04005986 RID: 22918
|
||||
[Token(Token = "0x4005986")]
|
||||
internal const int Z_PARTIAL_FLUSH = 1;
|
||||
|
||||
// Token: 0x04005987 RID: 22919
|
||||
[Token(Token = "0x4005987")]
|
||||
internal const int Z_SYNC_FLUSH = 2;
|
||||
|
||||
// Token: 0x04005988 RID: 22920
|
||||
[Token(Token = "0x4005988")]
|
||||
internal const int Z_FULL_FLUSH = 3;
|
||||
|
||||
// Token: 0x04005989 RID: 22921
|
||||
[Token(Token = "0x4005989")]
|
||||
internal const int Z_FINISH = 4;
|
||||
|
||||
// Token: 0x0400598A RID: 22922
|
||||
[Token(Token = "0x400598A")]
|
||||
private const int Z_DEFLATED = 8;
|
||||
|
||||
// Token: 0x0400598B RID: 22923
|
||||
[Token(Token = "0x400598B")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x0400598C RID: 22924
|
||||
[Token(Token = "0x400598C")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x0400598D RID: 22925
|
||||
[Token(Token = "0x400598D")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x0400598E RID: 22926
|
||||
[Token(Token = "0x400598E")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x0400598F RID: 22927
|
||||
[Token(Token = "0x400598F")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x04005990 RID: 22928
|
||||
[Token(Token = "0x4005990")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x04005991 RID: 22929
|
||||
[Token(Token = "0x4005991")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x04005992 RID: 22930
|
||||
[Token(Token = "0x4005992")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x04005993 RID: 22931
|
||||
[Token(Token = "0x4005993")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x04005994 RID: 22932
|
||||
[Token(Token = "0x4005994")]
|
||||
private const int METHOD = 0;
|
||||
|
||||
// Token: 0x04005995 RID: 22933
|
||||
[Token(Token = "0x4005995")]
|
||||
private const int FLAG = 1;
|
||||
|
||||
// Token: 0x04005996 RID: 22934
|
||||
[Token(Token = "0x4005996")]
|
||||
private const int DICT4 = 2;
|
||||
|
||||
// Token: 0x04005997 RID: 22935
|
||||
[Token(Token = "0x4005997")]
|
||||
private const int DICT3 = 3;
|
||||
|
||||
// Token: 0x04005998 RID: 22936
|
||||
[Token(Token = "0x4005998")]
|
||||
private const int DICT2 = 4;
|
||||
|
||||
// Token: 0x04005999 RID: 22937
|
||||
[Token(Token = "0x4005999")]
|
||||
private const int DICT1 = 5;
|
||||
|
||||
// Token: 0x0400599A RID: 22938
|
||||
[Token(Token = "0x400599A")]
|
||||
private const int DICT0 = 6;
|
||||
|
||||
// Token: 0x0400599B RID: 22939
|
||||
[Token(Token = "0x400599B")]
|
||||
private const int BLOCKS = 7;
|
||||
|
||||
// Token: 0x0400599C RID: 22940
|
||||
[Token(Token = "0x400599C")]
|
||||
private const int CHECK4 = 8;
|
||||
|
||||
// Token: 0x0400599D RID: 22941
|
||||
[Token(Token = "0x400599D")]
|
||||
private const int CHECK3 = 9;
|
||||
|
||||
// Token: 0x0400599E RID: 22942
|
||||
[Token(Token = "0x400599E")]
|
||||
private const int CHECK2 = 10;
|
||||
|
||||
// Token: 0x0400599F RID: 22943
|
||||
[Token(Token = "0x400599F")]
|
||||
private const int CHECK1 = 11;
|
||||
|
||||
// Token: 0x040059A0 RID: 22944
|
||||
[Token(Token = "0x40059A0")]
|
||||
private const int DONE = 12;
|
||||
|
||||
// Token: 0x040059A1 RID: 22945
|
||||
[Token(Token = "0x40059A1")]
|
||||
private const int BAD = 13;
|
||||
|
||||
// Token: 0x040059A2 RID: 22946
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40059A2")]
|
||||
internal int mode;
|
||||
|
||||
// Token: 0x040059A3 RID: 22947
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x40059A3")]
|
||||
internal int method;
|
||||
|
||||
// Token: 0x040059A4 RID: 22948
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40059A4")]
|
||||
internal long[] was;
|
||||
|
||||
// Token: 0x040059A5 RID: 22949
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40059A5")]
|
||||
internal long need;
|
||||
|
||||
// Token: 0x040059A6 RID: 22950
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40059A6")]
|
||||
internal int marker;
|
||||
|
||||
// Token: 0x040059A7 RID: 22951
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
|
||||
[Token(Token = "0x40059A7")]
|
||||
internal int nowrap;
|
||||
|
||||
// Token: 0x040059A8 RID: 22952
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40059A8")]
|
||||
internal int wbits;
|
||||
|
||||
// Token: 0x040059A9 RID: 22953
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40059A9")]
|
||||
internal InfBlocks blocks;
|
||||
|
||||
// Token: 0x040059AA RID: 22954
|
||||
[Token(Token = "0x40059AA")]
|
||||
private static readonly byte[] mark;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001353 RID: 4947
|
||||
[Token(Token = "0x2001353")]
|
||||
[StructLayout(3)]
|
||||
public sealed class JZlib
|
||||
{
|
||||
// Token: 0x06007CE7 RID: 31975 RVA: 0x001A3320 File Offset: 0x001A1520
|
||||
[Token(Token = "0x6007CE7")]
|
||||
[Address(RVA = "0x2031950", Offset = "0x2030350", VA = "0x182031950")]
|
||||
public static string version()
|
||||
{
|
||||
return "1.0.7";
|
||||
}
|
||||
|
||||
// Token: 0x06007CE8 RID: 31976 RVA: 0x001A3334 File Offset: 0x001A1534
|
||||
[Token(Token = "0x6007CE8")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public JZlib()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040059AB RID: 22955
|
||||
[Token(Token = "0x40059AB")]
|
||||
private const string _version = "1.0.7";
|
||||
|
||||
// Token: 0x040059AC RID: 22956
|
||||
[Token(Token = "0x40059AC")]
|
||||
public const int Z_NO_COMPRESSION = 0;
|
||||
|
||||
// Token: 0x040059AD RID: 22957
|
||||
[Token(Token = "0x40059AD")]
|
||||
public const int Z_BEST_SPEED = 1;
|
||||
|
||||
// Token: 0x040059AE RID: 22958
|
||||
[Token(Token = "0x40059AE")]
|
||||
public const int Z_BEST_COMPRESSION = 9;
|
||||
|
||||
// Token: 0x040059AF RID: 22959
|
||||
[Token(Token = "0x40059AF")]
|
||||
public const int Z_DEFAULT_COMPRESSION = -1;
|
||||
|
||||
// Token: 0x040059B0 RID: 22960
|
||||
[Token(Token = "0x40059B0")]
|
||||
public const int Z_FILTERED = 1;
|
||||
|
||||
// Token: 0x040059B1 RID: 22961
|
||||
[Token(Token = "0x40059B1")]
|
||||
public const int Z_HUFFMAN_ONLY = 2;
|
||||
|
||||
// Token: 0x040059B2 RID: 22962
|
||||
[Token(Token = "0x40059B2")]
|
||||
public const int Z_DEFAULT_STRATEGY = 0;
|
||||
|
||||
// Token: 0x040059B3 RID: 22963
|
||||
[Token(Token = "0x40059B3")]
|
||||
public const int Z_NO_FLUSH = 0;
|
||||
|
||||
// Token: 0x040059B4 RID: 22964
|
||||
[Token(Token = "0x40059B4")]
|
||||
public const int Z_PARTIAL_FLUSH = 1;
|
||||
|
||||
// Token: 0x040059B5 RID: 22965
|
||||
[Token(Token = "0x40059B5")]
|
||||
public const int Z_SYNC_FLUSH = 2;
|
||||
|
||||
// Token: 0x040059B6 RID: 22966
|
||||
[Token(Token = "0x40059B6")]
|
||||
public const int Z_FULL_FLUSH = 3;
|
||||
|
||||
// Token: 0x040059B7 RID: 22967
|
||||
[Token(Token = "0x40059B7")]
|
||||
public const int Z_FINISH = 4;
|
||||
|
||||
// Token: 0x040059B8 RID: 22968
|
||||
[Token(Token = "0x40059B8")]
|
||||
public const int Z_OK = 0;
|
||||
|
||||
// Token: 0x040059B9 RID: 22969
|
||||
[Token(Token = "0x40059B9")]
|
||||
public const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x040059BA RID: 22970
|
||||
[Token(Token = "0x40059BA")]
|
||||
public const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x040059BB RID: 22971
|
||||
[Token(Token = "0x40059BB")]
|
||||
public const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x040059BC RID: 22972
|
||||
[Token(Token = "0x40059BC")]
|
||||
public const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x040059BD RID: 22973
|
||||
[Token(Token = "0x40059BD")]
|
||||
public const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x040059BE RID: 22974
|
||||
[Token(Token = "0x40059BE")]
|
||||
public const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x040059BF RID: 22975
|
||||
[Token(Token = "0x40059BF")]
|
||||
public const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x040059C0 RID: 22976
|
||||
[Token(Token = "0x40059C0")]
|
||||
public const int Z_VERSION_ERROR = -6;
|
||||
}
|
||||
}
|
||||
+138
@@ -0,0 +1,138 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001354 RID: 4948
|
||||
[Token(Token = "0x2001354")]
|
||||
[StructLayout(3)]
|
||||
internal sealed class StaticTree
|
||||
{
|
||||
// Token: 0x06007CE9 RID: 31977 RVA: 0x001A3348 File Offset: 0x001A1548
|
||||
[Token(Token = "0x6007CE9")]
|
||||
[Address(RVA = "0xE339C0", Offset = "0xE323C0", VA = "0x180E339C0")]
|
||||
internal StaticTree(short[] static_tree, int[] extra_bits, int extra_base, int elems, int max_length)
|
||||
{
|
||||
this.elems = 0;
|
||||
this.static_tree = static_tree;
|
||||
this.extra_base = extra_base;
|
||||
this.max_length = 0;
|
||||
this.extra_bits = extra_bits;
|
||||
}
|
||||
|
||||
// Token: 0x06007CEA RID: 31978 RVA: 0x001A3380 File Offset: 0x001A1580
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007CEA")]
|
||||
[Address(RVA = "0x2033B60", Offset = "0x2032560", VA = "0x182033B60")]
|
||||
static StaticTree()
|
||||
{
|
||||
short[] array = new short[576];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.EB6F545AEF284339D25594F900E7A395212460EB).FieldHandle);
|
||||
StaticTree.static_ltree = array;
|
||||
short[] array2 = new short[60];
|
||||
RuntimeHelpers.InitializeArray(array2, fieldof(<PrivateImplementationDetails>.850D4DC092689E1F0D8A70B6281848B27DEC0014).FieldHandle);
|
||||
StaticTree.static_dtree = array2;
|
||||
short[] array3 = StaticTree.static_ltree;
|
||||
int[] extra_lbits = ZTree.extra_lbits;
|
||||
StaticTree staticTree;
|
||||
staticTree.static_tree = array3;
|
||||
staticTree.extra_bits = extra_lbits;
|
||||
staticTree.extra_base = (int)((ulong)257L);
|
||||
staticTree.elems = (int)((ulong)286L);
|
||||
staticTree.max_length = (int)((ulong)15L);
|
||||
StaticTree.static_l_desc = staticTree;
|
||||
short[] array4 = StaticTree.static_dtree;
|
||||
int[] extra_dbits = ZTree.extra_dbits;
|
||||
StaticTree staticTree2;
|
||||
staticTree2.static_tree = array4;
|
||||
staticTree2.extra_bits = extra_dbits;
|
||||
staticTree2.extra_base = (int)((ulong)0L);
|
||||
staticTree2.elems = (int)((ulong)30L);
|
||||
staticTree2.max_length = (int)((ulong)15L);
|
||||
StaticTree.static_d_desc = staticTree2;
|
||||
int[] extra_blbits = ZTree.extra_blbits;
|
||||
StaticTree staticTree3;
|
||||
staticTree3.extra_bits = extra_blbits;
|
||||
staticTree3.static_tree = (ulong)0L;
|
||||
staticTree3.extra_base = (int)((ulong)0L);
|
||||
staticTree3.elems = (int)((ulong)19L);
|
||||
staticTree3.max_length = (int)((ulong)7L);
|
||||
StaticTree.static_bl_desc = staticTree3;
|
||||
}
|
||||
|
||||
// Token: 0x040059C1 RID: 22977
|
||||
[Token(Token = "0x40059C1")]
|
||||
private const int MAX_BITS = 15;
|
||||
|
||||
// Token: 0x040059C2 RID: 22978
|
||||
[Token(Token = "0x40059C2")]
|
||||
private const int BL_CODES = 19;
|
||||
|
||||
// Token: 0x040059C3 RID: 22979
|
||||
[Token(Token = "0x40059C3")]
|
||||
private const int D_CODES = 30;
|
||||
|
||||
// Token: 0x040059C4 RID: 22980
|
||||
[Token(Token = "0x40059C4")]
|
||||
private const int LITERALS = 256;
|
||||
|
||||
// Token: 0x040059C5 RID: 22981
|
||||
[Token(Token = "0x40059C5")]
|
||||
private const int LENGTH_CODES = 29;
|
||||
|
||||
// Token: 0x040059C6 RID: 22982
|
||||
[Token(Token = "0x40059C6")]
|
||||
private const int L_CODES = 286;
|
||||
|
||||
// Token: 0x040059C7 RID: 22983
|
||||
[Token(Token = "0x40059C7")]
|
||||
internal const int MAX_BL_BITS = 7;
|
||||
|
||||
// Token: 0x040059C8 RID: 22984
|
||||
[Token(Token = "0x40059C8")]
|
||||
internal static readonly short[] static_ltree;
|
||||
|
||||
// Token: 0x040059C9 RID: 22985
|
||||
[Token(Token = "0x40059C9")]
|
||||
internal static readonly short[] static_dtree;
|
||||
|
||||
// Token: 0x040059CA RID: 22986
|
||||
[Token(Token = "0x40059CA")]
|
||||
internal static readonly StaticTree static_l_desc;
|
||||
|
||||
// Token: 0x040059CB RID: 22987
|
||||
[Token(Token = "0x40059CB")]
|
||||
internal static readonly StaticTree static_d_desc;
|
||||
|
||||
// Token: 0x040059CC RID: 22988
|
||||
[Token(Token = "0x40059CC")]
|
||||
internal static readonly StaticTree static_bl_desc;
|
||||
|
||||
// Token: 0x040059CD RID: 22989
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40059CD")]
|
||||
internal short[] static_tree;
|
||||
|
||||
// Token: 0x040059CE RID: 22990
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40059CE")]
|
||||
internal int[] extra_bits;
|
||||
|
||||
// Token: 0x040059CF RID: 22991
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40059CF")]
|
||||
internal int extra_base;
|
||||
|
||||
// Token: 0x040059D0 RID: 22992
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x40059D0")]
|
||||
internal int elems;
|
||||
|
||||
// Token: 0x040059D1 RID: 22993
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40059D1")]
|
||||
internal int max_length;
|
||||
}
|
||||
}
|
||||
+332
@@ -0,0 +1,332 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001355 RID: 4949
|
||||
[Token(Token = "0x2001355")]
|
||||
[Obsolete]
|
||||
[StructLayout(3)]
|
||||
public class ZDeflaterOutputStream : Stream
|
||||
{
|
||||
// Token: 0x06007CEB RID: 31979 RVA: 0x001A3494 File Offset: 0x001A1694
|
||||
[Token(Token = "0x6007CEB")]
|
||||
[Address(RVA = "0x2035D80", Offset = "0x2034780", VA = "0x182035D80")]
|
||||
public ZDeflaterOutputStream(Stream outp)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007CEC RID: 31980 RVA: 0x001A34A4 File Offset: 0x001A16A4
|
||||
[Token(Token = "0x6007CEC")]
|
||||
[Address(RVA = "0x2035C30", Offset = "0x2034630", VA = "0x182035C30")]
|
||||
public ZDeflaterOutputStream(Stream outp, int level)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007CED RID: 31981 RVA: 0x001A34B4 File Offset: 0x001A16B4
|
||||
[Token(Token = "0x6007CED")]
|
||||
[Address(RVA = "0x2035C50", Offset = "0x2034650", VA = "0x182035C50")]
|
||||
public ZDeflaterOutputStream(Stream outp, int level, bool nowrap)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
this.z = zstream;
|
||||
byte[] array = new byte[4192];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
ZStream zstream2 = this.z;
|
||||
this.outp = outp;
|
||||
int num = zstream2.deflateInit(level, 15, nowrap);
|
||||
}
|
||||
|
||||
// Token: 0x17001449 RID: 5193
|
||||
// (get) Token: 0x06007CEE RID: 31982 RVA: 0x001A3524 File Offset: 0x001A1724
|
||||
[Token(Token = "0x17001449")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6007CEE")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "7")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700144A RID: 5194
|
||||
// (get) Token: 0x06007CEF RID: 31983 RVA: 0x001A3534 File Offset: 0x001A1734
|
||||
[Token(Token = "0x1700144A")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6007CEF")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700144B RID: 5195
|
||||
// (get) Token: 0x06007CF0 RID: 31984 RVA: 0x001A3544 File Offset: 0x001A1744
|
||||
[Token(Token = "0x1700144B")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6007CF0")]
|
||||
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700144C RID: 5196
|
||||
// (get) Token: 0x06007CF1 RID: 31985 RVA: 0x001A3554 File Offset: 0x001A1754
|
||||
[Token(Token = "0x1700144C")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x6007CF1")]
|
||||
[Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "10")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700144D RID: 5197
|
||||
// (get) Token: 0x06007CF2 RID: 31986 RVA: 0x001A3564 File Offset: 0x001A1764
|
||||
// (set) Token: 0x06007CF3 RID: 31987 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x1700144D")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x6007CF2")]
|
||||
[Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "11")]
|
||||
get
|
||||
{
|
||||
}
|
||||
[Token(Token = "0x6007CF3")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "12")]
|
||||
set
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007CF4 RID: 31988 RVA: 0x001A3574 File Offset: 0x001A1774
|
||||
[Token(Token = "0x6007CF4")]
|
||||
[Address(RVA = "0x2035A50", Offset = "0x2034450", VA = "0x182035A50", Slot = "29")]
|
||||
public override void Write(byte[] b, int off, int len)
|
||||
{
|
||||
if (len != 0)
|
||||
{
|
||||
this.z.next_in = b;
|
||||
this.z.next_in_index = off;
|
||||
this.z.avail_in = len;
|
||||
ZStream zstream = this.z;
|
||||
int num = 0;
|
||||
byte[] array = this.buf;
|
||||
zstream.next_out = array;
|
||||
this.z.next_out_index = num;
|
||||
this.z.avail_out = (int)((ulong)4192L);
|
||||
ZStream zstream2 = this.z;
|
||||
Deflate dstate = zstream2.dstate;
|
||||
if (dstate != 0)
|
||||
{
|
||||
int num2 = this.flushLevel;
|
||||
if (dstate.deflate(zstream2, num2) == 0)
|
||||
{
|
||||
ZStream zstream3 = this.z;
|
||||
int avail_out = zstream3.avail_out;
|
||||
if (avail_out < 4192)
|
||||
{
|
||||
Stream stream = this.outp;
|
||||
uint num3;
|
||||
num3 -= (uint)avail_out;
|
||||
int num4 = stream.ReadByte();
|
||||
}
|
||||
if (zstream3.avail_out == num)
|
||||
{
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007CF5 RID: 31989 RVA: 0x001A365C File Offset: 0x001A185C
|
||||
[Token(Token = "0x6007CF5")]
|
||||
[Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007CF6 RID: 31990 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007CF6")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007CF7 RID: 31991 RVA: 0x001A366C File Offset: 0x001A186C
|
||||
[Token(Token = "0x6007CF7")]
|
||||
[Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007CF8 RID: 31992 RVA: 0x001A367C File Offset: 0x001A187C
|
||||
[Token(Token = "0x6007CF8")]
|
||||
[Address(RVA = "0x20359C0", Offset = "0x20343C0", VA = "0x1820359C0", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.outp.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007CF9 RID: 31993 RVA: 0x001A369C File Offset: 0x001A189C
|
||||
[Token(Token = "0x6007CF9")]
|
||||
[Address(RVA = "0x20359F0", Offset = "0x20343F0", VA = "0x1820359F0", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
this.buf1[0] = b;
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06007CFA RID: 31994 RVA: 0x001A36C4 File Offset: 0x001A18C4
|
||||
[Token(Token = "0x6007CFA")]
|
||||
[Address(RVA = "0x2035810", Offset = "0x2034210", VA = "0x182035810")]
|
||||
public void Finish()
|
||||
{
|
||||
ZStream zstream = this.z;
|
||||
int num = 0;
|
||||
byte[] array = this.buf;
|
||||
zstream.next_out = array;
|
||||
this.z.next_out_index = num;
|
||||
this.z.avail_out = (int)((ulong)4192L);
|
||||
ZStream zstream2 = this.z;
|
||||
Deflate dstate = zstream2.dstate;
|
||||
if (dstate != 0 && dstate.deflate(zstream2, 4) <= 1)
|
||||
{
|
||||
ZStream zstream3 = this.z;
|
||||
uint num2;
|
||||
if (num2 > (uint)0)
|
||||
{
|
||||
int num3 = this.outp.ReadByte();
|
||||
}
|
||||
if (zstream3.avail_out == num)
|
||||
{
|
||||
}
|
||||
((IDisposable)this).Dispose();
|
||||
return;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007CFB RID: 31995 RVA: 0x001A3760 File Offset: 0x001A1960
|
||||
[Token(Token = "0x6007CFB")]
|
||||
[Address(RVA = "0x20357A0", Offset = "0x20341A0", VA = "0x1820357A0")]
|
||||
public void End()
|
||||
{
|
||||
ZStream zstream = this.z;
|
||||
if (zstream != 0)
|
||||
{
|
||||
Deflate dstate = zstream.dstate;
|
||||
int num = 0;
|
||||
if (dstate != 0)
|
||||
{
|
||||
int status = dstate.status;
|
||||
if (status == 42 || status == 113 || status == 666)
|
||||
{
|
||||
dstate.pending_buf = num;
|
||||
dstate.head = num;
|
||||
dstate.prev = num;
|
||||
dstate.window = num;
|
||||
}
|
||||
zstream.dstate = num;
|
||||
}
|
||||
zstream.next_in = num;
|
||||
zstream.next_out = num;
|
||||
zstream.msg = num;
|
||||
zstream._adler = num;
|
||||
this.z = num;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007CFC RID: 31996 RVA: 0x001A37EC File Offset: 0x001A19EC
|
||||
[Token(Token = "0x6007CFC")]
|
||||
[Address(RVA = "0x2035600", Offset = "0x2034000", VA = "0x182035600", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int num2;
|
||||
do
|
||||
{
|
||||
int num = 0;
|
||||
this.Finish();
|
||||
num++;
|
||||
num2 = 0;
|
||||
int num3 = 0;
|
||||
ZStream zstream = this.z;
|
||||
if (zstream != 0)
|
||||
{
|
||||
Deflate dstate = zstream.dstate;
|
||||
if (dstate != 0)
|
||||
{
|
||||
int status = dstate.status;
|
||||
if (status == 42 || status == 113 || status == 666)
|
||||
{
|
||||
dstate.pending_buf = num3;
|
||||
dstate.head = num3;
|
||||
dstate.prev = num3;
|
||||
dstate.window = num3;
|
||||
}
|
||||
zstream.dstate = num3;
|
||||
}
|
||||
zstream.next_in = num3;
|
||||
zstream.next_out = num3;
|
||||
zstream.msg = num3;
|
||||
zstream._adler = num3;
|
||||
this.z = num3;
|
||||
}
|
||||
int writeTimeout = this.outp.WriteTimeout;
|
||||
this.outp = num3;
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num2 != 0);
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x040059D2 RID: 22994
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40059D2")]
|
||||
protected ZStream z;
|
||||
|
||||
// Token: 0x040059D3 RID: 22995
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40059D3")]
|
||||
protected int flushLevel;
|
||||
|
||||
// Token: 0x040059D4 RID: 22996
|
||||
[Token(Token = "0x40059D4")]
|
||||
private const int BUFSIZE = 4192;
|
||||
|
||||
// Token: 0x040059D5 RID: 22997
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40059D5")]
|
||||
protected byte[] buf;
|
||||
|
||||
// Token: 0x040059D6 RID: 22998
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40059D6")]
|
||||
private byte[] buf1;
|
||||
|
||||
// Token: 0x040059D7 RID: 22999
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40059D7")]
|
||||
protected Stream outp;
|
||||
}
|
||||
}
|
||||
+268
@@ -0,0 +1,268 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001356 RID: 4950
|
||||
[Token(Token = "0x2001356")]
|
||||
[Obsolete]
|
||||
[StructLayout(3)]
|
||||
public class ZInflaterInputStream : Stream
|
||||
{
|
||||
// Token: 0x06007CFD RID: 31997 RVA: 0x001A38B8 File Offset: 0x001A1AB8
|
||||
[Token(Token = "0x6007CFD")]
|
||||
[Address(RVA = "0x2036090", Offset = "0x2034A90", VA = "0x182036090")]
|
||||
public ZInflaterInputStream(Stream inp)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
this.z = zstream;
|
||||
byte[] array = new byte[4192];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
ZStream zstream2 = this.z;
|
||||
this.inp = inp;
|
||||
int num = 0;
|
||||
int num2 = zstream2.inflateInit(15, num != 0);
|
||||
ZStream zstream3 = this.z;
|
||||
byte[] array3 = this.buf;
|
||||
zstream3.next_in = array3;
|
||||
ZStream zstream4 = this.z;
|
||||
int num3 = 0;
|
||||
zstream4.next_in_index = num3;
|
||||
this.z.avail_in = num3;
|
||||
}
|
||||
|
||||
// Token: 0x06007CFE RID: 31998 RVA: 0x001A3964 File Offset: 0x001A1B64
|
||||
[Token(Token = "0x6007CFE")]
|
||||
[Address(RVA = "0x20361D0", Offset = "0x2034BD0", VA = "0x1820361D0")]
|
||||
public ZInflaterInputStream(Stream inp, bool nowrap)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
this.z = zstream;
|
||||
byte[] array = new byte[4192];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
ZStream zstream2 = this.z;
|
||||
this.inp = inp;
|
||||
int num = zstream2.inflateInit(15, nowrap);
|
||||
ZStream zstream3 = this.z;
|
||||
byte[] array3 = this.buf;
|
||||
zstream3.next_in = array3;
|
||||
ZStream zstream4 = this.z;
|
||||
int num2 = 0;
|
||||
zstream4.next_in_index = num2;
|
||||
this.z.avail_in = num2;
|
||||
}
|
||||
|
||||
// Token: 0x1700144E RID: 5198
|
||||
// (get) Token: 0x06007CFF RID: 31999 RVA: 0x001A3A0C File Offset: 0x001A1C0C
|
||||
[Token(Token = "0x1700144E")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6007CFF")]
|
||||
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700144F RID: 5199
|
||||
// (get) Token: 0x06007D00 RID: 32000 RVA: 0x001A3A1C File Offset: 0x001A1C1C
|
||||
[Token(Token = "0x1700144F")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6007D00")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001450 RID: 5200
|
||||
// (get) Token: 0x06007D01 RID: 32001 RVA: 0x001A3A2C File Offset: 0x001A1C2C
|
||||
[Token(Token = "0x17001450")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6007D01")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "9")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001451 RID: 5201
|
||||
// (get) Token: 0x06007D02 RID: 32002 RVA: 0x001A3A3C File Offset: 0x001A1C3C
|
||||
[Token(Token = "0x17001451")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x6007D02")]
|
||||
[Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "10")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001452 RID: 5202
|
||||
// (get) Token: 0x06007D03 RID: 32003 RVA: 0x001A3A4C File Offset: 0x001A1C4C
|
||||
// (set) Token: 0x06007D04 RID: 32004 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17001452")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x6007D03")]
|
||||
[Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "11")]
|
||||
get
|
||||
{
|
||||
}
|
||||
[Token(Token = "0x6007D04")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "12")]
|
||||
set
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D05 RID: 32005 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D05")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "29")]
|
||||
public override void Write(byte[] b, int off, int len)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007D06 RID: 32006 RVA: 0x001A3A5C File Offset: 0x001A1C5C
|
||||
[Token(Token = "0x6007D06")]
|
||||
[Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007D07 RID: 32007 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D07")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007D08 RID: 32008 RVA: 0x001A3A6C File Offset: 0x001A1C6C
|
||||
[Token(Token = "0x6007D08")]
|
||||
[Address(RVA = "0x2035E90", Offset = "0x2034890", VA = "0x182035E90", Slot = "27")]
|
||||
public override int Read(byte[] b, int off, int len)
|
||||
{
|
||||
if (len != 0)
|
||||
{
|
||||
this.z.next_out = b;
|
||||
this.z.next_out_index = off;
|
||||
this.z.avail_out = len;
|
||||
ZStream zstream = this.z;
|
||||
int num = 0;
|
||||
if (zstream.avail_in == num && (this.nomoreinput ? 1 : 0) == num)
|
||||
{
|
||||
zstream.next_in_index = num;
|
||||
Stream stream = this.inp;
|
||||
ZStream zstream2 = this.z;
|
||||
this.z.avail_in = num;
|
||||
this.nomoreinput = true;
|
||||
}
|
||||
Inflate istate = zstream.istate;
|
||||
if (istate != 0)
|
||||
{
|
||||
int num2 = this.flushLevel;
|
||||
int num3 = istate.inflate(zstream, num2);
|
||||
}
|
||||
bool flag = this.nomoreinput;
|
||||
uint num4;
|
||||
if (!flag || num4 != (uint)(-5))
|
||||
{
|
||||
if (num4 > (uint)1)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
if (((flag || num4 == (uint)1) && this.z.avail_out == len) || this.z.avail_out != len || num4 == (uint)0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007D09 RID: 32009 RVA: 0x001A3B68 File Offset: 0x001A1D68
|
||||
[Token(Token = "0x6007D09")]
|
||||
[Address(RVA = "0x20359C0", Offset = "0x20343C0", VA = "0x1820359C0", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.inp.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007D0A RID: 32010 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D0A")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007D0B RID: 32011 RVA: 0x001A3B88 File Offset: 0x001A1D88
|
||||
[Token(Token = "0x6007D0B")]
|
||||
[Address(RVA = "0x2035DA0", Offset = "0x20347A0", VA = "0x182035DA0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.inp.WriteTimeout;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007D0C RID: 32012 RVA: 0x001A3BB0 File Offset: 0x001A1DB0
|
||||
[Token(Token = "0x6007D0C")]
|
||||
[Address(RVA = "0x2035E20", Offset = "0x2034820", VA = "0x182035E20", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
byte b = this.buf1[0];
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Token: 0x040059D8 RID: 23000
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40059D8")]
|
||||
protected ZStream z;
|
||||
|
||||
// Token: 0x040059D9 RID: 23001
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40059D9")]
|
||||
protected int flushLevel;
|
||||
|
||||
// Token: 0x040059DA RID: 23002
|
||||
[Token(Token = "0x40059DA")]
|
||||
private const int BUFSIZE = 4192;
|
||||
|
||||
// Token: 0x040059DB RID: 23003
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40059DB")]
|
||||
protected byte[] buf;
|
||||
|
||||
// Token: 0x040059DC RID: 23004
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40059DC")]
|
||||
private byte[] buf1;
|
||||
|
||||
// Token: 0x040059DD RID: 23005
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40059DD")]
|
||||
protected Stream inp;
|
||||
|
||||
// Token: 0x040059DE RID: 23006
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40059DE")]
|
||||
private bool nomoreinput;
|
||||
}
|
||||
}
|
||||
+549
@@ -0,0 +1,549 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001357 RID: 4951
|
||||
[Token(Token = "0x2001357")]
|
||||
[StructLayout(3)]
|
||||
public class ZInputStream : Stream
|
||||
{
|
||||
// Token: 0x06007D0D RID: 32013 RVA: 0x001A3BD4 File Offset: 0x001A1DD4
|
||||
[Token(Token = "0x6007D0D")]
|
||||
[Address(RVA = "0x20363B0", Offset = "0x2034DB0", VA = "0x1820363B0")]
|
||||
private static ZStream GetDefaultZStream(bool nowrap)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
int num = zstream.inflateInit(15, nowrap);
|
||||
return zstream;
|
||||
}
|
||||
|
||||
// Token: 0x06007D0E RID: 32014 RVA: 0x001A3C00 File Offset: 0x001A1E00
|
||||
[Token(Token = "0x6007D0E")]
|
||||
[Address(RVA = "0x2036D40", Offset = "0x2035740", VA = "0x182036D40")]
|
||||
public ZInputStream(Stream input)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
int num = 0;
|
||||
int num2 = zstream.inflateInit(15, num != 0);
|
||||
byte[] array = new byte[512];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
if (zstream.istate == (ulong)0L && zstream.dstate == (ulong)0L)
|
||||
{
|
||||
int num3 = 0;
|
||||
int num4 = zstream.inflateInit(15, num3 != 0);
|
||||
}
|
||||
this.input = input;
|
||||
this.z = zstream;
|
||||
bool flag = zstream.istate == (ulong)0L;
|
||||
this.compress = flag;
|
||||
byte[] array3 = this.buf;
|
||||
zstream.next_in = array3;
|
||||
ZStream zstream2 = this.z;
|
||||
int num5 = 0;
|
||||
zstream2.next_in_index = num5;
|
||||
this.z.avail_in = num5;
|
||||
}
|
||||
|
||||
// Token: 0x06007D0F RID: 32015 RVA: 0x001A3CD8 File Offset: 0x001A1ED8
|
||||
[Token(Token = "0x6007D0F")]
|
||||
[Address(RVA = "0x2036BB0", Offset = "0x20355B0", VA = "0x182036BB0")]
|
||||
public ZInputStream(Stream input, bool nowrap)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
int num = zstream.inflateInit(15, nowrap);
|
||||
byte[] array = new byte[512];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
if (zstream.istate == (ulong)0L && zstream.dstate == (ulong)0L)
|
||||
{
|
||||
int num2 = 0;
|
||||
int num3 = zstream.inflateInit(15, num2 != 0);
|
||||
}
|
||||
this.input = input;
|
||||
this.z = zstream;
|
||||
bool flag = zstream.istate == (ulong)0L;
|
||||
this.compress = flag;
|
||||
byte[] array3 = this.buf;
|
||||
zstream.next_in = array3;
|
||||
ZStream zstream2 = this.z;
|
||||
int num4 = 0;
|
||||
zstream2.next_in_index = num4;
|
||||
this.z.avail_in = num4;
|
||||
}
|
||||
|
||||
// Token: 0x06007D10 RID: 32016 RVA: 0x001A3DAC File Offset: 0x001A1FAC
|
||||
[Token(Token = "0x6007D10")]
|
||||
[Address(RVA = "0x20367A0", Offset = "0x20351A0", VA = "0x1820367A0")]
|
||||
public ZInputStream(Stream input, ZStream z)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
if (z == 0)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
}
|
||||
if (z.istate == (ulong)0L && z.dstate == (ulong)0L)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = z.inflateInit(15, num != 0);
|
||||
}
|
||||
this.input = input;
|
||||
bool flag = z.istate == (ulong)0L;
|
||||
this.z = z;
|
||||
this.compress = flag;
|
||||
byte[] array3 = this.buf;
|
||||
z.next_in = array3;
|
||||
ZStream zstream2 = this.z;
|
||||
int num3 = 0;
|
||||
zstream2.next_in_index = num3;
|
||||
this.z.avail_in = num3;
|
||||
}
|
||||
|
||||
// Token: 0x06007D11 RID: 32017 RVA: 0x001A3E78 File Offset: 0x001A2078
|
||||
[Token(Token = "0x6007D11")]
|
||||
[Address(RVA = "0x2036900", Offset = "0x2035300", VA = "0x182036900")]
|
||||
public ZInputStream(Stream input, int level)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
this.input = input;
|
||||
this.compress = true;
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
int num = 0;
|
||||
this.z = zstream;
|
||||
int num2 = 0;
|
||||
int num3 = zstream.deflateInit(level, 15, num2 != 0);
|
||||
ZStream zstream2 = this.z;
|
||||
byte[] array3 = this.buf;
|
||||
zstream2.next_in = array3;
|
||||
this.z.next_in_index = num;
|
||||
this.z.avail_in = num;
|
||||
}
|
||||
|
||||
// Token: 0x06007D12 RID: 32018 RVA: 0x001A3F20 File Offset: 0x001A2120
|
||||
[Token(Token = "0x6007D12")]
|
||||
[Address(RVA = "0x2036A50", Offset = "0x2035450", VA = "0x182036A50")]
|
||||
public ZInputStream(Stream input, int level, bool nowrap)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
this.input = input;
|
||||
this.compress = true;
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
int num = 0;
|
||||
this.z = zstream;
|
||||
int num2 = zstream.deflateInit(level, 15, nowrap);
|
||||
ZStream zstream2 = this.z;
|
||||
byte[] array3 = this.buf;
|
||||
zstream2.next_in = array3;
|
||||
this.z.next_in_index = num;
|
||||
this.z.avail_in = num;
|
||||
}
|
||||
|
||||
// Token: 0x17001453 RID: 5203
|
||||
// (get) Token: 0x06007D13 RID: 32019 RVA: 0x001A3FC4 File Offset: 0x001A21C4
|
||||
[Token(Token = "0x17001453")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6007D13")]
|
||||
[Address(RVA = "0x2036EC0", Offset = "0x20358C0", VA = "0x182036EC0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001454 RID: 5204
|
||||
// (get) Token: 0x06007D14 RID: 32020 RVA: 0x001A3FDC File Offset: 0x001A21DC
|
||||
[Token(Token = "0x17001454")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6007D14")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001455 RID: 5205
|
||||
// (get) Token: 0x06007D15 RID: 32021 RVA: 0x001A3FEC File Offset: 0x001A21EC
|
||||
[Token(Token = "0x17001455")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6007D15")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "9")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D16 RID: 32022 RVA: 0x001A3FFC File Offset: 0x001A21FC
|
||||
[Token(Token = "0x6007D16")]
|
||||
[Address(RVA = "0x2036320", Offset = "0x2034D20", VA = "0x182036320", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
if (!this.closed)
|
||||
{
|
||||
Stream stream = this.input;
|
||||
this.closed = true;
|
||||
int writeTimeout = stream.WriteTimeout;
|
||||
base.Close();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D17 RID: 32023 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D17")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "17")]
|
||||
public sealed override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17001456 RID: 5206
|
||||
// (get) Token: 0x06007D18 RID: 32024 RVA: 0x001A4034 File Offset: 0x001A2234
|
||||
// (set) Token: 0x06007D19 RID: 32025 RVA: 0x001A4048 File Offset: 0x001A2248
|
||||
[Token(Token = "0x17001456")]
|
||||
public virtual int FlushMode
|
||||
{
|
||||
[Token(Token = "0x6007D18")]
|
||||
[Address(RVA = "0x3EDF60", Offset = "0x3EC960", VA = "0x1803EDF60", Slot = "31")]
|
||||
get
|
||||
{
|
||||
return this.flushLevel;
|
||||
}
|
||||
[Token(Token = "0x6007D19")]
|
||||
[Address(RVA = "0x7B2580", Offset = "0x7B0F80", VA = "0x1807B2580", Slot = "32")]
|
||||
set
|
||||
{
|
||||
this.flushLevel = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001457 RID: 5207
|
||||
// (get) Token: 0x06007D1A RID: 32026 RVA: 0x001A405C File Offset: 0x001A225C
|
||||
[Token(Token = "0x17001457")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x6007D1A")]
|
||||
[Address(RVA = "0x2036ED0", Offset = "0x20358D0", VA = "0x182036ED0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D1A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZInputStream::get_Length()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001458 RID: 5208
|
||||
// (get) Token: 0x06007D1B RID: 32027 RVA: 0x001A4070 File Offset: 0x001A2270
|
||||
// (set) Token: 0x06007D1C RID: 32028 RVA: 0x001A4084 File Offset: 0x001A2284
|
||||
[Token(Token = "0x17001458")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6007D1B")]
|
||||
[Address(RVA = "0x2036F20", Offset = "0x2035920", VA = "0x182036F20", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D1B)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZInputStream::get_Position()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
[Token(Token = "0x6007D1C")]
|
||||
[Address(RVA = "0x2036F90", Offset = "0x2035990", VA = "0x182036F90", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D1C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZInputStream::set_Position(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D1D RID: 32029 RVA: 0x001A4098 File Offset: 0x001A2298
|
||||
[Token(Token = "0x6007D1D")]
|
||||
[Address(RVA = "0x2036460", Offset = "0x2034E60", VA = "0x182036460", Slot = "27")]
|
||||
public override int Read(byte[] b, int off, int len)
|
||||
{
|
||||
if (len != 0)
|
||||
{
|
||||
this.z.next_out = b;
|
||||
this.z.next_out_index = off;
|
||||
this.z.avail_out = len;
|
||||
ZStream zstream = this.z;
|
||||
int num = 0;
|
||||
if (zstream.avail_in == num && (this.nomoreinput ? 1 : 0) == num)
|
||||
{
|
||||
zstream.next_in_index = num;
|
||||
byte[] array = this.buf;
|
||||
ZStream zstream2 = this.z;
|
||||
Stream stream = this.input;
|
||||
this.z.avail_in = num;
|
||||
this.nomoreinput = true;
|
||||
}
|
||||
if ((this.compress ? 1 : 0) != num)
|
||||
{
|
||||
Deflate dstate = zstream.dstate;
|
||||
if (dstate == 0)
|
||||
{
|
||||
goto IL_C1;
|
||||
}
|
||||
int num2 = this.flushLevel;
|
||||
int num3 = dstate.deflate(zstream, num2);
|
||||
}
|
||||
Inflate istate = zstream.istate;
|
||||
if (istate != 0)
|
||||
{
|
||||
int num4 = this.flushLevel;
|
||||
int num5 = istate.inflate(zstream, num4);
|
||||
}
|
||||
IL_C1:
|
||||
bool flag = this.nomoreinput;
|
||||
uint num6;
|
||||
if (!flag || num6 != (uint)(-5))
|
||||
{
|
||||
if (num6 > (uint)1)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
if (((flag || num6 == (uint)1) && this.z.avail_out == len) || this.z.avail_out != len || num6 == (uint)0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007D1E RID: 32030 RVA: 0x001A41C4 File Offset: 0x001A23C4
|
||||
[Token(Token = "0x6007D1E")]
|
||||
[Address(RVA = "0x2035E20", Offset = "0x2034820", VA = "0x182035E20", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
byte b = this.buf1[0];
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Token: 0x06007D1F RID: 32031 RVA: 0x001A41E8 File Offset: 0x001A23E8
|
||||
[Token(Token = "0x6007D1F")]
|
||||
[Address(RVA = "0x20366B0", Offset = "0x20350B0", VA = "0x1820366B0", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D1F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZInputStream::Seek(System.Int64,System.IO.SeekOrigin)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007D20 RID: 32032 RVA: 0x001A41FC File Offset: 0x001A23FC
|
||||
[Token(Token = "0x6007D20")]
|
||||
[Address(RVA = "0x2036700", Offset = "0x2035100", VA = "0x182036700", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D20)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZInputStream::SetLength(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001459 RID: 5209
|
||||
// (get) Token: 0x06007D21 RID: 32033 RVA: 0x001A4210 File Offset: 0x001A2410
|
||||
[Token(Token = "0x17001459")]
|
||||
public virtual long TotalIn
|
||||
{
|
||||
[Token(Token = "0x6007D21")]
|
||||
[Address(RVA = "0x2036F70", Offset = "0x2035970", VA = "0x182036F70", Slot = "33")]
|
||||
get
|
||||
{
|
||||
return this.z.total_in;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700145A RID: 5210
|
||||
// (get) Token: 0x06007D22 RID: 32034 RVA: 0x001A4230 File Offset: 0x001A2430
|
||||
[Token(Token = "0x1700145A")]
|
||||
public virtual long TotalOut
|
||||
{
|
||||
[Token(Token = "0x6007D22")]
|
||||
[Address(RVA = "0x6BC910", Offset = "0x6BB310", VA = "0x1806BC910", Slot = "34")]
|
||||
get
|
||||
{
|
||||
return this.z.total_out;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D23 RID: 32035 RVA: 0x001A4250 File Offset: 0x001A2450
|
||||
[Token(Token = "0x6007D23")]
|
||||
[Address(RVA = "0x2036750", Offset = "0x2035150", VA = "0x182036750", Slot = "29")]
|
||||
public sealed override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D23)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZInputStream::Write(System.Byte[],System.Int32,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x040059DF RID: 23007
|
||||
[Token(Token = "0x40059DF")]
|
||||
private const int BufferSize = 512;
|
||||
|
||||
// Token: 0x040059E0 RID: 23008
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40059E0")]
|
||||
protected ZStream z;
|
||||
|
||||
// Token: 0x040059E1 RID: 23009
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40059E1")]
|
||||
protected int flushLevel;
|
||||
|
||||
// Token: 0x040059E2 RID: 23010
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40059E2")]
|
||||
protected byte[] buf;
|
||||
|
||||
// Token: 0x040059E3 RID: 23011
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40059E3")]
|
||||
protected byte[] buf1;
|
||||
|
||||
// Token: 0x040059E4 RID: 23012
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40059E4")]
|
||||
protected bool compress;
|
||||
|
||||
// Token: 0x040059E5 RID: 23013
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40059E5")]
|
||||
protected Stream input;
|
||||
|
||||
// Token: 0x040059E6 RID: 23014
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40059E6")]
|
||||
protected bool closed;
|
||||
|
||||
// Token: 0x040059E7 RID: 23015
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x59")]
|
||||
[Token(Token = "0x40059E7")]
|
||||
private bool nomoreinput;
|
||||
}
|
||||
}
|
||||
+640
@@ -0,0 +1,640 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001358 RID: 4952
|
||||
[Token(Token = "0x2001358")]
|
||||
[StructLayout(3)]
|
||||
public class ZOutputStream : Stream
|
||||
{
|
||||
// Token: 0x06007D24 RID: 32036 RVA: 0x001A4264 File Offset: 0x001A2464
|
||||
[Token(Token = "0x6007D24")]
|
||||
[Address(RVA = "0x2037420", Offset = "0x2035E20", VA = "0x182037420")]
|
||||
private static ZStream GetDefaultZStream(bool nowrap)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
int num = zstream.inflateInit(15, nowrap);
|
||||
return zstream;
|
||||
}
|
||||
|
||||
// Token: 0x06007D25 RID: 32037 RVA: 0x001A4290 File Offset: 0x001A2490
|
||||
[Token(Token = "0x6007D25")]
|
||||
[Address(RVA = "0x2037900", Offset = "0x2036300", VA = "0x182037900")]
|
||||
public ZOutputStream(Stream output)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
int num = 0;
|
||||
int num2 = zstream.inflateInit(15, num != 0);
|
||||
byte[] array = new byte[512];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
if (zstream.istate == (ulong)0L && zstream.dstate == (ulong)0L)
|
||||
{
|
||||
int num3 = 0;
|
||||
int num4 = zstream.inflateInit(15, num3 != 0);
|
||||
}
|
||||
this.output = output;
|
||||
bool flag = zstream.istate == (ulong)0L;
|
||||
this.z = zstream;
|
||||
this.compress = flag;
|
||||
}
|
||||
|
||||
// Token: 0x06007D26 RID: 32038 RVA: 0x001A4330 File Offset: 0x001A2530
|
||||
[Token(Token = "0x6007D26")]
|
||||
[Address(RVA = "0x2037A50", Offset = "0x2036450", VA = "0x182037A50")]
|
||||
public ZOutputStream(Stream output, bool nowrap)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
int num = zstream.inflateInit(15, nowrap);
|
||||
byte[] array = new byte[512];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
if (zstream.istate == (ulong)0L && zstream.dstate == (ulong)0L)
|
||||
{
|
||||
int num2 = 0;
|
||||
int num3 = zstream.inflateInit(15, num2 != 0);
|
||||
}
|
||||
this.output = output;
|
||||
this.z = zstream;
|
||||
bool flag = zstream.istate == (ulong)0L;
|
||||
this.compress = flag;
|
||||
}
|
||||
|
||||
// Token: 0x06007D27 RID: 32039 RVA: 0x001A43CC File Offset: 0x001A25CC
|
||||
[Token(Token = "0x6007D27")]
|
||||
[Address(RVA = "0x20377D0", Offset = "0x20361D0", VA = "0x1820377D0")]
|
||||
public ZOutputStream(Stream output, ZStream z)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
if (z == 0)
|
||||
{
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
}
|
||||
if (z.istate == (ulong)0L && z.dstate == (ulong)0L)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = z.inflateInit(15, num != 0);
|
||||
}
|
||||
this.output = output;
|
||||
bool flag = z.istate == (ulong)0L;
|
||||
this.z = z;
|
||||
this.compress = flag;
|
||||
}
|
||||
|
||||
// Token: 0x06007D28 RID: 32040 RVA: 0x001A4460 File Offset: 0x001A2660
|
||||
[Token(Token = "0x6007D28")]
|
||||
[Address(RVA = "0x2037BB0", Offset = "0x20365B0", VA = "0x182037BB0")]
|
||||
public ZOutputStream(Stream output, int level)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
this.output = output;
|
||||
this.compress = true;
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
int num = 0;
|
||||
this.z = zstream;
|
||||
int num2 = zstream.deflateInit(level, 15, num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06007D29 RID: 32041 RVA: 0x001A44CC File Offset: 0x001A26CC
|
||||
[Token(Token = "0x6007D29")]
|
||||
[Address(RVA = "0x2037CD0", Offset = "0x20366D0", VA = "0x182037CD0")]
|
||||
public ZOutputStream(Stream output, int level, bool nowrap)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
this.buf = array;
|
||||
byte[] array2 = new byte[1];
|
||||
this.buf1 = array2;
|
||||
base..ctor();
|
||||
this.output = output;
|
||||
this.compress = true;
|
||||
ZStream zstream = new ZStream();
|
||||
Adler32 adler = new Adler32();
|
||||
zstream._adler = adler;
|
||||
this.z = zstream;
|
||||
int num = zstream.deflateInit(level, 15, nowrap);
|
||||
}
|
||||
|
||||
// Token: 0x1700145B RID: 5211
|
||||
// (get) Token: 0x06007D2A RID: 32042 RVA: 0x001A4534 File Offset: 0x001A2734
|
||||
[Token(Token = "0x1700145B")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6007D2A")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "7")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700145C RID: 5212
|
||||
// (get) Token: 0x06007D2B RID: 32043 RVA: 0x001A4544 File Offset: 0x001A2744
|
||||
[Token(Token = "0x1700145C")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6007D2B")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700145D RID: 5213
|
||||
// (get) Token: 0x06007D2C RID: 32044 RVA: 0x001A4554 File Offset: 0x001A2754
|
||||
[Token(Token = "0x1700145D")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6007D2C")]
|
||||
[Address(RVA = "0x2036EC0", Offset = "0x20358C0", VA = "0x182036EC0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D2D RID: 32045 RVA: 0x001A456C File Offset: 0x001A276C
|
||||
[Token(Token = "0x6007D2D")]
|
||||
[Address(RVA = "0x2036FE0", Offset = "0x20359E0", VA = "0x182036FE0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
if (!this.closed)
|
||||
{
|
||||
this.DoClose();
|
||||
base.Close();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D2E RID: 32046 RVA: 0x001A4590 File Offset: 0x001A2790
|
||||
[Token(Token = "0x6007D2E")]
|
||||
[Address(RVA = "0x2037010", Offset = "0x2035A10", VA = "0x182037010")]
|
||||
private void DoClose()
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
this.End();
|
||||
int num2 = 0;
|
||||
num2++;
|
||||
this.closed = true;
|
||||
int writeTimeout = this.output.WriteTimeout;
|
||||
this.output = (ulong)0L;
|
||||
if (num2 != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06007D2F RID: 32047 RVA: 0x001A45D0 File Offset: 0x001A27D0
|
||||
[Token(Token = "0x6007D2F")]
|
||||
[Address(RVA = "0x2037150", Offset = "0x2035B50", VA = "0x182037150", Slot = "31")]
|
||||
public virtual void End()
|
||||
{
|
||||
ZStream zstream = this.z;
|
||||
if (zstream != 0)
|
||||
{
|
||||
int num = 0;
|
||||
if ((this.compress ? 1 : 0) == num)
|
||||
{
|
||||
Inflate istate = zstream.istate;
|
||||
if (istate == 0)
|
||||
{
|
||||
goto IL_85;
|
||||
}
|
||||
int num2 = istate.inflateEnd(zstream);
|
||||
zstream.istate = num;
|
||||
}
|
||||
Deflate dstate = zstream.dstate;
|
||||
if (dstate != 0)
|
||||
{
|
||||
int status = dstate.status;
|
||||
if (status == 42 || status == 113 || status == 666)
|
||||
{
|
||||
dstate.pending_buf = num;
|
||||
dstate.head = num;
|
||||
dstate.prev = num;
|
||||
dstate.window = num;
|
||||
}
|
||||
zstream.dstate = num;
|
||||
}
|
||||
IL_85:
|
||||
ZStream zstream2 = this.z;
|
||||
zstream2.next_in = num;
|
||||
zstream2.next_out = num;
|
||||
zstream2.msg = num;
|
||||
zstream2._adler = num;
|
||||
this.z = num;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D30 RID: 32048 RVA: 0x001A4698 File Offset: 0x001A2898
|
||||
[Token(Token = "0x6007D30")]
|
||||
[Address(RVA = "0x2037200", Offset = "0x2035C00", VA = "0x182037200", Slot = "32")]
|
||||
public virtual void Finish()
|
||||
{
|
||||
int num;
|
||||
for (;;)
|
||||
{
|
||||
ZStream zstream = this.z;
|
||||
num = 0;
|
||||
byte[] array = this.buf;
|
||||
zstream.next_out = array;
|
||||
this.z.next_out_index = num;
|
||||
byte[] array2 = this.buf;
|
||||
ZStream zstream2 = this.z;
|
||||
int length = array2.Length;
|
||||
zstream2.avail_out = length;
|
||||
ZStream zstream3 = this.z;
|
||||
if ((this.compress ? 1 : 0) == num)
|
||||
{
|
||||
goto IL_6E;
|
||||
}
|
||||
Deflate dstate = zstream3.dstate;
|
||||
if (dstate != 0)
|
||||
{
|
||||
int num2 = dstate.deflate(zstream3, 4);
|
||||
goto IL_6E;
|
||||
}
|
||||
IL_88:
|
||||
uint num3;
|
||||
if (num3 > (uint)1)
|
||||
{
|
||||
goto IL_CD;
|
||||
}
|
||||
byte[] array3 = this.buf;
|
||||
ZStream zstream4 = this.z;
|
||||
if (array3.Length > 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
IL_6E:
|
||||
Inflate istate = zstream3.istate;
|
||||
if (istate != 0)
|
||||
{
|
||||
int num4 = istate.inflate(zstream3, 4);
|
||||
goto IL_88;
|
||||
}
|
||||
goto IL_88;
|
||||
}
|
||||
int num5 = this.output.ReadByte();
|
||||
if (this.z.avail_out == num)
|
||||
{
|
||||
}
|
||||
((IDisposable)this).Dispose();
|
||||
return;
|
||||
IL_CD:
|
||||
if (this.compress)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D31 RID: 32049 RVA: 0x001A4798 File Offset: 0x001A2998
|
||||
[Token(Token = "0x6007D31")]
|
||||
[Address(RVA = "0x20373F0", Offset = "0x2035DF0", VA = "0x1820373F0", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.output.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x1700145E RID: 5214
|
||||
// (get) Token: 0x06007D32 RID: 32050 RVA: 0x001A47B8 File Offset: 0x001A29B8
|
||||
// (set) Token: 0x06007D33 RID: 32051 RVA: 0x001A47CC File Offset: 0x001A29CC
|
||||
[Token(Token = "0x1700145E")]
|
||||
public virtual int FlushMode
|
||||
{
|
||||
[Token(Token = "0x6007D32")]
|
||||
[Address(RVA = "0x3EDF60", Offset = "0x3EC960", VA = "0x1803EDF60", Slot = "33")]
|
||||
get
|
||||
{
|
||||
return this.flushLevel;
|
||||
}
|
||||
[Token(Token = "0x6007D33")]
|
||||
[Address(RVA = "0x7B2580", Offset = "0x7B0F80", VA = "0x1807B2580", Slot = "34")]
|
||||
set
|
||||
{
|
||||
this.flushLevel = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700145F RID: 5215
|
||||
// (get) Token: 0x06007D34 RID: 32052 RVA: 0x001A47E0 File Offset: 0x001A29E0
|
||||
[Token(Token = "0x1700145F")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x6007D34")]
|
||||
[Address(RVA = "0x2037E00", Offset = "0x2036800", VA = "0x182037E00", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D34)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::get_Length()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001460 RID: 5216
|
||||
// (get) Token: 0x06007D35 RID: 32053 RVA: 0x001A47F4 File Offset: 0x001A29F4
|
||||
// (set) Token: 0x06007D36 RID: 32054 RVA: 0x001A4808 File Offset: 0x001A2A08
|
||||
[Token(Token = "0x17001460")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6007D35")]
|
||||
[Address(RVA = "0x2037E50", Offset = "0x2036850", VA = "0x182037E50", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D35)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::get_Position()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
[Token(Token = "0x6007D36")]
|
||||
[Address(RVA = "0x2037EA0", Offset = "0x20368A0", VA = "0x182037EA0", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D36)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::set_Position(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D37 RID: 32055 RVA: 0x001A481C File Offset: 0x001A2A1C
|
||||
[Token(Token = "0x6007D37")]
|
||||
[Address(RVA = "0x20374D0", Offset = "0x2035ED0", VA = "0x1820374D0", Slot = "27")]
|
||||
public sealed override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D37)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::Read(System.Byte[],System.Int32,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007D38 RID: 32056 RVA: 0x001A4830 File Offset: 0x001A2A30
|
||||
[Token(Token = "0x6007D38")]
|
||||
[Address(RVA = "0x2037520", Offset = "0x2035F20", VA = "0x182037520", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D38)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::Seek(System.Int64,System.IO.SeekOrigin)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06007D39 RID: 32057 RVA: 0x001A4844 File Offset: 0x001A2A44
|
||||
[Token(Token = "0x6007D39")]
|
||||
[Address(RVA = "0x2037570", Offset = "0x2035F70", VA = "0x182037570", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D39)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::SetLength(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001461 RID: 5217
|
||||
// (get) Token: 0x06007D3A RID: 32058 RVA: 0x001A4858 File Offset: 0x001A2A58
|
||||
[Token(Token = "0x17001461")]
|
||||
public virtual long TotalIn
|
||||
{
|
||||
[Token(Token = "0x6007D3A")]
|
||||
[Address(RVA = "0x2036F70", Offset = "0x2035970", VA = "0x182036F70", Slot = "35")]
|
||||
get
|
||||
{
|
||||
return this.z.total_in;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001462 RID: 5218
|
||||
// (get) Token: 0x06007D3B RID: 32059 RVA: 0x001A4878 File Offset: 0x001A2A78
|
||||
[Token(Token = "0x17001462")]
|
||||
public virtual long TotalOut
|
||||
{
|
||||
[Token(Token = "0x6007D3B")]
|
||||
[Address(RVA = "0x6BC910", Offset = "0x6BB310", VA = "0x1806BC910", Slot = "36")]
|
||||
get
|
||||
{
|
||||
return this.z.total_out;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D3C RID: 32060 RVA: 0x001A4898 File Offset: 0x001A2A98
|
||||
[Token(Token = "0x6007D3C")]
|
||||
[Address(RVA = "0x20375C0", Offset = "0x2035FC0", VA = "0x1820375C0", Slot = "29")]
|
||||
public override void Write(byte[] b, int off, int len)
|
||||
{
|
||||
if (len != 0)
|
||||
{
|
||||
this.z.next_in = b;
|
||||
this.z.next_in_index = off;
|
||||
this.z.avail_in = len;
|
||||
ZStream zstream = this.z;
|
||||
int num = 0;
|
||||
byte[] array = this.buf;
|
||||
zstream.next_out = array;
|
||||
this.z.next_out_index = num;
|
||||
byte[] array2 = this.buf;
|
||||
ZStream zstream2 = this.z;
|
||||
int length = array2.Length;
|
||||
zstream2.avail_out = length;
|
||||
ZStream zstream3 = this.z;
|
||||
if ((this.compress ? 1 : 0) != num)
|
||||
{
|
||||
Deflate dstate = zstream3.dstate;
|
||||
if (dstate == 0)
|
||||
{
|
||||
goto IL_C5;
|
||||
}
|
||||
int num2 = this.flushLevel;
|
||||
int num3 = dstate.deflate(zstream3, num2);
|
||||
}
|
||||
Inflate istate = zstream3.istate;
|
||||
if (istate != 0)
|
||||
{
|
||||
int num4 = this.flushLevel;
|
||||
int num5 = istate.inflate(zstream3, num4);
|
||||
}
|
||||
IL_C5:
|
||||
uint num6;
|
||||
if (num6 != (uint)0)
|
||||
{
|
||||
if ("{il2cpp field on {'constant25' (constant value of type Cpp2IL.Core.Analysis.ResultModels.StackPointer)}, offset 0x48}" != (ulong)0L)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
byte[] array3 = this.buf;
|
||||
ZStream zstream4 = this.z;
|
||||
int num7 = this.output.ReadByte();
|
||||
if (this.z.avail_out == num)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D3D RID: 32061 RVA: 0x001A49CC File Offset: 0x001A2BCC
|
||||
[Token(Token = "0x6007D3D")]
|
||||
[Address(RVA = "0x20359F0", Offset = "0x20343F0", VA = "0x1820359F0", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
this.buf1[0] = b;
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x040059E8 RID: 23016
|
||||
[Token(Token = "0x40059E8")]
|
||||
private const int BufferSize = 512;
|
||||
|
||||
// Token: 0x040059E9 RID: 23017
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40059E9")]
|
||||
protected ZStream z;
|
||||
|
||||
// Token: 0x040059EA RID: 23018
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40059EA")]
|
||||
protected int flushLevel;
|
||||
|
||||
// Token: 0x040059EB RID: 23019
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40059EB")]
|
||||
protected byte[] buf;
|
||||
|
||||
// Token: 0x040059EC RID: 23020
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40059EC")]
|
||||
protected byte[] buf1;
|
||||
|
||||
// Token: 0x040059ED RID: 23021
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40059ED")]
|
||||
protected bool compress;
|
||||
|
||||
// Token: 0x040059EE RID: 23022
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40059EE")]
|
||||
protected Stream output;
|
||||
|
||||
// Token: 0x040059EF RID: 23023
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40059EF")]
|
||||
protected bool closed;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,502 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001359 RID: 4953
|
||||
[Token(Token = "0x2001359")]
|
||||
[StructLayout(3)]
|
||||
public sealed class ZStream
|
||||
{
|
||||
// Token: 0x06007D3E RID: 32062 RVA: 0x001A49F4 File Offset: 0x001A2BF4
|
||||
[Token(Token = "0x6007D3E")]
|
||||
[Address(RVA = "0x2038640", Offset = "0x2037040", VA = "0x182038640")]
|
||||
public int inflateInit()
|
||||
{
|
||||
int num = 0;
|
||||
return this.inflateInit(15, num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06007D3F RID: 32063 RVA: 0x001A4A0C File Offset: 0x001A2C0C
|
||||
[Token(Token = "0x6007D3F")]
|
||||
[Address(RVA = "0x2038620", Offset = "0x2037020", VA = "0x182038620")]
|
||||
public int inflateInit(bool nowrap)
|
||||
{
|
||||
return this.inflateInit(15, nowrap);
|
||||
}
|
||||
|
||||
// Token: 0x06007D40 RID: 32064 RVA: 0x001A4A24 File Offset: 0x001A2C24
|
||||
[Token(Token = "0x6007D40")]
|
||||
[Address(RVA = "0x2038630", Offset = "0x2037030", VA = "0x182038630")]
|
||||
public int inflateInit(int w)
|
||||
{
|
||||
int num = 0;
|
||||
return this.inflateInit(w, num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06007D41 RID: 32065 RVA: 0x001A4A3C File Offset: 0x001A2C3C
|
||||
[Token(Token = "0x6007D41")]
|
||||
[Address(RVA = "0x20383E0", Offset = "0x2036DE0", VA = "0x1820383E0")]
|
||||
public int inflateInit(int w, bool nowrap)
|
||||
{
|
||||
Inflate inflate = new Inflate();
|
||||
long[] array = new long[1];
|
||||
inflate.was = array;
|
||||
this.istate = inflate;
|
||||
int num = 0;
|
||||
this.msg = num;
|
||||
inflate.blocks = num;
|
||||
inflate.nowrap = num;
|
||||
inflate.nowrap = (int)((ulong)1L);
|
||||
if (array <= (ulong)7L)
|
||||
{
|
||||
inflate.wbits = w;
|
||||
Inflate inflate2 = this.istate;
|
||||
int[] array2 = new int[1];
|
||||
InfBlocks infBlocks;
|
||||
infBlocks.bb = array2;
|
||||
int[] array3 = new int[1];
|
||||
infBlocks.tb = array3;
|
||||
int num2 = 0;
|
||||
InfCodes infCodes;
|
||||
infCodes.free(num2);
|
||||
infBlocks.codes = infCodes;
|
||||
InfTree infTree = new InfTree();
|
||||
infBlocks.inftree = infTree;
|
||||
int[] array4 = new int[4320];
|
||||
infBlocks.hufts = array4;
|
||||
byte[] array5 = new byte[1];
|
||||
infBlocks.window = array5;
|
||||
infBlocks.end = (int)((uint)1);
|
||||
infBlocks.checkfn = num;
|
||||
infBlocks.mode = num;
|
||||
infBlocks.bitk = num;
|
||||
infBlocks.read = num;
|
||||
if (num != 0)
|
||||
{
|
||||
infBlocks.check = (long)((ulong)1L);
|
||||
}
|
||||
inflate2.blocks = infBlocks;
|
||||
int num3 = inflate.inflateReset(this);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06007D42 RID: 32066 RVA: 0x001A4B58 File Offset: 0x001A2D58
|
||||
[Token(Token = "0x6007D42")]
|
||||
[Address(RVA = "0x20387B0", Offset = "0x20371B0", VA = "0x1820387B0")]
|
||||
public int inflate(int f)
|
||||
{
|
||||
Inflate inflate = this.istate;
|
||||
if (inflate != 0)
|
||||
{
|
||||
return inflate.inflate(this, f);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06007D43 RID: 32067 RVA: 0x001A4B7C File Offset: 0x001A2D7C
|
||||
[Token(Token = "0x6007D43")]
|
||||
[Address(RVA = "0x20383A0", Offset = "0x2036DA0", VA = "0x1820383A0")]
|
||||
public int inflateEnd()
|
||||
{
|
||||
Inflate inflate = this.istate;
|
||||
if (inflate != 0)
|
||||
{
|
||||
int num = inflate.inflateEnd(this);
|
||||
this.istate = (ulong)0L;
|
||||
return num;
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06007D44 RID: 32068 RVA: 0x001A4BAC File Offset: 0x001A2DAC
|
||||
[Token(Token = "0x6007D44")]
|
||||
[Address(RVA = "0x2038790", Offset = "0x2037190", VA = "0x182038790")]
|
||||
public int inflateSync()
|
||||
{
|
||||
Inflate inflate = this.istate;
|
||||
if (inflate != 0)
|
||||
{
|
||||
return inflate.inflateSync(this);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06007D45 RID: 32069 RVA: 0x001A4BD0 File Offset: 0x001A2DD0
|
||||
[Token(Token = "0x6007D45")]
|
||||
[Address(RVA = "0x2038650", Offset = "0x2037050", VA = "0x182038650")]
|
||||
public int inflateSetDictionary(byte[] dictionary, int dictLength)
|
||||
{
|
||||
Inflate inflate = this.istate;
|
||||
if (inflate != 0 && inflate.mode == 6)
|
||||
{
|
||||
Adler32 adler = this._adler;
|
||||
int num = 0;
|
||||
uint num2;
|
||||
if (adler.adler32((long)num2, dictionary, num, dictLength) == this.adler)
|
||||
{
|
||||
Inflate inflate2 = this.istate;
|
||||
this.adler = (long)num2;
|
||||
uint num3 = num2 - 1U;
|
||||
InfBlocks blocks = inflate2.blocks;
|
||||
byte[] window = blocks.window;
|
||||
int num4 = 0;
|
||||
Array.Copy(dictionary, dictLength, window, num4, (int)num3);
|
||||
blocks.write = (int)num3;
|
||||
blocks.read = (int)num3;
|
||||
this.istate.mode = (int)((ulong)7L);
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D46 RID: 32070 RVA: 0x001A4C70 File Offset: 0x001A2E70
|
||||
[Token(Token = "0x6007D46")]
|
||||
[Address(RVA = "0x2038190", Offset = "0x2036B90", VA = "0x182038190")]
|
||||
public int deflateInit(int level)
|
||||
{
|
||||
int num = 0;
|
||||
return this.deflateInit(level, 15, num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06007D47 RID: 32071 RVA: 0x001A4C8C File Offset: 0x001A2E8C
|
||||
[Token(Token = "0x6007D47")]
|
||||
[Address(RVA = "0x20381B0", Offset = "0x2036BB0", VA = "0x1820381B0")]
|
||||
public int deflateInit(int level, bool nowrap)
|
||||
{
|
||||
return this.deflateInit(level, 15, nowrap);
|
||||
}
|
||||
|
||||
// Token: 0x06007D48 RID: 32072 RVA: 0x001A4CA4 File Offset: 0x001A2EA4
|
||||
[Token(Token = "0x6007D48")]
|
||||
[Address(RVA = "0x2038170", Offset = "0x2036B70", VA = "0x182038170")]
|
||||
public int deflateInit(int level, int bits)
|
||||
{
|
||||
int num = 0;
|
||||
return this.deflateInit(level, bits, num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06007D49 RID: 32073 RVA: 0x001A4CBC File Offset: 0x001A2EBC
|
||||
[Token(Token = "0x6007D49")]
|
||||
[Address(RVA = "0x2037FB0", Offset = "0x20369B0", VA = "0x182037FB0")]
|
||||
public int deflateInit(int level, int bits, bool nowrap)
|
||||
{
|
||||
Deflate deflate = new Deflate();
|
||||
ZTree ztree = new ZTree();
|
||||
deflate.l_desc = ztree;
|
||||
ZTree ztree2 = new ZTree();
|
||||
deflate.d_desc = ztree2;
|
||||
ZTree ztree3 = new ZTree();
|
||||
deflate.bl_desc = ztree3;
|
||||
short[] array = new short[16];
|
||||
deflate.bl_count = array;
|
||||
int[] array2 = new int[573];
|
||||
deflate.heap = array2;
|
||||
byte[] array3 = new byte[573];
|
||||
deflate.depth = array3;
|
||||
short[] array4 = new short[1146];
|
||||
deflate.dyn_ltree = array4;
|
||||
short[] array5 = new short[122];
|
||||
deflate.dyn_dtree = array5;
|
||||
short[] array6 = new short[78];
|
||||
deflate.bl_tree = array6;
|
||||
this.dstate = deflate;
|
||||
int num = 0;
|
||||
ulong num2;
|
||||
return deflate.deflateInit2(this, bits, 8, bits, (int)num2, num);
|
||||
}
|
||||
|
||||
// Token: 0x06007D4A RID: 32074 RVA: 0x001A4D80 File Offset: 0x001A2F80
|
||||
[Token(Token = "0x6007D4A")]
|
||||
[Address(RVA = "0x2038260", Offset = "0x2036C60", VA = "0x182038260")]
|
||||
public int deflate(int flush)
|
||||
{
|
||||
Deflate deflate = this.dstate;
|
||||
if (deflate != 0)
|
||||
{
|
||||
return deflate.deflate(this, flush);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06007D4B RID: 32075 RVA: 0x001A4DA4 File Offset: 0x001A2FA4
|
||||
[Token(Token = "0x6007D4B")]
|
||||
[Address(RVA = "0x2037F50", Offset = "0x2036950", VA = "0x182037F50")]
|
||||
public int deflateEnd()
|
||||
{
|
||||
Deflate deflate = this.dstate;
|
||||
if (deflate == 0)
|
||||
{
|
||||
return -2;
|
||||
}
|
||||
int status = deflate.status;
|
||||
int num = 0;
|
||||
if (status != 42 && status != 113 && status != 666)
|
||||
{
|
||||
this.dstate = num;
|
||||
return -2;
|
||||
}
|
||||
deflate.pending_buf = num;
|
||||
deflate.head = num;
|
||||
deflate.prev = num;
|
||||
deflate.window = num;
|
||||
this.dstate = num;
|
||||
return -3;
|
||||
}
|
||||
|
||||
// Token: 0x06007D4C RID: 32076 RVA: 0x001A4E0C File Offset: 0x001A300C
|
||||
[Token(Token = "0x6007D4C")]
|
||||
[Address(RVA = "0x20381E0", Offset = "0x2036BE0", VA = "0x1820381E0")]
|
||||
public int deflateParams(int level, int strategy)
|
||||
{
|
||||
Deflate deflate = this.dstate;
|
||||
if (deflate != 0)
|
||||
{
|
||||
return deflate.deflateParams(this, strategy, strategy);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06007D4D RID: 32077 RVA: 0x001A4E30 File Offset: 0x001A3030
|
||||
[Token(Token = "0x6007D4D")]
|
||||
[Address(RVA = "0x2038220", Offset = "0x2036C20", VA = "0x182038220")]
|
||||
public int deflateSetDictionary(byte[] dictionary, int dictLength)
|
||||
{
|
||||
Deflate deflate = this.dstate;
|
||||
if (deflate != 0)
|
||||
{
|
||||
return deflate.deflateSetDictionary(this, dictionary, dictLength);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06007D4E RID: 32078 RVA: 0x001A4E54 File Offset: 0x001A3054
|
||||
[Token(Token = "0x6007D4E")]
|
||||
[Address(RVA = "0x2038280", Offset = "0x2036C80", VA = "0x182038280")]
|
||||
internal void flush_pending()
|
||||
{
|
||||
Deflate deflate = this.dstate;
|
||||
int num = this.avail_out;
|
||||
int pending;
|
||||
if (deflate.pending <= num)
|
||||
{
|
||||
pending = deflate.pending;
|
||||
}
|
||||
if (pending != 0)
|
||||
{
|
||||
byte[] pending_buf = deflate.pending_buf;
|
||||
int length = pending_buf.Length;
|
||||
int pending_out = deflate.pending_out;
|
||||
if (length > pending_out)
|
||||
{
|
||||
byte[] array = this.next_out;
|
||||
int num2 = this.next_out_index;
|
||||
if (array.Length > num2)
|
||||
{
|
||||
}
|
||||
}
|
||||
int num3 = this.next_out_index;
|
||||
byte[] array2 = this.next_out;
|
||||
Array.Copy(pending_buf, pending_out, array2, num3, pending);
|
||||
Deflate deflate2 = this.dstate;
|
||||
Deflate deflate3 = this.dstate;
|
||||
Deflate deflate4 = this.dstate;
|
||||
if (deflate4.pending == 0)
|
||||
{
|
||||
deflate4.pending_out = (int)((ulong)0L);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D4F RID: 32079 RVA: 0x001A4F10 File Offset: 0x001A3110
|
||||
[Token(Token = "0x6007D4F")]
|
||||
[Address(RVA = "0x20387D0", Offset = "0x20371D0", VA = "0x1820387D0")]
|
||||
internal int read_buf(byte[] buf, int start, int size)
|
||||
{
|
||||
int num = this.avail_in;
|
||||
if (num > size)
|
||||
{
|
||||
num = size;
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
num -= num;
|
||||
this.avail_in = num;
|
||||
if (this.dstate.noheader == 0)
|
||||
{
|
||||
Adler32 adler = this._adler;
|
||||
int num2 = this.next_in_index;
|
||||
byte[] array = this.next_in;
|
||||
long num3 = this.adler;
|
||||
long num4 = adler.adler32(num3, array, num2, num);
|
||||
this.adler = num4;
|
||||
}
|
||||
int num5 = this.next_in_index;
|
||||
Array.Copy(this.next_in, num5, buf, size, num);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06007D50 RID: 32080 RVA: 0x001A4F9C File Offset: 0x001A319C
|
||||
[Token(Token = "0x6007D50")]
|
||||
[Address(RVA = "0x2038380", Offset = "0x2036D80", VA = "0x182038380")]
|
||||
public void free()
|
||||
{
|
||||
int num = 0;
|
||||
this.next_in = num;
|
||||
this.next_out = num;
|
||||
this.msg = num;
|
||||
this._adler = num;
|
||||
}
|
||||
|
||||
// Token: 0x06007D51 RID: 32081 RVA: 0x001A4FC8 File Offset: 0x001A31C8
|
||||
[Token(Token = "0x6007D51")]
|
||||
[Address(RVA = "0x2037EF0", Offset = "0x20368F0", VA = "0x182037EF0")]
|
||||
public ZStream()
|
||||
{
|
||||
Adler32 adler = new Adler32();
|
||||
this._adler = adler;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x040059F0 RID: 23024
|
||||
[Token(Token = "0x40059F0")]
|
||||
private const int MAX_WBITS = 15;
|
||||
|
||||
// Token: 0x040059F1 RID: 23025
|
||||
[Token(Token = "0x40059F1")]
|
||||
private const int DEF_WBITS = 15;
|
||||
|
||||
// Token: 0x040059F2 RID: 23026
|
||||
[Token(Token = "0x40059F2")]
|
||||
private const int Z_NO_FLUSH = 0;
|
||||
|
||||
// Token: 0x040059F3 RID: 23027
|
||||
[Token(Token = "0x40059F3")]
|
||||
private const int Z_PARTIAL_FLUSH = 1;
|
||||
|
||||
// Token: 0x040059F4 RID: 23028
|
||||
[Token(Token = "0x40059F4")]
|
||||
private const int Z_SYNC_FLUSH = 2;
|
||||
|
||||
// Token: 0x040059F5 RID: 23029
|
||||
[Token(Token = "0x40059F5")]
|
||||
private const int Z_FULL_FLUSH = 3;
|
||||
|
||||
// Token: 0x040059F6 RID: 23030
|
||||
[Token(Token = "0x40059F6")]
|
||||
private const int Z_FINISH = 4;
|
||||
|
||||
// Token: 0x040059F7 RID: 23031
|
||||
[Token(Token = "0x40059F7")]
|
||||
private const int MAX_MEM_LEVEL = 9;
|
||||
|
||||
// Token: 0x040059F8 RID: 23032
|
||||
[Token(Token = "0x40059F8")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x040059F9 RID: 23033
|
||||
[Token(Token = "0x40059F9")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x040059FA RID: 23034
|
||||
[Token(Token = "0x40059FA")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x040059FB RID: 23035
|
||||
[Token(Token = "0x40059FB")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x040059FC RID: 23036
|
||||
[Token(Token = "0x40059FC")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x040059FD RID: 23037
|
||||
[Token(Token = "0x40059FD")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x040059FE RID: 23038
|
||||
[Token(Token = "0x40059FE")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x040059FF RID: 23039
|
||||
[Token(Token = "0x40059FF")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x04005A00 RID: 23040
|
||||
[Token(Token = "0x4005A00")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x04005A01 RID: 23041
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A01")]
|
||||
public byte[] next_in;
|
||||
|
||||
// Token: 0x04005A02 RID: 23042
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A02")]
|
||||
public int next_in_index;
|
||||
|
||||
// Token: 0x04005A03 RID: 23043
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x4005A03")]
|
||||
public int avail_in;
|
||||
|
||||
// Token: 0x04005A04 RID: 23044
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4005A04")]
|
||||
public long total_in;
|
||||
|
||||
// Token: 0x04005A05 RID: 23045
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4005A05")]
|
||||
public byte[] next_out;
|
||||
|
||||
// Token: 0x04005A06 RID: 23046
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4005A06")]
|
||||
public int next_out_index;
|
||||
|
||||
// Token: 0x04005A07 RID: 23047
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x4005A07")]
|
||||
public int avail_out;
|
||||
|
||||
// Token: 0x04005A08 RID: 23048
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4005A08")]
|
||||
public long total_out;
|
||||
|
||||
// Token: 0x04005A09 RID: 23049
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4005A09")]
|
||||
public string msg;
|
||||
|
||||
// Token: 0x04005A0A RID: 23050
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4005A0A")]
|
||||
internal Deflate dstate;
|
||||
|
||||
// Token: 0x04005A0B RID: 23051
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4005A0B")]
|
||||
internal Inflate istate;
|
||||
|
||||
// Token: 0x04005A0C RID: 23052
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4005A0C")]
|
||||
internal int data_type;
|
||||
|
||||
// Token: 0x04005A0D RID: 23053
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4005A0D")]
|
||||
public long adler;
|
||||
|
||||
// Token: 0x04005A0E RID: 23054
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4005A0E")]
|
||||
internal Adler32 _adler;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,399 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x0200135A RID: 4954
|
||||
[Token(Token = "0x200135A")]
|
||||
[StructLayout(3)]
|
||||
internal sealed class ZTree
|
||||
{
|
||||
// Token: 0x06007D52 RID: 32082 RVA: 0x001A4FE8 File Offset: 0x001A31E8
|
||||
[Token(Token = "0x6007D52")]
|
||||
[Address(RVA = "0x2039140", Offset = "0x2037B40", VA = "0x182039140")]
|
||||
internal static int d_code(int dist)
|
||||
{
|
||||
if (dist < 256)
|
||||
{
|
||||
byte[] dist_code = ZTree._dist_code;
|
||||
}
|
||||
byte[] dist_code2 = ZTree._dist_code;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D53 RID: 32083 RVA: 0x001A5010 File Offset: 0x001A3210
|
||||
[Token(Token = "0x6007D53")]
|
||||
[Address(RVA = "0x2039230", Offset = "0x2037C30", VA = "0x182039230")]
|
||||
internal void gen_bitlen(Deflate s)
|
||||
{
|
||||
StaticTree staticTree = this.stat_desc;
|
||||
short[] array = this.dyn_tree;
|
||||
short[] static_tree = staticTree.static_tree;
|
||||
int i = 0;
|
||||
int[] extra_bits = staticTree.extra_bits;
|
||||
int extra_base = staticTree.extra_base;
|
||||
int num = staticTree.max_length;
|
||||
short[] bl_count = s.bl_count;
|
||||
i++;
|
||||
bl_count[0] = (short)i;
|
||||
while (i <= 15)
|
||||
{
|
||||
}
|
||||
int[] heap = s.heap;
|
||||
int num2 = s.heap_max;
|
||||
num2++;
|
||||
array[0] = (short)i;
|
||||
int num3 = s.heap_max;
|
||||
num3++;
|
||||
if (num3 < 573)
|
||||
{
|
||||
int[] heap2 = s.heap;
|
||||
int num4 = array.Length;
|
||||
num2 = num3;
|
||||
int num5 = heap2[num2];
|
||||
num2 += num2;
|
||||
num2++;
|
||||
num2++;
|
||||
num4 = num;
|
||||
if (num2 <= num)
|
||||
{
|
||||
num4 = num2;
|
||||
}
|
||||
array[0] = (short)num4;
|
||||
short[] bl_count2 = s.bl_count;
|
||||
num5 -= extra_base;
|
||||
int num6 = extra_bits[num5];
|
||||
int num7 = num5 * num5;
|
||||
if (static_tree != 0)
|
||||
{
|
||||
num7 += num6;
|
||||
}
|
||||
num3++;
|
||||
if (i != 0)
|
||||
{
|
||||
short[] bl_count3 = s.bl_count;
|
||||
int num8 = num - 1;
|
||||
short num9 = bl_count3[num8];
|
||||
bl_count3[0] = num9;
|
||||
short[] bl_count4 = s.bl_count;
|
||||
num8++;
|
||||
short[] bl_count5 = s.bl_count;
|
||||
if (num != 0)
|
||||
{
|
||||
short[] bl_count6 = s.bl_count;
|
||||
if (num8 != 0)
|
||||
{
|
||||
int[] heap3 = s.heap;
|
||||
num = num3;
|
||||
int num10 = heap3[num];
|
||||
int num11 = array.Length;
|
||||
num10 += num10;
|
||||
int num12 = num10 + 1;
|
||||
if (num4 != num)
|
||||
{
|
||||
num11 = num;
|
||||
num11 -= num4;
|
||||
array[0] = (short)num;
|
||||
}
|
||||
while (num8 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num8 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D54 RID: 32084 RVA: 0x001A51C8 File Offset: 0x001A33C8
|
||||
[Token(Token = "0x6007D54")]
|
||||
[Address(RVA = "0x2038A80", Offset = "0x2037480", VA = "0x182038A80")]
|
||||
internal void build_tree(Deflate s)
|
||||
{
|
||||
StaticTree staticTree = this.stat_desc;
|
||||
short[] array = this.dyn_tree;
|
||||
short[] static_tree = staticTree.static_tree;
|
||||
int num = staticTree.elems;
|
||||
int num2 = 0;
|
||||
s.heap_max = (int)((ulong)573L);
|
||||
s.heap_len = num2;
|
||||
if (num > 0)
|
||||
{
|
||||
int length = array.Length;
|
||||
if ("{il2cpp array field local3->}" == num2)
|
||||
{
|
||||
num2++;
|
||||
array[0] = (short)num2;
|
||||
}
|
||||
int heap_len = s.heap_len;
|
||||
int[] heap = s.heap;
|
||||
int num3 = heap_len + 1;
|
||||
s.heap_len = num3;
|
||||
int num4 = heap_len + 1;
|
||||
heap[0] = num2;
|
||||
byte[] depth = s.depth;
|
||||
num2++;
|
||||
num2 += 2;
|
||||
}
|
||||
int num5 = s.heap_len;
|
||||
if (num5 < 2)
|
||||
{
|
||||
int[] heap2 = s.heap;
|
||||
int num6 = num5 + 1;
|
||||
s.heap_len = num6;
|
||||
if (num2 < 2)
|
||||
{
|
||||
}
|
||||
num5++;
|
||||
heap2[0] = num2;
|
||||
uint num7;
|
||||
array[0] = (short)num7;
|
||||
byte[] depth2 = s.depth;
|
||||
while (static_tree == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
this.max_code = 1;
|
||||
int i = s.heap_len;
|
||||
i -= 0;
|
||||
s.pqdownheap(array, i);
|
||||
while (i >= 1)
|
||||
{
|
||||
}
|
||||
int[] heap3 = s.heap;
|
||||
int heap_len2 = s.heap_len;
|
||||
int num8 = heap3[0];
|
||||
int num9 = heap_len2 - 1;
|
||||
s.heap_len = num9;
|
||||
int length2 = heap3.Length;
|
||||
int num10 = heap3[heap_len2];
|
||||
heap3[0] = num10;
|
||||
uint num11;
|
||||
s.pqdownheap(array, (int)num11);
|
||||
int[] heap4 = s.heap;
|
||||
int heap_max = s.heap_max;
|
||||
int num12 = heap4[0];
|
||||
int num13 = heap_max - 1;
|
||||
s.heap_max = num13;
|
||||
int num14 = heap_max - 1;
|
||||
heap4[0] = num8;
|
||||
int heap_max2 = s.heap_max;
|
||||
int[] heap5 = s.heap;
|
||||
int num15 = heap_max2 - 1;
|
||||
s.heap_max = num15;
|
||||
int num16 = heap_max2 - 1;
|
||||
heap5[0] = num12;
|
||||
int length3 = array.Length;
|
||||
short num17 = array[heap5];
|
||||
array[0] = num17;
|
||||
int length4 = s.depth.Length;
|
||||
byte b2;
|
||||
byte b3;
|
||||
byte b = Math.Max(b2, b3);
|
||||
array[0] = (short)num;
|
||||
int num18 = heap_max2 + 1;
|
||||
array[0] = (short)num;
|
||||
i += 2;
|
||||
int[] heap6 = s.heap;
|
||||
num++;
|
||||
heap6[0] = num;
|
||||
s.pqdownheap(array, 1);
|
||||
while (s.heap_len >= 2)
|
||||
{
|
||||
}
|
||||
int heap_max3 = s.heap_max;
|
||||
int[] heap7 = s.heap;
|
||||
int num19 = heap_max3 - 1;
|
||||
s.heap_max = num19;
|
||||
int num20 = s.heap[0];
|
||||
int num21 = heap_max3 - 1;
|
||||
heap7[0] = num20;
|
||||
short[] bl_count = s.bl_count;
|
||||
int num22;
|
||||
ZTree.gen_codes(array, num22, bl_count);
|
||||
}
|
||||
|
||||
// Token: 0x06007D55 RID: 32085 RVA: 0x001A5468 File Offset: 0x001A3668
|
||||
[Token(Token = "0x6007D55")]
|
||||
[Address(RVA = "0x20396E0", Offset = "0x20380E0", VA = "0x1820396E0")]
|
||||
internal static void gen_codes(short[] tree, int max_code, short[] bl_count)
|
||||
{
|
||||
short[] array = new short[16];
|
||||
int i = 0;
|
||||
i += i;
|
||||
array[0] = (short)i;
|
||||
while (1UL <= (ulong)15L)
|
||||
{
|
||||
}
|
||||
if (bl_count != 0)
|
||||
{
|
||||
short num = array[bl_count] + 1;
|
||||
array[0] = num;
|
||||
int num2 = 0;
|
||||
num2 += num2;
|
||||
tree[0] = (short)num2;
|
||||
}
|
||||
i++;
|
||||
i += 2;
|
||||
while (i <= max_code)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D56 RID: 32086 RVA: 0x001A54D0 File Offset: 0x001A36D0
|
||||
[Token(Token = "0x6007D56")]
|
||||
[Address(RVA = "0xE33D40", Offset = "0xE32740", VA = "0x180E33D40")]
|
||||
internal static int bi_reverse(int code, int len)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = len - 1;
|
||||
return num + num;
|
||||
}
|
||||
|
||||
// Token: 0x06007D57 RID: 32087 RVA: 0x001A54E8 File Offset: 0x001A36E8
|
||||
[Token(Token = "0x6007D57")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public ZTree()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007D58 RID: 32088 RVA: 0x001A54FC File Offset: 0x001A36FC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6007D58")]
|
||||
[Address(RVA = "0x2038890", Offset = "0x2037290", VA = "0x182038890")]
|
||||
static ZTree()
|
||||
{
|
||||
int[] array = new int[29];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.67C0E784F3654B008A81E2988588CF4956CCF3DA).FieldHandle);
|
||||
ZTree.extra_lbits = array;
|
||||
int[] array2 = new int[30];
|
||||
RuntimeHelpers.InitializeArray(array2, fieldof(<PrivateImplementationDetails>.79D521E6E3E55103005E9CC3FA43B3174FAF090F).FieldHandle);
|
||||
ZTree.extra_dbits = array2;
|
||||
int[] array3 = new int[19];
|
||||
RuntimeHelpers.InitializeArray(array3, fieldof(<PrivateImplementationDetails>.8457F44B035C9073EE2D1F132D0A8AF5631DCDC8).FieldHandle);
|
||||
ZTree.extra_blbits = array3;
|
||||
byte[] array4 = new byte[19];
|
||||
RuntimeHelpers.InitializeArray(array4, fieldof(<PrivateImplementationDetails>.9F8365E9D6C62D3B47026EC465B05A7B5526B5CD).FieldHandle);
|
||||
ZTree.bl_order = array4;
|
||||
byte[] array5 = new byte[512];
|
||||
RuntimeHelpers.InitializeArray(array5, fieldof(<PrivateImplementationDetails>.3544182260B8A15D332367E48C7530FC0E901FD3).FieldHandle);
|
||||
ZTree._dist_code = array5;
|
||||
byte[] array6 = new byte[256];
|
||||
RuntimeHelpers.InitializeArray(array6, fieldof(<PrivateImplementationDetails>.6A316789EED01119DE92841832701A40AB0CABD6).FieldHandle);
|
||||
ZTree._length_code = array6;
|
||||
int[] array7 = new int[29];
|
||||
RuntimeHelpers.InitializeArray(array7, fieldof(<PrivateImplementationDetails>.2E868D9F2085DF93F11F58DE61C05E0D8A8F4A71).FieldHandle);
|
||||
ZTree.base_length = array7;
|
||||
int[] array8 = new int[30];
|
||||
RuntimeHelpers.InitializeArray(array8, fieldof(<PrivateImplementationDetails>.5581A70566F03554D8048EDBFC6E6B399AF9BCB1).FieldHandle);
|
||||
ZTree.base_dist = array8;
|
||||
}
|
||||
|
||||
// Token: 0x04005A0F RID: 23055
|
||||
[Token(Token = "0x4005A0F")]
|
||||
private const int MAX_BITS = 15;
|
||||
|
||||
// Token: 0x04005A10 RID: 23056
|
||||
[Token(Token = "0x4005A10")]
|
||||
private const int BL_CODES = 19;
|
||||
|
||||
// Token: 0x04005A11 RID: 23057
|
||||
[Token(Token = "0x4005A11")]
|
||||
private const int D_CODES = 30;
|
||||
|
||||
// Token: 0x04005A12 RID: 23058
|
||||
[Token(Token = "0x4005A12")]
|
||||
private const int LITERALS = 256;
|
||||
|
||||
// Token: 0x04005A13 RID: 23059
|
||||
[Token(Token = "0x4005A13")]
|
||||
private const int LENGTH_CODES = 29;
|
||||
|
||||
// Token: 0x04005A14 RID: 23060
|
||||
[Token(Token = "0x4005A14")]
|
||||
private const int L_CODES = 286;
|
||||
|
||||
// Token: 0x04005A15 RID: 23061
|
||||
[Token(Token = "0x4005A15")]
|
||||
private const int HEAP_SIZE = 573;
|
||||
|
||||
// Token: 0x04005A16 RID: 23062
|
||||
[Token(Token = "0x4005A16")]
|
||||
internal const int MAX_BL_BITS = 7;
|
||||
|
||||
// Token: 0x04005A17 RID: 23063
|
||||
[Token(Token = "0x4005A17")]
|
||||
internal const int END_BLOCK = 256;
|
||||
|
||||
// Token: 0x04005A18 RID: 23064
|
||||
[Token(Token = "0x4005A18")]
|
||||
internal const int REP_3_6 = 16;
|
||||
|
||||
// Token: 0x04005A19 RID: 23065
|
||||
[Token(Token = "0x4005A19")]
|
||||
internal const int REPZ_3_10 = 17;
|
||||
|
||||
// Token: 0x04005A1A RID: 23066
|
||||
[Token(Token = "0x4005A1A")]
|
||||
internal const int REPZ_11_138 = 18;
|
||||
|
||||
// Token: 0x04005A1B RID: 23067
|
||||
[Token(Token = "0x4005A1B")]
|
||||
internal static readonly int[] extra_lbits;
|
||||
|
||||
// Token: 0x04005A1C RID: 23068
|
||||
[Token(Token = "0x4005A1C")]
|
||||
internal static readonly int[] extra_dbits;
|
||||
|
||||
// Token: 0x04005A1D RID: 23069
|
||||
[Token(Token = "0x4005A1D")]
|
||||
internal static readonly int[] extra_blbits;
|
||||
|
||||
// Token: 0x04005A1E RID: 23070
|
||||
[Token(Token = "0x4005A1E")]
|
||||
internal static readonly byte[] bl_order;
|
||||
|
||||
// Token: 0x04005A1F RID: 23071
|
||||
[Token(Token = "0x4005A1F")]
|
||||
internal const int Buf_size = 16;
|
||||
|
||||
// Token: 0x04005A20 RID: 23072
|
||||
[Token(Token = "0x4005A20")]
|
||||
internal const int DIST_CODE_LEN = 512;
|
||||
|
||||
// Token: 0x04005A21 RID: 23073
|
||||
[Token(Token = "0x4005A21")]
|
||||
internal static readonly byte[] _dist_code;
|
||||
|
||||
// Token: 0x04005A22 RID: 23074
|
||||
[Token(Token = "0x4005A22")]
|
||||
internal static readonly byte[] _length_code;
|
||||
|
||||
// Token: 0x04005A23 RID: 23075
|
||||
[Token(Token = "0x4005A23")]
|
||||
internal static readonly int[] base_length;
|
||||
|
||||
// Token: 0x04005A24 RID: 23076
|
||||
[Token(Token = "0x4005A24")]
|
||||
internal static readonly int[] base_dist;
|
||||
|
||||
// Token: 0x04005A25 RID: 23077
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A25")]
|
||||
internal short[] dyn_tree;
|
||||
|
||||
// Token: 0x04005A26 RID: 23078
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A26")]
|
||||
internal int max_code;
|
||||
|
||||
// Token: 0x04005A27 RID: 23079
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4005A27")]
|
||||
internal StaticTree stat_desc;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user