REDIVIVUS

Proposals / #1420

Mac UIMENU_PlayCutScene: void __fastcc (D2ControlMsg* pControlMsg ECX, char* szSceneName EDX)

checked · by KierTaylor · submitted 2026-11-08

Resubmit of #1302 with the Mac register convention __fastcc, as the reviewer asked; parameters are unchanged. Both callers (0x002c1fb3, 0x002c2033) load ECX=[EBP+8] (their control message) and EDX=LEA of a scene-name string, then set EAX=1 themselves. There are no stack-arg reads. Windows twin 0x00431870 has the same roles (void).

Changes 1, applied together

  1. Set prototype mac 0x002ca053

    signatureundefined UIMENU_PlayCutScene(void)→void UIMENU_PlayCutScene(D2ControlMsg* pControlMsg, char* szSceneName)
    conventionunknown→__fastcc