Skip to content

Decompile overlay wrapper#4

Draft
StanHash wants to merge 2 commits into
DQIX:mainfrom
StanHash:decompile_overlay_wrapper
Draft

Decompile overlay wrapper#4
StanHash wants to merge 2 commits into
DQIX:mainfrom
StanHash:decompile_overlay_wrapper

Conversation

@StanHash

Copy link
Copy Markdown
Contributor

This also changes compiler optimization level from -O4 to -O2 (see #1). Depends on/includes #2.

I am currently stuck on these functions:

For some reason I can't get the compiler to schedule accesses to data_01ffd344 correctly...

@Yackerw
Yackerw marked this pull request as ready for review May 30, 2025 22:56
@Yackerw
Yackerw marked this pull request as draft May 30, 2025 22:57
@Yackerw

Yackerw commented May 31, 2025

Copy link
Copy Markdown
Collaborator

I messed around with LoadOverlay for a little while. I couldn't get the read order right either, but I did improve the register allocation. https://decomp.me/scratch/fZkvB if you want. I'll try taking another look later.

@StanHash

StanHash commented Jun 4, 2025

Copy link
Copy Markdown
Contributor Author

Got a match by making a bunch of globals volatile. I will get back to this soon

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.

2 participants