m
This commit is contained in:
@@ -0,0 +1,116 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.Decompression.Zlib
|
||||
{
|
||||
// Token: 0x02002096 RID: 8342
|
||||
[Token(Token = "0x2002096")]
|
||||
internal sealed class StaticTree
|
||||
{
|
||||
// Token: 0x0600D188 RID: 53640 RVA: 0x002FD1D8 File Offset: 0x002FB3D8
|
||||
[Token(Token = "0x600D188")]
|
||||
[Address(RVA = "0x412D50", Offset = "0x411D50", VA = "0x180412D50")]
|
||||
private StaticTree(short[] treeCodes, int[] extraBits, int extraBase, int elems, int maxLength)
|
||||
{
|
||||
this.elems = 0;
|
||||
this.treeCodes = treeCodes;
|
||||
this.extraBase = extraBase;
|
||||
this.maxLength = 0;
|
||||
this.extraBits = extraBits;
|
||||
}
|
||||
|
||||
// Token: 0x0600D189 RID: 53641 RVA: 0x002FD210 File Offset: 0x002FB410
|
||||
[Token(Token = "0x600D189")]
|
||||
[Address(RVA = "0x241C140", Offset = "0x241B140", VA = "0x18241C140")]
|
||||
static StaticTree()
|
||||
{
|
||||
short[] array = new short[576];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.EB6F545AEF284339D25594F900E7A395212460EB).FieldHandle);
|
||||
StaticTree.lengthAndLiteralsTreeCodes = array;
|
||||
short[] array2 = new short[60];
|
||||
RuntimeHelpers.InitializeArray(array2, fieldof(<PrivateImplementationDetails>.850D4DC092689E1F0D8A70B6281848B27DEC0014).FieldHandle);
|
||||
StaticTree.distTreeCodes = array2;
|
||||
short[] array3 = StaticTree.lengthAndLiteralsTreeCodes;
|
||||
int[] extraLengthBits = ZTree.ExtraLengthBits;
|
||||
int literals = InternalConstants.LITERALS;
|
||||
int l_CODES = InternalConstants.L_CODES;
|
||||
int max_BITS = InternalConstants.MAX_BITS;
|
||||
StaticTree staticTree;
|
||||
staticTree.treeCodes = array3;
|
||||
int num = literals + 1;
|
||||
staticTree.extraBase = num;
|
||||
staticTree.extraBits = extraLengthBits;
|
||||
staticTree.elems = l_CODES;
|
||||
staticTree.maxLength = max_BITS;
|
||||
StaticTree.Literals = staticTree;
|
||||
short[] array4 = StaticTree.distTreeCodes;
|
||||
int[] extraDistanceBits = ZTree.ExtraDistanceBits;
|
||||
int d_CODES = InternalConstants.D_CODES;
|
||||
int max_BITS2 = InternalConstants.MAX_BITS;
|
||||
StaticTree staticTree2;
|
||||
staticTree2.treeCodes = array4;
|
||||
int num2 = 0;
|
||||
staticTree2.extraBase = num2;
|
||||
staticTree2.extraBits = extraDistanceBits;
|
||||
staticTree2.elems = d_CODES;
|
||||
staticTree2.maxLength = max_BITS2;
|
||||
StaticTree.Distances = staticTree2;
|
||||
int[] extra_blbits = ZTree.extra_blbits;
|
||||
int bl_CODES = InternalConstants.BL_CODES;
|
||||
int max_BL_BITS = InternalConstants.MAX_BL_BITS;
|
||||
StaticTree staticTree3;
|
||||
staticTree3.extraBits = extra_blbits;
|
||||
staticTree3.elems = bl_CODES;
|
||||
staticTree3.treeCodes = num2;
|
||||
staticTree3.extraBase = num2;
|
||||
staticTree3.maxLength = max_BL_BITS;
|
||||
StaticTree.BitLengths = staticTree3;
|
||||
}
|
||||
|
||||
// Token: 0x0400854D RID: 34125
|
||||
[Token(Token = "0x400854D")]
|
||||
internal static readonly short[] lengthAndLiteralsTreeCodes;
|
||||
|
||||
// Token: 0x0400854E RID: 34126
|
||||
[Token(Token = "0x400854E")]
|
||||
internal static readonly short[] distTreeCodes;
|
||||
|
||||
// Token: 0x0400854F RID: 34127
|
||||
[Token(Token = "0x400854F")]
|
||||
internal static readonly StaticTree Literals;
|
||||
|
||||
// Token: 0x04008550 RID: 34128
|
||||
[Token(Token = "0x4008550")]
|
||||
internal static readonly StaticTree Distances;
|
||||
|
||||
// Token: 0x04008551 RID: 34129
|
||||
[Token(Token = "0x4008551")]
|
||||
internal static readonly StaticTree BitLengths;
|
||||
|
||||
// Token: 0x04008552 RID: 34130
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008552")]
|
||||
internal short[] treeCodes;
|
||||
|
||||
// Token: 0x04008553 RID: 34131
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008553")]
|
||||
internal int[] extraBits;
|
||||
|
||||
// Token: 0x04008554 RID: 34132
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008554")]
|
||||
internal int extraBase;
|
||||
|
||||
// Token: 0x04008555 RID: 34133
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x4008555")]
|
||||
internal int elems;
|
||||
|
||||
// Token: 0x04008556 RID: 34134
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4008556")]
|
||||
internal int maxLength;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user