oh dear
This commit is contained in:
@@ -0,0 +1,952 @@
|
||||
using System;
|
||||
using System.Text;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001920 RID: 6432
|
||||
[Token(Token = "0x2001920")]
|
||||
public abstract class Arrays
|
||||
{
|
||||
// Token: 0x06009809 RID: 38921 RVA: 0x001F516C File Offset: 0x001F336C
|
||||
[Token(Token = "0x6009809")]
|
||||
[Address(RVA = "0x18D22F0", Offset = "0x18D10F0", VA = "0x1818D22F0")]
|
||||
public static bool AreAllZeroes(byte[] buf, int off, int len)
|
||||
{
|
||||
int num = 0;
|
||||
if (len > 0)
|
||||
{
|
||||
}
|
||||
return num == 0;
|
||||
}
|
||||
|
||||
// Token: 0x0600980A RID: 38922 RVA: 0x001F518C File Offset: 0x001F338C
|
||||
[Token(Token = "0x600980A")]
|
||||
[Address(RVA = "0x18D24E0", Offset = "0x18D12E0", VA = "0x1818D24E0")]
|
||||
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: 0x0600980B RID: 38923 RVA: 0x001F51C4 File Offset: 0x001F33C4
|
||||
[Token(Token = "0x600980B")]
|
||||
[Address(RVA = "0x18D2410", Offset = "0x18D1210", VA = "0x1818D2410")]
|
||||
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: 0x0600980C RID: 38924 RVA: 0x001F520C File Offset: 0x001F340C
|
||||
[Token(Token = "0x600980C")]
|
||||
[Address(RVA = "0x18D2660", Offset = "0x18D1460", VA = "0x1818D2660")]
|
||||
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: 0x0600980D RID: 38925 RVA: 0x001F5244 File Offset: 0x001F3444
|
||||
[Token(Token = "0x600980D")]
|
||||
[Address(RVA = "0x18D2720", Offset = "0x18D1520", VA = "0x1818D2720")]
|
||||
[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: 0x0600980E RID: 38926 RVA: 0x001F527C File Offset: 0x001F347C
|
||||
[Token(Token = "0x600980E")]
|
||||
[Address(RVA = "0x18D2FF0", Offset = "0x18D1DF0", VA = "0x1818D2FF0")]
|
||||
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: 0x0600980F RID: 38927 RVA: 0x001F52B4 File Offset: 0x001F34B4
|
||||
[Token(Token = "0x600980F")]
|
||||
[Address(RVA = "0x18D25A0", Offset = "0x18D13A0", VA = "0x1818D25A0")]
|
||||
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: 0x06009810 RID: 38928 RVA: 0x001F52FC File Offset: 0x001F34FC
|
||||
[Token(Token = "0x6009810")]
|
||||
[Address(RVA = "0x18D2350", Offset = "0x18D1150", VA = "0x1818D2350")]
|
||||
[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: 0x06009811 RID: 38929 RVA: 0x001F5344 File Offset: 0x001F3544
|
||||
[Token(Token = "0x6009811")]
|
||||
[Address(RVA = "0x18D3D10", Offset = "0x18D2B10", VA = "0x1818D3D10")]
|
||||
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: 0x06009812 RID: 38930 RVA: 0x001F5370 File Offset: 0x001F3570
|
||||
[Token(Token = "0x6009812")]
|
||||
[Address(RVA = "0x18D3D90", Offset = "0x18D2B90", VA = "0x1818D3D90")]
|
||||
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: 0x06009813 RID: 38931 RVA: 0x001F53A4 File Offset: 0x001F35A4
|
||||
[Token(Token = "0x6009813")]
|
||||
[Address(RVA = "0x18D3D10", Offset = "0x18D2B10", VA = "0x1818D3D10")]
|
||||
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: 0x06009814 RID: 38932 RVA: 0x001F53D0 File Offset: 0x001F35D0
|
||||
[Token(Token = "0x6009814")]
|
||||
[Address(RVA = "0x18D3C90", Offset = "0x18D2A90", VA = "0x1818D3C90")]
|
||||
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: 0x06009815 RID: 38933 RVA: 0x001F5404 File Offset: 0x001F3604
|
||||
[Token(Token = "0x6009815")]
|
||||
[Address(RVA = "0x18D3C90", Offset = "0x18D2A90", VA = "0x1818D3C90")]
|
||||
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: 0x06009816 RID: 38934 RVA: 0x001F5438 File Offset: 0x001F3638
|
||||
[Token(Token = "0x6009816")]
|
||||
[Address(RVA = "0x18D4260", Offset = "0x18D3060", VA = "0x1818D4260")]
|
||||
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: 0x06009817 RID: 38935 RVA: 0x001F5488 File Offset: 0x001F3688
|
||||
[Token(Token = "0x6009817")]
|
||||
[Address(RVA = "0x18D3AA0", Offset = "0x18D28A0", VA = "0x1818D3AA0")]
|
||||
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: 0x06009818 RID: 38936 RVA: 0x001F54B8 File Offset: 0x001F36B8
|
||||
[Token(Token = "0x6009818")]
|
||||
[Address(RVA = "0x18D3A40", Offset = "0x18D2840", VA = "0x1818D3A40")]
|
||||
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: 0x06009819 RID: 38937 RVA: 0x001F54E4 File Offset: 0x001F36E4
|
||||
[Token(Token = "0x6009819")]
|
||||
[Address(RVA = "0x18D39E0", Offset = "0x18D27E0", VA = "0x1818D39E0")]
|
||||
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: 0x0600981A RID: 38938 RVA: 0x001F5510 File Offset: 0x001F3710
|
||||
[Token(Token = "0x600981A")]
|
||||
[Address(RVA = "0x18D3980", Offset = "0x18D2780", VA = "0x1818D3980")]
|
||||
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: 0x0600981B RID: 38939 RVA: 0x001F5538 File Offset: 0x001F3738
|
||||
[Token(Token = "0x600981B")]
|
||||
[Address(RVA = "0x18D39E0", Offset = "0x18D27E0", VA = "0x1818D39E0")]
|
||||
[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: 0x0600981C RID: 38940 RVA: 0x001F5568 File Offset: 0x001F3768
|
||||
[Token(Token = "0x600981C")]
|
||||
[Address(RVA = "0x18D3980", Offset = "0x18D2780", VA = "0x1818D3980")]
|
||||
[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: 0x0600981D RID: 38941 RVA: 0x001F5594 File Offset: 0x001F3794
|
||||
[Token(Token = "0x600981D")]
|
||||
[Address(RVA = "0x18D3B00", Offset = "0x18D2900", VA = "0x1818D3B00")]
|
||||
[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: 0x0600981E RID: 38942 RVA: 0x001F55C4 File Offset: 0x001F37C4
|
||||
[Token(Token = "0x600981E")]
|
||||
[Address(RVA = "0x18D3B70", Offset = "0x18D2970", VA = "0x1818D3B70")]
|
||||
[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: 0x0600981F RID: 38943 RVA: 0x001F55F0 File Offset: 0x001F37F0
|
||||
[Token(Token = "0x600981F")]
|
||||
[Address(RVA = "0x18D2B40", Offset = "0x18D1940", VA = "0x1818D2B40")]
|
||||
public static byte[] Clone(byte[] data)
|
||||
{
|
||||
while (data != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009820 RID: 38944 RVA: 0x001F5604 File Offset: 0x001F3804
|
||||
[Token(Token = "0x6009820")]
|
||||
[Address(RVA = "0x18D2820", Offset = "0x18D1620", VA = "0x1818D2820")]
|
||||
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: 0x06009821 RID: 38945 RVA: 0x001F5644 File Offset: 0x001F3844
|
||||
[Token(Token = "0x6009821")]
|
||||
[Address(RVA = "0x18D2A40", Offset = "0x18D1840", VA = "0x1818D2A40")]
|
||||
public static int[] Clone(int[] data)
|
||||
{
|
||||
while (data != 0)
|
||||
{
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06009822 RID: 38946 RVA: 0x001F5658 File Offset: 0x001F3858
|
||||
[Token(Token = "0x6009822")]
|
||||
[Address(RVA = "0x18D2BC0", Offset = "0x18D19C0", VA = "0x1818D2BC0")]
|
||||
internal static uint[] Clone(uint[] data)
|
||||
{
|
||||
while (data != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009823 RID: 38947 RVA: 0x001F566C File Offset: 0x001F386C
|
||||
[Token(Token = "0x6009823")]
|
||||
[Address(RVA = "0x18D28D0", Offset = "0x18D16D0", VA = "0x1818D28D0")]
|
||||
public static long[] Clone(long[] data)
|
||||
{
|
||||
while (data != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009824 RID: 38948 RVA: 0x001F5680 File Offset: 0x001F3880
|
||||
[Token(Token = "0x6009824")]
|
||||
[Address(RVA = "0x18D2AC0", Offset = "0x18D18C0", VA = "0x1818D2AC0")]
|
||||
[CLSCompliant(false)]
|
||||
public static ulong[] Clone(ulong[] data)
|
||||
{
|
||||
while (data != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009825 RID: 38949 RVA: 0x001F5694 File Offset: 0x001F3894
|
||||
[Token(Token = "0x6009825")]
|
||||
[Address(RVA = "0x18D2950", Offset = "0x18D1750", VA = "0x1818D2950")]
|
||||
[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: 0x06009826 RID: 38950 RVA: 0x001F56D0 File Offset: 0x001F38D0
|
||||
[Token(Token = "0x6009826")]
|
||||
[Address(RVA = "0x18D30F0", Offset = "0x18D1EF0", VA = "0x1818D30F0")]
|
||||
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: 0x06009827 RID: 38951 RVA: 0x001F56F8 File Offset: 0x001F38F8
|
||||
[Token(Token = "0x6009827")]
|
||||
[Address(RVA = "0x18D3090", Offset = "0x18D1E90", VA = "0x1818D3090")]
|
||||
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: 0x06009828 RID: 38952 RVA: 0x001F5728 File Offset: 0x001F3928
|
||||
[Token(Token = "0x6009828")]
|
||||
[Address(RVA = "0x18D3150", Offset = "0x18D1F50", VA = "0x1818D3150")]
|
||||
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: 0x06009829 RID: 38953 RVA: 0x001F5758 File Offset: 0x001F3958
|
||||
[Token(Token = "0x6009829")]
|
||||
[Address(RVA = "0x18D3930", Offset = "0x18D2730", VA = "0x1818D3930")]
|
||||
public static void Fill(byte[] buf, byte b)
|
||||
{
|
||||
int num = buf.Length;
|
||||
if (num > 0)
|
||||
{
|
||||
num--;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600982A RID: 38954 RVA: 0x001F577C File Offset: 0x001F397C
|
||||
[Token(Token = "0x600982A")]
|
||||
[Address(RVA = "0x18D38E0", Offset = "0x18D26E0", VA = "0x1818D38E0")]
|
||||
public static void Fill(byte[] buf, int from, int to, byte b)
|
||||
{
|
||||
if (from < to)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600982B RID: 38955 RVA: 0x001F5794 File Offset: 0x001F3994
|
||||
[Token(Token = "0x600982B")]
|
||||
[Address(RVA = "0x18D3780", Offset = "0x18D2580", VA = "0x1818D3780")]
|
||||
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: 0x0600982C RID: 38956 RVA: 0x001F57D0 File Offset: 0x001F39D0
|
||||
[Token(Token = "0x600982C")]
|
||||
[Address(RVA = "0x18D3620", Offset = "0x18D2420", VA = "0x1818D3620")]
|
||||
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: 0x0600982D RID: 38957 RVA: 0x001F580C File Offset: 0x001F3A0C
|
||||
[Token(Token = "0x600982D")]
|
||||
[Address(RVA = "0x18D3830", Offset = "0x18D2630", VA = "0x1818D3830")]
|
||||
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: 0x0600982E RID: 38958 RVA: 0x001F5848 File Offset: 0x001F3A48
|
||||
[Token(Token = "0x600982E")]
|
||||
[Address(RVA = "0x18D36D0", Offset = "0x18D24D0", VA = "0x1818D36D0")]
|
||||
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: 0x0600982F RID: 38959 RVA: 0x001F5884 File Offset: 0x001F3A84
|
||||
[Token(Token = "0x600982F")]
|
||||
[Address(RVA = "0x18D3570", Offset = "0x18D2370", VA = "0x1818D3570")]
|
||||
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: 0x06009830 RID: 38960 RVA: 0x001F58C0 File Offset: 0x001F3AC0
|
||||
[Token(Token = "0x6009830")]
|
||||
[Address(RVA = "0x18D32A0", Offset = "0x18D20A0", VA = "0x1818D32A0")]
|
||||
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: 0x06009831 RID: 38961 RVA: 0x001F5908 File Offset: 0x001F3B08
|
||||
[Token(Token = "0x6009831")]
|
||||
[Address(RVA = "0x18D3390", Offset = "0x18D2190", VA = "0x1818D3390")]
|
||||
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: 0x06009832 RID: 38962 RVA: 0x001F5950 File Offset: 0x001F3B50
|
||||
[Token(Token = "0x6009832")]
|
||||
[Address(RVA = "0x18D31B0", Offset = "0x18D1FB0", VA = "0x1818D31B0")]
|
||||
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: 0x06009833 RID: 38963 RVA: 0x001F5998 File Offset: 0x001F3B98
|
||||
[Token(Token = "0x6009833")]
|
||||
[Address(RVA = "0x18D3480", Offset = "0x18D2280", VA = "0x1818D3480")]
|
||||
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: 0x06009834 RID: 38964 RVA: 0x001F59E0 File Offset: 0x001F3BE0
|
||||
[Token(Token = "0x6009834")]
|
||||
[Address(RVA = "0x18D3BE0", Offset = "0x18D29E0", VA = "0x1818D3BE0")]
|
||||
private static int GetLength(int from, int to)
|
||||
{
|
||||
return to;
|
||||
}
|
||||
|
||||
// Token: 0x06009835 RID: 38965 RVA: 0x001F5A00 File Offset: 0x001F3C00
|
||||
[Token(Token = "0x6009835")]
|
||||
[Address(RVA = "0x18D2210", Offset = "0x18D1010", VA = "0x1818D2210")]
|
||||
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: 0x06009836 RID: 38966 RVA: 0x001F5A48 File Offset: 0x001F3C48
|
||||
[Token(Token = "0x6009836")]
|
||||
[Address(RVA = "0x18D2050", Offset = "0x18D0E50", VA = "0x1818D2050")]
|
||||
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: 0x06009837 RID: 38967 RVA: 0x001F5A98 File Offset: 0x001F3C98
|
||||
[Token(Token = "0x6009837")]
|
||||
[Address(RVA = "0x18D2130", Offset = "0x18D0F30", VA = "0x1818D2130")]
|
||||
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: 0x06009838 RID: 38968 RVA: 0x001F5AE8 File Offset: 0x001F3CE8
|
||||
[Token(Token = "0x6009838")]
|
||||
[Address(RVA = "0x18D2DD0", Offset = "0x18D1BD0", VA = "0x1818D2DD0")]
|
||||
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: 0x06009839 RID: 38969 RVA: 0x001F5B50 File Offset: 0x001F3D50
|
||||
[Token(Token = "0x6009839")]
|
||||
[Address(RVA = "0x18D2C40", Offset = "0x18D1A40", VA = "0x1818D2C40")]
|
||||
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: 0x0600983A RID: 38970 RVA: 0x001F5BE8 File Offset: 0x001F3DE8
|
||||
[Token(Token = "0x600983A")]
|
||||
[Address(RVA = "0x18D2EE0", Offset = "0x18D1CE0", VA = "0x1818D2EE0")]
|
||||
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: 0x0600983B RID: 38971 RVA: 0x001F5C50 File Offset: 0x001F3E50
|
||||
[Token(Token = "0x600983B")]
|
||||
[Address(RVA = "0x18D3F00", Offset = "0x18D2D00", VA = "0x1818D3F00")]
|
||||
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: 0x0600983C RID: 38972 RVA: 0x001F5CA0 File Offset: 0x001F3EA0
|
||||
[Token(Token = "0x600983C")]
|
||||
[Address(RVA = "0x18D3FF0", Offset = "0x18D2DF0", VA = "0x1818D3FF0")]
|
||||
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: 0x0600983D RID: 38973 RVA: 0x001F5CF0 File Offset: 0x001F3EF0
|
||||
[Token(Token = "0x600983D")]
|
||||
[Address(RVA = "0x18D3E10", Offset = "0x18D2C10", VA = "0x1818D3E10")]
|
||||
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: 0x0600983E RID: 38974 RVA: 0x001F5D40 File Offset: 0x001F3F40
|
||||
[Token(Token = "0x600983E")]
|
||||
[Address(RVA = "0x18D41A0", Offset = "0x18D2FA0", VA = "0x1818D41A0")]
|
||||
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: 0x0600983F RID: 38975 RVA: 0x001F5D70 File Offset: 0x001F3F70
|
||||
[Token(Token = "0x600983F")]
|
||||
[Address(RVA = "0x18D40E0", Offset = "0x18D2EE0", VA = "0x1818D40E0")]
|
||||
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: 0x06009840 RID: 38976 RVA: 0x001F5DB0 File Offset: 0x001F3FB0
|
||||
[Token(Token = "0x6009840")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected Arrays()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040066E4 RID: 26340
|
||||
[Token(Token = "0x40066E4")]
|
||||
public static readonly byte[] EmptyBytes = new byte[0];
|
||||
|
||||
// Token: 0x040066E5 RID: 26341
|
||||
[Token(Token = "0x40066E5")]
|
||||
public static readonly int[] EmptyInts = new int[0];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001921 RID: 6433
|
||||
[Token(Token = "0x2001921")]
|
||||
public abstract class BigIntegers
|
||||
{
|
||||
// Token: 0x06009842 RID: 38978 RVA: 0x001F5DE8 File Offset: 0x001F3FE8
|
||||
[Token(Token = "0x6009842")]
|
||||
[Address(RVA = "0x18D62E0", Offset = "0x18D50E0", VA = "0x1818D62E0")]
|
||||
public static byte[] AsUnsignedByteArray(BigInteger n)
|
||||
{
|
||||
return n.ToByteArrayUnsigned();
|
||||
}
|
||||
|
||||
// Token: 0x06009843 RID: 38979 RVA: 0x001F5E04 File Offset: 0x001F4004
|
||||
[Token(Token = "0x6009843")]
|
||||
[Address(RVA = "0x18D6300", Offset = "0x18D5100", VA = "0x1818D6300")]
|
||||
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: 0x06009844 RID: 38980 RVA: 0x001F5E50 File Offset: 0x001F4050
|
||||
[Token(Token = "0x6009844")]
|
||||
[Address(RVA = "0x18D63D0", Offset = "0x18D51D0", VA = "0x1818D63D0")]
|
||||
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: 0x06009845 RID: 38981 RVA: 0x001F5EF0 File Offset: 0x001F40F0
|
||||
[Token(Token = "0x6009845")]
|
||||
[Address(RVA = "0x18D65E0", Offset = "0x18D53E0", VA = "0x1818D65E0")]
|
||||
public static int GetUnsignedByteLength(BigInteger n)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = n.BitLength;
|
||||
num2 += 7;
|
||||
return num2 + num;
|
||||
}
|
||||
|
||||
// Token: 0x06009846 RID: 38982 RVA: 0x001F5F18 File Offset: 0x001F4118
|
||||
[Token(Token = "0x6009846")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected BigIntegers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040066E6 RID: 26342
|
||||
[Token(Token = "0x40066E6")]
|
||||
private const int MaxIterations = 1000;
|
||||
}
|
||||
}
|
||||
+194
@@ -0,0 +1,194 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001956 RID: 6486
|
||||
[Token(Token = "0x2001956")]
|
||||
public abstract class CollectionUtilities
|
||||
{
|
||||
// Token: 0x060099E9 RID: 39401 RVA: 0x001FEC00 File Offset: 0x001FCE00
|
||||
[Token(Token = "0x60099E9")]
|
||||
[Address(RVA = "0x18D6CF0", Offset = "0x18D5AF0", VA = "0x1818D6CF0")]
|
||||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x060099EA RID: 39402 RVA: 0x001FEC54 File Offset: 0x001FCE54
|
||||
[Token(Token = "0x60099EA")]
|
||||
[Address(RVA = "0x18D6EF0", Offset = "0x18D5CF0", VA = "0x1818D6EF0")]
|
||||
public static bool CheckElementsAreOfType(IEnumerable e, Type t)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
bool flag;
|
||||
while (flag)
|
||||
{
|
||||
}
|
||||
if (flag)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x060099EB RID: 39403 RVA: 0x001FEC88 File Offset: 0x001FCE88
|
||||
[Token(Token = "0x60099EB")]
|
||||
[Address(RVA = "0x18D7080", Offset = "0x18D5E80", VA = "0x1818D7080")]
|
||||
public static IDictionary ReadOnly(IDictionary d)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060099EB)
|
||||
|
||||
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: 0x060099EC RID: 39404 RVA: 0x001FEC9C File Offset: 0x001FCE9C
|
||||
[Token(Token = "0x60099EC")]
|
||||
[Address(RVA = "0x18D7140", Offset = "0x18D5F40", VA = "0x1818D7140")]
|
||||
public static IList ReadOnly(IList l)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060099EC)
|
||||
|
||||
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: 0x060099ED RID: 39405 RVA: 0x001FECB0 File Offset: 0x001FCEB0
|
||||
[Token(Token = "0x60099ED")]
|
||||
[Address(RVA = "0x18D70E0", Offset = "0x18D5EE0", VA = "0x1818D70E0")]
|
||||
public static ISet ReadOnly(ISet s)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060099ED)
|
||||
|
||||
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: 0x060099EE RID: 39406 RVA: 0x001FECC4 File Offset: 0x001FCEC4
|
||||
[Token(Token = "0x60099EE")]
|
||||
[Address(RVA = "0x18D71A0", Offset = "0x18D5FA0", VA = "0x1818D71A0")]
|
||||
public static object RequireNext(IEnumerator e)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099EF RID: 39407 RVA: 0x001FECDC File Offset: 0x001FCEDC
|
||||
[Token(Token = "0x60099EF")]
|
||||
[Address(RVA = "0x18D7230", Offset = "0x18D6030", VA = "0x1818D7230")]
|
||||
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: 0x060099F0 RID: 39408 RVA: 0x001FED64 File Offset: 0x001FCF64
|
||||
[Token(Token = "0x60099F0")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected CollectionUtilities()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001957 RID: 6487
|
||||
[Token(Token = "0x2001957")]
|
||||
public sealed class EmptyEnumerable : IEnumerable
|
||||
{
|
||||
// Token: 0x060099F1 RID: 39409 RVA: 0x001FED78 File Offset: 0x001FCF78
|
||||
[Token(Token = "0x60099F1")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private EmptyEnumerable()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060099F2 RID: 39410 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60099F2")]
|
||||
[Address(RVA = "0x18DCD30", Offset = "0x18DBB30", VA = "0x1818DCD30", Slot = "4")]
|
||||
public IEnumerator GetEnumerator()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x060099F3 RID: 39411 RVA: 0x001FED8C File Offset: 0x001FCF8C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60099F3")]
|
||||
[Address(RVA = "0x18DCD90", Offset = "0x18DBB90", VA = "0x1818DCD90")]
|
||||
static EmptyEnumerable()
|
||||
{
|
||||
EmptyEnumerable emptyEnumerable = new EmptyEnumerable();
|
||||
}
|
||||
|
||||
// Token: 0x04006890 RID: 26768
|
||||
[Token(Token = "0x4006890")]
|
||||
public static readonly IEnumerable Instance;
|
||||
}
|
||||
}
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001958 RID: 6488
|
||||
[Token(Token = "0x2001958")]
|
||||
public sealed class EmptyEnumerator : IEnumerator
|
||||
{
|
||||
// Token: 0x060099F4 RID: 39412 RVA: 0x001FEDA0 File Offset: 0x001FCFA0
|
||||
[Token(Token = "0x60099F4")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private EmptyEnumerator()
|
||||
{
|
||||
this.Reset();
|
||||
}
|
||||
|
||||
// Token: 0x060099F5 RID: 39413 RVA: 0x001FEDB4 File Offset: 0x001FCFB4
|
||||
[Token(Token = "0x60099F5")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "4")]
|
||||
public bool MoveNext()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060099F6 RID: 39414 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60099F6")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "6")]
|
||||
public void Reset()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x1700187B RID: 6267
|
||||
// (get) Token: 0x060099F7 RID: 39415 RVA: 0x001FEDC4 File Offset: 0x001FCFC4
|
||||
[Token(Token = "0x1700187B")]
|
||||
public object Current
|
||||
{
|
||||
[Token(Token = "0x60099F7")]
|
||||
[Address(RVA = "0x18DCE50", Offset = "0x18DBC50", VA = "0x1818DCE50", Slot = "5")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060099F7)
|
||||
|
||||
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: 0x060099F8 RID: 39416 RVA: 0x001FEDDC File Offset: 0x001FCFDC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60099F8")]
|
||||
[Address(RVA = "0x18DCDF0", Offset = "0x18DBBF0", VA = "0x1818DCDF0")]
|
||||
static EmptyEnumerator()
|
||||
{
|
||||
EmptyEnumerator emptyEnumerator;
|
||||
emptyEnumerator.Reset();
|
||||
}
|
||||
|
||||
// Token: 0x04006891 RID: 26769
|
||||
[Token(Token = "0x4006891")]
|
||||
public static readonly IEnumerator Instance;
|
||||
}
|
||||
}
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001959 RID: 6489
|
||||
[Token(Token = "0x2001959")]
|
||||
public sealed class EnumerableProxy : IEnumerable
|
||||
{
|
||||
// Token: 0x060099F9 RID: 39417 RVA: 0x001FEDF0 File Offset: 0x001FCFF0
|
||||
[Token(Token = "0x60099F9")]
|
||||
[Address(RVA = "0x18DCF00", Offset = "0x18DBD00", VA = "0x1818DCF00")]
|
||||
public EnumerableProxy(IEnumerable inner)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060099F9)
|
||||
|
||||
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: 0x060099FA RID: 39418 RVA: 0x001FEE1C File Offset: 0x001FD01C
|
||||
[Token(Token = "0x60099FA")]
|
||||
[Address(RVA = "0x18DCEB0", Offset = "0x18DBCB0", VA = "0x1818DCEB0", Slot = "4")]
|
||||
public IEnumerator GetEnumerator()
|
||||
{
|
||||
IEnumerable enumerable = this.inner;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006892 RID: 26770
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006892")]
|
||||
private readonly IEnumerable inner;
|
||||
}
|
||||
}
|
||||
+233
@@ -0,0 +1,233 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200195A RID: 6490
|
||||
[Token(Token = "0x200195A")]
|
||||
public class HashSet : ISet, ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x060099FB RID: 39419 RVA: 0x001FEE38 File Offset: 0x001FD038
|
||||
[Token(Token = "0x60099FB")]
|
||||
[Address(RVA = "0x18DDB80", Offset = "0x18DC980", VA = "0x1818DDB80")]
|
||||
public HashSet()
|
||||
{
|
||||
Hashtable hashtable = new Hashtable();
|
||||
this.impl = hashtable;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x060099FC RID: 39420 RVA: 0x001FEE58 File Offset: 0x001FD058
|
||||
[Token(Token = "0x60099FC")]
|
||||
[Address(RVA = "0x18DDC20", Offset = "0x18DCA20", VA = "0x1818DDC20")]
|
||||
public HashSet(IEnumerable s)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
Hashtable hashtable = new Hashtable();
|
||||
this.impl = hashtable;
|
||||
base..ctor();
|
||||
IEnumerator enumerator;
|
||||
if (hashtable != 0)
|
||||
{
|
||||
if (num < hashtable)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
enumerator = this.GetEnumerator();
|
||||
num += num;
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x060099FD RID: 39421 RVA: 0x001FEEA4 File Offset: 0x001FD0A4
|
||||
[Token(Token = "0x60099FD")]
|
||||
[Address(RVA = "0x18DD790", Offset = "0x18DC590", VA = "0x1818DD790", Slot = "18")]
|
||||
public virtual void Add(object o)
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
}
|
||||
|
||||
// Token: 0x060099FE RID: 39422 RVA: 0x001FEEC0 File Offset: 0x001FD0C0
|
||||
[Token(Token = "0x60099FE")]
|
||||
[Address(RVA = "0x18DD600", Offset = "0x18DC400", VA = "0x1818DD600", 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x060099FF RID: 39423 RVA: 0x001FEEF0 File Offset: 0x001FD0F0
|
||||
[Token(Token = "0x60099FF")]
|
||||
[Address(RVA = "0x18DD800", Offset = "0x18DC600", VA = "0x1818DD800", Slot = "20")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009A00 RID: 39424 RVA: 0x001FEF0C File Offset: 0x001FD10C
|
||||
[Token(Token = "0x6009A00")]
|
||||
[Address(RVA = "0x18DD850", Offset = "0x18DC650", VA = "0x1818DD850", Slot = "21")]
|
||||
public virtual bool Contains(object o)
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009A01 RID: 39425 RVA: 0x001FEF28 File Offset: 0x001FD128
|
||||
[Token(Token = "0x6009A01")]
|
||||
[Address(RVA = "0x18DD8B0", Offset = "0x18DC6B0", VA = "0x1818DD8B0", Slot = "22")]
|
||||
public virtual void CopyTo(Array array, int index)
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
}
|
||||
|
||||
// Token: 0x1700187C RID: 6268
|
||||
// (get) Token: 0x06009A02 RID: 39426 RVA: 0x001FEF44 File Offset: 0x001FD144
|
||||
[Token(Token = "0x1700187C")]
|
||||
public virtual int Count
|
||||
{
|
||||
[Token(Token = "0x6009A02")]
|
||||
[Address(RVA = "0x18DDE10", Offset = "0x18DCC10", VA = "0x1818DDE10", Slot = "23")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009A03 RID: 39427 RVA: 0x001FEF60 File Offset: 0x001FD160
|
||||
[Token(Token = "0x6009A03")]
|
||||
[Address(RVA = "0x18DD930", Offset = "0x18DC730", VA = "0x1818DD930", Slot = "24")]
|
||||
public virtual IEnumerator GetEnumerator()
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x1700187D RID: 6269
|
||||
// (get) Token: 0x06009A04 RID: 39428 RVA: 0x001FEF7C File Offset: 0x001FD17C
|
||||
[Token(Token = "0x1700187D")]
|
||||
public virtual bool IsEmpty
|
||||
{
|
||||
[Token(Token = "0x6009A04")]
|
||||
[Address(RVA = "0x18DDE60", Offset = "0x18DCC60", VA = "0x1818DDE60", Slot = "25")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
bool flag;
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700187E RID: 6270
|
||||
// (get) Token: 0x06009A05 RID: 39429 RVA: 0x001FEF98 File Offset: 0x001FD198
|
||||
[Token(Token = "0x1700187E")]
|
||||
public virtual bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6009A05")]
|
||||
[Address(RVA = "0x18DDEB0", Offset = "0x18DCCB0", VA = "0x1818DDEB0", Slot = "26")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700187F RID: 6271
|
||||
// (get) Token: 0x06009A06 RID: 39430 RVA: 0x001FEFB4 File Offset: 0x001FD1B4
|
||||
[Token(Token = "0x1700187F")]
|
||||
public virtual bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6009A06")]
|
||||
[Address(RVA = "0x18DDF00", Offset = "0x18DCD00", VA = "0x1818DDF00", Slot = "27")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001880 RID: 6272
|
||||
// (get) Token: 0x06009A07 RID: 39431 RVA: 0x001FEFD0 File Offset: 0x001FD1D0
|
||||
[Token(Token = "0x17001880")]
|
||||
public virtual bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6009A07")]
|
||||
[Address(RVA = "0x18DDF50", Offset = "0x18DCD50", VA = "0x1818DDF50", Slot = "28")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009A08 RID: 39432 RVA: 0x001FEFEC File Offset: 0x001FD1EC
|
||||
[Token(Token = "0x6009A08")]
|
||||
[Address(RVA = "0x18DDB20", Offset = "0x18DC920", VA = "0x1818DDB20", Slot = "29")]
|
||||
public virtual void Remove(object o)
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009A09 RID: 39433 RVA: 0x001FF008 File Offset: 0x001FD208
|
||||
[Token(Token = "0x6009A09")]
|
||||
[Address(RVA = "0x18DD990", Offset = "0x18DC790", VA = "0x1818DD990", Slot = "30")]
|
||||
public virtual void RemoveAll(IEnumerable e)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
bool isSynchronized = this.IsSynchronized;
|
||||
num += num;
|
||||
if (isSynchronized)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x17001881 RID: 6273
|
||||
// (get) Token: 0x06009A0A RID: 39434 RVA: 0x001FF038 File Offset: 0x001FD238
|
||||
[Token(Token = "0x17001881")]
|
||||
public virtual object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6009A0A")]
|
||||
[Address(RVA = "0x18DDFA0", Offset = "0x18DCDA0", VA = "0x1818DDFA0", Slot = "31")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.impl;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04006893 RID: 26771
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006893")]
|
||||
private readonly IDictionary impl;
|
||||
}
|
||||
}
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200195B RID: 6491
|
||||
[Token(Token = "0x200195B")]
|
||||
public interface ISet : ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06009A0B RID: 39435
|
||||
[Token(Token = "0x6009A0B")]
|
||||
[Address(Slot = "0")]
|
||||
void Add(object o);
|
||||
|
||||
// Token: 0x06009A0C RID: 39436
|
||||
[Token(Token = "0x6009A0C")]
|
||||
[Address(Slot = "1")]
|
||||
void AddAll(IEnumerable e);
|
||||
|
||||
// Token: 0x06009A0D RID: 39437
|
||||
[Token(Token = "0x6009A0D")]
|
||||
[Address(Slot = "2")]
|
||||
void Clear();
|
||||
|
||||
// Token: 0x06009A0E RID: 39438
|
||||
[Token(Token = "0x6009A0E")]
|
||||
[Address(Slot = "3")]
|
||||
bool Contains(object o);
|
||||
|
||||
// Token: 0x17001882 RID: 6274
|
||||
// (get) Token: 0x06009A0F RID: 39439
|
||||
[Token(Token = "0x17001882")]
|
||||
bool IsEmpty
|
||||
{
|
||||
[Token(Token = "0x6009A0F")]
|
||||
[Address(Slot = "4")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001883 RID: 6275
|
||||
// (get) Token: 0x06009A10 RID: 39440
|
||||
[Token(Token = "0x17001883")]
|
||||
bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6009A10")]
|
||||
[Address(Slot = "5")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001884 RID: 6276
|
||||
// (get) Token: 0x06009A11 RID: 39441
|
||||
[Token(Token = "0x17001884")]
|
||||
bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6009A11")]
|
||||
[Address(Slot = "6")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06009A12 RID: 39442
|
||||
[Token(Token = "0x6009A12")]
|
||||
[Address(Slot = "7")]
|
||||
void Remove(object o);
|
||||
|
||||
// Token: 0x06009A13 RID: 39443
|
||||
[Token(Token = "0x6009A13")]
|
||||
[Address(Slot = "8")]
|
||||
void RemoveAll(IEnumerable e);
|
||||
}
|
||||
}
|
||||
+322
@@ -0,0 +1,322 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200195C RID: 6492
|
||||
[Token(Token = "0x200195C")]
|
||||
public class LinkedDictionary : IDictionary, ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06009A14 RID: 39444 RVA: 0x001FF054 File Offset: 0x001FD254
|
||||
[Token(Token = "0x6009A14")]
|
||||
[Address(RVA = "0x18E49E0", Offset = "0x18E37E0", VA = "0x1818E49E0")]
|
||||
public LinkedDictionary()
|
||||
{
|
||||
Hashtable hashtable = new Hashtable();
|
||||
this.hash = hashtable;
|
||||
ArrayList arrayList = new ArrayList();
|
||||
this.keys = arrayList;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x06009A15 RID: 39445 RVA: 0x001FF084 File Offset: 0x001FD284
|
||||
[Token(Token = "0x6009A15")]
|
||||
[Address(RVA = "0x18E4560", Offset = "0x18E3360", VA = "0x1818E4560", Slot = "20")]
|
||||
public virtual void Add(object k, object v)
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
IList list = this.keys;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009A16 RID: 39446 RVA: 0x001FF0A4 File Offset: 0x001FD2A4
|
||||
[Token(Token = "0x6009A16")]
|
||||
[Address(RVA = "0x18E45F0", Offset = "0x18E33F0", VA = "0x1818E45F0", Slot = "21")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
IList list = this.keys;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009A17 RID: 39447 RVA: 0x001FF0C4 File Offset: 0x001FD2C4
|
||||
[Token(Token = "0x6009A17")]
|
||||
[Address(RVA = "0x18E4660", Offset = "0x18E3460", VA = "0x1818E4660", Slot = "22")]
|
||||
public virtual bool Contains(object k)
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009A18 RID: 39448 RVA: 0x001FF0E0 File Offset: 0x001FD2E0
|
||||
[Token(Token = "0x6009A18")]
|
||||
[Address(RVA = "0x18E46C0", Offset = "0x18E34C0", VA = "0x1818E46C0", 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x17001885 RID: 6277
|
||||
// (get) Token: 0x06009A19 RID: 39449 RVA: 0x001FF14C File Offset: 0x001FD34C
|
||||
[Token(Token = "0x17001885")]
|
||||
public virtual int Count
|
||||
{
|
||||
[Token(Token = "0x6009A19")]
|
||||
[Address(RVA = "0x18E4AB0", Offset = "0x18E38B0", VA = "0x1818E4AB0", Slot = "24")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009A1A RID: 39450 RVA: 0x001FF168 File Offset: 0x001FD368
|
||||
[Token(Token = "0x6009A1A")]
|
||||
[Address(RVA = "0xE84020", Offset = "0xE82E20", VA = "0x180E84020", Slot = "19")]
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A1A)
|
||||
|
||||
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: 0x06009A1B RID: 39451 RVA: 0x001FF17C File Offset: 0x001FD37C
|
||||
[Token(Token = "0x6009A1B")]
|
||||
[Address(RVA = "0x18E4900", Offset = "0x18E3700", VA = "0x1818E4900", Slot = "25")]
|
||||
public virtual IDictionaryEnumerator GetEnumerator()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A1B)
|
||||
|
||||
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: 0x06009A1C RID: 39452 RVA: 0x001FF1A0 File Offset: 0x001FD3A0
|
||||
[Token(Token = "0x6009A1C")]
|
||||
[Address(RVA = "0x18E4960", Offset = "0x18E3760", VA = "0x1818E4960", Slot = "26")]
|
||||
public virtual void Remove(object k)
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
IList list = this.keys;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001886 RID: 6278
|
||||
// (get) Token: 0x06009A1D RID: 39453 RVA: 0x001FF1C0 File Offset: 0x001FD3C0
|
||||
[Token(Token = "0x17001886")]
|
||||
public virtual bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6009A1D")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "27")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001887 RID: 6279
|
||||
// (get) Token: 0x06009A1E RID: 39454 RVA: 0x001FF1D0 File Offset: 0x001FD3D0
|
||||
[Token(Token = "0x17001887")]
|
||||
public virtual bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6009A1E")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "28")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001888 RID: 6280
|
||||
// (get) Token: 0x06009A1F RID: 39455 RVA: 0x001FF1E0 File Offset: 0x001FD3E0
|
||||
[Token(Token = "0x17001888")]
|
||||
public virtual bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6009A1F")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "29")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001889 RID: 6281
|
||||
// (get) Token: 0x06009A20 RID: 39456 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17001889")]
|
||||
public virtual object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6009A20")]
|
||||
[Address(RVA = "0x18E4BF0", Offset = "0x18E39F0", VA = "0x1818E4BF0", Slot = "30")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700188A RID: 6282
|
||||
// (get) Token: 0x06009A21 RID: 39457 RVA: 0x001FF1F0 File Offset: 0x001FD3F0
|
||||
[Token(Token = "0x1700188A")]
|
||||
public virtual ICollection Keys
|
||||
{
|
||||
[Token(Token = "0x6009A21")]
|
||||
[Address(RVA = "0x18E4B60", Offset = "0x18E3960", VA = "0x1818E4B60", Slot = "31")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A21)
|
||||
|
||||
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:ArrayList(var_0_0B, newobj:ArrayList(ArrayList::.ctor, 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: 0x1700188B RID: 6283
|
||||
// (get) Token: 0x06009A22 RID: 39458 RVA: 0x001FF208 File Offset: 0x001FD408
|
||||
[Token(Token = "0x1700188B")]
|
||||
public virtual ICollection Values
|
||||
{
|
||||
[Token(Token = "0x6009A22")]
|
||||
[Address(RVA = "0x18E4C30", Offset = "0x18E3A30", VA = "0x1818E4C30", Slot = "32")]
|
||||
get
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
IList list = this.keys;
|
||||
IList list2 = this.keys;
|
||||
ArrayList arrayList;
|
||||
if (arrayList != 0)
|
||||
{
|
||||
if (num < arrayList)
|
||||
{
|
||||
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;
|
||||
num += num;
|
||||
}
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700188C RID: 6284
|
||||
[Token(Token = "0x1700188C")]
|
||||
public virtual object this[object k]
|
||||
{
|
||||
[Token(Token = "0x6009A23")]
|
||||
[Address(RVA = "0x18E4B00", Offset = "0x18E3900", VA = "0x1818E4B00", Slot = "33")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
[Token(Token = "0x6009A24")]
|
||||
[Address(RVA = "0x18E4F60", Offset = "0x18E3D60", VA = "0x1818E4F60", Slot = "34")]
|
||||
set
|
||||
{
|
||||
IDictionary dictionary = this.hash;
|
||||
IList list = this.keys;
|
||||
IDictionary dictionary2 = this.hash;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04006894 RID: 26772
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006894")]
|
||||
internal readonly IDictionary hash;
|
||||
|
||||
// Token: 0x04006895 RID: 26773
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006895")]
|
||||
internal readonly IList keys;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200195D RID: 6493
|
||||
[Token(Token = "0x200195D")]
|
||||
internal class LinkedDictionaryEnumerator : IDictionaryEnumerator, IEnumerator
|
||||
{
|
||||
// Token: 0x06009A25 RID: 39461 RVA: 0x001FF2CC File Offset: 0x001FD4CC
|
||||
[Token(Token = "0x6009A25")]
|
||||
[Address(RVA = "0x45BBF0", Offset = "0x45A9F0", VA = "0x18045BBF0")]
|
||||
internal LinkedDictionaryEnumerator(LinkedDictionary parent)
|
||||
{
|
||||
this.parent = parent;
|
||||
}
|
||||
|
||||
// Token: 0x1700188D RID: 6285
|
||||
// (get) Token: 0x06009A26 RID: 39462 RVA: 0x001FF2F8 File Offset: 0x001FD4F8
|
||||
[Token(Token = "0x1700188D")]
|
||||
public virtual object Current
|
||||
{
|
||||
[Token(Token = "0x6009A26")]
|
||||
[Address(RVA = "0x18E43E0", Offset = "0x18E31E0", VA = "0x1818E43E0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
object obj;
|
||||
return obj;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700188E RID: 6286
|
||||
// (get) Token: 0x06009A27 RID: 39463 RVA: 0x001FF308 File Offset: 0x001FD508
|
||||
[Token(Token = "0x1700188E")]
|
||||
public virtual DictionaryEntry Entry
|
||||
{
|
||||
[Token(Token = "0x6009A27")]
|
||||
[Address(RVA = "0x18E4440", Offset = "0x18E3240", VA = "0x1818E4440", Slot = "11")]
|
||||
get
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700188F RID: 6287
|
||||
// (get) Token: 0x06009A28 RID: 39464 RVA: 0x001FF320 File Offset: 0x001FD520
|
||||
[Token(Token = "0x1700188F")]
|
||||
public virtual object Key
|
||||
{
|
||||
[Token(Token = "0x6009A28")]
|
||||
[Address(RVA = "0x18E44E0", Offset = "0x18E32E0", VA = "0x1818E44E0", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return this.CurrentKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009A29 RID: 39465 RVA: 0x001FF334 File Offset: 0x001FD534
|
||||
[Token(Token = "0x6009A29")]
|
||||
[Address(RVA = "0x18E4280", Offset = "0x18E3080", VA = "0x1818E4280", 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: 0x06009A2A RID: 39466 RVA: 0x001FF38C File Offset: 0x001FD58C
|
||||
[Token(Token = "0x6009A2A")]
|
||||
[Address(RVA = "0x45BBE0", Offset = "0x45A9E0", VA = "0x18045BBE0", Slot = "14")]
|
||||
public virtual void Reset()
|
||||
{
|
||||
this.pos = (int)((ulong)4294967295L);
|
||||
}
|
||||
|
||||
// Token: 0x17001890 RID: 6288
|
||||
// (get) Token: 0x06009A2B RID: 39467 RVA: 0x001FF3AC File Offset: 0x001FD5AC
|
||||
[Token(Token = "0x17001890")]
|
||||
public virtual object Value
|
||||
{
|
||||
[Token(Token = "0x6009A2B")]
|
||||
[Address(RVA = "0x18E44F0", Offset = "0x18E32F0", VA = "0x1818E44F0", Slot = "15")]
|
||||
get
|
||||
{
|
||||
IDictionary hash = this.parent.hash;
|
||||
object currentKey = this.CurrentKey;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001891 RID: 6289
|
||||
// (get) Token: 0x06009A2C RID: 39468 RVA: 0x001FF3D4 File Offset: 0x001FD5D4
|
||||
[Token(Token = "0x17001891")]
|
||||
private object CurrentKey
|
||||
{
|
||||
[Token(Token = "0x6009A2C")]
|
||||
[Address(RVA = "0x18E4320", Offset = "0x18E3120", VA = "0x1818E4320")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A2C)
|
||||
|
||||
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: 0x04006896 RID: 26774
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006896")]
|
||||
private readonly LinkedDictionary parent;
|
||||
|
||||
// Token: 0x04006897 RID: 26775
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006897")]
|
||||
private int pos = (int)((ulong)4294967295L);
|
||||
}
|
||||
}
|
||||
+269
@@ -0,0 +1,269 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200195E RID: 6494
|
||||
[Token(Token = "0x200195E")]
|
||||
public abstract class UnmodifiableDictionary : IDictionary, ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06009A2D RID: 39469 RVA: 0x001FF40C File Offset: 0x001FD60C
|
||||
[Token(Token = "0x6009A2D")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected UnmodifiableDictionary()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009A2E RID: 39470 RVA: 0x001FF420 File Offset: 0x001FD620
|
||||
[Token(Token = "0x6009A2E")]
|
||||
[Address(RVA = "0x18EA720", Offset = "0x18E9520", VA = "0x1818EA720", Slot = "20")]
|
||||
public virtual void Add(object k, object v)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A2E)
|
||||
|
||||
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: 0x06009A2F RID: 39471 RVA: 0x001FF434 File Offset: 0x001FD634
|
||||
[Token(Token = "0x6009A2F")]
|
||||
[Address(RVA = "0x18EA770", Offset = "0x18E9570", VA = "0x1818EA770", Slot = "21")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A2F)
|
||||
|
||||
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: 0x06009A30 RID: 39472
|
||||
[Token(Token = "0x6009A30")]
|
||||
[Address(Slot = "22")]
|
||||
public abstract bool Contains(object k);
|
||||
|
||||
// Token: 0x06009A31 RID: 39473
|
||||
[Token(Token = "0x6009A31")]
|
||||
[Address(Slot = "23")]
|
||||
public abstract void CopyTo(Array array, int index);
|
||||
|
||||
// Token: 0x17001892 RID: 6290
|
||||
// (get) Token: 0x06009A32 RID: 39474
|
||||
[Token(Token = "0x17001892")]
|
||||
public abstract int Count
|
||||
{
|
||||
[Token(Token = "0x6009A32")]
|
||||
[Address(Slot = "24")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06009A33 RID: 39475 RVA: 0x001FF448 File Offset: 0x001FD648
|
||||
[Token(Token = "0x6009A33")]
|
||||
[Address(RVA = "0xE84020", Offset = "0xE82E20", VA = "0x180E84020", Slot = "19")]
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A33)
|
||||
|
||||
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: 0x06009A34 RID: 39476
|
||||
[Token(Token = "0x6009A34")]
|
||||
[Address(Slot = "25")]
|
||||
public abstract IDictionaryEnumerator GetEnumerator();
|
||||
|
||||
// Token: 0x06009A35 RID: 39477 RVA: 0x001FF45C File Offset: 0x001FD65C
|
||||
[Token(Token = "0x6009A35")]
|
||||
[Address(RVA = "0x18EA7C0", Offset = "0x18E95C0", VA = "0x1818EA7C0", Slot = "26")]
|
||||
public virtual void Remove(object k)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A35)
|
||||
|
||||
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: 0x17001893 RID: 6291
|
||||
// (get) Token: 0x06009A36 RID: 39478
|
||||
[Token(Token = "0x17001893")]
|
||||
public abstract bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6009A36")]
|
||||
[Address(Slot = "27")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001894 RID: 6292
|
||||
// (get) Token: 0x06009A37 RID: 39479 RVA: 0x001FF470 File Offset: 0x001FD670
|
||||
[Token(Token = "0x17001894")]
|
||||
public virtual bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6009A37")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "28")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001895 RID: 6293
|
||||
// (get) Token: 0x06009A38 RID: 39480
|
||||
[Token(Token = "0x17001895")]
|
||||
public abstract bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6009A38")]
|
||||
[Address(Slot = "29")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001896 RID: 6294
|
||||
// (get) Token: 0x06009A39 RID: 39481
|
||||
[Token(Token = "0x17001896")]
|
||||
public abstract object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6009A39")]
|
||||
[Address(Slot = "30")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001897 RID: 6295
|
||||
// (get) Token: 0x06009A3A RID: 39482
|
||||
[Token(Token = "0x17001897")]
|
||||
public abstract ICollection Keys
|
||||
{
|
||||
[Token(Token = "0x6009A3A")]
|
||||
[Address(Slot = "31")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001898 RID: 6296
|
||||
// (get) Token: 0x06009A3B RID: 39483
|
||||
[Token(Token = "0x17001898")]
|
||||
public abstract ICollection Values
|
||||
{
|
||||
[Token(Token = "0x6009A3B")]
|
||||
[Address(Slot = "32")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17001899 RID: 6297
|
||||
[Token(Token = "0x17001899")]
|
||||
public virtual object this[object k]
|
||||
{
|
||||
[Token(Token = "0x6009A3C")]
|
||||
[Address(RVA = "0x18EA810", Offset = "0x18E9610", VA = "0x1818EA810", Slot = "33")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A3C)
|
||||
|
||||
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 = "0x6009A3D")]
|
||||
[Address(RVA = "0x18EA830", Offset = "0x18E9630", VA = "0x1818EA830", Slot = "34")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A3D)
|
||||
|
||||
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: 0x06009A3E RID: 39486
|
||||
[Token(Token = "0x6009A3E")]
|
||||
[Address(Slot = "35")]
|
||||
protected abstract object GetValue(object k);
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x0200195F RID: 6495
|
||||
[Token(Token = "0x200195F")]
|
||||
public class UnmodifiableDictionaryProxy : UnmodifiableDictionary
|
||||
{
|
||||
// Token: 0x06009A3F RID: 39487 RVA: 0x001FF4A8 File Offset: 0x001FD6A8
|
||||
[Token(Token = "0x6009A3F")]
|
||||
[Address(RVA = "0x3FFB80", Offset = "0x3FE980", VA = "0x1803FFB80")]
|
||||
public UnmodifiableDictionaryProxy(IDictionary d)
|
||||
{
|
||||
this.d = d;
|
||||
}
|
||||
|
||||
// Token: 0x06009A40 RID: 39488 RVA: 0x001FF4C4 File Offset: 0x001FD6C4
|
||||
[Token(Token = "0x6009A40")]
|
||||
[Address(RVA = "0x18EA3C0", Offset = "0x18E91C0", VA = "0x1818EA3C0", Slot = "22")]
|
||||
public override bool Contains(object k)
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009A41 RID: 39489 RVA: 0x001FF4E0 File Offset: 0x001FD6E0
|
||||
[Token(Token = "0x6009A41")]
|
||||
[Address(RVA = "0x18EA420", Offset = "0x18E9220", VA = "0x1818EA420", Slot = "23")]
|
||||
public override void CopyTo(Array array, int index)
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
}
|
||||
|
||||
// Token: 0x1700189A RID: 6298
|
||||
// (get) Token: 0x06009A42 RID: 39490 RVA: 0x001FF4FC File Offset: 0x001FD6FC
|
||||
[Token(Token = "0x1700189A")]
|
||||
public override int Count
|
||||
{
|
||||
[Token(Token = "0x6009A42")]
|
||||
[Address(RVA = "0x18EA540", Offset = "0x18E9340", VA = "0x1818EA540", Slot = "24")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009A43 RID: 39491 RVA: 0x001FF518 File Offset: 0x001FD718
|
||||
[Token(Token = "0x6009A43")]
|
||||
[Address(RVA = "0x18EA490", Offset = "0x18E9290", VA = "0x1818EA490", Slot = "25")]
|
||||
public override IDictionaryEnumerator GetEnumerator()
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x1700189B RID: 6299
|
||||
// (get) Token: 0x06009A44 RID: 39492 RVA: 0x001FF534 File Offset: 0x001FD734
|
||||
[Token(Token = "0x1700189B")]
|
||||
public override bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6009A44")]
|
||||
[Address(RVA = "0x18EA590", Offset = "0x18E9390", VA = "0x1818EA590", Slot = "27")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700189C RID: 6300
|
||||
// (get) Token: 0x06009A45 RID: 39493 RVA: 0x001FF550 File Offset: 0x001FD750
|
||||
[Token(Token = "0x1700189C")]
|
||||
public override bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6009A45")]
|
||||
[Address(RVA = "0x18EA5E0", Offset = "0x18E93E0", VA = "0x1818EA5E0", Slot = "29")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700189D RID: 6301
|
||||
// (get) Token: 0x06009A46 RID: 39494 RVA: 0x001FF56C File Offset: 0x001FD76C
|
||||
[Token(Token = "0x1700189D")]
|
||||
public override object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6009A46")]
|
||||
[Address(RVA = "0x18EA680", Offset = "0x18E9480", VA = "0x1818EA680", Slot = "30")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700189E RID: 6302
|
||||
// (get) Token: 0x06009A47 RID: 39495 RVA: 0x001FF588 File Offset: 0x001FD788
|
||||
[Token(Token = "0x1700189E")]
|
||||
public override ICollection Keys
|
||||
{
|
||||
[Token(Token = "0x6009A47")]
|
||||
[Address(RVA = "0x18EA630", Offset = "0x18E9430", VA = "0x1818EA630", Slot = "31")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700189F RID: 6303
|
||||
// (get) Token: 0x06009A48 RID: 39496 RVA: 0x001FF5A4 File Offset: 0x001FD7A4
|
||||
[Token(Token = "0x1700189F")]
|
||||
public override ICollection Values
|
||||
{
|
||||
[Token(Token = "0x6009A48")]
|
||||
[Address(RVA = "0x18EA6D0", Offset = "0x18E94D0", VA = "0x1818EA6D0", Slot = "32")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009A49 RID: 39497 RVA: 0x001FF5C0 File Offset: 0x001FD7C0
|
||||
[Token(Token = "0x6009A49")]
|
||||
[Address(RVA = "0x18EA4E0", Offset = "0x18E92E0", VA = "0x1818EA4E0", Slot = "35")]
|
||||
protected override object GetValue(object k)
|
||||
{
|
||||
IDictionary dictionary = this.d;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006898 RID: 26776
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006898")]
|
||||
private readonly IDictionary d;
|
||||
}
|
||||
}
|
||||
+280
@@ -0,0 +1,280 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001960 RID: 6496
|
||||
[Token(Token = "0x2001960")]
|
||||
public abstract class UnmodifiableList : IList, ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06009A4A RID: 39498 RVA: 0x001FF5DC File Offset: 0x001FD7DC
|
||||
[Token(Token = "0x6009A4A")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected UnmodifiableList()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009A4B RID: 39499 RVA: 0x001FF5F0 File Offset: 0x001FD7F0
|
||||
[Token(Token = "0x6009A4B")]
|
||||
[Address(RVA = "0x18EABA0", Offset = "0x18E99A0", VA = "0x1818EABA0", Slot = "20")]
|
||||
public virtual int Add(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A4B)
|
||||
|
||||
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: 0x06009A4C RID: 39500 RVA: 0x001FF604 File Offset: 0x001FD804
|
||||
[Token(Token = "0x6009A4C")]
|
||||
[Address(RVA = "0x18EABF0", Offset = "0x18E99F0", VA = "0x1818EABF0", Slot = "21")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A4C)
|
||||
|
||||
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: 0x06009A4D RID: 39501
|
||||
[Token(Token = "0x6009A4D")]
|
||||
[Address(Slot = "22")]
|
||||
public abstract bool Contains(object o);
|
||||
|
||||
// Token: 0x06009A4E RID: 39502
|
||||
[Token(Token = "0x6009A4E")]
|
||||
[Address(Slot = "23")]
|
||||
public abstract void CopyTo(Array array, int index);
|
||||
|
||||
// Token: 0x170018A0 RID: 6304
|
||||
// (get) Token: 0x06009A4F RID: 39503
|
||||
[Token(Token = "0x170018A0")]
|
||||
public abstract int Count
|
||||
{
|
||||
[Token(Token = "0x6009A4F")]
|
||||
[Address(Slot = "24")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06009A50 RID: 39504
|
||||
[Token(Token = "0x6009A50")]
|
||||
[Address(Slot = "25")]
|
||||
public abstract IEnumerator GetEnumerator();
|
||||
|
||||
// Token: 0x06009A51 RID: 39505
|
||||
[Token(Token = "0x6009A51")]
|
||||
[Address(Slot = "26")]
|
||||
public abstract int IndexOf(object o);
|
||||
|
||||
// Token: 0x06009A52 RID: 39506 RVA: 0x001FF618 File Offset: 0x001FD818
|
||||
[Token(Token = "0x6009A52")]
|
||||
[Address(RVA = "0x18EAC40", Offset = "0x18E9A40", VA = "0x1818EAC40", Slot = "27")]
|
||||
public virtual void Insert(int i, object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A52)
|
||||
|
||||
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: 0x170018A1 RID: 6305
|
||||
// (get) Token: 0x06009A53 RID: 39507
|
||||
[Token(Token = "0x170018A1")]
|
||||
public abstract bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6009A53")]
|
||||
[Address(Slot = "28")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170018A2 RID: 6306
|
||||
// (get) Token: 0x06009A54 RID: 39508 RVA: 0x001FF62C File Offset: 0x001FD82C
|
||||
[Token(Token = "0x170018A2")]
|
||||
public virtual bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6009A54")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "29")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170018A3 RID: 6307
|
||||
// (get) Token: 0x06009A55 RID: 39509
|
||||
[Token(Token = "0x170018A3")]
|
||||
public abstract bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6009A55")]
|
||||
[Address(Slot = "30")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06009A56 RID: 39510 RVA: 0x001FF63C File Offset: 0x001FD83C
|
||||
[Token(Token = "0x6009A56")]
|
||||
[Address(RVA = "0x18EACE0", Offset = "0x18E9AE0", VA = "0x1818EACE0", Slot = "31")]
|
||||
public virtual void Remove(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A56)
|
||||
|
||||
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: 0x06009A57 RID: 39511 RVA: 0x001FF650 File Offset: 0x001FD850
|
||||
[Token(Token = "0x6009A57")]
|
||||
[Address(RVA = "0x18EAC90", Offset = "0x18E9A90", VA = "0x1818EAC90", Slot = "32")]
|
||||
public virtual void RemoveAt(int i)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A57)
|
||||
|
||||
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: 0x170018A4 RID: 6308
|
||||
// (get) Token: 0x06009A58 RID: 39512
|
||||
[Token(Token = "0x170018A4")]
|
||||
public abstract object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6009A58")]
|
||||
[Address(Slot = "33")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170018A5 RID: 6309
|
||||
[Token(Token = "0x170018A5")]
|
||||
public virtual object this[int i]
|
||||
{
|
||||
[Token(Token = "0x6009A59")]
|
||||
[Address(RVA = "0x18EAD30", Offset = "0x18E9B30", VA = "0x1818EAD30", Slot = "34")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A59)
|
||||
|
||||
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 = "0x6009A5A")]
|
||||
[Address(RVA = "0x18EAD50", Offset = "0x18E9B50", VA = "0x1818EAD50", Slot = "35")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A5A)
|
||||
|
||||
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: 0x06009A5B RID: 39515
|
||||
[Token(Token = "0x6009A5B")]
|
||||
[Address(Slot = "36")]
|
||||
protected abstract object GetValue(int i);
|
||||
}
|
||||
}
|
||||
+124
@@ -0,0 +1,124 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001961 RID: 6497
|
||||
[Token(Token = "0x2001961")]
|
||||
public class UnmodifiableListProxy : UnmodifiableList
|
||||
{
|
||||
// Token: 0x06009A5C RID: 39516 RVA: 0x001FF68C File Offset: 0x001FD88C
|
||||
[Token(Token = "0x6009A5C")]
|
||||
[Address(RVA = "0x3FFB80", Offset = "0x3FE980", VA = "0x1803FFB80")]
|
||||
public UnmodifiableListProxy(IList l)
|
||||
{
|
||||
this.l = l;
|
||||
}
|
||||
|
||||
// Token: 0x06009A5D RID: 39517 RVA: 0x001FF6A8 File Offset: 0x001FD8A8
|
||||
[Token(Token = "0x6009A5D")]
|
||||
[Address(RVA = "0x18EA880", Offset = "0x18E9680", VA = "0x1818EA880", Slot = "22")]
|
||||
public override bool Contains(object o)
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009A5E RID: 39518 RVA: 0x001FF6C4 File Offset: 0x001FD8C4
|
||||
[Token(Token = "0x6009A5E")]
|
||||
[Address(RVA = "0x18EA8E0", Offset = "0x18E96E0", VA = "0x1818EA8E0", Slot = "23")]
|
||||
public override void CopyTo(Array array, int index)
|
||||
{
|
||||
IList list = this.l;
|
||||
}
|
||||
|
||||
// Token: 0x170018A6 RID: 6310
|
||||
// (get) Token: 0x06009A5F RID: 39519 RVA: 0x001FF6E0 File Offset: 0x001FD8E0
|
||||
[Token(Token = "0x170018A6")]
|
||||
public override int Count
|
||||
{
|
||||
[Token(Token = "0x6009A5F")]
|
||||
[Address(RVA = "0x18EAA60", Offset = "0x18E9860", VA = "0x1818EAA60", Slot = "24")]
|
||||
get
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009A60 RID: 39520 RVA: 0x001FF6FC File Offset: 0x001FD8FC
|
||||
[Token(Token = "0x6009A60")]
|
||||
[Address(RVA = "0x18EA950", Offset = "0x18E9750", VA = "0x1818EA950", Slot = "25")]
|
||||
public override IEnumerator GetEnumerator()
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009A61 RID: 39521 RVA: 0x001FF718 File Offset: 0x001FD918
|
||||
[Token(Token = "0x6009A61")]
|
||||
[Address(RVA = "0x18EAA00", Offset = "0x18E9800", VA = "0x1818EAA00", Slot = "26")]
|
||||
public override int IndexOf(object o)
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x170018A7 RID: 6311
|
||||
// (get) Token: 0x06009A62 RID: 39522 RVA: 0x001FF734 File Offset: 0x001FD934
|
||||
[Token(Token = "0x170018A7")]
|
||||
public override bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6009A62")]
|
||||
[Address(RVA = "0x18EAAB0", Offset = "0x18E98B0", VA = "0x1818EAAB0", Slot = "28")]
|
||||
get
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170018A8 RID: 6312
|
||||
// (get) Token: 0x06009A63 RID: 39523 RVA: 0x001FF750 File Offset: 0x001FD950
|
||||
[Token(Token = "0x170018A8")]
|
||||
public override bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6009A63")]
|
||||
[Address(RVA = "0x18EAB00", Offset = "0x18E9900", VA = "0x1818EAB00", Slot = "30")]
|
||||
get
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170018A9 RID: 6313
|
||||
// (get) Token: 0x06009A64 RID: 39524 RVA: 0x001FF76C File Offset: 0x001FD96C
|
||||
[Token(Token = "0x170018A9")]
|
||||
public override object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6009A64")]
|
||||
[Address(RVA = "0x18EAB50", Offset = "0x18E9950", VA = "0x1818EAB50", Slot = "33")]
|
||||
get
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009A65 RID: 39525 RVA: 0x001FF788 File Offset: 0x001FD988
|
||||
[Token(Token = "0x6009A65")]
|
||||
[Address(RVA = "0x18EA9A0", Offset = "0x18E97A0", VA = "0x1818EA9A0", Slot = "36")]
|
||||
protected override object GetValue(int i)
|
||||
{
|
||||
IList list = this.l;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006899 RID: 26777
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006899")]
|
||||
private readonly IList l;
|
||||
}
|
||||
}
|
||||
+226
@@ -0,0 +1,226 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001962 RID: 6498
|
||||
[Token(Token = "0x2001962")]
|
||||
public abstract class UnmodifiableSet : ISet, ICollection, IEnumerable
|
||||
{
|
||||
// Token: 0x06009A66 RID: 39526 RVA: 0x001FF7A4 File Offset: 0x001FD9A4
|
||||
[Token(Token = "0x6009A66")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected UnmodifiableSet()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009A67 RID: 39527 RVA: 0x001FF7B8 File Offset: 0x001FD9B8
|
||||
[Token(Token = "0x6009A67")]
|
||||
[Address(RVA = "0x18EB0A0", Offset = "0x18E9EA0", VA = "0x1818EB0A0", Slot = "18")]
|
||||
public virtual void Add(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A67)
|
||||
|
||||
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: 0x06009A68 RID: 39528 RVA: 0x001FF7CC File Offset: 0x001FD9CC
|
||||
[Token(Token = "0x6009A68")]
|
||||
[Address(RVA = "0x18EB050", Offset = "0x18E9E50", VA = "0x1818EB050", Slot = "19")]
|
||||
public virtual void AddAll(IEnumerable e)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A68)
|
||||
|
||||
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: 0x06009A69 RID: 39529 RVA: 0x001FF7E0 File Offset: 0x001FD9E0
|
||||
[Token(Token = "0x6009A69")]
|
||||
[Address(RVA = "0x18EB0F0", Offset = "0x18E9EF0", VA = "0x1818EB0F0", Slot = "20")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A69)
|
||||
|
||||
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: 0x06009A6A RID: 39530
|
||||
[Token(Token = "0x6009A6A")]
|
||||
[Address(Slot = "21")]
|
||||
public abstract bool Contains(object o);
|
||||
|
||||
// Token: 0x06009A6B RID: 39531
|
||||
[Token(Token = "0x6009A6B")]
|
||||
[Address(Slot = "22")]
|
||||
public abstract void CopyTo(Array array, int index);
|
||||
|
||||
// Token: 0x170018AA RID: 6314
|
||||
// (get) Token: 0x06009A6C RID: 39532
|
||||
[Token(Token = "0x170018AA")]
|
||||
public abstract int Count
|
||||
{
|
||||
[Token(Token = "0x6009A6C")]
|
||||
[Address(Slot = "23")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06009A6D RID: 39533
|
||||
[Token(Token = "0x6009A6D")]
|
||||
[Address(Slot = "24")]
|
||||
public abstract IEnumerator GetEnumerator();
|
||||
|
||||
// Token: 0x170018AB RID: 6315
|
||||
// (get) Token: 0x06009A6E RID: 39534
|
||||
[Token(Token = "0x170018AB")]
|
||||
public abstract bool IsEmpty
|
||||
{
|
||||
[Token(Token = "0x6009A6E")]
|
||||
[Address(Slot = "25")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170018AC RID: 6316
|
||||
// (get) Token: 0x06009A6F RID: 39535
|
||||
[Token(Token = "0x170018AC")]
|
||||
public abstract bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6009A6F")]
|
||||
[Address(Slot = "26")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170018AD RID: 6317
|
||||
// (get) Token: 0x06009A70 RID: 39536 RVA: 0x001FF7F4 File Offset: 0x001FD9F4
|
||||
[Token(Token = "0x170018AD")]
|
||||
public virtual bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6009A70")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "27")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170018AE RID: 6318
|
||||
// (get) Token: 0x06009A71 RID: 39537
|
||||
[Token(Token = "0x170018AE")]
|
||||
public abstract bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6009A71")]
|
||||
[Address(Slot = "28")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170018AF RID: 6319
|
||||
// (get) Token: 0x06009A72 RID: 39538
|
||||
[Token(Token = "0x170018AF")]
|
||||
public abstract object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6009A72")]
|
||||
[Address(Slot = "29")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06009A73 RID: 39539 RVA: 0x001FF804 File Offset: 0x001FDA04
|
||||
[Token(Token = "0x6009A73")]
|
||||
[Address(RVA = "0x18EB190", Offset = "0x18E9F90", VA = "0x1818EB190", Slot = "30")]
|
||||
public virtual void Remove(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A73)
|
||||
|
||||
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: 0x06009A74 RID: 39540 RVA: 0x001FF818 File Offset: 0x001FDA18
|
||||
[Token(Token = "0x6009A74")]
|
||||
[Address(RVA = "0x18EB140", Offset = "0x18E9F40", VA = "0x1818EB140", Slot = "31")]
|
||||
public virtual void RemoveAll(IEnumerable e)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009A74)
|
||||
|
||||
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
|
||||
*/;
|
||||
}
|
||||
}
|
||||
}
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
||||
{
|
||||
// Token: 0x02001963 RID: 6499
|
||||
[Token(Token = "0x2001963")]
|
||||
public class UnmodifiableSetProxy : UnmodifiableSet
|
||||
{
|
||||
// Token: 0x06009A75 RID: 39541 RVA: 0x001FF82C File Offset: 0x001FDA2C
|
||||
[Token(Token = "0x6009A75")]
|
||||
[Address(RVA = "0x3FFB80", Offset = "0x3FE980", VA = "0x1803FFB80")]
|
||||
public UnmodifiableSetProxy(ISet s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x06009A76 RID: 39542 RVA: 0x001FF848 File Offset: 0x001FDA48
|
||||
[Token(Token = "0x6009A76")]
|
||||
[Address(RVA = "0x18EADA0", Offset = "0x18E9BA0", VA = "0x1818EADA0", Slot = "21")]
|
||||
public override bool Contains(object o)
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009A77 RID: 39543 RVA: 0x001FF864 File Offset: 0x001FDA64
|
||||
[Token(Token = "0x6009A77")]
|
||||
[Address(RVA = "0x18EAE00", Offset = "0x18E9C00", VA = "0x1818EAE00", Slot = "22")]
|
||||
public override void CopyTo(Array array, int index)
|
||||
{
|
||||
ISet set = this.s;
|
||||
}
|
||||
|
||||
// Token: 0x170018B0 RID: 6320
|
||||
// (get) Token: 0x06009A78 RID: 39544 RVA: 0x001FF880 File Offset: 0x001FDA80
|
||||
[Token(Token = "0x170018B0")]
|
||||
public override int Count
|
||||
{
|
||||
[Token(Token = "0x6009A78")]
|
||||
[Address(RVA = "0x18EAEC0", Offset = "0x18E9CC0", VA = "0x1818EAEC0", Slot = "23")]
|
||||
get
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009A79 RID: 39545 RVA: 0x001FF89C File Offset: 0x001FDA9C
|
||||
[Token(Token = "0x6009A79")]
|
||||
[Address(RVA = "0x18EAE70", Offset = "0x18E9C70", VA = "0x1818EAE70", Slot = "24")]
|
||||
public override IEnumerator GetEnumerator()
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x170018B1 RID: 6321
|
||||
// (get) Token: 0x06009A7A RID: 39546 RVA: 0x001FF8B8 File Offset: 0x001FDAB8
|
||||
[Token(Token = "0x170018B1")]
|
||||
public override bool IsEmpty
|
||||
{
|
||||
[Token(Token = "0x6009A7A")]
|
||||
[Address(RVA = "0x18EAF10", Offset = "0x18E9D10", VA = "0x1818EAF10", Slot = "25")]
|
||||
get
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170018B2 RID: 6322
|
||||
// (get) Token: 0x06009A7B RID: 39547 RVA: 0x001FF8D4 File Offset: 0x001FDAD4
|
||||
[Token(Token = "0x170018B2")]
|
||||
public override bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6009A7B")]
|
||||
[Address(RVA = "0x18EAF60", Offset = "0x18E9D60", VA = "0x1818EAF60", Slot = "26")]
|
||||
get
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170018B3 RID: 6323
|
||||
// (get) Token: 0x06009A7C RID: 39548 RVA: 0x001FF8F0 File Offset: 0x001FDAF0
|
||||
[Token(Token = "0x170018B3")]
|
||||
public override bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6009A7C")]
|
||||
[Address(RVA = "0x18EAFB0", Offset = "0x18E9DB0", VA = "0x1818EAFB0", Slot = "28")]
|
||||
get
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170018B4 RID: 6324
|
||||
// (get) Token: 0x06009A7D RID: 39549 RVA: 0x001FF90C File Offset: 0x001FDB0C
|
||||
[Token(Token = "0x170018B4")]
|
||||
public override object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6009A7D")]
|
||||
[Address(RVA = "0x18EB000", Offset = "0x18E9E00", VA = "0x1818EB000", Slot = "29")]
|
||||
get
|
||||
{
|
||||
ISet set = this.s;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400689A RID: 26778
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400689A")]
|
||||
private readonly ISet s;
|
||||
}
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date
|
||||
{
|
||||
// Token: 0x02001954 RID: 6484
|
||||
[Token(Token = "0x2001954")]
|
||||
public sealed class DateTimeObject
|
||||
{
|
||||
// Token: 0x060099E1 RID: 39393 RVA: 0x001FEB28 File Offset: 0x001FCD28
|
||||
[Token(Token = "0x60099E1")]
|
||||
[Address(RVA = "0x18D74F0", Offset = "0x18D62F0", VA = "0x1818D74F0")]
|
||||
public DateTimeObject(DateTime dt)
|
||||
{
|
||||
this.dt = dt;
|
||||
}
|
||||
|
||||
// Token: 0x1700187A RID: 6266
|
||||
// (get) Token: 0x060099E2 RID: 39394 RVA: 0x001FEB44 File Offset: 0x001FCD44
|
||||
[Token(Token = "0x1700187A")]
|
||||
public DateTime Value
|
||||
{
|
||||
[Token(Token = "0x60099E2")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.dt;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060099E3 RID: 39395 RVA: 0x001FEB58 File Offset: 0x001FCD58
|
||||
[Token(Token = "0x60099E3")]
|
||||
[Address(RVA = "0x18D74D0", Offset = "0x18D62D0", VA = "0x1818D74D0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
DateTime dateTime = this.dt;
|
||||
string text;
|
||||
return text;
|
||||
}
|
||||
|
||||
// Token: 0x0400688E RID: 26766
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400688E")]
|
||||
private readonly DateTime dt;
|
||||
}
|
||||
}
|
||||
+104
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date
|
||||
{
|
||||
// Token: 0x02001955 RID: 6485
|
||||
[Token(Token = "0x2001955")]
|
||||
public class DateTimeUtilities
|
||||
{
|
||||
// Token: 0x060099E4 RID: 39396 RVA: 0x001FEB70 File Offset: 0x001FCD70
|
||||
[Token(Token = "0x60099E4")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private DateTimeUtilities()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060099E5 RID: 39397 RVA: 0x001FEB84 File Offset: 0x001FCD84
|
||||
[Token(Token = "0x60099E5")]
|
||||
[Address(RVA = "0x18D76B0", Offset = "0x18D64B0", VA = "0x1818D76B0")]
|
||||
public static long DateTimeToUnixMs(DateTime dateTime)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060099E5)
|
||||
|
||||
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, sub:int32(ldloc:int32(var_1), ldloc:int32(var_1)))
|
||||
stloc:uint64(var_2, add:uint64(ldloc:uint64(var_2), ldloc:uint64(var_2)))
|
||||
stloc:ArgumentException(var_3_17, 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: 0x060099E6 RID: 39398 RVA: 0x001FEBA8 File Offset: 0x001FCDA8
|
||||
[Token(Token = "0x60099E6")]
|
||||
[Address(RVA = "0x18D77E0", Offset = "0x18D65E0", VA = "0x1818D77E0")]
|
||||
public static DateTime UnixMsToDateTime(long unixMs)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060099E6)
|
||||
|
||||
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: 0x060099E7 RID: 39399 RVA: 0x001FEBC0 File Offset: 0x001FCDC0
|
||||
[Token(Token = "0x60099E7")]
|
||||
[Address(RVA = "0x18D7520", Offset = "0x18D6320", VA = "0x1818D7520")]
|
||||
public static long CurrentUnixMs()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060099E7)
|
||||
|
||||
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:int32(var_3, sub:int32(ldloc:int32(var_3), ldloc:int32(var_3)))
|
||||
stloc:uint64(var_4, add:uint64(ldloc:uint64(var_4), ldloc:uint64(var_4)))
|
||||
stloc:ArgumentException(var_5_22, 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: 0x0400688F RID: 26767
|
||||
[Token(Token = "0x400688F")]
|
||||
public static readonly DateTime UnixEpoch;
|
||||
}
|
||||
}
|
||||
+105
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001949 RID: 6473
|
||||
[Token(Token = "0x2001949")]
|
||||
public sealed class Base64
|
||||
{
|
||||
// Token: 0x060099A1 RID: 39329 RVA: 0x001FDD1C File Offset: 0x001FBF1C
|
||||
[Token(Token = "0x60099A1")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Base64()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060099A2 RID: 39330 RVA: 0x001FDD30 File Offset: 0x001FBF30
|
||||
[Token(Token = "0x60099A2")]
|
||||
[Address(RVA = "0x18D5B80", Offset = "0x18D4980", VA = "0x1818D5B80")]
|
||||
public static string ToBase64String(byte[] data)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = 0;
|
||||
return Convert.ToBase64String(data, num, length);
|
||||
}
|
||||
|
||||
// Token: 0x060099A3 RID: 39331 RVA: 0x001FDD54 File Offset: 0x001FBF54
|
||||
[Token(Token = "0x60099A3")]
|
||||
[Address(RVA = "0x18D5B10", Offset = "0x18D4910", VA = "0x1818D5B10")]
|
||||
public static string ToBase64String(byte[] data, int off, int length)
|
||||
{
|
||||
return Convert.ToBase64String(data, off, length);
|
||||
}
|
||||
|
||||
// Token: 0x060099A4 RID: 39332 RVA: 0x001FDD6C File Offset: 0x001FBF6C
|
||||
[Token(Token = "0x60099A4")]
|
||||
[Address(RVA = "0x18D5970", Offset = "0x18D4770", VA = "0x1818D5970")]
|
||||
public static byte[] Encode(byte[] data)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = 0;
|
||||
return Base64.Encode(data, num, length);
|
||||
}
|
||||
|
||||
// Token: 0x060099A5 RID: 39333 RVA: 0x001FDD90 File Offset: 0x001FBF90
|
||||
[Token(Token = "0x60099A5")]
|
||||
[Address(RVA = "0x18D5A70", Offset = "0x18D4870", VA = "0x1818D5A70")]
|
||||
public static byte[] Encode(byte[] data, int off, int length)
|
||||
{
|
||||
string text = Convert.ToBase64String(data, off, length);
|
||||
Encoding ascii = Encoding.ASCII;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099A6 RID: 39334 RVA: 0x001FDDB4 File Offset: 0x001FBFB4
|
||||
[Token(Token = "0x60099A6")]
|
||||
[Address(RVA = "0x18D5A00", Offset = "0x18D4800", VA = "0x1818D5A00")]
|
||||
public static int Encode(byte[] data, Stream outStream)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = 0;
|
||||
byte[] array = Base64.Encode(data, num, length);
|
||||
int num2 = outStream.ReadByte();
|
||||
return array.Length;
|
||||
}
|
||||
|
||||
// Token: 0x060099A7 RID: 39335 RVA: 0x001FDDE8 File Offset: 0x001FBFE8
|
||||
[Token(Token = "0x60099A7")]
|
||||
[Address(RVA = "0x18D59A0", Offset = "0x18D47A0", VA = "0x1818D59A0")]
|
||||
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: 0x060099A8 RID: 39336 RVA: 0x001FDE14 File Offset: 0x001FC014
|
||||
[Token(Token = "0x60099A8")]
|
||||
[Address(RVA = "0x18D57E0", Offset = "0x18D45E0", VA = "0x1818D57E0")]
|
||||
public static byte[] Decode(byte[] data)
|
||||
{
|
||||
return Convert.FromBase64String(Encoding.ASCII.GetString(data));
|
||||
}
|
||||
|
||||
// Token: 0x060099A9 RID: 39337 RVA: 0x001FDE3C File Offset: 0x001FC03C
|
||||
[Token(Token = "0x60099A9")]
|
||||
[Address(RVA = "0x18D5910", Offset = "0x18D4710", VA = "0x1818D5910")]
|
||||
public static byte[] Decode(string data)
|
||||
{
|
||||
return Convert.FromBase64String(data);
|
||||
}
|
||||
|
||||
// Token: 0x060099AA RID: 39338 RVA: 0x001FDE50 File Offset: 0x001FC050
|
||||
[Token(Token = "0x60099AA")]
|
||||
[Address(RVA = "0x18D5870", Offset = "0x18D4670", VA = "0x1818D5870")]
|
||||
public static int Decode(string data, Stream outStream)
|
||||
{
|
||||
byte[] array = Convert.FromBase64String(data);
|
||||
int num = outStream.ReadByte();
|
||||
return array.Length;
|
||||
}
|
||||
}
|
||||
}
|
||||
+254
@@ -0,0 +1,254 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x0200194A RID: 6474
|
||||
[Token(Token = "0x200194A")]
|
||||
public class Base64Encoder : IEncoder
|
||||
{
|
||||
// Token: 0x060099AB RID: 39339 RVA: 0x001FDE78 File Offset: 0x001FC078
|
||||
[Token(Token = "0x60099AB")]
|
||||
[Address(RVA = "0x18D5150", Offset = "0x18D3F50", VA = "0x1818D5150")]
|
||||
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: 0x060099AC RID: 39340 RVA: 0x001FDEC4 File Offset: 0x001FC0C4
|
||||
[Token(Token = "0x60099AC")]
|
||||
[Address(RVA = "0x18D5260", Offset = "0x18D4060", VA = "0x1818D5260")]
|
||||
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();
|
||||
this.InitialiseDecodingTable();
|
||||
}
|
||||
|
||||
// Token: 0x060099AD RID: 39341 RVA: 0x001FDF14 File Offset: 0x001FC114
|
||||
[Token(Token = "0x60099AD")]
|
||||
[Address(RVA = "0x18D4CC0", Offset = "0x18D3AC0", VA = "0x1818D4CC0", 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: 0x060099AE RID: 39342 RVA: 0x001FDFA8 File Offset: 0x001FC1A8
|
||||
[Token(Token = "0x60099AE")]
|
||||
[Address(RVA = "0x18D56F0", Offset = "0x18D44F0", VA = "0x1818D56F0")]
|
||||
private bool ignore(char c)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x060099AF RID: 39343 RVA: 0x001FDFB8 File Offset: 0x001FC1B8
|
||||
[Token(Token = "0x60099AF")]
|
||||
[Address(RVA = "0x18D47B0", Offset = "0x18D35B0", VA = "0x1818D47B0", 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: 0x060099B0 RID: 39344 RVA: 0x001FE054 File Offset: 0x001FC254
|
||||
[Token(Token = "0x60099B0")]
|
||||
[Address(RVA = "0x18D5710", Offset = "0x18D4510", VA = "0x1818D5710")]
|
||||
private int nextI(byte[] data, int i, int finish)
|
||||
{
|
||||
if (i >= finish || i == 250)
|
||||
{
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x060099B1 RID: 39345 RVA: 0x001FE074 File Offset: 0x001FC274
|
||||
[Token(Token = "0x60099B1")]
|
||||
[Address(RVA = "0x18D43F0", Offset = "0x18D31F0", VA = "0x1818D43F0", 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: 0x060099B2 RID: 39346 RVA: 0x001FE1A4 File Offset: 0x001FC3A4
|
||||
[Token(Token = "0x60099B2")]
|
||||
[Address(RVA = "0x18D52F0", Offset = "0x18D40F0", VA = "0x1818D52F0")]
|
||||
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: 0x060099B3 RID: 39347 RVA: 0x001FE1E8 File Offset: 0x001FC3E8
|
||||
[Token(Token = "0x60099B3")]
|
||||
[Address(RVA = "0x18D5770", Offset = "0x18D4570", VA = "0x1818D5770")]
|
||||
private int nextI(string data, int i, int finish)
|
||||
{
|
||||
if (i < finish)
|
||||
{
|
||||
char c = data[i];
|
||||
if ((uint)65530 == data)
|
||||
{
|
||||
}
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x04006880 RID: 26752
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006880")]
|
||||
protected readonly byte[] encodingTable;
|
||||
|
||||
// Token: 0x04006881 RID: 26753
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006881")]
|
||||
protected byte padding;
|
||||
|
||||
// Token: 0x04006882 RID: 26754
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006882")]
|
||||
protected readonly byte[] decodingTable;
|
||||
}
|
||||
}
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x0200194B RID: 6475
|
||||
[Token(Token = "0x200194B")]
|
||||
public class BufferedDecoder
|
||||
{
|
||||
// Token: 0x060099B4 RID: 39348 RVA: 0x001FE214 File Offset: 0x001FC414
|
||||
[Token(Token = "0x60099B4")]
|
||||
[Address(RVA = "0x18D68C0", Offset = "0x18D56C0", VA = "0x1818D68C0")]
|
||||
public BufferedDecoder(ITranslator translator, int bufferSize)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060099B4)
|
||||
|
||||
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: 0x060099B5 RID: 39349 RVA: 0x001FE258 File Offset: 0x001FC458
|
||||
[Token(Token = "0x60099B5")]
|
||||
[Address(RVA = "0x18D6610", Offset = "0x18D5410", VA = "0x1818D6610")]
|
||||
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: 0x060099B6 RID: 39350 RVA: 0x001FE2B0 File Offset: 0x001FC4B0
|
||||
[Token(Token = "0x60099B6")]
|
||||
[Address(RVA = "0x18D66F0", Offset = "0x18D54F0", VA = "0x1818D66F0")]
|
||||
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: 0x04006883 RID: 26755
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006883")]
|
||||
internal byte[] buffer;
|
||||
|
||||
// Token: 0x04006884 RID: 26756
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006884")]
|
||||
internal int bufOff;
|
||||
|
||||
// Token: 0x04006885 RID: 26757
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006885")]
|
||||
internal ITranslator translator;
|
||||
}
|
||||
}
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x0200194C RID: 6476
|
||||
[Token(Token = "0x200194C")]
|
||||
public class BufferedEncoder
|
||||
{
|
||||
// Token: 0x060099B7 RID: 39351 RVA: 0x001FE348 File Offset: 0x001FC548
|
||||
[Token(Token = "0x60099B7")]
|
||||
[Address(RVA = "0x18D6C30", Offset = "0x18D5A30", VA = "0x1818D6C30")]
|
||||
public BufferedEncoder(ITranslator translator, int bufferSize)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060099B7)
|
||||
|
||||
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: 0x060099B8 RID: 39352 RVA: 0x001FE38C File Offset: 0x001FC58C
|
||||
[Token(Token = "0x60099B8")]
|
||||
[Address(RVA = "0x18D6980", Offset = "0x18D5780", VA = "0x1818D6980")]
|
||||
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: 0x060099B9 RID: 39353 RVA: 0x001FE3E4 File Offset: 0x001FC5E4
|
||||
[Token(Token = "0x60099B9")]
|
||||
[Address(RVA = "0x18D6A60", Offset = "0x18D5860", VA = "0x1818D6A60")]
|
||||
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: 0x04006886 RID: 26758
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006886")]
|
||||
internal byte[] Buffer;
|
||||
|
||||
// Token: 0x04006887 RID: 26759
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006887")]
|
||||
internal int bufOff;
|
||||
|
||||
// Token: 0x04006888 RID: 26760
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006888")]
|
||||
internal ITranslator translator;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x0200194D RID: 6477
|
||||
[Token(Token = "0x200194D")]
|
||||
public sealed class Hex
|
||||
{
|
||||
// Token: 0x060099BA RID: 39354 RVA: 0x001FE47C File Offset: 0x001FC67C
|
||||
[Token(Token = "0x60099BA")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Hex()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060099BB RID: 39355 RVA: 0x001FE490 File Offset: 0x001FC690
|
||||
[Token(Token = "0x60099BB")]
|
||||
[Address(RVA = "0x18DF0D0", Offset = "0x18DDED0", VA = "0x1818DF0D0")]
|
||||
public static string ToHexString(byte[] data)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = 0;
|
||||
byte[] array = Hex.Encode(data, num, length);
|
||||
return Encoding.ASCII.GetString(array);
|
||||
}
|
||||
|
||||
// Token: 0x060099BC RID: 39356 RVA: 0x001FE4C4 File Offset: 0x001FC6C4
|
||||
[Token(Token = "0x60099BC")]
|
||||
[Address(RVA = "0x18DF1C0", Offset = "0x18DDFC0", VA = "0x1818DF1C0")]
|
||||
public static string ToHexString(byte[] data, int off, int length)
|
||||
{
|
||||
byte[] array = Hex.Encode(data, off, length);
|
||||
return Encoding.ASCII.GetString(array);
|
||||
}
|
||||
|
||||
// Token: 0x060099BD RID: 39357 RVA: 0x001FE4F0 File Offset: 0x001FC6F0
|
||||
[Token(Token = "0x60099BD")]
|
||||
[Address(RVA = "0x18DEF10", Offset = "0x18DDD10", VA = "0x1818DEF10")]
|
||||
public static byte[] Encode(byte[] data)
|
||||
{
|
||||
int length = data.Length;
|
||||
int num = 0;
|
||||
return Hex.Encode(data, num, length);
|
||||
}
|
||||
|
||||
// Token: 0x060099BE RID: 39358 RVA: 0x001FE514 File Offset: 0x001FC714
|
||||
[Token(Token = "0x60099BE")]
|
||||
[Address(RVA = "0x18DEE30", Offset = "0x18DDC30", VA = "0x1818DEE30")]
|
||||
public static byte[] Encode(byte[] data, int off, int length)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream(off);
|
||||
((IDisposable)memoryStream).Dispose();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099BF RID: 39359 RVA: 0x001FE538 File Offset: 0x001FC738
|
||||
[Token(Token = "0x60099BF")]
|
||||
[Address(RVA = "0x18DF030", Offset = "0x18DDE30", VA = "0x1818DF030")]
|
||||
public static int Encode(byte[] data, Stream outStream)
|
||||
{
|
||||
return data.Length;
|
||||
}
|
||||
|
||||
// Token: 0x060099C0 RID: 39360 RVA: 0x001FE554 File Offset: 0x001FC754
|
||||
[Token(Token = "0x60099C0")]
|
||||
[Address(RVA = "0x18DEF80", Offset = "0x18DDD80", VA = "0x1818DEF80")]
|
||||
public static int Encode(byte[] data, int off, int length, Stream outStream)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099C1 RID: 39361 RVA: 0x001FE568 File Offset: 0x001FC768
|
||||
[Token(Token = "0x60099C1")]
|
||||
[Address(RVA = "0x18DECC0", Offset = "0x18DDAC0", VA = "0x1818DECC0")]
|
||||
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: 0x060099C2 RID: 39362 RVA: 0x001FE59C File Offset: 0x001FC79C
|
||||
[Token(Token = "0x60099C2")]
|
||||
[Address(RVA = "0x18DEBE0", Offset = "0x18DD9E0", VA = "0x1818DEBE0")]
|
||||
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: 0x060099C3 RID: 39363 RVA: 0x001FE5C8 File Offset: 0x001FC7C8
|
||||
[Token(Token = "0x60099C3")]
|
||||
[Address(RVA = "0x18DEDA0", Offset = "0x18DDBA0", VA = "0x1818DEDA0")]
|
||||
public static int Decode(string data, Stream outStream)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099C4 RID: 39364 RVA: 0x001FE5DC File Offset: 0x001FC7DC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60099C4")]
|
||||
[Address(RVA = "0x18DF270", Offset = "0x18DE070", VA = "0x1818DF270")]
|
||||
static Hex()
|
||||
{
|
||||
byte[] array = new byte[16];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.FE5567E8D769550852182CDF69D74BB16DFF8E29).FieldHandle);
|
||||
HexEncoder hexEncoder;
|
||||
hexEncoder.encodingTable = array;
|
||||
byte[] array2 = new byte[128];
|
||||
hexEncoder.decodingTable = array2;
|
||||
hexEncoder.InitialiseDecodingTable();
|
||||
}
|
||||
|
||||
// Token: 0x04006889 RID: 26761
|
||||
[Token(Token = "0x4006889")]
|
||||
private static readonly IEncoder encoder;
|
||||
}
|
||||
}
|
||||
+165
@@ -0,0 +1,165 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x0200194E RID: 6478
|
||||
[Token(Token = "0x200194E")]
|
||||
public class HexEncoder : IEncoder
|
||||
{
|
||||
// Token: 0x060099C5 RID: 39365 RVA: 0x001FE61C File Offset: 0x001FC81C
|
||||
[Token(Token = "0x60099C5")]
|
||||
[Address(RVA = "0x18DE590", Offset = "0x18DD390", VA = "0x1818DE590")]
|
||||
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;
|
||||
}
|
||||
byte[] array4 = this.decodingTable;
|
||||
byte b = array4[12];
|
||||
array4[8] = b;
|
||||
byte[] array5 = this.decodingTable;
|
||||
byte b2 = array5[12];
|
||||
array5[8] = b2;
|
||||
byte[] array6 = this.decodingTable;
|
||||
byte b3 = array6[12];
|
||||
array6[8] = b3;
|
||||
byte[] array7 = this.decodingTable;
|
||||
byte b4 = array7[12];
|
||||
array7[8] = b4;
|
||||
byte[] array8 = this.decodingTable;
|
||||
byte b5 = array8[12];
|
||||
array8[8] = b5;
|
||||
byte[] array9 = this.decodingTable;
|
||||
byte b6 = array9[12];
|
||||
array9[8] = b6;
|
||||
}
|
||||
|
||||
// Token: 0x060099C6 RID: 39366 RVA: 0x001FE718 File Offset: 0x001FC918
|
||||
[Token(Token = "0x60099C6")]
|
||||
[Address(RVA = "0x18DE800", Offset = "0x18DD600", VA = "0x1818DE800")]
|
||||
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: 0x060099C7 RID: 39367 RVA: 0x001FE760 File Offset: 0x001FC960
|
||||
[Token(Token = "0x60099C7")]
|
||||
[Address(RVA = "0x18DE450", Offset = "0x18DD250", VA = "0x1818DE450", Slot = "4")]
|
||||
public int Encode(byte[] data, int off, int length, Stream outStream)
|
||||
{
|
||||
byte[] array = this.encodingTable;
|
||||
byte[] array2 = this.encodingTable;
|
||||
return off;
|
||||
}
|
||||
|
||||
// Token: 0x060099C8 RID: 39368 RVA: 0x001FE784 File Offset: 0x001FC984
|
||||
[Token(Token = "0x60099C8")]
|
||||
[Address(RVA = "0x18DE570", Offset = "0x18DD370", VA = "0x1818DE570")]
|
||||
private static bool Ignore(char c)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x060099C9 RID: 39369 RVA: 0x001FE794 File Offset: 0x001FC994
|
||||
[Token(Token = "0x60099C9")]
|
||||
[Address(RVA = "0x18DE200", Offset = "0x18DD000", VA = "0x1818DE200", 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: 0x060099CA RID: 39370 RVA: 0x001FE7F8 File Offset: 0x001FC9F8
|
||||
[Token(Token = "0x60099CA")]
|
||||
[Address(RVA = "0x18DDFF0", Offset = "0x18DCDF0", VA = "0x1818DDFF0", 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: 0x0400688A RID: 26762
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400688A")]
|
||||
protected readonly byte[] encodingTable;
|
||||
|
||||
// Token: 0x0400688B RID: 26763
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400688B")]
|
||||
protected readonly byte[] decodingTable;
|
||||
}
|
||||
}
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x0200194F RID: 6479
|
||||
[Token(Token = "0x200194F")]
|
||||
public class HexTranslator : ITranslator
|
||||
{
|
||||
// Token: 0x060099CB RID: 39371 RVA: 0x001FE8A4 File Offset: 0x001FCAA4
|
||||
[Token(Token = "0x60099CB")]
|
||||
[Address(RVA = "0x460DB0", Offset = "0x45FBB0", VA = "0x180460DB0", Slot = "4")]
|
||||
public int GetEncodedBlockSize()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
// Token: 0x060099CC RID: 39372 RVA: 0x001FE8B4 File Offset: 0x001FCAB4
|
||||
[Token(Token = "0x60099CC")]
|
||||
[Address(RVA = "0x18DE9D0", Offset = "0x18DD7D0", VA = "0x1818DE9D0", 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: 0x060099CD RID: 39373 RVA: 0x001FE8D0 File Offset: 0x001FCAD0
|
||||
[Token(Token = "0x60099CD")]
|
||||
[Address(RVA = "0x4100E0", Offset = "0x40EEE0", VA = "0x1804100E0", Slot = "6")]
|
||||
public int GetDecodedBlockSize()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Token: 0x060099CE RID: 39374 RVA: 0x001FE8E0 File Offset: 0x001FCAE0
|
||||
[Token(Token = "0x60099CE")]
|
||||
[Address(RVA = "0x18DE890", Offset = "0x18DD690", VA = "0x1818DE890", 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: 0x060099CF RID: 39375 RVA: 0x001FE908 File Offset: 0x001FCB08
|
||||
[Token(Token = "0x60099CF")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public HexTranslator()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060099D0 RID: 39376 RVA: 0x001FE91C File Offset: 0x001FCB1C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60099D0")]
|
||||
[Address(RVA = "0x18DEB80", Offset = "0x18DD980", VA = "0x1818DEB80")]
|
||||
static HexTranslator()
|
||||
{
|
||||
RuntimeHelpers.InitializeArray(new byte[16], fieldof(<PrivateImplementationDetails>.FE5567E8D769550852182CDF69D74BB16DFF8E29).FieldHandle);
|
||||
}
|
||||
|
||||
// Token: 0x0400688C RID: 26764
|
||||
[Token(Token = "0x400688C")]
|
||||
private static readonly byte[] hexTable;
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001950 RID: 6480
|
||||
[Token(Token = "0x2001950")]
|
||||
public interface IEncoder
|
||||
{
|
||||
// Token: 0x060099D1 RID: 39377
|
||||
[Token(Token = "0x60099D1")]
|
||||
[Address(Slot = "0")]
|
||||
int Encode(byte[] data, int off, int length, Stream outStream);
|
||||
|
||||
// Token: 0x060099D2 RID: 39378
|
||||
[Token(Token = "0x60099D2")]
|
||||
[Address(Slot = "1")]
|
||||
int Decode(byte[] data, int off, int length, Stream outStream);
|
||||
|
||||
// Token: 0x060099D3 RID: 39379
|
||||
[Token(Token = "0x60099D3")]
|
||||
[Address(Slot = "2")]
|
||||
int DecodeString(string data, Stream outStream);
|
||||
}
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001951 RID: 6481
|
||||
[Token(Token = "0x2001951")]
|
||||
public interface ITranslator
|
||||
{
|
||||
// Token: 0x060099D4 RID: 39380
|
||||
[Token(Token = "0x60099D4")]
|
||||
[Address(Slot = "0")]
|
||||
int GetEncodedBlockSize();
|
||||
|
||||
// Token: 0x060099D5 RID: 39381
|
||||
[Token(Token = "0x60099D5")]
|
||||
[Address(Slot = "1")]
|
||||
int Encode(byte[] input, int inOff, int length, byte[] outBytes, int outOff);
|
||||
|
||||
// Token: 0x060099D6 RID: 39382
|
||||
[Token(Token = "0x60099D6")]
|
||||
[Address(Slot = "2")]
|
||||
int GetDecodedBlockSize();
|
||||
|
||||
// Token: 0x060099D7 RID: 39383
|
||||
[Token(Token = "0x60099D7")]
|
||||
[Address(Slot = "3")]
|
||||
int Decode(byte[] input, int inOff, int length, byte[] outBytes, int outOff);
|
||||
}
|
||||
}
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001952 RID: 6482
|
||||
[Token(Token = "0x2001952")]
|
||||
public class UrlBase64
|
||||
{
|
||||
// Token: 0x060099D8 RID: 39384 RVA: 0x001FE93C File Offset: 0x001FCB3C
|
||||
[Token(Token = "0x60099D8")]
|
||||
[Address(RVA = "0x18EB760", Offset = "0x18EA560", VA = "0x1818EB760")]
|
||||
public static byte[] Encode(byte[] data)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
int length = data.Length;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099D9 RID: 39385 RVA: 0x001FE968 File Offset: 0x001FCB68
|
||||
[Token(Token = "0x60099D9")]
|
||||
[Address(RVA = "0x18EB6C0", Offset = "0x18EA4C0", VA = "0x1818EB6C0")]
|
||||
public static int Encode(byte[] data, Stream outStr)
|
||||
{
|
||||
return data.Length;
|
||||
}
|
||||
|
||||
// Token: 0x060099DA RID: 39386 RVA: 0x001FE984 File Offset: 0x001FCB84
|
||||
[Token(Token = "0x60099DA")]
|
||||
[Address(RVA = "0x18EB430", Offset = "0x18EA230", VA = "0x1818EB430")]
|
||||
public static byte[] Decode(byte[] data)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
int length = data.Length;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099DB RID: 39387 RVA: 0x001FE9B0 File Offset: 0x001FCBB0
|
||||
[Token(Token = "0x60099DB")]
|
||||
[Address(RVA = "0x18EB590", Offset = "0x18EA390", VA = "0x1818EB590")]
|
||||
public static int Decode(byte[] data, Stream outStr)
|
||||
{
|
||||
return data.Length;
|
||||
}
|
||||
|
||||
// Token: 0x060099DC RID: 39388 RVA: 0x001FE9CC File Offset: 0x001FCBCC
|
||||
[Token(Token = "0x60099DC")]
|
||||
[Address(RVA = "0x18EB2E0", Offset = "0x18EA0E0", VA = "0x1818EB2E0")]
|
||||
public static byte[] Decode(string data)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099DD RID: 39389 RVA: 0x001FE9F0 File Offset: 0x001FCBF0
|
||||
[Token(Token = "0x60099DD")]
|
||||
[Address(RVA = "0x18EB630", Offset = "0x18EA430", VA = "0x1818EB630")]
|
||||
public static int Decode(string data, Stream outStr)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099DE RID: 39390 RVA: 0x001FEA04 File Offset: 0x001FCC04
|
||||
[Token(Token = "0x60099DE")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public UrlBase64()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060099DF RID: 39391 RVA: 0x001FEA18 File Offset: 0x001FCC18
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60099DF")]
|
||||
[Address(RVA = "0x18EB8C0", Offset = "0x18EA6C0", VA = "0x1818EB8C0")]
|
||||
static UrlBase64()
|
||||
{
|
||||
byte[] array = new byte[64];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.0953DF544832295E4A5B19928F95C351F25DA86A).FieldHandle);
|
||||
UrlBase64Encoder urlBase64Encoder;
|
||||
urlBase64Encoder.encodingTable = array;
|
||||
urlBase64Encoder.padding = (byte)((ulong)61L);
|
||||
byte[] array2 = new byte[128];
|
||||
urlBase64Encoder.decodingTable = array2;
|
||||
urlBase64Encoder.InitialiseDecodingTable();
|
||||
int length = urlBase64Encoder.encodingTable.Length;
|
||||
urlBase64Encoder.decodingTable = (ulong)45L;
|
||||
int num = urlBase64Encoder.encodingTable.Length - 1;
|
||||
urlBase64Encoder.padding = (byte)((ulong)46L);
|
||||
urlBase64Encoder.InitialiseDecodingTable();
|
||||
}
|
||||
|
||||
// Token: 0x0400688D RID: 26765
|
||||
[Token(Token = "0x400688D")]
|
||||
private static readonly IEncoder encoder;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001953 RID: 6483
|
||||
[Token(Token = "0x2001953")]
|
||||
public class UrlBase64Encoder : Base64Encoder
|
||||
{
|
||||
// Token: 0x060099E0 RID: 39392 RVA: 0x001FEA9C File Offset: 0x001FCC9C
|
||||
[Token(Token = "0x60099E0")]
|
||||
[Address(RVA = "0x18EB1E0", Offset = "0x18E9FE0", VA = "0x1818EB1E0")]
|
||||
public UrlBase64Encoder()
|
||||
{
|
||||
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();
|
||||
base.InitialiseDecodingTable();
|
||||
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,107 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001922 RID: 6434
|
||||
[Token(Token = "0x2001922")]
|
||||
internal abstract class Enums
|
||||
{
|
||||
// Token: 0x06009847 RID: 38983 RVA: 0x001F5F2C File Offset: 0x001F412C
|
||||
[Token(Token = "0x6009847")]
|
||||
[Address(RVA = "0x18DD290", Offset = "0x18DC090", VA = "0x1818DD290")]
|
||||
internal static Enum GetEnumValue(Type enumType, string s)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009847)
|
||||
|
||||
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: 0x06009848 RID: 38984 RVA: 0x001F5F84 File Offset: 0x001F4184
|
||||
[Token(Token = "0x6009848")]
|
||||
[Address(RVA = "0x18DD430", Offset = "0x18DC230", VA = "0x1818DD430")]
|
||||
internal static Array GetEnumValues(Type enumType)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009848)
|
||||
|
||||
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: 0x06009849 RID: 38985 RVA: 0x001F5FB8 File Offset: 0x001F41B8
|
||||
[Token(Token = "0x6009849")]
|
||||
[Address(RVA = "0x18DCF80", Offset = "0x18DBD80", VA = "0x1818DCF80")]
|
||||
internal static Enum GetArbitraryValue(Type enumType)
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
if (enumType.IsSealed)
|
||||
{
|
||||
Array values = Enum.GetValues(enumType);
|
||||
DateTime utcNow = DateTime.UtcNow;
|
||||
int num = values.System.Collections.ICollection.Count;
|
||||
int num2;
|
||||
num2 -= num2;
|
||||
ulong num3;
|
||||
num3 += num3;
|
||||
object value = values.GetValue((int)num3);
|
||||
if (value == 0 || value != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600984A RID: 38986 RVA: 0x001F6014 File Offset: 0x001F4214
|
||||
[Token(Token = "0x600984A")]
|
||||
[Address(RVA = "0x18DD4E0", Offset = "0x18DC2E0", VA = "0x1818DD4E0")]
|
||||
internal static bool IsEnumType(Type t)
|
||||
{
|
||||
Guid guid = t.GUID;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600984B RID: 38987 RVA: 0x001F6030 File Offset: 0x001F4230
|
||||
[Token(Token = "0x600984B")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected Enums()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001923 RID: 6435
|
||||
[Token(Token = "0x2001923")]
|
||||
public interface IMemoable
|
||||
{
|
||||
// Token: 0x0600984C RID: 38988
|
||||
[Token(Token = "0x600984C")]
|
||||
[Address(Slot = "0")]
|
||||
IMemoable Copy();
|
||||
|
||||
// Token: 0x0600984D RID: 38989
|
||||
[Token(Token = "0x600984D")]
|
||||
[Address(Slot = "1")]
|
||||
void Reset(IMemoable other);
|
||||
}
|
||||
}
|
||||
+258
@@ -0,0 +1,258 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001939 RID: 6457
|
||||
[Token(Token = "0x2001939")]
|
||||
public abstract class BaseInputStream : Stream
|
||||
{
|
||||
// Token: 0x17001864 RID: 6244
|
||||
// (get) Token: 0x0600993D RID: 39229 RVA: 0x001FCEE8 File Offset: 0x001FB0E8
|
||||
[Token(Token = "0x17001864")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x600993D")]
|
||||
[Address(RVA = "0x18D5E40", Offset = "0x18D4C40", VA = "0x1818D5E40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001865 RID: 6245
|
||||
// (get) Token: 0x0600993E RID: 39230 RVA: 0x001FCF00 File Offset: 0x001FB100
|
||||
[Token(Token = "0x17001865")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x600993E")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001866 RID: 6246
|
||||
// (get) Token: 0x0600993F RID: 39231 RVA: 0x001FCF10 File Offset: 0x001FB110
|
||||
[Token(Token = "0x17001866")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x600993F")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "9")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009940 RID: 39232 RVA: 0x001FCF20 File Offset: 0x001FB120
|
||||
[Token(Token = "0x6009940")]
|
||||
[Address(RVA = "0x18D5BF0", Offset = "0x18D49F0", VA = "0x1818D5BF0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009941 RID: 39233 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6009941")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "17")]
|
||||
public sealed override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17001867 RID: 6247
|
||||
// (get) Token: 0x06009942 RID: 39234 RVA: 0x001FCF3C File Offset: 0x001FB13C
|
||||
[Token(Token = "0x17001867")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x6009942")]
|
||||
[Address(RVA = "0x18D5E50", Offset = "0x18D4C50", VA = "0x1818D5E50", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009942)
|
||||
|
||||
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: 0x17001868 RID: 6248
|
||||
// (get) Token: 0x06009943 RID: 39235 RVA: 0x001FCF50 File Offset: 0x001FB150
|
||||
// (set) Token: 0x06009944 RID: 39236 RVA: 0x001FCF64 File Offset: 0x001FB164
|
||||
[Token(Token = "0x17001868")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6009943")]
|
||||
[Address(RVA = "0x18D5EA0", Offset = "0x18D4CA0", VA = "0x1818D5EA0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009943)
|
||||
|
||||
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 = "0x6009944")]
|
||||
[Address(RVA = "0x18D5EF0", Offset = "0x18D4CF0", VA = "0x1818D5EF0", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009944)
|
||||
|
||||
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: 0x06009945 RID: 39237 RVA: 0x001FCF78 File Offset: 0x001FB178
|
||||
[Token(Token = "0x6009945")]
|
||||
[Address(RVA = "0x18D5C00", Offset = "0x18D4A00", VA = "0x1818D5C00", 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: 0x06009946 RID: 39238 RVA: 0x001FCF9C File Offset: 0x001FB19C
|
||||
[Token(Token = "0x6009946")]
|
||||
[Address(RVA = "0x18D5CF0", Offset = "0x18D4AF0", VA = "0x1818D5CF0", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009946)
|
||||
|
||||
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: 0x06009947 RID: 39239 RVA: 0x001FCFB0 File Offset: 0x001FB1B0
|
||||
[Token(Token = "0x6009947")]
|
||||
[Address(RVA = "0x18D5D40", Offset = "0x18D4B40", VA = "0x1818D5D40", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009947)
|
||||
|
||||
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: 0x06009948 RID: 39240 RVA: 0x001FCFC4 File Offset: 0x001FB1C4
|
||||
[Token(Token = "0x6009948")]
|
||||
[Address(RVA = "0x18D5D90", Offset = "0x18D4B90", VA = "0x1818D5D90", Slot = "29")]
|
||||
public sealed override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009948)
|
||||
|
||||
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: 0x06009949 RID: 39241 RVA: 0x001FCFD8 File Offset: 0x001FB1D8
|
||||
[Token(Token = "0x6009949")]
|
||||
[Address(RVA = "0x18D5DE0", Offset = "0x18D4BE0", VA = "0x1818D5DE0")]
|
||||
protected BaseInputStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400686B RID: 26731
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400686B")]
|
||||
private bool closed;
|
||||
}
|
||||
}
|
||||
+266
@@ -0,0 +1,266 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193A RID: 6458
|
||||
[Token(Token = "0x200193A")]
|
||||
public abstract class BaseOutputStream : Stream
|
||||
{
|
||||
// Token: 0x17001869 RID: 6249
|
||||
// (get) Token: 0x0600994A RID: 39242 RVA: 0x001FCFEC File Offset: 0x001FB1EC
|
||||
[Token(Token = "0x17001869")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x600994A")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "7")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700186A RID: 6250
|
||||
// (get) Token: 0x0600994B RID: 39243 RVA: 0x001FCFFC File Offset: 0x001FB1FC
|
||||
[Token(Token = "0x1700186A")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x600994B")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700186B RID: 6251
|
||||
// (get) Token: 0x0600994C RID: 39244 RVA: 0x001FD00C File Offset: 0x001FB20C
|
||||
[Token(Token = "0x1700186B")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x600994C")]
|
||||
[Address(RVA = "0x18D5E40", Offset = "0x18D4C40", VA = "0x1818D5E40", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600994D RID: 39245 RVA: 0x001FD024 File Offset: 0x001FB224
|
||||
[Token(Token = "0x600994D")]
|
||||
[Address(RVA = "0x18D5BF0", Offset = "0x18D49F0", VA = "0x1818D5BF0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x0600994E RID: 39246 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600994E")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x1700186C RID: 6252
|
||||
// (get) Token: 0x0600994F RID: 39247 RVA: 0x001FD040 File Offset: 0x001FB240
|
||||
[Token(Token = "0x1700186C")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x600994F")]
|
||||
[Address(RVA = "0x18D61F0", Offset = "0x18D4FF0", VA = "0x1818D61F0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600994F)
|
||||
|
||||
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: 0x1700186D RID: 6253
|
||||
// (get) Token: 0x06009950 RID: 39248 RVA: 0x001FD054 File Offset: 0x001FB254
|
||||
// (set) Token: 0x06009951 RID: 39249 RVA: 0x001FD068 File Offset: 0x001FB268
|
||||
[Token(Token = "0x1700186D")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6009950")]
|
||||
[Address(RVA = "0x18D6240", Offset = "0x18D5040", VA = "0x1818D6240", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009950)
|
||||
|
||||
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 = "0x6009951")]
|
||||
[Address(RVA = "0x18D6290", Offset = "0x18D5090", VA = "0x1818D6290", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009951)
|
||||
|
||||
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: 0x06009952 RID: 39250 RVA: 0x001FD07C File Offset: 0x001FB27C
|
||||
[Token(Token = "0x6009952")]
|
||||
[Address(RVA = "0x18D5F40", Offset = "0x18D4D40", VA = "0x1818D5F40", Slot = "27")]
|
||||
public sealed override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009952)
|
||||
|
||||
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: 0x06009953 RID: 39251 RVA: 0x001FD090 File Offset: 0x001FB290
|
||||
[Token(Token = "0x6009953")]
|
||||
[Address(RVA = "0x18D5F90", Offset = "0x18D4D90", VA = "0x1818D5F90", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009953)
|
||||
|
||||
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: 0x06009954 RID: 39252 RVA: 0x001FD0A4 File Offset: 0x001FB2A4
|
||||
[Token(Token = "0x6009954")]
|
||||
[Address(RVA = "0x18D5FE0", Offset = "0x18D4DE0", VA = "0x1818D5FE0", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009954)
|
||||
|
||||
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: 0x06009955 RID: 39253 RVA: 0x001FD0B8 File Offset: 0x001FB2B8
|
||||
[Token(Token = "0x6009955")]
|
||||
[Address(RVA = "0x18D6110", Offset = "0x18D4F10", VA = "0x1818D6110", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009956 RID: 39254 RVA: 0x001FD0CC File Offset: 0x001FB2CC
|
||||
[Token(Token = "0x6009956")]
|
||||
[Address(RVA = "0x18D60D0", Offset = "0x18D4ED0", VA = "0x1818D60D0", Slot = "31")]
|
||||
public virtual void Write(params byte[] buffer)
|
||||
{
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06009957 RID: 39255 RVA: 0x001FD0E8 File Offset: 0x001FB2E8
|
||||
[Token(Token = "0x6009957")]
|
||||
[Address(RVA = "0x18D6030", Offset = "0x18D4E30", VA = "0x1818D6030", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
(new byte[1])[0] = b;
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06009958 RID: 39256 RVA: 0x001FD110 File Offset: 0x001FB310
|
||||
[Token(Token = "0x6009958")]
|
||||
[Address(RVA = "0x18D6190", Offset = "0x18D4F90", VA = "0x1818D6190")]
|
||||
protected BaseOutputStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400686C RID: 26732
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400686C")]
|
||||
private bool closed;
|
||||
}
|
||||
}
|
||||
+166
@@ -0,0 +1,166 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193B RID: 6459
|
||||
[Token(Token = "0x200193B")]
|
||||
public class FilterStream : Stream
|
||||
{
|
||||
// Token: 0x06009959 RID: 39257 RVA: 0x001FD124 File Offset: 0x001FB324
|
||||
[Token(Token = "0x6009959")]
|
||||
[Address(RVA = "0x18DD590", Offset = "0x18DC390", VA = "0x1818DD590")]
|
||||
public FilterStream(Stream s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x1700186E RID: 6254
|
||||
// (get) Token: 0x0600995A RID: 39258 RVA: 0x001FD140 File Offset: 0x001FB340
|
||||
[Token(Token = "0x1700186E")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x600995A")]
|
||||
[Address(RVA = "0x5E1930", Offset = "0x5E0730", VA = "0x1805E1930", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700186F RID: 6255
|
||||
// (get) Token: 0x0600995B RID: 39259 RVA: 0x001FD160 File Offset: 0x001FB360
|
||||
[Token(Token = "0x1700186F")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x600995B")]
|
||||
[Address(RVA = "0x5E1960", Offset = "0x5E0760", VA = "0x1805E1960", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001870 RID: 6256
|
||||
// (get) Token: 0x0600995C RID: 39260 RVA: 0x001FD180 File Offset: 0x001FB380
|
||||
[Token(Token = "0x17001870")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x600995C")]
|
||||
[Address(RVA = "0x5E1990", Offset = "0x5E0790", VA = "0x1805E1990", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001871 RID: 6257
|
||||
// (get) Token: 0x0600995D RID: 39261 RVA: 0x001FD1A0 File Offset: 0x001FB3A0
|
||||
[Token(Token = "0x17001871")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x600995D")]
|
||||
[Address(RVA = "0x44EBE0", Offset = "0x44D9E0", VA = "0x18044EBE0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001872 RID: 6258
|
||||
// (get) Token: 0x0600995E RID: 39262 RVA: 0x001FD1C0 File Offset: 0x001FB3C0
|
||||
// (set) Token: 0x0600995F RID: 39263 RVA: 0x001FD1E0 File Offset: 0x001FB3E0
|
||||
[Token(Token = "0x17001872")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x600995E")]
|
||||
[Address(RVA = "0x44EC10", Offset = "0x44DA10", VA = "0x18044EC10", Slot = "11")]
|
||||
get
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
[Token(Token = "0x600995F")]
|
||||
[Address(RVA = "0x5E19C0", Offset = "0x5E07C0", VA = "0x1805E19C0", Slot = "12")]
|
||||
set
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009960 RID: 39264 RVA: 0x001FD200 File Offset: 0x001FB400
|
||||
[Token(Token = "0x6009960")]
|
||||
[Address(RVA = "0x18DD510", Offset = "0x18DC310", VA = "0x1818DD510", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.s.WriteTimeout;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009961 RID: 39265 RVA: 0x001FD228 File Offset: 0x001FB428
|
||||
[Token(Token = "0x6009961")]
|
||||
[Address(RVA = "0x44D240", Offset = "0x44C040", VA = "0x18044D240", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009962 RID: 39266 RVA: 0x001FD248 File Offset: 0x001FB448
|
||||
[Token(Token = "0x6009962")]
|
||||
[Address(RVA = "0x5E1810", Offset = "0x5E0610", VA = "0x1805E1810", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009963 RID: 39267 RVA: 0x001FD268 File Offset: 0x001FB468
|
||||
[Token(Token = "0x6009963")]
|
||||
[Address(RVA = "0x44E4A0", Offset = "0x44D2A0", VA = "0x18044E4A0", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009964 RID: 39268 RVA: 0x001FD288 File Offset: 0x001FB488
|
||||
[Token(Token = "0x6009964")]
|
||||
[Address(RVA = "0x5E17E0", Offset = "0x5E05E0", VA = "0x1805E17E0", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009965 RID: 39269 RVA: 0x001FD2A8 File Offset: 0x001FB4A8
|
||||
[Token(Token = "0x6009965")]
|
||||
[Address(RVA = "0x5E17B0", Offset = "0x5E05B0", VA = "0x1805E17B0", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009966 RID: 39270 RVA: 0x001FD2C8 File Offset: 0x001FB4C8
|
||||
[Token(Token = "0x6009966")]
|
||||
[Address(RVA = "0x5E1870", Offset = "0x5E0670", VA = "0x1805E1870", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009967 RID: 39271 RVA: 0x001FD2E8 File Offset: 0x001FB4E8
|
||||
[Token(Token = "0x6009967")]
|
||||
[Address(RVA = "0x5E1840", Offset = "0x5E0640", VA = "0x1805E1840", Slot = "30")]
|
||||
public override void WriteByte(byte value)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x0400686D RID: 26733
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400686D")]
|
||||
protected readonly Stream s;
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193C RID: 6460
|
||||
[Token(Token = "0x200193C")]
|
||||
internal class NullOutputStream : BaseOutputStream
|
||||
{
|
||||
// Token: 0x06009968 RID: 39272 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6009968")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06009969 RID: 39273 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6009969")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", 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: 0x0600996A RID: 39274 RVA: 0x001FD308 File Offset: 0x001FB508
|
||||
[Token(Token = "0x600996A")]
|
||||
[Address(RVA = "0x18D6190", Offset = "0x18D4F90", VA = "0x1818D6190")]
|
||||
public NullOutputStream()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001942 RID: 6466
|
||||
[Token(Token = "0x2001942")]
|
||||
[Serializable]
|
||||
public class PemGenerationException : Exception
|
||||
{
|
||||
// Token: 0x06009985 RID: 39301 RVA: 0x001FD724 File Offset: 0x001FB924
|
||||
[Token(Token = "0x6009985")]
|
||||
[Address(RVA = "0x18E5110", Offset = "0x18E3F10", VA = "0x1818E5110")]
|
||||
public PemGenerationException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009986 RID: 39302 RVA: 0x001FD738 File Offset: 0x001FB938
|
||||
[Token(Token = "0x6009986")]
|
||||
[Address(RVA = "0x18E5020", Offset = "0x18E3E20", VA = "0x1818E5020")]
|
||||
public PemGenerationException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009987 RID: 39303 RVA: 0x001FD74C File Offset: 0x001FB94C
|
||||
[Token(Token = "0x6009987")]
|
||||
[Address(RVA = "0x18E5090", Offset = "0x18E3E90", VA = "0x1818E5090")]
|
||||
public PemGenerationException(string message, Exception exception)
|
||||
: base(message, exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001943 RID: 6467
|
||||
[Token(Token = "0x2001943")]
|
||||
public class PemHeader
|
||||
{
|
||||
// Token: 0x06009988 RID: 39304 RVA: 0x001FD764 File Offset: 0x001FB964
|
||||
[Token(Token = "0x6009988")]
|
||||
[Address(RVA = "0x4089A0", Offset = "0x4077A0", VA = "0x1804089A0")]
|
||||
public PemHeader(string name, string val)
|
||||
{
|
||||
this.name = name;
|
||||
this.val = val;
|
||||
}
|
||||
|
||||
// Token: 0x17001873 RID: 6259
|
||||
// (get) Token: 0x06009989 RID: 39305 RVA: 0x001FD788 File Offset: 0x001FB988
|
||||
[Token(Token = "0x17001873")]
|
||||
public virtual string Name
|
||||
{
|
||||
[Token(Token = "0x6009989")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001874 RID: 6260
|
||||
// (get) Token: 0x0600998A RID: 39306 RVA: 0x001FD79C File Offset: 0x001FB99C
|
||||
[Token(Token = "0x17001874")]
|
||||
public virtual string Value
|
||||
{
|
||||
[Token(Token = "0x600998A")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return this.val;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600998B RID: 39307 RVA: 0x001FD7B0 File Offset: 0x001FB9B0
|
||||
[Token(Token = "0x600998B")]
|
||||
[Address(RVA = "0x18E5280", Offset = "0x18E4080", VA = "0x1818E5280", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600998B)
|
||||
|
||||
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: 0x0600998C RID: 39308 RVA: 0x001FD7E4 File Offset: 0x001FB9E4
|
||||
[Token(Token = "0x600998C")]
|
||||
[Address(RVA = "0x18E5170", Offset = "0x18E3F70", VA = "0x1818E5170", 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: 0x0600998D RID: 39309 RVA: 0x001FD820 File Offset: 0x001FBA20
|
||||
[Token(Token = "0x600998D")]
|
||||
[Address(RVA = "0x18E52F0", Offset = "0x18E40F0", VA = "0x1818E52F0")]
|
||||
private int GetHashCode(string s)
|
||||
{
|
||||
if (s != 0)
|
||||
{
|
||||
object obj = ((ICloneable)s).Clone();
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Token: 0x04006874 RID: 26740
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006874")]
|
||||
private string name;
|
||||
|
||||
// Token: 0x04006875 RID: 26741
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006875")]
|
||||
private string val;
|
||||
}
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001944 RID: 6468
|
||||
[Token(Token = "0x2001944")]
|
||||
public class PemObject : PemObjectGenerator
|
||||
{
|
||||
// Token: 0x0600998E RID: 39310 RVA: 0x001FD83C File Offset: 0x001FBA3C
|
||||
[Token(Token = "0x600998E")]
|
||||
[Address(RVA = "0x18E53E0", Offset = "0x18E41E0", VA = "0x1818E53E0")]
|
||||
public PemObject(string type, byte[] content)
|
||||
{
|
||||
ArrayList arrayList = new ArrayList();
|
||||
}
|
||||
|
||||
// Token: 0x0600998F RID: 39311 RVA: 0x001FD850 File Offset: 0x001FBA50
|
||||
[Token(Token = "0x600998F")]
|
||||
[Address(RVA = "0x18E5320", Offset = "0x18E4120", VA = "0x1818E5320")]
|
||||
public PemObject(string type, IList headers, byte[] content)
|
||||
{
|
||||
this.type = type;
|
||||
ArrayList arrayList = new ArrayList(headers);
|
||||
this.headers = arrayList;
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
// Token: 0x17001875 RID: 6261
|
||||
// (get) Token: 0x06009990 RID: 39312 RVA: 0x001FD880 File Offset: 0x001FBA80
|
||||
[Token(Token = "0x17001875")]
|
||||
public string Type
|
||||
{
|
||||
[Token(Token = "0x6009990")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.type;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001876 RID: 6262
|
||||
// (get) Token: 0x06009991 RID: 39313 RVA: 0x001FD894 File Offset: 0x001FBA94
|
||||
[Token(Token = "0x17001876")]
|
||||
public IList Headers
|
||||
{
|
||||
[Token(Token = "0x6009991")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.headers;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001877 RID: 6263
|
||||
// (get) Token: 0x06009992 RID: 39314 RVA: 0x001FD8A8 File Offset: 0x001FBAA8
|
||||
[Token(Token = "0x17001877")]
|
||||
public byte[] Content
|
||||
{
|
||||
[Token(Token = "0x6009992")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.content;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009993 RID: 39315 RVA: 0x001FD8BC File Offset: 0x001FBABC
|
||||
[Token(Token = "0x6009993")]
|
||||
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0", Slot = "4")]
|
||||
public PemObject Generate()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x04006876 RID: 26742
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006876")]
|
||||
private string type;
|
||||
|
||||
// Token: 0x04006877 RID: 26743
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006877")]
|
||||
private IList headers;
|
||||
|
||||
// Token: 0x04006878 RID: 26744
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006878")]
|
||||
private byte[] content;
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001945 RID: 6469
|
||||
[Token(Token = "0x2001945")]
|
||||
public interface PemObjectGenerator
|
||||
{
|
||||
// Token: 0x06009994 RID: 39316
|
||||
[Token(Token = "0x6009994")]
|
||||
[Address(Slot = "0")]
|
||||
PemObject Generate();
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001946 RID: 6470
|
||||
[Token(Token = "0x2001946")]
|
||||
public interface PemObjectParser
|
||||
{
|
||||
// Token: 0x06009995 RID: 39317
|
||||
[Token(Token = "0x6009995")]
|
||||
[Address(Slot = "0")]
|
||||
object ParseObject(PemObject obj);
|
||||
}
|
||||
}
|
||||
+112
@@ -0,0 +1,112 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001947 RID: 6471
|
||||
[Token(Token = "0x2001947")]
|
||||
public class PemReader
|
||||
{
|
||||
// Token: 0x06009996 RID: 39318 RVA: 0x001FD8CC File Offset: 0x001FBACC
|
||||
[Token(Token = "0x6009996")]
|
||||
[Address(RVA = "0x18E59C0", Offset = "0x18E47C0", VA = "0x1818E59C0")]
|
||||
public PemReader(TextReader reader)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009996)
|
||||
|
||||
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: 0x17001878 RID: 6264
|
||||
// (get) Token: 0x06009997 RID: 39319 RVA: 0x001FD8F8 File Offset: 0x001FBAF8
|
||||
[Token(Token = "0x17001878")]
|
||||
public TextReader Reader
|
||||
{
|
||||
[Token(Token = "0x6009997")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.reader;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009998 RID: 39320 RVA: 0x001FD90C File Offset: 0x001FBB0C
|
||||
[Token(Token = "0x6009998")]
|
||||
[Address(RVA = "0x18E58B0", Offset = "0x18E46B0", VA = "0x1818E58B0")]
|
||||
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: 0x06009999 RID: 39321 RVA: 0x001FD958 File Offset: 0x001FBB58
|
||||
[Token(Token = "0x6009999")]
|
||||
[Address(RVA = "0x18E54A0", Offset = "0x18E42A0", VA = "0x1818E54A0")]
|
||||
private PemObject LoadObject(string type)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009999)
|
||||
|
||||
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: 0x04006879 RID: 26745
|
||||
[Token(Token = "0x4006879")]
|
||||
private const string BeginString = "-----BEGIN ";
|
||||
|
||||
// Token: 0x0400687A RID: 26746
|
||||
[Token(Token = "0x400687A")]
|
||||
private const string EndString = "-----END ";
|
||||
|
||||
// Token: 0x0400687B RID: 26747
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400687B")]
|
||||
private readonly TextReader reader;
|
||||
}
|
||||
}
|
||||
+226
@@ -0,0 +1,226 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001948 RID: 6472
|
||||
[Token(Token = "0x2001948")]
|
||||
public class PemWriter
|
||||
{
|
||||
// Token: 0x0600999A RID: 39322 RVA: 0x001FDA60 File Offset: 0x001FBC60
|
||||
[Token(Token = "0x600999A")]
|
||||
[Address(RVA = "0x18E64E0", Offset = "0x18E52E0", VA = "0x1818E64E0")]
|
||||
public PemWriter(TextWriter writer)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600999A)
|
||||
|
||||
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: 0x17001879 RID: 6265
|
||||
// (get) Token: 0x0600999B RID: 39323 RVA: 0x001FDAAC File Offset: 0x001FBCAC
|
||||
[Token(Token = "0x17001879")]
|
||||
public TextWriter Writer
|
||||
{
|
||||
[Token(Token = "0x600999B")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.writer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600999C RID: 39324 RVA: 0x001FDAC0 File Offset: 0x001FBCC0
|
||||
[Token(Token = "0x600999C")]
|
||||
[Address(RVA = "0x18E5A40", Offset = "0x18E4840", VA = "0x1818E5A40")]
|
||||
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_82;
|
||||
}
|
||||
int stringLength = type.ToString().m_stringLength;
|
||||
num3 += stringLength;
|
||||
}
|
||||
if (num3 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
int num4 = obj.content.Length;
|
||||
num4 += 2;
|
||||
throw new NullReferenceException();
|
||||
IL_82:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600999D RID: 39325 RVA: 0x001FDB5C File Offset: 0x001FBD5C
|
||||
[Token(Token = "0x600999D")]
|
||||
[Address(RVA = "0x18E5E70", Offset = "0x18E4C70", VA = "0x1818E5E70")]
|
||||
public void WriteObject(PemObjectGenerator objGen)
|
||||
{
|
||||
int num;
|
||||
int num2;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
string text;
|
||||
if (text <= 0)
|
||||
{
|
||||
goto IL_46;
|
||||
}
|
||||
if (text != 0)
|
||||
{
|
||||
if (num < text)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (text == 0)
|
||||
{
|
||||
}
|
||||
if (text == 0)
|
||||
{
|
||||
goto IL_BF;
|
||||
}
|
||||
string text2 = text.ToString();
|
||||
}
|
||||
num2 = 0;
|
||||
int num3;
|
||||
if (num3 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
TextWriter textWriter = this.writer;
|
||||
IL_46:
|
||||
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_BF:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600999E RID: 39326 RVA: 0x001FDC30 File Offset: 0x001FBE30
|
||||
[Token(Token = "0x600999E")]
|
||||
[Address(RVA = "0x18E5D70", Offset = "0x18E4B70", VA = "0x1818E5D70")]
|
||||
private void WriteEncoded(byte[] bytes)
|
||||
{
|
||||
int length = bytes.Length;
|
||||
int num = 0;
|
||||
byte[] array = Base64.Encode(bytes, num, length);
|
||||
int num2 = 0;
|
||||
if (num2 < array.Length)
|
||||
{
|
||||
int num3 = 0;
|
||||
char[] array2 = this.buf;
|
||||
int length2 = array2.Length;
|
||||
if (num3 != length2 && 0 < array.Length)
|
||||
{
|
||||
num3++;
|
||||
byte b;
|
||||
array2[0] = (char)b;
|
||||
}
|
||||
this.writer.WriteLine(array2);
|
||||
char[] array3 = this.buf;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600999F RID: 39327 RVA: 0x001FDCB4 File Offset: 0x001FBEB4
|
||||
[Token(Token = "0x600999F")]
|
||||
[Address(RVA = "0x18E6460", Offset = "0x18E5260", VA = "0x1818E6460")]
|
||||
private void WritePreEncapsulationBoundary(string type)
|
||||
{
|
||||
TextWriter textWriter = this.writer;
|
||||
string text = "-----BEGIN " + type + "-----";
|
||||
Encoding encoding = textWriter.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x060099A0 RID: 39328 RVA: 0x001FDCE8 File Offset: 0x001FBEE8
|
||||
[Token(Token = "0x60099A0")]
|
||||
[Address(RVA = "0x18E63E0", Offset = "0x18E51E0", VA = "0x1818E63E0")]
|
||||
private void WritePostEncapsulationBoundary(string type)
|
||||
{
|
||||
TextWriter textWriter = this.writer;
|
||||
string text = "-----END " + type + "-----";
|
||||
Encoding encoding = textWriter.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x0400687C RID: 26748
|
||||
[Token(Token = "0x400687C")]
|
||||
private const int LineLength = 64;
|
||||
|
||||
// Token: 0x0400687D RID: 26749
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400687D")]
|
||||
private readonly TextWriter writer;
|
||||
|
||||
// Token: 0x0400687E RID: 26750
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400687E")]
|
||||
private readonly int nlLength;
|
||||
|
||||
// Token: 0x0400687F RID: 26751
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400687F")]
|
||||
private char[] buf;
|
||||
}
|
||||
}
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193D RID: 6461
|
||||
[Token(Token = "0x200193D")]
|
||||
public class PushbackStream : FilterStream
|
||||
{
|
||||
// Token: 0x0600996B RID: 39275 RVA: 0x001FD31C File Offset: 0x001FB51C
|
||||
[Token(Token = "0x600996B")]
|
||||
[Address(RVA = "0x18E7140", Offset = "0x18E5F40", VA = "0x1818E7140")]
|
||||
public PushbackStream(Stream s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x0600996C RID: 39276 RVA: 0x001FD348 File Offset: 0x001FB548
|
||||
[Token(Token = "0x600996C")]
|
||||
[Address(RVA = "0x18E7010", Offset = "0x18E5E10", VA = "0x1818E7010", 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: 0x0600996D RID: 39277 RVA: 0x001FD384 File Offset: 0x001FB584
|
||||
[Token(Token = "0x600996D")]
|
||||
[Address(RVA = "0x18E7050", Offset = "0x18E5E50", VA = "0x1818E7050", 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: 0x0600996E RID: 39278 RVA: 0x001FD3C4 File Offset: 0x001FB5C4
|
||||
[Token(Token = "0x600996E")]
|
||||
[Address(RVA = "0x18E70C0", Offset = "0x18E5EC0", VA = "0x1818E70C0", Slot = "31")]
|
||||
public virtual void Unread(int b)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600996E)
|
||||
|
||||
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: 0x0400686E RID: 26734
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400686E")]
|
||||
private int buf = (int)((ulong)4294967295L);
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193E RID: 6462
|
||||
[Token(Token = "0x200193E")]
|
||||
[Serializable]
|
||||
public class StreamOverflowException : IOException
|
||||
{
|
||||
// Token: 0x0600996F RID: 39279 RVA: 0x001FD3EC File Offset: 0x001FB5EC
|
||||
[Token(Token = "0x600996F")]
|
||||
[Address(RVA = "0x18E71B0", Offset = "0x18E5FB0", VA = "0x1818E71B0")]
|
||||
public StreamOverflowException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009970 RID: 39280 RVA: 0x001FD400 File Offset: 0x001FB600
|
||||
[Token(Token = "0x6009970")]
|
||||
[Address(RVA = "0x424140", Offset = "0x422F40", VA = "0x180424140")]
|
||||
public StreamOverflowException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009971 RID: 39281 RVA: 0x001FD414 File Offset: 0x001FB614
|
||||
[Token(Token = "0x6009971")]
|
||||
[Address(RVA = "0x18E71C0", Offset = "0x18E5FC0", VA = "0x1818E71C0")]
|
||||
public StreamOverflowException(string message, Exception exception)
|
||||
: base(message, exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193F RID: 6463
|
||||
[Token(Token = "0x200193F")]
|
||||
public sealed class Streams
|
||||
{
|
||||
// Token: 0x06009972 RID: 39282 RVA: 0x001FD42C File Offset: 0x001FB62C
|
||||
[Token(Token = "0x6009972")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Streams()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009973 RID: 39283 RVA: 0x001FD440 File Offset: 0x001FB640
|
||||
[Token(Token = "0x6009973")]
|
||||
[Address(RVA = "0x18E71D0", Offset = "0x18E5FD0", VA = "0x1818E71D0")]
|
||||
public static void Drain(Stream inStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
}
|
||||
|
||||
// Token: 0x06009974 RID: 39284 RVA: 0x001FD460 File Offset: 0x001FB660
|
||||
[Token(Token = "0x6009974")]
|
||||
[Address(RVA = "0x18E75B0", Offset = "0x18E63B0", VA = "0x1818E75B0")]
|
||||
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: 0x06009975 RID: 39285 RVA: 0x001FD490 File Offset: 0x001FB690
|
||||
[Token(Token = "0x6009975")]
|
||||
[Address(RVA = "0x18E7440", Offset = "0x18E6240", VA = "0x1818E7440")]
|
||||
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: 0x06009976 RID: 39286 RVA: 0x001FD4C4 File Offset: 0x001FB6C4
|
||||
[Token(Token = "0x6009976")]
|
||||
[Address(RVA = "0x18E7740", Offset = "0x18E6540", VA = "0x1818E7740")]
|
||||
public static int ReadFully(Stream inStr, byte[] buf)
|
||||
{
|
||||
int num = buf.Length;
|
||||
int num2 = 0;
|
||||
if (num > 0)
|
||||
{
|
||||
num -= num2;
|
||||
}
|
||||
return num2;
|
||||
}
|
||||
|
||||
// Token: 0x06009977 RID: 39287 RVA: 0x001FD4EC File Offset: 0x001FB6EC
|
||||
[Token(Token = "0x6009977")]
|
||||
[Address(RVA = "0x18E76B0", Offset = "0x18E64B0", VA = "0x1818E76B0")]
|
||||
public static int ReadFully(Stream inStr, byte[] buf, int off, int len)
|
||||
{
|
||||
int num = 0;
|
||||
if (len > 0)
|
||||
{
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06009978 RID: 39288 RVA: 0x001FD508 File Offset: 0x001FB708
|
||||
[Token(Token = "0x6009978")]
|
||||
[Address(RVA = "0x18E7380", Offset = "0x18E6180", VA = "0x1818E7380")]
|
||||
public static void PipeAll(Stream inStr, Stream outStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06009979 RID: 39289 RVA: 0x001FD530 File Offset: 0x001FB730
|
||||
[Token(Token = "0x6009979")]
|
||||
[Address(RVA = "0x18E7260", Offset = "0x18E6060", VA = "0x1818E7260")]
|
||||
public static long PipeAllLimited(Stream inStr, long limit, Stream outStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600997A RID: 39290 RVA: 0x001FD558 File Offset: 0x001FB758
|
||||
[Token(Token = "0x600997A")]
|
||||
[Address(RVA = "0x18E77C0", Offset = "0x18E65C0", VA = "0x1818E77C0")]
|
||||
public static void WriteBufTo(MemoryStream buf, Stream output)
|
||||
{
|
||||
((IDisposable)buf).Dispose();
|
||||
}
|
||||
|
||||
// Token: 0x0600997B RID: 39291 RVA: 0x001FD574 File Offset: 0x001FB774
|
||||
[Token(Token = "0x600997B")]
|
||||
[Address(RVA = "0x18E77F0", Offset = "0x18E65F0", VA = "0x1818E77F0")]
|
||||
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: 0x0600997C RID: 39292 RVA: 0x001FD5A0 File Offset: 0x001FB7A0
|
||||
[Token(Token = "0x600997C")]
|
||||
[Address(RVA = "0x18E78C0", Offset = "0x18E66C0", VA = "0x1818E78C0")]
|
||||
public static void WriteZeroes(Stream outStr, long count)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
int num2 = outStr.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x0400686F RID: 26735
|
||||
[Token(Token = "0x400686F")]
|
||||
private const int BufferSize = 512;
|
||||
}
|
||||
}
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001940 RID: 6464
|
||||
[Token(Token = "0x2001940")]
|
||||
public class TeeInputStream : BaseInputStream
|
||||
{
|
||||
// Token: 0x0600997D RID: 39293 RVA: 0x001FD5CC File Offset: 0x001FB7CC
|
||||
[Token(Token = "0x600997D")]
|
||||
[Address(RVA = "0x18E8020", Offset = "0x18E6E20", VA = "0x1818E8020")]
|
||||
public TeeInputStream(Stream input, Stream tee)
|
||||
{
|
||||
this.input = input;
|
||||
this.tee = tee;
|
||||
}
|
||||
|
||||
// Token: 0x0600997E RID: 39294 RVA: 0x001FD5F0 File Offset: 0x001FB7F0
|
||||
[Token(Token = "0x600997E")]
|
||||
[Address(RVA = "0x18E7E90", Offset = "0x18E6C90", VA = "0x1818E7E90", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.input.WriteTimeout;
|
||||
int writeTimeout2 = this.tee.WriteTimeout;
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x0600997F RID: 39295 RVA: 0x001FD628 File Offset: 0x001FB828
|
||||
[Token(Token = "0x600997F")]
|
||||
[Address(RVA = "0x18E7F90", Offset = "0x18E6D90", VA = "0x1818E7F90", 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: 0x06009980 RID: 39296 RVA: 0x001FD650 File Offset: 0x001FB850
|
||||
[Token(Token = "0x6009980")]
|
||||
[Address(RVA = "0x18E7F30", Offset = "0x18E6D30", VA = "0x1818E7F30", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
Stream stream = this.input;
|
||||
Stream stream2 = this.tee;
|
||||
int num;
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x04006870 RID: 26736
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006870")]
|
||||
private readonly Stream input;
|
||||
|
||||
// Token: 0x04006871 RID: 26737
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006871")]
|
||||
private readonly Stream tee;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001941 RID: 6465
|
||||
[Token(Token = "0x2001941")]
|
||||
public class TeeOutputStream : BaseOutputStream
|
||||
{
|
||||
// Token: 0x06009981 RID: 39297 RVA: 0x001FD674 File Offset: 0x001FB874
|
||||
[Token(Token = "0x6009981")]
|
||||
[Address(RVA = "0x18E8230", Offset = "0x18E7030", VA = "0x1818E8230")]
|
||||
public TeeOutputStream(Stream output, Stream tee)
|
||||
{
|
||||
this.output = output;
|
||||
this.tee = tee;
|
||||
}
|
||||
|
||||
// Token: 0x06009982 RID: 39298 RVA: 0x001FD698 File Offset: 0x001FB898
|
||||
[Token(Token = "0x6009982")]
|
||||
[Address(RVA = "0x18E80A0", Offset = "0x18E6EA0", VA = "0x1818E80A0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.output.WriteTimeout;
|
||||
int writeTimeout2 = this.tee.WriteTimeout;
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009983 RID: 39299 RVA: 0x001FD6D0 File Offset: 0x001FB8D0
|
||||
[Token(Token = "0x6009983")]
|
||||
[Address(RVA = "0x18E81A0", Offset = "0x18E6FA0", VA = "0x1818E81A0", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
int num = this.output.ReadByte();
|
||||
bool canRead = this.tee.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009984 RID: 39300 RVA: 0x001FD6FC File Offset: 0x001FB8FC
|
||||
[Token(Token = "0x6009984")]
|
||||
[Address(RVA = "0x18E8140", Offset = "0x18E6F40", VA = "0x1818E8140", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
Stream stream = this.output;
|
||||
bool canRead = this.tee.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x04006872 RID: 26738
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006872")]
|
||||
private readonly Stream output;
|
||||
|
||||
// Token: 0x04006873 RID: 26739
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006873")]
|
||||
private readonly Stream tee;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001924 RID: 6436
|
||||
[Token(Token = "0x2001924")]
|
||||
public abstract class Integers
|
||||
{
|
||||
// Token: 0x0600984E RID: 38990 RVA: 0x001F6044 File Offset: 0x001F4244
|
||||
[Token(Token = "0x600984E")]
|
||||
[Address(RVA = "0x18E4240", Offset = "0x18E3040", VA = "0x1818E4240")]
|
||||
public static int RotateLeft(int i, int distance)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x0600984F RID: 38991 RVA: 0x001F6054 File Offset: 0x001F4254
|
||||
[Token(Token = "0x600984F")]
|
||||
[Address(RVA = "0x18E4240", Offset = "0x18E3040", VA = "0x1818E4240")]
|
||||
[CLSCompliant(false)]
|
||||
public static uint RotateLeft(uint i, int distance)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x06009850 RID: 38992 RVA: 0x001F6064 File Offset: 0x001F4264
|
||||
[Token(Token = "0x6009850")]
|
||||
[Address(RVA = "0x18E4260", Offset = "0x18E3060", VA = "0x1818E4260")]
|
||||
public static int RotateRight(int i, int distance)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x06009851 RID: 38993 RVA: 0x001F6074 File Offset: 0x001F4274
|
||||
[Token(Token = "0x6009851")]
|
||||
[Address(RVA = "0x18E4260", Offset = "0x18E3060", VA = "0x1818E4260")]
|
||||
[CLSCompliant(false)]
|
||||
public static uint RotateRight(uint i, int distance)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x06009852 RID: 38994 RVA: 0x001F6084 File Offset: 0x001F4284
|
||||
[Token(Token = "0x6009852")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected Integers()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001925 RID: 6437
|
||||
[Token(Token = "0x2001925")]
|
||||
public class MemoableResetException : InvalidCastException
|
||||
{
|
||||
// Token: 0x06009853 RID: 38995 RVA: 0x001F6098 File Offset: 0x001F4298
|
||||
[Token(Token = "0x6009853")]
|
||||
[Address(RVA = "0x18E5010", Offset = "0x18E3E10", VA = "0x1818E5010")]
|
||||
public MemoableResetException(string msg)
|
||||
: base(msg)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,238 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Net
|
||||
{
|
||||
// Token: 0x02001938 RID: 6456
|
||||
[Token(Token = "0x2001938")]
|
||||
public class IPAddress
|
||||
{
|
||||
// Token: 0x06009933 RID: 39219 RVA: 0x001FCBD0 File Offset: 0x001FADD0
|
||||
[Token(Token = "0x6009933")]
|
||||
[Address(RVA = "0x18DF7D0", Offset = "0x18DE5D0", VA = "0x1818DF7D0")]
|
||||
public static bool IsValid(string address)
|
||||
{
|
||||
return IPAddress.IsValidIPv4(address) || IPAddress.IsValidIPv6(address);
|
||||
}
|
||||
|
||||
// Token: 0x06009934 RID: 39220 RVA: 0x001FCBF0 File Offset: 0x001FADF0
|
||||
[Token(Token = "0x6009934")]
|
||||
[Address(RVA = "0x18DF6B0", Offset = "0x18DE4B0", VA = "0x1818DF6B0")]
|
||||
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: 0x06009935 RID: 39221 RVA: 0x001FCC70 File Offset: 0x001FAE70
|
||||
[Token(Token = "0x6009935")]
|
||||
[Address(RVA = "0x18DF470", Offset = "0x18DE270", VA = "0x1818DF470")]
|
||||
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: 0x06009936 RID: 39222 RVA: 0x001FCCD8 File Offset: 0x001FAED8
|
||||
[Token(Token = "0x6009936")]
|
||||
[Address(RVA = "0x18DF800", Offset = "0x18DE600", VA = "0x1818DF800")]
|
||||
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: 0x06009937 RID: 39223 RVA: 0x001FCD3C File Offset: 0x001FAF3C
|
||||
[Token(Token = "0x6009937")]
|
||||
[Address(RVA = "0x18DF3B0", Offset = "0x18DE1B0", VA = "0x1818DF3B0")]
|
||||
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: 0x06009938 RID: 39224 RVA: 0x001FCD88 File Offset: 0x001FAF88
|
||||
[Token(Token = "0x6009938")]
|
||||
[Address(RVA = "0x18DF590", Offset = "0x18DE390", VA = "0x1818DF590")]
|
||||
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: 0x06009939 RID: 39225 RVA: 0x001FCDCC File Offset: 0x001FAFCC
|
||||
[Token(Token = "0x6009939")]
|
||||
[Address(RVA = "0x18DF330", Offset = "0x18DE130", VA = "0x1818DF330")]
|
||||
private static bool IsMaskValue(string component, int size)
|
||||
{
|
||||
return int.Parse(component) <= size;
|
||||
}
|
||||
|
||||
// Token: 0x0600993A RID: 39226 RVA: 0x001FCDE8 File Offset: 0x001FAFE8
|
||||
[Token(Token = "0x600993A")]
|
||||
[Address(RVA = "0x18DF650", Offset = "0x18DE450", VA = "0x1818DF650")]
|
||||
public static bool IsValidIPv6(string address)
|
||||
{
|
||||
return IPAddress.unsafeIsValidIPv6(address);
|
||||
}
|
||||
|
||||
// Token: 0x0600993B RID: 39227 RVA: 0x001FCE00 File Offset: 0x001FB000
|
||||
[Token(Token = "0x600993B")]
|
||||
[Address(RVA = "0x18DF8E0", Offset = "0x18DE6E0", VA = "0x1818DF8E0")]
|
||||
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: 0x0600993C RID: 39228 RVA: 0x001FCED4 File Offset: 0x001FB0D4
|
||||
[Token(Token = "0x600993C")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public IPAddress()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,371 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001926 RID: 6438
|
||||
[Token(Token = "0x2001926")]
|
||||
internal abstract class Platform
|
||||
{
|
||||
// Token: 0x06009854 RID: 38996 RVA: 0x001F60AC File Offset: 0x001F42AC
|
||||
[Token(Token = "0x6009854")]
|
||||
[Address(RVA = "0x18E6C60", Offset = "0x18E5A60", VA = "0x1818E6C60")]
|
||||
private static string GetNewLine()
|
||||
{
|
||||
return Environment.NewLine;
|
||||
}
|
||||
|
||||
// Token: 0x06009855 RID: 38997 RVA: 0x001F60C0 File Offset: 0x001F42C0
|
||||
[Token(Token = "0x6009855")]
|
||||
[Address(RVA = "0x18E6AF0", Offset = "0x18E58F0", VA = "0x1818E6AF0")]
|
||||
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: 0x06009856 RID: 38998 RVA: 0x001F6100 File Offset: 0x001F4300
|
||||
[Token(Token = "0x6009856")]
|
||||
[Address(RVA = "0x18E6C00", Offset = "0x18E5A00", VA = "0x1818E6C00")]
|
||||
internal static string GetEnvironmentVariable(string variable)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009856)
|
||||
|
||||
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: 0x06009857 RID: 38999 RVA: 0x001F6118 File Offset: 0x001F4318
|
||||
[Token(Token = "0x6009857")]
|
||||
[Address(RVA = "0x18E6990", Offset = "0x18E5790", VA = "0x1818E6990")]
|
||||
internal static Exception CreateNotImplementedException(string message)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009857)
|
||||
|
||||
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: 0x06009858 RID: 39000 RVA: 0x001F612C File Offset: 0x001F432C
|
||||
[Token(Token = "0x6009858")]
|
||||
[Address(RVA = "0x18E6830", Offset = "0x18E5630", VA = "0x1818E6830")]
|
||||
internal static IList CreateArrayList()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009858)
|
||||
|
||||
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: 0x06009859 RID: 39001 RVA: 0x001F6140 File Offset: 0x001F4340
|
||||
[Token(Token = "0x6009859")]
|
||||
[Address(RVA = "0x18E6620", Offset = "0x18E5420", VA = "0x1818E6620")]
|
||||
internal static IList CreateArrayList(int capacity)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009859)
|
||||
|
||||
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: 0x0600985A RID: 39002 RVA: 0x001F6154 File Offset: 0x001F4354
|
||||
[Token(Token = "0x600985A")]
|
||||
[Address(RVA = "0x18E65C0", Offset = "0x18E53C0", VA = "0x1818E65C0")]
|
||||
internal static IList CreateArrayList(ICollection collection)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600985A)
|
||||
|
||||
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: 0x0600985B RID: 39003 RVA: 0x001F6168 File Offset: 0x001F4368
|
||||
[Token(Token = "0x600985B")]
|
||||
[Address(RVA = "0x18E6680", Offset = "0x18E5480", VA = "0x1818E6680")]
|
||||
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;
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600985C RID: 39004 RVA: 0x001F61A8 File Offset: 0x001F43A8
|
||||
[Token(Token = "0x600985C")]
|
||||
[Address(RVA = "0x18E6940", Offset = "0x18E5740", VA = "0x1818E6940")]
|
||||
internal static IDictionary CreateHashtable()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600985C)
|
||||
|
||||
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: 0x0600985D RID: 39005 RVA: 0x001F61BC File Offset: 0x001F43BC
|
||||
[Token(Token = "0x600985D")]
|
||||
[Address(RVA = "0x18E68E0", Offset = "0x18E56E0", VA = "0x1818E68E0")]
|
||||
internal static IDictionary CreateHashtable(int capacity)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600985D)
|
||||
|
||||
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: 0x0600985E RID: 39006 RVA: 0x001F61D0 File Offset: 0x001F43D0
|
||||
[Token(Token = "0x600985E")]
|
||||
[Address(RVA = "0x18E6880", Offset = "0x18E5680", VA = "0x1818E6880")]
|
||||
internal static IDictionary CreateHashtable(IDictionary dictionary)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600985E)
|
||||
|
||||
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: 0x0600985F RID: 39007 RVA: 0x001F61E4 File Offset: 0x001F43E4
|
||||
[Token(Token = "0x600985F")]
|
||||
[Address(RVA = "0x18E6E90", Offset = "0x18E5C90", VA = "0x1818E6E90")]
|
||||
internal static string ToLowerInvariant(string s)
|
||||
{
|
||||
CultureInfo invariantCulture = CultureInfo.InvariantCulture;
|
||||
return s.ToLower(invariantCulture);
|
||||
}
|
||||
|
||||
// Token: 0x06009860 RID: 39008 RVA: 0x001F6208 File Offset: 0x001F4408
|
||||
[Token(Token = "0x6009860")]
|
||||
[Address(RVA = "0x18E6F00", Offset = "0x18E5D00", VA = "0x1818E6F00")]
|
||||
internal static string ToUpperInvariant(string s)
|
||||
{
|
||||
CultureInfo invariantCulture = CultureInfo.InvariantCulture;
|
||||
return s.ToUpper(invariantCulture);
|
||||
}
|
||||
|
||||
// Token: 0x06009861 RID: 39009 RVA: 0x001F622C File Offset: 0x001F442C
|
||||
[Token(Token = "0x6009861")]
|
||||
[Address(RVA = "0x18E69F0", Offset = "0x18E57F0", VA = "0x1818E69F0")]
|
||||
internal static void Dispose(Stream s)
|
||||
{
|
||||
bool canRead = s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009862 RID: 39010 RVA: 0x001F6248 File Offset: 0x001F4448
|
||||
[Token(Token = "0x6009862")]
|
||||
[Address(RVA = "0x18E6A20", Offset = "0x18E5820", VA = "0x1818E6A20")]
|
||||
internal static void Dispose(TextWriter t)
|
||||
{
|
||||
Encoding encoding = t.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x06009863 RID: 39011 RVA: 0x001F6264 File Offset: 0x001F4464
|
||||
[Token(Token = "0x6009863")]
|
||||
[Address(RVA = "0x18E6CB0", Offset = "0x18E5AB0", VA = "0x1818E6CB0")]
|
||||
internal static int IndexOf(string source, string value)
|
||||
{
|
||||
bool flag = Platform.InvariantCompareInfo.IsSuffix(source, value, (CompareOptions)((uint)1073741824));
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009864 RID: 39012 RVA: 0x001F628C File Offset: 0x001F448C
|
||||
[Token(Token = "0x6009864")]
|
||||
[Address(RVA = "0x18E6D50", Offset = "0x18E5B50", VA = "0x1818E6D50")]
|
||||
internal static int LastIndexOf(string source, string value)
|
||||
{
|
||||
CompareInfo invariantCompareInfo = Platform.InvariantCompareInfo;
|
||||
int num;
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06009865 RID: 39013 RVA: 0x001F62A8 File Offset: 0x001F44A8
|
||||
[Token(Token = "0x6009865")]
|
||||
[Address(RVA = "0x18E6DF0", Offset = "0x18E5BF0", VA = "0x1818E6DF0")]
|
||||
internal static bool StartsWith(string source, string prefix)
|
||||
{
|
||||
CompareInfo invariantCompareInfo = Platform.InvariantCompareInfo;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009866 RID: 39014 RVA: 0x001F62C0 File Offset: 0x001F44C0
|
||||
[Token(Token = "0x6009866")]
|
||||
[Address(RVA = "0x18E6A50", Offset = "0x18E5850", VA = "0x1818E6A50")]
|
||||
internal static bool EndsWith(string source, string suffix)
|
||||
{
|
||||
return Platform.InvariantCompareInfo.IsPrefix(source, suffix, (CompareOptions)((uint)1073741824));
|
||||
}
|
||||
|
||||
// Token: 0x06009867 RID: 39015 RVA: 0x001F62E8 File Offset: 0x001F44E8
|
||||
[Token(Token = "0x6009867")]
|
||||
[Address(RVA = "0x18E6C70", Offset = "0x18E5A70", VA = "0x1818E6C70")]
|
||||
internal static string GetTypeName(object obj)
|
||||
{
|
||||
Guid guid = obj.GetType().GUID;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009868 RID: 39016 RVA: 0x001F6308 File Offset: 0x001F4508
|
||||
[Token(Token = "0x6009868")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected Platform()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009869 RID: 39017 RVA: 0x001F631C File Offset: 0x001F451C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6009869")]
|
||||
[Address(RVA = "0x18E6F70", Offset = "0x18E5D70", VA = "0x1818E6F70")]
|
||||
static Platform()
|
||||
{
|
||||
object obj = CultureInfo.InvariantCulture.Clone();
|
||||
Platform.InvariantCompareInfo = obj;
|
||||
Platform.NewLine = Environment.NewLine;
|
||||
}
|
||||
|
||||
// Token: 0x040066E7 RID: 26343
|
||||
[Token(Token = "0x40066E7")]
|
||||
private static readonly CompareInfo InvariantCompareInfo;
|
||||
|
||||
// Token: 0x040066E8 RID: 26344
|
||||
[Token(Token = "0x40066E8")]
|
||||
internal static readonly string NewLine;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
using System;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001927 RID: 6439
|
||||
[Token(Token = "0x2001927")]
|
||||
public abstract class Strings
|
||||
{
|
||||
// Token: 0x0600986A RID: 39018 RVA: 0x001F6350 File Offset: 0x001F4550
|
||||
[Token(Token = "0x600986A")]
|
||||
[Address(RVA = "0x18E7B30", Offset = "0x18E6930", VA = "0x1818E7B30")]
|
||||
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: 0x0600986B RID: 39019 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600986B")]
|
||||
[Address(RVA = "0x18E79E0", Offset = "0x18E67E0", VA = "0x1818E79E0")]
|
||||
public static string FromByteArray(byte[] bs)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600986C RID: 39020 RVA: 0x001F638C File Offset: 0x001F458C
|
||||
[Token(Token = "0x600986C")]
|
||||
[Address(RVA = "0x18E7C40", Offset = "0x18E6A40", VA = "0x1818E7C40")]
|
||||
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: 0x0600986D RID: 39021 RVA: 0x001F63C8 File Offset: 0x001F45C8
|
||||
[Token(Token = "0x600986D")]
|
||||
[Address(RVA = "0x18E7D30", Offset = "0x18E6B30", VA = "0x1818E7D30")]
|
||||
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: 0x0600986E RID: 39022 RVA: 0x001F6404 File Offset: 0x001F4604
|
||||
[Token(Token = "0x600986E")]
|
||||
[Address(RVA = "0x18E7990", Offset = "0x18E6790", VA = "0x1818E7990")]
|
||||
public static string FromAsciiByteArray(byte[] bytes)
|
||||
{
|
||||
return Encoding.ASCII.GetString(bytes);
|
||||
}
|
||||
|
||||
// Token: 0x0600986F RID: 39023 RVA: 0x001F6424 File Offset: 0x001F4624
|
||||
[Token(Token = "0x600986F")]
|
||||
[Address(RVA = "0x18E7BC0", Offset = "0x18E69C0", VA = "0x1818E7BC0")]
|
||||
public static byte[] ToAsciiByteArray(char[] cs)
|
||||
{
|
||||
Encoding ascii = Encoding.ASCII;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009870 RID: 39024 RVA: 0x001F6440 File Offset: 0x001F4640
|
||||
[Token(Token = "0x6009870")]
|
||||
[Address(RVA = "0x18E7C00", Offset = "0x18E6A00", VA = "0x1818E7C00")]
|
||||
public static byte[] ToAsciiByteArray(string s)
|
||||
{
|
||||
Encoding ascii = Encoding.ASCII;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009871 RID: 39025 RVA: 0x001F645C File Offset: 0x001F465C
|
||||
[Token(Token = "0x6009871")]
|
||||
[Address(RVA = "0x18E7AE0", Offset = "0x18E68E0", VA = "0x1818E7AE0")]
|
||||
public static string FromUtf8ByteArray(byte[] bytes)
|
||||
{
|
||||
return Encoding.UTF8.GetString(bytes);
|
||||
}
|
||||
|
||||
// Token: 0x06009872 RID: 39026 RVA: 0x001F647C File Offset: 0x001F467C
|
||||
[Token(Token = "0x6009872")]
|
||||
[Address(RVA = "0x18E7E10", Offset = "0x18E6C10", VA = "0x1818E7E10")]
|
||||
public static byte[] ToUtf8ByteArray(char[] cs)
|
||||
{
|
||||
Encoding utf = Encoding.UTF8;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009873 RID: 39027 RVA: 0x001F6498 File Offset: 0x001F4698
|
||||
[Token(Token = "0x6009873")]
|
||||
[Address(RVA = "0x18E7E50", Offset = "0x18E6C50", VA = "0x1818E7E50")]
|
||||
public static byte[] ToUtf8ByteArray(string s)
|
||||
{
|
||||
Encoding utf = Encoding.UTF8;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009874 RID: 39028 RVA: 0x001F64B4 File Offset: 0x001F46B4
|
||||
[Token(Token = "0x6009874")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected Strings()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
|
||||
{
|
||||
// Token: 0x02001928 RID: 6440
|
||||
[Token(Token = "0x2001928")]
|
||||
public sealed class Times
|
||||
{
|
||||
// Token: 0x06009875 RID: 39029 RVA: 0x001F64C8 File Offset: 0x001F46C8
|
||||
[Token(Token = "0x6009875")]
|
||||
[Address(RVA = "0x18E82B0", Offset = "0x18E70B0", VA = "0x1818E82B0")]
|
||||
public static long NanoTime()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009875)
|
||||
|
||||
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: 0x06009876 RID: 39030 RVA: 0x001F64E0 File Offset: 0x001F46E0
|
||||
[Token(Token = "0x6009876")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public Times()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040066E9 RID: 26345
|
||||
[Token(Token = "0x40066E9")]
|
||||
private static long NanosecondsPerTick;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001929 RID: 6441
|
||||
[Token(Token = "0x2001929")]
|
||||
internal sealed class Adler32
|
||||
{
|
||||
// Token: 0x06009878 RID: 39032 RVA: 0x001F6504 File Offset: 0x001F4704
|
||||
[Token(Token = "0x6009878")]
|
||||
[Address(RVA = "0x18D1BE0", Offset = "0x18D09E0", VA = "0x1818D1BE0")]
|
||||
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: 0x06009879 RID: 39033 RVA: 0x001F6608 File Offset: 0x001F4808
|
||||
[Token(Token = "0x6009879")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public Adler32()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040066EA RID: 26346
|
||||
[Token(Token = "0x40066EA")]
|
||||
private const int BASE = 65521;
|
||||
|
||||
// Token: 0x040066EB RID: 26347
|
||||
[Token(Token = "0x40066EB")]
|
||||
private const int NMAX = 5552;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2192 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x0200192A RID: 6442
|
||||
[Token(Token = "0x200192A")]
|
||||
public sealed class Deflate
|
||||
{
|
||||
// Token: 0x0600987A RID: 39034 RVA: 0x001F661C File Offset: 0x001F481C
|
||||
[Token(Token = "0x600987A")]
|
||||
[Address(RVA = "0x18D78E0", Offset = "0x18D66E0", VA = "0x1818D78E0")]
|
||||
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: 0x0600987B RID: 39035 RVA: 0x001F69C8 File Offset: 0x001F4BC8
|
||||
[Token(Token = "0x600987B")]
|
||||
[Address(RVA = "0x18D82E0", Offset = "0x18D70E0", VA = "0x1818D82E0")]
|
||||
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: 0x0600987C RID: 39036 RVA: 0x001F6A70 File Offset: 0x001F4C70
|
||||
[Token(Token = "0x600987C")]
|
||||
[Address(RVA = "0x18DB6C0", Offset = "0x18DA4C0", VA = "0x1818DB6C0")]
|
||||
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: 0x0600987D RID: 39037 RVA: 0x001F6B7C File Offset: 0x001F4D7C
|
||||
[Token(Token = "0x600987D")]
|
||||
[Address(RVA = "0x18DCC00", Offset = "0x18DBA00", VA = "0x1818DCC00")]
|
||||
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: 0x0600987E RID: 39038 RVA: 0x001F6C34 File Offset: 0x001F4E34
|
||||
[Token(Token = "0x600987E")]
|
||||
[Address(RVA = "0x18DB590", Offset = "0x18DA390", VA = "0x1818DB590")]
|
||||
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: 0x0600987F RID: 39039 RVA: 0x001F6CAC File Offset: 0x001F4EAC
|
||||
[Token(Token = "0x600987F")]
|
||||
[Address(RVA = "0x18DBF10", Offset = "0x18DAD10", VA = "0x1818DBF10")]
|
||||
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: 0x06009880 RID: 39040 RVA: 0x001F6D50 File Offset: 0x001F4F50
|
||||
[Token(Token = "0x6009880")]
|
||||
[Address(RVA = "0x18DCB40", Offset = "0x18DB940", VA = "0x1818DCB40")]
|
||||
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: 0x06009881 RID: 39041 RVA: 0x001F6D80 File Offset: 0x001F4F80
|
||||
[Token(Token = "0x6009881")]
|
||||
[Address(RVA = "0x18DC300", Offset = "0x18DB100", VA = "0x1818DC300")]
|
||||
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: 0x06009882 RID: 39042 RVA: 0x001F6DF0 File Offset: 0x001F4FF0
|
||||
[Token(Token = "0x6009882")]
|
||||
[Address(RVA = "0x18D9080", Offset = "0x18D7E80", VA = "0x1818D9080")]
|
||||
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: 0x06009883 RID: 39043 RVA: 0x001F6E6C File Offset: 0x001F506C
|
||||
[Token(Token = "0x6009883")]
|
||||
[Address(RVA = "0x18DC560", Offset = "0x18DB360", VA = "0x1818DC560")]
|
||||
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: 0x06009884 RID: 39044 RVA: 0x001F6ED8 File Offset: 0x001F50D8
|
||||
[Token(Token = "0x6009884")]
|
||||
[Address(RVA = "0x18DC840", Offset = "0x18DB640", VA = "0x1818DC840")]
|
||||
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: 0x06009885 RID: 39045 RVA: 0x001F6F7C File Offset: 0x001F517C
|
||||
[Token(Token = "0x6009885")]
|
||||
[Address(RVA = "0x18DC1F0", Offset = "0x18DAFF0", VA = "0x1818DC1F0")]
|
||||
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: 0x06009886 RID: 39046 RVA: 0x001F6FA4 File Offset: 0x001F51A4
|
||||
[Token(Token = "0x6009886")]
|
||||
[Address(RVA = "0x18DC240", Offset = "0x18DB040", VA = "0x1818DC240")]
|
||||
internal void put_byte(byte c)
|
||||
{
|
||||
int num = this.pending;
|
||||
byte[] array = this.pending_buf;
|
||||
int num2 = num + 1;
|
||||
this.pending = num2;
|
||||
}
|
||||
|
||||
// Token: 0x06009887 RID: 39047 RVA: 0x001F6FD0 File Offset: 0x001F51D0
|
||||
[Token(Token = "0x6009887")]
|
||||
[Address(RVA = "0x18DC280", Offset = "0x18DB080", VA = "0x1818DC280")]
|
||||
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: 0x06009888 RID: 39048 RVA: 0x001F7018 File Offset: 0x001F5218
|
||||
[Token(Token = "0x6009888")]
|
||||
[Address(RVA = "0x18DC170", Offset = "0x18DAF70", VA = "0x1818DC170")]
|
||||
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: 0x06009889 RID: 39049 RVA: 0x001F7060 File Offset: 0x001F5260
|
||||
[Token(Token = "0x6009889")]
|
||||
[Address(RVA = "0x18DC7D0", Offset = "0x18DB5D0", VA = "0x1818DC7D0")]
|
||||
internal void send_code(int c, short[] tree)
|
||||
{
|
||||
int length = tree.Length;
|
||||
short num;
|
||||
short num2;
|
||||
this.send_bits((int)num, (int)num2);
|
||||
}
|
||||
|
||||
// Token: 0x0600988A RID: 39050 RVA: 0x001F7084 File Offset: 0x001F5284
|
||||
[Token(Token = "0x600988A")]
|
||||
[Address(RVA = "0x18DC6E0", Offset = "0x18DB4E0", VA = "0x1818DC6E0")]
|
||||
internal void send_bits(int val, int length)
|
||||
{
|
||||
int num = this.bi_valid;
|
||||
uint num2;
|
||||
num2 -= (uint)length;
|
||||
this.bi_buf = (uint)val;
|
||||
}
|
||||
|
||||
// Token: 0x0600988B RID: 39051 RVA: 0x001F7110 File Offset: 0x001F5310
|
||||
[Token(Token = "0x600988B")]
|
||||
[Address(RVA = "0x18D8410", Offset = "0x18D7210", VA = "0x1818D8410")]
|
||||
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: 0x0600988C RID: 39052 RVA: 0x001F71C0 File Offset: 0x001F53C0
|
||||
[Token(Token = "0x600988C")]
|
||||
[Address(RVA = "0x18D8B70", Offset = "0x18D7970", VA = "0x1818D8B70")]
|
||||
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: 0x0600988D RID: 39053 RVA: 0x001F72B4 File Offset: 0x001F54B4
|
||||
[Token(Token = "0x600988D")]
|
||||
[Address(RVA = "0x18D91E0", Offset = "0x18D7FE0", VA = "0x1818D91E0")]
|
||||
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: 0x0600988E RID: 39054 RVA: 0x001F73E8 File Offset: 0x001F55E8
|
||||
[Token(Token = "0x600988E")]
|
||||
[Address(RVA = "0x18DCA40", Offset = "0x18DB840", VA = "0x1818DCA40")]
|
||||
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: 0x0600988F RID: 39055 RVA: 0x001F7444 File Offset: 0x001F5644
|
||||
[Token(Token = "0x600988F")]
|
||||
[Address(RVA = "0x18D8EB0", Offset = "0x18D7CB0", VA = "0x1818D8EB0")]
|
||||
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: 0x06009890 RID: 39056 RVA: 0x001F74E0 File Offset: 0x001F56E0
|
||||
[Token(Token = "0x6009890")]
|
||||
[Address(RVA = "0x18D8FA0", Offset = "0x18D7DA0", VA = "0x1818D8FA0")]
|
||||
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: 0x06009891 RID: 39057 RVA: 0x001F7580 File Offset: 0x001F5780
|
||||
[Token(Token = "0x6009891")]
|
||||
[Address(RVA = "0x18D9690", Offset = "0x18D8490", VA = "0x1818D9690")]
|
||||
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: 0x06009892 RID: 39058 RVA: 0x001F75D0 File Offset: 0x001F57D0
|
||||
[Token(Token = "0x6009892")]
|
||||
[Address(RVA = "0x18DB530", Offset = "0x18DA330", VA = "0x1818DB530")]
|
||||
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: 0x06009893 RID: 39059 RVA: 0x001F761C File Offset: 0x001F581C
|
||||
[Token(Token = "0x6009893")]
|
||||
[Address(RVA = "0x18DB120", Offset = "0x18D9F20", VA = "0x1818DB120")]
|
||||
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: 0x06009894 RID: 39060 RVA: 0x001F7758 File Offset: 0x001F5958
|
||||
[Token(Token = "0x6009894")]
|
||||
[Address(RVA = "0x18D8AD0", Offset = "0x18D78D0", VA = "0x1818D8AD0")]
|
||||
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: 0x06009895 RID: 39061 RVA: 0x001F77B0 File Offset: 0x001F59B0
|
||||
[Token(Token = "0x6009895")]
|
||||
[Address(RVA = "0x18D85B0", Offset = "0x18D73B0", VA = "0x1818D85B0")]
|
||||
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: 0x06009896 RID: 39062 RVA: 0x001F7974 File Offset: 0x001F5B74
|
||||
[Token(Token = "0x6009896")]
|
||||
[Address(RVA = "0x18DB2D0", Offset = "0x18DA0D0", VA = "0x1818DB2D0")]
|
||||
internal void fill_window()
|
||||
{
|
||||
int num2;
|
||||
int num18;
|
||||
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;
|
||||
if (zstream.avail_in == num2)
|
||||
{
|
||||
break;
|
||||
}
|
||||
int num15 = this.lookahead;
|
||||
byte[] array4 = this.window;
|
||||
uint num17;
|
||||
int num16 = zstream.read_buf(array4, num15, (int)num17);
|
||||
num18 = this.lookahead;
|
||||
byte[] array5 = this.window;
|
||||
num13 = this.strstart;
|
||||
byte b;
|
||||
this.ins_h = (int)b;
|
||||
num13++;
|
||||
this.ins_h = (int)b;
|
||||
}
|
||||
while (num18 < 262 && this.strm.avail_in != num2);
|
||||
}
|
||||
|
||||
// Token: 0x06009897 RID: 39063 RVA: 0x001F7AE4 File Offset: 0x001F5CE4
|
||||
[Token(Token = "0x6009897")]
|
||||
[Address(RVA = "0x18DA1B0", Offset = "0x18D8FB0", VA = "0x1818DA1B0")]
|
||||
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: 0x06009898 RID: 39064 RVA: 0x001F7DCC File Offset: 0x001F5FCC
|
||||
[Token(Token = "0x6009898")]
|
||||
[Address(RVA = "0x18DABA0", Offset = "0x18D99A0", VA = "0x1818DABA0")]
|
||||
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: 0x06009899 RID: 39065 RVA: 0x001F80A0 File Offset: 0x001F62A0
|
||||
[Token(Token = "0x6009899")]
|
||||
[Address(RVA = "0x18DB8F0", Offset = "0x18DA6F0", VA = "0x1818DB8F0")]
|
||||
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: 0x0600989A RID: 39066 RVA: 0x001F81CC File Offset: 0x001F63CC
|
||||
[Token(Token = "0x600989A")]
|
||||
[Address(RVA = "0x18D9AE0", Offset = "0x18D88E0", VA = "0x1818D9AE0")]
|
||||
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: 0x0600989B RID: 39067 RVA: 0x001F81E8 File Offset: 0x001F63E8
|
||||
[Token(Token = "0x600989B")]
|
||||
[Address(RVA = "0x18D9AB0", Offset = "0x18D88B0", VA = "0x1818D9AB0")]
|
||||
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: 0x0600989C RID: 39068 RVA: 0x001F8204 File Offset: 0x001F6404
|
||||
[Token(Token = "0x600989C")]
|
||||
[Address(RVA = "0x18D9760", Offset = "0x18D8560", VA = "0x1818D9760")]
|
||||
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: 0x0600989D RID: 39069 RVA: 0x001F8404 File Offset: 0x001F6604
|
||||
[Token(Token = "0x600989D")]
|
||||
[Address(RVA = "0x18D9DD0", Offset = "0x18D8BD0", VA = "0x1818D9DD0")]
|
||||
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: 0x0600989E RID: 39070 RVA: 0x001F8514 File Offset: 0x001F6714
|
||||
[Token(Token = "0x600989E")]
|
||||
[Address(RVA = "0x18D9720", Offset = "0x18D8520", VA = "0x1818D9720")]
|
||||
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: 0x0600989F RID: 39071 RVA: 0x001F8560 File Offset: 0x001F6760
|
||||
[Token(Token = "0x600989F")]
|
||||
[Address(RVA = "0x18D9B10", Offset = "0x18D8910", VA = "0x1818D9B10")]
|
||||
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)
|
||||
{
|
||||
int num3 = strm.deflate(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: 0x060098A0 RID: 39072 RVA: 0x001F8658 File Offset: 0x001F6858
|
||||
[Token(Token = "0x60098A0")]
|
||||
[Address(RVA = "0x18D9F70", Offset = "0x18D8D70", VA = "0x1818D9F70")]
|
||||
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: 0x060098A1 RID: 39073 RVA: 0x001F8768 File Offset: 0x001F6968
|
||||
[Token(Token = "0x60098A1")]
|
||||
[Address(RVA = "0x18DA6B0", Offset = "0x18D94B0", VA = "0x1818DA6B0")]
|
||||
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: 0x040066EC RID: 26348
|
||||
[Token(Token = "0x40066EC")]
|
||||
private const int MAX_MEM_LEVEL = 9;
|
||||
|
||||
// Token: 0x040066ED RID: 26349
|
||||
[Token(Token = "0x40066ED")]
|
||||
private const int Z_DEFAULT_COMPRESSION = -1;
|
||||
|
||||
// Token: 0x040066EE RID: 26350
|
||||
[Token(Token = "0x40066EE")]
|
||||
private const int MAX_WBITS = 15;
|
||||
|
||||
// Token: 0x040066EF RID: 26351
|
||||
[Token(Token = "0x40066EF")]
|
||||
private const int DEF_MEM_LEVEL = 8;
|
||||
|
||||
// Token: 0x040066F0 RID: 26352
|
||||
[Token(Token = "0x40066F0")]
|
||||
private const int STORED = 0;
|
||||
|
||||
// Token: 0x040066F1 RID: 26353
|
||||
[Token(Token = "0x40066F1")]
|
||||
private const int FAST = 1;
|
||||
|
||||
// Token: 0x040066F2 RID: 26354
|
||||
[Token(Token = "0x40066F2")]
|
||||
private const int SLOW = 2;
|
||||
|
||||
// Token: 0x040066F3 RID: 26355
|
||||
[Token(Token = "0x40066F3")]
|
||||
private static readonly Deflate.Config[] config_table;
|
||||
|
||||
// Token: 0x040066F4 RID: 26356
|
||||
[Token(Token = "0x40066F4")]
|
||||
private static readonly string[] z_errmsg;
|
||||
|
||||
// Token: 0x040066F5 RID: 26357
|
||||
[Token(Token = "0x40066F5")]
|
||||
private const int NeedMore = 0;
|
||||
|
||||
// Token: 0x040066F6 RID: 26358
|
||||
[Token(Token = "0x40066F6")]
|
||||
private const int BlockDone = 1;
|
||||
|
||||
// Token: 0x040066F7 RID: 26359
|
||||
[Token(Token = "0x40066F7")]
|
||||
private const int FinishStarted = 2;
|
||||
|
||||
// Token: 0x040066F8 RID: 26360
|
||||
[Token(Token = "0x40066F8")]
|
||||
private const int FinishDone = 3;
|
||||
|
||||
// Token: 0x040066F9 RID: 26361
|
||||
[Token(Token = "0x40066F9")]
|
||||
private const int PRESET_DICT = 32;
|
||||
|
||||
// Token: 0x040066FA RID: 26362
|
||||
[Token(Token = "0x40066FA")]
|
||||
private const int Z_FILTERED = 1;
|
||||
|
||||
// Token: 0x040066FB RID: 26363
|
||||
[Token(Token = "0x40066FB")]
|
||||
private const int Z_HUFFMAN_ONLY = 2;
|
||||
|
||||
// Token: 0x040066FC RID: 26364
|
||||
[Token(Token = "0x40066FC")]
|
||||
private const int Z_DEFAULT_STRATEGY = 0;
|
||||
|
||||
// Token: 0x040066FD RID: 26365
|
||||
[Token(Token = "0x40066FD")]
|
||||
private const int Z_NO_FLUSH = 0;
|
||||
|
||||
// Token: 0x040066FE RID: 26366
|
||||
[Token(Token = "0x40066FE")]
|
||||
private const int Z_PARTIAL_FLUSH = 1;
|
||||
|
||||
// Token: 0x040066FF RID: 26367
|
||||
[Token(Token = "0x40066FF")]
|
||||
private const int Z_SYNC_FLUSH = 2;
|
||||
|
||||
// Token: 0x04006700 RID: 26368
|
||||
[Token(Token = "0x4006700")]
|
||||
private const int Z_FULL_FLUSH = 3;
|
||||
|
||||
// Token: 0x04006701 RID: 26369
|
||||
[Token(Token = "0x4006701")]
|
||||
private const int Z_FINISH = 4;
|
||||
|
||||
// Token: 0x04006702 RID: 26370
|
||||
[Token(Token = "0x4006702")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x04006703 RID: 26371
|
||||
[Token(Token = "0x4006703")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x04006704 RID: 26372
|
||||
[Token(Token = "0x4006704")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x04006705 RID: 26373
|
||||
[Token(Token = "0x4006705")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x04006706 RID: 26374
|
||||
[Token(Token = "0x4006706")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x04006707 RID: 26375
|
||||
[Token(Token = "0x4006707")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x04006708 RID: 26376
|
||||
[Token(Token = "0x4006708")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x04006709 RID: 26377
|
||||
[Token(Token = "0x4006709")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x0400670A RID: 26378
|
||||
[Token(Token = "0x400670A")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x0400670B RID: 26379
|
||||
[Token(Token = "0x400670B")]
|
||||
private const int INIT_STATE = 42;
|
||||
|
||||
// Token: 0x0400670C RID: 26380
|
||||
[Token(Token = "0x400670C")]
|
||||
private const int BUSY_STATE = 113;
|
||||
|
||||
// Token: 0x0400670D RID: 26381
|
||||
[Token(Token = "0x400670D")]
|
||||
private const int FINISH_STATE = 666;
|
||||
|
||||
// Token: 0x0400670E RID: 26382
|
||||
[Token(Token = "0x400670E")]
|
||||
private const int Z_DEFLATED = 8;
|
||||
|
||||
// Token: 0x0400670F RID: 26383
|
||||
[Token(Token = "0x400670F")]
|
||||
private const int STORED_BLOCK = 0;
|
||||
|
||||
// Token: 0x04006710 RID: 26384
|
||||
[Token(Token = "0x4006710")]
|
||||
private const int STATIC_TREES = 1;
|
||||
|
||||
// Token: 0x04006711 RID: 26385
|
||||
[Token(Token = "0x4006711")]
|
||||
private const int DYN_TREES = 2;
|
||||
|
||||
// Token: 0x04006712 RID: 26386
|
||||
[Token(Token = "0x4006712")]
|
||||
private const int Z_BINARY = 0;
|
||||
|
||||
// Token: 0x04006713 RID: 26387
|
||||
[Token(Token = "0x4006713")]
|
||||
private const int Z_ASCII = 1;
|
||||
|
||||
// Token: 0x04006714 RID: 26388
|
||||
[Token(Token = "0x4006714")]
|
||||
private const int Z_UNKNOWN = 2;
|
||||
|
||||
// Token: 0x04006715 RID: 26389
|
||||
[Token(Token = "0x4006715")]
|
||||
private const int Buf_size = 16;
|
||||
|
||||
// Token: 0x04006716 RID: 26390
|
||||
[Token(Token = "0x4006716")]
|
||||
private const int REP_3_6 = 16;
|
||||
|
||||
// Token: 0x04006717 RID: 26391
|
||||
[Token(Token = "0x4006717")]
|
||||
private const int REPZ_3_10 = 17;
|
||||
|
||||
// Token: 0x04006718 RID: 26392
|
||||
[Token(Token = "0x4006718")]
|
||||
private const int REPZ_11_138 = 18;
|
||||
|
||||
// Token: 0x04006719 RID: 26393
|
||||
[Token(Token = "0x4006719")]
|
||||
private const int MIN_MATCH = 3;
|
||||
|
||||
// Token: 0x0400671A RID: 26394
|
||||
[Token(Token = "0x400671A")]
|
||||
private const int MAX_MATCH = 258;
|
||||
|
||||
// Token: 0x0400671B RID: 26395
|
||||
[Token(Token = "0x400671B")]
|
||||
private const int MIN_LOOKAHEAD = 262;
|
||||
|
||||
// Token: 0x0400671C RID: 26396
|
||||
[Token(Token = "0x400671C")]
|
||||
private const int MAX_BITS = 15;
|
||||
|
||||
// Token: 0x0400671D RID: 26397
|
||||
[Token(Token = "0x400671D")]
|
||||
private const int D_CODES = 30;
|
||||
|
||||
// Token: 0x0400671E RID: 26398
|
||||
[Token(Token = "0x400671E")]
|
||||
private const int BL_CODES = 19;
|
||||
|
||||
// Token: 0x0400671F RID: 26399
|
||||
[Token(Token = "0x400671F")]
|
||||
private const int LENGTH_CODES = 29;
|
||||
|
||||
// Token: 0x04006720 RID: 26400
|
||||
[Token(Token = "0x4006720")]
|
||||
private const int LITERALS = 256;
|
||||
|
||||
// Token: 0x04006721 RID: 26401
|
||||
[Token(Token = "0x4006721")]
|
||||
private const int L_CODES = 286;
|
||||
|
||||
// Token: 0x04006722 RID: 26402
|
||||
[Token(Token = "0x4006722")]
|
||||
private const int HEAP_SIZE = 573;
|
||||
|
||||
// Token: 0x04006723 RID: 26403
|
||||
[Token(Token = "0x4006723")]
|
||||
private const int END_BLOCK = 256;
|
||||
|
||||
// Token: 0x04006724 RID: 26404
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006724")]
|
||||
internal ZStream strm;
|
||||
|
||||
// Token: 0x04006725 RID: 26405
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006725")]
|
||||
internal int status;
|
||||
|
||||
// Token: 0x04006726 RID: 26406
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006726")]
|
||||
internal byte[] pending_buf;
|
||||
|
||||
// Token: 0x04006727 RID: 26407
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006727")]
|
||||
internal int pending_buf_size;
|
||||
|
||||
// Token: 0x04006728 RID: 26408
|
||||
[FieldOffset(Offset = "0x2C")]
|
||||
[Token(Token = "0x4006728")]
|
||||
internal int pending_out;
|
||||
|
||||
// Token: 0x04006729 RID: 26409
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006729")]
|
||||
internal int pending;
|
||||
|
||||
// Token: 0x0400672A RID: 26410
|
||||
[FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x400672A")]
|
||||
internal int noheader;
|
||||
|
||||
// Token: 0x0400672B RID: 26411
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400672B")]
|
||||
internal byte data_type;
|
||||
|
||||
// Token: 0x0400672C RID: 26412
|
||||
[FieldOffset(Offset = "0x39")]
|
||||
[Token(Token = "0x400672C")]
|
||||
internal byte method;
|
||||
|
||||
// Token: 0x0400672D RID: 26413
|
||||
[FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x400672D")]
|
||||
internal int last_flush;
|
||||
|
||||
// Token: 0x0400672E RID: 26414
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400672E")]
|
||||
internal int w_size;
|
||||
|
||||
// Token: 0x0400672F RID: 26415
|
||||
[FieldOffset(Offset = "0x44")]
|
||||
[Token(Token = "0x400672F")]
|
||||
internal int w_bits;
|
||||
|
||||
// Token: 0x04006730 RID: 26416
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4006730")]
|
||||
internal int w_mask;
|
||||
|
||||
// Token: 0x04006731 RID: 26417
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4006731")]
|
||||
internal byte[] window;
|
||||
|
||||
// Token: 0x04006732 RID: 26418
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4006732")]
|
||||
internal int window_size;
|
||||
|
||||
// Token: 0x04006733 RID: 26419
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4006733")]
|
||||
internal short[] prev;
|
||||
|
||||
// Token: 0x04006734 RID: 26420
|
||||
[FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4006734")]
|
||||
internal short[] head;
|
||||
|
||||
// Token: 0x04006735 RID: 26421
|
||||
[FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x4006735")]
|
||||
internal int ins_h;
|
||||
|
||||
// Token: 0x04006736 RID: 26422
|
||||
[FieldOffset(Offset = "0x74")]
|
||||
[Token(Token = "0x4006736")]
|
||||
internal int hash_size;
|
||||
|
||||
// Token: 0x04006737 RID: 26423
|
||||
[FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x4006737")]
|
||||
internal int hash_bits;
|
||||
|
||||
// Token: 0x04006738 RID: 26424
|
||||
[FieldOffset(Offset = "0x7C")]
|
||||
[Token(Token = "0x4006738")]
|
||||
internal int hash_mask;
|
||||
|
||||
// Token: 0x04006739 RID: 26425
|
||||
[FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x4006739")]
|
||||
internal int hash_shift;
|
||||
|
||||
// Token: 0x0400673A RID: 26426
|
||||
[FieldOffset(Offset = "0x84")]
|
||||
[Token(Token = "0x400673A")]
|
||||
internal int block_start;
|
||||
|
||||
// Token: 0x0400673B RID: 26427
|
||||
[FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x400673B")]
|
||||
internal int match_length;
|
||||
|
||||
// Token: 0x0400673C RID: 26428
|
||||
[FieldOffset(Offset = "0x8C")]
|
||||
[Token(Token = "0x400673C")]
|
||||
internal int prev_match;
|
||||
|
||||
// Token: 0x0400673D RID: 26429
|
||||
[FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x400673D")]
|
||||
internal int match_available;
|
||||
|
||||
// Token: 0x0400673E RID: 26430
|
||||
[FieldOffset(Offset = "0x94")]
|
||||
[Token(Token = "0x400673E")]
|
||||
internal int strstart;
|
||||
|
||||
// Token: 0x0400673F RID: 26431
|
||||
[FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x400673F")]
|
||||
internal int match_start;
|
||||
|
||||
// Token: 0x04006740 RID: 26432
|
||||
[FieldOffset(Offset = "0x9C")]
|
||||
[Token(Token = "0x4006740")]
|
||||
internal int lookahead;
|
||||
|
||||
// Token: 0x04006741 RID: 26433
|
||||
[FieldOffset(Offset = "0xA0")]
|
||||
[Token(Token = "0x4006741")]
|
||||
internal int prev_length;
|
||||
|
||||
// Token: 0x04006742 RID: 26434
|
||||
[FieldOffset(Offset = "0xA4")]
|
||||
[Token(Token = "0x4006742")]
|
||||
internal int max_chain_length;
|
||||
|
||||
// Token: 0x04006743 RID: 26435
|
||||
[FieldOffset(Offset = "0xA8")]
|
||||
[Token(Token = "0x4006743")]
|
||||
internal int max_lazy_match;
|
||||
|
||||
// Token: 0x04006744 RID: 26436
|
||||
[FieldOffset(Offset = "0xAC")]
|
||||
[Token(Token = "0x4006744")]
|
||||
internal int level;
|
||||
|
||||
// Token: 0x04006745 RID: 26437
|
||||
[FieldOffset(Offset = "0xB0")]
|
||||
[Token(Token = "0x4006745")]
|
||||
internal int strategy;
|
||||
|
||||
// Token: 0x04006746 RID: 26438
|
||||
[FieldOffset(Offset = "0xB4")]
|
||||
[Token(Token = "0x4006746")]
|
||||
internal int good_match;
|
||||
|
||||
// Token: 0x04006747 RID: 26439
|
||||
[FieldOffset(Offset = "0xB8")]
|
||||
[Token(Token = "0x4006747")]
|
||||
internal int nice_match;
|
||||
|
||||
// Token: 0x04006748 RID: 26440
|
||||
[FieldOffset(Offset = "0xC0")]
|
||||
[Token(Token = "0x4006748")]
|
||||
internal short[] dyn_ltree;
|
||||
|
||||
// Token: 0x04006749 RID: 26441
|
||||
[FieldOffset(Offset = "0xC8")]
|
||||
[Token(Token = "0x4006749")]
|
||||
internal short[] dyn_dtree;
|
||||
|
||||
// Token: 0x0400674A RID: 26442
|
||||
[FieldOffset(Offset = "0xD0")]
|
||||
[Token(Token = "0x400674A")]
|
||||
internal short[] bl_tree;
|
||||
|
||||
// Token: 0x0400674B RID: 26443
|
||||
[FieldOffset(Offset = "0xD8")]
|
||||
[Token(Token = "0x400674B")]
|
||||
internal ZTree l_desc;
|
||||
|
||||
// Token: 0x0400674C RID: 26444
|
||||
[FieldOffset(Offset = "0xE0")]
|
||||
[Token(Token = "0x400674C")]
|
||||
internal ZTree d_desc;
|
||||
|
||||
// Token: 0x0400674D RID: 26445
|
||||
[FieldOffset(Offset = "0xE8")]
|
||||
[Token(Token = "0x400674D")]
|
||||
internal ZTree bl_desc;
|
||||
|
||||
// Token: 0x0400674E RID: 26446
|
||||
[FieldOffset(Offset = "0xF0")]
|
||||
[Token(Token = "0x400674E")]
|
||||
internal short[] bl_count;
|
||||
|
||||
// Token: 0x0400674F RID: 26447
|
||||
[FieldOffset(Offset = "0xF8")]
|
||||
[Token(Token = "0x400674F")]
|
||||
internal int[] heap;
|
||||
|
||||
// Token: 0x04006750 RID: 26448
|
||||
[FieldOffset(Offset = "0x100")]
|
||||
[Token(Token = "0x4006750")]
|
||||
internal int heap_len;
|
||||
|
||||
// Token: 0x04006751 RID: 26449
|
||||
[FieldOffset(Offset = "0x104")]
|
||||
[Token(Token = "0x4006751")]
|
||||
internal int heap_max;
|
||||
|
||||
// Token: 0x04006752 RID: 26450
|
||||
[FieldOffset(Offset = "0x108")]
|
||||
[Token(Token = "0x4006752")]
|
||||
internal byte[] depth;
|
||||
|
||||
// Token: 0x04006753 RID: 26451
|
||||
[FieldOffset(Offset = "0x110")]
|
||||
[Token(Token = "0x4006753")]
|
||||
internal int l_buf;
|
||||
|
||||
// Token: 0x04006754 RID: 26452
|
||||
[FieldOffset(Offset = "0x114")]
|
||||
[Token(Token = "0x4006754")]
|
||||
internal int lit_bufsize;
|
||||
|
||||
// Token: 0x04006755 RID: 26453
|
||||
[FieldOffset(Offset = "0x118")]
|
||||
[Token(Token = "0x4006755")]
|
||||
internal int last_lit;
|
||||
|
||||
// Token: 0x04006756 RID: 26454
|
||||
[FieldOffset(Offset = "0x11C")]
|
||||
[Token(Token = "0x4006756")]
|
||||
internal int d_buf;
|
||||
|
||||
// Token: 0x04006757 RID: 26455
|
||||
[FieldOffset(Offset = "0x120")]
|
||||
[Token(Token = "0x4006757")]
|
||||
internal int opt_len;
|
||||
|
||||
// Token: 0x04006758 RID: 26456
|
||||
[FieldOffset(Offset = "0x124")]
|
||||
[Token(Token = "0x4006758")]
|
||||
internal int static_len;
|
||||
|
||||
// Token: 0x04006759 RID: 26457
|
||||
[FieldOffset(Offset = "0x128")]
|
||||
[Token(Token = "0x4006759")]
|
||||
internal int matches;
|
||||
|
||||
// Token: 0x0400675A RID: 26458
|
||||
[FieldOffset(Offset = "0x12C")]
|
||||
[Token(Token = "0x400675A")]
|
||||
internal int last_eob_len;
|
||||
|
||||
// Token: 0x0400675B RID: 26459
|
||||
[FieldOffset(Offset = "0x130")]
|
||||
[Token(Token = "0x400675B")]
|
||||
internal uint bi_buf;
|
||||
|
||||
// Token: 0x0400675C RID: 26460
|
||||
[FieldOffset(Offset = "0x134")]
|
||||
[Token(Token = "0x400675C")]
|
||||
internal int bi_valid;
|
||||
|
||||
// Token: 0x0200192B RID: 6443
|
||||
[Token(Token = "0x200192B")]
|
||||
internal class Config
|
||||
{
|
||||
// Token: 0x060098A2 RID: 39074 RVA: 0x001F8A00 File Offset: 0x001F6C00
|
||||
[Token(Token = "0x60098A2")]
|
||||
[Address(RVA = "0x18D7470", Offset = "0x18D6270", VA = "0x1818D7470")]
|
||||
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: 0x0400675D RID: 26461
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400675D")]
|
||||
internal int good_length;
|
||||
|
||||
// Token: 0x0400675E RID: 26462
|
||||
[FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x400675E")]
|
||||
internal int max_lazy;
|
||||
|
||||
// Token: 0x0400675F RID: 26463
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400675F")]
|
||||
internal int nice_length;
|
||||
|
||||
// Token: 0x04006760 RID: 26464
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x4006760")]
|
||||
internal int max_chain;
|
||||
|
||||
// Token: 0x04006761 RID: 26465
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006761")]
|
||||
internal int func;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,825 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x0200192C RID: 6444
|
||||
[Token(Token = "0x200192C")]
|
||||
internal sealed class InfBlocks
|
||||
{
|
||||
// Token: 0x060098A3 RID: 39075 RVA: 0x001F8A38 File Offset: 0x001F6C38
|
||||
[Token(Token = "0x60098A3")]
|
||||
[Address(RVA = "0x18DFB40", Offset = "0x18DE940", VA = "0x1818DFB40")]
|
||||
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: 0x060098A4 RID: 39076 RVA: 0x001F8AF0 File Offset: 0x001F6CF0
|
||||
[Token(Token = "0x60098A4")]
|
||||
[Address(RVA = "0x18E1320", Offset = "0x18E0120", VA = "0x1818E1320")]
|
||||
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: 0x060098A5 RID: 39077 RVA: 0x001F8B54 File Offset: 0x001F6D54
|
||||
[Token(Token = "0x60098A5")]
|
||||
[Address(RVA = "0x18DFE60", Offset = "0x18DEC60", VA = "0x1818DFE60")]
|
||||
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: 0x060098A6 RID: 39078 RVA: 0x001F9458 File Offset: 0x001F7658
|
||||
[Token(Token = "0x60098A6")]
|
||||
[Address(RVA = "0x18DFC80", Offset = "0x18DEA80", VA = "0x1818DFC80")]
|
||||
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: 0x060098A7 RID: 39079 RVA: 0x001F94B4 File Offset: 0x001F76B4
|
||||
[Token(Token = "0x60098A7")]
|
||||
[Address(RVA = "0x18E13A0", Offset = "0x18E01A0", VA = "0x1818E13A0")]
|
||||
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: 0x060098A8 RID: 39080 RVA: 0x001F94E4 File Offset: 0x001F76E4
|
||||
[Token(Token = "0x60098A8")]
|
||||
[Address(RVA = "0x18E13F0", Offset = "0x18E01F0", VA = "0x1818E13F0")]
|
||||
internal int sync_point()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060098A8)
|
||||
|
||||
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: 0x060098A9 RID: 39081 RVA: 0x001F94FC File Offset: 0x001F76FC
|
||||
[Token(Token = "0x60098A9")]
|
||||
[Address(RVA = "0x18DFCE0", Offset = "0x18DEAE0", VA = "0x1818DFCE0")]
|
||||
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: 0x060098AA RID: 39082 RVA: 0x001F9670 File Offset: 0x001F7870
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60098AA")]
|
||||
[Address(RVA = "0x18DFAA0", Offset = "0x18DE8A0", VA = "0x1818DFAA0")]
|
||||
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: 0x04006762 RID: 26466
|
||||
[Token(Token = "0x4006762")]
|
||||
private const int MANY = 1440;
|
||||
|
||||
// Token: 0x04006763 RID: 26467
|
||||
[Token(Token = "0x4006763")]
|
||||
private static readonly int[] inflate_mask;
|
||||
|
||||
// Token: 0x04006764 RID: 26468
|
||||
[Token(Token = "0x4006764")]
|
||||
private static readonly int[] border;
|
||||
|
||||
// Token: 0x04006765 RID: 26469
|
||||
[Token(Token = "0x4006765")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x04006766 RID: 26470
|
||||
[Token(Token = "0x4006766")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x04006767 RID: 26471
|
||||
[Token(Token = "0x4006767")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x04006768 RID: 26472
|
||||
[Token(Token = "0x4006768")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x04006769 RID: 26473
|
||||
[Token(Token = "0x4006769")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x0400676A RID: 26474
|
||||
[Token(Token = "0x400676A")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x0400676B RID: 26475
|
||||
[Token(Token = "0x400676B")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x0400676C RID: 26476
|
||||
[Token(Token = "0x400676C")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x0400676D RID: 26477
|
||||
[Token(Token = "0x400676D")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x0400676E RID: 26478
|
||||
[Token(Token = "0x400676E")]
|
||||
private const int TYPE = 0;
|
||||
|
||||
// Token: 0x0400676F RID: 26479
|
||||
[Token(Token = "0x400676F")]
|
||||
private const int LENS = 1;
|
||||
|
||||
// Token: 0x04006770 RID: 26480
|
||||
[Token(Token = "0x4006770")]
|
||||
private const int STORED = 2;
|
||||
|
||||
// Token: 0x04006771 RID: 26481
|
||||
[Token(Token = "0x4006771")]
|
||||
private const int TABLE = 3;
|
||||
|
||||
// Token: 0x04006772 RID: 26482
|
||||
[Token(Token = "0x4006772")]
|
||||
private const int BTREE = 4;
|
||||
|
||||
// Token: 0x04006773 RID: 26483
|
||||
[Token(Token = "0x4006773")]
|
||||
private const int DTREE = 5;
|
||||
|
||||
// Token: 0x04006774 RID: 26484
|
||||
[Token(Token = "0x4006774")]
|
||||
private const int CODES = 6;
|
||||
|
||||
// Token: 0x04006775 RID: 26485
|
||||
[Token(Token = "0x4006775")]
|
||||
private const int DRY = 7;
|
||||
|
||||
// Token: 0x04006776 RID: 26486
|
||||
[Token(Token = "0x4006776")]
|
||||
private const int DONE = 8;
|
||||
|
||||
// Token: 0x04006777 RID: 26487
|
||||
[Token(Token = "0x4006777")]
|
||||
private const int BAD = 9;
|
||||
|
||||
// Token: 0x04006778 RID: 26488
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006778")]
|
||||
internal int mode;
|
||||
|
||||
// Token: 0x04006779 RID: 26489
|
||||
[FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x4006779")]
|
||||
internal int left;
|
||||
|
||||
// Token: 0x0400677A RID: 26490
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400677A")]
|
||||
internal int table;
|
||||
|
||||
// Token: 0x0400677B RID: 26491
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x400677B")]
|
||||
internal int index;
|
||||
|
||||
// Token: 0x0400677C RID: 26492
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400677C")]
|
||||
internal int[] blens;
|
||||
|
||||
// Token: 0x0400677D RID: 26493
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400677D")]
|
||||
internal int[] bb;
|
||||
|
||||
// Token: 0x0400677E RID: 26494
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400677E")]
|
||||
internal int[] tb;
|
||||
|
||||
// Token: 0x0400677F RID: 26495
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400677F")]
|
||||
internal InfCodes codes;
|
||||
|
||||
// Token: 0x04006780 RID: 26496
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4006780")]
|
||||
private int last;
|
||||
|
||||
// Token: 0x04006781 RID: 26497
|
||||
[FieldOffset(Offset = "0x44")]
|
||||
[Token(Token = "0x4006781")]
|
||||
internal int bitk;
|
||||
|
||||
// Token: 0x04006782 RID: 26498
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4006782")]
|
||||
internal int bitb;
|
||||
|
||||
// Token: 0x04006783 RID: 26499
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4006783")]
|
||||
internal int[] hufts;
|
||||
|
||||
// Token: 0x04006784 RID: 26500
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4006784")]
|
||||
internal byte[] window;
|
||||
|
||||
// Token: 0x04006785 RID: 26501
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4006785")]
|
||||
internal int end;
|
||||
|
||||
// Token: 0x04006786 RID: 26502
|
||||
[FieldOffset(Offset = "0x64")]
|
||||
[Token(Token = "0x4006786")]
|
||||
internal int read;
|
||||
|
||||
// Token: 0x04006787 RID: 26503
|
||||
[FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4006787")]
|
||||
internal int write;
|
||||
|
||||
// Token: 0x04006788 RID: 26504
|
||||
[FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x4006788")]
|
||||
internal object checkfn;
|
||||
|
||||
// Token: 0x04006789 RID: 26505
|
||||
[FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x4006789")]
|
||||
internal long check;
|
||||
|
||||
// Token: 0x0400678A RID: 26506
|
||||
[FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x400678A")]
|
||||
internal InfTree inftree;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,534 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x0200192D RID: 6445
|
||||
[Token(Token = "0x200192D")]
|
||||
internal sealed class InfCodes
|
||||
{
|
||||
// Token: 0x060098AB RID: 39083 RVA: 0x001F96B0 File Offset: 0x001F78B0
|
||||
[Token(Token = "0x60098AB")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
internal InfCodes()
|
||||
{
|
||||
int num = 0;
|
||||
this.free(num);
|
||||
}
|
||||
|
||||
// Token: 0x060098AC RID: 39084 RVA: 0x001F96C8 File Offset: 0x001F78C8
|
||||
[Token(Token = "0x60098AC")]
|
||||
[Address(RVA = "0x18E2030", Offset = "0x18E0E30", VA = "0x1818E2030")]
|
||||
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: 0x060098AD RID: 39085 RVA: 0x001F9710 File Offset: 0x001F7910
|
||||
[Token(Token = "0x60098AD")]
|
||||
[Address(RVA = "0x18E2060", Offset = "0x18E0E60", VA = "0x1818E2060")]
|
||||
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: 0x060098AE RID: 39086 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60098AE")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
internal void free(ZStream z)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x060098AF RID: 39087 RVA: 0x001F9B88 File Offset: 0x001F7D88
|
||||
[Token(Token = "0x60098AF")]
|
||||
[Address(RVA = "0x18E1460", Offset = "0x18E0260", VA = "0x1818E1460")]
|
||||
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: 0x060098B0 RID: 39088 RVA: 0x001F9CA4 File Offset: 0x001F7EA4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60098B0")]
|
||||
[Address(RVA = "0x18E1400", Offset = "0x18E0200", VA = "0x1818E1400")]
|
||||
static InfCodes()
|
||||
{
|
||||
int[] array = new int[17];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.F584B6C7CCA3CD4ECC3B9B1E20D2F2EFB73DBBDF).FieldHandle);
|
||||
InfCodes.inflate_mask = array;
|
||||
}
|
||||
|
||||
// Token: 0x0400678B RID: 26507
|
||||
[Token(Token = "0x400678B")]
|
||||
private static readonly int[] inflate_mask;
|
||||
|
||||
// Token: 0x0400678C RID: 26508
|
||||
[Token(Token = "0x400678C")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x0400678D RID: 26509
|
||||
[Token(Token = "0x400678D")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x0400678E RID: 26510
|
||||
[Token(Token = "0x400678E")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x0400678F RID: 26511
|
||||
[Token(Token = "0x400678F")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x04006790 RID: 26512
|
||||
[Token(Token = "0x4006790")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x04006791 RID: 26513
|
||||
[Token(Token = "0x4006791")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x04006792 RID: 26514
|
||||
[Token(Token = "0x4006792")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x04006793 RID: 26515
|
||||
[Token(Token = "0x4006793")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x04006794 RID: 26516
|
||||
[Token(Token = "0x4006794")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x04006795 RID: 26517
|
||||
[Token(Token = "0x4006795")]
|
||||
private const int START = 0;
|
||||
|
||||
// Token: 0x04006796 RID: 26518
|
||||
[Token(Token = "0x4006796")]
|
||||
private const int LEN = 1;
|
||||
|
||||
// Token: 0x04006797 RID: 26519
|
||||
[Token(Token = "0x4006797")]
|
||||
private const int LENEXT = 2;
|
||||
|
||||
// Token: 0x04006798 RID: 26520
|
||||
[Token(Token = "0x4006798")]
|
||||
private const int DIST = 3;
|
||||
|
||||
// Token: 0x04006799 RID: 26521
|
||||
[Token(Token = "0x4006799")]
|
||||
private const int DISTEXT = 4;
|
||||
|
||||
// Token: 0x0400679A RID: 26522
|
||||
[Token(Token = "0x400679A")]
|
||||
private const int COPY = 5;
|
||||
|
||||
// Token: 0x0400679B RID: 26523
|
||||
[Token(Token = "0x400679B")]
|
||||
private const int LIT = 6;
|
||||
|
||||
// Token: 0x0400679C RID: 26524
|
||||
[Token(Token = "0x400679C")]
|
||||
private const int WASH = 7;
|
||||
|
||||
// Token: 0x0400679D RID: 26525
|
||||
[Token(Token = "0x400679D")]
|
||||
private const int END = 8;
|
||||
|
||||
// Token: 0x0400679E RID: 26526
|
||||
[Token(Token = "0x400679E")]
|
||||
private const int BADCODE = 9;
|
||||
|
||||
// Token: 0x0400679F RID: 26527
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400679F")]
|
||||
private int mode;
|
||||
|
||||
// Token: 0x040067A0 RID: 26528
|
||||
[FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x40067A0")]
|
||||
private int len;
|
||||
|
||||
// Token: 0x040067A1 RID: 26529
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40067A1")]
|
||||
private int[] tree;
|
||||
|
||||
// Token: 0x040067A2 RID: 26530
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40067A2")]
|
||||
private int tree_index;
|
||||
|
||||
// Token: 0x040067A3 RID: 26531
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x40067A3")]
|
||||
private int need;
|
||||
|
||||
// Token: 0x040067A4 RID: 26532
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40067A4")]
|
||||
private int lit;
|
||||
|
||||
// Token: 0x040067A5 RID: 26533
|
||||
[FieldOffset(Offset = "0x2C")]
|
||||
[Token(Token = "0x40067A5")]
|
||||
private int get;
|
||||
|
||||
// Token: 0x040067A6 RID: 26534
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40067A6")]
|
||||
private int dist;
|
||||
|
||||
// Token: 0x040067A7 RID: 26535
|
||||
[FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x40067A7")]
|
||||
private byte lbits;
|
||||
|
||||
// Token: 0x040067A8 RID: 26536
|
||||
[FieldOffset(Offset = "0x35")]
|
||||
[Token(Token = "0x40067A8")]
|
||||
private byte dbits;
|
||||
|
||||
// Token: 0x040067A9 RID: 26537
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40067A9")]
|
||||
private int[] ltree;
|
||||
|
||||
// Token: 0x040067AA RID: 26538
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40067AA")]
|
||||
private int ltree_index;
|
||||
|
||||
// Token: 0x040067AB RID: 26539
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40067AB")]
|
||||
private int[] dtree;
|
||||
|
||||
// Token: 0x040067AC RID: 26540
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40067AC")]
|
||||
private int dtree_index;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,445 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x0200192E RID: 6446
|
||||
[Token(Token = "0x200192E")]
|
||||
internal sealed class InfTree
|
||||
{
|
||||
// Token: 0x060098B1 RID: 39089 RVA: 0x001F9CCC File Offset: 0x001F7ECC
|
||||
[Token(Token = "0x60098B1")]
|
||||
[Address(RVA = "0x18E2E90", Offset = "0x18E1C90", VA = "0x1818E2E90")]
|
||||
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: 0x060098B2 RID: 39090 RVA: 0x001F9FD8 File Offset: 0x001F81D8
|
||||
[Token(Token = "0x60098B2")]
|
||||
[Address(RVA = "0x18E3A70", Offset = "0x18E2870", VA = "0x1818E3A70")]
|
||||
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: 0x060098B3 RID: 39091 RVA: 0x001FA02C File Offset: 0x001F822C
|
||||
[Token(Token = "0x60098B3")]
|
||||
[Address(RVA = "0x18E3BC0", Offset = "0x18E29C0", VA = "0x1818E3BC0")]
|
||||
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: 0x060098B4 RID: 39092 RVA: 0x001FA0CC File Offset: 0x001F82CC
|
||||
[Token(Token = "0x60098B4")]
|
||||
[Address(RVA = "0x18E3ED0", Offset = "0x18E2CD0", VA = "0x1818E3ED0")]
|
||||
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: 0x060098B5 RID: 39093 RVA: 0x001FA108 File Offset: 0x001F8308
|
||||
[Token(Token = "0x60098B5")]
|
||||
[Address(RVA = "0x18E4060", Offset = "0x18E2E60", VA = "0x1818E4060")]
|
||||
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: 0x060098B6 RID: 39094 RVA: 0x001FA238 File Offset: 0x001F8438
|
||||
[Token(Token = "0x60098B6")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public InfTree()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060098B7 RID: 39095 RVA: 0x001FA24C File Offset: 0x001F844C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60098B7")]
|
||||
[Address(RVA = "0x18E2D10", Offset = "0x18E1B10", VA = "0x1818E2D10")]
|
||||
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: 0x040067AD RID: 26541
|
||||
[Token(Token = "0x40067AD")]
|
||||
private const int MANY = 1440;
|
||||
|
||||
// Token: 0x040067AE RID: 26542
|
||||
[Token(Token = "0x40067AE")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x040067AF RID: 26543
|
||||
[Token(Token = "0x40067AF")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x040067B0 RID: 26544
|
||||
[Token(Token = "0x40067B0")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x040067B1 RID: 26545
|
||||
[Token(Token = "0x40067B1")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x040067B2 RID: 26546
|
||||
[Token(Token = "0x40067B2")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x040067B3 RID: 26547
|
||||
[Token(Token = "0x40067B3")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x040067B4 RID: 26548
|
||||
[Token(Token = "0x40067B4")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x040067B5 RID: 26549
|
||||
[Token(Token = "0x40067B5")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x040067B6 RID: 26550
|
||||
[Token(Token = "0x40067B6")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x040067B7 RID: 26551
|
||||
[Token(Token = "0x40067B7")]
|
||||
private const int fixed_bl = 9;
|
||||
|
||||
// Token: 0x040067B8 RID: 26552
|
||||
[Token(Token = "0x40067B8")]
|
||||
private const int fixed_bd = 5;
|
||||
|
||||
// Token: 0x040067B9 RID: 26553
|
||||
[Token(Token = "0x40067B9")]
|
||||
private static readonly int[] fixed_tl;
|
||||
|
||||
// Token: 0x040067BA RID: 26554
|
||||
[Token(Token = "0x40067BA")]
|
||||
private static readonly int[] fixed_td;
|
||||
|
||||
// Token: 0x040067BB RID: 26555
|
||||
[Token(Token = "0x40067BB")]
|
||||
private static readonly int[] cplens;
|
||||
|
||||
// Token: 0x040067BC RID: 26556
|
||||
[Token(Token = "0x40067BC")]
|
||||
private static readonly int[] cplext;
|
||||
|
||||
// Token: 0x040067BD RID: 26557
|
||||
[Token(Token = "0x40067BD")]
|
||||
private static readonly int[] cpdist;
|
||||
|
||||
// Token: 0x040067BE RID: 26558
|
||||
[Token(Token = "0x40067BE")]
|
||||
private static readonly int[] cpdext;
|
||||
|
||||
// Token: 0x040067BF RID: 26559
|
||||
[Token(Token = "0x40067BF")]
|
||||
private const int BMAX = 15;
|
||||
|
||||
// Token: 0x040067C0 RID: 26560
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40067C0")]
|
||||
private int[] hn;
|
||||
|
||||
// Token: 0x040067C1 RID: 26561
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40067C1")]
|
||||
private int[] v;
|
||||
|
||||
// Token: 0x040067C2 RID: 26562
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40067C2")]
|
||||
private int[] c;
|
||||
|
||||
// Token: 0x040067C3 RID: 26563
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40067C3")]
|
||||
private int[] r;
|
||||
|
||||
// Token: 0x040067C4 RID: 26564
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40067C4")]
|
||||
private int[] u;
|
||||
|
||||
// Token: 0x040067C5 RID: 26565
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40067C5")]
|
||||
private int[] x;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,571 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x0200192F RID: 6447
|
||||
[Token(Token = "0x200192F")]
|
||||
internal sealed class Inflate
|
||||
{
|
||||
// Token: 0x060098B8 RID: 39096 RVA: 0x001FA2F8 File Offset: 0x001F84F8
|
||||
[Token(Token = "0x60098B8")]
|
||||
[Address(RVA = "0x1624640", Offset = "0x1623440", VA = "0x181624640")]
|
||||
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;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x060098B9 RID: 39097 RVA: 0x001FA348 File Offset: 0x001F8548
|
||||
[Token(Token = "0x60098B9")]
|
||||
[Address(RVA = "0x1624500", Offset = "0x1623300", VA = "0x181624500")]
|
||||
internal int inflateEnd(ZStream z)
|
||||
{
|
||||
InfBlocks infBlocks = this.blocks;
|
||||
if (infBlocks != 0)
|
||||
{
|
||||
infBlocks.free(z);
|
||||
}
|
||||
int num = 0;
|
||||
this.blocks = num;
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x060098BA RID: 39098 RVA: 0x001FA374 File Offset: 0x001F8574
|
||||
[Token(Token = "0x60098BA")]
|
||||
[Address(RVA = "0x1624530", Offset = "0x1623330", VA = "0x181624530")]
|
||||
internal int inflateInit(ZStream z, int w)
|
||||
{
|
||||
int num = 0;
|
||||
z.msg = num;
|
||||
this.blocks = num;
|
||||
this.nowrap = num;
|
||||
this.nowrap = 1;
|
||||
this.wbits = w;
|
||||
Inflate istate = z.istate;
|
||||
int num2 = istate.nowrap;
|
||||
InfBlocks infBlocks = new InfBlocks(z, this, 1);
|
||||
istate.blocks = infBlocks;
|
||||
int num3 = this.inflateReset(z);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060098BB RID: 39099 RVA: 0x001FA3D4 File Offset: 0x001F85D4
|
||||
[Token(Token = "0x60098BB")]
|
||||
[Address(RVA = "0x1624A50", Offset = "0x1623850", VA = "0x181624A50")]
|
||||
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: 0x060098BC RID: 39100 RVA: 0x001FA8F8 File Offset: 0x001F8AF8
|
||||
[Token(Token = "0x60098BC")]
|
||||
[Address(RVA = "0x16246B0", Offset = "0x16234B0", VA = "0x1816246B0")]
|
||||
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)
|
||||
{
|
||||
Adler32 adler2 = z._adler;
|
||||
Inflate istate2 = z.istate;
|
||||
long num3;
|
||||
z.adler = num3;
|
||||
uint num4 = num2 - 1U;
|
||||
istate2.blocks.set_dictionary(dictionary, dictLength, (int)num4);
|
||||
z.istate.mode = (int)((ulong)7L);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060098BD RID: 39101 RVA: 0x001FA980 File Offset: 0x001F8B80
|
||||
[Token(Token = "0x60098BD")]
|
||||
[Address(RVA = "0x1624820", Offset = "0x1623620", VA = "0x181624820")]
|
||||
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: 0x060098BE RID: 39102 RVA: 0x001FAA98 File Offset: 0x001F8C98
|
||||
[Token(Token = "0x60098BE")]
|
||||
[Address(RVA = "0x16247F0", Offset = "0x16235F0", VA = "0x1816247F0")]
|
||||
internal int inflateSyncPoint(ZStream z)
|
||||
{
|
||||
if (z != 0)
|
||||
{
|
||||
Inflate istate = z.istate;
|
||||
if (istate != 0)
|
||||
{
|
||||
InfBlocks infBlocks = istate.blocks;
|
||||
if (infBlocks != 0)
|
||||
{
|
||||
return infBlocks.sync_point();
|
||||
}
|
||||
}
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x060098BF RID: 39103 RVA: 0x001FAAC8 File Offset: 0x001F8CC8
|
||||
[Token(Token = "0x60098BF")]
|
||||
[Address(RVA = "0x16244B0", Offset = "0x16232B0", VA = "0x1816244B0")]
|
||||
public Inflate()
|
||||
{
|
||||
long[] array = new long[1];
|
||||
this.was = array;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x060098C0 RID: 39104 RVA: 0x001FAAEC File Offset: 0x001F8CEC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60098C0")]
|
||||
[Address(RVA = "0x1624420", Offset = "0x1623220", VA = "0x181624420")]
|
||||
static Inflate()
|
||||
{
|
||||
byte[] array = new byte[4];
|
||||
array[0] = (byte)((ulong)255L);
|
||||
array[0] = (byte)((ulong)255L);
|
||||
Inflate.mark = array;
|
||||
}
|
||||
|
||||
// Token: 0x040067C6 RID: 26566
|
||||
[Token(Token = "0x40067C6")]
|
||||
private const int MAX_WBITS = 15;
|
||||
|
||||
// Token: 0x040067C7 RID: 26567
|
||||
[Token(Token = "0x40067C7")]
|
||||
private const int PRESET_DICT = 32;
|
||||
|
||||
// Token: 0x040067C8 RID: 26568
|
||||
[Token(Token = "0x40067C8")]
|
||||
internal const int Z_NO_FLUSH = 0;
|
||||
|
||||
// Token: 0x040067C9 RID: 26569
|
||||
[Token(Token = "0x40067C9")]
|
||||
internal const int Z_PARTIAL_FLUSH = 1;
|
||||
|
||||
// Token: 0x040067CA RID: 26570
|
||||
[Token(Token = "0x40067CA")]
|
||||
internal const int Z_SYNC_FLUSH = 2;
|
||||
|
||||
// Token: 0x040067CB RID: 26571
|
||||
[Token(Token = "0x40067CB")]
|
||||
internal const int Z_FULL_FLUSH = 3;
|
||||
|
||||
// Token: 0x040067CC RID: 26572
|
||||
[Token(Token = "0x40067CC")]
|
||||
internal const int Z_FINISH = 4;
|
||||
|
||||
// Token: 0x040067CD RID: 26573
|
||||
[Token(Token = "0x40067CD")]
|
||||
private const int Z_DEFLATED = 8;
|
||||
|
||||
// Token: 0x040067CE RID: 26574
|
||||
[Token(Token = "0x40067CE")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x040067CF RID: 26575
|
||||
[Token(Token = "0x40067CF")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x040067D0 RID: 26576
|
||||
[Token(Token = "0x40067D0")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x040067D1 RID: 26577
|
||||
[Token(Token = "0x40067D1")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x040067D2 RID: 26578
|
||||
[Token(Token = "0x40067D2")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x040067D3 RID: 26579
|
||||
[Token(Token = "0x40067D3")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x040067D4 RID: 26580
|
||||
[Token(Token = "0x40067D4")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x040067D5 RID: 26581
|
||||
[Token(Token = "0x40067D5")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x040067D6 RID: 26582
|
||||
[Token(Token = "0x40067D6")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x040067D7 RID: 26583
|
||||
[Token(Token = "0x40067D7")]
|
||||
private const int METHOD = 0;
|
||||
|
||||
// Token: 0x040067D8 RID: 26584
|
||||
[Token(Token = "0x40067D8")]
|
||||
private const int FLAG = 1;
|
||||
|
||||
// Token: 0x040067D9 RID: 26585
|
||||
[Token(Token = "0x40067D9")]
|
||||
private const int DICT4 = 2;
|
||||
|
||||
// Token: 0x040067DA RID: 26586
|
||||
[Token(Token = "0x40067DA")]
|
||||
private const int DICT3 = 3;
|
||||
|
||||
// Token: 0x040067DB RID: 26587
|
||||
[Token(Token = "0x40067DB")]
|
||||
private const int DICT2 = 4;
|
||||
|
||||
// Token: 0x040067DC RID: 26588
|
||||
[Token(Token = "0x40067DC")]
|
||||
private const int DICT1 = 5;
|
||||
|
||||
// Token: 0x040067DD RID: 26589
|
||||
[Token(Token = "0x40067DD")]
|
||||
private const int DICT0 = 6;
|
||||
|
||||
// Token: 0x040067DE RID: 26590
|
||||
[Token(Token = "0x40067DE")]
|
||||
private const int BLOCKS = 7;
|
||||
|
||||
// Token: 0x040067DF RID: 26591
|
||||
[Token(Token = "0x40067DF")]
|
||||
private const int CHECK4 = 8;
|
||||
|
||||
// Token: 0x040067E0 RID: 26592
|
||||
[Token(Token = "0x40067E0")]
|
||||
private const int CHECK3 = 9;
|
||||
|
||||
// Token: 0x040067E1 RID: 26593
|
||||
[Token(Token = "0x40067E1")]
|
||||
private const int CHECK2 = 10;
|
||||
|
||||
// Token: 0x040067E2 RID: 26594
|
||||
[Token(Token = "0x40067E2")]
|
||||
private const int CHECK1 = 11;
|
||||
|
||||
// Token: 0x040067E3 RID: 26595
|
||||
[Token(Token = "0x40067E3")]
|
||||
private const int DONE = 12;
|
||||
|
||||
// Token: 0x040067E4 RID: 26596
|
||||
[Token(Token = "0x40067E4")]
|
||||
private const int BAD = 13;
|
||||
|
||||
// Token: 0x040067E5 RID: 26597
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40067E5")]
|
||||
internal int mode;
|
||||
|
||||
// Token: 0x040067E6 RID: 26598
|
||||
[FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x40067E6")]
|
||||
internal int method;
|
||||
|
||||
// Token: 0x040067E7 RID: 26599
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40067E7")]
|
||||
internal long[] was;
|
||||
|
||||
// Token: 0x040067E8 RID: 26600
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40067E8")]
|
||||
internal long need;
|
||||
|
||||
// Token: 0x040067E9 RID: 26601
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40067E9")]
|
||||
internal int marker;
|
||||
|
||||
// Token: 0x040067EA RID: 26602
|
||||
[FieldOffset(Offset = "0x2C")]
|
||||
[Token(Token = "0x40067EA")]
|
||||
internal int nowrap;
|
||||
|
||||
// Token: 0x040067EB RID: 26603
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40067EB")]
|
||||
internal int wbits;
|
||||
|
||||
// Token: 0x040067EC RID: 26604
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40067EC")]
|
||||
internal InfBlocks blocks;
|
||||
|
||||
// Token: 0x040067ED RID: 26605
|
||||
[Token(Token = "0x40067ED")]
|
||||
private static readonly byte[] mark;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001930 RID: 6448
|
||||
[Token(Token = "0x2001930")]
|
||||
public sealed class JZlib
|
||||
{
|
||||
// Token: 0x060098C1 RID: 39105 RVA: 0x001FAB28 File Offset: 0x001F8D28
|
||||
[Token(Token = "0x60098C1")]
|
||||
[Address(RVA = "0x1625240", Offset = "0x1624040", VA = "0x181625240")]
|
||||
public static string version()
|
||||
{
|
||||
return "1.0.7";
|
||||
}
|
||||
|
||||
// Token: 0x060098C2 RID: 39106 RVA: 0x001FAB3C File Offset: 0x001F8D3C
|
||||
[Token(Token = "0x60098C2")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public JZlib()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040067EE RID: 26606
|
||||
[Token(Token = "0x40067EE")]
|
||||
private const string _version = "1.0.7";
|
||||
|
||||
// Token: 0x040067EF RID: 26607
|
||||
[Token(Token = "0x40067EF")]
|
||||
public const int Z_NO_COMPRESSION = 0;
|
||||
|
||||
// Token: 0x040067F0 RID: 26608
|
||||
[Token(Token = "0x40067F0")]
|
||||
public const int Z_BEST_SPEED = 1;
|
||||
|
||||
// Token: 0x040067F1 RID: 26609
|
||||
[Token(Token = "0x40067F1")]
|
||||
public const int Z_BEST_COMPRESSION = 9;
|
||||
|
||||
// Token: 0x040067F2 RID: 26610
|
||||
[Token(Token = "0x40067F2")]
|
||||
public const int Z_DEFAULT_COMPRESSION = -1;
|
||||
|
||||
// Token: 0x040067F3 RID: 26611
|
||||
[Token(Token = "0x40067F3")]
|
||||
public const int Z_FILTERED = 1;
|
||||
|
||||
// Token: 0x040067F4 RID: 26612
|
||||
[Token(Token = "0x40067F4")]
|
||||
public const int Z_HUFFMAN_ONLY = 2;
|
||||
|
||||
// Token: 0x040067F5 RID: 26613
|
||||
[Token(Token = "0x40067F5")]
|
||||
public const int Z_DEFAULT_STRATEGY = 0;
|
||||
|
||||
// Token: 0x040067F6 RID: 26614
|
||||
[Token(Token = "0x40067F6")]
|
||||
public const int Z_NO_FLUSH = 0;
|
||||
|
||||
// Token: 0x040067F7 RID: 26615
|
||||
[Token(Token = "0x40067F7")]
|
||||
public const int Z_PARTIAL_FLUSH = 1;
|
||||
|
||||
// Token: 0x040067F8 RID: 26616
|
||||
[Token(Token = "0x40067F8")]
|
||||
public const int Z_SYNC_FLUSH = 2;
|
||||
|
||||
// Token: 0x040067F9 RID: 26617
|
||||
[Token(Token = "0x40067F9")]
|
||||
public const int Z_FULL_FLUSH = 3;
|
||||
|
||||
// Token: 0x040067FA RID: 26618
|
||||
[Token(Token = "0x40067FA")]
|
||||
public const int Z_FINISH = 4;
|
||||
|
||||
// Token: 0x040067FB RID: 26619
|
||||
[Token(Token = "0x40067FB")]
|
||||
public const int Z_OK = 0;
|
||||
|
||||
// Token: 0x040067FC RID: 26620
|
||||
[Token(Token = "0x40067FC")]
|
||||
public const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x040067FD RID: 26621
|
||||
[Token(Token = "0x40067FD")]
|
||||
public const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x040067FE RID: 26622
|
||||
[Token(Token = "0x40067FE")]
|
||||
public const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x040067FF RID: 26623
|
||||
[Token(Token = "0x40067FF")]
|
||||
public const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x04006800 RID: 26624
|
||||
[Token(Token = "0x4006800")]
|
||||
public const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x04006801 RID: 26625
|
||||
[Token(Token = "0x4006801")]
|
||||
public const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x04006802 RID: 26626
|
||||
[Token(Token = "0x4006802")]
|
||||
public const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x04006803 RID: 26627
|
||||
[Token(Token = "0x4006803")]
|
||||
public const int Z_VERSION_ERROR = -6;
|
||||
}
|
||||
}
|
||||
+136
@@ -0,0 +1,136 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001931 RID: 6449
|
||||
[Token(Token = "0x2001931")]
|
||||
internal sealed class StaticTree
|
||||
{
|
||||
// Token: 0x060098C3 RID: 39107 RVA: 0x001FAB50 File Offset: 0x001F8D50
|
||||
[Token(Token = "0x60098C3")]
|
||||
[Address(RVA = "0x1625C10", Offset = "0x1624A10", VA = "0x181625C10")]
|
||||
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: 0x060098C4 RID: 39108 RVA: 0x001FAB88 File Offset: 0x001F8D88
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60098C4")]
|
||||
[Address(RVA = "0x1625A10", Offset = "0x1624810", VA = "0x181625A10")]
|
||||
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: 0x04006804 RID: 26628
|
||||
[Token(Token = "0x4006804")]
|
||||
private const int MAX_BITS = 15;
|
||||
|
||||
// Token: 0x04006805 RID: 26629
|
||||
[Token(Token = "0x4006805")]
|
||||
private const int BL_CODES = 19;
|
||||
|
||||
// Token: 0x04006806 RID: 26630
|
||||
[Token(Token = "0x4006806")]
|
||||
private const int D_CODES = 30;
|
||||
|
||||
// Token: 0x04006807 RID: 26631
|
||||
[Token(Token = "0x4006807")]
|
||||
private const int LITERALS = 256;
|
||||
|
||||
// Token: 0x04006808 RID: 26632
|
||||
[Token(Token = "0x4006808")]
|
||||
private const int LENGTH_CODES = 29;
|
||||
|
||||
// Token: 0x04006809 RID: 26633
|
||||
[Token(Token = "0x4006809")]
|
||||
private const int L_CODES = 286;
|
||||
|
||||
// Token: 0x0400680A RID: 26634
|
||||
[Token(Token = "0x400680A")]
|
||||
internal const int MAX_BL_BITS = 7;
|
||||
|
||||
// Token: 0x0400680B RID: 26635
|
||||
[Token(Token = "0x400680B")]
|
||||
internal static readonly short[] static_ltree;
|
||||
|
||||
// Token: 0x0400680C RID: 26636
|
||||
[Token(Token = "0x400680C")]
|
||||
internal static readonly short[] static_dtree;
|
||||
|
||||
// Token: 0x0400680D RID: 26637
|
||||
[Token(Token = "0x400680D")]
|
||||
internal static readonly StaticTree static_l_desc;
|
||||
|
||||
// Token: 0x0400680E RID: 26638
|
||||
[Token(Token = "0x400680E")]
|
||||
internal static readonly StaticTree static_d_desc;
|
||||
|
||||
// Token: 0x0400680F RID: 26639
|
||||
[Token(Token = "0x400680F")]
|
||||
internal static readonly StaticTree static_bl_desc;
|
||||
|
||||
// Token: 0x04006810 RID: 26640
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006810")]
|
||||
internal short[] static_tree;
|
||||
|
||||
// Token: 0x04006811 RID: 26641
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006811")]
|
||||
internal int[] extra_bits;
|
||||
|
||||
// Token: 0x04006812 RID: 26642
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006812")]
|
||||
internal int extra_base;
|
||||
|
||||
// Token: 0x04006813 RID: 26643
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x4006813")]
|
||||
internal int elems;
|
||||
|
||||
// Token: 0x04006814 RID: 26644
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006814")]
|
||||
internal int max_length;
|
||||
}
|
||||
}
|
||||
+311
@@ -0,0 +1,311 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001932 RID: 6450
|
||||
[Token(Token = "0x2001932")]
|
||||
[Obsolete]
|
||||
public class ZDeflaterOutputStream : Stream
|
||||
{
|
||||
// Token: 0x060098C5 RID: 39109 RVA: 0x001FAC9C File Offset: 0x001F8E9C
|
||||
[Token(Token = "0x60098C5")]
|
||||
[Address(RVA = "0x1637200", Offset = "0x1636000", VA = "0x181637200")]
|
||||
public ZDeflaterOutputStream(Stream outp)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060098C6 RID: 39110 RVA: 0x001FACAC File Offset: 0x001F8EAC
|
||||
[Token(Token = "0x60098C6")]
|
||||
[Address(RVA = "0x16370B0", Offset = "0x1635EB0", VA = "0x1816370B0")]
|
||||
public ZDeflaterOutputStream(Stream outp, int level)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060098C7 RID: 39111 RVA: 0x001FACBC File Offset: 0x001F8EBC
|
||||
[Token(Token = "0x60098C7")]
|
||||
[Address(RVA = "0x16370D0", Offset = "0x1635ED0", VA = "0x1816370D0")]
|
||||
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: 0x1700184A RID: 6218
|
||||
// (get) Token: 0x060098C8 RID: 39112 RVA: 0x001FAD2C File Offset: 0x001F8F2C
|
||||
[Token(Token = "0x1700184A")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x60098C8")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "7")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700184B RID: 6219
|
||||
// (get) Token: 0x060098C9 RID: 39113 RVA: 0x001FAD3C File Offset: 0x001F8F3C
|
||||
[Token(Token = "0x1700184B")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x60098C9")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700184C RID: 6220
|
||||
// (get) Token: 0x060098CA RID: 39114 RVA: 0x001FAD4C File Offset: 0x001F8F4C
|
||||
[Token(Token = "0x1700184C")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x60098CA")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700184D RID: 6221
|
||||
// (get) Token: 0x060098CB RID: 39115 RVA: 0x001FAD5C File Offset: 0x001F8F5C
|
||||
[Token(Token = "0x1700184D")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x60098CB")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "10")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700184E RID: 6222
|
||||
// (get) Token: 0x060098CC RID: 39116 RVA: 0x001FAD6C File Offset: 0x001F8F6C
|
||||
// (set) Token: 0x060098CD RID: 39117 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x1700184E")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x60098CC")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "11")]
|
||||
get
|
||||
{
|
||||
}
|
||||
[Token(Token = "0x60098CD")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "12")]
|
||||
set
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060098CE RID: 39118 RVA: 0x001FAD7C File Offset: 0x001F8F7C
|
||||
[Token(Token = "0x60098CE")]
|
||||
[Address(RVA = "0x1636ED0", Offset = "0x1635CD0", VA = "0x181636ED0", 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: 0x060098CF RID: 39119 RVA: 0x001FAE64 File Offset: 0x001F9064
|
||||
[Token(Token = "0x60098CF")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060098D0 RID: 39120 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60098D0")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x060098D1 RID: 39121 RVA: 0x001FAE74 File Offset: 0x001F9074
|
||||
[Token(Token = "0x60098D1")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060098D2 RID: 39122 RVA: 0x001FAE84 File Offset: 0x001F9084
|
||||
[Token(Token = "0x60098D2")]
|
||||
[Address(RVA = "0x1636E40", Offset = "0x1635C40", VA = "0x181636E40", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.outp.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x060098D3 RID: 39123 RVA: 0x001FAEA4 File Offset: 0x001F90A4
|
||||
[Token(Token = "0x60098D3")]
|
||||
[Address(RVA = "0x1636E70", Offset = "0x1635C70", VA = "0x181636E70", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
this.buf1[0] = b;
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x060098D4 RID: 39124 RVA: 0x001FAECC File Offset: 0x001F90CC
|
||||
[Token(Token = "0x60098D4")]
|
||||
[Address(RVA = "0x1636C90", Offset = "0x1635A90", VA = "0x181636C90")]
|
||||
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: 0x060098D5 RID: 39125 RVA: 0x001FAF68 File Offset: 0x001F9168
|
||||
[Token(Token = "0x60098D5")]
|
||||
[Address(RVA = "0x1636C20", Offset = "0x1635A20", VA = "0x181636C20")]
|
||||
public void End()
|
||||
{
|
||||
ZStream zstream = this.z;
|
||||
if (zstream != 0)
|
||||
{
|
||||
Deflate dstate = zstream.dstate;
|
||||
int num = 0;
|
||||
if (dstate != 0)
|
||||
{
|
||||
int num2 = dstate.deflateEnd();
|
||||
zstream.dstate = num;
|
||||
}
|
||||
zstream.next_in = num;
|
||||
zstream.next_out = num;
|
||||
zstream.msg = num;
|
||||
zstream._adler = num;
|
||||
this.z = num;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060098D6 RID: 39126 RVA: 0x001FAFC4 File Offset: 0x001F91C4
|
||||
[Token(Token = "0x60098D6")]
|
||||
[Address(RVA = "0x1636AF0", Offset = "0x16358F0", VA = "0x181636AF0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
this.Finish();
|
||||
num = 0;
|
||||
int num2 = 0;
|
||||
ZStream zstream = this.z;
|
||||
if (zstream != 0)
|
||||
{
|
||||
Deflate dstate = zstream.dstate;
|
||||
if (dstate != 0)
|
||||
{
|
||||
int num3 = dstate.deflateEnd();
|
||||
zstream.dstate = num2;
|
||||
}
|
||||
zstream.next_in = num2;
|
||||
zstream.next_out = num2;
|
||||
zstream.msg = num2;
|
||||
zstream._adler = num2;
|
||||
this.z = num2;
|
||||
}
|
||||
Platform.Dispose(this.outp);
|
||||
this.outp = num2;
|
||||
}
|
||||
while (num != 0);
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x04006815 RID: 26645
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006815")]
|
||||
protected ZStream z;
|
||||
|
||||
// Token: 0x04006816 RID: 26646
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006816")]
|
||||
protected int flushLevel;
|
||||
|
||||
// Token: 0x04006817 RID: 26647
|
||||
[Token(Token = "0x4006817")]
|
||||
private const int BUFSIZE = 4192;
|
||||
|
||||
// Token: 0x04006818 RID: 26648
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006818")]
|
||||
protected byte[] buf;
|
||||
|
||||
// Token: 0x04006819 RID: 26649
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4006819")]
|
||||
private byte[] buf1;
|
||||
|
||||
// Token: 0x0400681A RID: 26650
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400681A")]
|
||||
protected Stream outp;
|
||||
}
|
||||
}
|
||||
+266
@@ -0,0 +1,266 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001933 RID: 6451
|
||||
[Token(Token = "0x2001933")]
|
||||
[Obsolete]
|
||||
public class ZInflaterInputStream : Stream
|
||||
{
|
||||
// Token: 0x060098D7 RID: 39127 RVA: 0x001FB040 File Offset: 0x001F9240
|
||||
[Token(Token = "0x60098D7")]
|
||||
[Address(RVA = "0x1637500", Offset = "0x1636300", VA = "0x181637500")]
|
||||
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: 0x060098D8 RID: 39128 RVA: 0x001FB0EC File Offset: 0x001F92EC
|
||||
[Token(Token = "0x60098D8")]
|
||||
[Address(RVA = "0x1637640", Offset = "0x1636440", VA = "0x181637640")]
|
||||
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: 0x1700184F RID: 6223
|
||||
// (get) Token: 0x060098D9 RID: 39129 RVA: 0x001FB194 File Offset: 0x001F9394
|
||||
[Token(Token = "0x1700184F")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x60098D9")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001850 RID: 6224
|
||||
// (get) Token: 0x060098DA RID: 39130 RVA: 0x001FB1A4 File Offset: 0x001F93A4
|
||||
[Token(Token = "0x17001850")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x60098DA")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001851 RID: 6225
|
||||
// (get) Token: 0x060098DB RID: 39131 RVA: 0x001FB1B4 File Offset: 0x001F93B4
|
||||
[Token(Token = "0x17001851")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x60098DB")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "9")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001852 RID: 6226
|
||||
// (get) Token: 0x060098DC RID: 39132 RVA: 0x001FB1C4 File Offset: 0x001F93C4
|
||||
[Token(Token = "0x17001852")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x60098DC")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "10")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001853 RID: 6227
|
||||
// (get) Token: 0x060098DD RID: 39133 RVA: 0x001FB1D4 File Offset: 0x001F93D4
|
||||
// (set) Token: 0x060098DE RID: 39134 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17001853")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x60098DD")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "11")]
|
||||
get
|
||||
{
|
||||
}
|
||||
[Token(Token = "0x60098DE")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "12")]
|
||||
set
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060098DF RID: 39135 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60098DF")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", 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: 0x060098E0 RID: 39136 RVA: 0x001FB1E4 File Offset: 0x001F93E4
|
||||
[Token(Token = "0x60098E0")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060098E1 RID: 39137 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60098E1")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x060098E2 RID: 39138 RVA: 0x001FB1F4 File Offset: 0x001F93F4
|
||||
[Token(Token = "0x60098E2")]
|
||||
[Address(RVA = "0x1637300", Offset = "0x1636100", VA = "0x181637300", 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: 0x060098E3 RID: 39139 RVA: 0x001FB2F0 File Offset: 0x001F94F0
|
||||
[Token(Token = "0x60098E3")]
|
||||
[Address(RVA = "0x1636E40", Offset = "0x1635C40", VA = "0x181636E40", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.inp.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x060098E4 RID: 39140 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60098E4")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x060098E5 RID: 39141 RVA: 0x001FB310 File Offset: 0x001F9510
|
||||
[Token(Token = "0x60098E5")]
|
||||
[Address(RVA = "0x1637220", Offset = "0x1636020", VA = "0x181637220", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
Platform.Dispose(this.inp);
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x060098E6 RID: 39142 RVA: 0x001FB330 File Offset: 0x001F9530
|
||||
[Token(Token = "0x60098E6")]
|
||||
[Address(RVA = "0x1637290", Offset = "0x1636090", VA = "0x181637290", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
byte b = this.buf1[0];
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Token: 0x0400681B RID: 26651
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400681B")]
|
||||
protected ZStream z;
|
||||
|
||||
// Token: 0x0400681C RID: 26652
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400681C")]
|
||||
protected int flushLevel;
|
||||
|
||||
// Token: 0x0400681D RID: 26653
|
||||
[Token(Token = "0x400681D")]
|
||||
private const int BUFSIZE = 4192;
|
||||
|
||||
// Token: 0x0400681E RID: 26654
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400681E")]
|
||||
protected byte[] buf;
|
||||
|
||||
// Token: 0x0400681F RID: 26655
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400681F")]
|
||||
private byte[] buf1;
|
||||
|
||||
// Token: 0x04006820 RID: 26656
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4006820")]
|
||||
protected Stream inp;
|
||||
|
||||
// Token: 0x04006821 RID: 26657
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4006821")]
|
||||
private bool nomoreinput;
|
||||
}
|
||||
}
|
||||
+547
@@ -0,0 +1,547 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001934 RID: 6452
|
||||
[Token(Token = "0x2001934")]
|
||||
public class ZInputStream : Stream
|
||||
{
|
||||
// Token: 0x060098E7 RID: 39143 RVA: 0x001FB354 File Offset: 0x001F9554
|
||||
[Token(Token = "0x60098E7")]
|
||||
[Address(RVA = "0x1637810", Offset = "0x1636610", VA = "0x181637810")]
|
||||
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: 0x060098E8 RID: 39144 RVA: 0x001FB380 File Offset: 0x001F9580
|
||||
[Token(Token = "0x60098E8")]
|
||||
[Address(RVA = "0x16381A0", Offset = "0x1636FA0", VA = "0x1816381A0")]
|
||||
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: 0x060098E9 RID: 39145 RVA: 0x001FB458 File Offset: 0x001F9658
|
||||
[Token(Token = "0x60098E9")]
|
||||
[Address(RVA = "0x1638010", Offset = "0x1636E10", VA = "0x181638010")]
|
||||
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: 0x060098EA RID: 39146 RVA: 0x001FB52C File Offset: 0x001F972C
|
||||
[Token(Token = "0x60098EA")]
|
||||
[Address(RVA = "0x1637C00", Offset = "0x1636A00", VA = "0x181637C00")]
|
||||
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: 0x060098EB RID: 39147 RVA: 0x001FB5F8 File Offset: 0x001F97F8
|
||||
[Token(Token = "0x60098EB")]
|
||||
[Address(RVA = "0x1637D60", Offset = "0x1636B60", VA = "0x181637D60")]
|
||||
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: 0x060098EC RID: 39148 RVA: 0x001FB6A0 File Offset: 0x001F98A0
|
||||
[Token(Token = "0x60098EC")]
|
||||
[Address(RVA = "0x1637EB0", Offset = "0x1636CB0", VA = "0x181637EB0")]
|
||||
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: 0x17001854 RID: 6228
|
||||
// (get) Token: 0x060098ED RID: 39149 RVA: 0x001FB744 File Offset: 0x001F9944
|
||||
[Token(Token = "0x17001854")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x60098ED")]
|
||||
[Address(RVA = "0x1638320", Offset = "0x1637120", VA = "0x181638320", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001855 RID: 6229
|
||||
// (get) Token: 0x060098EE RID: 39150 RVA: 0x001FB75C File Offset: 0x001F995C
|
||||
[Token(Token = "0x17001855")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x60098EE")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001856 RID: 6230
|
||||
// (get) Token: 0x060098EF RID: 39151 RVA: 0x001FB76C File Offset: 0x001F996C
|
||||
[Token(Token = "0x17001856")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x60098EF")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "9")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060098F0 RID: 39152 RVA: 0x001FB77C File Offset: 0x001F997C
|
||||
[Token(Token = "0x60098F0")]
|
||||
[Address(RVA = "0x1637790", Offset = "0x1636590", VA = "0x181637790", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
if (!this.closed)
|
||||
{
|
||||
Stream stream = this.input;
|
||||
this.closed = true;
|
||||
Platform.Dispose(stream);
|
||||
base.Close();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060098F1 RID: 39153 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60098F1")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "17")]
|
||||
public sealed override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17001857 RID: 6231
|
||||
// (get) Token: 0x060098F2 RID: 39154 RVA: 0x001FB7AC File Offset: 0x001F99AC
|
||||
// (set) Token: 0x060098F3 RID: 39155 RVA: 0x001FB7C0 File Offset: 0x001F99C0
|
||||
[Token(Token = "0x17001857")]
|
||||
public virtual int FlushMode
|
||||
{
|
||||
[Token(Token = "0x60098F2")]
|
||||
[Address(RVA = "0x4730E0", Offset = "0x471EE0", VA = "0x1804730E0", Slot = "31")]
|
||||
get
|
||||
{
|
||||
return this.flushLevel;
|
||||
}
|
||||
[Token(Token = "0x60098F3")]
|
||||
[Address(RVA = "0x6CBD90", Offset = "0x6CAB90", VA = "0x1806CBD90", Slot = "32")]
|
||||
set
|
||||
{
|
||||
this.flushLevel = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001858 RID: 6232
|
||||
// (get) Token: 0x060098F4 RID: 39156 RVA: 0x001FB7D4 File Offset: 0x001F99D4
|
||||
[Token(Token = "0x17001858")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x60098F4")]
|
||||
[Address(RVA = "0x1638330", Offset = "0x1637130", VA = "0x181638330", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060098F4)
|
||||
|
||||
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: 0x17001859 RID: 6233
|
||||
// (get) Token: 0x060098F5 RID: 39157 RVA: 0x001FB7E8 File Offset: 0x001F99E8
|
||||
// (set) Token: 0x060098F6 RID: 39158 RVA: 0x001FB7FC File Offset: 0x001F99FC
|
||||
[Token(Token = "0x17001859")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x60098F5")]
|
||||
[Address(RVA = "0x1638380", Offset = "0x1637180", VA = "0x181638380", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060098F5)
|
||||
|
||||
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 = "0x60098F6")]
|
||||
[Address(RVA = "0x16383F0", Offset = "0x16371F0", VA = "0x1816383F0", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060098F6)
|
||||
|
||||
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: 0x060098F7 RID: 39159 RVA: 0x001FB810 File Offset: 0x001F9A10
|
||||
[Token(Token = "0x60098F7")]
|
||||
[Address(RVA = "0x16378C0", Offset = "0x16366C0", VA = "0x1816378C0", 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: 0x060098F8 RID: 39160 RVA: 0x001FB93C File Offset: 0x001F9B3C
|
||||
[Token(Token = "0x60098F8")]
|
||||
[Address(RVA = "0x1637290", Offset = "0x1636090", VA = "0x181637290", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
byte b = this.buf1[0];
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Token: 0x060098F9 RID: 39161 RVA: 0x001FB960 File Offset: 0x001F9B60
|
||||
[Token(Token = "0x60098F9")]
|
||||
[Address(RVA = "0x1637B10", Offset = "0x1636910", VA = "0x181637B10", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060098F9)
|
||||
|
||||
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: 0x060098FA RID: 39162 RVA: 0x001FB974 File Offset: 0x001F9B74
|
||||
[Token(Token = "0x60098FA")]
|
||||
[Address(RVA = "0x1637B60", Offset = "0x1636960", VA = "0x181637B60", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060098FA)
|
||||
|
||||
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: 0x1700185A RID: 6234
|
||||
// (get) Token: 0x060098FB RID: 39163 RVA: 0x001FB988 File Offset: 0x001F9B88
|
||||
[Token(Token = "0x1700185A")]
|
||||
public virtual long TotalIn
|
||||
{
|
||||
[Token(Token = "0x60098FB")]
|
||||
[Address(RVA = "0x16383D0", Offset = "0x16371D0", VA = "0x1816383D0", Slot = "33")]
|
||||
get
|
||||
{
|
||||
return this.z.total_in;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700185B RID: 6235
|
||||
// (get) Token: 0x060098FC RID: 39164 RVA: 0x001FB9A8 File Offset: 0x001F9BA8
|
||||
[Token(Token = "0x1700185B")]
|
||||
public virtual long TotalOut
|
||||
{
|
||||
[Token(Token = "0x60098FC")]
|
||||
[Address(RVA = "0x130D260", Offset = "0x130C060", VA = "0x18130D260", Slot = "34")]
|
||||
get
|
||||
{
|
||||
return this.z.total_out;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060098FD RID: 39165 RVA: 0x001FB9C8 File Offset: 0x001F9BC8
|
||||
[Token(Token = "0x60098FD")]
|
||||
[Address(RVA = "0x1637BB0", Offset = "0x16369B0", VA = "0x181637BB0", Slot = "29")]
|
||||
public sealed override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060098FD)
|
||||
|
||||
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: 0x04006822 RID: 26658
|
||||
[Token(Token = "0x4006822")]
|
||||
private const int BufferSize = 512;
|
||||
|
||||
// Token: 0x04006823 RID: 26659
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006823")]
|
||||
protected ZStream z;
|
||||
|
||||
// Token: 0x04006824 RID: 26660
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006824")]
|
||||
protected int flushLevel;
|
||||
|
||||
// Token: 0x04006825 RID: 26661
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006825")]
|
||||
protected byte[] buf;
|
||||
|
||||
// Token: 0x04006826 RID: 26662
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4006826")]
|
||||
protected byte[] buf1;
|
||||
|
||||
// Token: 0x04006827 RID: 26663
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4006827")]
|
||||
protected bool compress;
|
||||
|
||||
// Token: 0x04006828 RID: 26664
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4006828")]
|
||||
protected Stream input;
|
||||
|
||||
// Token: 0x04006829 RID: 26665
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4006829")]
|
||||
protected bool closed;
|
||||
|
||||
// Token: 0x0400682A RID: 26666
|
||||
[FieldOffset(Offset = "0x59")]
|
||||
[Token(Token = "0x400682A")]
|
||||
private bool nomoreinput;
|
||||
}
|
||||
}
|
||||
+631
@@ -0,0 +1,631 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001935 RID: 6453
|
||||
[Token(Token = "0x2001935")]
|
||||
public class ZOutputStream : Stream
|
||||
{
|
||||
// Token: 0x060098FE RID: 39166 RVA: 0x001FB9DC File Offset: 0x001F9BDC
|
||||
[Token(Token = "0x60098FE")]
|
||||
[Address(RVA = "0x1638840", Offset = "0x1637640", VA = "0x181638840")]
|
||||
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: 0x060098FF RID: 39167 RVA: 0x001FBA08 File Offset: 0x001F9C08
|
||||
[Token(Token = "0x60098FF")]
|
||||
[Address(RVA = "0x1638D20", Offset = "0x1637B20", VA = "0x181638D20")]
|
||||
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: 0x06009900 RID: 39168 RVA: 0x001FBAA8 File Offset: 0x001F9CA8
|
||||
[Token(Token = "0x6009900")]
|
||||
[Address(RVA = "0x1638E70", Offset = "0x1637C70", VA = "0x181638E70")]
|
||||
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: 0x06009901 RID: 39169 RVA: 0x001FBB44 File Offset: 0x001F9D44
|
||||
[Token(Token = "0x6009901")]
|
||||
[Address(RVA = "0x1638BF0", Offset = "0x16379F0", VA = "0x181638BF0")]
|
||||
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: 0x06009902 RID: 39170 RVA: 0x001FBBD8 File Offset: 0x001F9DD8
|
||||
[Token(Token = "0x6009902")]
|
||||
[Address(RVA = "0x1638FD0", Offset = "0x1637DD0", VA = "0x181638FD0")]
|
||||
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: 0x06009903 RID: 39171 RVA: 0x001FBC44 File Offset: 0x001F9E44
|
||||
[Token(Token = "0x6009903")]
|
||||
[Address(RVA = "0x16390F0", Offset = "0x1637EF0", VA = "0x1816390F0")]
|
||||
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: 0x1700185C RID: 6236
|
||||
// (get) Token: 0x06009904 RID: 39172 RVA: 0x001FBCAC File Offset: 0x001F9EAC
|
||||
[Token(Token = "0x1700185C")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6009904")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "7")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700185D RID: 6237
|
||||
// (get) Token: 0x06009905 RID: 39173 RVA: 0x001FBCBC File Offset: 0x001F9EBC
|
||||
[Token(Token = "0x1700185D")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6009905")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700185E RID: 6238
|
||||
// (get) Token: 0x06009906 RID: 39174 RVA: 0x001FBCCC File Offset: 0x001F9ECC
|
||||
[Token(Token = "0x1700185E")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6009906")]
|
||||
[Address(RVA = "0x1638320", Offset = "0x1637120", VA = "0x181638320", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009907 RID: 39175 RVA: 0x001FBCE4 File Offset: 0x001F9EE4
|
||||
[Token(Token = "0x6009907")]
|
||||
[Address(RVA = "0x1638440", Offset = "0x1637240", VA = "0x181638440", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
if (!this.closed)
|
||||
{
|
||||
this.DoClose();
|
||||
base.Close();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009908 RID: 39176 RVA: 0x001FBD08 File Offset: 0x001F9F08
|
||||
[Token(Token = "0x6009908")]
|
||||
[Address(RVA = "0x1638470", Offset = "0x1637270", VA = "0x181638470")]
|
||||
private void DoClose()
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
this.End();
|
||||
this.closed = true;
|
||||
Platform.Dispose(this.output);
|
||||
this.output = (ulong)0L;
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06009909 RID: 39177 RVA: 0x001FBD3C File Offset: 0x001F9F3C
|
||||
[Token(Token = "0x6009909")]
|
||||
[Address(RVA = "0x1638580", Offset = "0x1637380", VA = "0x181638580", 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_61;
|
||||
}
|
||||
InfBlocks blocks = istate.blocks;
|
||||
if (blocks != 0)
|
||||
{
|
||||
blocks.free(zstream);
|
||||
}
|
||||
istate.blocks = num;
|
||||
zstream.istate = num;
|
||||
}
|
||||
Deflate dstate = zstream.dstate;
|
||||
if (dstate != 0)
|
||||
{
|
||||
int num2 = dstate.deflateEnd();
|
||||
zstream.dstate = num;
|
||||
}
|
||||
IL_61:
|
||||
ZStream zstream2 = this.z;
|
||||
zstream2.next_in = num;
|
||||
zstream2.next_out = num;
|
||||
zstream2.msg = num;
|
||||
zstream2._adler = num;
|
||||
this.z = num;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600990A RID: 39178 RVA: 0x001FBDE0 File Offset: 0x001F9FE0
|
||||
[Token(Token = "0x600990A")]
|
||||
[Address(RVA = "0x1638620", Offset = "0x1637420", VA = "0x181638620", 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: 0x0600990B RID: 39179 RVA: 0x001FBEE0 File Offset: 0x001FA0E0
|
||||
[Token(Token = "0x600990B")]
|
||||
[Address(RVA = "0x1638810", Offset = "0x1637610", VA = "0x181638810", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.output.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x1700185F RID: 6239
|
||||
// (get) Token: 0x0600990C RID: 39180 RVA: 0x001FBF00 File Offset: 0x001FA100
|
||||
// (set) Token: 0x0600990D RID: 39181 RVA: 0x001FBF14 File Offset: 0x001FA114
|
||||
[Token(Token = "0x1700185F")]
|
||||
public virtual int FlushMode
|
||||
{
|
||||
[Token(Token = "0x600990C")]
|
||||
[Address(RVA = "0x4730E0", Offset = "0x471EE0", VA = "0x1804730E0", Slot = "33")]
|
||||
get
|
||||
{
|
||||
return this.flushLevel;
|
||||
}
|
||||
[Token(Token = "0x600990D")]
|
||||
[Address(RVA = "0x6CBD90", Offset = "0x6CAB90", VA = "0x1806CBD90", Slot = "34")]
|
||||
set
|
||||
{
|
||||
this.flushLevel = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001860 RID: 6240
|
||||
// (get) Token: 0x0600990E RID: 39182 RVA: 0x001FBF28 File Offset: 0x001FA128
|
||||
[Token(Token = "0x17001860")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x600990E")]
|
||||
[Address(RVA = "0x1639220", Offset = "0x1638020", VA = "0x181639220", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600990E)
|
||||
|
||||
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: 0x17001861 RID: 6241
|
||||
// (get) Token: 0x0600990F RID: 39183 RVA: 0x001FBF3C File Offset: 0x001FA13C
|
||||
// (set) Token: 0x06009910 RID: 39184 RVA: 0x001FBF50 File Offset: 0x001FA150
|
||||
[Token(Token = "0x17001861")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x600990F")]
|
||||
[Address(RVA = "0x1639270", Offset = "0x1638070", VA = "0x181639270", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600990F)
|
||||
|
||||
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 = "0x6009910")]
|
||||
[Address(RVA = "0x16392C0", Offset = "0x16380C0", VA = "0x1816392C0", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009910)
|
||||
|
||||
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: 0x06009911 RID: 39185 RVA: 0x001FBF64 File Offset: 0x001FA164
|
||||
[Token(Token = "0x6009911")]
|
||||
[Address(RVA = "0x16388F0", Offset = "0x16376F0", VA = "0x1816388F0", Slot = "27")]
|
||||
public sealed override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009911)
|
||||
|
||||
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: 0x06009912 RID: 39186 RVA: 0x001FBF78 File Offset: 0x001FA178
|
||||
[Token(Token = "0x6009912")]
|
||||
[Address(RVA = "0x1638940", Offset = "0x1637740", VA = "0x181638940", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009912)
|
||||
|
||||
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: 0x06009913 RID: 39187 RVA: 0x001FBF8C File Offset: 0x001FA18C
|
||||
[Token(Token = "0x6009913")]
|
||||
[Address(RVA = "0x1638990", Offset = "0x1637790", VA = "0x181638990", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009913)
|
||||
|
||||
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: 0x17001862 RID: 6242
|
||||
// (get) Token: 0x06009914 RID: 39188 RVA: 0x001FBFA0 File Offset: 0x001FA1A0
|
||||
[Token(Token = "0x17001862")]
|
||||
public virtual long TotalIn
|
||||
{
|
||||
[Token(Token = "0x6009914")]
|
||||
[Address(RVA = "0x16383D0", Offset = "0x16371D0", VA = "0x1816383D0", Slot = "35")]
|
||||
get
|
||||
{
|
||||
return this.z.total_in;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001863 RID: 6243
|
||||
// (get) Token: 0x06009915 RID: 39189 RVA: 0x001FBFC0 File Offset: 0x001FA1C0
|
||||
[Token(Token = "0x17001863")]
|
||||
public virtual long TotalOut
|
||||
{
|
||||
[Token(Token = "0x6009915")]
|
||||
[Address(RVA = "0x130D260", Offset = "0x130C060", VA = "0x18130D260", Slot = "36")]
|
||||
get
|
||||
{
|
||||
return this.z.total_out;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009916 RID: 39190 RVA: 0x001FBFE0 File Offset: 0x001FA1E0
|
||||
[Token(Token = "0x6009916")]
|
||||
[Address(RVA = "0x16389E0", Offset = "0x16377E0", VA = "0x1816389E0", 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: 0x06009917 RID: 39191 RVA: 0x001FC114 File Offset: 0x001FA314
|
||||
[Token(Token = "0x6009917")]
|
||||
[Address(RVA = "0x1636E70", Offset = "0x1635C70", VA = "0x181636E70", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
this.buf1[0] = b;
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x0400682B RID: 26667
|
||||
[Token(Token = "0x400682B")]
|
||||
private const int BufferSize = 512;
|
||||
|
||||
// Token: 0x0400682C RID: 26668
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400682C")]
|
||||
protected ZStream z;
|
||||
|
||||
// Token: 0x0400682D RID: 26669
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400682D")]
|
||||
protected int flushLevel;
|
||||
|
||||
// Token: 0x0400682E RID: 26670
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400682E")]
|
||||
protected byte[] buf;
|
||||
|
||||
// Token: 0x0400682F RID: 26671
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400682F")]
|
||||
protected byte[] buf1;
|
||||
|
||||
// Token: 0x04006830 RID: 26672
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4006830")]
|
||||
protected bool compress;
|
||||
|
||||
// Token: 0x04006831 RID: 26673
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4006831")]
|
||||
protected Stream output;
|
||||
|
||||
// Token: 0x04006832 RID: 26674
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4006832")]
|
||||
protected bool closed;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,452 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001936 RID: 6454
|
||||
[Token(Token = "0x2001936")]
|
||||
public sealed class ZStream
|
||||
{
|
||||
// Token: 0x06009918 RID: 39192 RVA: 0x001FC13C File Offset: 0x001FA33C
|
||||
[Token(Token = "0x6009918")]
|
||||
[Address(RVA = "0x1639940", Offset = "0x1638740", VA = "0x181639940")]
|
||||
public int inflateInit()
|
||||
{
|
||||
int num = 0;
|
||||
return this.inflateInit(15, num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06009919 RID: 39193 RVA: 0x001FC154 File Offset: 0x001FA354
|
||||
[Token(Token = "0x6009919")]
|
||||
[Address(RVA = "0x1639920", Offset = "0x1638720", VA = "0x181639920")]
|
||||
public int inflateInit(bool nowrap)
|
||||
{
|
||||
return this.inflateInit(15, nowrap);
|
||||
}
|
||||
|
||||
// Token: 0x0600991A RID: 39194 RVA: 0x001FC16C File Offset: 0x001FA36C
|
||||
[Token(Token = "0x600991A")]
|
||||
[Address(RVA = "0x1639930", Offset = "0x1638730", VA = "0x181639930")]
|
||||
public int inflateInit(int w)
|
||||
{
|
||||
int num = 0;
|
||||
return this.inflateInit(w, num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x0600991B RID: 39195 RVA: 0x001FC184 File Offset: 0x001FA384
|
||||
[Token(Token = "0x600991B")]
|
||||
[Address(RVA = "0x16397C0", Offset = "0x16385C0", VA = "0x1816397C0")]
|
||||
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 = 1;
|
||||
if (array <= (ulong)7L)
|
||||
{
|
||||
inflate.wbits = w;
|
||||
Inflate inflate2 = this.istate;
|
||||
InfBlocks infBlocks = new InfBlocks(this, num, 1);
|
||||
inflate2.blocks = infBlocks;
|
||||
int num2 = inflate.inflateReset(this);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x0600991C RID: 39196 RVA: 0x001FC204 File Offset: 0x001FA404
|
||||
[Token(Token = "0x600991C")]
|
||||
[Address(RVA = "0x1639AB0", Offset = "0x16388B0", VA = "0x181639AB0")]
|
||||
public int inflate(int f)
|
||||
{
|
||||
Inflate inflate = this.istate;
|
||||
if (inflate != 0)
|
||||
{
|
||||
return inflate.inflate(this, f);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x0600991D RID: 39197 RVA: 0x001FC228 File Offset: 0x001FA428
|
||||
[Token(Token = "0x600991D")]
|
||||
[Address(RVA = "0x1639770", Offset = "0x1638570", VA = "0x181639770")]
|
||||
public int inflateEnd()
|
||||
{
|
||||
Inflate inflate = this.istate;
|
||||
if (inflate != 0)
|
||||
{
|
||||
InfBlocks blocks = inflate.blocks;
|
||||
if (blocks != 0)
|
||||
{
|
||||
blocks.free(this);
|
||||
}
|
||||
int num = 0;
|
||||
inflate.blocks = num;
|
||||
this.istate = num;
|
||||
return num;
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x0600991E RID: 39198 RVA: 0x001FC268 File Offset: 0x001FA468
|
||||
[Token(Token = "0x600991E")]
|
||||
[Address(RVA = "0x1639A90", Offset = "0x1638890", VA = "0x181639A90")]
|
||||
public int inflateSync()
|
||||
{
|
||||
Inflate inflate = this.istate;
|
||||
if (inflate != 0)
|
||||
{
|
||||
return inflate.inflateSync(this);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x0600991F RID: 39199 RVA: 0x001FC28C File Offset: 0x001FA48C
|
||||
[Token(Token = "0x600991F")]
|
||||
[Address(RVA = "0x1639950", Offset = "0x1638750", VA = "0x181639950")]
|
||||
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)
|
||||
{
|
||||
Adler32 adler2 = this._adler;
|
||||
Inflate inflate2 = this.istate;
|
||||
long num3;
|
||||
this.adler = num3;
|
||||
uint num4 = num2 - 1U;
|
||||
inflate2.blocks.set_dictionary(dictionary, dictLength, (int)num4);
|
||||
this.istate.mode = (int)((ulong)7L);
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009920 RID: 39200 RVA: 0x001FC30C File Offset: 0x001FA50C
|
||||
[Token(Token = "0x6009920")]
|
||||
[Address(RVA = "0x16394F0", Offset = "0x16382F0", VA = "0x1816394F0")]
|
||||
public int deflateInit(int level)
|
||||
{
|
||||
Deflate deflate = new Deflate();
|
||||
this.dstate = deflate;
|
||||
return deflate.deflateInit(this, level, 15);
|
||||
}
|
||||
|
||||
// Token: 0x06009921 RID: 39201 RVA: 0x001FC338 File Offset: 0x001FA538
|
||||
[Token(Token = "0x6009921")]
|
||||
[Address(RVA = "0x1639580", Offset = "0x1638380", VA = "0x181639580")]
|
||||
public int deflateInit(int level, bool nowrap)
|
||||
{
|
||||
return this.deflateInit(level, 15, nowrap);
|
||||
}
|
||||
|
||||
// Token: 0x06009922 RID: 39202 RVA: 0x001FC350 File Offset: 0x001FA550
|
||||
[Token(Token = "0x6009922")]
|
||||
[Address(RVA = "0x1639460", Offset = "0x1638260", VA = "0x181639460")]
|
||||
public int deflateInit(int level, int bits)
|
||||
{
|
||||
Deflate deflate = new Deflate();
|
||||
this.dstate = deflate;
|
||||
return deflate.deflateInit(this, bits, bits);
|
||||
}
|
||||
|
||||
// Token: 0x06009923 RID: 39203 RVA: 0x001FC37C File Offset: 0x001FA57C
|
||||
[Token(Token = "0x6009923")]
|
||||
[Address(RVA = "0x16393B0", Offset = "0x16381B0", VA = "0x1816393B0")]
|
||||
public int deflateInit(int level, int bits, bool nowrap)
|
||||
{
|
||||
Deflate deflate = new Deflate();
|
||||
this.dstate = deflate;
|
||||
return deflate.deflateInit(this, bits, bits);
|
||||
}
|
||||
|
||||
// Token: 0x06009924 RID: 39204 RVA: 0x001FC3A8 File Offset: 0x001FA5A8
|
||||
[Token(Token = "0x6009924")]
|
||||
[Address(RVA = "0x1639630", Offset = "0x1638430", VA = "0x181639630")]
|
||||
public int deflate(int flush)
|
||||
{
|
||||
Deflate deflate = this.dstate;
|
||||
if (deflate != 0)
|
||||
{
|
||||
return deflate.deflate(this, flush);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06009925 RID: 39205 RVA: 0x001FC3CC File Offset: 0x001FA5CC
|
||||
[Token(Token = "0x6009925")]
|
||||
[Address(RVA = "0x1639370", Offset = "0x1638170", VA = "0x181639370")]
|
||||
public int deflateEnd()
|
||||
{
|
||||
Deflate deflate = this.dstate;
|
||||
if (deflate != 0)
|
||||
{
|
||||
int num = deflate.deflateEnd();
|
||||
this.dstate = (ulong)0L;
|
||||
return num;
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06009926 RID: 39206 RVA: 0x001FC3F8 File Offset: 0x001FA5F8
|
||||
[Token(Token = "0x6009926")]
|
||||
[Address(RVA = "0x16395B0", Offset = "0x16383B0", VA = "0x1816395B0")]
|
||||
public int deflateParams(int level, int strategy)
|
||||
{
|
||||
Deflate deflate = this.dstate;
|
||||
if (deflate != 0)
|
||||
{
|
||||
return deflate.deflateParams(this, strategy, strategy);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06009927 RID: 39207 RVA: 0x001FC41C File Offset: 0x001FA61C
|
||||
[Token(Token = "0x6009927")]
|
||||
[Address(RVA = "0x16395F0", Offset = "0x16383F0", VA = "0x1816395F0")]
|
||||
public int deflateSetDictionary(byte[] dictionary, int dictLength)
|
||||
{
|
||||
Deflate deflate = this.dstate;
|
||||
if (deflate != 0)
|
||||
{
|
||||
return deflate.deflateSetDictionary(this, dictionary, dictLength);
|
||||
}
|
||||
return -2;
|
||||
}
|
||||
|
||||
// Token: 0x06009928 RID: 39208 RVA: 0x001FC440 File Offset: 0x001FA640
|
||||
[Token(Token = "0x6009928")]
|
||||
[Address(RVA = "0x1639650", Offset = "0x1638450", VA = "0x181639650")]
|
||||
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: 0x06009929 RID: 39209 RVA: 0x001FC4FC File Offset: 0x001FA6FC
|
||||
[Token(Token = "0x6009929")]
|
||||
[Address(RVA = "0x1639AD0", Offset = "0x16388D0", VA = "0x181639AD0")]
|
||||
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: 0x0600992A RID: 39210 RVA: 0x001FC588 File Offset: 0x001FA788
|
||||
[Token(Token = "0x600992A")]
|
||||
[Address(RVA = "0x1639750", Offset = "0x1638550", VA = "0x181639750")]
|
||||
public void free()
|
||||
{
|
||||
int num = 0;
|
||||
this.next_in = num;
|
||||
this.next_out = num;
|
||||
this.msg = num;
|
||||
this._adler = num;
|
||||
}
|
||||
|
||||
// Token: 0x0600992B RID: 39211 RVA: 0x001FC5B4 File Offset: 0x001FA7B4
|
||||
[Token(Token = "0x600992B")]
|
||||
[Address(RVA = "0x1639310", Offset = "0x1638110", VA = "0x181639310")]
|
||||
public ZStream()
|
||||
{
|
||||
Adler32 adler = new Adler32();
|
||||
this._adler = adler;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x04006833 RID: 26675
|
||||
[Token(Token = "0x4006833")]
|
||||
private const int MAX_WBITS = 15;
|
||||
|
||||
// Token: 0x04006834 RID: 26676
|
||||
[Token(Token = "0x4006834")]
|
||||
private const int DEF_WBITS = 15;
|
||||
|
||||
// Token: 0x04006835 RID: 26677
|
||||
[Token(Token = "0x4006835")]
|
||||
private const int Z_NO_FLUSH = 0;
|
||||
|
||||
// Token: 0x04006836 RID: 26678
|
||||
[Token(Token = "0x4006836")]
|
||||
private const int Z_PARTIAL_FLUSH = 1;
|
||||
|
||||
// Token: 0x04006837 RID: 26679
|
||||
[Token(Token = "0x4006837")]
|
||||
private const int Z_SYNC_FLUSH = 2;
|
||||
|
||||
// Token: 0x04006838 RID: 26680
|
||||
[Token(Token = "0x4006838")]
|
||||
private const int Z_FULL_FLUSH = 3;
|
||||
|
||||
// Token: 0x04006839 RID: 26681
|
||||
[Token(Token = "0x4006839")]
|
||||
private const int Z_FINISH = 4;
|
||||
|
||||
// Token: 0x0400683A RID: 26682
|
||||
[Token(Token = "0x400683A")]
|
||||
private const int MAX_MEM_LEVEL = 9;
|
||||
|
||||
// Token: 0x0400683B RID: 26683
|
||||
[Token(Token = "0x400683B")]
|
||||
private const int Z_OK = 0;
|
||||
|
||||
// Token: 0x0400683C RID: 26684
|
||||
[Token(Token = "0x400683C")]
|
||||
private const int Z_STREAM_END = 1;
|
||||
|
||||
// Token: 0x0400683D RID: 26685
|
||||
[Token(Token = "0x400683D")]
|
||||
private const int Z_NEED_DICT = 2;
|
||||
|
||||
// Token: 0x0400683E RID: 26686
|
||||
[Token(Token = "0x400683E")]
|
||||
private const int Z_ERRNO = -1;
|
||||
|
||||
// Token: 0x0400683F RID: 26687
|
||||
[Token(Token = "0x400683F")]
|
||||
private const int Z_STREAM_ERROR = -2;
|
||||
|
||||
// Token: 0x04006840 RID: 26688
|
||||
[Token(Token = "0x4006840")]
|
||||
private const int Z_DATA_ERROR = -3;
|
||||
|
||||
// Token: 0x04006841 RID: 26689
|
||||
[Token(Token = "0x4006841")]
|
||||
private const int Z_MEM_ERROR = -4;
|
||||
|
||||
// Token: 0x04006842 RID: 26690
|
||||
[Token(Token = "0x4006842")]
|
||||
private const int Z_BUF_ERROR = -5;
|
||||
|
||||
// Token: 0x04006843 RID: 26691
|
||||
[Token(Token = "0x4006843")]
|
||||
private const int Z_VERSION_ERROR = -6;
|
||||
|
||||
// Token: 0x04006844 RID: 26692
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006844")]
|
||||
public byte[] next_in;
|
||||
|
||||
// Token: 0x04006845 RID: 26693
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006845")]
|
||||
public int next_in_index;
|
||||
|
||||
// Token: 0x04006846 RID: 26694
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x4006846")]
|
||||
public int avail_in;
|
||||
|
||||
// Token: 0x04006847 RID: 26695
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006847")]
|
||||
public long total_in;
|
||||
|
||||
// Token: 0x04006848 RID: 26696
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006848")]
|
||||
public byte[] next_out;
|
||||
|
||||
// Token: 0x04006849 RID: 26697
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006849")]
|
||||
public int next_out_index;
|
||||
|
||||
// Token: 0x0400684A RID: 26698
|
||||
[FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x400684A")]
|
||||
public int avail_out;
|
||||
|
||||
// Token: 0x0400684B RID: 26699
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400684B")]
|
||||
public long total_out;
|
||||
|
||||
// Token: 0x0400684C RID: 26700
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400684C")]
|
||||
public string msg;
|
||||
|
||||
// Token: 0x0400684D RID: 26701
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400684D")]
|
||||
internal Deflate dstate;
|
||||
|
||||
// Token: 0x0400684E RID: 26702
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400684E")]
|
||||
internal Inflate istate;
|
||||
|
||||
// Token: 0x0400684F RID: 26703
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400684F")]
|
||||
internal int data_type;
|
||||
|
||||
// Token: 0x04006850 RID: 26704
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4006850")]
|
||||
public long adler;
|
||||
|
||||
// Token: 0x04006851 RID: 26705
|
||||
[FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4006851")]
|
||||
internal Adler32 _adler;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,397 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
||||
{
|
||||
// Token: 0x02001937 RID: 6455
|
||||
[Token(Token = "0x2001937")]
|
||||
internal sealed class ZTree
|
||||
{
|
||||
// Token: 0x0600992C RID: 39212 RVA: 0x001FC5D4 File Offset: 0x001FA7D4
|
||||
[Token(Token = "0x600992C")]
|
||||
[Address(RVA = "0x163A470", Offset = "0x1639270", VA = "0x18163A470")]
|
||||
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: 0x0600992D RID: 39213 RVA: 0x001FC5FC File Offset: 0x001FA7FC
|
||||
[Token(Token = "0x600992D")]
|
||||
[Address(RVA = "0x163A560", Offset = "0x1639360", VA = "0x18163A560")]
|
||||
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: 0x0600992E RID: 39214 RVA: 0x001FC7B4 File Offset: 0x001FA9B4
|
||||
[Token(Token = "0x600992E")]
|
||||
[Address(RVA = "0x1639DB0", Offset = "0x1638BB0", VA = "0x181639DB0")]
|
||||
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: 0x0600992F RID: 39215 RVA: 0x001FCA54 File Offset: 0x001FAC54
|
||||
[Token(Token = "0x600992F")]
|
||||
[Address(RVA = "0x163AA10", Offset = "0x1639810", VA = "0x18163AA10")]
|
||||
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: 0x06009930 RID: 39216 RVA: 0x001FCABC File Offset: 0x001FACBC
|
||||
[Token(Token = "0x6009930")]
|
||||
[Address(RVA = "0x1639D80", Offset = "0x1638B80", VA = "0x181639D80")]
|
||||
internal static int bi_reverse(int code, int len)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = len - 1;
|
||||
return num + num;
|
||||
}
|
||||
|
||||
// Token: 0x06009931 RID: 39217 RVA: 0x001FCAD4 File Offset: 0x001FACD4
|
||||
[Token(Token = "0x6009931")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public ZTree()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009932 RID: 39218 RVA: 0x001FCAE8 File Offset: 0x001FACE8
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6009932")]
|
||||
[Address(RVA = "0x1639B90", Offset = "0x1638990", VA = "0x181639B90")]
|
||||
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: 0x04006852 RID: 26706
|
||||
[Token(Token = "0x4006852")]
|
||||
private const int MAX_BITS = 15;
|
||||
|
||||
// Token: 0x04006853 RID: 26707
|
||||
[Token(Token = "0x4006853")]
|
||||
private const int BL_CODES = 19;
|
||||
|
||||
// Token: 0x04006854 RID: 26708
|
||||
[Token(Token = "0x4006854")]
|
||||
private const int D_CODES = 30;
|
||||
|
||||
// Token: 0x04006855 RID: 26709
|
||||
[Token(Token = "0x4006855")]
|
||||
private const int LITERALS = 256;
|
||||
|
||||
// Token: 0x04006856 RID: 26710
|
||||
[Token(Token = "0x4006856")]
|
||||
private const int LENGTH_CODES = 29;
|
||||
|
||||
// Token: 0x04006857 RID: 26711
|
||||
[Token(Token = "0x4006857")]
|
||||
private const int L_CODES = 286;
|
||||
|
||||
// Token: 0x04006858 RID: 26712
|
||||
[Token(Token = "0x4006858")]
|
||||
private const int HEAP_SIZE = 573;
|
||||
|
||||
// Token: 0x04006859 RID: 26713
|
||||
[Token(Token = "0x4006859")]
|
||||
internal const int MAX_BL_BITS = 7;
|
||||
|
||||
// Token: 0x0400685A RID: 26714
|
||||
[Token(Token = "0x400685A")]
|
||||
internal const int END_BLOCK = 256;
|
||||
|
||||
// Token: 0x0400685B RID: 26715
|
||||
[Token(Token = "0x400685B")]
|
||||
internal const int REP_3_6 = 16;
|
||||
|
||||
// Token: 0x0400685C RID: 26716
|
||||
[Token(Token = "0x400685C")]
|
||||
internal const int REPZ_3_10 = 17;
|
||||
|
||||
// Token: 0x0400685D RID: 26717
|
||||
[Token(Token = "0x400685D")]
|
||||
internal const int REPZ_11_138 = 18;
|
||||
|
||||
// Token: 0x0400685E RID: 26718
|
||||
[Token(Token = "0x400685E")]
|
||||
internal static readonly int[] extra_lbits;
|
||||
|
||||
// Token: 0x0400685F RID: 26719
|
||||
[Token(Token = "0x400685F")]
|
||||
internal static readonly int[] extra_dbits;
|
||||
|
||||
// Token: 0x04006860 RID: 26720
|
||||
[Token(Token = "0x4006860")]
|
||||
internal static readonly int[] extra_blbits;
|
||||
|
||||
// Token: 0x04006861 RID: 26721
|
||||
[Token(Token = "0x4006861")]
|
||||
internal static readonly byte[] bl_order;
|
||||
|
||||
// Token: 0x04006862 RID: 26722
|
||||
[Token(Token = "0x4006862")]
|
||||
internal const int Buf_size = 16;
|
||||
|
||||
// Token: 0x04006863 RID: 26723
|
||||
[Token(Token = "0x4006863")]
|
||||
internal const int DIST_CODE_LEN = 512;
|
||||
|
||||
// Token: 0x04006864 RID: 26724
|
||||
[Token(Token = "0x4006864")]
|
||||
internal static readonly byte[] _dist_code;
|
||||
|
||||
// Token: 0x04006865 RID: 26725
|
||||
[Token(Token = "0x4006865")]
|
||||
internal static readonly byte[] _length_code;
|
||||
|
||||
// Token: 0x04006866 RID: 26726
|
||||
[Token(Token = "0x4006866")]
|
||||
internal static readonly int[] base_length;
|
||||
|
||||
// Token: 0x04006867 RID: 26727
|
||||
[Token(Token = "0x4006867")]
|
||||
internal static readonly int[] base_dist;
|
||||
|
||||
// Token: 0x04006868 RID: 26728
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006868")]
|
||||
internal short[] dyn_tree;
|
||||
|
||||
// Token: 0x04006869 RID: 26729
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006869")]
|
||||
internal int max_code;
|
||||
|
||||
// Token: 0x0400686A RID: 26730
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400686A")]
|
||||
internal StaticTree stat_desc;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user