Update mappings

This commit is contained in:
js6pak committed 2021-02-03 09:52:30 +01:00
1 parent 36291c009c
commit d07cefd219
3 files changed
+5 -4

No files matched your search

+4 -1
View File
@@ -58,9 +58,12 @@ namespace Reactor.Greenhouse.Generation
foreach (var cleanMethod in CleanType.GetMethods())
{
if (obfuscatedType.GetMethods().Any(x => x.Name == cleanMethod.Name))
continue;
var matching = new List<MethodDefinition>();
foreach (var obfuscatedMethod in obfuscatedType.GetMethods())
foreach (var obfuscatedMethod in obfuscatedType.GetMethods().Where(x => x.Name.IsObfuscated()))
{
if (cleanMethod.ReturnType.FullName != obfuscatedMethod.ReturnType.FullName)
continue;
-2
View File
@@ -65,8 +65,6 @@ namespace Reactor.Greenhouse
{
await GenerateAsync(gameManager.Itch, cleanModule);
}
new OxygenFilter.OxygenFilter().Start(File.ReadAllText(Path.Combine("bin", "2020.12.9s.json")), new FileInfo(gameManager.Steam.Dll), new FileInfo("test.dll"));
}
private static async Task GenerateAsync(Game game, ModuleDefinition cleanModule)