-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
How to get il2cpp functions? #220
Comments
Those functions are just exported from the binary. you could simply iterate over the exports. |
So they would be part of |
No. |
Can you give me a hint where I need to look then? |
They're not in metadata. They're ordinary binary exports, unrelated to anything IL2CPP. |
Ah, now I understand. |
you can simply get their pointers with GetProcAddress |
No you can't.
Exports are already parsed, Il2CppBinary base class has methods related to getting them by name. |
Awesome. That was the hint I needed. Thanks a lot :-) |
Hi :-)
I was previously using the JSON output from IL2CPPInspector, but as this project is deprecated, I need to think about what I will use going forward.
While CPP2IL doesn't support JSON output, I could imagine adding that myself.
However, what I currently don't see, is a way to get il2cpp functions like
il2cpp_array_new
il2cpp_value_box
il2cpp_object_new
Which I currently need for my project.
How would I get the pointers to these functions, with Cpp2IL?
For Context: I need these pointers for an Cpp dll injection project, that does runtime hooking to these pointers.
The text was updated successfully, but these errors were encountered: