Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libil2cpp.so ver 31] Unity 2022.3.40f1 Unable to read beyond the end of the stream. #408

Open
il2cppHowToUse opened this issue Jan 5, 2025 · 0 comments

Comments

@il2cppHowToUse
Copy link

il2cppHowToUse commented Jan 5, 2025

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:

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.... :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant