REDIVIVUS

Proposals / #1430

Mac CHATDLG_GetLadderStringOffset: int32_t __fastcc (int32_t nLadderTab, uint32_t nCurrentFilterMode)

checked · by KierTaylor · submitted 2026-11-08

Resubmit of #1321 as the reviewer described. The Windows twin is 0x0043f150 CHATDLG_GetLadderFilterForTab(nLadderTab, nCurrentFilterMode). The caller at 0x002ce522 passes ECX = class tab (0..7) and EDX = the current filter mode (compared unsigned). It returns a filter id in EAX. __fastcc, no stack reads. The rename to the Windows name is left to the maintainers, because the current name is a chosen one.

Changes 1, applied together

  1. Set prototype mac 0x002d41f4

    signatureundefined CHATDLG_GetLadderStringOffset(void)→int32_t CHATDLG_GetLadderStringOffset(int32_t nLadderTab, uint32_t nCurrentFilterMode)
    conventionunknown→__fastcc