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
FastResourceComparer.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x20004AF")]
10 internal sealed class FastResourceComparer : global::System.Collections.IComparer, global::System.Collections.IEqualityComparer, global::System.Collections.Generic.IComparer<string>, global::System.Collections.Generic.IEqualityComparer<string>
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x60022E3")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1B77964", Offset = "0x1B77964", Length = "0x8C")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
16 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
17 public int GetHashCode(object key)
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x60022E4")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1B77A54", Offset = "0x1B77A54", Length = "0x54")]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastResourceComparer), Member = "HashFunction", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
26 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
27 public int GetHashCode(string key)
28 {
29 throw null;
30 }
31
32 [global::Cpp2ILInjected.Token(Token = "0x60022E5")]
33 [global::Cpp2ILInjected.Address(RVA = "0x1B779F0", Offset = "0x1B779F0", Length = "0x64")]
34 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FastResourceComparer), Member = "GetHashCode", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ResourceReader), Member = "FindPosForResource", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
39 internal static int HashFunction(string key)
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x60022E6")]
45 [global::Cpp2ILInjected.Address(RVA = "0x1B77AA8", Offset = "0x1B77AA8", Length = "0x9C")]
46 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CompareOrdinal", MemberParameters = new object[]
49 {
50 typeof(string),
51 typeof(string)
52 }, ReturnType = typeof(int))]
53 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
54 public int Compare(object a, object b)
55 {
56 throw null;
57 }
58
59 [global::Cpp2ILInjected.Token(Token = "0x60022E7")]
60 [global::Cpp2ILInjected.Address(RVA = "0x1B77B44", Offset = "0x1B77B44", Length = "0x10")]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CompareOrdinal", MemberParameters = new object[]
63 {
64 typeof(string),
65 typeof(string)
66 }, ReturnType = typeof(int))]
67 public int Compare(string a, string b)
68 {
69 throw null;
70 }
71
72 [global::Cpp2ILInjected.Token(Token = "0x60022E8")]
73 [global::Cpp2ILInjected.Address(RVA = "0x1B77B54", Offset = "0x1B77B54", Length = "0x10")]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Equals", MemberParameters = new object[]
76 {
77 typeof(string),
78 typeof(string)
79 }, ReturnType = typeof(bool))]
80 public bool Equals(string a, string b)
81 {
82 throw null;
83 }
84
85 [global::Cpp2ILInjected.Token(Token = "0x60022E9")]
86 [global::Cpp2ILInjected.Address(RVA = "0x1B77B64", Offset = "0x1B77B64", Length = "0x9C")]
87 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Equals", MemberParameters = new object[]
90 {
91 typeof(string),
92 typeof(string)
93 }, ReturnType = typeof(bool))]
94 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
95 public bool Equals(object a, object b)
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x60022EA")]
101 [global::Cpp2ILInjected.Address(RVA = "0x1B77C00", Offset = "0x1B77C00", Length = "0xB4")]
102 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FastResourceComparer), Member = "CompareOrdinal", MemberParameters = new object[]
104 {
105 typeof(byte[]),
106 typeof(int),
107 typeof(string)
108 }, ReturnType = typeof(int))]
109 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
111 public static int CompareOrdinal(string a, byte[] bytes, int bCharLength)
112 {
113 throw null;
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x60022EB")]
117 [global::Cpp2ILInjected.Address(RVA = "0x1B77CB4", Offset = "0x1B77CB4", Length = "0x74")]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ResourceReader), Member = "CompareStringEqualsName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastResourceComparer), Member = "CompareOrdinal", MemberParameters = new object[]
121 {
122 typeof(string),
123 typeof(byte[]),
124 typeof(int)
125 }, ReturnType = typeof(int))]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
127 public static int CompareOrdinal(byte[] bytes, int aCharLength, string b)
128 {
129 throw null;
130 }
131
132 [global::Cpp2ILInjected.Token(Token = "0x60022EC")]
133 [global::Cpp2ILInjected.Address(RVA = "0x1B77D28", Offset = "0x1B77D28", Length = "0x8C")]
134 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
135 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ResourceReader), Member = "CompareStringEqualsName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
138 internal unsafe static int CompareOrdinal(byte* a, int byteLen, string b)
139 {
140 throw null;
141 }
142
143 [global::Cpp2ILInjected.Token(Token = "0x60022ED")]
144 [global::Cpp2ILInjected.Address(RVA = "0x1B77DB4", Offset = "0x1B77DB4", Length = "0x8")]
145 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
148 {
149 throw null;
150 }
151
152 // Note: this type is marked as 'beforefieldinit'.
153 [global::Cpp2ILInjected.Token(Token = "0x60022EE")]
154 [global::Cpp2ILInjected.Address(RVA = "0x1B77DBC", Offset = "0x1B77DBC", Length = "0x5C")]
155 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
159 {
160 throw null;
161 }
162
163 [global::Cpp2ILInjected.Token(Token = "0x4001320")]
165 }
166}
class f__AnonymousType0<< Count > j__TPar
static int CompareOrdinal(byte[] bytes, int aCharLength, string b)
static int CompareOrdinal(string a, byte[] bytes, int bCharLength)
static readonly FastResourceComparer Default
static unsafe int CompareOrdinal(byte *a, int byteLen, string b)