REDIVIVUS

Proposals / #827

Recover and name the Mac dynamic-path collision-pattern getter

applied · by Commit-Will · submitted 2026-11-02, applied 2026-11-02

Ghidra vmac 110 · 9528519

The default Mac helper explicitly returns the full four-byte collision-pattern field. Its sole caller supplies unit.pPath, saves all32 result bits, temporarily sets another collision pattern, then restores the saved value through the typed setter. The complete constructor independently establishes the actual512-byte dynamic-path record. Recover D2DynamicPathStrc* input and int32_t return, and rename only defaultFUN to PATH_GetCollisionPattern. Preserve selected pPath, one Stack4 slot and Mac cdecl. Original Windows bytes verify the structural counterpart and existing integer contract; no enum/layout/caller or runtime/build change.

Changes 2, applied together

  1. Set prototype mac 0x00180f5c

    signatureundefined FUN_00180f5c(int pPath)→int32_t FUN_00180f5c(D2DynamicPathStrc * pPath)
    convention__cdecl
  2. Rename function mac 0x00180f5c

    nameFUN_00180f5c→PATH_GetCollisionPattern