ref
goof + ball
goofball (n.)
"narcotic drug," 1938, slang, from goof + ball (n.1). As an intensive of goof (n.), it dates from 1959.