Here’s a bit of history that includes background of Chicago gun registration, and the attempt to have statewide gun registration.
https://www.themarshallproject.org/2023/03/24/chicago-gun-laws-strict-history-illinois
it does not say why gun registration was discontinued in Chicago