Il2CppInspector icon indicating copy to clipboard operation
Il2CppInspector copied to clipboard

Unity 2019.4.31f1 - unsupported

Open Cr4nkSt4r opened this issue 2 years ago • 0 comments

Cmd & Output:

Il2CppInspector.exe -i GameAssembly.dll -m global-metadata.dat

Il2CppInspector Command-Line Edition
Version 2021.1
(c) 2017-2021 Katy Coe - www.djkaty.com - www.github.com/djkaty

Using plugin: IL2CPP API Discovery
Using plugin: Binary metadata field order deobfuscator
Using plugin: Metadata strings XOR decryptor
Using plugin: Binary file XOR decryptor
Detected metadata version 24,4
Container format: PE32+
Container endianness: Little
Architecture word size: 64-bit
Instruction set: x64
Global offset: 0x0000000180000C00
No symbol table present in binary file
No matches via code heuristics
Required structures acquired from data heuristics
CodeRegistration struct found at 0x0000000183730A98 (file offset 0x0372EE98)
MetadataRegistration struct found at 0x00000001837345C0 (file offset 0x037329C0)
The detected Il2CppCodeRegistration / Il2CppMetadataRegistration structs do not pass validation. This may mean that their fields have been re-ordered as a form of obfuscation and Il2CppInspector has not been able to restore the original order automatically. Consider re-ordering the fields in Il2CppBinaryClasses.cs and try again.
Analyze IL2CPP data: 3,78 sec

Files: GameAssembly.zip global-metadata.zip

Game: https://store.steampowered.com/app/739630/Phasmophobia/

Changes made to add the support:

Il2CppBinaryClasses.cs:40 changed [Version(Min = 24.5, Max = 24.5)] to [Version(Min = 24.4, Max = 24.5)]

Il2CppBinaryClasses.cs:89 changed [Version(Min = 24.5, Max = 24.5)] to [Version(Min = 24.4, Max = 24.5)]

Il2CppBinaryClasses.cs:92 changed [Version(Min = 24.5, Max = 24.5)] to [Version(Min = 24.4, Max = 24.5)]

Il2CppBinaryClasses.cs:263 changed [Version(Min = 24.5, Max = 24.5)] to [Version(Min = 24.4, Max = 24.5)]

MetadataClasses.cs:26 added // Unity 2019.4.31f1 -> v24.4

There prob. was a reason, it was Min = 24.5, maybe another older v24.4 hadn't the same struct, as this file, keep that in mind, to everyone maybe making these changes.

Cr4nkSt4r avatar Nov 12 '21 20:11 Cr4nkSt4r