MCPcopy Create free account
hub / github.com/ChendoChap/PS5-Webkit-Execution / stringToPtr

Function stringToPtr

webkit.js:59–66  ·  view source on GitHub ↗
(p, o)

Source from the content-addressed store, hash-verified

57 }
58
59 function stringToPtr(p, o) {
60 if (o === undefined)
61 o = 0;
62 var ans = 0;
63 for (var i = 7; i >= 0; i--)
64 ans = 256 * ans + p.charCodeAt(o + i);
65 return ans;
66 }
67
68 var strings = [];
69

Callers 1

pocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected