REDIVIVUS

Proposals / #901

Mac CHAT_CompareCaseInsensitive: __fastcc int32_t (char * szText1, char * szText2)

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

Ghidra vmac 111 · 3c6740e

Mac body: ECX and EDX are each passed to strlen; if len(ECX) < len(EDX) it returns -1, otherwise it walks both strings comparing toupper() of each byte and returns 0 or the difference; no stack arguments, plain RET. Windows twin CHAT_CompareCaseInsensitive 0x0047b3b0 is int32_t (char * szText1, char * szText2); same order on Mac (ECX, EDX).

Changes 1, applied together

  1. Set prototype mac 0x000a01d3

    signatureundefined CHAT_CompareCaseInsensitive(void)→int32_t CHAT_CompareCaseInsensitive(char * szText1, char * szText2)
    conventionunknown→__fastcc