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

Function get_gadget

g2all/900/module/chain.js:534–541  ·  view source on GitHub ↗
(map, insn_str)

Source from the content-addressed store, hash-verified

532}
533
534export function get_gadget(map, insn_str) {
535 const addr = map.get(insn_str);
536 if (addr === undefined) {
537 throw Error(`gadget not found: ${insn_str}`);
538 }
539
540 return addr;
541}
542
543function load_fw_specific(version) {
544 if (version & 0x10000) {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected