summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-05-22 18:19:12 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-05-22 18:19:12 -0400
commit95fac0fd639e16cbe3cc99191a25bc411fcbef99 (patch)
treeeca565a827bfe455ba45e279b9a7b7698c31968a /docs
parentfe3b83dcc12eedcb2ccbc9f59b996879857e5d5d (diff)
Decmp guide: Explain making local copy in Ghidra
Diffstat (limited to 'docs')
-rw-r--r--docs/decompiling.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/decompiling.md b/docs/decompiling.md
index bed31882..2b5f4f91 100644
--- a/docs/decompiling.md
+++ b/docs/decompiling.md
@@ -32,7 +32,7 @@ Once you've chosen which object you want to decompile, you'll usually want to se
> [!NOTE]
> Some actors that aren't decompiled may have already had their struct defined in our Ghidra server by someone else in the past, in which case you may be able to skip this step. But this is not the case for most actors.
-In objdiff, pick one of the actor's functions (one with "create" in the name would be good to start with). Then open the `main` program in Ghidra, press `G` and type the function name (e.g. `daWall_c::CreateInit`) to go to that function in Ghidra. If the struct hasn't been properly defined for Ghidra, the function may look something like this at first:
+In objdiff, pick one of the actor's functions (one with "create" in the name would be good to start with). Then in Ghidra, open the local copy of the `main` program you made earlier (do not open `main` itself or you won't be able to save your changes), press `G` and type the function name (e.g. `daWall_c::CreateInit`) to go to that function in Ghidra. If the struct hasn't been properly defined for Ghidra, the function may look something like this at first:
![Ghidra function before defining the struct](images/ghidra_createinit_1.png)