Il2CppInspector icon indicating copy to clipboard operation
Il2CppInspector copied to clipboard

Can't work with new update of apk

Open anhdd143 opened this issue 2 years ago • 3 comments

Hi, this is the file i am using. Although the most recent version of Il2CppInspector can be decoded, today's updated version of the software makes Il2CppInspector inoperable. Thank you for your attention to my problem, hope to hear from you soon. https://drive.google.com/drive/folders/1U9qYixfG3_Kz84hg2091o15qRJUKNvgK when load metadata: image libil2cpp: image Using plugin: IL2CPP API Discovery Using plugin: Binary metadata field order deobfuscator Using plugin: Metadata strings XOR decryptor Using plugin: Binary file XOR decryptor

anhdd143 avatar Sep 29 '21 08:09 anhdd143

I think there is a problem with a new version of the metadata.

I can replicate this bug with the new version of PokeOne (win 32x, 2018.4.36f1). Here is the console log:

>"D:\...\Il2CppInspector.CLI\bin\Release\netcoreapp3.1\win-x86\Il2CppInspector.exe" -m global-metadata.dat -i GameAssembly.dll

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
Plugin Metadata strings XOR decryptor: Decrypting strings
The plugin Metadata strings XOR decryptor encountered an error while executing PostProcessMetadata: Exception of type 'System.OutOfMemoryException' was thrown.. Plugin has been disabled.
Detected metadata version 24.1
Themida protection detected
Container format: PE32
Container endianness: Little
Architecture word size: 32-bit
Instruction set: x86
Global offset: 0x0000000010000C00
No symbol table present in binary file
No matches via code heuristics
No matches via data heuristics
IL2CPP binary appears to be packed - attempting to unpack and retrying
No symbol table present in binary file
No matches via code heuristics
Required structures acquired from data heuristics
CodeRegistration struct found at 0x00000000597E5000 (file offset 0x00DC5000)
MetadataRegistration struct found at 0x00000000597E5070 (file offset 0x00DC5070)
IL2CPP binary version 24.1
Analyze IL2CPP data: 3.22 sec
Processing image 0 - x86 / 32-bit
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key '29' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Il2CppInspector.Reflection.Assembly..ctor(TypeModel model, Int32 imageIndex) in D:\DLL stuff\Il2CppInspector\Source\Il2CppInspector\Il2CppInspector.Common\Reflection\Assembly.cs:line 44
   at Il2CppInspector.Reflection.TypeModel..ctor(Il2CppInspector package) in D:\DLL stuff\Il2CppInspector\Source\Il2CppInspector\Il2CppInspector.Common\Reflection\TypeModel.cs:line 84
   at Il2CppInspector.CLI.App.Run(Options options) in D:\DLL stuff\Il2CppInspector\Source\Il2CppInspector\Il2CppInspector.CLI\Program.cs:line 401
   at Il2CppInspector.CLI.App.<>c.<Main>b__7_1(Options options) in D:\DLL stuff\Il2CppInspector\Source\Il2CppInspector\Il2CppInspector.CLI\Program.cs:line 154
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at Il2CppInspector.CLI.App.Main(String[] args) in D:\DLL stuff\Il2CppInspector\Source\Il2CppInspector\Il2CppInspector.CLI\Program.cs:line 154
Create .NET type model: 2.79 sec

Download links

PokeOne (win 32x) launcher PokeOne (android) client PokeOne (win 32x) GameAssembly.dll PokeOne (win 32x) metadata

ShinierLion avatar Sep 30 '21 13:09 ShinierLion

Same here. It seems https://github.com/Perfare/Il2CppDumper is working.

brianpow avatar Oct 09 '21 03:10 brianpow

Yes il2cpp dumper works. Sadly i need the scaffolding function. Which only comes with the inspector

Goliatack007 avatar Oct 26 '21 06:10 Goliatack007