Skip to content

Reverse Engineering

ラ⭐ edited this page Jan 1, 2023 · 4 revisions

Ghidra

Setup

  1. Download Ghidra 9.2.2 (for ee plugin compatibility)
  2. Accept the terms and conditions
  3. In the main window (the one that had the projects dropdown) select File and then Install Extensions...
  4. Select the zip file from the EE Ghidra plugin download page
  5. Create a new project.
  6. Drag and drop the Dark Cloud executable into the project.
  7. Double click the exe in the project dropdown.
  8. Ghidra will ask to analyze the project, before doing so select the Demanagler GNU Analyzer and check Use Deprecated Demangler
  9. Click analyze.

Importing A PCSX2 Save State

Save states are helpful because they fill memory with real data from the game, making it easier to understand what that data is for.

While in the code browser:

  • Window -> Script Manager
  • Select the ghidra-emotionengine folder in the left pane
  • Select PCSX2SaveStateImporter.java
  • Right click and select Run Script
  • A model will appear asking you to select a file, select your save state.

Filling Out Structures and Classes

TODO

IDA

TODO

Clone this wiki locally