Kim Kardashian reunited with a guy who used to hang out with her and her ex-husband Kris Humphries -- and even all this time later ... they look real friendly, especially courtside.
The reality star went to the Lakers game in L.A. Tuesday night with her daughter, North, and some pals -- and yes ... she had a front-row seat to all the action ... as did basketball player-turned-real-estate-agent Peter Cornell, who was plopped down next to Kim at one point.