muffin v7.5.6
This commit is contained in:
parent
6266f9e6b7
commit
addf2d530f
619 changed files with 264792 additions and 446022 deletions
1066
SmartNav.Data/-----------------------------------------.cs
Normal file
1066
SmartNav.Data/-----------------------------------------.cs
Normal file
File diff suppressed because it is too large
Load diff
1456
SmartNav.Data/-Module-.cs
Normal file
1456
SmartNav.Data/-Module-.cs
Normal file
File diff suppressed because it is too large
Load diff
BIN
SmartNav.Data/SmartNav.Data.chocobo-taxi-stands.bin
Normal file
BIN
SmartNav.Data/SmartNav.Data.chocobo-taxi-stands.bin
Normal file
Binary file not shown.
32
SmartNav.Data/SmartNav.Data.csproj
Normal file
32
SmartNav.Data/SmartNav.Data.csproj
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<AssemblyName>SmartNav.Data</AssemblyName>
|
||||
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
|
||||
<TargetFramework>netcoreapp1.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<LangVersion>12.0</LangVersion>
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<RootNamespace />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Remove="SmartNav.Data.warp-destinations.bin" />
|
||||
<None Remove="SmartNav.Data.teleport-tickets.bin" />
|
||||
<None Remove="SmartNav.Data.chocobo-taxi-stands.bin" />
|
||||
<None Remove="SmartNav.Data.zone-sub-regions.bin" />
|
||||
<None Remove="SmartNav.Data.derived-arrivals.bin" />
|
||||
<EmbeddedResource Include="SmartNav.Data.warp-destinations.bin" LogicalName="SmartNav.Data.warp-destinations.bin" />
|
||||
<EmbeddedResource Include="SmartNav.Data.teleport-tickets.bin" LogicalName="SmartNav.Data.teleport-tickets.bin" />
|
||||
<EmbeddedResource Include="SmartNav.Data.chocobo-taxi-stands.bin" LogicalName="SmartNav.Data.chocobo-taxi-stands.bin" />
|
||||
<EmbeddedResource Include="SmartNav.Data.zone-sub-regions.bin" LogicalName="SmartNav.Data.zone-sub-regions.bin" />
|
||||
<EmbeddedResource Include="SmartNav.Data.derived-arrivals.bin" LogicalName="SmartNav.Data.derived-arrivals.bin" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="SmartNav.Model">
|
||||
<HintPath>..\..\SmartNav.Model.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
BIN
SmartNav.Data/SmartNav.Data.derived-arrivals.bin
Normal file
BIN
SmartNav.Data/SmartNav.Data.derived-arrivals.bin
Normal file
Binary file not shown.
BIN
SmartNav.Data/SmartNav.Data.teleport-tickets.bin
Normal file
BIN
SmartNav.Data/SmartNav.Data.teleport-tickets.bin
Normal file
Binary file not shown.
BIN
SmartNav.Data/SmartNav.Data.warp-destinations.bin
Normal file
BIN
SmartNav.Data/SmartNav.Data.warp-destinations.bin
Normal file
Binary file not shown.
BIN
SmartNav.Data/SmartNav.Data.zone-sub-regions.bin
Normal file
BIN
SmartNav.Data/SmartNav.Data.zone-sub-regions.bin
Normal file
Binary file not shown.
18
SmartNav.Data/SmartNav.Data/AssemblyDerivedArrivalLoader.cs
Normal file
18
SmartNav.Data/SmartNav.Data/AssemblyDerivedArrivalLoader.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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();
|
||||
}
|
||||
}
|
||||
14
SmartNav.Data/SmartNav.Data/AssemblyTaxiStandLoader.cs
Normal file
14
SmartNav.Data/SmartNav.Data/AssemblyTaxiStandLoader.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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>();
|
||||
}
|
||||
}
|
||||
24
SmartNav.Data/SmartNav.Data/AssemblyTeleportTicketLoader.cs
Normal file
24
SmartNav.Data/SmartNav.Data/AssemblyTeleportTicketLoader.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
30
SmartNav.Data/SmartNav.Data/AssemblyWarpDestinationLoader.cs
Normal file
30
SmartNav.Data/SmartNav.Data/AssemblyWarpDestinationLoader.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
24
SmartNav.Data/SmartNav.Data/AssemblyZoneSubRegionLoader.cs
Normal file
24
SmartNav.Data/SmartNav.Data/AssemblyZoneSubRegionLoader.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
68
SmartNav.Data/SmartNav.Data/DataBundleSecret.cs
Normal file
68
SmartNav.Data/SmartNav.Data/DataBundleSecret.cs
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace SmartNav.Data;
|
||||
|
||||
internal static class DataBundleSecret
|
||||
{
|
||||
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 = 1494450304;
|
||||
while (true)
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
324
SmartNav.Data/SmartNav.Data/SmartNavResources.cs
Normal file
324
SmartNav.Data/SmartNav.Data/SmartNavResources.cs
Normal file
|
|
@ -0,0 +1,324 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text.Json;
|
||||
|
||||
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));
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public static T? Load<T>(string fileName, string? overrideDirectory)
|
||||
{
|
||||
int num = ((overrideDirectory == null) ? (-221038174) : (-221038176));
|
||||
string text = default(string);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -221038175;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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);
|
||||
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;
|
||||
}
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue