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
HashHelpers.cs
Go to the documentation of this file.
1using System;
7
8namespace System.Collections
9{
10 [global::Cpp2ILInjected.Token(Token = "0x20005E2")]
11 internal static class HashHelpers
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6002D9E")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1C06ECC", Offset = "0x1C06ECC", Length = "0xB0")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HashHelpers), Member = "GetPrime", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
18 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
19 public static bool IsPrime(int candidate)
20 {
21 throw null;
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x6002D9F")]
25 [global::Cpp2ILInjected.Address(RVA = "0x1C06F7C", Offset = "0x1C06F7C", Length = "0x170")]
26 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.CompilerServices.ConditionalWeakTable<, >), Member = "Rehash", ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HashHelpers), Member = "ExpandPrime", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Hashtable), Member = ".ctor", MemberParameters = new object[]
30 {
31 typeof(int),
32 typeof(float)
33 }, ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Collections.Generic.Dictionary<, >), Member = "Initialize", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Collections.Generic.HashSet`1", Member = "TrimExcess", ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Collections.Generic.HashSet`1", Member = "Initialize", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashHelpers), Member = "IsPrime", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
41 public static int GetPrime(int min)
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x6002DA0")]
47 [global::Cpp2ILInjected.Address(RVA = "0x1C070EC", Offset = "0x1C070EC", Length = "0x84")]
48 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Hashtable), Member = "expand", ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Collections.Generic.Dictionary<, >), Member = "Resize", ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Collections.Generic.HashSet`1", Member = "CopyFrom", MemberParameters = new object[] { "System.Collections.Generic.HashSet`1<T>" }, ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Collections.Generic.HashSet`1", Member = "IncreaseCapacity", ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashHelpers), Member = "GetPrime", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
55 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
56 public static int ExpandPrime(int oldSize)
57 {
58 throw null;
59 }
60
61 [global::Cpp2ILInjected.Token(Token = "0x170006F5")]
62 internal static global::System.Runtime.CompilerServices.ConditionalWeakTable<object, global::System.Runtime.Serialization.SerializationInfo> SerializationInfoTable
63 {
64 [global::Cpp2ILInjected.Token(Token = "0x6002DA1")]
65 [global::Cpp2ILInjected.Address(RVA = "0x1C07170", Offset = "0x1C07170", Length = "0xD8")]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Collections.Generic.Dictionary<, >), Member = ".ctor", MemberParameters = new object[]
67 {
68 typeof(global::System.Runtime.Serialization.SerializationInfo),
69 typeof(global::System.Runtime.Serialization.StreamingContext)
70 }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Collections.Generic.Dictionary<, >), Member = "OnDeserialization", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.ConditionalWeakTable<, >), Member = ".ctor", ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
75 get
76 {
77 throw null;
78 }
79 }
80
81 // Note: this type is marked as 'beforefieldinit'.
82 [global::Cpp2ILInjected.Token(Token = "0x6002DA2")]
83 [global::Cpp2ILInjected.Address(RVA = "0x1C07248", Offset = "0x1C07248", Length = "0x94")]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
86 {
87 typeof(global::System.Array),
88 typeof(global::System.RuntimeFieldHandle)
89 }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
91 static HashHelpers()
92 {
93 throw null;
94 }
95
96 [global::Cpp2ILInjected.Token(Token = "0x40019A1")]
97 public static readonly int[] primes;
98
99 [global::Cpp2ILInjected.Token(Token = "0x40019A2")]
100 private static global::System.Runtime.CompilerServices.ConditionalWeakTable<object, global::System.Runtime.Serialization.SerializationInfo> s_serializationInfoTable;
101 }
102}
class f__AnonymousType0<< Count > j__TPar
static int GetPrime(int min)
static readonly int[] primes
static int ExpandPrime(int oldSize)
static bool IsPrime(int candidate)
static global::System.Runtime.CompilerServices.ConditionalWeakTable< object, global::System.Runtime.Serialization.SerializationInfo > s_serializationInfoTable