Is it legal to upload a gfx tool app in playstore?

The gfx tool app modifies pubgm data files to unlock 60fps and upscale/descale graphics.

I wanna know it is legal or not and what punishment the developer faces?
Was this page helpful?