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

Method fakeobj

g2all/700/module/mem.js:248–258  ·  view source on GitHub ↗
(addr)

Source from the content-addressed store, hash-verified

246 }
247
248 fakeobj(addr) {
249 const values = lohi_from_one(addr);
250 const worker = this._worker;
251 const main = this._main;
252
253 main[off_vector] = this._fake_low;
254 main[off_vector2] = this._fake_high;
255 worker.setUint32(0, values[0], true);
256 worker.setUint32(4, values[1], true);
257 return this._obj[0];
258 }
259
260 addrof(object) {
261 // typeof considers null as a object. blacklist it as it isn't a

Callers 4

constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45

Calls 1

lohi_from_oneFunction · 0.90

Tested by

no test coverage detected