com um clique
tbg-decomp
tbg-decomp contém 4 skills coletadas de lhsazevedo, com cobertura ocupacional por repositório e páginas de detalhe dentro do site.
Skills neste repositório
Add serial debug logging (LOG_TRACE/DEBUG/INFO/WARN/ERROR/FATAL from serial_debug.h) to a decompiled C unit, so the running code can be observed and proven to be the decompiled one in the emulator. Use when asked to add/instrument logging, trace flow, or verify which build is running.
Incrementally decompile one SH4 function (or block) into C with mirroring unit tests. Use when porting a function from src/asm/<addr>.src to src/<addr>.c, adding tests under tests/<unit>/, or continuing a partially-decompiled translation unit.
Moves global data ownership between pre-data asm files and unit files (C or decompiled asm), including exports/imports, section B allocations, and test visibility gating. Use when relocating variables between groups like 012f44_game/013ae8/0149b0, fixing undefined extern symbols after moves, or converting private globals to STATIC/AIFDEF UNIT_TESTING patterns.
Scaffold a new translation unit before decompiling any of its functions -- move the raw asm under decompiled/, create the empty C file and test dir, and wire it into both Makefiles, run_tests.sh, and tests.php. Use when starting on a fresh src/asm/<addr>.src, before the decompile-function skill.