mirror of
https://github.com/open-goal/jak-project
synced 2026-07-10 07:07:04 -04:00
[Decompiler] Static Data Decomp (#280)
* update all-types * begin work on static data decompiler * working for vif disasm array * mostly working * finish static data decompilation
This commit is contained in:
@@ -26,7 +26,11 @@ std::string final_defun_out(const Function& func,
|
||||
const DecompilerTypeSystem& dts,
|
||||
FunctionDefSpecials special_mode) {
|
||||
std::vector<goos::Object> inline_body;
|
||||
func.ir2.top_form->inline_forms(inline_body, env);
|
||||
try {
|
||||
func.ir2.top_form->inline_forms(inline_body, env);
|
||||
} catch (std::exception& e) {
|
||||
return e.what();
|
||||
}
|
||||
|
||||
int var_count = 0;
|
||||
auto var_dec = env.local_var_type_list(func.ir2.top_form, func.type.arg_count() - 1, &var_count);
|
||||
|
||||
Reference in New Issue
Block a user