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

Data Fields

hook_record_kind kind
uintptr_t addr
size_t size
uint8_t * original
uint8_t * trampoline
voidowner
hook_chainchain
DTTR_Core_Hookprev
DTTR_Core_Hooknext
voiddetour
uint8_t * next_thunk

Detailed Description

Definition at line 24 of file hook_registry.c.

Field Documentation

◆ addr

uintptr_t DTTR_Core_Hook::addr

Definition at line 26 of file hook_registry.c.

Referenced by function_link_create(), hook_create(), and hook_detach_index().

◆ chain

◆ detour

◆ kind

hook_record_kind DTTR_Core_Hook::kind

◆ next

DTTR_Core_Hook* DTTR_Core_Hook::next

◆ next_thunk

uint8_t* DTTR_Core_Hook::next_thunk

◆ original

uint8_t* DTTR_Core_Hook::original

Definition at line 28 of file hook_registry.c.

Referenced by DTTR_Core_HookPatchBytes(), hook_create(), hook_detach_index(), and kvec_t().

◆ owner

void* DTTR_Core_Hook::owner

Definition at line 30 of file hook_registry.c.

Referenced by function_link_create(), and hook_create().

◆ prev

DTTR_Core_Hook* DTTR_Core_Hook::prev

Definition at line 32 of file hook_registry.c.

Referenced by function_chain_push_head(), and function_link_detach().

◆ size

size_t DTTR_Core_Hook::size

Definition at line 27 of file hook_registry.c.

Referenced by function_link_create(), hook_create(), and hook_detach_index().

◆ trampoline

uint8_t* DTTR_Core_Hook::trampoline

Definition at line 29 of file hook_registry.c.

Referenced by kvec_t().


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