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
ObjectMap.cs
Go to the documentation of this file.
1using System;
4
6{
7 [global::Cpp2ILInjected.Token(Token = "0x2000413")]
8 internal sealed class ObjectMap
9 {
10 [global::Cpp2ILInjected.Token(Token = "0x6002026")]
11 [global::Cpp2ILInjected.Address(RVA = "0x1B5E408", Offset = "0x1B5E408", Length = "0x180")]
12 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ObjectMap), Member = "Create", MemberParameters = new object[]
14 {
15 typeof(string),
16 typeof(global::System.Type),
17 typeof(string[]),
19 typeof(int),
21 }, ReturnType = typeof(ObjectMap))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjectReader), Member = "CreateReadObjectInfo", MemberParameters = new object[] { typeof(global::System.Type) }, ReturnType = typeof(ReadObjectInfo))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ReadObjectInfo), Member = "GetMemberTypes", MemberParameters = new object[]
26 {
27 typeof(string[]),
28 typeof(global::System.Type)
29 }, ReturnType = typeof(global::System.Type[]))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryConverter), Member = "GetParserBinaryTypeInfo", MemberParameters = new object[]
31 {
32 typeof(global::System.Type),
33 typeof(ref object)
34 }, ReturnType = typeof(BinaryTypeEnum))]
35 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
37 {
38 throw null;
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x6002027")]
42 [global::Cpp2ILInjected.Address(RVA = "0x1B5E94C", Offset = "0x1B5E94C", Length = "0x260")]
43 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ObjectMap), Member = "Create", MemberParameters = new object[]
45 {
46 typeof(string),
47 typeof(string[]),
49 typeof(object[]),
50 typeof(int[]),
52 typeof(int),
55 }, ReturnType = typeof(ObjectMap))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjectReader), Member = "GetType", MemberParameters = new object[]
59 {
60 typeof(BinaryAssemblyInfo),
61 typeof(string)
62 }, ReturnType = typeof(global::System.Type))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SizedArray), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(object))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryConverter), Member = "TypeFromInfo", MemberParameters = new object[]
65 {
66 typeof(BinaryTypeEnum),
67 typeof(object),
68 typeof(ObjectReader),
69 typeof(BinaryAssemblyInfo),
70 typeof(ref InternalPrimitiveTypeE),
71 typeof(ref string),
72 typeof(ref global::System.Type),
73 typeof(ref bool)
74 }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjectReader), Member = "CreateReadObjectInfo", MemberParameters = new object[]
76 {
77 typeof(global::System.Type),
78 typeof(string[]),
79 typeof(global::System.Type[])
80 }, ReturnType = typeof(ReadObjectInfo))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ReadObjectInfo), Member = "GetMemberTypes", MemberParameters = new object[]
82 {
83 typeof(string[]),
84 typeof(global::System.Type)
85 }, ReturnType = typeof(global::System.Type[]))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[]
87 {
88 typeof(string),
89 typeof(object[])
90 }, ReturnType = typeof(string))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SerializationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
93 internal ObjectMap(string objectName, string[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, int objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
94 {
95 throw null;
96 }
97
98 [global::Cpp2ILInjected.Token(Token = "0x6002028")]
99 [global::Cpp2ILInjected.Address(RVA = "0x1B5EBAC", Offset = "0x1B5EBAC", Length = "0x34")]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(__BinaryParser), Member = "ReadObject", ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(__BinaryParser), Member = "ReadObjectWithMap", MemberParameters = new object[] { typeof(BinaryObjectWithMap) }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(__BinaryParser), Member = "ReadObjectWithMapTyped", MemberParameters = new object[] { typeof(BinaryObjectWithMapTyped) }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ReadObjectInfo), Member = "InitDataStore", MemberParameters = new object[]
105 {
107 typeof(ref object[])
108 }, ReturnType = typeof(void))]
109 internal ReadObjectInfo CreateObjectInfo(ref SerializationInfo si, ref object[] memberData)
110 {
111 throw null;
112 }
113
114 [global::Cpp2ILInjected.Token(Token = "0x6002029")]
115 [global::Cpp2ILInjected.Address(RVA = "0x1B5ECAC", Offset = "0x1B5ECAC", Length = "0x98")]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(__BinaryParser), Member = "ReadObjectWithMap", MemberParameters = new object[] { typeof(BinaryObjectWithMap) }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjectMap), Member = ".ctor", MemberParameters = new object[]
119 {
120 typeof(string),
121 typeof(global::System.Type),
122 typeof(string[]),
123 typeof(ObjectReader),
124 typeof(int),
125 typeof(BinaryAssemblyInfo)
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
129 {
130 throw null;
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x600202A")]
134 [global::Cpp2ILInjected.Address(RVA = "0x1B5ED44", Offset = "0x1B5ED44", Length = "0xBC")]
135 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(__BinaryParser), Member = "ReadObjectWithMapTyped", MemberParameters = new object[] { typeof(BinaryObjectWithMapTyped) }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjectMap), Member = ".ctor", MemberParameters = new object[]
138 {
139 typeof(string),
140 typeof(string[]),
141 typeof(BinaryTypeEnum[]),
142 typeof(object[]),
143 typeof(int[]),
144 typeof(ObjectReader),
145 typeof(int),
146 typeof(BinaryAssemblyInfo),
147 typeof(SizedArray)
148 }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
150 internal static ObjectMap Create(string name, string[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, int objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x400109D")]
156 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
157 internal string objectName;
158
159 [global::Cpp2ILInjected.Token(Token = "0x400109E")]
160 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
161 internal global::System.Type objectType;
162
163 [global::Cpp2ILInjected.Token(Token = "0x400109F")]
164 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
166
167 [global::Cpp2ILInjected.Token(Token = "0x40010A0")]
168 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
169 internal object[] typeInformationA;
170
171 [global::Cpp2ILInjected.Token(Token = "0x40010A1")]
172 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
173 internal global::System.Type[] memberTypes;
174
175 [global::Cpp2ILInjected.Token(Token = "0x40010A2")]
176 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
177 internal string[] memberNames;
178
179 [global::Cpp2ILInjected.Token(Token = "0x40010A3")]
180 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
182
183 [global::Cpp2ILInjected.Token(Token = "0x40010A4")]
184 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
185 internal bool isInitObjectInfo;
186
187 [global::Cpp2ILInjected.Token(Token = "0x40010A5")]
188 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
190
191 [global::Cpp2ILInjected.Token(Token = "0x40010A6")]
192 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
193 internal int objectId;
194
195 [global::Cpp2ILInjected.Token(Token = "0x40010A7")]
196 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
198 }
199}
class f__AnonymousType0<< Count > j__TPar
ObjectMap(string objectName, global::System.Type objectType, string[] memberNames, ObjectReader objectReader, int objectId, BinaryAssemblyInfo assemblyInfo)
Definition ObjectMap.cs:36
static ObjectMap Create(string name, global::System.Type objectType, string[] memberNames, ObjectReader objectReader, int objectId, BinaryAssemblyInfo assemblyInfo)
Definition ObjectMap.cs:128
ObjectMap(string objectName, string[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, int objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
Definition ObjectMap.cs:93
ReadObjectInfo CreateObjectInfo(ref SerializationInfo si, ref object[] memberData)
Definition ObjectMap.cs:109
static ObjectMap Create(string name, string[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, int objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
Definition ObjectMap.cs:150