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

Function sread64

g2all/900/psfree.js:137–151  ·  view source on GitHub ↗
(str, offset)

Source from the content-addressed store, hash-verified

135}
136
137function sread64(str, offset) {
138 const low = (
139 str.charCodeAt(offset)
140 | str.charCodeAt(offset + 1) << 8
141 | str.charCodeAt(offset + 2) << 16
142 | str.charCodeAt(offset + 3) << 24
143 );
144 const high = (
145 str.charCodeAt(offset + 4)
146 | str.charCodeAt(offset + 5) << 8
147 | str.charCodeAt(offset + 6) << 16
148 | str.charCodeAt(offset + 7) << 24
149 );
150 return new Int(low, high);
151}
152
153function prepare_uaf() {
154 const fsets = [];

Callers 2

read64_atMethod · 0.70
read64Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected