Mac Edit_DeleteSelection: void __fastcc (void* pWindow ECX, void* pEditData EDX)
ECX -> [EBP-0x10] = the edit window (passed back as ECX to the selection setter 0x00020d81). EDX -> ESI = the edit control state: +0xc/+0x10 selection anchor/caret, +0x14 text length, +0x48 the text buffer. If the selection is non-empty it memmoves the tail down over it (0x0030b2a0), adjusts the length, collapses the selection to its start via 0x00020d81, and sets the +0x18 dirty flag. There are no stack args, and EAX is not loaded at the plain RET.
Changes 1, applied together
Set prototype
mac 0x00020f10signatureundefined Edit_DeleteSelection(void)→void Edit_DeleteSelection(void* pWindow, void* pEditData)conventionunknown→__fastcc