Implemented the console log, some cleanups

This commit is contained in:
Sinai
2021-05-14 02:45:59 +10:00
parent 89022db5fc
commit 12fe19ba8e
17 changed files with 341 additions and 147 deletions

View File

@ -14,13 +14,16 @@ using System.Diagnostics.CodeAnalysis;
using UnityExplorer.Core;
using CppType = Il2CppSystem.Type;
using BF = System.Reflection.BindingFlags;
using UnityExplorer.Core.Config;
namespace UnityExplorer
{
public class Il2CppReflection : ReflectionUtility
{
public Il2CppReflection()
protected override void Initialize()
{
base.Initialize();
TryLoadGameModules();
BuildDeobfuscationCache();
@ -70,7 +73,7 @@ namespace UnityExplorer
}
if (DeobfuscatedTypes.Count > 0)
ExplorerCore.Log($"Built deobfuscation cache, count: {DeobfuscatedTypes.Count}");
ExplorerCore.Log($"Built IL2CPP deobfuscation cache, initial count: {DeobfuscatedTypes.Count}");
}
private static void TryCacheDeobfuscatedType(Type type)