The story
Uncertain. Suggested by lexicographer Sidney Baker to derive from illy (variant of eeler, from pig Latin eeler-spee for spieler) + whacker. The verb form whack the illy is a back-formation from the noun.
Etymology from Wiktionary, CC BY-SA 4.0.