muffin v7.5.11
This commit is contained in:
parent
addf2d530f
commit
3102923ce2
522 changed files with 41082 additions and 211592 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,18 +1,11 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using SmartNav.Model.Navigation;
|
||||
|
||||
namespace SmartNav.Data;
|
||||
|
||||
public static class AssemblyDerivedArrivalLoader
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public static DerivedArrivalFile GetArrivals(string? overrideDirectory = null)
|
||||
{
|
||||
return SmartNavResources.Load<DerivedArrivalFile>(global::_003CModule_003E._202C_200E_206B_202E_202C_202D_206F_202A_200E_206D_202A_200D_206A_202C_200D_206D_202A_206E_200E_206C_206A_206A_200C_206E_206C_202A_200E_206D_200F_206D_200B_202A_202B_200D_202B_206F_202C_200F_200C_200E_202E<string>(-1394732188), overrideDirectory) ?? _200B_202A_202E_206E_200C_202C_200F_202C_202D_206A_206F_202A_202C_206E_202A_202E_202D_200B_206D_200C_202C_206B_202B_206C_206D_200D_206D_202C_206C_206B_202E_206D_200F_202D_200D_206D_200C_200C_200B_202D_202E();
|
||||
}
|
||||
|
||||
static DerivedArrivalFile _200B_202A_202E_206E_200C_202C_200F_202C_202D_206A_206F_202A_202C_206E_202A_202E_202D_200B_206D_200C_202C_206B_202B_206C_206D_200D_206D_202C_206C_206B_202E_206D_200F_202D_200D_206D_200C_200C_200B_202D_202E()
|
||||
{
|
||||
return new DerivedArrivalFile();
|
||||
return SmartNavResources.Load<DerivedArrivalFile>("derived-arrivals.json", overrideDirectory) ?? new DerivedArrivalFile();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,12 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using SmartNav.Model.Navigation;
|
||||
|
||||
namespace SmartNav.Data;
|
||||
|
||||
public static class AssemblyTaxiStandLoader
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public static IReadOnlyList<TaxiStandEntry> GetStands(string? overrideDirectory = null)
|
||||
{
|
||||
return SmartNavResources.Load<List<TaxiStandEntry>>(global::_003CModule_003E._202E_202A_206A_202B_202D_206F_202B_200E_200B_200B_206A_206D_200F_202D_206F_200F_206F_206F_206B_206A_206B_202D_206C_206B_202A_200C_206F_206C_200C_206D_202D_202E_202D_202E_202D_206C_200D_206C_206B_200D_202E<string>(1832135283), overrideDirectory) ?? new List<TaxiStandEntry>();
|
||||
return SmartNavResources.Load<List<TaxiStandEntry>>("chocobo-taxi-stands.json", overrideDirectory) ?? new List<TaxiStandEntry>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,24 +1,12 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using SmartNav.Model.Navigation;
|
||||
|
||||
namespace SmartNav.Data;
|
||||
|
||||
public static class AssemblyTeleportTicketLoader
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public static IReadOnlyDictionary<string, TeleportTicketEntry> GetTickets(string? overrideDirectory = null)
|
||||
{
|
||||
return _206A_200D_200C_200B_200B_200E_200E_200E_202C_200C_206C_200F_200D_206D_202A_200B_200D_200D_202D_202D_206D_200F_202C_200F_206C_202C_202D_202B_202A_202B_206C_206E_200E_200F_202C_202E_200E_206B_206C_200D_202E(SmartNavResources.Load<TeleportTicketFile>(global::_003CModule_003E._202B_206D_206C_202B_200E_206E_202B_202C_200E_206E_206D_206C_200C_206B_202C_202A_202B_200E_202C_206D_206F_200F_202D_206F_200B_200B_200E_200E_206B_200D_206A_200B_206C_202A_206F_202B_202C_206C_206E_202B_202E<string>(-734508580), overrideDirectory) ?? _206B_206B_200F_206A_206F_202D_202E_202D_206D_200C_200B_206A_200B_202B_200E_206A_200B_206E_206C_200B_202D_202C_200C_206A_200B_200F_200D_200D_206B_200D_206E_202B_202D_200C_206A_206E_202B_202A_206F_202E_202E());
|
||||
}
|
||||
|
||||
static TeleportTicketFile _206B_206B_200F_206A_206F_202D_202E_202D_206D_200C_200B_206A_200B_202B_200E_206A_200B_206E_206C_200B_202D_202C_200C_206A_200B_200F_200D_200D_206B_200D_206E_202B_202D_200C_206A_206E_202B_202A_206F_202E_202E()
|
||||
{
|
||||
return new TeleportTicketFile();
|
||||
}
|
||||
|
||||
static Dictionary<string, TeleportTicketEntry> _206A_200D_200C_200B_200B_200E_200E_200E_202C_200C_206C_200F_200D_206D_202A_200B_200D_200D_202D_202D_206D_200F_202C_200F_206C_202C_202D_202B_202A_202B_206C_206E_200E_200F_202C_202E_200E_206B_206C_200D_202E(TeleportTicketFile P_0)
|
||||
{
|
||||
return P_0.Tickets;
|
||||
return (SmartNavResources.Load<TeleportTicketFile>("teleport-tickets.json", overrideDirectory) ?? new TeleportTicketFile()).Tickets;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,30 +1,13 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using SmartNav.Model.Navigation;
|
||||
|
||||
namespace SmartNav.Data;
|
||||
|
||||
public static class AssemblyWarpDestinationLoader
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public static (IReadOnlyList<uint> SkippedWarpIds, IReadOnlyDictionary<string, WarpDestinationEntry> Destinations) GetOverrides(string? overrideDirectory = null)
|
||||
{
|
||||
WarpDestinationOverrides warpDestinationOverrides = SmartNavResources.Load<WarpDestinationOverrides>(global::_003CModule_003E._206B_206A_206F_206A_202A_206A_202A_202D_206B_206B_202B_200B_200E_206A_202D_202D_200B_200C_200D_202D_206F_200C_200F_206A_202C_202C_202E_200F_200D_200E_206F_202A_202D_206A_200C_206B_202D_206A_206E_206B_202E<string>(1593928925), overrideDirectory) ?? _202D_200E_206B_206E_206E_200C_206F_200F_206D_200E_206A_200B_200C_200D_200D_200D_202A_206C_206D_202E_202D_200B_206C_206F_200C_206A_202B_202E_202E_200E_202A_206C_202C_206B_206B_206C_206F_206C_202B_206F_202E();
|
||||
return (SkippedWarpIds: _206D_202E_200D_206D_202E_206A_200F_200E_202C_200E_200F_200D_200E_206B_202C_202E_200F_202C_202E_200B_200C_200F_206A_206A_202E_206E_202E_202B_206C_200C_202B_206B_206E_200C_200D_202E_200E_206A_206F_202E_202E(warpDestinationOverrides), Destinations: _202B_206F_206A_200D_200C_202A_200B_206C_202D_202C_202A_200D_206D_200B_206B_202A_206D_202D_202C_206E_200F_200C_206A_202A_200F_200F_200F_200D_200B_202D_206A_202D_202A_200C_206B_206F_200D_200C_202B_200F_202E(warpDestinationOverrides));
|
||||
}
|
||||
|
||||
static WarpDestinationOverrides _202D_200E_206B_206E_206E_200C_206F_200F_206D_200E_206A_200B_200C_200D_200D_200D_202A_206C_206D_202E_202D_200B_206C_206F_200C_206A_202B_202E_202E_200E_202A_206C_202C_206B_206B_206C_206F_206C_202B_206F_202E()
|
||||
{
|
||||
return new WarpDestinationOverrides();
|
||||
}
|
||||
|
||||
static List<uint> _206D_202E_200D_206D_202E_206A_200F_200E_202C_200E_200F_200D_200E_206B_202C_202E_200F_202C_202E_200B_200C_200F_206A_206A_202E_206E_202E_202B_206C_200C_202B_206B_206E_200C_200D_202E_200E_206A_206F_202E_202E(WarpDestinationOverrides P_0)
|
||||
{
|
||||
return P_0.SkippedWarpIds;
|
||||
}
|
||||
|
||||
static Dictionary<string, WarpDestinationEntry> _202B_206F_206A_200D_200C_202A_200B_206C_202D_202C_202A_200D_206D_200B_206B_202A_206D_202D_202C_206E_200F_200C_206A_202A_200F_200F_200F_200D_200B_202D_206A_202D_202A_200C_206B_206F_200D_200C_202B_200F_202E(WarpDestinationOverrides P_0)
|
||||
{
|
||||
return P_0.Destinations;
|
||||
WarpDestinationOverrides warpDestinationOverrides = SmartNavResources.Load<WarpDestinationOverrides>("warp-destinations.json", overrideDirectory) ?? new WarpDestinationOverrides();
|
||||
return (SkippedWarpIds: warpDestinationOverrides.SkippedWarpIds, Destinations: warpDestinationOverrides.Destinations);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,24 +1,12 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using SmartNav.Model.Navigation;
|
||||
|
||||
namespace SmartNav.Data;
|
||||
|
||||
public static class AssemblyZoneSubRegionLoader
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public static IReadOnlyDictionary<string, TerritorySubRegions> GetRegions(string? overrideDirectory = null)
|
||||
{
|
||||
return _200F_200B_206A_206E_202E_206E_206C_206A_206B_206B_206D_206E_200E_206C_200E_202E_202E_206F_206A_206D_202D_206E_200E_202C_202A_200C_206D_206F_206A_206D_200D_206E_206B_206C_202D_200E_202C_202E_206D_202D_202E(SmartNavResources.Load<ZoneSubRegionFile>(global::_003CModule_003E._202B_206C_202B_200C_200D_202B_202C_200E_202A_206C_206C_202E_206F_202E_200B_202D_202C_202D_200C_200D_206F_206E_206E_206F_206A_200F_200D_202A_206C_206C_200F_200E_200B_202D_206E_206B_206B_202A_202B_200E_202E<string>(-1591869045), overrideDirectory) ?? _200B_200F_200C_206B_202D_200C_202D_206F_206D_206A_206F_200E_206B_200C_206A_206A_202B_206F_202A_202C_202D_206F_206A_202C_206B_200E_200B_200D_206D_206A_200F_200B_200F_202C_200F_200D_202B_206F_202A_206D_202E());
|
||||
}
|
||||
|
||||
static ZoneSubRegionFile _200B_200F_200C_206B_202D_200C_202D_206F_206D_206A_206F_200E_206B_200C_206A_206A_202B_206F_202A_202C_202D_206F_206A_202C_206B_200E_200B_200D_206D_206A_200F_200B_200F_202C_200F_200D_202B_206F_202A_206D_202E()
|
||||
{
|
||||
return new ZoneSubRegionFile();
|
||||
}
|
||||
|
||||
static Dictionary<string, TerritorySubRegions> _200F_200B_206A_206E_202E_206E_206C_206A_206B_206B_206D_206E_200E_206C_200E_202E_202E_206F_206A_206D_202D_206E_200E_202C_202A_200C_206D_206F_206A_206D_200D_206E_206B_206C_202D_200E_202C_202E_206D_202D_202E(ZoneSubRegionFile P_0)
|
||||
{
|
||||
return P_0.Regions;
|
||||
return (SmartNavResources.Load<ZoneSubRegionFile>("zone-sub-regions.json", overrideDirectory) ?? new ZoneSubRegionFile()).Regions;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,68 +1,30 @@
|
|||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace SmartNav.Data;
|
||||
|
||||
internal static class DataBundleSecret
|
||||
{
|
||||
private static readonly byte[] A;
|
||||
private static readonly byte[] A = new byte[32]
|
||||
{
|
||||
249, 130, 120, 19, 233, 226, 108, 14, 107, 82,
|
||||
130, 220, 135, 231, 132, 145, 238, 79, 114, 87,
|
||||
123, 65, 202, 110, 156, 178, 236, 146, 151, 20,
|
||||
187, 222
|
||||
};
|
||||
|
||||
private static readonly byte[] B;
|
||||
private static readonly byte[] B = new byte[32]
|
||||
{
|
||||
4, 22, 39, 195, 114, 48, 170, 103, 209, 88,
|
||||
134, 221, 112, 108, 144, 135, 150, 118, 49, 201,
|
||||
74, 13, 92, 179, 155, 25, 114, 34, 102, 151,
|
||||
79, 34
|
||||
};
|
||||
|
||||
internal static byte[] Key()
|
||||
{
|
||||
byte[] array = new byte[A.Length];
|
||||
int num = 0;
|
||||
int num2 = 1494450304;
|
||||
while (true)
|
||||
for (int i = 0; i < array.Length; i++)
|
||||
{
|
||||
int num3 = num2;
|
||||
int num4 = 1494450304;
|
||||
int num5 = num3;
|
||||
switch ((num5 | num4) - (num5 & num4))
|
||||
{
|
||||
case 0:
|
||||
num2 = ((num < array.Length) ? 1494450305 : 1494450307);
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
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;
|
||||
int num11 = num5 ^ num4;
|
||||
int num12 = num5 & num4;
|
||||
num = num11 + (num12 + num12);
|
||||
num2 = 1494450304;
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
return array;
|
||||
case 2:
|
||||
num2 = 1494450304;
|
||||
break;
|
||||
}
|
||||
array[i] = (byte)(A[i] ^ B[i]);
|
||||
}
|
||||
}
|
||||
|
||||
static DataBundleSecret()
|
||||
{
|
||||
byte[] array = new byte[32];
|
||||
_200B_206B_200C_206B_202A_202D_206F_200F_202B_206B_200F_202A_202A_206F_202E_200B_200C_202D_200E_200F_200B_206D_206C_206E_202C_200D_206D_202D_200F_202C_206E_206C_202B_200D_200F_202C_202A_206F_200D_206D_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/);
|
||||
A = array;
|
||||
byte[] array2 = new byte[32];
|
||||
_200B_206B_200C_206B_202A_202D_206F_200F_202B_206B_200F_202A_202A_206F_202E_200B_200C_202D_200E_200F_200B_206D_206C_206E_202C_200D_206D_202D_200F_202C_206E_206C_202B_200D_200F_202C_202A_206F_200D_206D_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/);
|
||||
B = array2;
|
||||
}
|
||||
|
||||
static void _200B_206B_200C_206B_202A_202D_206F_200F_202B_206B_200F_202A_202A_206F_202E_200B_200C_202D_200E_200F_200B_206D_206C_206E_202C_200D_206D_202D_200F_202C_206E_206C_202B_200D_200F_202C_202A_206F_200D_206D_202E(Array P_0, RuntimeFieldHandle P_1)
|
||||
{
|
||||
RuntimeHelpers.InitializeArray(P_0, P_1);
|
||||
return array;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ using System;
|
|||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text.Json;
|
||||
|
||||
|
|
@ -10,315 +9,50 @@ namespace SmartNav.Data;
|
|||
|
||||
internal static class SmartNavResources
|
||||
{
|
||||
private static readonly Assembly Assembly = _206F_202B_202E_202D_200E_200B_200C_200D_206D_200B_200C_202C_206E_202D_206F_206E_202A_202E_206D_202A_202E_200B_202A_200F_200B_200C_200C_206E_202B_200C_206F_200B_200C_206A_200F_200E_200B_202A_206B_200E_202E(_202C_206B_202C_202D_200D_206B_200F_206C_202D_202B_206F_202B_202B_200E_202B_206F_202D_200C_202A_200D_200B_206E_202E_202E_206F_200F_206A_206A_200D_200E_206E_202A_206C_202D_200C_200C_200D_206A_200D_206E_202E(typeof(SmartNavResources).TypeHandle));
|
||||
private static readonly Assembly Assembly = typeof(SmartNavResources).Assembly;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public static T? Load<T>(string fileName, string? overrideDirectory)
|
||||
{
|
||||
int num = ((overrideDirectory == null) ? (-221038174) : (-221038176));
|
||||
string text = default(string);
|
||||
while (true)
|
||||
if (overrideDirectory != null)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -221038175;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
string path = Path.Combine(overrideDirectory, fileName);
|
||||
if (File.Exists(path))
|
||||
{
|
||||
case 0:
|
||||
return DeserializeFile<T>(text);
|
||||
case 3:
|
||||
return DeserializeResource<T>(_202B_200C_200D_200C_202A_206F_202A_206B_200B_206E_206A_200D_206E_202C_206C_200C_200B_200F_200E_200F_200E_206D_200F_202A_206F_200C_206A_200C_206B_202A_200C_206B_202D_202C_200D_200D_206A_200C_200C_206A_202E(global::_003CModule_003E._206B_206A_206F_206A_202A_206A_202A_202D_206B_206B_202B_200B_200E_206A_202D_202D_200B_200C_200D_202D_206F_200C_200F_206A_202C_202C_202E_200F_200D_200E_206F_202A_202D_206A_200C_206B_202D_206A_206E_206B_202E<string>(-176470543), fileName));
|
||||
case 2:
|
||||
num = -221038176;
|
||||
break;
|
||||
case 1:
|
||||
text = _200E_206E_202D_200F_200F_200D_202D_206B_200F_206B_200B_200D_202C_206B_200C_206A_202C_200E_206B_206A_202D_200E_206F_206C_200D_206A_202D_202C_206E_206A_202A_200F_206B_206D_202A_202A_202E_206B_202A_202E_202E(overrideDirectory, fileName);
|
||||
num = ((!_206C_206E_200F_206A_200C_202E_206D_206C_200F_202A_200B_202D_202D_202E_206E_200F_206C_202B_206E_202D_202A_200F_206C_202C_202B_206B_200F_202A_200D_202A_206D_206E_200B_202A_202E_200B_200B_200F_206F_200D_202E(text)) ? (-221038174) : (-221038175));
|
||||
break;
|
||||
return DeserializeFile<T>(path);
|
||||
}
|
||||
}
|
||||
return DeserializeResource<T>("SmartNav.Data." + fileName);
|
||||
}
|
||||
|
||||
public static T? DeserializeFile<T>(string path)
|
||||
{
|
||||
Stream stream = _200E_202B_206F_200B_206A_202C_202A_200E_200C_206D_206B_200D_206B_200D_202D_206F_202D_200F_200D_200F_202D_206E_202E_200B_200D_202E_202C_202E_206D_202A_202D_200E_206C_202A_206F_200D_200E_206D_202D_202B_202E(path);
|
||||
try
|
||||
{
|
||||
return JsonSerializer.Deserialize<T>(stream);
|
||||
}
|
||||
finally
|
||||
{
|
||||
int num = ((stream == null) ? 1932184292 : 1932184295);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1932184294;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 2:
|
||||
goto end_IL_0030;
|
||||
case 1:
|
||||
_206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E((IDisposable?)stream);
|
||||
num = 1932184292;
|
||||
break;
|
||||
case 0:
|
||||
num = 1932184295;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0030:
|
||||
break;
|
||||
}
|
||||
}
|
||||
using Stream utf8Json = File.OpenRead(path);
|
||||
return JsonSerializer.Deserialize<T>(utf8Json);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private static T? DeserializeResource<T>(string resourceName)
|
||||
{
|
||||
string text = _202C_206E_202E_206A_206E_202B_200B_202E_200E_206D_200E_206A_200C_206B_206E_200C_202D_200D_202E_206B_200B_202C_202B_206D_206C_200C_200F_200C_202E_202C_200F_206A_206C_200E_200C_202D_206F_200C_202D_206E_202E(resourceName, global::_003CModule_003E._202E_202A_206A_202B_202D_206F_202B_200E_200B_200B_206A_206D_200F_202D_206F_200F_206F_206F_206B_206A_206B_202D_206C_206B_202A_200C_206F_206C_200C_206D_202D_202E_202D_202E_202D_206C_200D_206C_206B_200D_202E<string>(985938895));
|
||||
Stream stream = _200E_206C_200B_202A_202D_206B_206A_206A_206B_202B_202B_206C_206F_206D_200D_200D_202E_206C_200C_200C_206D_202D_202A_206A_200B_200E_206B_202D_206A_202B_200F_200B_206A_206B_202B_200D_202D_200E_206A_206D_202E(Assembly, text);
|
||||
string name = Path.ChangeExtension(resourceName, ".bin");
|
||||
using Stream stream = Assembly.GetManifestResourceStream(name);
|
||||
if (stream == null)
|
||||
{
|
||||
return default(T);
|
||||
}
|
||||
using MemoryStream memoryStream = new MemoryStream();
|
||||
stream.CopyTo(memoryStream);
|
||||
byte[] array = memoryStream.ToArray();
|
||||
byte[] array2 = new byte[array.Length - 28];
|
||||
byte[] array3 = DataBundleSecret.Key();
|
||||
try
|
||||
{
|
||||
int num = ((stream != null) ? (-1225651699) : (-1225651698));
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1225651700;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
goto IL_0067;
|
||||
case 2:
|
||||
return default(T);
|
||||
case 1:
|
||||
{
|
||||
MemoryStream memoryStream = _206F_206C_206E_206D_206F_202E_200C_200E_202A_206A_202A_206E_206A_200B_206E_206C_206F_206E_200D_202C_200B_202E_200F_200C_206A_206E_200B_206B_206A_206D_200C_202E_202E_202E_200D_206D_202C_206A_206E_206E_202E();
|
||||
try
|
||||
{
|
||||
_202D_200F_202B_200D_200F_202C_200D_200F_200D_200B_206E_202C_206E_200E_206C_206D_200C_202E_206C_200D_202C_200F_202E_206C_202D_206D_200D_200E_200C_206B_202A_202E_202B_206A_200C_202D_200F_200E_202B_206E_202E(stream, (Stream?)memoryStream);
|
||||
byte[] array = _202E_200E_202B_202E_206A_206A_206C_200E_206C_200F_202D_202B_202A_200F_200F_206B_206E_202A_200E_206B_206A_202D_206A_206F_206B_200C_206F_202D_202B_206D_200C_200B_200B_200B_200B_206C_206B_206A_202D_202C_202E(memoryStream);
|
||||
int num5 = array.Length;
|
||||
num3 = 28;
|
||||
num4 = num5;
|
||||
byte[] array2 = new byte[~(~num4 + num3)];
|
||||
byte[] array3 = DataBundleSecret.Key();
|
||||
try
|
||||
{
|
||||
AesGcm aesGcm = _202A_206C_200F_206D_200D_200F_206C_202D_200F_202A_206D_200D_200F_202D_206F_202A_202D_200B_202C_202C_206E_202D_206B_206B_200D_202D_200B_200D_202E_206E_200F_206D_206E_200B_206B_206C_206E_200E_200F_202E(array3, 16);
|
||||
try
|
||||
{
|
||||
_200E_200C_200C_206A_206D_202A_200F_206C_200F_206C_206E_202A_206E_202C_206C_206D_202D_202A_200D_200E_206D_200F_206F_202B_206F_206A_206E_202B_202A_200C_202E_200E_200F_200C_206F_200E_200C_206C_202D_202D_202E(aesGcm, (ReadOnlySpan<byte>)array.AsSpan(0, 12), (ReadOnlySpan<byte>)array.AsSpan(28), (ReadOnlySpan<byte>)array.AsSpan(12, 16), (Span<byte>)array2, default(ReadOnlySpan<byte>));
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((aesGcm == null) ? (-507593817) : (-507593820));
|
||||
while (true)
|
||||
{
|
||||
int num6 = num;
|
||||
num3 = -507593818;
|
||||
num4 = num6;
|
||||
int num7 = num4 + num3;
|
||||
int num8 = num4 & num3;
|
||||
switch (num7 - (num8 + num8))
|
||||
{
|
||||
case 1:
|
||||
goto end_IL_0133;
|
||||
case 2:
|
||||
_206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E((IDisposable?)aesGcm);
|
||||
num = -507593817;
|
||||
break;
|
||||
case 0:
|
||||
num = -507593820;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0133:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
_200C_202C_202C_202E_200C_206F_200C_200C_206F_200B_202D_206D_202B_206C_200B_206B_206B_200D_200F_206F_202B_202A_202A_206F_206E_202B_200F_200E_206D_202D_206D_200D_206C_200C_206B_200B_200F_200D_206D_206C_202E((Span<byte>)array3);
|
||||
}
|
||||
DeflateStream deflateStream = _206A_202E_206B_206A_200B_202E_202B_200F_200D_200E_206F_206F_200F_202B_200E_200E_200B_200D_206B_206B_202E_200C_206F_200D_206D_206D_206B_206E_202C_200D_202E_206F_206E_202B_206F_206A_206A_200B_200E_200E_202E((Stream?)_206B_206A_200B_202D_206E_200E_202A_206C_206E_206A_200D_206E_200B_200E_200F_200B_202A_202D_200E_200B_202E_206C_200F_200E_206A_206C_202E_200F_206A_206E_206D_202C_202C_200E_200D_200E_200F_206F_206F_202A_202E(array2), CompressionMode.Decompress);
|
||||
try
|
||||
{
|
||||
return JsonSerializer.Deserialize<T>(deflateStream);
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((deflateStream == null) ? (-2110403470) : (-2110403471));
|
||||
while (true)
|
||||
{
|
||||
int num9 = num;
|
||||
num3 = -2110403472;
|
||||
num4 = num9;
|
||||
int num10 = num4 + num3;
|
||||
int num11 = num4 & num3;
|
||||
switch (num10 - (num11 + num11))
|
||||
{
|
||||
case 2:
|
||||
goto end_IL_01cb;
|
||||
case 1:
|
||||
_206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E((IDisposable?)deflateStream);
|
||||
num = -2110403470;
|
||||
break;
|
||||
case 0:
|
||||
num = -2110403471;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_01cb:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((memoryStream == null) ? (-1202265415) : (-1202265416));
|
||||
while (true)
|
||||
{
|
||||
int num12 = num;
|
||||
num3 = -1202265415;
|
||||
num4 = num12;
|
||||
int num13 = num4 + num3;
|
||||
int num14 = num4 & num3;
|
||||
switch (num13 - (num14 + num14))
|
||||
{
|
||||
case 0:
|
||||
goto end_IL_0237;
|
||||
case 1:
|
||||
_206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E((IDisposable?)memoryStream);
|
||||
num = -1202265415;
|
||||
break;
|
||||
case 2:
|
||||
num = -1202265416;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0237:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
continue;
|
||||
IL_0067:
|
||||
num = -1225651698;
|
||||
}
|
||||
using AesGcm aesGcm = new AesGcm(array3, 16);
|
||||
aesGcm.Decrypt(array.AsSpan(0, 12), array.AsSpan(28), array.AsSpan(12, 16), array2);
|
||||
}
|
||||
finally
|
||||
{
|
||||
int num = ((stream == null) ? (-1412160920) : (-1412160919));
|
||||
while (true)
|
||||
{
|
||||
int num15 = num;
|
||||
int num3 = -1412160920;
|
||||
int num4 = num15;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
goto end_IL_02a2;
|
||||
case 1:
|
||||
_206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E((IDisposable?)stream);
|
||||
num = -1412160920;
|
||||
break;
|
||||
case 2:
|
||||
num = -1412160919;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_02a2:
|
||||
break;
|
||||
}
|
||||
CryptographicOperations.ZeroMemory(array3);
|
||||
}
|
||||
}
|
||||
|
||||
static string? _200E_206E_202D_200F_200F_200D_202D_206B_200F_206B_200B_200D_202C_206B_200C_206A_202C_200E_206B_206A_202D_200E_206F_206C_200D_206A_202D_202C_206E_206A_202A_200F_206B_206D_202A_202A_202E_206B_202A_202E_202E(string? P_0, string? P_1)
|
||||
{
|
||||
return Path.Combine(P_0, P_1);
|
||||
}
|
||||
|
||||
static bool _206C_206E_200F_206A_200C_202E_206D_206C_200F_202A_200B_202D_202D_202E_206E_200F_206C_202B_206E_202D_202A_200F_206C_202C_202B_206B_200F_202A_200D_202A_206D_206E_200B_202A_202E_200B_200B_200F_206F_200D_202E(string? P_0)
|
||||
{
|
||||
return File.Exists(P_0);
|
||||
}
|
||||
|
||||
static string? _202B_200C_200D_200C_202A_206F_202A_206B_200B_206E_206A_200D_206E_202C_206C_200C_200B_200F_200E_200F_200E_206D_200F_202A_206F_200C_206A_200C_206B_202A_200C_206B_202D_202C_200D_200D_206A_200C_200C_206A_202E(string? P_0, string? P_1)
|
||||
{
|
||||
return P_0 + P_1;
|
||||
}
|
||||
|
||||
static FileStream? _200E_202B_206F_200B_206A_202C_202A_200E_200C_206D_206B_200D_206B_200D_202D_206F_202D_200F_200D_200F_202D_206E_202E_200B_200D_202E_202C_202E_206D_202A_202D_200E_206C_202A_206F_200D_200E_206D_202D_202B_202E(string? P_0)
|
||||
{
|
||||
return File.OpenRead(P_0);
|
||||
}
|
||||
|
||||
static void _206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E(IDisposable? P_0)
|
||||
{
|
||||
P_0.Dispose();
|
||||
}
|
||||
|
||||
static string? _202C_206E_202E_206A_206E_202B_200B_202E_200E_206D_200E_206A_200C_206B_206E_200C_202D_200D_202E_206B_200B_202C_202B_206D_206C_200C_200F_200C_202E_202C_200F_206A_206C_200E_200C_202D_206F_200C_202D_206E_202E(string? P_0, string? P_1)
|
||||
{
|
||||
return Path.ChangeExtension(P_0, P_1);
|
||||
}
|
||||
|
||||
static Stream? _200E_206C_200B_202A_202D_206B_206A_206A_206B_202B_202B_206C_206F_206D_200D_200D_202E_206C_200C_200C_206D_202D_202A_206A_200B_200E_206B_202D_206A_202B_200F_200B_206A_206B_202B_200D_202D_200E_206A_206D_202E(Assembly? P_0, string? P_1)
|
||||
{
|
||||
return P_0.GetManifestResourceStream(P_1);
|
||||
}
|
||||
|
||||
static MemoryStream? _206F_206C_206E_206D_206F_202E_200C_200E_202A_206A_202A_206E_206A_200B_206E_206C_206F_206E_200D_202C_200B_202E_200F_200C_206A_206E_200B_206B_206A_206D_200C_202E_202E_202E_200D_206D_202C_206A_206E_206E_202E()
|
||||
{
|
||||
return new MemoryStream();
|
||||
}
|
||||
|
||||
static void _202D_200F_202B_200D_200F_202C_200D_200F_200D_200B_206E_202C_206E_200E_206C_206D_200C_202E_206C_200D_202C_200F_202E_206C_202D_206D_200D_200E_200C_206B_202A_202E_202B_206A_200C_202D_200F_200E_202B_206E_202E(Stream? P_0, Stream? P_1)
|
||||
{
|
||||
P_0.CopyTo(P_1);
|
||||
}
|
||||
|
||||
static byte[]? _202E_200E_202B_202E_206A_206A_206C_200E_206C_200F_202D_202B_202A_200F_200F_206B_206E_202A_200E_206B_206A_202D_206A_206F_206B_200C_206F_202D_202B_206D_200C_200B_200B_200B_200B_206C_206B_206A_202D_202C_202E(MemoryStream? P_0)
|
||||
{
|
||||
return P_0.ToArray();
|
||||
}
|
||||
|
||||
static AesGcm? _202A_206C_200F_206D_200D_200F_206C_202D_200F_202A_206D_200D_200F_202D_206F_202A_202D_200B_202C_202C_206E_202D_206B_206B_200D_202D_200B_200D_202E_206E_200F_206D_206E_200B_206B_206C_206E_200E_200F_202E(byte[]? P_0, int P_1)
|
||||
{
|
||||
return new AesGcm(P_0, P_1);
|
||||
}
|
||||
|
||||
static void _200E_200C_200C_206A_206D_202A_200F_206C_200F_206C_206E_202A_206E_202C_206C_206D_202D_202A_200D_200E_206D_200F_206F_202B_206F_206A_206E_202B_202A_200C_202E_200E_200F_200C_206F_200E_200C_206C_202D_202D_202E(AesGcm? P_0, ReadOnlySpan<byte> P_1, ReadOnlySpan<byte> P_2, ReadOnlySpan<byte> P_3, Span<byte> P_4, ReadOnlySpan<byte> P_5)
|
||||
{
|
||||
P_0.Decrypt(P_1, P_2, P_3, P_4, P_5);
|
||||
}
|
||||
|
||||
static void _200C_202C_202C_202E_200C_206F_200C_200C_206F_200B_202D_206D_202B_206C_200B_206B_206B_200D_200F_206F_202B_202A_202A_206F_206E_202B_200F_200E_206D_202D_206D_200D_206C_200C_206B_200B_200F_200D_206D_206C_202E(Span<byte> P_0)
|
||||
{
|
||||
CryptographicOperations.ZeroMemory(P_0);
|
||||
}
|
||||
|
||||
static MemoryStream? _206B_206A_200B_202D_206E_200E_202A_206C_206E_206A_200D_206E_200B_200E_200F_200B_202A_202D_200E_200B_202E_206C_200F_200E_206A_206C_202E_200F_206A_206E_206D_202C_202C_200E_200D_200E_200F_206F_206F_202A_202E(byte[]? P_0)
|
||||
{
|
||||
return new MemoryStream(P_0);
|
||||
}
|
||||
|
||||
static DeflateStream? _206A_202E_206B_206A_200B_202E_202B_200F_200D_200E_206F_206F_200F_202B_200E_200E_200B_200D_206B_206B_202E_200C_206F_200D_206D_206D_206B_206E_202C_200D_202E_206F_206E_202B_206F_206A_206A_200B_200E_200E_202E(Stream? P_0, CompressionMode P_1)
|
||||
{
|
||||
return new DeflateStream(P_0, P_1);
|
||||
}
|
||||
|
||||
static Type? _202C_206B_202C_202D_200D_206B_200F_206C_202D_202B_206F_202B_202B_200E_202B_206F_202D_200C_202A_200D_200B_206E_202E_202E_206F_200F_206A_206A_200D_200E_206E_202A_206C_202D_200C_200C_200D_206A_200D_206E_202E(RuntimeTypeHandle P_0)
|
||||
{
|
||||
return Type.GetTypeFromHandle(P_0);
|
||||
}
|
||||
|
||||
static Assembly? _206F_202B_202E_202D_200E_200B_200C_200D_206D_200B_200C_202C_206E_202D_206F_206E_202A_202E_206D_202A_202E_200B_202A_200F_200B_200C_200C_206E_202B_200C_206F_200B_200C_206A_200F_200E_200B_202A_206B_200E_202E(Type? P_0)
|
||||
{
|
||||
return P_0.Assembly;
|
||||
using DeflateStream utf8Json = new DeflateStream(new MemoryStream(array2), CompressionMode.Decompress);
|
||||
return JsonSerializer.Deserialize<T>(utf8Json);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue