REDIVIVUS

Proposals / #739

Recover the Mac minimum-player setter as a void SERVER_GAME operation

applied · by Commit-Will · submitted 2026-11-01, applied 2026-11-02

Ghidra vmac 109 · 39698f0

The complete25-byte setter takes one uint32 count in the first cdecl stack slot, rejects values>8 and stores0053fc28. Its only code caller parses /players, clamps the number to1..8 and ignores EAX. The only global reader uses a signed32-bit comparison to impose this minimum on player count in game modes1..3. Recover the one input and void procedural return; any input left in EAX is incidental, not a result. Use SERVER_GAME_SetMinimumPlayerCount to match the existing reader SERVER_GAME_CountPlayers, and keep the proven gnMinimumPlayerCount/int32_t global correction. This revises rejected608 exactly as requested by maintainer review. Complete fresh Mac bytes match the earlier full setter, reader, count callback and3050-byte chat-caller audit. No chosen name is replaced; only existing defaults are renamed. No Mac execution, Windows twin or gameplay/matching claim.

Changes 4, applied together

  1. Set prototype mac 0x001f82b8

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

    nameFUN_001f82b8→SERVER_GAME_SetMinimumPlayerCount
  3. Retype global mac 0x0053fc28

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

    nameDAT_0053fc28→gnMinimumPlayerCount