REDIVIVUS

Proposals / #644

Name the class id parameter of the 0x09 sender, checked against live captures

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

Ghidra v1799 · 2663303

bParam is packet byte [6], and the only caller loads it from the unit's nClassId at +4. Captures from a running game fit: type 5 tile units with class 3 at their positions. Not changed here because the tool treats it as chosen: nLevelId in this function is the unit type, loaded from the unit's +0 and stored in aPacket.nUnitType. The plate's level warp description looks wrong for the same reason.

Changes 1, applied together

  1. Rename variable win 0x0053bcd0 Stack[0xc]

    namebParam→nClassId