(str)
| 523 | } |
| 524 | |
| 525 | function stringify(str) { |
| 526 | let bufView = new Uint8Array(str.length + 1); |
| 527 | for (let i = 0; i < str.length; i++) { |
| 528 | bufView[i] = str.charCodeAt(i) & 0xFF; |
| 529 | } |
| 530 | nogc.push(bufView); |
| 531 | return p.read8(p.leakval(bufView).add32(0x10)); |
| 532 | } |
| 533 | |
| 534 | function readstr(addr) { |
| 535 | let str = ""; |