You can use the color code to match the correct pin. Just notice the 5v pin location is different between x1c and p1s. I don’t have x1c to test with so I am not sure if Aliexpress messed up the x1c fan or BBL deliberately made it this way. I can confirm the P1S connector pinout is correct. I had a dead p1s fan and already did transplant that connector to an x1c fan.
Color code:
Blue - PWM
Yellow - Tacho
Red - 5V
Black - GND