void debuggerBreakWrite(int n, char **args)
static void debuggerBreakWrite(int n, char **args)
void debuggerBreakWrite(int n, char **args){  if(n == 3) {    if(cheatsNumber != 0) {      printf("Cheats are enabled. Cannot continue.\n");      return;    }    u32 address = 0;    sscanf(args[1], "%x", &address);    int n = 0;    sscanf(args[2], "%d", &n);        if(address < 0x2000000 || address > 0x3007fff) {      printf("Invalid address: %08x\n", address);      return;    }        if(address > 0x203ffff && address < 0x3000000) {      printf("Invalid address: %08x\n", address);      return;    }    u32 final = address + n;    if(address < 0x2040000 && final > 0x2040000) {      printf("Invalid byte count: %d\n", n);      return;    } else if(address < 0x3008000 && final > 0x3008000) {      printf("Invalid byte count: %d\n", n);      return;    }    printf("Added break on write at %08x for %d bytes\n", address, n);    for(int i = 0; i < n; i++) {      if((address >> 24) == 2)        freezeWorkRAM[address & 0x3ffff] = true;      else        freezeInternalRAM[address & 0x7fff] = true;      address++;    }  } else    debuggerUsage("bpw");    }