forked from aly/qstbak
muffin v7.5.6
This commit is contained in:
parent
6266f9e6b7
commit
addf2d530f
619 changed files with 264792 additions and 446022 deletions
File diff suppressed because it is too large
Load diff
66
QuestPaths/Questionable.QuestPaths/PathBundleSecret.cs
Normal file
66
QuestPaths/Questionable.QuestPaths/PathBundleSecret.cs
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Questionable.QuestPaths;
|
||||
|
||||
internal static class PathBundleSecret
|
||||
{
|
||||
private static readonly byte[] A;
|
||||
|
||||
private static readonly byte[] B;
|
||||
|
||||
internal static byte[] Key()
|
||||
{
|
||||
byte[] array = new byte[A.Length];
|
||||
int num = 0;
|
||||
int num2 = 320407520;
|
||||
while (true)
|
||||
{
|
||||
int num3 = num2;
|
||||
int num4 = 320407521;
|
||||
int num5 = num3;
|
||||
switch ((num5 | num4) - (num5 & num4))
|
||||
{
|
||||
case 3:
|
||||
num2 = 320407520;
|
||||
break;
|
||||
case 0:
|
||||
return array;
|
||||
case 2:
|
||||
{
|
||||
int num6 = num;
|
||||
byte num7 = A[num];
|
||||
num4 = B[num];
|
||||
num5 = num7;
|
||||
int num8 = num5 + num4;
|
||||
int num9 = num5 & num4;
|
||||
array[num6] = (byte)(num8 - (num9 + num9));
|
||||
int num10 = num;
|
||||
num4 = 1;
|
||||
num5 = num10;
|
||||
num = (num5 | num4) + (num5 & num4);
|
||||
num2 = 320407520;
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
num2 = ((num < array.Length) ? 320407523 : 320407521);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static PathBundleSecret()
|
||||
{
|
||||
byte[] array = new byte[32];
|
||||
_206B_200D_200D_200D_200F_202A_200E_202D_202B_206C_206B_206D_202E_202A_206D_206A_200E_200C_202D_206D_206C_202B_202B_206D_202D_202C_200C_202D_200D_206F_200F_206B_206F_206B_206E_200F_200E_200E_200C_202D_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/);
|
||||
A = array;
|
||||
byte[] array2 = new byte[32];
|
||||
_206B_200D_200D_200D_200F_202A_200E_202D_202B_206C_206B_206D_202E_202A_206D_206A_200E_200C_202D_206D_206C_202B_202B_206D_202D_202C_200C_202D_200D_206F_200F_206B_206F_206B_206E_200F_200E_200E_200C_202D_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/);
|
||||
B = array2;
|
||||
}
|
||||
|
||||
static void _206B_200D_200D_200D_200F_202A_200E_202D_202B_206C_206B_206D_202E_202A_206D_206A_200E_200C_202D_206D_206C_202B_202B_206D_202D_202C_200C_202D_200D_206F_200F_206B_206F_206B_206E_200F_200E_200E_200C_202D_202E(Array P_0, RuntimeFieldHandle P_1)
|
||||
{
|
||||
RuntimeHelpers.InitializeArray(P_0, P_1);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue