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
CrashDump.cs
Go to the documentation of this file.
1using System;
5
6namespace Terraria.Utilities
7{
8 // Token: 0x020004F2 RID: 1266
9 public static class CrashDump
10 {
11 // Token: 0x060030AA RID: 12458 RVA: 0x001F6BEC File Offset: 0x001F4DEC
12 public static bool WriteException(CrashDump.Options options, string outputDirectory = ".")
13 {
14 }
15
16 // Token: 0x060030AB RID: 12459 RVA: 0x001F6BFC File Offset: 0x001F4DFC
17 public static bool Write(CrashDump.Options options, string outputDirectory = ".")
18 {
19 }
20
21 // Token: 0x060030AC RID: 12460 RVA: 0x001F6C0C File Offset: 0x001F4E0C
22 private static string CreateDumpName()
23 {
24 if (!true)
25 {
26 }
27 DateTime dateTime = DateTime.Now.ToLocalTime();
29 string text;
30 if (text == null || text != null)
31 {
32 int managedThreadId = Thread.CurrentThread.ManagedThreadId;
33 string text2;
34 return text2;
35 }
37 }
38
39 // Token: 0x060030AD RID: 12461 RVA: 0x001F6C50 File Offset: 0x001F4E50
43
44 // Token: 0x060030AE RID: 12462 RVA: 0x001F6C60 File Offset: 0x001F4E60
48
49 // Token: 0x020004F3 RID: 1267
50 [Flags]
51 public enum Options : uint
52 {
53 // Token: 0x04003AA7 RID: 15015
54 Normal = 0U,
55 // Token: 0x04003AA8 RID: 15016
56 WithDataSegs = 1U,
57 // Token: 0x04003AA9 RID: 15017
59 // Token: 0x04003AAA RID: 15018
61 // Token: 0x04003AAB RID: 15019
62 FilterMemory = 8U,
63 // Token: 0x04003AAC RID: 15020
64 ScanMemory = 16U,
65 // Token: 0x04003AAD RID: 15021
67 // Token: 0x04003AAE RID: 15022
69 // Token: 0x04003AAF RID: 15023
71 // Token: 0x04003AB0 RID: 15024
73 // Token: 0x04003AB1 RID: 15025
75 // Token: 0x04003AB2 RID: 15026
77 // Token: 0x04003AB3 RID: 15027
79 // Token: 0x04003AB4 RID: 15028
80 WithThreadInfo = 4096U,
81 // Token: 0x04003AB5 RID: 15029
82 WithCodeSegs = 8192U,
83 // Token: 0x04003AB6 RID: 15030
85 // Token: 0x04003AB7 RID: 15031
87 // Token: 0x04003AB8 RID: 15032
89 // Token: 0x04003AB9 RID: 15033
91 // Token: 0x04003ABA RID: 15034
92 ValidTypeFlags = 262143U
93 }
94
95 // Token: 0x020004F4 RID: 1268
96 private enum ExceptionInfo
97 {
98 // Token: 0x04003ABC RID: 15036
99 None,
100 // Token: 0x04003ABD RID: 15037
101 Present
102 }
103
104 // Token: 0x020004F5 RID: 1269
105 [StructLayout(0, Pack = 4, Size = 16)]
107 {
108 // Token: 0x04003ABE RID: 15038
109 public uint ThreadId;
110
111 // Token: 0x04003ABF RID: 15039
113
114 // Token: 0x04003AC0 RID: 15040
115 public bool ClientPointers;
116 }
117 }
118}
class f__AnonymousType0<< Count > j__TPar
static CultureInfo InvariantCulture
static Thread CurrentThread
Definition Thread.cs:381
static bool Write(CrashDump.Options options, string outputDirectory=".")
Definition CrashDump.cs:17
static string CreateDumpName()
Definition CrashDump.cs:22
static bool Write(SafeHandle fileHandle, CrashDump.Options options, CrashDump.ExceptionInfo exceptionInfo)
Definition CrashDump.cs:45
static bool WriteException(CrashDump.Options options, string outputDirectory=".")
Definition CrashDump.cs:12
static bool Write(CrashDump.Options options, CrashDump.ExceptionInfo exceptionInfo, string outputDirectory)
Definition CrashDump.cs:40
static DateTime Now
Definition DateTime.cs:530
DateTime ToLocalTime()
Definition DateTime.cs:801