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

Function array_from_address

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

Source from the content-addressed store, hash-verified

1797 ptr.backing = backing;
1798 return ptr;
1799}
1800
1801// ChendoChap's from pOOBs4
1802function malloc32(sz) {
1803 const backing = new Uint8Array(0x10000 + sz * 4);
1804 nogc.push(backing);
1805 const ptr = mem.readp(mem.addrof(backing).add(0x10));
1806 ptr.backing = new Uint32Array(backing.buffer);
1807 return ptr;
1808}
1809
1810// ChendoChap's from pOOBs4

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