what is the etymology of based (slang)

what is the etymology of based (slang)
freebasing cocaine -> baseheads -> based -> lil b "reclaiming" the term based after people called him that and now that's the usage
just had to pipe in bc i happened to already know this and it's not like i get the opportunity to bring it up much