REDIVIVUS

Proposals / #742

Restore the character-output parameter of Windows hover-message copy

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

Ghidra v1804 · 39698f0

Win 006611e0 TEXT_CopyHoverMessageString declares its second stack argument as int32_t, but the complete32-byte body writes one copied character at destination+i, including the terminating NUL. All three incoming callers pass existing character storage: two local buffers and D2GSPacketSrv0x26.szMessage. Retype only that formal to char* and rename its allowed generic nParam to szMessageOut so its name matches the recovered string-output role. Keep the first formal, two dword stack slots, __stdcall RET8, void return and all locals. Full target and all caller bodies match the original Windows PE bytes. Static metadata correction only; no Mac pair, runtime test or byte-match gain claimed.

Changes 2, applied together

  1. Retype variable win 0x006611e0 Stack[0x8]

    typeint32_t→char *
  2. Rename variable win 0x006611e0 Stack[0x8]

    namenParam→szMessageOut