diff options
| author | Julgodis <> | 2021-04-08 21:05:48 +0200 |
|---|---|---|
| committer | Julgodis <> | 2021-04-08 21:05:48 +0200 |
| commit | 2661db6aaa98a5bbd17691cb438ef64752dbcdf4 (patch) | |
| tree | 4e6d8499431192316bc2bae0cec8e6f92636b4b4 /tools/libdol2asm/split_asm.py | |
| parent | a23a10639979ee10cbea5ffdadadc490d9e60227 (diff) | |
auto decompile more functions
Diffstat (limited to 'tools/libdol2asm/split_asm.py')
| -rw-r--r-- | tools/libdol2asm/split_asm.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/libdol2asm/split_asm.py b/tools/libdol2asm/split_asm.py index 3b09ca3a9e..48621034b5 100644 --- a/tools/libdol2asm/split_asm.py +++ b/tools/libdol2asm/split_asm.py @@ -300,6 +300,12 @@ class Dol2AsmSplitter: for symbol in add_list: self.symbol_table.add_symbol(symbol) + add_list, remove_list = generate_functions.decompile(self.context, libs, self.symbol_table) + for symbol in remove_list: + self.symbol_table.remove_symbol(symbol) + for symbol in add_list: + self.symbol_table.add_symbol(symbol) + def name_symbols(self): print(f"{self.step_count:2} Naming") self.step_count += 1 @@ -658,6 +664,7 @@ class Dol2AsmSplitter: self.search_binary(cache) + cache = True start_time = time.time() cache_path = Path("build/full_cache_xx.dump") if cache and cache_path.exists(): |
