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
RegisteredWaitHandle.cs
Go to the documentation of this file.
1using System;
6
7namespace System.Threading
8{
9 [global::System.Runtime.InteropServices.ComVisible(true)]
10 [global::Cpp2ILInjected.Token(Token = "0x200020D")]
11 public sealed class RegisteredWaitHandle : global::System.MarshalByRefObject
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x60012A9")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1CA03F8", Offset = "0x1CA03F8", Length = "0xAC")]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "RegisterWaitForSingleObject", MemberParameters = new object[]
16 {
18 typeof(WaitOrTimerCallback),
19 typeof(object),
20 typeof(uint),
21 typeof(bool),
23 typeof(bool)
24 }, ReturnType = typeof(RegisteredWaitHandle))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.MarshalByRefObject), Member = ".ctor", ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEvent), Member = ".ctor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
29 internal RegisteredWaitHandle(WaitHandle waitObject, WaitOrTimerCallback callback, object state, global::System.TimeSpan timeout, bool executeOnlyOnce)
30 {
31 throw null;
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x60012AA")]
35 [global::Cpp2ILInjected.Address(RVA = "0x1CA1C18", Offset = "0x1CA1C18", Length = "0x4C4")]
36 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "get_SafeWaitHandle", ReturnType = typeof(Microsoft.Win32.SafeHandles.SafeWaitHandle))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "WaitAny", MemberParameters = new object[]
41 {
43 typeof(global::System.TimeSpan),
44 typeof(bool)
45 }, ReturnType = typeof(int))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
47 {
48 typeof(object),
49 typeof(ref bool)
50 }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitCallback), Member = ".ctor", MemberParameters = new object[]
53 {
54 typeof(object),
55 typeof(global::System.IntPtr)
56 }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "QueueUserWorkItem", MemberParameters = new object[]
58 {
59 typeof(WaitCallback),
60 typeof(object)
61 }, ReturnType = typeof(bool))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NativeEventCalls), Member = "SetEvent", MemberParameters = new object[] { typeof(Microsoft.Win32.SafeHandles.SafeWaitHandle) }, ReturnType = typeof(bool))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 44)]
65 internal void Wait(object state)
66 {
67 throw null;
68 }
69
70 [global::Cpp2ILInjected.Token(Token = "0x60012AB")]
71 [global::Cpp2ILInjected.Address(RVA = "0x1CA20DC", Offset = "0x1CA20DC", Length = "0xFC")]
72 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
74 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
75 private void DoCallBack(object timedOut)
76 {
77 throw null;
78 }
79
80 [global::System.Runtime.InteropServices.ComVisible(true)]
81 [global::Cpp2ILInjected.Token(Token = "0x60012AC")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1CA21D8", Offset = "0x1CA21D8", Length = "0xE4")]
83 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "StopWatchingForExit", ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
87 {
88 typeof(object),
89 typeof(ref bool)
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Set", ReturnType = typeof(bool))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x40009DA")]
100 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
102
103 [global::Cpp2ILInjected.Token(Token = "0x40009DB")]
104 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
105 private WaitOrTimerCallback _callback;
106
107 [global::Cpp2ILInjected.Token(Token = "0x40009DC")]
108 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
109 private object _state;
110
111 [global::Cpp2ILInjected.Token(Token = "0x40009DD")]
112 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
114
115 [global::Cpp2ILInjected.Token(Token = "0x40009DE")]
116 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
118
119 [global::Cpp2ILInjected.Token(Token = "0x40009DF")]
120 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
121 private global::System.TimeSpan _timeout;
122
123 [global::Cpp2ILInjected.Token(Token = "0x40009E0")]
124 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
125 private int _callsInProcess;
126
127 [global::Cpp2ILInjected.Token(Token = "0x40009E1")]
128 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4C")]
129 private bool _executeOnlyOnce;
130
131 [global::Cpp2ILInjected.Token(Token = "0x40009E2")]
132 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4D")]
133 private bool _unregistered;
134 }
135}
class f__AnonymousType0<< Count > j__TPar
RegisteredWaitHandle(WaitHandle waitObject, WaitOrTimerCallback callback, object state, global::System.TimeSpan timeout, bool executeOnlyOnce)