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
CachedBuffer.cs
Go to the documentation of this file.
1using System;
2using System.IO;
5using Terraria.Net;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200061B")]
10 public class CachedBuffer
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x17000689")]
13 public int Length
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x60035C1")]
16 [global::Cpp2ILInjected.Address(RVA = "0x13DB6DC", Offset = "0x13DB6DC", Length = "0xC")]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
18 get
19 {
20 throw null;
21 }
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x1700068A")]
25 public bool IsActive
26 {
27 [global::Cpp2ILInjected.Token(Token = "0x60035C2")]
28 [global::Cpp2ILInjected.Address(RVA = "0x13DBA44", Offset = "0x13DBA44", Length = "0x8")]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
30 get
31 {
32 throw null;
33 }
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x60035C3")]
37 [global::Cpp2ILInjected.Address(RVA = "0x13DB36C", Offset = "0x13DB36C", Length = "0xEC")]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BufferPool), Member = "Request", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(CachedBuffer))]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MemoryStream), Member = ".ctor", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryWriter), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryReader), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
45 public CachedBuffer(byte[] data)
46 {
47 throw null;
48 }
49
50 [global::Cpp2ILInjected.Token(Token = "0x60035C4")]
51 [global::Cpp2ILInjected.Address(RVA = "0x13DB458", Offset = "0x13DB458", Length = "0x34")]
52 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
53 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
55 {
56 throw null;
57 }
58
59 [global::Cpp2ILInjected.Token(Token = "0x60035C5")]
60 [global::Cpp2ILInjected.Address(RVA = "0x13DBA4C", Offset = "0x13DBA4C", Length = "0x6C")]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetManager), Member = "SendCallback", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetPacket), Member = "Recycle", ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BufferPool), Member = "Recycle", MemberParameters = new object[] { typeof(CachedBuffer) }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
66 public void Recycle()
67 {
68 throw null;
69 }
70
71 [global::Cpp2ILInjected.Token(Token = "0x400769A")]
72 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
73 public readonly byte[] Data;
74
75 [global::Cpp2ILInjected.Token(Token = "0x400769B")]
76 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
78
79 [global::Cpp2ILInjected.Token(Token = "0x400769C")]
80 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
82
83 [global::Cpp2ILInjected.Token(Token = "0x400769D")]
84 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
86
87 [global::Cpp2ILInjected.Token(Token = "0x400769E")]
88 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
89 private bool _isActive;
90 }
91}
class f__AnonymousType0<< Count > j__TPar
readonly MemoryStream _memoryStream