Repository navigation
Il2cpp stability - #107
Merged
Merged
Il2cpp stability#107
Conversation
HookedBehemoth
commented
Jul 6, 2025
ManlyMarco
self-requested a review
July 7, 2025 18:30
ManlyMarco
reviewed
Jul 9, 2025
ManlyMarco
approved these changes
Jul 9, 2025
ManlyMarco
left a comment
Owner
There was a problem hiding this comment.
Looks good to me, thanks for the PR!
I'm not sure how much the shims will help, the IL2CPP games that I've tried were missing a lot more methods to the point where it might be necessary to rewrite parts of the IMGUI dll and just directly call the externs from it. If this is enough for the games that you've tried then that's great though!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for all the work on this tool.
I've tried to use this on an il2cpp game which obfuscates some of it's networking functionality and found that it caused a lot of spam when inspecting any items.
These patches helped working around my issues but I've not tested against all targets that can be built.
I'm happy to make any alterations to get this code merged.
I've found that the GUILayoutOption constructor and GetLastRect got stripped so I've implemented shims that accomplish the same on IL2CPP, while calling the original on mono.
I've choosen to leave the changes made in the feature initializer so that similar issues don't cause a fatal and only the affected component fails.
SceneManager seems to be in another assembly and since our Il2Cpp interop assemblies can't use fields, the onPreRender/onPostRender search failed.
The ObfuscatedNameAttribute is added by the unhollower and using these names when they exist solved most of the remaining issues.
2429694 & 11bdf73 fix issues that should be present on all targets.
While working on this I've also implemented additional scene filters though the implementation isn't pretty.