move 29/31.1/.2 to use tags (-2022,-2023) instead of minor versions

This commit is contained in:
LukeFZ
2024-08-18 22:40:14 +02:00
parent 43d7433e12
commit a7081ccfa9
6 changed files with 22 additions and 24 deletions

View File

@@ -206,7 +206,7 @@ namespace Il2CppInspector
var secondToken = Methods[1].Token;
if (secondToken >> 24 != 0x6)
{
Version = new StructVersion(Version.Major, 1, Version.Tag);
Version = new StructVersion(Version.Major, 0, MetadataVersions.Tag2023);
Methods = ReadVersionedObjectArray<Il2CppMethodDefinition>(Header.MethodsOffset,
Header.MethodsSize / Sizeof<Il2CppMethodDefinition>());