REDIVIVUS

Proposals / #1421

Mac MAINMENU_SetMultilineText: void __fastcc (D2WinTextBox* pTextBox ECX, WCHAR* wszText EDX, int32_t nColor)

checked · by KierTaylor · submitted 2026-11-08

Resubmit of #1297 with the Mac register convention __fastcc, as the reviewer asked; parameters are unchanged. ECX -> ESI = text box, EDX -> EBX = wide text, [EBP+8] = colour. Callers ignore EAX (UIMENU_CreatePopupWithContent 0x002c480a). Windows twin 0x004330a0 has the same roles.

Changes 1, applied together

  1. Set prototype mac 0x002c484e

    signatureundefined MAINMENU_SetMultilineText(void)→void MAINMENU_SetMultilineText(D2WinTextBox* pTextBox, WCHAR* wszText, int32_t nColor)
    conventionunknown→__fastcc