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

Method push_value

g2all/900/module/chain.js:274–286  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

272 }
273
274 push_value(value) {
275 const position = this.position;
276 if (position >= this.stack_size) {
277 throw Error(`no more space on the stack, pushed value: ${value}`);
278 }
279
280 const values = lohi_from_one(value);
281 const stack = this.stack;
282 stack.setUint32(position, values[0], true);
283 stack.setUint32(position + 4, values[1], true);
284
285 this.position += 8;
286 }
287
288 get_gadget(insn_str) {
289 const addr = this.gadgets.get(insn_str);

Callers 2

push_gadgetMethod · 0.95
push_callMethod · 0.95

Calls 1

lohi_from_oneFunction · 0.90

Tested by

no test coverage detected