jak-project/decompiler/analysis/expression_build.h
water111 f9d8fcd6e4
[decomp] add mips2c converter (#842)
* mips 2 c basic version, not yet tested

* calling works without crashing, but the function doesn't

* it works

* add test

* cleanup and actually add the test

* dont use mips2c by default for font

* clean up formatting
2021-09-11 20:52:35 -04:00

20 lines
478 B
C++

#pragma once
#include <string>
#include <unordered_map>
#include <vector>
namespace decompiler {
class Form;
class Function;
class FormPool;
class DecompilerTypeSystem;
struct LocalVarOverride;
bool convert_to_expressions(
Form* top_level_form,
FormPool& pool,
Function& f,
const std::vector<std::string>& arg_names,
const std::unordered_map<std::string, LocalVarOverride>& var_override_map,
const DecompilerTypeSystem& dts);
} // namespace decompiler