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
IOUtil.cs
Go to the documentation of this file.
1using System;
2using System.IO;
4
6{
7 // Token: 0x02000400 RID: 1024
8 internal static class IOUtil
9 {
10 // Token: 0x06001FD1 RID: 8145 RVA: 0x0000207A File Offset: 0x0000027A
11 internal static bool FlagTest(MessageEnum flag, MessageEnum target)
12 {
13 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
14 }
15
16 // Token: 0x06001FD2 RID: 8146 RVA: 0x00045D64 File Offset: 0x00043F64
17 internal static void WriteStringWithCode(string value, __BinaryWriter sout)
18 {
19 BinaryWriter dataWriter = sout.dataWriter;
20 if (value != null)
21 {
23 return;
24 }
25 }
26
27 // Token: 0x06001FD3 RID: 8147 RVA: 0x00045D84 File Offset: 0x00043F84
28 internal static void WriteWithCode(Type type, object value, __BinaryWriter sout)
29 {
30 if (type != null)
31 {
32 if (!true)
33 {
34 }
35 if (!true)
36 {
37 }
39 BinaryWriter dataWriter = sout.dataWriter;
41 return;
42 }
44 }
45 }
46}
class f__AnonymousType0<< Count > j__TPar
static InternalPrimitiveTypeE ToCode(Type type)
Definition Converter.cs:12
static void WriteWithCode(Type type, object value, __BinaryWriter sout)
Definition IOUtil.cs:28
static bool FlagTest(MessageEnum flag, MessageEnum target)
Definition IOUtil.cs:11
static void WriteStringWithCode(string value, __BinaryWriter sout)
Definition IOUtil.cs:17
void WriteValue(InternalPrimitiveTypeE code, object value)