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

Method fakeobj

g2all/900/module/mem.js:509–519  ·  view source on GitHub ↗
(addr)

Source from the content-addressed store, hash-verified

507 }
508
509 fakeobj(addr) {
510 const values = lohi_from_one(addr);
511 const worker = this._worker;
512 const main = this._main;
513
514 main[off_vector] = this._addr_low;
515 main[off_vector2] = this._addr_high;
516 worker.setUint32(0, values[0], true);
517 worker.setUint32(4, values[1], true);
518 return this._obj[0];
519 }
520
521 addrof(object) {
522 // typeof considers null as a object. blacklist it as it isn't a

Callers

nothing calls this directly

Calls 1

lohi_from_oneFunction · 0.90

Tested by

no test coverage detected