The key here is in asking questions of things you don't understand now, and will never understand, until enough questions are asked, and not simply ignoring what is not currently understood.
Object oriented code, even on embedded systems, can simplify code considerably.
Thing to know learn here is classes and what conversion operators do.