terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ CheckOS()

static void System.Platform.CheckOS ( )
inlinestaticprivate

Definition at line 13 of file Platform.cs.

14 {
16 if (platform == PlatformID.Win32S)
17 {
18 }
20 if (global::System.Platform.uname(intPtr) == 0)
21 {
22 if (platform == PlatformID.Win32S)
23 {
24 }
26 bool flag = text == "Darwin";
27 return;
28 }
30 }
class f__AnonymousType0<< Count > j__TPar
static OperatingSystem OSVersion
readonly PlatformID _platform
static int uname(IntPtr buf)
static string PtrToStringAnsi(IntPtr ptr)
Definition Marshal.cs:238
static void FreeHGlobal(IntPtr hglobal)
Definition Marshal.cs:139
static IntPtr AllocHGlobal(IntPtr cb)
Definition Marshal.cs:17

References System.OperatingSystem._platform, System.Runtime.InteropServices.Marshal.AllocHGlobal(), System.Runtime.InteropServices.Marshal.FreeHGlobal(), j__TPar, System.Environment.OSVersion, System.Runtime.InteropServices.Marshal.PtrToStringAnsi(), System.text, and System.Platform.uname().