-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
WASM Dumping Issue. #471
Comments
I get EOF issues too but only when targetting the Linux build of a game versus the Windows one which works, Metadata 24.2. The Linux version will report "WARNING: find .init_proc" with CR and MR reporting 0. Looking into it on my own. I'll probably have to just hook "il2cpp_class_from_name" and "il2cpp_class_get_method_from_name". |
Yeah, this is targeting the Web-Assembly build. No native executable for this game, unfortunately. |
Mine is a native build though, so I'll probably just clone and work on it myself sometime. |
how do i even get the global-metadata.dat file from a unity webgl game? |
Any update on this? |
Have you try setting offsetEnd and addressEnd in this file to STATICTOP?
According to this answer by @Perfare , you'll have to find the STATICTOP variable in the Unity framework .js file. It may look like this GLOBAL_BASE = 1024;
STATIC_BASE = GLOBAL_BASE;
STATICTOP = STATIC_BASE + 4397328; As for obtaining the global-metadata.dat files for Unity WebGL builds, there are hints in the issue I linked above, it should be easy enough to obtain as the data files are usually sent alongside with the .wasm file. Edit: |
@soyasoya5 I was experimenting with this too, I noticed for me the tool had issues finding the MetadataRegistration address, any chance you can provide some information on how you found it manually in the wasm file? |
I used wasm2wat to translate it into text format |
so I managed to dump a WebGL game. but do anyone know if its possible to "cross-reference" the methods from the DLLs containing the method names to the WASM file (to find the method in WAT text format)? |
Il2CppDumper version - v6.6.2
Target Unity version - Unknown, Metadata Version = 27
Describe the issue
Files to reproduce
files.zip
The text was updated successfully, but these errors were encountered: