Barrel threads on an unknown HP carbine. Well….good news, you have 50% chance of getting it right. They do make bullpup stocks in both sizes, right?
It’s either .578x28, or it’s 1/2x28. Make sure you don’t get a 5.56 device.
No idea why you’re asking, the gun looks good. Suppressor maybe?