Thank you for using JustAnswer!
With the benefit of hindsight, I hope that you understand that you shouldn't keep those things in your car. I also hope you understand that, under the Fourth Amendment of the U.S. Constitution, you didn't have to re-open the glove box, you didn't have to voluntarily give him the pipe, and you didn't have to voluntarily give him the weed.
As you can see, it's not about the money. It's about recognizing when your constitutional rights are at stake and when you put yourself in a position that you are simply consenting to giving up your constitutional rights. This is why an attorney can help you.
Now, at this juncture, no, the case is not going to be dismissed. The hole is too deep.
However, when you go to court, you can ask for court-appointed counsel. If you cannot afford to hire an attorney, the constitution affords you court-appointed counsel. You should consider exercising that right.
The attorney can review the police reports
, meet with the prosecutor, and try to work out a deal for you that won't have long-term implications for your future.
Good luck and best wishes for better days ahead. I hope that you find this information to be helpful and this answer to be ACCEPTable!