terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
InfTree.cs
Go to the documentation of this file.
1using System;
5
6namespace Ionic.Zlib
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200004B")]
9 internal sealed class InfTree
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6000393")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1A731B0", Offset = "0x1A731B0", Length = "0x580")]
13 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InfTree), Member = "inflate_trees_bits", MemberParameters = new object[]
15 {
16 typeof(int[]),
17 typeof(int[]),
18 typeof(int[]),
19 typeof(int[]),
21 }, ReturnType = typeof(int))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InfTree), Member = "inflate_trees_dynamic", MemberParameters = new object[]
23 {
24 typeof(int),
25 typeof(int),
26 typeof(int[]),
27 typeof(int[]),
28 typeof(int[]),
29 typeof(int[]),
30 typeof(int[]),
31 typeof(int[]),
33 }, ReturnType = typeof(int))]
34 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
36 {
38 typeof(int),
40 typeof(int),
41 typeof(int)
42 }, ReturnType = typeof(void))]
43 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)
44 {
45 throw null;
46 }
47
48 [global::Cpp2ILInjected.Token(Token = "0x6000394")]
49 [global::Cpp2ILInjected.Address(RVA = "0x1A71158", Offset = "0x1A71158", Length = "0xEC")]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateBlocks), Member = "Process", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InfTree), Member = "initWorkArea", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InfTree), Member = "huft_build", MemberParameters = new object[]
54 {
55 typeof(int[]),
56 typeof(int),
57 typeof(int),
58 typeof(int),
59 typeof(int[]),
60 typeof(int[]),
61 typeof(int[]),
62 typeof(int[]),
63 typeof(int[]),
64 typeof(int[]),
65 typeof(int[])
66 }, ReturnType = typeof(int))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
68 internal int inflate_trees_bits(int[] c, int[] bb, int[] tb, int[] hp, ZlibCodec z)
69 {
70 throw null;
71 }
72
73 [global::Cpp2ILInjected.Token(Token = "0x6000395")]
74 [global::Cpp2ILInjected.Address(RVA = "0x1A71244", Offset = "0x1A71244", Length = "0x210")]
75 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateBlocks), Member = "Process", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InfTree), Member = "initWorkArea", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InfTree), Member = "huft_build", MemberParameters = new object[]
80 {
81 typeof(int[]),
82 typeof(int),
83 typeof(int),
84 typeof(int),
85 typeof(int[]),
86 typeof(int[]),
87 typeof(int[]),
88 typeof(int[]),
89 typeof(int[]),
90 typeof(int[]),
91 typeof(int[])
92 }, ReturnType = typeof(int))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
94 internal int inflate_trees_dynamic(int nl, int nd, int[] c, int[] bl, int[] bd, int[] tl, int[] td, int[] hp, ZlibCodec z)
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x6000396")]
100 [global::Cpp2ILInjected.Address(RVA = "0x1A71058", Offset = "0x1A71058", Length = "0xDC")]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateBlocks), Member = "Process", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
103 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
104 internal static int inflate_trees_fixed(int[] bl, int[] bd, int[][] tl, int[][] td, ZlibCodec z)
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x6000397")]
110 [global::Cpp2ILInjected.Address(RVA = "0x1A73738", Offset = "0x1A73738", Length = "0x12C")]
111 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InfTree), Member = "inflate_trees_bits", MemberParameters = new object[]
113 {
114 typeof(int[]),
115 typeof(int[]),
116 typeof(int[]),
117 typeof(int[]),
119 }, ReturnType = typeof(int))]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InfTree), Member = "inflate_trees_dynamic", MemberParameters = new object[]
121 {
122 typeof(int),
123 typeof(int),
124 typeof(int[]),
125 typeof(int[]),
126 typeof(int[]),
127 typeof(int[]),
128 typeof(int[]),
129 typeof(int[]),
130 typeof(ZlibCodec)
131 }, ReturnType = typeof(int))]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
134 {
135 typeof(Array),
136 typeof(int),
137 typeof(int)
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
140 private void initWorkArea(int vsize)
141 {
142 throw null;
143 }
144
145 [global::Cpp2ILInjected.Token(Token = "0x6000398")]
146 [global::Cpp2ILInjected.Address(RVA = "0x1A6FD2C", Offset = "0x1A6FD2C", Length = "0x8")]
147 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
149 public InfTree()
150 {
151 throw null;
152 }
153
154 // Note: this type is marked as 'beforefieldinit'.
155 [global::Cpp2ILInjected.Token(Token = "0x6000399")]
156 [global::Cpp2ILInjected.Address(RVA = "0x1A73864", Offset = "0x1A73864", Length = "0x1D0")]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
159 {
160 typeof(Array),
162 }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
164 static InfTree()
165 {
166 throw null;
167 }
168
169 [global::Cpp2ILInjected.Token(Token = "0x400028E")]
170 private const int MANY = 1440;
171
172 [global::Cpp2ILInjected.Token(Token = "0x400028F")]
173 private const int Z_OK = 0;
174
175 [global::Cpp2ILInjected.Token(Token = "0x4000290")]
176 private const int Z_STREAM_END = 1;
177
178 [global::Cpp2ILInjected.Token(Token = "0x4000291")]
179 private const int Z_NEED_DICT = 2;
180
181 [global::Cpp2ILInjected.Token(Token = "0x4000292")]
182 private const int Z_ERRNO = -1;
183
184 [global::Cpp2ILInjected.Token(Token = "0x4000293")]
185 private const int Z_STREAM_ERROR = -2;
186
187 [global::Cpp2ILInjected.Token(Token = "0x4000294")]
188 private const int Z_DATA_ERROR = -3;
189
190 [global::Cpp2ILInjected.Token(Token = "0x4000295")]
191 private const int Z_MEM_ERROR = -4;
192
193 [global::Cpp2ILInjected.Token(Token = "0x4000296")]
194 private const int Z_BUF_ERROR = -5;
195
196 [global::Cpp2ILInjected.Token(Token = "0x4000297")]
197 private const int Z_VERSION_ERROR = -6;
198
199 [global::Cpp2ILInjected.Token(Token = "0x4000298")]
200 internal const int fixed_bl = 9;
201
202 [global::Cpp2ILInjected.Token(Token = "0x4000299")]
203 internal const int fixed_bd = 5;
204
205 [global::Cpp2ILInjected.Token(Token = "0x400029A")]
206 internal const int BMAX = 15;
207
208 [global::Cpp2ILInjected.Token(Token = "0x400029B")]
209 internal static readonly int[] fixed_tl;
210
211 [global::Cpp2ILInjected.Token(Token = "0x400029C")]
212 internal static readonly int[] fixed_td;
213
214 [global::Cpp2ILInjected.Token(Token = "0x400029D")]
215 internal static readonly int[] cplens;
216
217 [global::Cpp2ILInjected.Token(Token = "0x400029E")]
218 internal static readonly int[] cplext;
219
220 [global::Cpp2ILInjected.Token(Token = "0x400029F")]
221 internal static readonly int[] cpdist;
222
223 [global::Cpp2ILInjected.Token(Token = "0x40002A0")]
224 internal static readonly int[] cpdext;
225
226 [global::Cpp2ILInjected.Token(Token = "0x40002A1")]
227 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
228 internal int[] hn;
229
230 [global::Cpp2ILInjected.Token(Token = "0x40002A2")]
231 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
232 internal int[] v;
233
234 [global::Cpp2ILInjected.Token(Token = "0x40002A3")]
235 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
236 internal int[] c;
237
238 [global::Cpp2ILInjected.Token(Token = "0x40002A4")]
239 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
240 internal int[] r;
241
242 [global::Cpp2ILInjected.Token(Token = "0x40002A5")]
243 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
244 internal int[] u;
245
246 [global::Cpp2ILInjected.Token(Token = "0x40002A6")]
247 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
248 internal int[] x;
249 }
250}
class f__AnonymousType0<< Count > j__TPar
const int Z_OK
Definition InfTree.cs:173
const int Z_STREAM_END
Definition InfTree.cs:176
const int Z_MEM_ERROR
Definition InfTree.cs:191
int inflate_trees_bits(int[] c, int[] bb, int[] tb, int[] hp, ZlibCodec z)
Definition InfTree.cs:68
const int Z_STREAM_ERROR
Definition InfTree.cs:185
const int Z_BUF_ERROR
Definition InfTree.cs:194
const int fixed_bd
Definition InfTree.cs:203
static int inflate_trees_fixed(int[] bl, int[] bd, int[][] tl, int[][] td, ZlibCodec z)
Definition InfTree.cs:104
static InfTree()
Definition InfTree.cs:164
static readonly int[] fixed_tl
Definition InfTree.cs:209
const int MANY
Definition InfTree.cs:170
int inflate_trees_dynamic(int nl, int nd, int[] c, int[] bl, int[] bd, int[] tl, int[] td, int[] hp, ZlibCodec z)
Definition InfTree.cs:94
static readonly int[] fixed_td
Definition InfTree.cs:212
static readonly int[] cpdist
Definition InfTree.cs:221
const int BMAX
Definition InfTree.cs:206
const int Z_DATA_ERROR
Definition InfTree.cs:188
static readonly int[] cplens
Definition InfTree.cs:215
static readonly int[] cplext
Definition InfTree.cs:218
const int Z_VERSION_ERROR
Definition InfTree.cs:197
static readonly int[] cpdext
Definition InfTree.cs:224
const int fixed_bl
Definition InfTree.cs:200
void initWorkArea(int vsize)
Definition InfTree.cs:140
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)
Definition InfTree.cs:43
const int Z_ERRNO
Definition InfTree.cs:182
const int Z_NEED_DICT
Definition InfTree.cs:179