Type Mac BNCLIENT_SendLogonRequest as int __cdecl (char*, char*)
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
Set prototype
mac 0x00050e8dsignatureundefined BNCLIENT_SendLogonRequest(void)→int BNCLIENT_SendLogonRequest(char* szUsername, char* szPassword)conventionunknown→__cdecl