Step 1: Understand the given reaction and data.
The reaction is:
\[
\text{H}_2(g) + \text{Br}_2(l) \rightarrow 2 \, \text{HBr}(g),
\]
with a standard enthalpy change \(\Delta H^o = -72.8 \, \text{kJ}\).
Step 2: Relation to standard enthalpy of formation.
The standard enthalpy of formation \(\Delta H_f^o\) of a compound is defined as the enthalpy change when 1 mole of the compound is formed from its elements in their standard states.
Here, the formation of 2 moles of HBr from elemental hydrogen and bromine corresponds to \(\Delta H^o = -72.8 \, \text{kJ}\).
Step 3: Calculate \(\Delta H_f^o\) for 1 mole of HBr.
Since the reaction forms 2 moles of HBr, the enthalpy change per mole of HBr is:
\[
\Delta H_f^o = \frac{-72.8 \, \text{kJ}}{2} = -36.4 \, \text{kJ/mol}.
\]
Step 4: Conclusion.
The standard enthalpy of formation of \(\text{HBr}(g)\) is \(\boxed{-36.4 \, \text{kJ/mol}}\).