In the sentence:
it made me happy.
I'm pretty sure that happy is an objective complement.
But in:
it made me realize something.
Is it correct to assume that "realize something" is an objective complement? If not then what's the part of speech of "realize"? Is it even possible to have a verb as an objective complement? Am I missing something? Can someone grammatically analyze this sentence please?