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
InflateBlocks.cs
Go to the documentation of this file.
1using System;
5
6namespace Ionic.Zlib
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000045")]
9 internal sealed class InflateBlocks
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x600037A")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1A6FBF4", Offset = "0x1A6FBF4", Length = "0x130")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateManager), Member = "Initialize", MemberParameters = new object[]
14 {
16 typeof(int)
17 }, ReturnType = typeof(int))]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InflateBlocks), Member = "Reset", ReturnType = typeof(uint))]
21 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
22 internal InflateBlocks(ZlibCodec codec, object checkfn, int w)
23 {
24 throw null;
25 }
26
27 [global::Cpp2ILInjected.Token(Token = "0x600037B")]
28 [global::Cpp2ILInjected.Address(RVA = "0x1A6FD34", Offset = "0x1A6FD34", Length = "0xA8")]
29 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateBlocks), Member = ".ctor", MemberParameters = new object[]
31 {
33 typeof(object),
34 typeof(int)
35 }, ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateBlocks), Member = "Free", ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateManager), Member = "Reset", ReturnType = typeof(int))]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateManager), Member = "End", ReturnType = typeof(int))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateManager), Member = "Initialize", MemberParameters = new object[]
40 {
41 typeof(ZlibCodec),
42 typeof(int)
43 }, ReturnType = typeof(int))]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateManager), Member = "Inflate", MemberParameters = new object[] { typeof(FlushType) }, ReturnType = typeof(int))]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateManager), Member = "Sync", ReturnType = typeof(int))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZlibCodec), Member = "EndInflate", ReturnType = typeof(int))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
48 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
49 internal uint Reset()
50 {
51 throw null;
52 }
53
54 [global::Cpp2ILInjected.Token(Token = "0x600037C")]
55 [global::Cpp2ILInjected.Address(RVA = "0x1A70050", Offset = "0x1A70050", Length = "0xE74")]
56 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateManager), Member = "Inflate", MemberParameters = new object[] { typeof(FlushType) }, ReturnType = typeof(int))]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InfTree), Member = "inflate_trees_fixed", MemberParameters = new object[]
60 {
61 typeof(int[]),
62 typeof(int[]),
63 typeof(int[][]),
64 typeof(int[][]),
65 typeof(ZlibCodec)
66 }, ReturnType = typeof(int))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InflateBlocks), Member = "Flush", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
69 {
71 typeof(int),
72 typeof(int)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InfTree), Member = "inflate_trees_bits", MemberParameters = new object[]
75 {
76 typeof(int[]),
77 typeof(int[]),
78 typeof(int[]),
79 typeof(int[]),
80 typeof(ZlibCodec)
81 }, ReturnType = typeof(int))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InfTree), Member = "inflate_trees_dynamic", MemberParameters = new object[]
83 {
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 typeof(ZlibCodec)
93 }, ReturnType = typeof(int))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InflateCodes), Member = "Process", MemberParameters = new object[]
95 {
97 typeof(int)
98 }, ReturnType = typeof(int))]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
100 {
101 typeof(Array),
102 typeof(int),
103 typeof(Array),
104 typeof(int),
105 typeof(int)
106 }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
108 internal int Process(int r)
109 {
110 throw null;
111 }
112
113 [global::Cpp2ILInjected.Token(Token = "0x600037D")]
114 [global::Cpp2ILInjected.Address(RVA = "0x1A71CF8", Offset = "0x1A71CF8", Length = "0x18")]
115 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InflateBlocks), Member = "Reset", ReturnType = typeof(uint))]
117 internal void Free()
118 {
119 throw null;
120 }
121
122 [global::Cpp2ILInjected.Token(Token = "0x600037E")]
123 [global::Cpp2ILInjected.Address(RVA = "0x1A71D10", Offset = "0x1A71D10", Length = "0x40")]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
126 {
127 typeof(Array),
128 typeof(int),
129 typeof(Array),
130 typeof(int),
131 typeof(int)
132 }, ReturnType = typeof(void))]
133 internal void SetDictionary(byte[] d, int start, int n)
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x600037F")]
139 [global::Cpp2ILInjected.Address(RVA = "0x1A71D50", Offset = "0x1A71D50", Length = "0x10")]
140 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
142 internal int SyncPoint()
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x6000380")]
148 [global::Cpp2ILInjected.Address(RVA = "0x1A70EC4", Offset = "0x1A70EC4", Length = "0x194")]
149 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateBlocks), Member = "Process", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InflateCodes), Member = "Process", MemberParameters = new object[]
152 {
154 typeof(int)
155 }, ReturnType = typeof(int))]
156 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Adler), Member = "Adler32", MemberParameters = new object[]
158 {
159 typeof(uint),
160 typeof(byte[]),
161 typeof(int),
162 typeof(int)
163 }, ReturnType = typeof(uint))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
165 {
166 typeof(Array),
167 typeof(int),
168 typeof(Array),
169 typeof(int),
170 typeof(int)
171 }, ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
173 internal int Flush(int r)
174 {
175 throw null;
176 }
177
178 // Note: this type is marked as 'beforefieldinit'.
179 [global::Cpp2ILInjected.Token(Token = "0x6000381")]
180 [global::Cpp2ILInjected.Address(RVA = "0x1A71D60", Offset = "0x1A71D60", Length = "0x94")]
181 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
183 {
184 typeof(Array),
186 }, ReturnType = typeof(void))]
187 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
189 {
190 throw null;
191 }
192
193 [global::Cpp2ILInjected.Token(Token = "0x4000239")]
194 private const int MANY = 1440;
195
196 [global::Cpp2ILInjected.Token(Token = "0x400023A")]
197 internal static readonly int[] border;
198
199 [global::Cpp2ILInjected.Token(Token = "0x400023B")]
200 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
202
203 [global::Cpp2ILInjected.Token(Token = "0x400023C")]
204 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
205 internal int left;
206
207 [global::Cpp2ILInjected.Token(Token = "0x400023D")]
208 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
209 internal int table;
210
211 [global::Cpp2ILInjected.Token(Token = "0x400023E")]
212 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
213 internal int index;
214
215 [global::Cpp2ILInjected.Token(Token = "0x400023F")]
216 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
217 internal int[] blens;
218
219 [global::Cpp2ILInjected.Token(Token = "0x4000240")]
220 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
221 internal int[] bb;
222
223 [global::Cpp2ILInjected.Token(Token = "0x4000241")]
224 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
225 internal int[] tb;
226
227 [global::Cpp2ILInjected.Token(Token = "0x4000242")]
228 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
230
231 [global::Cpp2ILInjected.Token(Token = "0x4000243")]
232 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
233 internal int last;
234
235 [global::Cpp2ILInjected.Token(Token = "0x4000244")]
236 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
238
239 [global::Cpp2ILInjected.Token(Token = "0x4000245")]
240 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
241 internal int bitk;
242
243 [global::Cpp2ILInjected.Token(Token = "0x4000246")]
244 [global::Cpp2ILInjected.FieldOffset(Offset = "0x54")]
245 internal int bitb;
246
247 [global::Cpp2ILInjected.Token(Token = "0x4000247")]
248 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
249 internal int[] hufts;
250
251 [global::Cpp2ILInjected.Token(Token = "0x4000248")]
252 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
253 internal byte[] window;
254
255 [global::Cpp2ILInjected.Token(Token = "0x4000249")]
256 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
257 internal int end;
258
259 [global::Cpp2ILInjected.Token(Token = "0x400024A")]
260 [global::Cpp2ILInjected.FieldOffset(Offset = "0x6C")]
261 internal int readAt;
262
263 [global::Cpp2ILInjected.Token(Token = "0x400024B")]
264 [global::Cpp2ILInjected.FieldOffset(Offset = "0x70")]
265 internal int writeAt;
266
267 [global::Cpp2ILInjected.Token(Token = "0x400024C")]
268 [global::Cpp2ILInjected.FieldOffset(Offset = "0x78")]
269 internal object checkfn;
270
271 [global::Cpp2ILInjected.Token(Token = "0x400024D")]
272 [global::Cpp2ILInjected.FieldOffset(Offset = "0x80")]
273 internal uint check;
274
275 [global::Cpp2ILInjected.Token(Token = "0x400024E")]
276 [global::Cpp2ILInjected.FieldOffset(Offset = "0x88")]
277 internal InfTree inftree;
278
279 [global::Cpp2ILInjected.Token(Token = "0x2000046")]
280 private enum InflateBlockMode
281 {
282 [global::Cpp2ILInjected.Token(Token = "0x4000250")]
283 TYPE,
284 [global::Cpp2ILInjected.Token(Token = "0x4000251")]
285 LENS,
286 [global::Cpp2ILInjected.Token(Token = "0x4000252")]
287 STORED,
288 [global::Cpp2ILInjected.Token(Token = "0x4000253")]
289 TABLE,
290 [global::Cpp2ILInjected.Token(Token = "0x4000254")]
291 BTREE,
292 [global::Cpp2ILInjected.Token(Token = "0x4000255")]
293 DTREE,
294 [global::Cpp2ILInjected.Token(Token = "0x4000256")]
295 CODES,
296 [global::Cpp2ILInjected.Token(Token = "0x4000257")]
297 DRY,
298 [global::Cpp2ILInjected.Token(Token = "0x4000258")]
299 DONE,
300 [global::Cpp2ILInjected.Token(Token = "0x4000259")]
301 BAD
302 }
303 }
304}
class f__AnonymousType0<< Count > j__TPar
InflateBlocks.InflateBlockMode mode
InflateBlocks(ZlibCodec codec, object checkfn, int w)
static readonly int[] border
void SetDictionary(byte[] d, int start, int n)