Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Pointer types try to construct pointer(intptr), which does not exist. #88

Open
yretenai opened this issue May 24, 2022 · 0 comments
Open

Comments

@yretenai
Copy link

At the moment, when trying to access any value that is an unsafe pointer (i.e. int*), unhollower tries to construct the return value as int*(intptr), which fails because there is no constructor for int*

The workaround I have made is to get the raw il2cpp pointer manually and dereference the Intptr as the pointer type, I do not fully comprehend the implications of this as I assume the intptr constructor is used for GC. I am unsure if this is required for a raw intptr value, or if any boxing/unboxing is required.

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

No branches or pull requests

1 participant