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
Bootstring.cs
Go to the documentation of this file.
1using System;
2using System.Text;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x20005C4")]
9 internal class Bootstring
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6002D2E")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1C03F50", Offset = "0x1C03F50", Length = "0x6C")]
13 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
16 public Bootstring(char delimiter, int baseNum, int tmin, int tmax, int skew, int damp, int initialBias, int initialN)
17 {
18 throw null;
19 }
20
21 [global::Cpp2ILInjected.Token(Token = "0x6002D2F")]
22 [global::Cpp2ILInjected.Address(RVA = "0x1C03528", Offset = "0x1C03528", Length = "0x338")]
23 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IdnMapping), Member = "ToAscii", MemberParameters = new object[]
25 {
26 typeof(string),
27 typeof(int)
28 }, ReturnType = typeof(string))]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = ".ctor", ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(global::System.Text.StringBuilder))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "get_Length", ReturnType = typeof(int))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Bootstring), Member = "Adapt", MemberParameters = new object[]
35 {
36 typeof(int),
37 typeof(int),
38 typeof(bool)
39 }, ReturnType = typeof(int))]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
41 public string Encode(string s, int offset)
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x6002D30")]
47 [global::Cpp2ILInjected.Address(RVA = "0x1C03FBC", Offset = "0x1C03FBC", Length = "0x18")]
48 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
50 private char EncodeDigit(int d)
51 {
52 throw null;
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x6002D31")]
56 [global::Cpp2ILInjected.Address(RVA = "0x1C0404C", Offset = "0x1C0404C", Length = "0x38")]
57 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
59 private int DecodeDigit(char c)
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x6002D32")]
65 [global::Cpp2ILInjected.Address(RVA = "0x1C03FD4", Offset = "0x1C03FD4", Length = "0x78")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Bootstring), Member = "Encode", MemberParameters = new object[]
68 {
69 typeof(string),
70 typeof(int)
71 }, ReturnType = typeof(string))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Bootstring), Member = "Decode", MemberParameters = new object[]
73 {
74 typeof(string),
75 typeof(int)
76 }, ReturnType = typeof(string))]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
78 private int Adapt(int delta, int numPoints, bool firstTime)
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x6002D33")]
84 [global::Cpp2ILInjected.Address(RVA = "0x1C03C74", Offset = "0x1C03C74", Length = "0x2DC")]
85 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IdnMapping), Member = "ToUnicode", MemberParameters = new object[]
87 {
88 typeof(string),
89 typeof(int)
90 }, ReturnType = typeof(string))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = ".ctor", ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "Append", MemberParameters = new object[]
95 {
96 typeof(string),
97 typeof(int),
98 typeof(int)
99 }, ReturnType = typeof(global::System.Text.StringBuilder))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "get_Length", ReturnType = typeof(int))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Bootstring), Member = "Adapt", MemberParameters = new object[]
102 {
103 typeof(int),
104 typeof(int),
105 typeof(bool)
106 }, ReturnType = typeof(int))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "Insert", MemberParameters = new object[]
108 {
109 typeof(int),
110 typeof(char)
111 }, ReturnType = typeof(global::System.Text.StringBuilder))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
113 {
114 typeof(string),
115 typeof(object)
116 }, ReturnType = typeof(string))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
119 public string Decode(string s, int offset)
120 {
121 throw null;
122 }
123
124 [global::Cpp2ILInjected.Token(Token = "0x400193B")]
125 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
126 private readonly char delimiter;
127
128 [global::Cpp2ILInjected.Token(Token = "0x400193C")]
129 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
130 private readonly int base_num;
131
132 [global::Cpp2ILInjected.Token(Token = "0x400193D")]
133 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
134 private readonly int tmin;
135
136 [global::Cpp2ILInjected.Token(Token = "0x400193E")]
137 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
138 private readonly int tmax;
139
140 [global::Cpp2ILInjected.Token(Token = "0x400193F")]
141 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
142 private readonly int skew;
143
144 [global::Cpp2ILInjected.Token(Token = "0x4001940")]
145 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
146 private readonly int damp;
147
148 [global::Cpp2ILInjected.Token(Token = "0x4001941")]
149 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
151
152 [global::Cpp2ILInjected.Token(Token = "0x4001942")]
153 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
154 private readonly int initial_n;
155 }
156}
class f__AnonymousType0<< Count > j__TPar
Bootstring(char delimiter, int baseNum, int tmin, int tmax, int skew, int damp, int initialBias, int initialN)
Definition Bootstring.cs:16
string Decode(string s, int offset)
string Encode(string s, int offset)
Definition Bootstring.cs:41
int Adapt(int delta, int numPoints, bool firstTime)
Definition Bootstring.cs:78