Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tien0246 committed Sep 4, 2024
1 parent fe34e3a commit 5a7a741
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Il2CppDumper/Il2Cpp/Il2Cpp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ public virtual void Init(ulong codeRegistration, ulong metadataRegistration)
fieldOffsets = Array.ConvertAll(MapVATR<uint>(pMetadataRegistration.fieldOffsets, pMetadataRegistration.fieldOffsetsCount), x => (ulong)x);
}
var pTypes = MapVATR<ulong>(pMetadataRegistration.types, pMetadataRegistration.typesCount);
Console.WriteLine($"pMetadataRegistration.typesCount: {pMetadataRegistration.typesCount}");
types = new Il2CppType[pMetadataRegistration.typesCount];
for (var i = 0; i < pMetadataRegistration.typesCount; ++i)
{
Expand Down
2 changes: 1 addition & 1 deletion Il2CppDumper/Il2Cpp/MetadataClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public class Il2CppTypeDefinition
public short rgctxCount;
public short genericContainerIndex;
public short eventStart;
public short propertyStart;
public ushort propertyStart;
public short nestedTypesStart;
public short interfacesStart;
public short interfaceOffsetsStart;
Expand Down

0 comments on commit 5a7a741

Please sign in to comment.