REDIVIVUS

Proposals / #672

Type CUNIT_IterateServerUnitsWithCallback's parameter as the callback

rejected · by dtchitt · submitted 2026-11-01, rejected 2026-11-01

The parameter is a callback, not an int. The function halts if it is null, moves it to EBX and calls CUNIT_IterateHashTableWithCallback, whose parameter in that register is typed fnUnitIterCallback. Same width, so only the type and name change.

Changes 2, applied together

  1. Rename variable win 0x00464950 ECX

    namenParam→pfnCallback
  2. Retype variable win 0x00464950 ECX

    typeint32_t→fnUnitIterCallback