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
ScatterGatherBuffers.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Net
6{
7 [global::Cpp2ILInjected.Token(Token = "0x20001FB")]
8 internal class ScatterGatherBuffers
9 {
10 [global::Cpp2ILInjected.Token(Token = "0x6000C74")]
11 [global::Cpp2ILInjected.Address(RVA = "0x1F2800C", Offset = "0x1F2800C", Length = "0x10")]
12 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
13 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
15 {
16 throw null;
17 }
18
19 [global::Cpp2ILInjected.Token(Token = "0x6000C75")]
20 [global::Cpp2ILInjected.Address(RVA = "0x1F2801C", Offset = "0x1F2801C", Length = "0x4C")]
21 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ScatterGatherBuffers), Member = "AllocateMemoryChunk", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(ScatterGatherBuffers.MemoryChunk))]
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x6000C76")]
31 [global::Cpp2ILInjected.Address(RVA = "0x1F28100", Offset = "0x1F28100", Length = "0x12C")]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
36 {
37 throw null;
38 }
39
40 [global::Cpp2ILInjected.Token(Token = "0x1700028B")]
41 private bool Empty
42 {
43 [global::Cpp2ILInjected.Token(Token = "0x6000C77")]
44 [global::Cpp2ILInjected.Address(RVA = "0x1F2822C", Offset = "0x1F2822C", Length = "0x20")]
45 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
47 get
48 {
49 throw null;
50 }
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x1700028C")]
54 internal int Length
55 {
56 [global::Cpp2ILInjected.Token(Token = "0x6000C78")]
57 [global::Cpp2ILInjected.Address(RVA = "0x1F2824C", Offset = "0x1F2824C", Length = "0x8")]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
59 get
60 {
61 throw null;
62 }
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x6000C79")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1F28254", Offset = "0x1F28254", Length = "0xCC")]
67 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ScatterGatherBuffers), Member = "AllocateMemoryChunk", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(ScatterGatherBuffers.MemoryChunk))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Buffer), Member = "BlockCopy", MemberParameters = new object[]
71 {
73 typeof(int),
75 typeof(int),
76 typeof(int)
77 }, ReturnType = typeof(void))]
78 internal void Write(byte[] buffer, int offset, int count)
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x6000C7A")]
84 [global::Cpp2ILInjected.Address(RVA = "0x1F28068", Offset = "0x1F28068", Length = "0x98")]
85 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ScatterGatherBuffers), Member = ".ctor", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ScatterGatherBuffers), Member = "Write", MemberParameters = new object[]
88 {
89 typeof(byte[]),
90 typeof(int),
91 typeof(int)
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ScatterGatherBuffers.MemoryChunk), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
97 {
98 throw null;
99 }
100
101 [global::Cpp2ILInjected.Token(Token = "0x4000AB0")]
102 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
104
105 [global::Cpp2ILInjected.Token(Token = "0x4000AB1")]
106 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
108
109 [global::Cpp2ILInjected.Token(Token = "0x4000AB2")]
110 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
111 private int nextChunkLength;
112
113 [global::Cpp2ILInjected.Token(Token = "0x4000AB3")]
114 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
115 private int totalLength;
116
117 [global::Cpp2ILInjected.Token(Token = "0x4000AB4")]
118 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
119 private int chunkCount;
120
121 [global::Cpp2ILInjected.Token(Token = "0x20001FC")]
122 private class MemoryChunk
123 {
124 [global::Cpp2ILInjected.Token(Token = "0x6000C7B")]
125 [global::Cpp2ILInjected.Address(RVA = "0x1F28320", Offset = "0x1F28320", Length = "0x68")]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ScatterGatherBuffers), Member = "AllocateMemoryChunk", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(ScatterGatherBuffers.MemoryChunk))]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
129 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
130 internal MemoryChunk(int bufferSize)
131 {
132 throw null;
133 }
134
135 [global::Cpp2ILInjected.Token(Token = "0x4000AB5")]
136 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
137 internal byte[] Buffer;
138
139 [global::Cpp2ILInjected.Token(Token = "0x4000AB6")]
140 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
141 internal int FreeOffset;
142
143 [global::Cpp2ILInjected.Token(Token = "0x4000AB7")]
144 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
146 }
147 }
148}
class f__AnonymousType0<< Count > j__TPar
ScatterGatherBuffers.MemoryChunk currentChunk
void Write(byte[] buffer, int offset, int count)
ScatterGatherBuffers.MemoryChunk AllocateMemoryChunk(int newSize)
ScatterGatherBuffers.MemoryChunk headChunk