Legal betting turned the NBA into a giant live circuit board. Before everyone grabs a torch, test the wiring, follow the money, and build safeguards that work even if the accusations collapse in court.