REDIVIVUS

Proposals / #795

Return the Mac inventory update-list link as its existing node pointer

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

Ghidra vmac 110 · 9528519

GetNextUpdate on Mac currently returns int32_t, but its complete native body returns the existing eight-byte update node.pNext pointer or null. Allocation/link stores prove node identity, and all five calls in three complete callers use the result as a list cursor. Change only the return to D2InventoryToBeUpdatedStrc*. Preserve chosen name, one existing pointer argument, Stack4 and cdecl. Full Mac target/callers/producer/head/UID bytes and original Windows twin were independently checked. No shared type, helper, caller or runtime/build change claimed.

Changes 1, applied together

  1. Set prototype mac 0x001693e1

    signatureint32_t GetNextUpdate(D2InventoryToBeUpdatedStrc * pUpdate)→D2InventoryToBeUpdatedStrc * GetNextUpdate(D2InventoryToBeUpdatedStrc * pUpdate)
    convention__cdecl