REDIVIVUS

Proposals / #1354

Type the unique-monster name modifier-list local as byte *

checked · by eejitgames · submitted 2026-11-06

MONSTER_BuildUniqueName (004adea0) infers ppWaypoints as D2WaypointStrc ** through the player-data union facet, although its unit-type guard requires UNIT_MONSTER. The local is the address of the embedded byte[9] MonUModList, not a pointer array: 004adec8 loads unit data, 004aded3 adds 0x1c, and 004aded8 saves the address; 004adfc3 reads one byte with scale 1, with indices 0..8 bounded at 004ae063. Persist byte * for this local, preserving its chosen name. Existing modifier-dispatch and packet proposals concern other functions; no matching correction was found in the accessible proposal archive or current issue bodies. This is a static database type correction.

Changes 1, applied together

  1. Retype variable win 0x004adea0 EAX

    typeD2WaypointStrc **→byte *