Seregon/ShadPKG

A tool for deriving PKG packet encryption keys for ps4 written in c++

C++/47.3 KB/No license
gui/include/views/StructEditorView.h
ShadPKG / gui / include / views / StructEditorView.h
1#pragma once
2 
3#include "../GUIContext.h"
4#include "core/decompiler/DecompilerContext.h"
5 
6namespace ShadPKG::GUI {
7 
8class StructEditorView {
9public:
10 StructEditorView();
11 ~StructEditorView() = default;
12 
13 void Draw(GUIContext &ctx);
14 
15private:
16 // Local state for the editor
17 std::string newStructName_;
18 int selectedStructIndex_ = -1;
19};
20 
21} // namespace ShadPKG::GUI
22