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
TermInfoReader.cs
Go to the documentation of this file.
1using System;
2using System.IO;
3using System.Text;
6
7namespace System
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000193")]
10 internal class TermInfoReader
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6000FB5")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1C8398C", Offset = "0x1C8398C", Length = "0x2AC")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.File), Member = "OpenRead", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.IO.FileStream))]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TermInfoReader), Member = "ReadHeader", MemberParameters = new object[]
19 {
20 typeof(byte[]),
21 typeof(ref int)
22 }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TermInfoReader), Member = "GetString", MemberParameters = new object[]
24 {
25 typeof(byte[]),
26 typeof(int)
27 }, ReturnType = typeof(string))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Exception), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
30 public TermInfoReader(string term, string filename)
31 {
32 throw null;
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x6000FB6")]
36 [global::Cpp2ILInjected.Address(RVA = "0x1C83C38", Offset = "0x1C83C38", Length = "0x98")]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TermInfoReader), Member = "ReadHeader", MemberParameters = new object[]
40 {
41 typeof(byte[]),
42 typeof(ref int)
43 }, ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TermInfoReader), Member = "GetString", MemberParameters = new object[]
45 {
46 typeof(byte[]),
47 typeof(int)
48 }, ReturnType = typeof(string))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
51 public TermInfoReader(string term, byte[] buffer)
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x6000FB7")]
57 [global::Cpp2ILInjected.Address(RVA = "0x1C89468", Offset = "0x1C89468", Length = "0xA8")]
58 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoReader), Member = "ReadHeader", MemberParameters = new object[]
60 {
61 typeof(byte[]),
62 typeof(ref int)
63 }, ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
66 {
67 typeof(string),
68 typeof(object)
69 }, ReturnType = typeof(string))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Exception), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
72 private void DetermineVersion(short magic)
73 {
74 throw null;
75 }
76
77 [global::Cpp2ILInjected.Token(Token = "0x6000FB8")]
78 [global::Cpp2ILInjected.Address(RVA = "0x1C89354", Offset = "0x1C89354", Length = "0xE8")]
79 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoReader), Member = ".ctor", MemberParameters = new object[]
81 {
82 typeof(string),
83 typeof(string)
84 }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoReader), Member = ".ctor", MemberParameters = new object[]
86 {
87 typeof(string),
88 typeof(byte[])
89 }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TermInfoReader), Member = "DetermineVersion", MemberParameters = new object[] { typeof(short) }, ReturnType = typeof(void))]
92 private void ReadHeader(byte[] buffer, ref int position)
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x6000FB9")]
98 [global::Cpp2ILInjected.Address(RVA = "0x1C8943C", Offset = "0x1C8943C", Length = "0x2C")]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TermInfoReader), Member = "GetString", MemberParameters = new object[]
101 {
102 typeof(byte[]),
103 typeof(int)
104 }, ReturnType = typeof(string))]
105 private void ReadNames(byte[] buffer, ref int position)
106 {
107 throw null;
108 }
109
110 [global::Cpp2ILInjected.Token(Token = "0x6000FBA")]
111 [global::Cpp2ILInjected.Address(RVA = "0x1C84504", Offset = "0x1C84504", Length = "0x70")]
112 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
113 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = "Init", ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = "CheckWindowDimensions", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
116 public int Get(global::System.TermInfoNumbers number)
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x6000FBB")]
122 [global::Cpp2ILInjected.Address(RVA = "0x1C8447C", Offset = "0x1C8447C", Length = "0x88")]
123 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = "Init", ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 14)]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TermInfoReader), Member = "GetString", MemberParameters = new object[]
127 {
128 typeof(byte[]),
129 typeof(int)
130 }, ReturnType = typeof(string))]
131 public string Get(global::System.TermInfoStrings tstr)
132 {
133 throw null;
134 }
135
136 [global::Cpp2ILInjected.Token(Token = "0x6000FBC")]
137 [global::Cpp2ILInjected.Address(RVA = "0x1C88154", Offset = "0x1C88154", Length = "0x88")]
138 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = "AddStringMapping", MemberParameters = new object[] { typeof(global::System.TermInfoStrings) }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TermInfoReader), Member = "GetStringBytes", MemberParameters = new object[]
142 {
143 typeof(byte[]),
144 typeof(int)
145 }, ReturnType = typeof(byte[]))]
146 public byte[] GetStringBytes(global::System.TermInfoStrings tstr)
147 {
148 throw null;
149 }
150
151 [global::Cpp2ILInjected.Token(Token = "0x6000FBD")]
152 [global::Cpp2ILInjected.Address(RVA = "0x1C89510", Offset = "0x1C89510", Length = "0x24")]
153 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
154 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
155 private short GetInt16(byte[] buffer, int offset)
156 {
157 throw null;
158 }
159
160 [global::Cpp2ILInjected.Token(Token = "0x6000FBE")]
161 [global::Cpp2ILInjected.Address(RVA = "0x1C89534", Offset = "0x1C89534", Length = "0x6C")]
162 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoReader), Member = ".ctor", MemberParameters = new object[]
163 {
164 typeof(string),
165 typeof(string)
166 }, ReturnType = typeof(void))]
167 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoReader), Member = ".ctor", MemberParameters = new object[]
168 {
169 typeof(string),
170 typeof(byte[])
171 }, ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoReader), Member = "ReadNames", MemberParameters = new object[]
173 {
174 typeof(byte[]),
175 typeof(ref int)
176 }, ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoReader), Member = "Get", MemberParameters = new object[] { typeof(global::System.TermInfoStrings) }, ReturnType = typeof(string))]
178 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.Encoding), Member = "get_ASCII", ReturnType = typeof(global::System.Text.Encoding))]
180 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
181 private string GetString(byte[] buffer, int offset)
182 {
183 throw null;
184 }
185
186 [global::Cpp2ILInjected.Token(Token = "0x6000FBF")]
187 [global::Cpp2ILInjected.Address(RVA = "0x1C895A0", Offset = "0x1C895A0", Length = "0xA4")]
188 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoReader), Member = "GetStringBytes", MemberParameters = new object[] { typeof(global::System.TermInfoStrings) }, ReturnType = typeof(byte[]))]
189 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "InternalBlockCopy", MemberParameters = new object[]
191 {
192 typeof(global::System.Array),
193 typeof(int),
194 typeof(global::System.Array),
195 typeof(int),
196 typeof(int)
197 }, ReturnType = typeof(bool))]
198 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
199 private byte[] GetStringBytes(byte[] buffer, int offset)
200 {
201 throw null;
202 }
203
204 [global::Cpp2ILInjected.Token(Token = "0x40006EE")]
205 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
206 private int boolSize;
207
208 [global::Cpp2ILInjected.Token(Token = "0x40006EF")]
209 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
210 private int numSize;
211
212 [global::Cpp2ILInjected.Token(Token = "0x40006F0")]
213 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
214 private int strOffsets;
215
216 [global::Cpp2ILInjected.Token(Token = "0x40006F1")]
217 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
218 private byte[] buffer;
219
220 [global::Cpp2ILInjected.Token(Token = "0x40006F2")]
221 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
222 private int booleansOffset;
223
224 [global::Cpp2ILInjected.Token(Token = "0x40006F3")]
225 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
226 private int intOffset;
227 }
228}
class f__AnonymousType0<< Count > j__TPar
TermInfoReader(string term, string filename)
void DetermineVersion(short magic)
string Get(global::System.TermInfoStrings tstr)
string GetString(byte[] buffer, int offset)
TermInfoReader(string term, byte[] buffer)
void ReadHeader(byte[] buffer, ref int position)
byte[] GetStringBytes(byte[] buffer, int offset)
void ReadNames(byte[] buffer, ref int position)
int Get(global::System.TermInfoNumbers number)
byte[] GetStringBytes(global::System.TermInfoStrings tstr)
short GetInt16(byte[] buffer, int offset)