REDIVIVUS

Proposals / #1629

Type Mac BNCLIENT_SendLogonRequest as int __cdecl (char*, char*)

checked · by KierTaylor · submitted 2026-11-08

Mac body reads two stack args ([EBP+8] -> ESI, [EBP+0xc] -> EDI) and passes them in that order to the packet sender at 0x0005629d; returns 1/0 in EAX or tail-jumps to the 0x54 sender. Plain RET (caller cleanup). Windows twin 0x0051c240 is int (char* szUsername, char* szPassword).

Changes 1, applied together

  1. Set prototype mac 0x00050e8d

    signatureundefined BNCLIENT_SendLogonRequest(void)→int BNCLIENT_SendLogonRequest(char* szUsername, char* szPassword)
    conventionunknown→__cdecl