I was wondering whether the following might be helpful:
1. I lost all my money. (correct)
2. I lost all of my money (correct)
3. I lost my money all. (incorrect)
4. I lost all it. (incorrect)
5. I lost all of it. (correct)
6. I lost it all. (correct)
As you probably already know, No. 3 is incorrect because "money" is a noun; No. 4 is incorrect because "it" is a pronoun.
According to many usagists ("good English" advisers), in formal writing, there is no need to use "of." So I guess that
many usagists would prefer No. 1 to No. 2. But there are some usagists who would probably prefer No. 2 because it is,
I think, a so-called partitive phrase. That is, it refers to a part of something. In this case, your money. Compare:
Some of your money.
Much of your money.
All of your money.
Hopefully, other people will join this discussion.
CREDIT: If you want a scholarly discussion regarding "all of," please google:
"All" in partitive phrases
Then click on the 9th result that is entitled English Syntax Carl Lee Baker. Read his pages 167 - 168; 175 - 177.
Thanks for your question. I learned a lot.
Student or Learner