I’d argue that there’s no need for patching the binary. Just look at the right spot and maybe write a simple script