Skip to content
This repository was archived by the owner on Oct 5, 2019. It is now read-only.

Commit d387d5b

Browse files
author
Zaczero
committed
Small reformatting
1 parent 4394a67 commit d387d5b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

SharpLoader/Core/SourceRandomizer.cs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ public class SourceRandomizer
3535
private readonly Random _rnd;
3636
private readonly int _seed;
3737

38+
private bool _stringDecryptorInjected;
39+
private string _stringDecryptorFunction;
40+
private bool _charDecryptorInjected;
41+
private string _charDecryptorFunction;
42+
private bool _valueDecryptorInjected;
43+
private string _valueDecryptorFunction;
44+
private bool _xorDecryptorInjected;
45+
private string _xorDecryptorFunction;
46+
3847
public SourceRandomizer(int seed)
3948
{
4049
_rnd = new Random(seed);
@@ -610,12 +619,6 @@ private void Trash(ref string str)
610619
}
611620
}
612621

613-
private bool _stringDecryptorInjected;
614-
private string _stringDecryptorFunction;
615-
private bool _charDecryptorInjected;
616-
private string _charDecryptorFunction;
617-
private bool _valueDecryptorInjected;
618-
private string _valueDecryptorFunction;
619622
private void Encrypt(ref string str)
620623
{
621624
while (true)
@@ -1080,9 +1083,7 @@ private void Proxy(ref string str)
10801083
}
10811084
}
10821085
}
1083-
1084-
private bool _xorDecryptorInjected;
1085-
private string _xorDecryptorFunction;
1086+
10861087
private void Flow(ref string str)
10871088
{
10881089
while (true)

0 commit comments

Comments
 (0)