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

Function malloc

g2all/900/lapse.js:1775–1781  ·  view source on GitHub ↗
(sz)

Source from the content-addressed store, hash-verified

1773 }
1774}
1775
1776function malloc(sz) {
1777 var backing = new Uint8Array(0x10000 + sz);
1778 nogc.push(backing);
1779 var ptr = mem.readp(mem.addrof(backing).add(0x10));
1780 ptr.backing = backing;
1781 return ptr;
1782 }
1783
1784function malloc32(sz) {

Callers 1

runPayloadFunction · 0.70

Calls 3

readpMethod · 0.45
addMethod · 0.45
addrofMethod · 0.45

Tested by

no test coverage detected