decomp: citizen-* files, metalhead-* files, civilian, guard, hal3-course (#2194)

No more ghost town!

Manual patches:

- `hal3-course`: In `(anon-function 17 hal3-course)`, the decompiler is
doing something strange with `s3-0` that fails to compile, so I just
removed the `set!` and inlined the condition in the `when`.
- `guard`: Rewrote `(.mula.s)` stuff
This commit is contained in:
Hat Kid
2023-02-08 01:56:06 +01:00
committed by GitHub
parent fc5c75534d
commit 4ee402984f
51 changed files with 30127 additions and 615 deletions
+3 -1
View File
@@ -740,7 +740,9 @@ void SSA::make_vars(const Function& function, const DecompilerTypeSystem& dts) {
function.guessed_name.to_string() == "(method 74 crimson-guard-level)" ||
function.guessed_name.to_string() == "widow-handler" ||
function.guessed_name.to_string() == "(method 74 hal)" ||
function.guessed_name.to_string() == "water-anim-event-handler";
function.guessed_name.to_string() == "water-anim-event-handler" ||
function.guessed_name.to_string() == "(method 74 civilian)" ||
function.guessed_name.to_string() == "(method 74 crimson-guard)";
}
for (int block_id = 0; block_id < int(blocks.size()); block_id++) {