REDIVIVUS

Proposals / #1548

Mac LOCALE_GetUserLocaleId: uint16_t __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

It reads no args. The body is a frame-only tail JMP to LOCALE_BuildLangIdFromMac 0x0002b05d, which returns a 16-bit LANGID in AX, so this wrapper has the same contract. Its caller NET_SID_CLIENT_Send_0x50_AuthInfo 0x00057ddd uses the value as the locale id field of the SID_AUTH_INFO packet.

Changes 1, applied together

  1. Set prototype mac 0x0002b177

    signatureundefined LOCALE_GetUserLocaleId(void)→uint16_t LOCALE_GetUserLocaleId(void)
    conventionunknown→__cdecl