Skip to content

Demangle function name on decomp.me scratch creation#329

Open
0x5abe wants to merge 1 commit intoencounter:mainfrom
0x5abe:main
Open

Demangle function name on decomp.me scratch creation#329
0x5abe wants to merge 1 commit intoencounter:mainfrom
0x5abe:main

Conversation

@0x5abe
Copy link

@0x5abe 0x5abe commented Feb 1, 2026

As the title suggests this simply sets the name of a newly created decomp.me scratch to the demangled function name instead of the mangled one. The code was based on what @SamuraiOndo (@/z.berg in the GC decomp discord) had done a while ago (with her permission). The suggestion that encounter gave to pass the demangler as a field in CreateScratchConfig was implemented.

Not entirely sure if the way the demangler field is being passed by setting it to state.effective_diff_config().demangler is correct. If it's not the best way to do it let me know and I can change that.

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