Replace multi-function call with multi function variables and singular function call
This commit is contained in:
parent
0977fcf463
commit
a03da2daf5
1 changed files with 7 additions and 11 deletions
|
@ -199,17 +199,13 @@ function redirect() {
|
||||||
var model = 0;
|
var model = 0;
|
||||||
if(isN3DS) model = 1;
|
if(isN3DS) model = 1;
|
||||||
|
|
||||||
let redirected = false;
|
let redirected = [
|
||||||
// Start validation
|
can_soundhax,
|
||||||
redirected = can_soundhax(major.value, minor.value, nver.value, region.value, model);
|
can_ssloth,
|
||||||
if (redirected) return true;
|
can_safecerthax,
|
||||||
redirected = can_ssloth(major.value, minor.value, nver.value, region.value, model);
|
can_seedminer,
|
||||||
if (redirected) return true;
|
can_superskaterhax,
|
||||||
redirected = can_safecerthax(major.value, minor.value, nver.value, region.value, model);
|
].some(func => func(major.value, minor.value, nver.value, region.value, model));
|
||||||
if (redirected) return true;
|
|
||||||
redirected = can_seedminer(major.value, minor.value, nver.value, region.value, model);
|
|
||||||
if (redirected) return true;
|
|
||||||
redirected = can_superskaterhax(major.value, minor.value, nver.value, region.value, model);
|
|
||||||
if (redirected) return true;
|
if (redirected) return true;
|
||||||
|
|
||||||
// if it actually got to this point, there is no exploit available.
|
// if it actually got to this point, there is no exploit available.
|
||||||
|
|
Loading…
Reference in a new issue