REDIVIVUS

Proposals / #608

Recover the Mac minimum-player-count setter and state

rejected · by Commit-Will · submitted 2026-11-01, rejected 2026-11-01

The unnamed25-byte function takes one first-stack count, rejects unsigned values>8, and stores it at0053fc28. The sole static reader computes the actual player count and uses this global as a minimum in game modes1..3; its signed32-bit comparison establishes an int32_t stored count. The sole code caller recognizes /players, parses its argument, clamps it to1..8 and passes that scalar unchanged. Name the setter PLAYER_SetMinimumPlayerCount and global gnMinimumPlayerCount, type the global as int32_t, and recover one uint32_t first-stack input with cdecl. Preserve unknown-byte return semantics using registered undefined1; do not infer void or a meaningful EAX result. Full setter/reader/counter/chat bodies and all global refs checked. No Windows twin or runtime effect claimed.

Changes 4, applied together

  1. Set prototype mac 0x001f82b8

    signatureundefined FUN_001f82b8(void)→undefined1 FUN_001f82b8(uint32_t nPlayerCount)
    conventionunknown→__cdecl
  2. Rename function mac 0x001f82b8

    nameFUN_001f82b8→PLAYER_SetMinimumPlayerCount
  3. Retype global mac 0x0053fc28

    typeundefined4 (4 bytes)→int32_t
  4. Rename global mac 0x0053fc28

    nameDAT_0053fc28→gnMinimumPlayerCount