Simplify string obfuscation processing

This commit is contained in:
Sinai committed 2021-05-07 01:53:02 +10:00
1 parent 8534c08f49
commit 56875e0641
3 files changed
+15 -28

No files matched your search

+2 -3
View File
@@ -166,15 +166,14 @@ namespace UnityExplorer.UI.Utility
toString = ex.ReflectionExToString();
}
string _ = null;
toString = ReflectionUtility.ProcessTypeInString(type, toString, ref _);
toString = ReflectionUtility.ProcessTypeInString(type, toString);
#if CPP
if (value is Il2CppSystem.Type cppType)
{
var monoType = Il2CppReflection.GetUnhollowedType(cppType);
if (monoType != null)
toString = ReflectionUtility.ProcessTypeInString(monoType, toString, ref _);
toString = ReflectionUtility.ProcessTypeInString(monoType, toString);
}
#endif