mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-09 11:17:35 -03:00
Fixed #620
This commit is contained in:
parent
f4f630c768
commit
8f06aa425a
1 changed files with 8 additions and 1 deletions
|
@ -668,7 +668,14 @@ namespace Il2CppDumper
|
|||
var val = blobValue.Value;
|
||||
if (typeReference.FullName == "System.Object")
|
||||
{
|
||||
val = new CustomAttributeArgument(GetBlobValueTypeReference(blobValue, memberReference), val);
|
||||
if (blobValue.il2CppTypeEnum == Il2CppTypeEnum.IL2CPP_TYPE_IL2CPP_TYPE_INDEX)
|
||||
{
|
||||
val = new CustomAttributeArgument(memberReference.Module.ImportReference(typeof(Type)), GetTypeReference(memberReference, (Il2CppType)val));
|
||||
}
|
||||
else
|
||||
{
|
||||
val = new CustomAttributeArgument(GetBlobValueTypeReference(blobValue, memberReference), val);
|
||||
}
|
||||
}
|
||||
else if (val == null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue