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
CrossAppDomainSink.cs
Go to the documentation of this file.
1using System;
3using System.IO;
11
13{
14 [global::System.MonoTODO("Handle domain unloading?")]
15 [global::Cpp2ILInjected.Token(Token = "0x2000378")]
16 internal class CrossAppDomainSink : global::System.Runtime.Remoting.Messaging.IMessageSink
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x6001D35")]
19 [global::Cpp2ILInjected.Address(RVA = "0x1B40694", Offset = "0x1B40694", Length = "0x28")]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
23 {
24 throw null;
25 }
26
27 [global::Cpp2ILInjected.Token(Token = "0x6001D36")]
28 [global::Cpp2ILInjected.Address(RVA = "0x1B403B0", Offset = "0x1B403B0", Length = "0x274")]
29 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
32 {
33 typeof(object),
34 typeof(ref bool)
35 }, ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
39 internal static CrossAppDomainSink GetSink(int domainID)
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x1700036E")]
45 internal int TargetDomainId
46 {
47 [global::Cpp2ILInjected.Token(Token = "0x6001D37")]
48 [global::Cpp2ILInjected.Address(RVA = "0x1B406BC", Offset = "0x1B406BC", Length = "0x8")]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
50 get
51 {
52 throw null;
53 }
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x6001D38")]
57 [global::Cpp2ILInjected.Address(RVA = "0x1B406C4", Offset = "0x1B406C4", Length = "0x120")]
58 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.AppDomain), Member = "get_CurrentDomain", ReturnType = typeof(global::System.AppDomain))]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.AppDomain), Member = "ProcessMessageInDomain", MemberParameters = new object[]
62 {
63 typeof(byte[]),
64 typeof(global::System.Runtime.Remoting.Messaging.CADMethodCallMessage),
65 typeof(ref byte[]),
66 typeof(ref global::System.Runtime.Remoting.Messaging.CADMethodReturnMessage)
67 }, ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Remoting.Messaging.ErrorMessage), Member = ".ctor", ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Remoting.Messaging.MethodResponse), Member = ".ctor", MemberParameters = new object[]
70 {
71 typeof(global::System.Exception),
72 typeof(global::System.Runtime.Remoting.Messaging.IMethodCallMessage)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CADSerializer), Member = "SerializeMessage", MemberParameters = new object[] { typeof(global::System.Runtime.Remoting.Messaging.IMessage) }, ReturnType = typeof(global::System.IO.MemoryStream))]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
76 private static CrossAppDomainSink.ProcessMessageRes ProcessMessageInDomain(byte[] arrRequest, global::System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg)
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x6001D39")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1B40914", Offset = "0x1B40914", Length = "0x3E8")]
83 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Remoting.Messaging.CADMethodCallMessage), Member = "Create", MemberParameters = new object[] { typeof(global::System.Runtime.Remoting.Messaging.IMessage) }, ReturnType = typeof(global::System.Runtime.Remoting.Messaging.CADMethodCallMessage))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CADSerializer), Member = "SerializeMessage", MemberParameters = new object[] { typeof(global::System.Runtime.Remoting.Messaging.IMessage) }, ReturnType = typeof(global::System.IO.MemoryStream))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Thread), Member = "get_CurrentContext", ReturnType = typeof(global::System.Runtime.Remoting.Contexts.Context))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.AppDomain), Member = "InvokeInDomainByID", MemberParameters = new object[]
89 {
90 typeof(int),
91 typeof(global::System.Reflection.MethodInfo),
92 typeof(object),
93 typeof(object[])
94 }, ReturnType = typeof(object))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.AppDomain), Member = "InternalSetContext", MemberParameters = new object[] { typeof(global::System.Runtime.Remoting.Contexts.Context) }, ReturnType = typeof(global::System.Runtime.Remoting.Contexts.Context))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.MemoryStream), Member = ".ctor", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CADSerializer), Member = "DeserializeMessage", MemberParameters = new object[]
98 {
99 typeof(global::System.IO.MemoryStream),
100 typeof(global::System.Runtime.Remoting.Messaging.IMethodCallMessage)
101 }, ReturnType = typeof(global::System.Runtime.Remoting.Messaging.IMessage))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Remoting.Messaging.MethodResponse), Member = ".ctor", MemberParameters = new object[]
103 {
104 typeof(global::System.Runtime.Remoting.Messaging.IMethodCallMessage),
105 typeof(global::System.Runtime.Remoting.Messaging.CADMethodReturnMessage)
106 }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Remoting.Messaging.ReturnMessage), Member = ".ctor", MemberParameters = new object[]
108 {
109 typeof(global::System.Exception),
110 typeof(global::System.Runtime.Remoting.Messaging.IMethodCallMessage)
111 }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 44)]
113 public virtual global::System.Runtime.Remoting.Messaging.IMessage SyncProcessMessage(global::System.Runtime.Remoting.Messaging.IMessage msgRequest)
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x6001D3A")]
119 [global::Cpp2ILInjected.Address(RVA = "0x1B40FE8", Offset = "0x1B40FE8", Length = "0xC8")]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.WaitCallback), Member = ".ctor", MemberParameters = new object[]
123 {
124 typeof(object),
125 typeof(global::System.IntPtr)
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.ThreadPool), Member = "QueueUserWorkItem", MemberParameters = new object[]
128 {
129 typeof(global::System.Threading.WaitCallback),
130 typeof(object)
131 }, ReturnType = typeof(bool))]
132 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
133 public virtual global::System.Runtime.Remoting.Messaging.IMessageCtrl AsyncProcessMessage(global::System.Runtime.Remoting.Messaging.IMessage reqMsg, global::System.Runtime.Remoting.Messaging.IMessageSink replySink)
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x6001D3B")]
139 [global::Cpp2ILInjected.Address(RVA = "0x1B410DC", Offset = "0x1B410DC", Length = "0x104")]
140 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CrossAppDomainSink), Member = "<AsyncProcessMessage>b__10_0", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
143 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
144 public void SendAsyncMessage(object data)
145 {
146 throw null;
147 }
148
149 // Note: this type is marked as 'beforefieldinit'.
150 [global::Cpp2ILInjected.Token(Token = "0x6001D3C")]
151 [global::Cpp2ILInjected.Address(RVA = "0x1B411E0", Offset = "0x1B411E0", Length = "0xF0")]
152 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Hashtable), Member = ".ctor", ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetMethod", MemberParameters = new object[]
156 {
157 typeof(string),
158 typeof(global::System.Reflection.BindingFlags)
159 }, ReturnType = typeof(global::System.Reflection.MethodInfo))]
160 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
162 {
163 throw null;
164 }
165
166 [global::System.Runtime.CompilerServices.CompilerGenerated]
167 [global::Cpp2ILInjected.Token(Token = "0x6001D3D")]
168 [global::Cpp2ILInjected.Address(RVA = "0x1B412D0", Offset = "0x1B412D0", Length = "0x80")]
169 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
170 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CrossAppDomainSink), Member = "SendAsyncMessage", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
174 {
175 throw null;
176 }
177
178 [global::Cpp2ILInjected.Token(Token = "0x4000EBF")]
179 private static global::System.Collections.Hashtable s_sinks;
180
181 [global::Cpp2ILInjected.Token(Token = "0x4000EC0")]
182 private static global::System.Reflection.MethodInfo processMessageMethod;
183
184 [global::Cpp2ILInjected.Token(Token = "0x4000EC1")]
185 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
186 private int _domainID;
187
188 [global::Cpp2ILInjected.Token(Token = "0x2000379")]
189 private struct ProcessMessageRes
190 {
191 [global::Cpp2ILInjected.Token(Token = "0x4000EC2")]
192 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
193 public byte[] arrResponse;
194
195 [global::Cpp2ILInjected.Token(Token = "0x4000EC3")]
196 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
197 public global::System.Runtime.Remoting.Messaging.CADMethodReturnMessage cadMrm;
198 }
199 }
200}
class f__AnonymousType0<< Count > j__TPar
virtual global::System.Runtime.Remoting.Messaging.IMessageCtrl AsyncProcessMessage(global::System.Runtime.Remoting.Messaging.IMessage reqMsg, global::System.Runtime.Remoting.Messaging.IMessageSink replySink)
static CrossAppDomainSink GetSink(int domainID)
static CrossAppDomainSink.ProcessMessageRes ProcessMessageInDomain(byte[] arrRequest, global::System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg)
static global::System.Reflection.MethodInfo processMessageMethod
void< AsyncProcessMessage > b__10_0(object data)
virtual global::System.Runtime.Remoting.Messaging.IMessage SyncProcessMessage(global::System.Runtime.Remoting.Messaging.IMessage msgRequest)
static global::System.Collections.Hashtable s_sinks
global::System.Runtime.Remoting.Messaging.CADMethodReturnMessage cadMrm