Hello, I've written this simple code and I'm stuck. I'm trying to get the code to change the 5th byte of the target file. As of now the first byte is successfully overwritten but I can't figure out how to make it overwrite the 5th byte. If anyone has any suggestions or pointers, it would be greatly appreciated.
printf("\n\nIOS Patcher\n");
printf("This is my very first program so cut me some slack if its buggy :)\n\n");
if (argc != 3) {
fprintf(stderr, "Usage: %s IOS.wad [1]Dip patch/[2]Update version\n", argv[0]);
return EXIT_FAILURE;
}