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

Accessor table for the Nav_CalculatePolygonCenter symbol object. More...

#include <dttr_pcdogs.h>

Data Fields

DTTR_PCDOGS_T_Symbol_Function_ID SymbolID
 Stable SDK symbol ID.
DTTR_PCDOGS_T_Function_ID FunctionID
 Public function ID.
bool(* IsResolved )()
 Returns true after this symbol has resolved in the active process.
DTTR_Result(* Status )(const DTTR_Core_Context *ctx)
 Returns this function descriptor's status in the active process.
bool(* IsCallable )(const DTTR_Core_Context *ctx)
 Returns true when this symbol is resolved and safe to call.
uintptr_t(* Address )()
 Returns the resolved function address, or zero when unresolved.
DTTR_PCDOGS_T_Hook_Kind(* HookKind )()
 Returns the hook-site shape.
uint32_t(* HookPrologueSize )()
 Returns the REL32 trampoline size or HOTPATCH entry-window size.
DTTR_Result(* Call )(const DTTR_Core_Context *ctx, DTTR_PCDOGS_T_Collision_Node *collision_node, DTTR_PCDOGS_T_Collision_Polygon *polygon, int32_t *out_center, int32_t *out_ret)
 Calls the resolved function; value-returning wrappers write through out_ret.
bool(* Hook )(const DTTR_Core_Context *ctx, DTTR_PCDOGS_F_Nav_CalculatePolygonCenter_proto detour, DTTR_PCDOGS_F_Nav_CalculatePolygonCenter_proto *out_original)
 Installs REL32 hooks; HOTPATCH metadata returns false.
DTTR_PCDOGS_T_Patch_Spec(* PatchSpec )(bool required, DTTR_PCDOGS_F_Nav_CalculatePolygonCenter_proto detour, DTTR_PCDOGS_F_Nav_CalculatePolygonCenter_proto *out_original)
 Builds a REL32 function-hook spec; HOTPATCH metadata returns an unsupported spec.
void(* Unhook )(const DTTR_Core_Context *ctx)
 Detaches the hook installed through this accessor, if any.

Detailed Description

Accessor table for the Nav_CalculatePolygonCenter symbol object.

Definition at line 47743 of file dttr_pcdogs.h.

Field Documentation

◆ Address

uintptr_t(* dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::Address) ()

Returns the resolved function address, or zero when unresolved.

Definition at line 47755 of file dttr_pcdogs.h.

◆ Call

DTTR_Result(* dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::Call) (const DTTR_Core_Context *ctx, DTTR_PCDOGS_T_Collision_Node *collision_node, DTTR_PCDOGS_T_Collision_Polygon *polygon, int32_t *out_center, int32_t *out_ret)

Calls the resolved function; value-returning wrappers write through out_ret.

Definition at line 47761 of file dttr_pcdogs.h.

◆ FunctionID

DTTR_PCDOGS_T_Function_ID dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::FunctionID

Public function ID.

Definition at line 47747 of file dttr_pcdogs.h.

◆ Hook

bool(* dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::Hook) (const DTTR_Core_Context *ctx, DTTR_PCDOGS_F_Nav_CalculatePolygonCenter_proto detour, DTTR_PCDOGS_F_Nav_CalculatePolygonCenter_proto *out_original)

Installs REL32 hooks; HOTPATCH metadata returns false.

Definition at line 47769 of file dttr_pcdogs.h.

◆ HookKind

DTTR_PCDOGS_T_Hook_Kind(* dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::HookKind) ()

Returns the hook-site shape.

Definition at line 47757 of file dttr_pcdogs.h.

◆ HookPrologueSize

uint32_t(* dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::HookPrologueSize) ()

Returns the REL32 trampoline size or HOTPATCH entry-window size.

Definition at line 47759 of file dttr_pcdogs.h.

◆ IsCallable

bool(* dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::IsCallable) (const DTTR_Core_Context *ctx)

Returns true when this symbol is resolved and safe to call.

Definition at line 47753 of file dttr_pcdogs.h.

◆ IsResolved

bool(* dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::IsResolved) ()

Returns true after this symbol has resolved in the active process.

Definition at line 47749 of file dttr_pcdogs.h.

◆ PatchSpec

DTTR_PCDOGS_T_Patch_Spec(* dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::PatchSpec) (bool required, DTTR_PCDOGS_F_Nav_CalculatePolygonCenter_proto detour, DTTR_PCDOGS_F_Nav_CalculatePolygonCenter_proto *out_original)

Builds a REL32 function-hook spec; HOTPATCH metadata returns an unsupported spec.

Definition at line 47775 of file dttr_pcdogs.h.

◆ Status

DTTR_Result(* dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::Status) (const DTTR_Core_Context *ctx)

Returns this function descriptor's status in the active process.

Definition at line 47751 of file dttr_pcdogs.h.

◆ SymbolID

DTTR_PCDOGS_T_Symbol_Function_ID dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::SymbolID

Stable SDK symbol ID.

Definition at line 47745 of file dttr_pcdogs.h.

◆ Unhook

void(* dttr_pcdogs_function_accessor_Nav_CalculatePolygonCenter::Unhook) (const DTTR_Core_Context *ctx)

Detaches the hook installed through this accessor, if any.

Definition at line 47781 of file dttr_pcdogs.h.


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