Skip to content
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

方法使用返回值重载时会只hook一个 #29

Open
BeyondMark opened this issue May 8, 2021 · 8 comments
Open

方法使用返回值重载时会只hook一个 #29

BeyondMark opened this issue May 8, 2021 · 8 comments

Comments

@BeyondMark
Copy link

例如方法:

class a{
    public double d(){}
    public void d(){}
}

生成的脚本只会hook其中一个.

@CreditTone
Copy link
Owner

这代码不存在吧?语法错误

@CreditTone
Copy link
Owner

这种重载不存在的,直接编译报错

@BeyondMark
Copy link
Author

不好意思,没有及时回复.
image
譬如这样的

@BeyondMark
Copy link
Author

使用overloads可以遍历出这2个函数

@CreditTone
Copy link
Owner

不好意思,没有及时回复.
image
譬如这样的

这是两个类啊?

@CreditTone CreditTone reopened this May 9, 2021
@BeyondMark
Copy link
Author

这是一个类,从2个不同的类Override过来的.

@CreditTone
Copy link
Owner

类还能Override?这种语法在ide里面直接报错阿

@CreditTone
Copy link
Owner

把这两个类的反编译源码直接发我邮箱[email protected],我看看

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

No branches or pull requests

2 participants