REDIVIVUS

Proposals / #1321

Mac CHATDLG_GetLadderStringOffset: int32_t __fastcall (int32_t nBase ECX, int32_t nLadderType EDX)

checked · by KierTaylor · submitted 2026-11-06

ECX -> ESI is a base value. EDX is a ladder-type index, bucketed into groups of 8: 0..7 -> 0, 9..16 -> 9, 19..26 -> 0x13, 27..34 -> 0x1b, otherwise halt at line 0x1a23 and 0. The function returns base + group start in EAX (ADD EAX,ESI at 0x002d4251) with a plain RET. There are no stack-arg reads. Callers: FUN_002ce4d6 0x002ce524, FUN_002ce544 0x002ce595. There is no Windows symbol with this name.

Changes 1, applied together

  1. Set prototype mac 0x002d41f4

    signatureundefined CHATDLG_GetLadderStringOffset(void)→int32_t CHATDLG_GetLadderStringOffset(int32_t nBase, int32_t nLadderType)
    conventionunknown→__fastcall