102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type Struct Reference

#include <dttr_pcdogs.h>

Data Fields

DTTR_PCDOGS_T_Symbol_Data_ID SymbolID
DTTR_PCDOGS_T_Data_ID DataID
DTTR_PCDOGS_T_Write_Policy(* Policy )()
DTTR_Result(* Status )()
bool(* IsResolved )()
uintptr_t(* Address )()
uint32_t *(* Ptr )()
DTTR_Result(* Read )(uint32_t *out_value)
DTTR_Result(* Write )(uint32_t value)
DTTR_Result(* UnsafeWrite )(uint32_t value)
 Bypasses Policy(); still requires resolved, writable memory.
DTTR_PCDOGS_T_Patch_Spec(* PatchSpec )(bool required, void *new_value, void **out_original)

Detailed Description

Ten-entry uint32_t jump table used by Input_CheckButtonState for control codes 0x20..0x47. Slots 0..8 handle aggregate direction axes and signed axis thresholds; slot 9 is the default return-zero path for unused codes 0x24..0x3f.

Returns
Typed data symbol object.

Definition at line 60296 of file dttr_pcdogs.h.

Field Documentation

◆ Address

uintptr_t(* DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::Address) ()

Definition at line 60302 of file dttr_pcdogs.h.

◆ DataID

DTTR_PCDOGS_T_Data_ID DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::DataID

Definition at line 60298 of file dttr_pcdogs.h.

◆ IsResolved

bool(* DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::IsResolved) ()

Definition at line 60301 of file dttr_pcdogs.h.

◆ PatchSpec

DTTR_PCDOGS_T_Patch_Spec(* DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::PatchSpec) (bool required, void *new_value, void **out_original)

Definition at line 60311 of file dttr_pcdogs.h.

◆ Policy

DTTR_PCDOGS_T_Write_Policy(* DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::Policy) ()

Definition at line 60299 of file dttr_pcdogs.h.

◆ Ptr

uint32_t *(* DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::Ptr) ()

Definition at line 60303 of file dttr_pcdogs.h.

◆ Read

DTTR_Result(* DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::Read) (uint32_t *out_value)

Definition at line 60304 of file dttr_pcdogs.h.

◆ Status

DTTR_Result(* DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::Status) ()

Definition at line 60300 of file dttr_pcdogs.h.

◆ SymbolID

DTTR_PCDOGS_T_Symbol_Data_ID DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::SymbolID

Definition at line 60297 of file dttr_pcdogs.h.

◆ UnsafeWrite

DTTR_Result(* DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::UnsafeWrite) (uint32_t value)

Bypasses Policy(); still requires resolved, writable memory.

Definition at line 60309 of file dttr_pcdogs.h.

◆ Write

DTTR_Result(* DTTR_PCDOGS_D_Input_CheckButtonState_ControlCodeDispatchTable_type::Write) (uint32_t value)

Writer that enforces the symbol write policy. Returns DTTR_ERR_POLICY_MISMATCH unless Policy() is RAW_MEMORY.

Definition at line 60307 of file dttr_pcdogs.h.


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