REDIVIVUS

Proposals / #604

Name the state id and on/off parameters of D2StatesTogglegfx

applied · by dtchitt · submitted 2026-11-01, applied 2026-11-01

Ghidra v1799 · 2663303

The first parameter is bounds-checked against nTxtStatesSize and selects a bit in the unit's graphics flag words. The second decides whether that bit is set or cleared.

Changes 2, applied together

  1. Rename variable win 0x00639e30 Stack[0x8]

    namenParam→nStateId
  2. Rename variable win 0x00639e30 Stack[0xc]

    namenParam2→bSet