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
EncodingTable.cs
Go to the documentation of this file.
1using System;
3using System.Text;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x20005BB")]
11 internal static class EncodingTable
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6002CD0")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1BF766C", Offset = "0x1BF766C", Length = "0x5C")]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncodingTable), Member = ".cctor", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
18 private static int GetNumEncodingItems()
19 {
20 throw null;
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x6002CD1")]
24 [global::Cpp2ILInjected.Address(RVA = "0x1BF76C8", Offset = "0x1BF76C8", Length = "0x8")]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
26 private static InternalEncodingDataItem ENC(string name, ushort cp)
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x6002CD2")]
32 [global::Cpp2ILInjected.Address(RVA = "0x1BF76D0", Offset = "0x1BF76D0", Length = "0x14")]
33 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
34 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
35 private static InternalCodePageDataItem MapCodePageDataItem(ushort cp, ushort fcp, string names, uint flags)
36 {
37 throw null;
38 }
39
40 [global::Cpp2ILInjected.Token(Token = "0x6002CD3")]
41 [global::Cpp2ILInjected.Address(RVA = "0x1BF76E4", Offset = "0x1BF76E4", Length = "0x42EC")]
42 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncodingTable), Member = "GetNumEncodingItems", ReturnType = typeof(int))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, int>), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Collections.Generic.IEqualityComparer<object>) }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<int, object>), Member = ".ctor", ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 437)]
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x6002CD4")]
54 [global::Cpp2ILInjected.Address(RVA = "0x1BFB9D0", Offset = "0x1BFB9D0", Length = "0x1E4")]
55 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncodingTable), Member = "GetCodePageFromName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Compare", MemberParameters = new object[]
59 {
60 typeof(string),
61 typeof(string),
62 typeof(global::System.StringComparison)
63 }, ReturnType = typeof(int))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_CurrentCulture", ReturnType = typeof(CultureInfo))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
67 {
68 typeof(global::System.IFormatProvider),
69 typeof(string),
70 typeof(object)
71 }, ReturnType = typeof(string))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
73 {
74 typeof(string),
75 typeof(string)
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
78 private static int internalGetCodePageFromName(string name)
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x6002CD5")]
84 [global::Cpp2ILInjected.Address(RVA = "0x1BFBBB4", Offset = "0x1BFBBB4", Length = "0x264")]
85 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Text.Encoding), Member = "GetEncoding", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.Text.Encoding))]
87 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Text.Encoding), Member = "GetEncoding", MemberParameters = new object[]
88 {
89 typeof(string),
90 typeof(global::System.Text.EncoderFallback),
91 typeof(global::System.Text.DecoderFallback)
92 }, ReturnType = typeof(global::System.Text.Encoding))]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
95 {
96 typeof(object),
97 typeof(ref bool)
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, int>), Member = "TryGetValue", MemberParameters = new object[]
100 {
101 typeof(object),
102 typeof(ref int)
103 }, ReturnType = typeof(bool))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncodingTable), Member = "internalGetCodePageFromName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, int>), Member = "set_Item", MemberParameters = new object[]
106 {
107 typeof(object),
108 typeof(int)
109 }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
113 internal static int GetCodePageFromName(string name)
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x6002CD6")]
119 [global::Cpp2ILInjected.Address(RVA = "0x1BFBE18", Offset = "0x1BFBE18", Length = "0x2A4")]
120 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Text.Encoding), Member = "GetEncoding", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.Text.Encoding))]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Text.Encoding), Member = "GetDataItem", ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
125 {
126 typeof(object),
127 typeof(ref bool)
128 }, ReturnType = typeof(void))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<int, object>), Member = "TryGetValue", MemberParameters = new object[]
130 {
131 typeof(int),
132 typeof(ref object)
133 }, ReturnType = typeof(bool))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CodePageDataItem), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<int, object>), Member = "set_Item", MemberParameters = new object[]
136 {
137 typeof(int),
138 typeof(object)
139 }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x40018EE")]
149
150 [global::Cpp2ILInjected.Token(Token = "0x40018EF")]
152
153 [global::Cpp2ILInjected.Token(Token = "0x40018F0")]
154 private static int lastEncodingItem;
155
156 [global::Cpp2ILInjected.Token(Token = "0x40018F1")]
157 private static global::System.Collections.Generic.Dictionary<string, int> hashByName;
158
159 [global::Cpp2ILInjected.Token(Token = "0x40018F2")]
160 private static global::System.Collections.Generic.Dictionary<int, CodePageDataItem> hashByCodePage;
161 }
162}
class f__AnonymousType0<< Count > j__TPar
static InternalEncodingDataItem ENC(string name, ushort cp)
static global::System.Collections.Generic.Dictionary< int, CodePageDataItem > hashByCodePage
static InternalEncodingDataItem[] encodingDataPtr
static InternalCodePageDataItem[] codePageDataPtr
static CodePageDataItem GetCodePageDataItem(int codepage)
static int internalGetCodePageFromName(string name)
static int GetCodePageFromName(string name)
static global::System.Collections.Generic.Dictionary< string, int > hashByName
static InternalCodePageDataItem MapCodePageDataItem(ushort cp, ushort fcp, string names, uint flags)