REDIVIVUS

Proposals / #849

Recover the unit input and full Boolean return of a Mac object predicate

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

Ghidra vmac 110 · 9528519

The complete Mac body consumes a tagged object unit, follows its existing object payload and compares a record byte to1, then normalizes the full EAX result to0/1. Its sole native caller passes a target unit from the dynamic path's typed target field and tests the full result. Recover only D2UnitStrc* input and four-byte BOOL, retaining the current FUN name, chosen pUnit, one Stack4 slot and cdecl. The record-byte semantic label is disputed and remains held; no door name, field meaning, layout, table type or Windows pairing is proposed.

Changes 1, applied together

  1. Set prototype mac 0x001909a6

    signatureundefined FUN_001909a6(int * pUnit)→BOOL FUN_001909a6(D2UnitStrc * pUnit)
    convention__cdecl