-
-
Notifications
You must be signed in to change notification settings - Fork 283
Description
Greetings,
Application version:
2022.1.0 #19
Unity version:
2022.3.40f1
Il2Cpp Version:
31
Problem
With original xapk I receive the following errors:
Original xapk errors.txt
In shorts:
[Info] [Library] Mapping pointers to Il2CppMethodDefinitions...
Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL! ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
similar to #309
That means that libil2cpp.so is encrypted, so I have used advice from there, to dump it via gamesguardian. Then I have used command line:
Cpp2IL.exe --force-binary-path=libil2cpp.so --force-metadata-path=global-metadata.dat --force-unity-version=2022.3.40f1 --verbose
But it's resulted in the following error:
Gamesguardian force path errors.txt
[Verb] [Library] Reading ELF section header table and names...
[Fail] [Program]
Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL! ---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
Then I have tried NekoYuzu script, but the error is the same as in logs above.
Files:
-
Original xapk:
-
Original metadata + libil2cpp.so from gamesguardain
-
metadata + libil2cpp.so from NekoYuzu
At the end of the day I have tried Zygisk dumper for dump.cs from memory and it was successful, but with data like:
private Void SetSeaBattleData(MsgRankingUserInfoSeaBattle userInfoSeaBattle, Boolean isNoParticipate) { }
// RVA: 0x301ef20 VA: 0x6302f20
I have no idea what to do next without dummy dll and input for ida \ ghidra.... :(