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

Function array_from_address

g2all/900/lapse.js:1791–1799  ·  view source on GitHub ↗
(addr, size)

Source from the content-addressed store, hash-verified

1789 return ptr;
1790 }
1791
1792function array_from_address(addr, size) {
1793 var og_array = new Uint32Array(0x1000);
1794 var og_array_i = mem.addrof(og_array).add(0x10);
1795 mem.write64(og_array_i, addr);
1796 mem.write32(og_array_i.add(0x8), size);
1797 mem.write32(og_array_i.add(0xC), 0x1);
1798 nogc.push(og_array);
1799 return og_array;
1800}
1801
1802function runPayload(PLfile) {

Callers 1

runPayloadFunction · 0.70

Calls 4

addMethod · 0.45
addrofMethod · 0.45
write64Method · 0.45
write32Method · 0.45

Tested by

no test coverage detected