REDIVIVUS

Proposals / #663

Name forwarded parameters: gamma, scrollbar wrappers, log indent, disconnect thunk

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

Ghidra v1799 · 2663303

Each parameter is passed unchanged to a callee parameter that already has a real name, and takes that name. The argument positions were matched to the callee's prototype in the machine code. Covers SetupGamma, two textbox scrollbar wrappers (tail jumps to the scrollbar setters, EDX untouched), BNET_LogIndent (SLogSetIndent's delta, pushed second) and the CloseRemoteConnection thunk (nClientId in EDX, nLine pushed first). Renames only. A tail JMP is the call_site evidence for the two wrappers.

Changes 6, applied together

  1. Rename variable win 0x004776c0 ECX

    namedwParam→dwGamma
  2. Rename variable win 0x004fc5e0 EDX

    namenParam→nMaxValue
  3. Rename variable win 0x004fc660 EDX

    namenParam→nPosition
  4. Rename variable win 0x00518c70 Stack[0x8]

    namenParam2→nDelta
  5. Rename variable win 0x006c06b0 Stack[0x8]

    namenParam1→nClientId
  6. Rename variable win 0x006c06b0 Stack[0x10]

    namenParam2→nLine