mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
5093b97cda
* wip decompiler ir * add AtomicOp stuff * fix windows build and warnings * add instruction parser * include * make minilzo shared * odr fix * a * fix merge conflicts * move decompiler into namespace * update the code coverage to include the decompiler * add demo test * add register use test to example test
18 lines
434 B
C++
18 lines
434 B
C++
#pragma once
|
|
#include <string>
|
|
#include <unordered_map>
|
|
|
|
namespace decompiler {
|
|
struct ObjectFileData;
|
|
|
|
struct GameTextResult {
|
|
int total_text = 0;
|
|
int language = -1;
|
|
std::unordered_map<int, std::string> text;
|
|
int total_chars = 0;
|
|
};
|
|
|
|
GameTextResult process_game_text(ObjectFileData& data);
|
|
std::string write_game_text(
|
|
const std::unordered_map<int, std::unordered_map<int, std::string>>& data);
|
|
} // namespace decompiler
|