Created
February 27, 2021 19:26
-
-
Save antichown/4ccfd3fb3ac3d6edb78b7efbd120fe5d to your computer and use it in GitHub Desktop.
Game Score Matching - Hacking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var score1=[]; | |
findInMemory(600,score1); | |
//score1 | |
var score2=[]; | |
findInMemory(900,score2); | |
//score2 | |
var score1=["0x","0x"]; | |
function findMatchingAdresses(oldResult,newResult,result) { | |
for(var i=0, len=newResult.length; i<len; i++) { | |
var addr=newResult[i]; | |
if(oldResult.indexOf(addr) != -1) { | |
console.log("Matching",addr); | |
result.push(addr); | |
} | |
} | |
} | |
var result = []; | |
findMatchingAdresses(score1,score2,result); | |
console.log(result); | |
writeValueAtAdress(result[0],999999); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment