ReXGlue SDK
Loading...
Searching...
No Matches
rex::ppc::DetourOriginal< R(Args...)> Struct Template Reference

#include <rex/ppc/hook.h>

Public Member Functions

constexpr DetourOriginal (PPCFunc &original) noexcept
R operator() (Args... args) const

Public Attributes

PPCFunc & fn

Detailed Description

template<typename R, typename... Args>
struct rex::ppc::DetourOriginal< R(Args...)>

The original of a detoured function of signature R(Args...).

Member Function Documentation

◆ operator()()

template<typename R, typename... Args>
R rex::ppc::DetourOriginal< R(Args...)>::operator() ( Args... args) const
inline

Runs the original on the live context of the running detour, so its other results stay in the registers.


The documentation for this struct was generated from the following file: