[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
+1 -5
View File
@@ -254,11 +254,7 @@
(sv-704 matrix)
)
(set! sv-224 arg5)
(let* ((s3-0 arg0)
(s4-0 (if (type? s3-0 process-focusable)
s3-0
)
)
(let* ((s4-0 (the-as process (as-type arg0 process-focusable)))
(s3-1 (and s4-0 (focus-test? (the-as process-focusable s4-0) dead hit)))
)
(set! sv-96