terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
InflateCodes.cs
Go to the documentation of this file.
1using System;
2
3namespace Ionic.Zlib
4{
5 // Token: 0x02000048 RID: 72
6 internal sealed class InflateCodes
7 {
8 // Token: 0x06000383 RID: 899 RVA: 0x0000D3AC File Offset: 0x0000B5AC
9 internal InflateCodes()
10 {
11 }
12
13 // Token: 0x06000384 RID: 900 RVA: 0x0000D3C0 File Offset: 0x0000B5C0
14 internal void Init(int bl, int bd, int[] tl, int tl_index, int[] td, int td_index)
15 {
16 this.lbits = (byte)bl;
17 this.dbits = (byte)bd;
18 this.ltree = tl;
20 this.dtree = td;
22 }
23
24 // Token: 0x06000385 RID: 901 RVA: 0x0000D3FC File Offset: 0x0000B5FC
25 internal int Process(InflateBlocks blocks, int r)
26 {
27 ZlibCodec codec = blocks._codec;
28 int readAt = blocks.readAt;
29 int nextIn = codec.NextIn;
30 long totalBytesIn = codec.TotalBytesIn;
31 int bitk = blocks.bitk;
32 int[] hufts = blocks.hufts;
33 return "invalid distance code";
34 }
35
36 // Token: 0x06000386 RID: 902 RVA: 0x0000D830 File Offset: 0x0000BA30
37 internal int InflateFast(int bl, int bd, int[] tl, int tl_index, int[] td, int td_index, InflateBlocks s, ZlibCodec z)
38 {
39 int readAt = s.readAt;
40 int bitk = s.bitk;
41 int bitb = s.bitb;
42 return "invalid distance code";
43 }
44
45 // Token: 0x0400025B RID: 603
46 private const int START = 0;
47
48 // Token: 0x0400025C RID: 604
49 private const int LEN = 1;
50
51 // Token: 0x0400025D RID: 605
52 private const int LENEXT = 2;
53
54 // Token: 0x0400025E RID: 606
55 private const int DIST = 3;
56
57 // Token: 0x0400025F RID: 607
58 private const int DISTEXT = 4;
59
60 // Token: 0x04000260 RID: 608
61 private const int COPY = 5;
62
63 // Token: 0x04000261 RID: 609
64 private const int LIT = 6;
65
66 // Token: 0x04000262 RID: 610
67 private const int WASH = 7;
68
69 // Token: 0x04000263 RID: 611
70 private const int END = 8;
71
72 // Token: 0x04000264 RID: 612
73 private const int BADCODE = 9;
74
75 // Token: 0x04000265 RID: 613
76 internal int mode;
77
78 // Token: 0x04000266 RID: 614
79 internal int len;
80
81 // Token: 0x04000267 RID: 615
82 internal int[] tree;
83
84 // Token: 0x04000268 RID: 616
85 internal int tree_index;
86
87 // Token: 0x04000269 RID: 617
88 internal int need;
89
90 // Token: 0x0400026A RID: 618
91 internal int lit;
92
93 // Token: 0x0400026B RID: 619
94 internal int bitsToGet;
95
96 // Token: 0x0400026C RID: 620
97 internal int dist;
98
99 // Token: 0x0400026D RID: 621
100 internal byte lbits;
101
102 // Token: 0x0400026E RID: 622
103 internal byte dbits;
104
105 // Token: 0x0400026F RID: 623
106 internal int[] ltree;
107
108 // Token: 0x04000270 RID: 624
109 internal int ltree_index;
110
111 // Token: 0x04000271 RID: 625
112 internal int[] dtree;
113
114 // Token: 0x04000272 RID: 626
115 internal int dtree_index;
116 }
117}
class f__AnonymousType0<< Count > j__TPar
int Process(InflateBlocks blocks, int r)
int InflateFast(int bl, int bd, int[] tl, int tl_index, int[] td, int td_index, InflateBlocks s, ZlibCodec z)
void Init(int bl, int bd, int[] tl, int tl_index, int[] td, int td_index)