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
BigNumber.cs
Go to the documentation of this file.
1using System;
3using System.Text;
6
7namespace System.Numerics
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000005")]
10 internal static class BigNumber
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6000026")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1D56EC4", Offset = "0x1D56EC4", Length = "0xEC")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigNumber), Member = "FormatBigInteger", MemberParameters = new object[]
16 {
17 typeof(bool),
19 typeof(string),
23 typeof(ref int),
24 typeof(ref bool)
25 }, ReturnType = typeof(string))]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
27 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
28 internal static char ParseFormatSpecifier(ReadOnlySpan<char> format, out int digits)
29 {
30 throw null;
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x6000027")]
34 [global::Cpp2ILInjected.Address(RVA = "0x1D56FB0", Offset = "0x1D56FB0", Length = "0x5A4")]
35 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigNumber), Member = "FormatBigInteger", MemberParameters = new object[]
37 {
38 typeof(bool),
40 typeof(string),
44 typeof(ref int),
45 typeof(ref bool)
46 }, ReturnType = typeof(string))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BigInteger), Member = "TryGetBytes", MemberParameters = new object[]
49 {
50 "System.Numerics.BigInteger.GetBytesMode",
52 typeof(bool),
53 typeof(bool),
54 typeof(ref int)
55 }, ReturnType = typeof(byte[]))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "Grow", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "Insert", MemberParameters = new object[]
61 {
62 typeof(int),
63 typeof(char),
64 typeof(int)
65 }, ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "TryCopyTo", MemberParameters = new object[]
67 {
69 typeof(ref int)
70 }, ReturnType = typeof(bool))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "ToString", ReturnType = typeof(string))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "GrowAndAppend", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 30)]
75 {
76 throw null;
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x6000028")]
80 [global::Cpp2ILInjected.Address(RVA = "0x1D55DD4", Offset = "0x1D55DD4", Length = "0xAC")]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigInteger), Member = "ToString", MemberParameters = new object[]
82 {
83 typeof(string),
85 }, ReturnType = typeof(string))]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BigNumber), Member = "FormatBigInteger", MemberParameters = new object[]
89 {
90 typeof(bool),
91 typeof(BigInteger),
92 typeof(string),
96 typeof(ref int),
97 typeof(ref bool)
98 }, ReturnType = typeof(string))]
99 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
101 {
102 throw null;
103 }
104
105 [global::Cpp2ILInjected.Token(Token = "0x6000029")]
106 [global::Cpp2ILInjected.Address(RVA = "0x1D57B44", Offset = "0x1D57B44", Length = "0x948")]
107 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigNumber), Member = "FormatBigInteger", MemberParameters = new object[]
109 {
111 typeof(string),
113 }, ReturnType = typeof(string))]
114 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BigNumber), Member = "ParseFormatSpecifier", MemberParameters = new object[]
116 {
118 typeof(ref int)
119 }, ReturnType = typeof(char))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BigNumber), Member = "FormatBigIntegerToHex", MemberParameters = new object[]
121 {
122 typeof(bool),
123 typeof(BigInteger),
124 typeof(char),
125 typeof(int),
128 typeof(ref int),
129 typeof(ref bool)
130 }, ReturnType = typeof(string))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
132 {
133 typeof(string),
134 typeof(object)
135 }, ReturnType = typeof(string))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FormatProvider), Member = "FormatBigInteger", MemberParameters = new object[]
137 {
139 typeof(int),
140 typeof(int),
141 typeof(bool),
144 typeof(char[]),
145 typeof(int)
146 }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "TryCopyTo", MemberParameters = new object[]
148 {
150 typeof(ref int)
151 }, ReturnType = typeof(bool))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "ToString", ReturnType = typeof(string))]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "TryFormat", MemberParameters = new object[]
155 {
157 typeof(ref int),
160 }, ReturnType = typeof(bool))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", MemberParameters = new object[]
162 {
163 typeof(string),
165 }, ReturnType = typeof(string))]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[]
169 {
170 typeof(char[]),
171 typeof(int),
172 typeof(int)
173 }, ReturnType = typeof(string))]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ReadOnlySpan<char>), Member = "TryCopyTo", MemberParameters = new object[] { typeof(Span<char>) }, ReturnType = typeof(bool))]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FormatException), Member = ".ctor", MemberParameters = new object[]
176 {
177 typeof(string),
179 }, ReturnType = typeof(void))]
180 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 56)]
185 }
186}
class f__AnonymousType0<< Count > j__TPar
static char ParseFormatSpecifier(ReadOnlySpan< char > format, out int digits)
Definition BigNumber.cs:28
static string FormatBigInteger(BigInteger value, string format, NumberFormatInfo info)
Definition BigNumber.cs:100
static string FormatBigInteger(bool targetSpan, BigInteger value, string formatString, ReadOnlySpan< char > formatSpan, NumberFormatInfo info, Span< char > destination, out int charsWritten, out bool spanSuccess)
Definition BigNumber.cs:181
static string FormatBigIntegerToHex(bool targetSpan, BigInteger value, char format, int digits, NumberFormatInfo info, Span< char > destination, out int charsWritten, out bool spanSuccess)
Definition BigNumber.cs:74