A rhyme negation of the slangtotes (meaning totally) this phrase is used as a correction and is followed by the 'better' descriptive (following the pattern of all rhyme -negations)
In the classic tv commercial:
Girl 1: "He's totes adorbs"
Girl 2: "totes magotes, he's cray-cray amaze"
(this follows the standard pattern for rhyming negation:
Friend 1: "What should I wear? It has to be conservative"
Friend 2: "conservative shmervative, go wild!")
note: In the full commercial, the follow up comment of "totes magotes" is used incorrectly.
The phrase is a combination of totes, which is a truncated way of saying "totally" and malote, which is Chicano slang for "bad ass." It was popularized and possibly originated from the animated science fiction show “Rick and Morty”, created by Justin Roiland and Dan Harmon for Adult Swim. It's used by Rick Sanchez in Episode 4 of the first season, M. Night Shaym-Aliens!
Rick and Morty steal processor chips from the intergalactic scammers called the Zigerions and make a getaway in one of their escape pods.....
The combination of Totes (totally) plus McGotes (roughly meaning to agree), yielding a phrase with the meaning to "totally agree" with someone, but in a cooler and stranger way. Also can mean that you agree with an activity, as in "I agree" or "I'm in" as a loose use of totally agree.
Eve: I'm going to go chow down on that apple the snake told us about, are you in?
Adam: Totes McGotes! I'm way down for that! Let's go!