Pretty much what I would do to my 9 year old twins if they pulled this nonsense.Take her xbox away? Whip the **** out of her for punching her dad in the face? Take all of her gadgets away and leave a pile of books in her room.
I've had the fight before with my slightly older son when he was playing COD too much and things started to slip... screens off, go outside. Tried aggression with me. Yeah go on big boy, see how far that gets you. And yes I took the cables away too for a while, until the problem passed. 9 year olds cannot be trusted to self regulate or respect authority. That's something we learn as we grow, it's not an intrinsic trait.
Clear lack of parenting authority and skills with the little girl in question.