I mostly aim to train my stomach to be flatter and to show more muscle,
as far as I know there is no way to "train" or exercise your stomach to be flatter - you can build the muscle as much as you want in the stomach area, it won't make it flatter - you just have to lose weight, and that's mostly through dieting (i.e. maintaining a caloric deficit, ideally a few hundred calorie deficit per day with 1 - 2 lb reduction per week).
Calculate your total daily energy expenditure (TDEE) and then track your calories to help your awareness of when you're eating above or below it, and I find for myself just that awareness is usually enough to result in sustainable and healthy weight loss.
"Fat memory" also means that you'll be putting weight back on the places you had weight before - so weight cycling is a bit of a myth because if you had a big belly pre-HRT, that's where the fat will quickly go if you gain weight.
That said, hormones will mean fat will also go to new places, too - so that's good, assuming the old fat distribution doesn't create too much dysphoria or make you look too male to others.
In terms of hips, you can do exercises to hypertrophy those muscles - look for high weight, low rep exercises and do them to failure, maybe try 2 - 3 days a week at first with rest days between.
I like hip thrust exercises with a barbell to target glutes and hypertrophy the butt.