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

subroutine_arg4 generated but never declared #280

Open
joshlory opened this issue Aug 12, 2024 · 1 comment
Open

subroutine_arg4 generated but never declared #280

joshlory opened this issue Aug 12, 2024 · 1 comment

Comments

@joshlory
Copy link
Contributor

I've seen a few scratches now where subroutine_argN is generated in the decompilation but never declared:

Sometimes I can just replace it with s4 or the equivalent sN but in that last example it seems to be missing an entire code block:

 4c:    andi    v0,v0,0x7f00
 50:    sh      v0,0x10(sp)

...which is then used later as:

 184:    lhu     a3,0x10(sp)
 188:    nop
 18c:    beqz    a3,1a4 ~>
@joshlory
Copy link
Contributor Author

Might be fixed by #235?

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

1 participant