REDIVIVUS

Proposals / #930

Mac CHAT_HandleResignCommand: __fastcc BOOL (char * szInput, char * szCommandName)

applied · by KierTaylor · submitted 2026-11-02, applied 2026-11-02

Ghidra vmac 111 · 3c6740e

Mac body: EDX (EBX) goes to strlen and both registers go to CHAT_CompareCaseInsensitive (ECX = ESI, EDX = EBX); then the byte of ECX after the command length must be a space/NUL, so ECX is the typed line and EDX the command word, the same shape as CHAT_HandleWhisperCommand. Returns 0/1; no stack arguments. Windows twin CHAT_HandleResignCommand 0x0047c100 is BOOL (char * szCommandName, char * szInput); the Mac register order puts the input first.

Changes 1, applied together

  1. Set prototype mac 0x000a04f0

    signatureundefined CHAT_HandleResignCommand(void)→BOOL CHAT_HandleResignCommand(char * szInput, char * szCommandName)
    conventionunknown→__fastcc