I believe he was born in Kenya and raised mostly in Indonesia.
Obama lived in Indonesia from the age of 5 to 10. I don’t think this qualifies as “raised mostly” there. The ages of 10 to 18 are much more formative than 5 to 10.
There is also absolutely no evidence he was born anywhere other than USA. Lots of speculation, but no evidence. Even if he had been born outside USA, he would still almost certainly have qualified as a native-born citizen, since his mama was one.
People seem to keep forgetting that there are only two types of citizens: native born and naturalized. There is no third category.