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
WindowsImpersonationContext.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::System.Runtime.InteropServices.ComVisible(true)]
10 [global::Cpp2ILInjected.Token(Token = "0x200032C")]
11 public class WindowsImpersonationContext : global::System.IDisposable
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6001B69")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1B1F50C", Offset = "0x1B1F50C", Length = "0x88")]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WindowsIdentity), Member = "Impersonate", ReturnType = typeof(WindowsImpersonationContext))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
20 internal WindowsImpersonationContext(global::System.IntPtr token)
21 {
22 throw null;
23 }
24
25 [global::System.Runtime.InteropServices.ComVisible(false)]
26 [global::Cpp2ILInjected.Token(Token = "0x6001B6A")]
27 [global::Cpp2ILInjected.Address(RVA = "0x1B1FBEC", Offset = "0x1B1FBEC", Length = "0x10")]
28 [global::Cpp2ILInjected.CallAnalysis.ContainsInvalidInstructions]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
30 public void Dispose()
31 {
32 throw null;
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x6001B6B")]
36 [global::Cpp2ILInjected.Address(RVA = "0x1B1FBFC", Offset = "0x1B1FBFC", Length = "0xC0")]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
41 public void Undo()
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x6001B6C")]
47 [global::Cpp2ILInjected.Address(RVA = "0x1B1FCC0", Offset = "0x1B1FCC0", Length = "0x4")]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
49 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
50 [MethodImpl(4096)]
51 private static extern bool CloseToken(global::System.IntPtr token);
52
53 [global::Cpp2ILInjected.Token(Token = "0x6001B6D")]
54 [global::Cpp2ILInjected.Address(RVA = "0x1B1FBE4", Offset = "0x1B1FBE4", Length = "0x4")]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
57 [MethodImpl(4096)]
58 private static extern global::System.IntPtr DuplicateToken(global::System.IntPtr token);
59
60 [global::Cpp2ILInjected.Token(Token = "0x6001B6E")]
61 [global::Cpp2ILInjected.Address(RVA = "0x1B1FBE8", Offset = "0x1B1FBE8", Length = "0x4")]
62 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
64 [MethodImpl(4096)]
65 private static extern bool SetCurrentToken(global::System.IntPtr token);
66
67 [global::Cpp2ILInjected.Token(Token = "0x6001B6F")]
68 [global::Cpp2ILInjected.Address(RVA = "0x1B1FCBC", Offset = "0x1B1FCBC", Length = "0x4")]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
70 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
71 [MethodImpl(4096)]
72 private static extern bool RevertToSelf();
73
74 [global::Cpp2ILInjected.Token(Token = "0x4000DF5")]
75 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
76 private global::System.IntPtr _token;
77
78 [global::Cpp2ILInjected.Token(Token = "0x4000DF6")]
79 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
80 private bool undo;
81 }
82}
class f__AnonymousType0<< Count > j__TPar
static global::System.IntPtr DuplicateToken(global::System.IntPtr token)
static bool CloseToken(global::System.IntPtr token)
static bool SetCurrentToken(global::System.IntPtr token)