terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Parser.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
System.Security.Util
4
{
5
// Token: 0x0200029E RID: 670
6
internal
sealed
class
Parser
7
{
8
// Token: 0x06001722 RID: 5922 RVA: 0x00030DB0 File Offset: 0x0002EFB0
9
internal
SecurityElement
GetTopElement
()
10
{
11
SecurityDocument
doc = this.
_doc
;
12
SecurityElement
securityElement
;
13
return
securityElement
;
14
}
15
16
// Token: 0x06001723 RID: 5923 RVA: 0x00030DC8 File Offset: 0x0002EFC8
17
private
void
GetRequiredSizes
(
TokenizerStream
stream,
int
index
)
18
{
19
TokenizerShortBlock
currentTokens
= stream.
m_currentTokens
;
20
int
indexTokens
= stream.
m_indexTokens
;
21
short
[] block =
currentTokens
.m_block;
22
stream.m_lastTokens
=
currentTokens
;
23
TokenizerShortBlock
next =
currentTokens
.
m_next
;
24
stream.m_currentTokens
= next;
25
short
[]
block2
= next.
m_block
;
26
}
27
28
// Token: 0x06001724 RID: 5924 RVA: 0x000311F0 File Offset: 0x0002F3F0
29
private
int
DetermineFormat
(
TokenizerStream
stream)
30
{
31
TokenizerShortBlock
currentTokens
= stream.
m_currentTokens
;
32
int
indexTokens
= stream.
m_indexTokens
;
33
short
[] block =
currentTokens
.m_block;
34
stream.m_lastTokens
=
currentTokens
;
35
TokenizerShortBlock
next =
currentTokens
.
m_next
;
36
long
num = 0
L
;
37
stream.m_currentTokens
= next;
38
short
[]
block2
= next.
m_block
;
39
if
(num == 0
L
)
40
{
41
stream.m_lastTokens
= next;
42
TokenizerShortBlock
next2
= next.
m_next
;
43
stream.m_currentTokens
=
next2
;
44
short
[]
block3
=
next2
.
m_block
;
45
stream.m_indexTokens
=
next2
;
46
Tokenizer
t = this.
_t
;
47
int
num2
= 2;
48
stream.
GoToPosition
(
num2
);
49
TokenizerShortBlock
currentTokens2
= stream.
m_currentTokens
;
50
int
indexTokens2
= stream.
m_indexTokens
;
51
short
[]
block4
=
currentTokens2
.m_block;
52
stream.m_lastTokens
=
currentTokens2
;
53
TokenizerShortBlock
next3
=
currentTokens2
.
m_next
;
54
stream.m_currentTokens
=
next3
;
55
short
[]
block5
=
next3
.
m_block
;
56
stream.m_indexTokens
=
block3
;
57
TokenizerStringBlock
currentStrings
= stream.
m_currentStrings
;
58
int
indexStrings
= stream.
m_indexStrings
;
59
string
[]
block6
=
currentStrings
.m_block;
60
TokenizerStringBlock
next4
=
currentStrings
.
m_next
;
61
long
num3
= 0
L
;
62
stream.m_currentStrings
=
next4
;
63
stream.m_indexStrings
= (int)
num3
;
64
TokenizerStringBlock
next5
=
currentStrings
.
m_next
;
65
stream.m_currentStrings
=
next5
;
66
string
[]
block7
=
next5
.
m_block
;
67
stream.m_indexStrings
=
next5
;
68
TokenizerShortBlock
currentTokens3
= stream.
m_currentTokens
;
69
int
indexTokens3
= stream.
m_indexTokens
;
70
short
[]
block8
=
currentTokens3
.m_block;
71
stream.m_lastTokens
=
currentTokens3
;
72
TokenizerShortBlock
next6
=
currentTokens3
.
m_next
;
73
long
num4
= 0
L
;
74
stream.m_currentTokens
=
next6
;
75
short
[]
block9
=
next6
.
m_block
;
76
stream.m_indexTokens
= (int)
num4
;
77
int
num5
;
78
return
num5
;
79
}
80
return
2;
81
}
82
83
// Token: 0x06001725 RID: 5925 RVA: 0x000313B8 File Offset: 0x0002F5B8
84
private
void
ParseContents
()
85
{
86
Tokenizer
t = this.
_t
;
87
int
num = 2;
88
Tokenizer
t2
= this.
_t
;
89
this._doc
= -1073741824;
90
this.
_doc
.
AppendString
(
" "
, num);
91
this.
_doc
.
AppendString
(
" "
, num);
92
}
93
94
// Token: 0x06001726 RID: 5926 RVA: 0x000314C8 File Offset: 0x0002F6C8
95
private
Parser
(
Tokenizer
t)
96
{
97
this._t
= t;
98
this.
ParseContents
();
99
this.
_t
.
Recycle
();
100
}
101
102
// Token: 0x06001727 RID: 5927 RVA: 0x00031520 File Offset: 0x0002F720
103
internal
Parser
(
string
input
)
104
{
105
int
stringLength
= input._stringLength;
106
}
107
108
// Token: 0x04000BB2 RID: 2994
109
private
SecurityDocument
_doc
;
110
111
// Token: 0x04000BB3 RID: 2995
112
private
Tokenizer
_t
;
113
}
114
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Security.SecurityDocument.AppendString
void AppendString(string str, int position)
Definition
SecurityDocument.cs:42
System.Security.SecurityDocument
Definition
SecurityDocument.cs:11
System.Security.SecurityElement
Definition
SecurityElement.cs:13
System.Security.Util.Parser.GetRequiredSizes
void GetRequiredSizes(TokenizerStream stream, int index)
Definition
Parser.cs:17
System.Security.Util.Parser.GetTopElement
SecurityElement GetTopElement()
Definition
Parser.cs:9
System.Security.Util.Parser.DetermineFormat
int DetermineFormat(TokenizerStream stream)
Definition
Parser.cs:29
System.Security.Util.Parser.Parser
Parser(string input)
Definition
Parser.cs:103
System.Security.Util.Parser.Parser
Parser(Tokenizer t)
Definition
Parser.cs:95
System.Security.Util.Parser.ParseContents
void ParseContents()
Definition
Parser.cs:84
System.Security.Util.Parser._t
Tokenizer _t
Definition
Parser.cs:112
System.Security.Util.Parser._doc
SecurityDocument _doc
Definition
Parser.cs:109
System.Security.Util.Parser
Definition
Parser.cs:7
System.Security.Util.TokenizerShortBlock.m_block
short[] m_block
Definition
TokenizerShortBlock.cs:14
System.Security.Util.TokenizerShortBlock.m_next
TokenizerShortBlock m_next
Definition
TokenizerShortBlock.cs:17
System.Security.Util.TokenizerShortBlock
Definition
TokenizerShortBlock.cs:7
System.Security.Util.TokenizerStream.m_indexStrings
int m_indexStrings
Definition
TokenizerStream.cs:221
System.Security.Util.TokenizerStream.m_currentStrings
TokenizerStringBlock m_currentStrings
Definition
TokenizerStream.cs:218
System.Security.Util.TokenizerStream.m_currentTokens
TokenizerShortBlock m_currentTokens
Definition
TokenizerStream.cs:209
System.Security.Util.TokenizerStream.m_indexTokens
int m_indexTokens
Definition
TokenizerStream.cs:212
System.Security.Util.TokenizerStream.GoToPosition
void GoToPosition(int position)
Definition
TokenizerStream.cs:179
System.Security.Util.TokenizerStream
Definition
TokenizerStream.cs:7
System.Security.Util.TokenizerStringBlock.m_block
string[] m_block
Definition
TokenizerStringBlock.cs:14
System.Security.Util.TokenizerStringBlock.m_next
TokenizerStringBlock m_next
Definition
TokenizerStringBlock.cs:17
System.Security.Util.TokenizerStringBlock
Definition
TokenizerStringBlock.cs:7
System.Security.Util.Tokenizer.Recycle
void Recycle()
Definition
Tokenizer.cs:18
System.Security.Util.Tokenizer
Definition
Tokenizer.cs:9
System.Security.Util
Definition
Parser.cs:4
System.ExceptionArgument.index
@ index
System.ExceptionArgument.input
@ input
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
mscorlib
System
Security
Util
Parser.cs
Generated by
1.10.0