Generic brand Yobo controller in working condition except the Z button is jammed in. You could maybe try to use pliers to pull it out and hopefully it will work. But other than that everything works.

Yobo brand Nintendo GameCube controller black
Yobo brand Nintendo GameCube controller black — photo 1 of 1Photo: Courtesy of dennisgitonga.com

Also there is a misprint on it where the X and Y are printed on the wrong buttons but you can disregard that when playing games because they function as the correct buttons, it is just misprinted on the label. This isn’t a Nintendo brand controller, it is Yobo.