Recover and name the Mac dynamic-path collision-pattern getter
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
Set prototype
mac 0x00180f5csignatureundefined FUN_00180f5c(int pPath)→int32_t FUN_00180f5c(D2DynamicPathStrc * pPath)convention__cdeclRename function
mac 0x00180f5cnameFUN_00180f5c→PATH_GetCollisionPattern