muffin v7.5.11

This commit is contained in:
alydev 2026-08-17 20:29:32 +10:00
parent addf2d530f
commit 3102923ce2
522 changed files with 41082 additions and 211592 deletions

View file

@ -1,6 +1,5 @@
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel;
using LLib.ImGui;
@ -134,27 +133,11 @@ public sealed class OutOfGameNotifier : IDisposable
get
{
Device* ptr = Device.Instance();
int num = ((ptr != null) ? 539179088 : 539179091);
while (true)
if (ptr == null)
{
int num2 = num;
int num3 = 539179090;
int num4 = num2;
int num5 = num4 + num3;
int num6 = num4 & num3;
switch (num5 - (num6 + num6))
{
case 0:
goto IL_004b;
case 2:
return (nint)ptr->hWnd;
case 1:
return 0;
}
continue;
IL_004b:
num = 539179091;
return 0;
}
return (nint)ptr->hWnd;
}
}
@ -163,27 +146,11 @@ public sealed class OutOfGameNotifier : IDisposable
get
{
nint gameWindowHandle = GameWindowHandle;
int num = ((gameWindowHandle == 0) ? 1427669893 : 1427669894);
while (true)
if (gameWindowHandle != 0)
{
int num2 = num;
int num3 = 1427669892;
int num4 = num2;
int num5 = num4 + num3;
int num6 = num4 & num3;
switch (num5 - (num6 + num6))
{
case 0:
goto IL_0049;
case 1:
return false;
case 2:
return NativeMethods.GetForegroundWindow() == gameWindowHandle;
}
continue;
IL_0049:
num = 1427669894;
return NativeMethods.GetForegroundWindow() == gameWindowHandle;
}
return false;
}
}
@ -197,231 +164,118 @@ public sealed class OutOfGameNotifier : IDisposable
WindowFlash.Flash(GameWindowHandle, 0u);
}
[MethodImpl(MethodImplOptions.NoInlining)]
public void PlayAlertSound(string? wavPath)
{
int num = (_202E_202E_200E_206D_200E_202B_206E_206C_202D_202D_202D_200B_206D_200C_200E_206B_206B_202D_202B_206A_202B_206A_200D_206B_206E_202B_200B_202C_206D_206F_200B_206C_200D_206D_206B_206E_200B_200C_200D_200D_202E(wavPath) ? 199681171 : 199681169);
while (true)
if (!string.IsNullOrEmpty(wavPath) && File.Exists(wavPath))
{
int num2 = num;
int num3 = 199681171;
int num4 = num2;
switch ((num4 | num3) - (num4 & num3))
if (NativeMethods.PlaySound(wavPath, 0, 131075u))
{
case 5:
num = 199681169;
break;
case 3:
num = ((!NativeMethods.PlaySound(wavPath, 0, 131075u)) ? 199681170 : 199681175);
break;
case 1:
_200E_200D_202A_200C_206A_206E_200D_202D_206C_202E_202D_202C_202E_200D_200E_206D_206D_200D_200E_206F_206F_200E_202B_202B_200C_200B_200B_200B_206E_200E_206B_206F_200B_206C_200B_202C_206B_200C_200B_206F_202E((ILogger)_logger, global::_003CModule_003E._206A_202C_200C_206F_202A_200C_200F_206F_202B_202B_200D_206F_206D_200E_206A_206B_202A_200F_200B_206C_202B_202A_202B_206C_200F_206C_202C_202C_200C_206C_206F_200C_200B_202D_200E_202A_202A_206B_206B_200F_202E<string>(-928191835), new object[1] { wavPath });
num = 199681171;
break;
case 2:
num = ((!_200C_200B_202C_206C_206B_202D_206B_202C_202D_206C_202D_200C_206A_200F_206F_206B_202D_200F_206B_202E_206F_202B_206D_200C_202B_206D_202C_200D_200F_202E_202E_200E_206E_200F_200C_206D_200F_202A_200B_200E_202E(wavPath)) ? 199681171 : 199681168);
break;
case 0:
num = (NativeMethods.MessageBeep(64u) ? 199681172 : 199681173);
break;
case 7:
return;
case 6:
_200E_200D_202A_200C_206A_206E_200D_202D_206C_202E_202D_202C_202E_200D_200E_206D_206D_200D_200E_206F_206F_200E_202B_202B_200C_200B_200B_200B_206E_200E_206B_206F_200B_206C_200B_202C_206B_200C_200B_206F_202E((ILogger)_logger, global::_003CModule_003E._200E_206F_206C_206C_200E_202A_206D_206B_200B_202D_202B_200F_200F_206B_206C_206F_202D_206F_206A_202D_206A_200B_200B_202B_202D_202C_200F_200D_202E_200E_200D_202A_202B_206F_202E_200E_200B_206B_200E_202E_202E<string>(1376931042), Array.Empty<object>());
num = 199681172;
break;
case 4:
return;
}
_logger.LogTrace("PlaySound failed for {Path}, falling back to beep", wavPath);
}
if (!NativeMethods.MessageBeep(64u))
{
_logger.LogTrace("MessageBeep returned false");
}
}
[MethodImpl(MethodImplOptions.NoInlining)]
public void ShowTrayNotification(string title, string message)
{
nint gameWindowHandle = GameWindowHandle;
int num = ((gameWindowHandle != 0) ? (-102834731) : (-102834730));
nint num8 = default(nint);
while (true)
if (gameWindowHandle == 0)
{
int num2 = num;
int num3 = -102834732;
int num4 = num2;
switch ((num4 | num3) - (num4 & num3))
_logger.LogWarning("Cannot show tray notification - game window handle not available");
return;
}
try
{
if (!_trayIconRegistered)
{
case 0:
goto IL_0050;
case 2:
_202C_202E_200B_206C_202C_206E_206E_202C_206B_206D_206F_206B_202C_202C_202A_206B_200B_206C_202B_202C_206F_206F_206F_202B_202C_200E_206B_200D_206B_200D_202C_202E_206D_206E_206D_206D_202D_206B_202E_206E_202E((ILogger)_logger, global::_003CModule_003E._206A_202C_200C_206F_202A_200C_200F_206F_202B_202B_200D_206F_206D_200E_206A_206B_202A_200F_200B_206C_202B_202A_202B_206C_200F_206C_202C_202C_200C_206C_206F_200C_200B_202D_200E_202A_202A_206B_206B_200F_202E<string>(-498044301), Array.Empty<object>());
return;
case 1:
try
nint num = GetGameIcon(gameWindowHandle);
if (num == 0)
{
num = (_trayIconRegistered ? (-1863308179) : (-1863308178));
while (true)
{
int num5 = num;
num3 = -1863308179;
num4 = num5;
int num6 = num4 + num3;
int num7 = num4 & num3;
switch (num6 - (num7 + num7))
{
case 4:
{
NOTIFYICONDATA lpData3 = new NOTIFYICONDATA
{
cbSize = (uint)Marshal.SizeOf<NOTIFYICONDATA>(),
hWnd = gameWindowHandle,
uID = 176u,
uTimeoutOrVersion = 4u
};
NativeMethods.Shell_NotifyIcon(4u, ref lpData3);
_trayHWnd = gameWindowHandle;
_trayIconRegistered = true;
num = -1863308179;
break;
}
case 3:
num8 = GetGameIcon(gameWindowHandle);
num = ((num8 != 0) ? (-1863308184) : (-1863308180));
break;
case 8:
_202C_202E_200B_206C_202C_206E_206E_202C_206B_206D_206F_206B_202C_202C_202A_206B_200B_206C_202B_202C_206F_206F_206F_202B_202C_200E_206B_200D_206B_200D_202C_202E_206D_206E_206D_206D_202D_206B_202E_206E_202E((ILogger)_logger, global::_003CModule_003E._206E_202B_206C_202A_202A_200E_202B_202B_206D_200B_200C_206B_200B_206D_202E_202D_206C_202B_200B_206A_202D_206C_202A_200F_202D_200C_200B_200B_200B_200D_202C_206E_206D_202E_200C_206B_206A_206D_202D_202C_202E<string>(-218723301), Array.Empty<object>());
num = -1863308177;
break;
case 7:
_202C_202E_200B_206C_202C_206E_206E_202C_206B_206D_206F_206B_202C_202C_202A_206B_200B_206C_202B_202C_206F_206F_206F_202B_202C_200E_206B_200D_206B_200D_202C_202E_206D_206E_206D_206D_202D_206B_202E_206E_202E((ILogger)_logger, global::_003CModule_003E._206A_206D_202C_206E_206D_206E_202A_200F_200D_206A_200F_206C_202C_202D_206D_206A_200D_200F_206A_206C_202C_206D_206E_200F_200F_200C_206B_200B_206B_206E_202B_206B_200E_200E_200B_206F_200F_202E_200C_200C_202E<string>(621311524), Array.Empty<object>());
return;
case 6:
num = -1863308178;
break;
case 1:
num8 = NativeMethods.LoadIcon(0, 32512);
num = -1863308184;
break;
case 0:
{
NOTIFYICONDATA lpData2 = new NOTIFYICONDATA
{
cbSize = (uint)Marshal.SizeOf<NOTIFYICONDATA>(),
hWnd = _trayHWnd,
uID = 176u,
uFlags = 16u,
szInfoTitle = Truncate(title, 63),
szInfo = Truncate(message, 255),
dwInfoFlags = 1u
};
num = (NativeMethods.Shell_NotifyIcon(1u, ref lpData2) ? (-1863308177) : (-1863308187));
break;
}
case 5:
{
NOTIFYICONDATA lpData = new NOTIFYICONDATA
{
cbSize = (uint)Marshal.SizeOf<NOTIFYICONDATA>(),
hWnd = gameWindowHandle,
uID = 176u,
uFlags = 6u,
hIcon = num8,
szTip = Truncate(title, 127)
};
num = (NativeMethods.Shell_NotifyIcon(0u, ref lpData) ? (-1863308183) : (-1863308182));
break;
}
case 2:
return;
}
}
num = NativeMethods.LoadIcon(0, 32512);
}
catch (Exception ex)
NOTIFYICONDATA lpData = new NOTIFYICONDATA
{
_206E_206A_206C_200C_200F_206C_202C_206E_206D_202C_200B_202B_202D_206C_202E_206C_200C_200E_206E_200E_202C_206F_202C_200B_202D_200F_200C_200F_202E_200F_200C_200D_206E_202B_200D_202B_202A_202B_200E_202E_202E((ILogger)_logger, ex, global::_003CModule_003E._206E_202B_206C_202A_202A_200E_202B_202B_206D_200B_200C_206B_200B_206D_202E_202D_206C_202B_200B_206A_202D_206C_202A_200F_202D_200C_200B_200B_200B_200D_202C_206E_206D_202E_200C_206B_206A_206D_202D_202C_202E<string>(1309216025), Array.Empty<object>());
cbSize = (uint)Marshal.SizeOf<NOTIFYICONDATA>(),
hWnd = gameWindowHandle,
uID = 176u,
uFlags = 6u,
hIcon = num,
szTip = Truncate(title, 127)
};
if (!NativeMethods.Shell_NotifyIcon(0u, ref lpData))
{
_logger.LogWarning("Shell_NotifyIcon(NIM_ADD) failed");
return;
}
NOTIFYICONDATA lpData2 = new NOTIFYICONDATA
{
cbSize = (uint)Marshal.SizeOf<NOTIFYICONDATA>(),
hWnd = gameWindowHandle,
uID = 176u,
uTimeoutOrVersion = 4u
};
NativeMethods.Shell_NotifyIcon(4u, ref lpData2);
_trayHWnd = gameWindowHandle;
_trayIconRegistered = true;
}
continue;
IL_0050:
num = -102834730;
NOTIFYICONDATA lpData3 = new NOTIFYICONDATA
{
cbSize = (uint)Marshal.SizeOf<NOTIFYICONDATA>(),
hWnd = _trayHWnd,
uID = 176u,
uFlags = 16u,
szInfoTitle = Truncate(title, 63),
szInfo = Truncate(message, 255),
dwInfoFlags = 1u
};
if (!NativeMethods.Shell_NotifyIcon(1u, ref lpData3))
{
_logger.LogWarning("Shell_NotifyIcon(NIM_MODIFY) failed");
}
}
catch (Exception exception)
{
_logger.LogError(exception, "Failed to show tray notification");
}
}
private static nint GetGameIcon(nint hWnd)
{
nint num = NativeMethods.SendMessage(hWnd, 127u, 1, 0);
int num2 = ((num != 0) ? 1006480639 : 1006480632);
while (true)
if (num == 0)
{
int num3 = num2;
int num4 = 1006480638;
int num5 = num3;
switch ((num5 | num4) - (num5 & num4))
{
case 4:
num2 = 1006480632;
break;
case 5:
num = NativeMethods.GetClassLongPtr(hWnd, -14);
num2 = 1006480637;
break;
case 1:
num2 = ((num != 0) ? 1006480637 : 1006480635);
break;
case 2:
return num;
case 0:
num = NativeMethods.GetClassLongPtr(hWnd, -34);
num2 = 1006480636;
break;
case 3:
num2 = ((num != 0) ? 1006480636 : 1006480638);
break;
case 6:
num = NativeMethods.SendMessage(hWnd, 127u, 0, 0);
num2 = 1006480639;
break;
}
num = NativeMethods.SendMessage(hWnd, 127u, 0, 0);
}
if (num == 0)
{
num = NativeMethods.GetClassLongPtr(hWnd, -14);
}
if (num == 0)
{
num = NativeMethods.GetClassLongPtr(hWnd, -34);
}
return num;
}
private static string Truncate(string value, int maxChars)
{
int num = ((_202C_206C_206F_202B_202E_206A_202C_206B_200F_200E_200F_200C_202E_202E_206C_206D_200C_200D_206A_202D_206B_200B_206E_206F_206F_200E_206B_202C_202A_202D_206C_206B_200D_200D_200E_200B_202A_202C_200D_206D_202E(value) <= maxChars) ? (-362575814) : (-362575815));
while (true)
if (value.Length > maxChars)
{
int num2 = num;
int num3 = -362575813;
int num4 = num2;
switch ((num4 | num3) - (num4 & num3))
{
case 0:
goto IL_0047;
case 2:
return _200D_200D_200D_206C_200B_206C_200B_206A_206B_202D_202B_202E_200D_206E_206D_202A_200C_206C_200C_202C_206D_200B_200C_202B_202B_200F_202B_202A_200E_202E_200C_200B_206B_206A_202A_200C_200C_206D_206B_206A_202E(value, 0, maxChars);
case 1:
return value;
}
continue;
IL_0047:
num = -362575815;
return value.Substring(0, maxChars);
}
return value;
}
public void Dispose()
{
int num = ((!_disposed) ? 413573275 : 413573272);
while (true)
if (!_disposed)
{
int num2 = num;
int num3 = 413573273;
int num4 = num2;
switch ((num4 | num3) - (num4 & num3))
{
case 0:
return;
case 1:
return;
case 4:
_disposed = true;
if (_trayIconRegistered)
{
NOTIFYICONDATA lpData = new NOTIFYICONDATA
{
@ -431,57 +285,7 @@ public sealed class OutOfGameNotifier : IDisposable
};
NativeMethods.Shell_NotifyIcon(2u, ref lpData);
_trayIconRegistered = false;
return;
}
case 2:
_disposed = true;
num = (_trayIconRegistered ? 413573277 : 413573273);
break;
case 3:
num = 413573272;
break;
}
}
}
void IDisposable.Dispose()
{
//ILSpy generated this explicit interface implementation from .override directive in Dispose
this.Dispose();
}
static bool _202E_202E_200E_206D_200E_202B_206E_206C_202D_202D_202D_200B_206D_200C_200E_206B_206B_202D_202B_206A_202B_206A_200D_206B_206E_202B_200B_202C_206D_206F_200B_206C_200D_206D_206B_206E_200B_200C_200D_200D_202E(string P_0)
{
return string.IsNullOrEmpty(P_0);
}
static bool _200C_200B_202C_206C_206B_202D_206B_202C_202D_206C_202D_200C_206A_200F_206F_206B_202D_200F_206B_202E_206F_202B_206D_200C_202B_206D_202C_200D_200F_202E_202E_200E_206E_200F_200C_206D_200F_202A_200B_200E_202E(string P_0)
{
return File.Exists(P_0);
}
static void _200E_200D_202A_200C_206A_206E_200D_202D_206C_202E_202D_202C_202E_200D_200E_206D_206D_200D_200E_206F_206F_200E_202B_202B_200C_200B_200B_200B_206E_200E_206B_206F_200B_206C_200B_202C_206B_200C_200B_206F_202E(ILogger P_0, string P_1, object[] P_2)
{
P_0.LogTrace(P_1, P_2);
}
static void _202C_202E_200B_206C_202C_206E_206E_202C_206B_206D_206F_206B_202C_202C_202A_206B_200B_206C_202B_202C_206F_206F_206F_202B_202C_200E_206B_200D_206B_200D_202C_202E_206D_206E_206D_206D_202D_206B_202E_206E_202E(ILogger P_0, string P_1, object[] P_2)
{
P_0.LogWarning(P_1, P_2);
}
static void _206E_206A_206C_200C_200F_206C_202C_206E_206D_202C_200B_202B_202D_206C_202E_206C_200C_200E_206E_200E_202C_206F_202C_200B_202D_200F_200C_200F_202E_200F_200C_200D_206E_202B_200D_202B_202A_202B_200E_202E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3)
{
P_0.LogError(P_1, P_2, P_3);
}
static int _202C_206C_206F_202B_202E_206A_202C_206B_200F_200E_200F_200C_202E_202E_206C_206D_200C_200D_206A_202D_206B_200B_206E_206F_206F_200E_206B_202C_202A_202D_206C_206B_200D_200D_200E_200B_202A_202C_200D_206D_202E(string P_0)
{
return P_0.Length;
}
static string _200D_200D_200D_206C_200B_206C_200B_206A_206B_202D_202B_202E_200D_206E_206D_202A_200C_206C_200C_202C_206D_200B_200C_202B_202B_200F_202B_202A_200E_202E_200C_200B_206B_206A_202A_200C_200C_206D_206B_206A_202E(string P_0, int P_1, int P_2)
{
return P_0.Substring(P_1, P_2);
}
}

