jak-project/test/decompiler/reference/jak3/engine/debug
water111 2a4d3d7a4a
[decompiler] More inline vector functions (#3861)
This adds more recognition for inlined vector functions to the
decompiler, which can clean up a bunch of ugly looking code/`rlet`s.


![image](https://github.com/user-attachments/assets/1f7b4627-81bd-481b-b828-76b9f7ba13b3)

Unfortunately, this changes the numbering of ops in the decomp, since
all the vector instructions get combined in a single "operation" by the
decompiler. I really tried to avoid having this ever happen in the
decompiler and this is one of the few cases where it has. So I had to
update a bunch of type casts.

For that reason I haven't turned this on in Jak 2 yet, although I am
planning to do that at some point. (probably at the same time as porting
back a bunch of jak 3 improvements to jak 2)

---------

Co-authored-by: water111 <awaterford1111445@gmail.com>
2025-02-16 15:59:17 -05:00
..
collision-editor_REF.gc [decompiler] `as-type` and font method support (#3855) 2025-02-01 21:23:11 -05:00
debug-h_REF.gc [jak3] More headers! (#3351) 2024-01-31 19:05:12 -05:00
debug-part_REF.gc decomp3: spawn `target`, add merc and particle buckets and some temporary hacks (#3445) 2024-04-05 00:07:39 -04:00
debug-sphere_REF.gc [decompiler] Cleanup for Jak 3 (#3845) 2025-01-20 10:31:29 -05:00
debug_REF.gc [decompiler] More inline vector functions (#3861) 2025-02-16 15:59:17 -05:00
default-menu_REF.gc decompiler: detect and turn inverse mult to div (#3795) 2024-12-07 23:10:49 +01:00
editable-h_REF.gc [decompiler] Cleanup for Jak 3 (#3845) 2025-01-20 10:31:29 -05:00
history_REF.gc decomp3: more engine stuff, detect non-virtual state inheritance (#3377) 2024-03-03 15:15:27 -05:00
manipulator_REF.gc [decompiler] More inline vector functions (#3861) 2025-02-16 15:59:17 -05:00
memory-usage-h_REF.gc [jak3] misc. headers (#3345) 2024-01-27 14:06:21 -05:00
menu_REF.gc [decompiler] `as-type` and font method support (#3855) 2025-02-01 21:23:11 -05:00
stats-h_REF.gc d/j3: do a few `mood` related files and fix some issues along the way (#3365) 2024-02-04 08:40:43 -05:00
viewer_REF.gc [decompiler] More inline vector functions (#3861) 2025-02-16 15:59:17 -05:00