I have to that this as a miscat (it is not a brain tumor question) but I would have to say this potentially could be hormonal.
When she was in the hospital, did they happen to give her high dose steroids? The steroids (dexamethasone, prednesone, hydrocortisone) can often lead to rapid weight gain, and then when they are consumed by the body, then rapid weight loss. It is also possible that there are cortisol producing tumors - aka Cushing's syndrome that can create cortisol thus impacting weight. Thyroid and other hormones can also do this as well. Has she has a good hormone work up?
FYI if you have low D which is quite common for us with hormonal issues, we are put on 50,000iu a week to get up to a normal level then given 3-5,000 daily. From my layman point of view, we have not had a correlation of D to weight, only energy.