Cant find it.
Thought it might be something to do with the 8-ball tournaments that were hosted prior. Cookie also always showed a great amount of interest in the event, so could explain to why he could solve the riddle so quickly. But couldnt find anything on that. Other than that no real clue...