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
Platform.cs
Go to the documentation of this file.
1using System;
6
7namespace System
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200009E")]
10 internal static class Platform
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x60002C6")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1EA75F0", Offset = "0x1EA75F0", Length = "0x7C")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Platform), Member = "CheckOS", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
18 [PreserveSig]
19 private static extern int uname(IntPtr buf);
20
21 [global::Cpp2ILInjected.Token(Token = "0x60002C7")]
22 [global::Cpp2ILInjected.Address(RVA = "0x1EA766C", Offset = "0x1EA766C", Length = "0x204")]
23 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Platform), Member = "get_IsMacOS", ReturnType = typeof(bool))]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Platform), Member = "get_IsFreeBSD", ReturnType = typeof(bool))]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Platform), Member = "get_IsOpenBSD", ReturnType = typeof(bool))]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Platform), Member = "get_IsIBMi", ReturnType = typeof(bool))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Platform), Member = "get_IsAix", ReturnType = typeof(bool))]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Environment), Member = "get_OSVersion", ReturnType = typeof(OperatingSystem))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "AllocHGlobal", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(IntPtr))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Platform), Member = "uname", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(int))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "PtrToStringAnsi", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(string))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
35 {
36 typeof(string),
37 typeof(string)
38 }, ReturnType = typeof(bool))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "FreeHGlobal", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
41 private static void CheckOS()
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x17000092")]
47 public static bool IsMacOS
48 {
49 [global::Cpp2ILInjected.Token(Token = "0x60002C8")]
50 [global::Cpp2ILInjected.Address(RVA = "0x1EA7870", Offset = "0x1EA7870", Length = "0xE0")]
51 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
52 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Platform), Member = "CheckOS", ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
55 get
56 {
57 throw null;
58 }
59 }
60
61 [global::Cpp2ILInjected.Token(Token = "0x17000093")]
62 public static bool IsFreeBSD
63 {
64 [global::Cpp2ILInjected.Token(Token = "0x60002C9")]
65 [global::Cpp2ILInjected.Address(RVA = "0x1EA7950", Offset = "0x1EA7950", Length = "0x5C")]
66 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Platform), Member = "CheckOS", ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
69 get
70 {
71 throw null;
72 }
73 }
74
75 [global::Cpp2ILInjected.Token(Token = "0x17000094")]
76 public static bool IsOpenBSD
77 {
78 [global::Cpp2ILInjected.Token(Token = "0x60002CA")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1EA79AC", Offset = "0x1EA79AC", Length = "0x5C")]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnixNetworkInterfaceFactoryPal), Member = "Create", ReturnType = typeof(NetworkInterfaceFactory))]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Platform), Member = "CheckOS", ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
84 get
85 {
86 throw null;
87 }
88 }
89
90 [global::Cpp2ILInjected.Token(Token = "0x17000095")]
91 public static bool IsIBMi
92 {
93 [global::Cpp2ILInjected.Token(Token = "0x60002CB")]
94 [global::Cpp2ILInjected.Address(RVA = "0x1EA7A08", Offset = "0x1EA7A08", Length = "0x5C")]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnixNetworkInterfaceFactoryPal), Member = "Create", ReturnType = typeof(NetworkInterfaceFactory))]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Platform), Member = "CheckOS", ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
99 get
100 {
101 throw null;
102 }
103 }
104
105 [global::Cpp2ILInjected.Token(Token = "0x17000096")]
106 public static bool IsAix
107 {
108 [global::Cpp2ILInjected.Token(Token = "0x60002CC")]
109 [global::Cpp2ILInjected.Address(RVA = "0x1EA7A64", Offset = "0x1EA7A64", Length = "0x5C")]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnixNetworkInterfaceFactoryPal), Member = "Create", ReturnType = typeof(NetworkInterfaceFactory))]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Platform), Member = "CheckOS", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
114 get
115 {
116 throw null;
117 }
118 }
119
120 [global::Cpp2ILInjected.Token(Token = "0x4000270")]
121 private static bool checkedOS;
122
123 [global::Cpp2ILInjected.Token(Token = "0x4000271")]
124 private static bool isMacOS;
125
126 [global::Cpp2ILInjected.Token(Token = "0x4000272")]
127 private static bool isAix;
128
129 [global::Cpp2ILInjected.Token(Token = "0x4000273")]
130 private static bool isIBMi;
131
132 [global::Cpp2ILInjected.Token(Token = "0x4000274")]
133 private static bool isFreeBSD;
134
135 [global::Cpp2ILInjected.Token(Token = "0x4000275")]
136 private static bool isOpenBSD;
137 }
138}
class f__AnonymousType0<< Count > j__TPar
static void CheckOS()
Definition Platform.cs:41
static bool isFreeBSD
Definition Platform.cs:133
static bool isAix
Definition Platform.cs:127
static bool IsAix
Definition Platform.cs:107
static bool isOpenBSD
Definition Platform.cs:136
static bool IsFreeBSD
Definition Platform.cs:63
static int uname(IntPtr buf)
static bool isMacOS
Definition Platform.cs:124
static bool checkedOS
Definition Platform.cs:121
static bool IsIBMi
Definition Platform.cs:92
static bool IsOpenBSD
Definition Platform.cs:77
static bool IsMacOS
Definition Platform.cs:48
static bool isIBMi
Definition Platform.cs:130