Misc. function fixes
Description
Fix decompilation and recompilation of anonymous functions and object functions, as well as renaming functions (previously caused a decompiler crash due to two gml_Script entries with the same offset). Closes #1428. Closes #565.
Caveats
This is highly untested at the moment, but in this particular field I don't think it's possible for anything to regress unless the whole tool crashes.
Notes
N/A
Download the artifacts for this pull request here:
GUI:
- GUI-windows-latest-isBundled-false-isSingleFile-false
- GUI-windows-latest-isBundled-false-isSingleFile-true
CLI:
Is this going to be obsoleted by @colinator27's new decompiler?
I'm a bit late to this commentary, but I don't believe so. Most of the changes included here are compiler-side. It'll definitely require adjustment, though, and I'm happy to wait and fix it up after the new decompiler is in, as well as checking how function renaming works under Underanalyzer.