A tool for deriving PKG packet encryption keys for ps4 written in c++
| 1 | #pragma once |
| 2 | |
| 3 | #include "../GUIContext.h" |
| 4 | #include "core/decompiler/DecompilerContext.h" |
| 5 | |
| 6 | namespace ShadPKG::GUI { |
| 7 | |
| 8 | class StructEditorView { |
| 9 | public: |
| 10 | StructEditorView(); |
| 11 | ~StructEditorView() = default; |
| 12 | |
| 13 | void Draw(GUIContext &ctx); |
| 14 | |
| 15 | private: |
| 16 | // Local state for the editor |
| 17 | std::string newStructName_; |
| 18 | int selectedStructIndex_ = -1; |
| 19 | }; |
| 20 | |
| 21 | } // namespace ShadPKG::GUI |
| 22 |