djkaty / Il2CppInspector

Powerful automated tool for reverse engineering Unity IL2CPP binaries
http://www.djkaty.com
GNU Affero General Public License v3.0
2.62k stars 433 forks source link

System.InvalidOperationException: Assembly/image index mismatch #188

Closed mhyushantu closed 3 years ago

mhyushantu commented 3 years ago

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

Using plugin: Binary file XOR decryptor Using plugin: Metadata strings XOR decryptor Using plugin: Binary metadata field order deobfuscator Using plugin: IL2CPP API Discovery Plugin Metadata strings XOR decryptor: Decrypting strings The plugin Metadata strings XOR decryptor encountered an error while executing PostProcessMetadata: Unable to read beyond the end of the stream.. Plugin has been disabled. Detected metadata version 24.1 Processed 232187 relocations Plugin Binary file XOR decryptor: Detecting encryption Container format: ELF64 Container endianness: Little Architecture word size: 64-bit Instruction set: ARM64 Global offset: 0x0000000000000000 Symbol table(s) found with 703 entries No matches in symbol table Required structures acquired from code heuristics. Initialization function: 0x000000000055D550 CodeRegistration struct found at 0x0000000001A350F0 (file offset 0x01A250F0) MetadataRegistration struct found at 0x0000000001A35170 (file offset 0x01A25170) IL2CPP binary version 24.1 Analyze IL2CPP data: 2.55 sec Processing image 0 - ARM64 / 64-bit Unhandled exception. System.InvalidOperationException: Assembly/image index mismatch at Il2CppInspector.Reflection.Assembly..ctor(TypeModel model, Int32 imageIndex) in W:\unity\Il2CppInspector\Il2CppInspector.Common\Reflection\Assembly.cs:line 51 at Il2CppInspector.Reflection.TypeModel..ctor(Il2CppInspector package) in W:\unity\Il2CppInspector\Il2CppInspector.Common\Reflection\TypeModel.cs:line 85 at Il2CppInspector.CLI.App.Run(Options options) in W:\unity\Il2CppInspector\Il2CppInspector.CLI\Program.cs:line 401 at Il2CppInspector.CLI.App.<>c.

b__7_1(Options options) in W:\unity\Il2CppInspector\Il2CppInspector.CLI\Program.cs:line 154 at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult1 result, Action1 action) at Il2CppInspector.CLI.App.Main(String[] args) in W:\unity\Il2CppInspector\Il2CppInspector.CLI\Program.cs:line 154 Create .NET type model: 5.42 sec

global-metadata.dat https://drive.google.com/file/d/1U6FwEyditNZ2FYXVQkmW_O5o2pg2SSNW/view?usp=sharing il2cpp.so. https://drive.google.com/file/d/1YKRta_gRhdkg2FfV0s2LGhkzu9-ctJ5Z/view?usp=sharing