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
Semaphore.cs
Go to the documentation of this file.
1using System;
2using System.Net;
7
8namespace System.Threading
9{
10 [ComVisible(false)]
11 [global::Cpp2ILInjected.Token(Token = "0x20000A1")]
12 public sealed class Semaphore : WaitHandle
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x60002D5")]
15 [global::Cpp2ILInjected.Address(RVA = "0x1EA80EC", Offset = "0x1EA80EC", Length = "0x58")]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Semaphore), Member = ".ctor", MemberParameters = new object[]
17 {
18 typeof(int),
19 typeof(int)
20 }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x60002D6")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1EA8144", Offset = "0x1EA8144", Length = "0x4")]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
33 [MethodImpl(4096)]
34 private unsafe static extern IntPtr CreateSemaphore_icall(int initialCount, int maximumCount, char* name, int name_length, out int errorCode);
35
36 [global::Cpp2ILInjected.Token(Token = "0x60002D7")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1EA8148", Offset = "0x1EA8148", Length = "0x4")]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Semaphore), Member = "ReleaseSemaphore", ReturnType = typeof(bool))]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
41 [MethodImpl(4096)]
42 internal static extern bool ReleaseSemaphore_internal(IntPtr handle, int releaseCount, out int previousCount);
43 }
44}
class f__AnonymousType0<< Count > j__TPar
static unsafe IntPtr CreateSemaphore_icall(int initialCount, int maximumCount, char *name, int name_length, out int errorCode)
static IntPtr CreateSemaphore_internal(int initialCount, int maximumCount, string name, out int errorCode)
Definition Semaphore.cs:24
static bool ReleaseSemaphore_internal(IntPtr handle, int releaseCount, out int previousCount)