Honestly? No, I definitely didn't resolve it before surgery. I don't think I really went through the actions of trying to identify what kind of hunger it was until well after surgery.
Thankfully that hasn't been a huge issue. The restriction from my sleeve helps out a ton, especially when I eat my protein first (it just doesn't leave room for much). I won't pretend I've been perfect or that I haven't struggled, but you'll learn to identify triggers and you can make adjustments from there. Don't delay your surgery, the whole thing is a learning process