How to take a game memory dump with PCSX2 emulator:
1. Boot the game
2. Go to where you want to take the memdump
3. Save the state (can use a keyboard shortcut too)
4. Locate the save state file in sstates folder, inside the PCSX2 folder (usually in Documents)
5. Rename the corresponding save state file extension .p2s to .zip
6. Open the zip file
7. Extract the wanted memory block, which usually is eeMemory.bin
8. The extracted eeMemory.bin file is your memdump!
9. Open with ps2dis, save as .pis file, invoke analyser, and start hacking