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
ObjectIDGenerator.cs
Go to the documentation of this file.
1using System;
8
10{
11 [global::System.Runtime.InteropServices.ComVisible(true)]
12 [global::Cpp2ILInjected.Token(Token = "0x20003DB")]
13 [global::System.Serializable]
14 public class ObjectIDGenerator
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6001F1B")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1B5465C", Offset = "0x1B5465C", Length = "0xCC")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.Serialization.Formatters.Binary.ObjectWriter), Member = "Serialize", MemberParameters = new object[]
19 {
20 typeof(object),
21 typeof(global::System.Runtime.Remoting.Messaging.Header[]),
22 typeof(global::System.Runtime.Serialization.Formatters.Binary.__BinaryWriter),
23 typeof(bool)
24 }, ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
29 {
30 throw null;
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x6001F1C")]
34 [global::Cpp2ILInjected.Address(RVA = "0x1B54728", Offset = "0x1B54728", Length = "0xAC")]
35 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ObjectIDGenerator), Member = "GetId", MemberParameters = new object[]
37 {
38 typeof(object),
39 typeof(ref bool)
40 }, ReturnType = typeof(long))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ObjectIDGenerator), Member = "HasId", MemberParameters = new object[]
42 {
43 typeof(object),
44 typeof(ref bool)
45 }, ReturnType = typeof(long))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ObjectIDGenerator), Member = "Rehash", ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "GetHashCode", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(int))]
49 private int FindElement(object obj, out bool found)
50 {
51 throw null;
52 }
53
54 [global::Cpp2ILInjected.Token(Token = "0x6001F1D")]
55 [global::Cpp2ILInjected.Address(RVA = "0x1B547D4", Offset = "0x1B547D4", Length = "0x138")]
56 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjectIDGenerator), Member = "FindElement", MemberParameters = new object[]
59 {
60 typeof(object),
61 typeof(ref bool)
62 }, ReturnType = typeof(int))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjectIDGenerator), Member = "Rehash", ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
66 {
67 typeof(string),
68 typeof(string)
69 }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
71 public virtual long GetId(object obj, out bool firstTime)
72 {
73 throw null;
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x6001F1E")]
77 [global::Cpp2ILInjected.Address(RVA = "0x1B54B30", Offset = "0x1B54B30", Length = "0xB8")]
78 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjectIDGenerator), Member = "FindElement", MemberParameters = new object[]
80 {
81 typeof(object),
82 typeof(ref bool)
83 }, ReturnType = typeof(int))]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
86 {
87 typeof(string),
88 typeof(string)
89 }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
91 public virtual long HasId(object obj, out bool firstTime)
92 {
93 throw null;
94 }
95
96 [global::Cpp2ILInjected.Token(Token = "0x6001F1F")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1B5490C", Offset = "0x1B5490C", Length = "0x224")]
98 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ObjectIDGenerator), Member = "GetId", MemberParameters = new object[]
100 {
101 typeof(object),
102 typeof(ref bool)
103 }, ReturnType = typeof(long))]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjectIDGenerator), Member = "FindElement", MemberParameters = new object[]
106 {
107 typeof(object),
108 typeof(ref bool)
109 }, ReturnType = typeof(int))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SerializationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
113 private void Rehash()
114 {
115 throw null;
116 }
117
118 // Note: this type is marked as 'beforefieldinit'.
119 [global::Cpp2ILInjected.Token(Token = "0x6001F20")]
120 [global::Cpp2ILInjected.Address(RVA = "0x1B54BE8", Offset = "0x1B54BE8", Length = "0x94")]
121 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
123 {
124 typeof(global::System.Array),
125 typeof(global::System.RuntimeFieldHandle)
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
129 {
130 throw null;
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x4000F95")]
134 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
135 internal int m_currentCount;
136
137 [global::Cpp2ILInjected.Token(Token = "0x4000F96")]
138 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
139 internal int m_currentSize;
140
141 [global::Cpp2ILInjected.Token(Token = "0x4000F97")]
142 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
143 internal long[] m_ids;
144
145 [global::Cpp2ILInjected.Token(Token = "0x4000F98")]
146 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
147 internal object[] m_objs;
148
149 [global::Cpp2ILInjected.Token(Token = "0x4000F99")]
150 private static readonly int[] sizes;
151 }
152}
class f__AnonymousType0<< Count > j__TPar
virtual long GetId(object obj, out bool firstTime)
virtual long HasId(object obj, out bool firstTime)
int FindElement(object obj, out bool found)