|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#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 )() |
| uint8_t *(* | Ptr )() |
| DTTR_Result(* | Read )(uint8_t *out_value) |
| DTTR_Result(* | Write )(uint8_t value) |
| DTTR_Result(* | UnsafeWrite )(uint8_t value) |
| Bypasses Policy(); still requires resolved, writable memory. | |
| DTTR_PCDOGS_T_Patch_Spec(* | PatchSpec )(bool required, void *new_value, void **out_original) |
Active Save_GameSlot+2 puppy/life backup byte, seeded to 3 by Save_InitializeGameState and updated by Save_BackupGamePuppyCount.
Definition at line 63265 of file dttr_pcdogs.h.
| uintptr_t(* DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::Address) () |
Definition at line 63271 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Data_ID DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::DataID |
Definition at line 63267 of file dttr_pcdogs.h.
| bool(* DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::IsResolved) () |
Definition at line 63270 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Patch_Spec(* DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::PatchSpec) (bool required, void *new_value, void **out_original) |
Definition at line 63280 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Write_Policy(* DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::Policy) () |
Definition at line 63268 of file dttr_pcdogs.h.
| uint8_t *(* DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::Ptr) () |
Definition at line 63272 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::Read) (uint8_t *out_value) |
Definition at line 63273 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::Status) () |
Definition at line 63269 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Symbol_Data_ID DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::SymbolID |
Definition at line 63266 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::UnsafeWrite) (uint8_t value) |
Bypasses Policy(); still requires resolved, writable memory.
Definition at line 63278 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_Level_InitializeSaveState_GamePuppyCountBackup_type::Write) (uint8_t value) |
Writer that enforces the symbol write policy. Returns DTTR_ERR_POLICY_MISMATCH unless Policy() is RAW_MEMORY.
Definition at line 63276 of file dttr_pcdogs.h.