@php-wasm/node 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/asyncify/7_2_34/php_7_2.wasm +0 -0
- package/asyncify/7_3_33/php_7_3.wasm +0 -0
- package/asyncify/7_4_33/php_7_4.wasm +0 -0
- package/asyncify/8_0_30/php_8_0.wasm +0 -0
- package/asyncify/{8_1_23 → 8_1_33}/php_8_1.wasm +0 -0
- package/asyncify/{8_2_10 → 8_2_29}/php_8_2.wasm +0 -0
- package/asyncify/{8_3_0 → 8_3_23}/php_8_3.wasm +0 -0
- package/asyncify/{8_4_0 → 8_4_10}/php_8_4.wasm +0 -0
- package/asyncify/extensions/xdebug/7_2/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/7_3/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/7_4/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/8_0/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/8_1/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/8_2/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/8_3/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/8_4/xdebug.so +0 -0
- package/asyncify/php_7_2.js +477 -199
- package/asyncify/php_7_3.js +477 -199
- package/asyncify/php_7_4.js +477 -199
- package/asyncify/php_8_0.js +477 -199
- package/asyncify/php_8_1.js +479 -201
- package/asyncify/php_8_2.js +479 -201
- package/asyncify/php_8_3.js +479 -201
- package/asyncify/php_8_4.js +479 -201
- package/index.cjs +246 -942
- package/index.js +247 -941
- package/jspi/7_2_34/php_7_2.wasm +0 -0
- package/jspi/7_3_33/php_7_3.wasm +0 -0
- package/jspi/7_4_33/php_7_4.wasm +0 -0
- package/jspi/8_0_30/php_8_0.wasm +0 -0
- package/jspi/8_1_23/php_8_1.wasm +0 -0
- package/jspi/8_2_10/php_8_2.wasm +0 -0
- package/jspi/8_3_0/php_8_3.wasm +0 -0
- package/jspi/8_4_0/php_8_4.wasm +0 -0
- package/jspi/php_7_2.js +12 -13
- package/jspi/php_7_3.js +12 -13
- package/jspi/php_7_4.js +12 -13
- package/jspi/php_8_0.js +12 -13
- package/jspi/php_8_1.js +12 -13
- package/jspi/php_8_2.js +12 -13
- package/jspi/php_8_3.js +12 -13
- package/jspi/php_8_4.js +12 -13
- package/lib/node-fs-mount.d.ts +1 -1
- package/package.json +7 -7
package/asyncify/php_8_1.js
CHANGED
|
@@ -6,9 +6,9 @@ const require = createRequire(import.meta.url);
|
|
|
6
6
|
// Note: The path module is currently needed by code injected by the php-wasm Dockerfile.
|
|
7
7
|
import path from 'path';
|
|
8
8
|
|
|
9
|
-
const dependencyFilename = path.join(__dirname, '
|
|
9
|
+
const dependencyFilename = path.join(__dirname, '8_1_33', 'php_8_1.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 31514637;
|
|
12
12
|
export function init(RuntimeName, PHPLoader) {
|
|
13
13
|
// The rest of the code comes from the built php.js file and esm-suffix.js
|
|
14
14
|
// include: shell.js
|
|
@@ -830,7 +830,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
830
830
|
},
|
|
831
831
|
};
|
|
832
832
|
|
|
833
|
-
var ___heap_base =
|
|
833
|
+
var ___heap_base = 13228928;
|
|
834
834
|
|
|
835
835
|
var alignMemory = (size, alignment) => {
|
|
836
836
|
return Math.ceil(size / alignment) * alignment;
|
|
@@ -994,7 +994,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
994
994
|
|
|
995
995
|
/** @type {WebAssembly.Table} */
|
|
996
996
|
var wasmTable = new WebAssembly.Table({
|
|
997
|
-
initial:
|
|
997
|
+
initial: 15723,
|
|
998
998
|
element: 'anyfunc',
|
|
999
999
|
});
|
|
1000
1000
|
var getWasmTableEntry = (funcPtr) => {
|
|
@@ -1773,8 +1773,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
1773
1773
|
);
|
|
1774
1774
|
|
|
1775
1775
|
var ___call_sighandler = (fp, sig) =>
|
|
1776
|
-
((
|
|
1777
|
-
|
|
1776
|
+
((
|
|
1777
|
+
a1
|
|
1778
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
1779
|
+
sig
|
|
1778
1780
|
);
|
|
1779
1781
|
___call_sighandler.sig = 'vpi';
|
|
1780
1782
|
|
|
@@ -1853,13 +1855,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
1853
1855
|
1024
|
|
1854
1856
|
);
|
|
1855
1857
|
|
|
1856
|
-
var ___stack_high =
|
|
1858
|
+
var ___stack_high = 13228928;
|
|
1857
1859
|
|
|
1858
|
-
var ___stack_low =
|
|
1860
|
+
var ___stack_low = 13163392;
|
|
1859
1861
|
|
|
1860
1862
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1861
1863
|
{ value: 'i32', mutable: true },
|
|
1862
|
-
|
|
1864
|
+
13228928
|
|
1863
1865
|
);
|
|
1864
1866
|
|
|
1865
1867
|
var PATH = {
|
|
@@ -3913,10 +3915,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
3913
3915
|
if (FS.isMountpoint(node)) {
|
|
3914
3916
|
throw new FS.ErrnoError(10);
|
|
3915
3917
|
}
|
|
3916
|
-
|
|
3917
|
-
if (!FS.isDir(node.mode)) {
|
|
3918
|
-
throw new FS.ErrnoError(54);
|
|
3919
|
-
}
|
|
3920
3918
|
}
|
|
3921
3919
|
|
|
3922
3920
|
var mount = {
|
|
@@ -8794,8 +8792,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8794
8792
|
dlSetError(`'Could not load dynamic lib: ${filename}\n${e}`);
|
|
8795
8793
|
runtimeKeepalivePop();
|
|
8796
8794
|
callUserCallback(() =>
|
|
8797
|
-
((
|
|
8798
|
-
|
|
8795
|
+
((
|
|
8796
|
+
a1,
|
|
8797
|
+
a2
|
|
8798
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
8799
|
+
handle,
|
|
8799
8800
|
user_data
|
|
8800
8801
|
)
|
|
8801
8802
|
);
|
|
@@ -8803,8 +8804,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8803
8804
|
function successCallback() {
|
|
8804
8805
|
runtimeKeepalivePop();
|
|
8805
8806
|
callUserCallback(() =>
|
|
8806
|
-
((
|
|
8807
|
-
|
|
8807
|
+
((
|
|
8808
|
+
a1,
|
|
8809
|
+
a2
|
|
8810
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
8811
|
+
handle,
|
|
8808
8812
|
user_data
|
|
8809
8813
|
)
|
|
8810
8814
|
);
|
|
@@ -17744,10 +17748,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
17744
17748
|
HEAPU32[iov >> 2] = buffer; // iov_base
|
|
17745
17749
|
HEAPU32[(iov + 4) >> 2] = CHUNK_SIZE; // iov_len
|
|
17746
17750
|
|
|
17747
|
-
if (typeof js_fd_read === 'undefined') {
|
|
17748
|
-
globalThis.js_fd_read = __asyncjs__js_fd_read;
|
|
17749
|
-
}
|
|
17750
|
-
|
|
17751
17751
|
function pump() {
|
|
17752
17752
|
try {
|
|
17753
17753
|
while (true) {
|
|
@@ -19476,8 +19476,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19476
19476
|
var trace = getCallstack();
|
|
19477
19477
|
var parts = trace.split('\n');
|
|
19478
19478
|
for (var i = 0; i < parts.length; i++) {
|
|
19479
|
-
var ret = ((
|
|
19480
|
-
|
|
19479
|
+
var ret = ((
|
|
19480
|
+
a1,
|
|
19481
|
+
a2
|
|
19482
|
+
) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
19483
|
+
0,
|
|
19481
19484
|
arg
|
|
19482
19485
|
);
|
|
19483
19486
|
if (ret !== 0) return;
|
|
@@ -20053,8 +20056,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20053
20056
|
stringToUTF8(e.locale || '', keyEventData + 128, 32);
|
|
20054
20057
|
|
|
20055
20058
|
if (
|
|
20056
|
-
((
|
|
20057
|
-
|
|
20059
|
+
((
|
|
20060
|
+
a1,
|
|
20061
|
+
a2,
|
|
20062
|
+
a3
|
|
20063
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
20064
|
+
eventTypeId,
|
|
20058
20065
|
keyEventData,
|
|
20059
20066
|
userData
|
|
20060
20067
|
)
|
|
@@ -20172,8 +20179,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20172
20179
|
fillMouseEventData(JSEvents.mouseEvent, e, target);
|
|
20173
20180
|
|
|
20174
20181
|
if (
|
|
20175
|
-
((
|
|
20176
|
-
|
|
20182
|
+
((
|
|
20183
|
+
a1,
|
|
20184
|
+
a2,
|
|
20185
|
+
a3
|
|
20186
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
20187
|
+
eventTypeId,
|
|
20177
20188
|
JSEvents.mouseEvent,
|
|
20178
20189
|
userData
|
|
20179
20190
|
)
|
|
@@ -20387,8 +20398,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20387
20398
|
HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
|
|
20388
20399
|
HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
|
|
20389
20400
|
if (
|
|
20390
|
-
((
|
|
20391
|
-
|
|
20401
|
+
((
|
|
20402
|
+
a1,
|
|
20403
|
+
a2,
|
|
20404
|
+
a3
|
|
20405
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
20406
|
+
eventTypeId,
|
|
20392
20407
|
wheelEvent,
|
|
20393
20408
|
userData
|
|
20394
20409
|
)
|
|
@@ -20469,8 +20484,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20469
20484
|
HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
|
|
20470
20485
|
HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
|
|
20471
20486
|
if (
|
|
20472
|
-
((
|
|
20473
|
-
|
|
20487
|
+
((
|
|
20488
|
+
a1,
|
|
20489
|
+
a2,
|
|
20490
|
+
a3
|
|
20491
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
20492
|
+
eventTypeId,
|
|
20474
20493
|
uiEvent,
|
|
20475
20494
|
userData
|
|
20476
20495
|
)
|
|
@@ -20544,8 +20563,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20544
20563
|
stringToUTF8(id, focusEvent + 128, 128);
|
|
20545
20564
|
|
|
20546
20565
|
if (
|
|
20547
|
-
((
|
|
20548
|
-
|
|
20566
|
+
((
|
|
20567
|
+
a1,
|
|
20568
|
+
a2,
|
|
20569
|
+
a3
|
|
20570
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
20571
|
+
eventTypeId,
|
|
20549
20572
|
focusEvent,
|
|
20550
20573
|
userData
|
|
20551
20574
|
)
|
|
@@ -20661,8 +20684,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20661
20684
|
); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
|
|
20662
20685
|
|
|
20663
20686
|
if (
|
|
20664
|
-
((
|
|
20665
|
-
|
|
20687
|
+
((
|
|
20688
|
+
a1,
|
|
20689
|
+
a2,
|
|
20690
|
+
a3
|
|
20691
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
20692
|
+
eventTypeId,
|
|
20666
20693
|
JSEvents.deviceOrientationEvent,
|
|
20667
20694
|
userData
|
|
20668
20695
|
)
|
|
@@ -20745,8 +20772,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20745
20772
|
fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
|
|
20746
20773
|
|
|
20747
20774
|
if (
|
|
20748
|
-
((
|
|
20749
|
-
|
|
20775
|
+
((
|
|
20776
|
+
a1,
|
|
20777
|
+
a2,
|
|
20778
|
+
a3
|
|
20779
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
20780
|
+
eventTypeId,
|
|
20750
20781
|
JSEvents.deviceMotionEvent,
|
|
20751
20782
|
userData
|
|
20752
20783
|
)
|
|
@@ -20856,8 +20887,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20856
20887
|
fillOrientationChangeEventData(orientationChangeEvent);
|
|
20857
20888
|
|
|
20858
20889
|
if (
|
|
20859
|
-
((
|
|
20860
|
-
|
|
20890
|
+
((
|
|
20891
|
+
a1,
|
|
20892
|
+
a2,
|
|
20893
|
+
a3
|
|
20894
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
20895
|
+
eventTypeId,
|
|
20861
20896
|
orientationChangeEvent,
|
|
20862
20897
|
userData
|
|
20863
20898
|
)
|
|
@@ -20990,8 +21025,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20990
21025
|
fillFullscreenChangeEventData(fullscreenChangeEvent);
|
|
20991
21026
|
|
|
20992
21027
|
if (
|
|
20993
|
-
((
|
|
20994
|
-
|
|
21028
|
+
((
|
|
21029
|
+
a1,
|
|
21030
|
+
a2,
|
|
21031
|
+
a3
|
|
21032
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
21033
|
+
eventTypeId,
|
|
20995
21034
|
fullscreenChangeEvent,
|
|
20996
21035
|
userData
|
|
20997
21036
|
)
|
|
@@ -21155,8 +21194,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21155
21194
|
);
|
|
21156
21195
|
|
|
21157
21196
|
if (currentFullscreenStrategy.canvasResizedCallback) {
|
|
21158
|
-
((
|
|
21159
|
-
|
|
21197
|
+
((
|
|
21198
|
+
a1,
|
|
21199
|
+
a2,
|
|
21200
|
+
a3
|
|
21201
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
21202
|
+
37,
|
|
21160
21203
|
0,
|
|
21161
21204
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21162
21205
|
);
|
|
@@ -21262,8 +21305,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21262
21305
|
currentFullscreenStrategy = strategy;
|
|
21263
21306
|
|
|
21264
21307
|
if (strategy.canvasResizedCallback) {
|
|
21265
|
-
((
|
|
21266
|
-
|
|
21308
|
+
((
|
|
21309
|
+
a1,
|
|
21310
|
+
a2,
|
|
21311
|
+
a3
|
|
21312
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
21313
|
+
37,
|
|
21267
21314
|
0,
|
|
21268
21315
|
strategy.canvasResizedCallbackUserData
|
|
21269
21316
|
);
|
|
@@ -21365,8 +21412,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21365
21412
|
!inCenteredWithoutScalingFullscreenMode &&
|
|
21366
21413
|
currentFullscreenStrategy.canvasResizedCallback
|
|
21367
21414
|
) {
|
|
21368
|
-
((
|
|
21369
|
-
|
|
21415
|
+
((
|
|
21416
|
+
a1,
|
|
21417
|
+
a2,
|
|
21418
|
+
a3
|
|
21419
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
21420
|
+
37,
|
|
21370
21421
|
0,
|
|
21371
21422
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21372
21423
|
);
|
|
@@ -21465,8 +21516,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21465
21516
|
softFullscreenResizeWebGLRenderTarget
|
|
21466
21517
|
);
|
|
21467
21518
|
if (strategy.canvasResizedCallback) {
|
|
21468
|
-
((
|
|
21469
|
-
|
|
21519
|
+
((
|
|
21520
|
+
a1,
|
|
21521
|
+
a2,
|
|
21522
|
+
a3
|
|
21523
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
21524
|
+
37,
|
|
21470
21525
|
0,
|
|
21471
21526
|
strategy.canvasResizedCallbackUserData
|
|
21472
21527
|
);
|
|
@@ -21479,8 +21534,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21479
21534
|
|
|
21480
21535
|
// Inform the caller that the canvas size has changed.
|
|
21481
21536
|
if (strategy.canvasResizedCallback) {
|
|
21482
|
-
((
|
|
21483
|
-
|
|
21537
|
+
((
|
|
21538
|
+
a1,
|
|
21539
|
+
a2,
|
|
21540
|
+
a3
|
|
21541
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
21542
|
+
37,
|
|
21484
21543
|
0,
|
|
21485
21544
|
strategy.canvasResizedCallbackUserData
|
|
21486
21545
|
);
|
|
@@ -21548,8 +21607,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21548
21607
|
fillPointerlockChangeEventData(pointerlockChangeEvent);
|
|
21549
21608
|
|
|
21550
21609
|
if (
|
|
21551
|
-
((
|
|
21552
|
-
|
|
21610
|
+
((
|
|
21611
|
+
a1,
|
|
21612
|
+
a2,
|
|
21613
|
+
a3
|
|
21614
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
21615
|
+
eventTypeId,
|
|
21553
21616
|
pointerlockChangeEvent,
|
|
21554
21617
|
userData
|
|
21555
21618
|
)
|
|
@@ -21639,8 +21702,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21639
21702
|
) => {
|
|
21640
21703
|
var pointerlockErrorEventHandlerFunc = (e = event) => {
|
|
21641
21704
|
if (
|
|
21642
|
-
((
|
|
21643
|
-
|
|
21705
|
+
((
|
|
21706
|
+
a1,
|
|
21707
|
+
a2,
|
|
21708
|
+
a3
|
|
21709
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
21710
|
+
eventTypeId,
|
|
21644
21711
|
0,
|
|
21645
21712
|
userData
|
|
21646
21713
|
)
|
|
@@ -21840,8 +21907,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21840
21907
|
fillVisibilityChangeEventData(visibilityChangeEvent);
|
|
21841
21908
|
|
|
21842
21909
|
if (
|
|
21843
|
-
((
|
|
21844
|
-
|
|
21910
|
+
((
|
|
21911
|
+
a1,
|
|
21912
|
+
a2,
|
|
21913
|
+
a3
|
|
21914
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
21915
|
+
eventTypeId,
|
|
21845
21916
|
visibilityChangeEvent,
|
|
21846
21917
|
userData
|
|
21847
21918
|
)
|
|
@@ -21961,8 +22032,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21961
22032
|
HEAP32[(touchEvent + 8) >> 2] = numTouches;
|
|
21962
22033
|
|
|
21963
22034
|
if (
|
|
21964
|
-
((
|
|
21965
|
-
|
|
22035
|
+
((
|
|
22036
|
+
a1,
|
|
22037
|
+
a2,
|
|
22038
|
+
a3
|
|
22039
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22040
|
+
eventTypeId,
|
|
21966
22041
|
touchEvent,
|
|
21967
22042
|
userData
|
|
21968
22043
|
)
|
|
@@ -22100,8 +22175,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22100
22175
|
fillGamepadEventData(gamepadEvent, e['gamepad']);
|
|
22101
22176
|
|
|
22102
22177
|
if (
|
|
22103
|
-
((
|
|
22104
|
-
|
|
22178
|
+
((
|
|
22179
|
+
a1,
|
|
22180
|
+
a2,
|
|
22181
|
+
a3
|
|
22182
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22183
|
+
eventTypeId,
|
|
22105
22184
|
gamepadEvent,
|
|
22106
22185
|
userData
|
|
22107
22186
|
)
|
|
@@ -22203,8 +22282,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22203
22282
|
) => {
|
|
22204
22283
|
var beforeUnloadEventHandlerFunc = (e = event) => {
|
|
22205
22284
|
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
|
|
22206
|
-
var confirmationMessage = ((
|
|
22207
|
-
|
|
22285
|
+
var confirmationMessage = ((
|
|
22286
|
+
a1,
|
|
22287
|
+
a2,
|
|
22288
|
+
a3
|
|
22289
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22290
|
+
eventTypeId,
|
|
22208
22291
|
0,
|
|
22209
22292
|
userData
|
|
22210
22293
|
);
|
|
@@ -22275,8 +22358,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22275
22358
|
fillBatteryEventData(batteryEvent, battery());
|
|
22276
22359
|
|
|
22277
22360
|
if (
|
|
22278
|
-
((
|
|
22279
|
-
|
|
22361
|
+
((
|
|
22362
|
+
a1,
|
|
22363
|
+
a2,
|
|
22364
|
+
a3
|
|
22365
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22366
|
+
eventTypeId,
|
|
22280
22367
|
batteryEvent,
|
|
22281
22368
|
userData
|
|
22282
22369
|
)
|
|
@@ -22366,8 +22453,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22366
22453
|
|
|
22367
22454
|
var _emscripten_request_animation_frame = (cb, userData) =>
|
|
22368
22455
|
requestAnimationFrame((timeStamp) =>
|
|
22369
|
-
((
|
|
22370
|
-
|
|
22456
|
+
((
|
|
22457
|
+
a1,
|
|
22458
|
+
a2
|
|
22459
|
+
) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22460
|
+
timeStamp,
|
|
22371
22461
|
userData
|
|
22372
22462
|
)
|
|
22373
22463
|
);
|
|
@@ -22379,8 +22469,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22379
22469
|
var _emscripten_request_animation_frame_loop = (cb, userData) => {
|
|
22380
22470
|
function tick(timeStamp) {
|
|
22381
22471
|
if (
|
|
22382
|
-
((
|
|
22383
|
-
|
|
22472
|
+
((
|
|
22473
|
+
a1,
|
|
22474
|
+
a2
|
|
22475
|
+
) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22476
|
+
timeStamp,
|
|
22384
22477
|
userData
|
|
22385
22478
|
)
|
|
22386
22479
|
) {
|
|
@@ -22605,8 +22698,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22605
22698
|
return emSetImmediate(() => {
|
|
22606
22699
|
runtimeKeepalivePop();
|
|
22607
22700
|
callUserCallback(() =>
|
|
22608
|
-
((
|
|
22609
|
-
|
|
22701
|
+
((
|
|
22702
|
+
a1
|
|
22703
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22704
|
+
userData
|
|
22610
22705
|
)
|
|
22611
22706
|
);
|
|
22612
22707
|
});
|
|
@@ -22623,8 +22718,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22623
22718
|
function tick() {
|
|
22624
22719
|
callUserCallback(() => {
|
|
22625
22720
|
if (
|
|
22626
|
-
((
|
|
22627
|
-
|
|
22721
|
+
((
|
|
22722
|
+
a1
|
|
22723
|
+
) => {}) /* a dynamic function call to signature ii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22724
|
+
userData
|
|
22628
22725
|
)
|
|
22629
22726
|
) {
|
|
22630
22727
|
emSetImmediate(tick);
|
|
@@ -22641,8 +22738,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22641
22738
|
var _emscripten_set_timeout = (cb, msecs, userData) =>
|
|
22642
22739
|
safeSetTimeout(
|
|
22643
22740
|
() =>
|
|
22644
|
-
((
|
|
22645
|
-
|
|
22741
|
+
((
|
|
22742
|
+
a1
|
|
22743
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22744
|
+
userData
|
|
22646
22745
|
),
|
|
22647
22746
|
msecs
|
|
22648
22747
|
);
|
|
@@ -22658,8 +22757,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22658
22757
|
runtimeKeepalivePop();
|
|
22659
22758
|
callUserCallback(() => {
|
|
22660
22759
|
if (
|
|
22661
|
-
((
|
|
22662
|
-
|
|
22760
|
+
((
|
|
22761
|
+
a1,
|
|
22762
|
+
a2
|
|
22763
|
+
) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22764
|
+
t,
|
|
22663
22765
|
userData
|
|
22664
22766
|
)
|
|
22665
22767
|
) {
|
|
@@ -22683,8 +22785,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22683
22785
|
runtimeKeepalivePush();
|
|
22684
22786
|
return setInterval(() => {
|
|
22685
22787
|
callUserCallback(() =>
|
|
22686
|
-
((
|
|
22687
|
-
|
|
22788
|
+
((
|
|
22789
|
+
a1
|
|
22790
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22791
|
+
userData
|
|
22688
22792
|
)
|
|
22689
22793
|
);
|
|
22690
22794
|
}, msecs);
|
|
@@ -22699,8 +22803,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22699
22803
|
|
|
22700
22804
|
var _emscripten_async_call = (func, arg, millis) => {
|
|
22701
22805
|
var wrapper = () =>
|
|
22702
|
-
((
|
|
22703
|
-
|
|
22806
|
+
((
|
|
22807
|
+
a1
|
|
22808
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22809
|
+
arg
|
|
22704
22810
|
);
|
|
22705
22811
|
|
|
22706
22812
|
if (
|
|
@@ -22733,7 +22839,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22733
22839
|
|
|
22734
22840
|
var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
|
|
22735
22841
|
var iterFunc =
|
|
22736
|
-
() => {}
|
|
22842
|
+
() => {} /* a dynamic function call to signature v, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */;
|
|
22737
22843
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop);
|
|
22738
22844
|
};
|
|
22739
22845
|
_emscripten_set_main_loop.sig = 'vpii';
|
|
@@ -22745,8 +22851,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22745
22851
|
simulateInfiniteLoop
|
|
22746
22852
|
) => {
|
|
22747
22853
|
var iterFunc = () =>
|
|
22748
|
-
((
|
|
22749
|
-
|
|
22854
|
+
((
|
|
22855
|
+
a1
|
|
22856
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22857
|
+
arg
|
|
22750
22858
|
);
|
|
22751
22859
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
|
|
22752
22860
|
};
|
|
@@ -22767,8 +22875,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22767
22875
|
var __emscripten_push_main_loop_blocker = (func, arg, name) => {
|
|
22768
22876
|
MainLoop.queue.push({
|
|
22769
22877
|
func: () => {
|
|
22770
|
-
((
|
|
22771
|
-
|
|
22878
|
+
((
|
|
22879
|
+
a1
|
|
22880
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22881
|
+
arg
|
|
22772
22882
|
);
|
|
22773
22883
|
},
|
|
22774
22884
|
name: UTF8ToString(name),
|
|
@@ -22781,8 +22891,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22781
22891
|
var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
|
|
22782
22892
|
MainLoop.queue.push({
|
|
22783
22893
|
func: () => {
|
|
22784
|
-
((
|
|
22785
|
-
|
|
22894
|
+
((
|
|
22895
|
+
a1
|
|
22896
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22897
|
+
arg
|
|
22786
22898
|
);
|
|
22787
22899
|
},
|
|
22788
22900
|
name: UTF8ToString(name),
|
|
@@ -22816,8 +22928,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22816
22928
|
var resultPtr = stackAlloc(POINTER_SIZE);
|
|
22817
22929
|
HEAPU32[resultPtr >> 2] = 0;
|
|
22818
22930
|
try {
|
|
22819
|
-
var result = ((
|
|
22820
|
-
|
|
22931
|
+
var result = ((
|
|
22932
|
+
a1,
|
|
22933
|
+
a2,
|
|
22934
|
+
a3
|
|
22935
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22936
|
+
resultPtr,
|
|
22821
22937
|
userData,
|
|
22822
22938
|
value
|
|
22823
22939
|
);
|
|
@@ -23753,15 +23869,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23753
23869
|
() => {
|
|
23754
23870
|
runtimeKeepalivePop();
|
|
23755
23871
|
if (onload)
|
|
23756
|
-
((
|
|
23757
|
-
|
|
23872
|
+
((
|
|
23873
|
+
a1
|
|
23874
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
23875
|
+
file
|
|
23758
23876
|
);
|
|
23759
23877
|
},
|
|
23760
23878
|
() => {
|
|
23761
23879
|
runtimeKeepalivePop();
|
|
23762
23880
|
if (onerror)
|
|
23763
|
-
((
|
|
23764
|
-
|
|
23881
|
+
((
|
|
23882
|
+
a1
|
|
23883
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
23884
|
+
file
|
|
23765
23885
|
);
|
|
23766
23886
|
},
|
|
23767
23887
|
true // don'tCreateFile - it's already there
|
|
@@ -23795,16 +23915,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23795
23915
|
() => {
|
|
23796
23916
|
runtimeKeepalivePop();
|
|
23797
23917
|
if (onload)
|
|
23798
|
-
((
|
|
23799
|
-
|
|
23918
|
+
((
|
|
23919
|
+
a1,
|
|
23920
|
+
a2
|
|
23921
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
23922
|
+
arg,
|
|
23800
23923
|
cname
|
|
23801
23924
|
);
|
|
23802
23925
|
},
|
|
23803
23926
|
() => {
|
|
23804
23927
|
runtimeKeepalivePop();
|
|
23805
23928
|
if (onerror)
|
|
23806
|
-
((
|
|
23807
|
-
|
|
23929
|
+
((
|
|
23930
|
+
a1
|
|
23931
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
23932
|
+
arg
|
|
23808
23933
|
);
|
|
23809
23934
|
},
|
|
23810
23935
|
true // don'tCreateFile - it's already there
|
|
@@ -24077,10 +24202,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24077
24202
|
runtimeKeepalivePop();
|
|
24078
24203
|
callUserCallback(() => {
|
|
24079
24204
|
var sp = stackSave();
|
|
24080
|
-
((
|
|
24081
|
-
|
|
24082
|
-
|
|
24083
|
-
)
|
|
24205
|
+
((
|
|
24206
|
+
a1
|
|
24207
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24208
|
+
stringToUTF8OnStack(_file)
|
|
24084
24209
|
);
|
|
24085
24210
|
stackRestore(sp);
|
|
24086
24211
|
});
|
|
@@ -24124,8 +24249,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24124
24249
|
callUserCallback(() => {
|
|
24125
24250
|
var buffer = _malloc(byteArray.length);
|
|
24126
24251
|
HEAPU8.set(byteArray, buffer);
|
|
24127
|
-
((
|
|
24128
|
-
|
|
24252
|
+
((
|
|
24253
|
+
a1,
|
|
24254
|
+
a2,
|
|
24255
|
+
a3
|
|
24256
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24257
|
+
userdata,
|
|
24129
24258
|
buffer,
|
|
24130
24259
|
byteArray.length
|
|
24131
24260
|
);
|
|
@@ -24135,8 +24264,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24135
24264
|
if (onerror) {
|
|
24136
24265
|
runtimeKeepalivePop();
|
|
24137
24266
|
callUserCallback(() => {
|
|
24138
|
-
((
|
|
24139
|
-
|
|
24267
|
+
((
|
|
24268
|
+
a1
|
|
24269
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24270
|
+
userdata
|
|
24140
24271
|
);
|
|
24141
24272
|
});
|
|
24142
24273
|
}
|
|
@@ -24193,8 +24324,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24193
24324
|
);
|
|
24194
24325
|
if (onload) {
|
|
24195
24326
|
var sp = stackSave();
|
|
24196
|
-
((
|
|
24197
|
-
|
|
24327
|
+
((
|
|
24328
|
+
a1,
|
|
24329
|
+
a2,
|
|
24330
|
+
a3
|
|
24331
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24332
|
+
handle,
|
|
24198
24333
|
userdata,
|
|
24199
24334
|
stringToUTF8OnStack(_file)
|
|
24200
24335
|
);
|
|
@@ -24202,8 +24337,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24202
24337
|
}
|
|
24203
24338
|
} else {
|
|
24204
24339
|
if (onerror)
|
|
24205
|
-
((
|
|
24206
|
-
|
|
24340
|
+
((
|
|
24341
|
+
a1,
|
|
24342
|
+
a2,
|
|
24343
|
+
a3
|
|
24344
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24345
|
+
handle,
|
|
24207
24346
|
userdata,
|
|
24208
24347
|
http.status
|
|
24209
24348
|
);
|
|
@@ -24216,8 +24355,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24216
24355
|
http.onerror = (e) => {
|
|
24217
24356
|
runtimeKeepalivePop();
|
|
24218
24357
|
if (onerror)
|
|
24219
|
-
((
|
|
24220
|
-
|
|
24358
|
+
((
|
|
24359
|
+
a1,
|
|
24360
|
+
a2,
|
|
24361
|
+
a3
|
|
24362
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24363
|
+
handle,
|
|
24221
24364
|
userdata,
|
|
24222
24365
|
http.status
|
|
24223
24366
|
);
|
|
@@ -24232,8 +24375,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24232
24375
|
) {
|
|
24233
24376
|
var percentComplete = (e.loaded / e.total) * 100;
|
|
24234
24377
|
if (onprogress)
|
|
24235
|
-
((
|
|
24236
|
-
|
|
24378
|
+
((
|
|
24379
|
+
a1,
|
|
24380
|
+
a2,
|
|
24381
|
+
a3
|
|
24382
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24383
|
+
handle,
|
|
24237
24384
|
userdata,
|
|
24238
24385
|
percentComplete
|
|
24239
24386
|
);
|
|
@@ -24290,8 +24437,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24290
24437
|
if (http.statusText) {
|
|
24291
24438
|
statusText = stringToUTF8OnStack(http.statusText);
|
|
24292
24439
|
}
|
|
24293
|
-
((
|
|
24294
|
-
|
|
24440
|
+
((
|
|
24441
|
+
a1,
|
|
24442
|
+
a2,
|
|
24443
|
+
a3,
|
|
24444
|
+
a4
|
|
24445
|
+
) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24446
|
+
handle,
|
|
24295
24447
|
userdata,
|
|
24296
24448
|
http.status,
|
|
24297
24449
|
statusText
|
|
@@ -24312,8 +24464,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24312
24464
|
var buffer = _malloc(byteArray.length);
|
|
24313
24465
|
HEAPU8.set(byteArray, buffer);
|
|
24314
24466
|
if (onload)
|
|
24315
|
-
((
|
|
24316
|
-
|
|
24467
|
+
((
|
|
24468
|
+
a1,
|
|
24469
|
+
a2,
|
|
24470
|
+
a3,
|
|
24471
|
+
a4
|
|
24472
|
+
) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24473
|
+
handle,
|
|
24317
24474
|
userdata,
|
|
24318
24475
|
buffer,
|
|
24319
24476
|
byteArray.length
|
|
@@ -24334,8 +24491,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24334
24491
|
// PROGRESS
|
|
24335
24492
|
http.onprogress = (e) => {
|
|
24336
24493
|
if (onprogress)
|
|
24337
|
-
((
|
|
24338
|
-
|
|
24494
|
+
((
|
|
24495
|
+
a1,
|
|
24496
|
+
a2,
|
|
24497
|
+
a3,
|
|
24498
|
+
a4
|
|
24499
|
+
) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24500
|
+
handle,
|
|
24339
24501
|
userdata,
|
|
24340
24502
|
e.loaded,
|
|
24341
24503
|
e.lengthComputable || e.lengthComputable === undefined
|
|
@@ -24455,16 +24617,24 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24455
24617
|
if (event === 'error') {
|
|
24456
24618
|
withStackSave(() => {
|
|
24457
24619
|
var msg = stringToUTF8OnStack(data[2]);
|
|
24458
|
-
((
|
|
24459
|
-
|
|
24620
|
+
((
|
|
24621
|
+
a1,
|
|
24622
|
+
a2,
|
|
24623
|
+
a3,
|
|
24624
|
+
a4
|
|
24625
|
+
) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24626
|
+
data[0],
|
|
24460
24627
|
data[1],
|
|
24461
24628
|
msg,
|
|
24462
24629
|
userData
|
|
24463
24630
|
);
|
|
24464
24631
|
});
|
|
24465
24632
|
} else {
|
|
24466
|
-
((
|
|
24467
|
-
|
|
24633
|
+
((
|
|
24634
|
+
a1,
|
|
24635
|
+
a2
|
|
24636
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
24637
|
+
data,
|
|
24468
24638
|
userData
|
|
24469
24639
|
);
|
|
24470
24640
|
}
|
|
@@ -24930,8 +25100,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24930
25100
|
) => {
|
|
24931
25101
|
var webGlEventHandlerFunc = (e = event) => {
|
|
24932
25102
|
if (
|
|
24933
|
-
((
|
|
24934
|
-
|
|
25103
|
+
((
|
|
25104
|
+
a1,
|
|
25105
|
+
a2,
|
|
25106
|
+
a3
|
|
25107
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25108
|
+
eventTypeId,
|
|
24935
25109
|
0,
|
|
24936
25110
|
userData
|
|
24937
25111
|
)
|
|
@@ -25150,15 +25324,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25150
25324
|
) {
|
|
25151
25325
|
event.preventDefault();
|
|
25152
25326
|
GLUT.saveModifiers(event);
|
|
25153
|
-
((
|
|
25154
|
-
|
|
25327
|
+
((
|
|
25328
|
+
a1,
|
|
25329
|
+
a2
|
|
25330
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25331
|
+
lastX,
|
|
25155
25332
|
lastY
|
|
25156
25333
|
);
|
|
25157
25334
|
} else if (GLUT.buttons != 0 && GLUT.motionFunc) {
|
|
25158
25335
|
event.preventDefault();
|
|
25159
25336
|
GLUT.saveModifiers(event);
|
|
25160
|
-
((
|
|
25161
|
-
|
|
25337
|
+
((
|
|
25338
|
+
a1,
|
|
25339
|
+
a2
|
|
25340
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25341
|
+
lastX,
|
|
25162
25342
|
lastY
|
|
25163
25343
|
);
|
|
25164
25344
|
}
|
|
@@ -25319,8 +25499,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25319
25499
|
if (GLUT.specialFunc) {
|
|
25320
25500
|
event.preventDefault();
|
|
25321
25501
|
GLUT.saveModifiers(event);
|
|
25322
|
-
((
|
|
25323
|
-
|
|
25502
|
+
((
|
|
25503
|
+
a1,
|
|
25504
|
+
a2,
|
|
25505
|
+
a3
|
|
25506
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25507
|
+
key,
|
|
25324
25508
|
Browser.mouseX,
|
|
25325
25509
|
Browser.mouseY
|
|
25326
25510
|
);
|
|
@@ -25330,8 +25514,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25330
25514
|
if (key !== null && GLUT.keyboardFunc) {
|
|
25331
25515
|
event.preventDefault();
|
|
25332
25516
|
GLUT.saveModifiers(event);
|
|
25333
|
-
((
|
|
25334
|
-
|
|
25517
|
+
((
|
|
25518
|
+
a1,
|
|
25519
|
+
a2,
|
|
25520
|
+
a3
|
|
25521
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25522
|
+
key,
|
|
25335
25523
|
Browser.mouseX,
|
|
25336
25524
|
Browser.mouseY
|
|
25337
25525
|
);
|
|
@@ -25346,8 +25534,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25346
25534
|
if (GLUT.specialUpFunc) {
|
|
25347
25535
|
event.preventDefault();
|
|
25348
25536
|
GLUT.saveModifiers(event);
|
|
25349
|
-
((
|
|
25350
|
-
|
|
25537
|
+
((
|
|
25538
|
+
a1,
|
|
25539
|
+
a2,
|
|
25540
|
+
a3
|
|
25541
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25542
|
+
key,
|
|
25351
25543
|
Browser.mouseX,
|
|
25352
25544
|
Browser.mouseY
|
|
25353
25545
|
);
|
|
@@ -25357,8 +25549,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25357
25549
|
if (key !== null && GLUT.keyboardUpFunc) {
|
|
25358
25550
|
event.preventDefault();
|
|
25359
25551
|
GLUT.saveModifiers(event);
|
|
25360
|
-
((
|
|
25361
|
-
|
|
25552
|
+
((
|
|
25553
|
+
a1,
|
|
25554
|
+
a2,
|
|
25555
|
+
a3
|
|
25556
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25557
|
+
key,
|
|
25362
25558
|
Browser.mouseX,
|
|
25363
25559
|
Browser.mouseY
|
|
25364
25560
|
);
|
|
@@ -25422,10 +25618,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25422
25618
|
} catch (e) {}
|
|
25423
25619
|
event.preventDefault();
|
|
25424
25620
|
GLUT.saveModifiers(event);
|
|
25425
|
-
((
|
|
25426
|
-
|
|
25427
|
-
|
|
25428
|
-
|
|
25621
|
+
((
|
|
25622
|
+
a1,
|
|
25623
|
+
a2,
|
|
25624
|
+
a3,
|
|
25625
|
+
a4
|
|
25626
|
+
) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25627
|
+
event['button'],
|
|
25429
25628
|
0 /*GLUT_DOWN*/,
|
|
25430
25629
|
Browser.mouseX,
|
|
25431
25630
|
Browser.mouseY
|
|
@@ -25440,10 +25639,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25440
25639
|
if (GLUT.mouseFunc) {
|
|
25441
25640
|
event.preventDefault();
|
|
25442
25641
|
GLUT.saveModifiers(event);
|
|
25443
|
-
((
|
|
25444
|
-
|
|
25445
|
-
|
|
25446
|
-
|
|
25642
|
+
((
|
|
25643
|
+
a1,
|
|
25644
|
+
a2,
|
|
25645
|
+
a3,
|
|
25646
|
+
a4
|
|
25647
|
+
) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25648
|
+
event['button'],
|
|
25447
25649
|
1 /*GLUT_UP*/,
|
|
25448
25650
|
Browser.mouseX,
|
|
25449
25651
|
Browser.mouseY
|
|
@@ -25472,8 +25674,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25472
25674
|
if (GLUT.mouseFunc) {
|
|
25473
25675
|
event.preventDefault();
|
|
25474
25676
|
GLUT.saveModifiers(event);
|
|
25475
|
-
((
|
|
25476
|
-
|
|
25677
|
+
((
|
|
25678
|
+
a1,
|
|
25679
|
+
a2,
|
|
25680
|
+
a3,
|
|
25681
|
+
a4
|
|
25682
|
+
) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25683
|
+
button,
|
|
25477
25684
|
0 /*GLUT_DOWN*/,
|
|
25478
25685
|
Browser.mouseX,
|
|
25479
25686
|
Browser.mouseY
|
|
@@ -25516,8 +25723,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25516
25723
|
/* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
|
|
25517
25724
|
if (GLUT.reshapeFunc) {
|
|
25518
25725
|
// out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
|
|
25519
|
-
((
|
|
25520
|
-
|
|
25726
|
+
((
|
|
25727
|
+
a1,
|
|
25728
|
+
a2
|
|
25729
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25730
|
+
width,
|
|
25521
25731
|
height
|
|
25522
25732
|
);
|
|
25523
25733
|
}
|
|
@@ -25560,8 +25770,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25560
25770
|
|
|
25561
25771
|
Browser.resizeListeners.push((width, height) => {
|
|
25562
25772
|
if (GLUT.reshapeFunc) {
|
|
25563
|
-
((
|
|
25564
|
-
|
|
25773
|
+
((
|
|
25774
|
+
a1,
|
|
25775
|
+
a2
|
|
25776
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25777
|
+
width,
|
|
25565
25778
|
height
|
|
25566
25779
|
);
|
|
25567
25780
|
}
|
|
@@ -25674,8 +25887,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25674
25887
|
var _glutTimerFunc = (msec, func, value) =>
|
|
25675
25888
|
safeSetTimeout(
|
|
25676
25889
|
() =>
|
|
25677
|
-
((
|
|
25678
|
-
|
|
25890
|
+
((
|
|
25891
|
+
a1
|
|
25892
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25893
|
+
value
|
|
25679
25894
|
),
|
|
25680
25895
|
msec
|
|
25681
25896
|
);
|
|
@@ -25835,8 +26050,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25835
26050
|
Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
|
|
25836
26051
|
// Just call it once here.
|
|
25837
26052
|
if (GLUT.reshapeFunc) {
|
|
25838
|
-
((
|
|
25839
|
-
|
|
26053
|
+
((
|
|
26054
|
+
a1,
|
|
26055
|
+
a2
|
|
26056
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
26057
|
+
width,
|
|
25840
26058
|
height
|
|
25841
26059
|
);
|
|
25842
26060
|
}
|
|
@@ -26898,15 +27116,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26898
27116
|
callUserCallback(() => {
|
|
26899
27117
|
if (error) {
|
|
26900
27118
|
if (onerror)
|
|
26901
|
-
((
|
|
26902
|
-
|
|
27119
|
+
((
|
|
27120
|
+
a1
|
|
27121
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27122
|
+
arg
|
|
26903
27123
|
);
|
|
26904
27124
|
return;
|
|
26905
27125
|
}
|
|
26906
27126
|
var buffer = _malloc(byteArray.length);
|
|
26907
27127
|
HEAPU8.set(byteArray, buffer);
|
|
26908
|
-
((
|
|
26909
|
-
|
|
27128
|
+
((
|
|
27129
|
+
a1,
|
|
27130
|
+
a2,
|
|
27131
|
+
a3
|
|
27132
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27133
|
+
arg,
|
|
26910
27134
|
buffer,
|
|
26911
27135
|
byteArray.length
|
|
26912
27136
|
);
|
|
@@ -26938,14 +27162,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26938
27162
|
callUserCallback(() => {
|
|
26939
27163
|
if (error) {
|
|
26940
27164
|
if (onerror)
|
|
26941
|
-
((
|
|
26942
|
-
|
|
27165
|
+
((
|
|
27166
|
+
a1
|
|
27167
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27168
|
+
arg
|
|
26943
27169
|
);
|
|
26944
27170
|
return;
|
|
26945
27171
|
}
|
|
26946
27172
|
if (onstore)
|
|
26947
|
-
((
|
|
26948
|
-
|
|
27173
|
+
((
|
|
27174
|
+
a1
|
|
27175
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27176
|
+
arg
|
|
26949
27177
|
);
|
|
26950
27178
|
});
|
|
26951
27179
|
}
|
|
@@ -26960,14 +27188,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26960
27188
|
callUserCallback(() => {
|
|
26961
27189
|
if (error) {
|
|
26962
27190
|
if (onerror)
|
|
26963
|
-
((
|
|
26964
|
-
|
|
27191
|
+
((
|
|
27192
|
+
a1
|
|
27193
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27194
|
+
arg
|
|
26965
27195
|
);
|
|
26966
27196
|
return;
|
|
26967
27197
|
}
|
|
26968
27198
|
if (ondelete)
|
|
26969
|
-
((
|
|
26970
|
-
|
|
27199
|
+
((
|
|
27200
|
+
a1
|
|
27201
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27202
|
+
arg
|
|
26971
27203
|
);
|
|
26972
27204
|
});
|
|
26973
27205
|
});
|
|
@@ -26984,14 +27216,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26984
27216
|
callUserCallback(() => {
|
|
26985
27217
|
if (error) {
|
|
26986
27218
|
if (onerror)
|
|
26987
|
-
((
|
|
26988
|
-
|
|
27219
|
+
((
|
|
27220
|
+
a1
|
|
27221
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27222
|
+
arg
|
|
26989
27223
|
);
|
|
26990
27224
|
return;
|
|
26991
27225
|
}
|
|
26992
27226
|
if (oncheck)
|
|
26993
|
-
((
|
|
26994
|
-
|
|
27227
|
+
((
|
|
27228
|
+
a1,
|
|
27229
|
+
a2
|
|
27230
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27231
|
+
arg,
|
|
26995
27232
|
exists
|
|
26996
27233
|
);
|
|
26997
27234
|
});
|
|
@@ -27007,14 +27244,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27007
27244
|
callUserCallback(() => {
|
|
27008
27245
|
if (error) {
|
|
27009
27246
|
if (onerror)
|
|
27010
|
-
((
|
|
27011
|
-
|
|
27247
|
+
((
|
|
27248
|
+
a1
|
|
27249
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27250
|
+
arg
|
|
27012
27251
|
);
|
|
27013
27252
|
return;
|
|
27014
27253
|
}
|
|
27015
27254
|
if (onclear)
|
|
27016
|
-
((
|
|
27017
|
-
|
|
27255
|
+
((
|
|
27256
|
+
a1
|
|
27257
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27258
|
+
arg
|
|
27018
27259
|
);
|
|
27019
27260
|
});
|
|
27020
27261
|
});
|
|
@@ -27171,8 +27412,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27171
27412
|
safeSetTimeout(() => {
|
|
27172
27413
|
var stackBegin = Asyncify.currData + 12;
|
|
27173
27414
|
var stackEnd = HEAPU32[Asyncify.currData >> 2];
|
|
27174
|
-
((
|
|
27175
|
-
|
|
27415
|
+
((
|
|
27416
|
+
a1,
|
|
27417
|
+
a2
|
|
27418
|
+
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27419
|
+
stackBegin,
|
|
27176
27420
|
stackEnd
|
|
27177
27421
|
);
|
|
27178
27422
|
wakeUp();
|
|
@@ -27233,8 +27477,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27233
27477
|
HEAPU32[(newFiber + 12) >> 2] = 0;
|
|
27234
27478
|
|
|
27235
27479
|
var userData = HEAPU32[(newFiber + 16) >> 2];
|
|
27236
|
-
((
|
|
27237
|
-
|
|
27480
|
+
((
|
|
27481
|
+
a1
|
|
27482
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
27483
|
+
userData
|
|
27238
27484
|
);
|
|
27239
27485
|
} else {
|
|
27240
27486
|
var asyncifyData = newFiber + 20;
|
|
@@ -28246,8 +28492,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
28246
28492
|
if (!SDL.eventHandler) return;
|
|
28247
28493
|
|
|
28248
28494
|
while (SDL.pollEvent(SDL.eventHandlerTemp)) {
|
|
28249
|
-
((
|
|
28250
|
-
|
|
28495
|
+
((
|
|
28496
|
+
a1,
|
|
28497
|
+
a2
|
|
28498
|
+
) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
28499
|
+
SDL.eventHandlerContext,
|
|
28251
28500
|
SDL.eventHandlerTemp
|
|
28252
28501
|
);
|
|
28253
28502
|
}
|
|
@@ -29880,9 +30129,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
29880
30129
|
return;
|
|
29881
30130
|
|
|
29882
30131
|
// Ask SDL audio data from the user code.
|
|
29883
|
-
((
|
|
29884
|
-
|
|
29885
|
-
|
|
30132
|
+
((
|
|
30133
|
+
a1,
|
|
30134
|
+
a2,
|
|
30135
|
+
a3
|
|
30136
|
+
) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
30137
|
+
SDL.audio.userdata,
|
|
29886
30138
|
SDL.audio.buffer,
|
|
29887
30139
|
SDL.audio.bufferSize
|
|
29888
30140
|
);
|
|
@@ -30340,8 +30592,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30340
30592
|
info.audio = null;
|
|
30341
30593
|
}
|
|
30342
30594
|
if (SDL.channelFinished) {
|
|
30343
|
-
((
|
|
30344
|
-
|
|
30595
|
+
((
|
|
30596
|
+
a1
|
|
30597
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
30598
|
+
channel
|
|
30345
30599
|
);
|
|
30346
30600
|
}
|
|
30347
30601
|
}
|
|
@@ -30410,8 +30664,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30410
30664
|
channelInfo.audio = null;
|
|
30411
30665
|
}
|
|
30412
30666
|
if (SDL.channelFinished)
|
|
30413
|
-
((
|
|
30414
|
-
|
|
30667
|
+
((
|
|
30668
|
+
a1
|
|
30669
|
+
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
30670
|
+
channel
|
|
30415
30671
|
);
|
|
30416
30672
|
};
|
|
30417
30673
|
if (channelInfo.audio) {
|
|
@@ -31159,8 +31415,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31159
31415
|
var _SDL_AddTimer = (interval, callback, param) =>
|
|
31160
31416
|
safeSetTimeout(
|
|
31161
31417
|
() =>
|
|
31162
|
-
((
|
|
31163
|
-
|
|
31418
|
+
((
|
|
31419
|
+
a1,
|
|
31420
|
+
a2
|
|
31421
|
+
) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
31422
|
+
interval,
|
|
31164
31423
|
param
|
|
31165
31424
|
),
|
|
31166
31425
|
interval
|
|
@@ -31533,8 +31792,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31533
31792
|
|
|
31534
31793
|
socket.onopen = function (e) {
|
|
31535
31794
|
var eventPtr = WS.getSocketEvent(socketId);
|
|
31536
|
-
((
|
|
31537
|
-
|
|
31795
|
+
((
|
|
31796
|
+
a1,
|
|
31797
|
+
a2,
|
|
31798
|
+
a3
|
|
31799
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
31800
|
+
0 /*TODO*/,
|
|
31538
31801
|
eventPtr,
|
|
31539
31802
|
userData
|
|
31540
31803
|
);
|
|
@@ -31556,8 +31819,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31556
31819
|
|
|
31557
31820
|
socket.onerror = function (e) {
|
|
31558
31821
|
var eventPtr = WS.getSocketEvent(socketId);
|
|
31559
|
-
((
|
|
31560
|
-
|
|
31822
|
+
((
|
|
31823
|
+
a1,
|
|
31824
|
+
a2,
|
|
31825
|
+
a3
|
|
31826
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
31827
|
+
0 /*TODO*/,
|
|
31561
31828
|
eventPtr,
|
|
31562
31829
|
userData
|
|
31563
31830
|
);
|
|
@@ -31582,8 +31849,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31582
31849
|
(HEAP8[eventPtr + 4] = e.wasClean),
|
|
31583
31850
|
(HEAP16[(eventPtr + 6) >> 1] = e.code),
|
|
31584
31851
|
stringToUTF8(e.reason, eventPtr + 8, 512);
|
|
31585
|
-
((
|
|
31586
|
-
|
|
31852
|
+
((
|
|
31853
|
+
a1,
|
|
31854
|
+
a2,
|
|
31855
|
+
a3
|
|
31856
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
31857
|
+
0 /*TODO*/,
|
|
31587
31858
|
eventPtr,
|
|
31588
31859
|
userData
|
|
31589
31860
|
);
|
|
@@ -31617,8 +31888,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31617
31888
|
(HEAPU32[(eventPtr + 4) >> 2] = buf),
|
|
31618
31889
|
(HEAP32[(eventPtr + 8) >> 2] = len),
|
|
31619
31890
|
(HEAP8[eventPtr + 12] = isText),
|
|
31620
|
-
((
|
|
31621
|
-
|
|
31891
|
+
((
|
|
31892
|
+
a1,
|
|
31893
|
+
a2,
|
|
31894
|
+
a3
|
|
31895
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
31896
|
+
0 /*TODO*/,
|
|
31622
31897
|
eventPtr,
|
|
31623
31898
|
userData
|
|
31624
31899
|
);
|
|
@@ -31815,13 +32090,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31815
32090
|
// End JS library code
|
|
31816
32091
|
|
|
31817
32092
|
var ASM_CONSTS = {
|
|
31818
|
-
|
|
32093
|
+
12234061: ($0) => {
|
|
31819
32094
|
if (!$0) {
|
|
31820
32095
|
AL.alcErr = 0xa004;
|
|
31821
32096
|
return 1;
|
|
31822
32097
|
}
|
|
31823
32098
|
},
|
|
31824
|
-
|
|
32099
|
+
12234109: ($0) => {
|
|
31825
32100
|
if (!AL.currentCtx) {
|
|
31826
32101
|
err('alGetProcAddress() called without a valid context');
|
|
31827
32102
|
return 1;
|
|
@@ -31943,6 +32218,9 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31943
32218
|
while (true) {
|
|
31944
32219
|
var mask = POLLNVAL;
|
|
31945
32220
|
mask = SYSCALLS.DEFAULT_POLLMASK;
|
|
32221
|
+
if (FS.isClosed(stream)) {
|
|
32222
|
+
return ERRNO_CODES.EBADF;
|
|
32223
|
+
}
|
|
31946
32224
|
if (stream.stream_ops?.poll) {
|
|
31947
32225
|
mask = stream.stream_ops.poll(stream, -1);
|
|
31948
32226
|
}
|