-
Notifications
You must be signed in to change notification settings - Fork 206
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
il2cpp: couldn't invoke method .ctor as it needs 2 parameter(s), not 1 #507
Labels
bug
Something isn't working
Comments
I got same situation source code Il2Cpp.trace(true).classes(AssemblyCSharp.class('Torappu.Battle.Enemy'))
.filterMethods((method) => method.name != '12')
.and()
.attach() dump file:
output
|
try disable trace of .ctor klass.method(".ctor").overload("System.Int32").revert() do it with both .ctor, just change the type (int32) to the other type. then try again |
Thanks for reporting. What's the app name and platform? |
arknights ,in my android phone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, thank you for bringing me a lot of fun with your project
When I was using 'trace' in a game(No problem with other games), I found this error message
output is
Then I found out that whenever I use 'invoke' to call this function, this problem will occur as a result
The function is
The struct is
I guess it's because he has two '. ctor'
The text was updated successfully, but these errors were encountered: