you are most likely returning pointer to non existent data, if you construct std::string and return the char* of that string, the string deallocated once it leaves the function, making the returned pointer points to deallocated memory
The solution is to return the std::string instead of char*
In this post, you can download a version with vulkan-fix which solve the problem with no display, there's a non-root version. Donator only!
https://ko-fi.com/post/libTool-v0-9-8-Zygisk-Module-T6T0Y01UD#checkoutModal
Updated v0.9
- Long press on Filter button will open the keyboard with filter text
- Remember selected scale
- Backtracer (WIP)
- Improve Tracer
- Long press on the following thing will open new tab
--- Method if classes is filtered by method
--- Inspected Object (at the top)
--- Traced method
-...
I don't know much about arm assembly but i believe those instructions are just for setting up the stack
You usually need to call il2cpp_thread_attach before working with unity game
Have you tried that?
Also check out this repo GitHub - vfsfitvnm/frida-il2cpp-bridge: A Frida module to dump...
I don't know about frida but c# function doesn't accept a pointer for primitive types
So maybe just pass the value directly
*Edit looks like you already did that, sorry