Excuse my ignorance if otherwise obvious—but how does legalized but untaxed gambling raise any public revenue? Bookie licensing?

Why on earth would you think it's untaxed? A legalized gambling business trivially creates taxable income.

Ah, right. These legalized bookies should be paying income tax to the jurisidictions they operate in (albeit probably happening as reliably as winning bettors are on their winnings).