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

Function get_jmptgt

702/BinLoader/userland.js:87–94  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

85 }
86
87 function get_jmptgt(address) {
88 var instr = p.read4(address) & 0xFFFF;
89 var offset = p.read4(address.add32(2));
90 if (instr != 0x25FF) {
91 return 0;
92 }
93 return address.add32(0x6 + offset);
94 }
95
96 function malloc(sz) {
97 var backing = new Uint8Array(0x10000 + sz);

Callers 1

stage2Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected