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
RuntimeMarshal.cs
Go to the documentation of this file.
1using System;
5using System.Text;
8
9namespace Mono
10{
11 [global::Cpp2ILInjected.Token(Token = "0x2000019")]
12 internal static class RuntimeMarshal
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x600005C")]
15 [global::Cpp2ILInjected.Address(RVA = "0x1AAB40C", Offset = "0x1AAB40C", Length = "0xE4")]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Reflection.AssemblyName), Member = "FillName", MemberParameters = new object[]
17 {
18 typeof(MonoAssemblyName*),
19 typeof(string),
20 typeof(bool),
21 typeof(bool),
22 typeof(bool),
23 typeof(bool)
24 }, ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Equality", MemberParameters = new object[]
27 {
28 typeof(global::System.IntPtr),
29 typeof(global::System.IntPtr)
30 }, ReturnType = typeof(bool))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void*))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.Encoding), Member = "get_UTF8", ReturnType = typeof(global::System.Text.Encoding))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[]
34 {
35 typeof(sbyte*),
36 typeof(int),
37 typeof(int),
38 typeof(global::System.Text.Encoding)
39 }, ReturnType = typeof(string))]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
41 internal unsafe static string PtrToUtf8String(global::System.IntPtr ptr)
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x600005D")]
47 [global::Cpp2ILInjected.Address(RVA = "0x1AAB4F0", Offset = "0x1AAB4F0", Length = "0x50")]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Environment), Member = "internalGetEnvironmentVariable", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Reflection.AssemblyName), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
51 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
52 internal static SafeStringMarshal MarshalString(string str)
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x600005E")]
58 [global::Cpp2ILInjected.Address(RVA = "0x1AAB5A0", Offset = "0x1AAB5A0", Length = "0x80")]
59 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RuntimeMarshal), Member = "DecodeBlobArray", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(byte[]))]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void*))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(void*) }, ReturnType = typeof(global::System.IntPtr))]
64 private unsafe static int DecodeBlobSize(global::System.IntPtr in_ptr, out global::System.IntPtr out_ptr)
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x600005F")]
70 [global::Cpp2ILInjected.Address(RVA = "0x1AAB620", Offset = "0x1AAB620", Length = "0xB8")]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Reflection.AssemblyName), Member = "FillName", MemberParameters = new object[]
72 {
74 typeof(string),
75 typeof(bool),
76 typeof(bool),
77 typeof(bool),
78 typeof(bool)
79 }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeMarshal), Member = "DecodeBlobSize", MemberParameters = new object[]
82 {
83 typeof(global::System.IntPtr),
84 typeof(ref global::System.IntPtr)
85 }, ReturnType = typeof(int))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.Marshal), Member = "Copy", MemberParameters = new object[]
87 {
88 typeof(global::System.IntPtr),
89 typeof(byte[]),
90 typeof(int),
91 typeof(int)
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
94 internal unsafe static byte[] DecodeBlobArray(global::System.IntPtr ptr)
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x6000060")]
100 [global::Cpp2ILInjected.Address(RVA = "0x1AAB6D8", Offset = "0x1AAB6D8", Length = "0x2C")]
101 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Reflection.AssemblyName), Member = "FillName", MemberParameters = new object[]
103 {
104 typeof(MonoAssemblyName*),
105 typeof(string),
106 typeof(bool),
107 typeof(bool),
108 typeof(bool),
109 typeof(bool)
110 }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
112 internal unsafe static int AsciHexDigitValue(int c)
113 {
114 throw null;
115 }
116
117 [global::Cpp2ILInjected.Token(Token = "0x6000061")]
118 [global::Cpp2ILInjected.Address(RVA = "0x1AAB704", Offset = "0x1AAB704", Length = "0x8")]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Reflection.AssemblyName), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
121 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
122 [MethodImpl(4096)]
123 internal static extern void FreeAssemblyName(ref MonoAssemblyName name, bool freeStruct);
124 }
125}
class f__AnonymousType0<< Count > j__TPar
static unsafe int DecodeBlobSize(global::System.IntPtr in_ptr, out global::System.IntPtr out_ptr)
static unsafe string PtrToUtf8String(global::System.IntPtr ptr)
static unsafe int AsciHexDigitValue(int c)
static SafeStringMarshal MarshalString(string str)
static unsafe byte[] DecodeBlobArray(global::System.IntPtr ptr)
static void FreeAssemblyName(ref MonoAssemblyName name, bool freeStruct)