REDIVIVUS

Proposals / #913

Mac GFX_SetAllGfxInfoFlags: __cdecl void (D2UnitStrc * pUnit, uint8_t byFlag)

applied · by KierTaylor · submitted 2026-11-02, applied 2026-11-02

Ghidra vmac 111 · 3c6740e

Mac body: [EBP+8] is passed to the unit gfx-info getter (asserted non-null, line 0xbba); the byte at [EBP+0xc] is then stored into every other byte of that block for 0x14 components; no ECX/EDX input, plain RET. Windows twin GFX_SetAllGfxInfoFlags 0x0046f020 is void (D2UnitStrc * pUnit, uint8_t byFlag).

Changes 1, applied together

  1. Set prototype mac 0x00067882

    signatureundefined GFX_SetAllGfxInfoFlags(void)→void GFX_SetAllGfxInfoFlags(D2UnitStrc * pUnit, uint8_t byFlag)
    conventionunknown→__cdecl