Name ITEMMOD_RollRandomValue's upper bound parameter
Ghidra v1799 · 2663303
The parameter is the other end of the range beside nMin: the roll is RANDOM_RandomNumberSelector(seed, (nParam - low) + 1) + low, and equal bounds return without rolling. Its plate already reads the range as [nMin, nParam]. If the caller passes them reversed, the function swaps them, so nMax is the normal meaning, not a guarantee.
Changes 1, applied together
Rename variable
win 0x0065e9e0 Stack[0x4]namenParam→nMax