Weight and bad eating habits are really only a very small but consistent series of bad choices. It only takes a very small but consistent nudge in mental focus to make better choices and lose or keep off the weight. I've been 160 kilos and managed to get all the way down to 86, settling at 100 for over a decade. When I was trying to lose weight, my first step was to half ration everything. It was remarkable to me that this worked so well. The vast majority of eating is due to habits and not needs.
I was also a hardcore cyclist. I rode a lot of distance where even when my dumb monkey brain said I was hungry, if I just got on the bike and started riding, that feeling went away and I could ride for a couple of hours before I would calorie crash from low/no blood sugar. The feeling of hunger has no direct connection to blood sugar. I bet most people never in their life feel what real hunger feels like. On a bike, you feel an emptiness for a long time, likely a headache too, but you'll still keep a fast pace like normal for the most part. Then all the sudden like flipping a switch, your brain will hurt, focus will become very difficult, and every pedal stroke is like agony. People usually call it hitting the wall and it hits very hard. I've experienced a calorie crash so many times that it is how I define hungry. That is what worked for me. Don't beat yourself up over a bad decision here or there. Hell binge or terrible eating on a rare occasion like a wedding reception are no big deal. The important thing to change is simply the habitual bad decisions. It sounds like you're on the right path in self awareness.