MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / get_jmptgt

Function get_jmptgt

restore/900v2/kexploit.js:125–132  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

123 }
124
125 function get_jmptgt(address) {
126 var instr = p.read4(address) & 0xFFFF;
127 var offset = p.read4(address.add32(2));
128 if (instr != 0x25FF) {
129 return 0;
130 }
131 return address.add32(0x6 + offset);
132 }
133
134 function malloc(sz) {
135 var backing = new Uint8Array(0x10000 + sz);

Callers 1

userlandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected