I have no idea if this will work for anyone else and I don't have any data on which components are more important than others or how they interact, but the following is how I lost 35 kgs down to my target of 79 kg. from 1st of January 2023 to 15th May 2023, a weight which I retain +/- 2 kg. as of today.
I walk 10 km every day, no exceptions. (I still do this)
I had a banana + coffee w. skimmed milk for breakfast.
I had a plate of 2/3 heavy vegs (e.g. carrot, cabbage) 1/3 protein for lunch.
I had ONLY one serving of whatever we were having for dinner.
No alcohol, beer, crisps, candy at home - ever.
When we went out I drank and ate whatever everyone else did.
Those are the broad strokes. Feel free to ask any questions you might have.