Skip to content

Save and restore decompiler stack state at jump targets#33

Open
NeoDement wants to merge 3 commits into
BLooperZ:developfrom
NeoDement:fix/windex-v6-saved-stacks
Open

Save and restore decompiler stack state at jump targets#33
NeoDement wants to merge 3 commits into
BLooperZ:developfrom
NeoDement:fix/windex-v6-saved-stacks

Conversation

@NeoDement

Copy link
Copy Markdown

Switch dispatch in the v6 decompiler was leaking stack state between cases, corrupting later comparisons. Save the stack at each jump target and restore it when we get there.

NeoDement added 2 commits May 23, 2026 12:17
Switch dispatch in the v6 decompiler was leaking stack state between
cases, corrupting later comparisons. Save the stack at each jump target
and restore it when we get there.
@NeoDement NeoDement force-pushed the fix/windex-v6-saved-stacks branch from cc7372c to 0513eef Compare June 3, 2026 17:03
this makes cases like this more readable:

	do-animation 9 61 / 10 + 9

->

	do-animation 9 (61 / 10 + 9)
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

Successfully merging this pull request may close these issues.

1 participant