[decompiler] as-type and font method support (#3855)

Add support for `as-type` macro, and detecting inline font methods. This
works in all three games but I've only updated jak 3's goal_src for now.
Eventually I will go back and work through the others, but I want to get
more decompiler features in first.


![image](https://github.com/user-attachments/assets/5c31bf85-97b4-437c-bc4b-dc054e60551e)

---------

Co-authored-by: water111 <awaterford1111445@gmail.com>
This commit is contained in:
water111
2025-02-01 21:23:11 -05:00
committed by GitHub
parent d5590ab638
commit 48cb9bb787
645 changed files with 5391 additions and 16694 deletions
@@ -3194,6 +3194,16 @@
[93, "a1", "process-focusable"],
[140, "a1", "process-focusable"]
],
"(method 106 bot)": [
[[16, 31], "v1", "process-focusable"],
[[40, 58], "v1", "process-focusable"],
[[92, 95], "v1", "process-focusable"]
],
"(method 106 ashelin)": [
[[16, 21], "v1", "process-focusable"],
[[40, 57], "v1", "process-focusable"],
[[92, 95], "v1", "process-focusable"]
],
"(method 140 enemy)": [[18, "a1", "process-focusable"]],
"(method 142 enemy)": [[[0, 40], "v0", "knocked-type"]],
"get-penetrate-using-from-attack-event": [
@@ -6607,8 +6617,7 @@
[40, "a0", "process-focusable"]
],
"(method 26 task-manager-temple-climb)": [
[126, "s5", "process-focusable"],
[130, "s5", "process-focusable"]
[[0, 148], "s5", "process-focusable"]
],
"(method 26 task-manager-desert-beast-battle)": [
[39, "a0", "process-focusable"]
@@ -9790,12 +9799,7 @@
[319, "a1", "ff-squad-control"]
],
"(method 252 crimson-guard)": [
[74, "s5", "process-focusable"],
[69, "s5", "process-focusable"],
[126, "s5", "process-focusable"],
[146, "s5", "process-focusable"],
[202, "s5", "process-focusable"],
[205, "s5", "process-focusable"]
[[0, 223], "s5", "process-focusable"]
],
"(method 51 ff-squad-control)": [
[13, "v1", "connection"],
@@ -191,6 +191,9 @@
"(method 10 process-tree)": {
"args": ["this", "ent"]
},
"(method 106 bot)": {
"vars": {"v1-3": ["v1-3", "process-focusable"]}
},
"(method 0 clock)": {
"args": ["allocation", "type-to-make", "index"]
},