$ rea decompile --help
exit: 0
--- stdout
rea decompile — Read one part of an app as code. Supply at least one of the positional address or --procedure. Alternatively, use --file-offset alone. Equal positional and --procedure values are accepted; conflicts fail. With Ghidra, a space-qualified address such as ram:0x... avoids file-offset fallback; inspect-native-load-image reports the observed default space.

Usage: rea decompile <path> [address] [options]

Arguments:
  path     App or program path
  address  Procedure name or address. Supply at least one of the positional address or --procedure. Alternatively, use --file-offset alone.

Options:
  --analysis <independent_fresh|call_destination>    Select standalone analysis. independent_fresh requires independent_decompile. call_destination requires call_destination_decompile and an exact address.
  --detail <complete|summary>                        Deliver complete Evidence, or a summary with --evidence_output (default: complete)
  --snapshot <string>                                Load and update a local analysis snapshot
  --target-format <dos-com|raw-binary|gamecube-dol>  Explicit interpretation: dos-com or raw-binary (headerless), or gamecube-dol (GameCube/Wii DOL, never auto-detected); omission preserves header-based detection
  --architecture <6502|x86|x86_64|arm|arm64|m68k>    Caller-supplied CPU family; required with --target-format raw-binary, must be omitted with gamecube-dol
  --entry-point <string>                             Caller-supplied load and entry address (0xhex); required with --target-format raw-binary, optional with gamecube-dol (must equal the DOL header entry)
  --provider <value>                                 Bind deep analysis to a provider ID or use deterministic auto selection
  --evidence_output <string>                         Save complete Evidence as a bundle; required for summary delivery. Never overwrites.
  --procedure <string>                               Procedure name or address; use --procedure=<value> for leading dashes. Supply at least one of the positional address or --procedure. Alternatively, use --file-offset alone.
  --file-offset <string>                             Ghidra source-file byte offset; mapped internally to an analysis address. Supply at least one of the positional address or --procedure. Alternatively, use --file-offset alone.

Custom Global Options:
  --timings  Write measured command timing to stderr.

Global Options:
  --filter-output <keys>                      Filter output by key paths (e.g. foo,bar.baz,a[0,3])
  --format <toon|json|yaml|md|jsonl|csv|tsv>  Output format
  --full-output                               Show full output envelope
  --help                                      Show help
  --json                                      Shorthand for --format json
  --llms, --llms-full                         Print LLM-readable manifest
  --schema                                    Show JSON Schema for command
  --token-count                               Print token count of output (instead of output)
  --token-limit <n>                           Limit output to n tokens
  --token-offset <n>                          Skip first n tokens of output
<end>
--- stderr
<end>
