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

Method write16

g2all/900/module/mem.js:116–126  ·  view source on GitHub ↗
(offset, value)

Source from the content-addressed store, hash-verified

114 }
115
116 write16(offset, value) {
117 const m = mem;
118 if (isInteger(offset) && 0 <= offset && offset <= 0xffffffff) {
119 m._set_addr_direct(this);
120 } else {
121 add_and_set_addr(m, offset, this.lo, this.hi);
122 offset = 0;
123 }
124
125 m.write16_at(offset, value);
126 }
127
128 write32(offset, value) {
129 const m = mem;

Callers 1

double_free_reqs2Function · 0.45

Calls 3

add_and_set_addrFunction · 0.70
_set_addr_directMethod · 0.45
write16_atMethod · 0.45

Tested by

no test coverage detected