REDIVIVUS

Proposals / #588

Name the Y and color parameters of UI_DrawTextCentered

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

Ghidra v1799 (mac 107) · 2663303

Both parameters pass straight to DRAW_text(wMessage, nX, nY, dwColor, bMultiLineCenter) on both builds: nParam1 as nY, beside the existing nPositionXStart and nPositionXEnd, and nParam2 as dwColor.

Changes 4, applied together

  1. Rename variable win 0x004a7080 EDX

    namenParam1→nPositionY
  2. Rename variable win 0x004a7080 Stack[0xc]

    namenParam2→dwColor
  3. Rename variable mac 0x0009c998 Stack[0x8]

    namenParam1→nPositionY
  4. Rename variable mac 0x0009c998 Stack[0x14]

    namenParam2→dwColor