Yes, the original poster is way off, hydrocodone is a opioid (commonly known as Vicodin) but it is used in some prescription cough syrups, as a depressent and painkiller like all opiates, it also can slow involentary actions like coughing, as well as kill the pain of a sore throat. As an aside, the hydrocodone containing cough syrup is a party favorite, popularized by the southern rap scene...ie "sippin on some syzurp".
The original poster is way off that hydrocodone is anything like cocaine. The structures are completely different as are their effects. In general, uppers mimic endogenous neurotransmitters like norepinephrin/epinephrin and all have a characteristic single benzene ring from Methamphetamine to the more complex cocaine. Opiates like hydrocodone do not, they mimic our endogenous painkillers (endorphins) and have a characteristic three joined six carbon rings (one of which is a benzene ring) joined by an oxygen that binds to a carbon on the benzene ring and a carbon on the last carbon ring forming a base structure that sort of resembles a baseball diamond.