mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 05:46:56 +01:00
17 lines
592 B
C++
17 lines
592 B
C++
#ifndef KYTY_LOADER_X64_INSTRUCTION_EMULATOR_H_
|
|
#define KYTY_LOADER_X64_INSTRUCTION_EMULATOR_H_
|
|
|
|
#include <Zydis/DecoderTypes.h>
|
|
#include <cstdint>
|
|
|
|
namespace Loader::X64InstructionEmulator {
|
|
|
|
[[nodiscard]] bool IsReciprocalSquareRoot(const ZydisDecodedInstruction& instruction,
|
|
const ZydisDecodedOperand* operands);
|
|
uint64_t PatchReciprocalSquareRoots(uint64_t address, uint64_t size);
|
|
[[nodiscard]] bool TryEmulate(void* native_context);
|
|
|
|
} // namespace Loader::X64InstructionEmulator
|
|
|
|
#endif /* KYTY_LOADER_X64_INSTRUCTION_EMULATOR_H_ */
|