A tool for deriving PKG packet encryption keys for ps4 written in c++
| 1 | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "common/shadpkg_types.h" |
| 7 | |
| 8 | namespace Common { |
| 9 | |
| 10 | void* GetXmmPointer(void* ctx, u8 index); |
| 11 | |
| 12 | void* GetRip(void* ctx); |
| 13 | |
| 14 | void IncrementRip(void* ctx, u64 length); |
| 15 | |
| 16 | bool IsWriteError(void* ctx); |
| 17 | |
| 18 | } // namespace Common |