View file

@ -2,48 +2,24 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
namespace LLib.Notifications;
public static class WindowsSounds
{
public static string MediaDirectory
{
[MethodImpl(MethodImplOptions.NoInlining)]
get
{
return _200F_200F_200E_200D_206C_200B_206F_206F_202E_200B_206D_202C_202E_200B_200C_200F_202C_200F_206B_200D_202E_200C_200E_206C_206C_200C_202D_202B_200F_206D_206F_200F_206B_202A_200E_202B_200F_206F_206C_206E_202E(_206A_202A_202B_200B_200D_200F_206C_202A_206B_202E_202A_206D_202C_202D_200D_202E_202D_206E_206A_200B_206C_200D_206A_200D_202E_206E_206F_200F_200E_200D_202C_200D_200B_200B_202D_206F_200E_206C_200E_206F_202E(Environment.SpecialFolder.Windows), global::_003CModule_003E._200E_206F_206C_206C_200E_202A_206D_206B_200B_202D_202B_200F_200F_206B_206C_206F_202D_206F_206A_202D_206A_200B_200B_202B_202D_202C_200F_200D_202E_200E_200D_202A_202B_206F_202E_200E_200B_206B_200E_202E_202E<string>(-1437924549));
}
}
public static string MediaDirectory => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), "Media");
[MethodImpl(MethodImplOptions.NoInlining)]
public static IReadOnlyList<string> ListWavFileNames()
{
try
{
int num = (_200B_206D_200F_202A_200F_206D_200F_206C_202A_200B_200F_200D_200F_206A_206A_206C_202D_206F_200E_202D_202C_200B_200F_202B_202D_206D_206C_200D_200D_206D_206D_200B_206A_202A_200E_202A_200E_202D_206F_200E_202E(MediaDirectory) ? 1352349132 : 1352349133);
while (true)
if (!Directory.Exists(MediaDirectory))
{
int num2 = num;
int num3 = 1352349132;
int num4 = num2;
int num5 = num4 + num3;
int num6 = num4 & num3;
switch (num5 - (num6 + num6))
{
case 2:
goto IL_004c;
case 1:
return Array.Empty<string>();
case 0:
return _200E_202C_200D_200C_206E_202E_206D_200F_200B_202D_206B_202D_206B_206B_206D_206E_202B_206E_200E_202D_206E_206E_206B_202D_200C_206E_202E_202D_202E_202B_200E_206E_202B_200B_202D_206E_206B_200F_206A_202A_202E(MediaDirectory, global::_003CModule_003E._200E_206F_206C_206C_200E_202A_206D_206B_200B_202D_202B_200F_200F_206B_206C_206F_202D_206F_206A_202D_206A_200B_200B_202B_202D_202C_200F_200D_202E_200E_200D_202A_202B_206F_202E_200E_200B_206B_200E_202E_202E<string>(-258286566)).Select(Path.GetFileName).OfType<string>().OrderBy<string, string>((string x) => x, _206E_200D_202B_206E_200B_206F_206E_202C_206E_200F_202D_206D_202E_202C_206A_206B_202C_206B_206F_206E_200F_206A_206A_206F_200C_206F_200D_200F_202E_200C_206E_202E_200E_206A_202D_200D_202C_200D_206D_202C_202E())
.ToArray();
}
continue;
IL_004c:
num = 1352349133;
return Array.Empty<string>();
}
return Directory.EnumerateFiles(MediaDirectory, "*.wav").Select(Path.GetFileName).OfType<string>()
.OrderBy<string, string>((string x) => x, StringComparer.OrdinalIgnoreCase)
.ToArray();
}
catch (Exception)
{
@ -53,66 +29,15 @@ public static class WindowsSounds
public static string? ResolvePath(string? fileName)
{
int num = ((!_200C_202D_206A_200D_206E_202A_202B_202C_202A_206A_202D_206E_202B_202E_202B_200F_206C_206B_200D_206D_200E_202A_200F_202A_200F_206D_200E_200E_206B_206D_200D_200D_200C_202E_206B_206D_206E_206A_202A_200D_202E(fileName)) ? 301346880 : 301346882);
string text = default(string);
while (true)
if (string.IsNullOrEmpty(fileName))
{
int num2 = num;
int num3 = 301346883;
int num4 = num2;
int num5 = num4 + num3;
int num6 = num4 & num3;
switch (num5 - (num6 + num6))
{
case 4:
num = 301346882;
break;
case 1:
return null;
case 2:
return null;
case 0:
return text;
case 3:
text = _200F_200F_200E_200D_206C_200B_206F_206F_202E_200B_206D_202C_202E_200B_200C_200F_202C_200F_206B_200D_202E_200C_200E_206C_206C_200C_202D_202B_200F_206D_206F_200F_206B_202A_200E_202B_200F_206F_206C_206E_202E(MediaDirectory, fileName);
num = (_206C_200F_206E_206F_200D_202E_206B_206A_206C_206D_200C_202D_200E_200D_206E_202D_202C_206F_200D_200E_202E_200C_206E_206C_202A_202B_206E_206E_200E_200B_200B_206D_206A_206B_206F_200D_200B_200B_200F_206A_202E(text) ? 301346883 : 301346881);
break;
}
return null;
}
}
static string _206A_202A_202B_200B_200D_200F_206C_202A_206B_202E_202A_206D_202C_202D_200D_202E_202D_206E_206A_200B_206C_200D_206A_200D_202E_206E_206F_200F_200E_200D_202C_200D_200B_200B_202D_206F_200E_206C_200E_206F_202E(Environment.SpecialFolder P_0)
{
return Environment.GetFolderPath(P_0);
}
static string _200F_200F_200E_200D_206C_200B_206F_206F_202E_200B_206D_202C_202E_200B_200C_200F_202C_200F_206B_200D_202E_200C_200E_206C_206C_200C_202D_202B_200F_206D_206F_200F_206B_202A_200E_202B_200F_206F_206C_206E_202E(string P_0, string P_1)
{
return Path.Combine(P_0, P_1);
}
static bool _200B_206D_200F_202A_200F_206D_200F_206C_202A_200B_200F_200D_200F_206A_206A_206C_202D_206F_200E_202D_202C_200B_200F_202B_202D_206D_206C_200D_200D_206D_206D_200B_206A_202A_200E_202A_200E_202D_206F_200E_202E(string P_0)
{
return Directory.Exists(P_0);
}
static IEnumerable<string> _200E_202C_200D_200C_206E_202E_206D_200F_200B_202D_206B_202D_206B_206B_206D_206E_202B_206E_200E_202D_206E_206E_206B_202D_200C_206E_202E_202D_202E_202B_200E_206E_202B_200B_202D_206E_206B_200F_206A_202A_202E(string P_0, string P_1)
{
return Directory.EnumerateFiles(P_0, P_1);
}
static StringComparer _206E_200D_202B_206E_200B_206F_206E_202C_206E_200F_202D_206D_202E_202C_206A_206B_202C_206B_206F_206E_200F_206A_206A_206F_200C_206F_200D_200F_202E_200C_206E_202E_200E_206A_202D_200D_202C_200D_206D_202C_202E()
{
return StringComparer.OrdinalIgnoreCase;
}
static bool _200C_202D_206A_200D_206E_202A_202B_202C_202A_206A_202D_206E_202B_202E_202B_200F_206C_206B_200D_206D_200E_202A_200F_202A_200F_206D_200E_200E_206B_206D_200D_200D_200C_202E_206B_206D_206E_206A_202A_200D_202E(string P_0)
{
return string.IsNullOrEmpty(P_0);
}
static bool _206C_200F_206E_206F_200D_202E_206B_206A_206C_206D_200C_202D_200E_200D_206E_202D_202C_206F_200D_200E_202E_200C_206E_206C_202A_202B_206E_206E_200E_200B_200B_206D_206A_206B_206F_200D_200B_200B_200F_206A_202E(string P_0)
{
return File.Exists(P_0);
string text = Path.Combine(MediaDirectory, fileName);
if (!File.Exists(text))
{
return null;
}
return text;
}
}