@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_3.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_3_23', 'php_8_3.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 32986917;
|
|
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 = 14217728;
|
|
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: 16017,
|
|
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 = 14217728;
|
|
1857
1859
|
|
|
1858
|
-
var ___stack_low =
|
|
1860
|
+
var ___stack_low = 14152192;
|
|
1859
1861
|
|
|
1860
1862
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1861
1863
|
{ value: 'i32', mutable: true },
|
|
1862
|
-
|
|
1864
|
+
14217728
|
|
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
|
);
|
|
@@ -17746,10 +17750,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
17746
17750
|
HEAPU32[iov >> 2] = buffer; // iov_base
|
|
17747
17751
|
HEAPU32[(iov + 4) >> 2] = CHUNK_SIZE; // iov_len
|
|
17748
17752
|
|
|
17749
|
-
if (typeof js_fd_read === 'undefined') {
|
|
17750
|
-
globalThis.js_fd_read = __asyncjs__js_fd_read;
|
|
17751
|
-
}
|
|
17752
|
-
|
|
17753
17753
|
function pump() {
|
|
17754
17754
|
try {
|
|
17755
17755
|
while (true) {
|
|
@@ -19478,8 +19478,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19478
19478
|
var trace = getCallstack();
|
|
19479
19479
|
var parts = trace.split('\n');
|
|
19480
19480
|
for (var i = 0; i < parts.length; i++) {
|
|
19481
|
-
var ret = ((
|
|
19482
|
-
|
|
19481
|
+
var ret = ((
|
|
19482
|
+
a1,
|
|
19483
|
+
a2
|
|
19484
|
+
) => {}) /* 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. */(
|
|
19485
|
+
0,
|
|
19483
19486
|
arg
|
|
19484
19487
|
);
|
|
19485
19488
|
if (ret !== 0) return;
|
|
@@ -20055,8 +20058,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20055
20058
|
stringToUTF8(e.locale || '', keyEventData + 128, 32);
|
|
20056
20059
|
|
|
20057
20060
|
if (
|
|
20058
|
-
((
|
|
20059
|
-
|
|
20061
|
+
((
|
|
20062
|
+
a1,
|
|
20063
|
+
a2,
|
|
20064
|
+
a3
|
|
20065
|
+
) => {}) /* 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. */(
|
|
20066
|
+
eventTypeId,
|
|
20060
20067
|
keyEventData,
|
|
20061
20068
|
userData
|
|
20062
20069
|
)
|
|
@@ -20174,8 +20181,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20174
20181
|
fillMouseEventData(JSEvents.mouseEvent, e, target);
|
|
20175
20182
|
|
|
20176
20183
|
if (
|
|
20177
|
-
((
|
|
20178
|
-
|
|
20184
|
+
((
|
|
20185
|
+
a1,
|
|
20186
|
+
a2,
|
|
20187
|
+
a3
|
|
20188
|
+
) => {}) /* 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. */(
|
|
20189
|
+
eventTypeId,
|
|
20179
20190
|
JSEvents.mouseEvent,
|
|
20180
20191
|
userData
|
|
20181
20192
|
)
|
|
@@ -20389,8 +20400,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20389
20400
|
HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
|
|
20390
20401
|
HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
|
|
20391
20402
|
if (
|
|
20392
|
-
((
|
|
20393
|
-
|
|
20403
|
+
((
|
|
20404
|
+
a1,
|
|
20405
|
+
a2,
|
|
20406
|
+
a3
|
|
20407
|
+
) => {}) /* 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. */(
|
|
20408
|
+
eventTypeId,
|
|
20394
20409
|
wheelEvent,
|
|
20395
20410
|
userData
|
|
20396
20411
|
)
|
|
@@ -20471,8 +20486,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20471
20486
|
HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
|
|
20472
20487
|
HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
|
|
20473
20488
|
if (
|
|
20474
|
-
((
|
|
20475
|
-
|
|
20489
|
+
((
|
|
20490
|
+
a1,
|
|
20491
|
+
a2,
|
|
20492
|
+
a3
|
|
20493
|
+
) => {}) /* 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. */(
|
|
20494
|
+
eventTypeId,
|
|
20476
20495
|
uiEvent,
|
|
20477
20496
|
userData
|
|
20478
20497
|
)
|
|
@@ -20546,8 +20565,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20546
20565
|
stringToUTF8(id, focusEvent + 128, 128);
|
|
20547
20566
|
|
|
20548
20567
|
if (
|
|
20549
|
-
((
|
|
20550
|
-
|
|
20568
|
+
((
|
|
20569
|
+
a1,
|
|
20570
|
+
a2,
|
|
20571
|
+
a3
|
|
20572
|
+
) => {}) /* 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. */(
|
|
20573
|
+
eventTypeId,
|
|
20551
20574
|
focusEvent,
|
|
20552
20575
|
userData
|
|
20553
20576
|
)
|
|
@@ -20663,8 +20686,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20663
20686
|
); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
|
|
20664
20687
|
|
|
20665
20688
|
if (
|
|
20666
|
-
((
|
|
20667
|
-
|
|
20689
|
+
((
|
|
20690
|
+
a1,
|
|
20691
|
+
a2,
|
|
20692
|
+
a3
|
|
20693
|
+
) => {}) /* 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. */(
|
|
20694
|
+
eventTypeId,
|
|
20668
20695
|
JSEvents.deviceOrientationEvent,
|
|
20669
20696
|
userData
|
|
20670
20697
|
)
|
|
@@ -20747,8 +20774,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20747
20774
|
fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
|
|
20748
20775
|
|
|
20749
20776
|
if (
|
|
20750
|
-
((
|
|
20751
|
-
|
|
20777
|
+
((
|
|
20778
|
+
a1,
|
|
20779
|
+
a2,
|
|
20780
|
+
a3
|
|
20781
|
+
) => {}) /* 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. */(
|
|
20782
|
+
eventTypeId,
|
|
20752
20783
|
JSEvents.deviceMotionEvent,
|
|
20753
20784
|
userData
|
|
20754
20785
|
)
|
|
@@ -20858,8 +20889,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20858
20889
|
fillOrientationChangeEventData(orientationChangeEvent);
|
|
20859
20890
|
|
|
20860
20891
|
if (
|
|
20861
|
-
((
|
|
20862
|
-
|
|
20892
|
+
((
|
|
20893
|
+
a1,
|
|
20894
|
+
a2,
|
|
20895
|
+
a3
|
|
20896
|
+
) => {}) /* 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. */(
|
|
20897
|
+
eventTypeId,
|
|
20863
20898
|
orientationChangeEvent,
|
|
20864
20899
|
userData
|
|
20865
20900
|
)
|
|
@@ -20992,8 +21027,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20992
21027
|
fillFullscreenChangeEventData(fullscreenChangeEvent);
|
|
20993
21028
|
|
|
20994
21029
|
if (
|
|
20995
|
-
((
|
|
20996
|
-
|
|
21030
|
+
((
|
|
21031
|
+
a1,
|
|
21032
|
+
a2,
|
|
21033
|
+
a3
|
|
21034
|
+
) => {}) /* 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. */(
|
|
21035
|
+
eventTypeId,
|
|
20997
21036
|
fullscreenChangeEvent,
|
|
20998
21037
|
userData
|
|
20999
21038
|
)
|
|
@@ -21157,8 +21196,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21157
21196
|
);
|
|
21158
21197
|
|
|
21159
21198
|
if (currentFullscreenStrategy.canvasResizedCallback) {
|
|
21160
|
-
((
|
|
21161
|
-
|
|
21199
|
+
((
|
|
21200
|
+
a1,
|
|
21201
|
+
a2,
|
|
21202
|
+
a3
|
|
21203
|
+
) => {}) /* 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. */(
|
|
21204
|
+
37,
|
|
21162
21205
|
0,
|
|
21163
21206
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21164
21207
|
);
|
|
@@ -21264,8 +21307,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21264
21307
|
currentFullscreenStrategy = strategy;
|
|
21265
21308
|
|
|
21266
21309
|
if (strategy.canvasResizedCallback) {
|
|
21267
|
-
((
|
|
21268
|
-
|
|
21310
|
+
((
|
|
21311
|
+
a1,
|
|
21312
|
+
a2,
|
|
21313
|
+
a3
|
|
21314
|
+
) => {}) /* 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. */(
|
|
21315
|
+
37,
|
|
21269
21316
|
0,
|
|
21270
21317
|
strategy.canvasResizedCallbackUserData
|
|
21271
21318
|
);
|
|
@@ -21367,8 +21414,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21367
21414
|
!inCenteredWithoutScalingFullscreenMode &&
|
|
21368
21415
|
currentFullscreenStrategy.canvasResizedCallback
|
|
21369
21416
|
) {
|
|
21370
|
-
((
|
|
21371
|
-
|
|
21417
|
+
((
|
|
21418
|
+
a1,
|
|
21419
|
+
a2,
|
|
21420
|
+
a3
|
|
21421
|
+
) => {}) /* 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. */(
|
|
21422
|
+
37,
|
|
21372
21423
|
0,
|
|
21373
21424
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21374
21425
|
);
|
|
@@ -21467,8 +21518,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21467
21518
|
softFullscreenResizeWebGLRenderTarget
|
|
21468
21519
|
);
|
|
21469
21520
|
if (strategy.canvasResizedCallback) {
|
|
21470
|
-
((
|
|
21471
|
-
|
|
21521
|
+
((
|
|
21522
|
+
a1,
|
|
21523
|
+
a2,
|
|
21524
|
+
a3
|
|
21525
|
+
) => {}) /* 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. */(
|
|
21526
|
+
37,
|
|
21472
21527
|
0,
|
|
21473
21528
|
strategy.canvasResizedCallbackUserData
|
|
21474
21529
|
);
|
|
@@ -21481,8 +21536,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21481
21536
|
|
|
21482
21537
|
// Inform the caller that the canvas size has changed.
|
|
21483
21538
|
if (strategy.canvasResizedCallback) {
|
|
21484
|
-
((
|
|
21485
|
-
|
|
21539
|
+
((
|
|
21540
|
+
a1,
|
|
21541
|
+
a2,
|
|
21542
|
+
a3
|
|
21543
|
+
) => {}) /* 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. */(
|
|
21544
|
+
37,
|
|
21486
21545
|
0,
|
|
21487
21546
|
strategy.canvasResizedCallbackUserData
|
|
21488
21547
|
);
|
|
@@ -21550,8 +21609,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21550
21609
|
fillPointerlockChangeEventData(pointerlockChangeEvent);
|
|
21551
21610
|
|
|
21552
21611
|
if (
|
|
21553
|
-
((
|
|
21554
|
-
|
|
21612
|
+
((
|
|
21613
|
+
a1,
|
|
21614
|
+
a2,
|
|
21615
|
+
a3
|
|
21616
|
+
) => {}) /* 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. */(
|
|
21617
|
+
eventTypeId,
|
|
21555
21618
|
pointerlockChangeEvent,
|
|
21556
21619
|
userData
|
|
21557
21620
|
)
|
|
@@ -21641,8 +21704,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21641
21704
|
) => {
|
|
21642
21705
|
var pointerlockErrorEventHandlerFunc = (e = event) => {
|
|
21643
21706
|
if (
|
|
21644
|
-
((
|
|
21645
|
-
|
|
21707
|
+
((
|
|
21708
|
+
a1,
|
|
21709
|
+
a2,
|
|
21710
|
+
a3
|
|
21711
|
+
) => {}) /* 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. */(
|
|
21712
|
+
eventTypeId,
|
|
21646
21713
|
0,
|
|
21647
21714
|
userData
|
|
21648
21715
|
)
|
|
@@ -21842,8 +21909,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21842
21909
|
fillVisibilityChangeEventData(visibilityChangeEvent);
|
|
21843
21910
|
|
|
21844
21911
|
if (
|
|
21845
|
-
((
|
|
21846
|
-
|
|
21912
|
+
((
|
|
21913
|
+
a1,
|
|
21914
|
+
a2,
|
|
21915
|
+
a3
|
|
21916
|
+
) => {}) /* 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. */(
|
|
21917
|
+
eventTypeId,
|
|
21847
21918
|
visibilityChangeEvent,
|
|
21848
21919
|
userData
|
|
21849
21920
|
)
|
|
@@ -21963,8 +22034,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21963
22034
|
HEAP32[(touchEvent + 8) >> 2] = numTouches;
|
|
21964
22035
|
|
|
21965
22036
|
if (
|
|
21966
|
-
((
|
|
21967
|
-
|
|
22037
|
+
((
|
|
22038
|
+
a1,
|
|
22039
|
+
a2,
|
|
22040
|
+
a3
|
|
22041
|
+
) => {}) /* 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. */(
|
|
22042
|
+
eventTypeId,
|
|
21968
22043
|
touchEvent,
|
|
21969
22044
|
userData
|
|
21970
22045
|
)
|
|
@@ -22102,8 +22177,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22102
22177
|
fillGamepadEventData(gamepadEvent, e['gamepad']);
|
|
22103
22178
|
|
|
22104
22179
|
if (
|
|
22105
|
-
((
|
|
22106
|
-
|
|
22180
|
+
((
|
|
22181
|
+
a1,
|
|
22182
|
+
a2,
|
|
22183
|
+
a3
|
|
22184
|
+
) => {}) /* 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. */(
|
|
22185
|
+
eventTypeId,
|
|
22107
22186
|
gamepadEvent,
|
|
22108
22187
|
userData
|
|
22109
22188
|
)
|
|
@@ -22205,8 +22284,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22205
22284
|
) => {
|
|
22206
22285
|
var beforeUnloadEventHandlerFunc = (e = event) => {
|
|
22207
22286
|
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
|
|
22208
|
-
var confirmationMessage = ((
|
|
22209
|
-
|
|
22287
|
+
var confirmationMessage = ((
|
|
22288
|
+
a1,
|
|
22289
|
+
a2,
|
|
22290
|
+
a3
|
|
22291
|
+
) => {}) /* 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. */(
|
|
22292
|
+
eventTypeId,
|
|
22210
22293
|
0,
|
|
22211
22294
|
userData
|
|
22212
22295
|
);
|
|
@@ -22277,8 +22360,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22277
22360
|
fillBatteryEventData(batteryEvent, battery());
|
|
22278
22361
|
|
|
22279
22362
|
if (
|
|
22280
|
-
((
|
|
22281
|
-
|
|
22363
|
+
((
|
|
22364
|
+
a1,
|
|
22365
|
+
a2,
|
|
22366
|
+
a3
|
|
22367
|
+
) => {}) /* 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. */(
|
|
22368
|
+
eventTypeId,
|
|
22282
22369
|
batteryEvent,
|
|
22283
22370
|
userData
|
|
22284
22371
|
)
|
|
@@ -22368,8 +22455,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22368
22455
|
|
|
22369
22456
|
var _emscripten_request_animation_frame = (cb, userData) =>
|
|
22370
22457
|
requestAnimationFrame((timeStamp) =>
|
|
22371
|
-
((
|
|
22372
|
-
|
|
22458
|
+
((
|
|
22459
|
+
a1,
|
|
22460
|
+
a2
|
|
22461
|
+
) => {}) /* 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. */(
|
|
22462
|
+
timeStamp,
|
|
22373
22463
|
userData
|
|
22374
22464
|
)
|
|
22375
22465
|
);
|
|
@@ -22381,8 +22471,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22381
22471
|
var _emscripten_request_animation_frame_loop = (cb, userData) => {
|
|
22382
22472
|
function tick(timeStamp) {
|
|
22383
22473
|
if (
|
|
22384
|
-
((
|
|
22385
|
-
|
|
22474
|
+
((
|
|
22475
|
+
a1,
|
|
22476
|
+
a2
|
|
22477
|
+
) => {}) /* 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. */(
|
|
22478
|
+
timeStamp,
|
|
22386
22479
|
userData
|
|
22387
22480
|
)
|
|
22388
22481
|
) {
|
|
@@ -22607,8 +22700,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22607
22700
|
return emSetImmediate(() => {
|
|
22608
22701
|
runtimeKeepalivePop();
|
|
22609
22702
|
callUserCallback(() =>
|
|
22610
|
-
((
|
|
22611
|
-
|
|
22703
|
+
((
|
|
22704
|
+
a1
|
|
22705
|
+
) => {}) /* 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. */(
|
|
22706
|
+
userData
|
|
22612
22707
|
)
|
|
22613
22708
|
);
|
|
22614
22709
|
});
|
|
@@ -22625,8 +22720,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22625
22720
|
function tick() {
|
|
22626
22721
|
callUserCallback(() => {
|
|
22627
22722
|
if (
|
|
22628
|
-
((
|
|
22629
|
-
|
|
22723
|
+
((
|
|
22724
|
+
a1
|
|
22725
|
+
) => {}) /* 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. */(
|
|
22726
|
+
userData
|
|
22630
22727
|
)
|
|
22631
22728
|
) {
|
|
22632
22729
|
emSetImmediate(tick);
|
|
@@ -22643,8 +22740,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22643
22740
|
var _emscripten_set_timeout = (cb, msecs, userData) =>
|
|
22644
22741
|
safeSetTimeout(
|
|
22645
22742
|
() =>
|
|
22646
|
-
((
|
|
22647
|
-
|
|
22743
|
+
((
|
|
22744
|
+
a1
|
|
22745
|
+
) => {}) /* 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. */(
|
|
22746
|
+
userData
|
|
22648
22747
|
),
|
|
22649
22748
|
msecs
|
|
22650
22749
|
);
|
|
@@ -22660,8 +22759,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22660
22759
|
runtimeKeepalivePop();
|
|
22661
22760
|
callUserCallback(() => {
|
|
22662
22761
|
if (
|
|
22663
|
-
((
|
|
22664
|
-
|
|
22762
|
+
((
|
|
22763
|
+
a1,
|
|
22764
|
+
a2
|
|
22765
|
+
) => {}) /* 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. */(
|
|
22766
|
+
t,
|
|
22665
22767
|
userData
|
|
22666
22768
|
)
|
|
22667
22769
|
) {
|
|
@@ -22685,8 +22787,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22685
22787
|
runtimeKeepalivePush();
|
|
22686
22788
|
return setInterval(() => {
|
|
22687
22789
|
callUserCallback(() =>
|
|
22688
|
-
((
|
|
22689
|
-
|
|
22790
|
+
((
|
|
22791
|
+
a1
|
|
22792
|
+
) => {}) /* 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. */(
|
|
22793
|
+
userData
|
|
22690
22794
|
)
|
|
22691
22795
|
);
|
|
22692
22796
|
}, msecs);
|
|
@@ -22701,8 +22805,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22701
22805
|
|
|
22702
22806
|
var _emscripten_async_call = (func, arg, millis) => {
|
|
22703
22807
|
var wrapper = () =>
|
|
22704
|
-
((
|
|
22705
|
-
|
|
22808
|
+
((
|
|
22809
|
+
a1
|
|
22810
|
+
) => {}) /* 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. */(
|
|
22811
|
+
arg
|
|
22706
22812
|
);
|
|
22707
22813
|
|
|
22708
22814
|
if (
|
|
@@ -22735,7 +22841,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22735
22841
|
|
|
22736
22842
|
var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
|
|
22737
22843
|
var iterFunc =
|
|
22738
|
-
() => {}
|
|
22844
|
+
() => {} /* 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. */;
|
|
22739
22845
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop);
|
|
22740
22846
|
};
|
|
22741
22847
|
_emscripten_set_main_loop.sig = 'vpii';
|
|
@@ -22747,8 +22853,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22747
22853
|
simulateInfiniteLoop
|
|
22748
22854
|
) => {
|
|
22749
22855
|
var iterFunc = () =>
|
|
22750
|
-
((
|
|
22751
|
-
|
|
22856
|
+
((
|
|
22857
|
+
a1
|
|
22858
|
+
) => {}) /* 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. */(
|
|
22859
|
+
arg
|
|
22752
22860
|
);
|
|
22753
22861
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
|
|
22754
22862
|
};
|
|
@@ -22769,8 +22877,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22769
22877
|
var __emscripten_push_main_loop_blocker = (func, arg, name) => {
|
|
22770
22878
|
MainLoop.queue.push({
|
|
22771
22879
|
func: () => {
|
|
22772
|
-
((
|
|
22773
|
-
|
|
22880
|
+
((
|
|
22881
|
+
a1
|
|
22882
|
+
) => {}) /* 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. */(
|
|
22883
|
+
arg
|
|
22774
22884
|
);
|
|
22775
22885
|
},
|
|
22776
22886
|
name: UTF8ToString(name),
|
|
@@ -22783,8 +22893,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22783
22893
|
var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
|
|
22784
22894
|
MainLoop.queue.push({
|
|
22785
22895
|
func: () => {
|
|
22786
|
-
((
|
|
22787
|
-
|
|
22896
|
+
((
|
|
22897
|
+
a1
|
|
22898
|
+
) => {}) /* 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. */(
|
|
22899
|
+
arg
|
|
22788
22900
|
);
|
|
22789
22901
|
},
|
|
22790
22902
|
name: UTF8ToString(name),
|
|
@@ -22818,8 +22930,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22818
22930
|
var resultPtr = stackAlloc(POINTER_SIZE);
|
|
22819
22931
|
HEAPU32[resultPtr >> 2] = 0;
|
|
22820
22932
|
try {
|
|
22821
|
-
var result = ((
|
|
22822
|
-
|
|
22933
|
+
var result = ((
|
|
22934
|
+
a1,
|
|
22935
|
+
a2,
|
|
22936
|
+
a3
|
|
22937
|
+
) => {}) /* 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. */(
|
|
22938
|
+
resultPtr,
|
|
22823
22939
|
userData,
|
|
22824
22940
|
value
|
|
22825
22941
|
);
|
|
@@ -23755,15 +23871,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23755
23871
|
() => {
|
|
23756
23872
|
runtimeKeepalivePop();
|
|
23757
23873
|
if (onload)
|
|
23758
|
-
((
|
|
23759
|
-
|
|
23874
|
+
((
|
|
23875
|
+
a1
|
|
23876
|
+
) => {}) /* 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. */(
|
|
23877
|
+
file
|
|
23760
23878
|
);
|
|
23761
23879
|
},
|
|
23762
23880
|
() => {
|
|
23763
23881
|
runtimeKeepalivePop();
|
|
23764
23882
|
if (onerror)
|
|
23765
|
-
((
|
|
23766
|
-
|
|
23883
|
+
((
|
|
23884
|
+
a1
|
|
23885
|
+
) => {}) /* 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. */(
|
|
23886
|
+
file
|
|
23767
23887
|
);
|
|
23768
23888
|
},
|
|
23769
23889
|
true // don'tCreateFile - it's already there
|
|
@@ -23797,16 +23917,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23797
23917
|
() => {
|
|
23798
23918
|
runtimeKeepalivePop();
|
|
23799
23919
|
if (onload)
|
|
23800
|
-
((
|
|
23801
|
-
|
|
23920
|
+
((
|
|
23921
|
+
a1,
|
|
23922
|
+
a2
|
|
23923
|
+
) => {}) /* 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. */(
|
|
23924
|
+
arg,
|
|
23802
23925
|
cname
|
|
23803
23926
|
);
|
|
23804
23927
|
},
|
|
23805
23928
|
() => {
|
|
23806
23929
|
runtimeKeepalivePop();
|
|
23807
23930
|
if (onerror)
|
|
23808
|
-
((
|
|
23809
|
-
|
|
23931
|
+
((
|
|
23932
|
+
a1
|
|
23933
|
+
) => {}) /* 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. */(
|
|
23934
|
+
arg
|
|
23810
23935
|
);
|
|
23811
23936
|
},
|
|
23812
23937
|
true // don'tCreateFile - it's already there
|
|
@@ -24079,10 +24204,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24079
24204
|
runtimeKeepalivePop();
|
|
24080
24205
|
callUserCallback(() => {
|
|
24081
24206
|
var sp = stackSave();
|
|
24082
|
-
((
|
|
24083
|
-
|
|
24084
|
-
|
|
24085
|
-
)
|
|
24207
|
+
((
|
|
24208
|
+
a1
|
|
24209
|
+
) => {}) /* 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. */(
|
|
24210
|
+
stringToUTF8OnStack(_file)
|
|
24086
24211
|
);
|
|
24087
24212
|
stackRestore(sp);
|
|
24088
24213
|
});
|
|
@@ -24126,8 +24251,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24126
24251
|
callUserCallback(() => {
|
|
24127
24252
|
var buffer = _malloc(byteArray.length);
|
|
24128
24253
|
HEAPU8.set(byteArray, buffer);
|
|
24129
|
-
((
|
|
24130
|
-
|
|
24254
|
+
((
|
|
24255
|
+
a1,
|
|
24256
|
+
a2,
|
|
24257
|
+
a3
|
|
24258
|
+
) => {}) /* 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. */(
|
|
24259
|
+
userdata,
|
|
24131
24260
|
buffer,
|
|
24132
24261
|
byteArray.length
|
|
24133
24262
|
);
|
|
@@ -24137,8 +24266,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24137
24266
|
if (onerror) {
|
|
24138
24267
|
runtimeKeepalivePop();
|
|
24139
24268
|
callUserCallback(() => {
|
|
24140
|
-
((
|
|
24141
|
-
|
|
24269
|
+
((
|
|
24270
|
+
a1
|
|
24271
|
+
) => {}) /* 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. */(
|
|
24272
|
+
userdata
|
|
24142
24273
|
);
|
|
24143
24274
|
});
|
|
24144
24275
|
}
|
|
@@ -24195,8 +24326,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24195
24326
|
);
|
|
24196
24327
|
if (onload) {
|
|
24197
24328
|
var sp = stackSave();
|
|
24198
|
-
((
|
|
24199
|
-
|
|
24329
|
+
((
|
|
24330
|
+
a1,
|
|
24331
|
+
a2,
|
|
24332
|
+
a3
|
|
24333
|
+
) => {}) /* 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. */(
|
|
24334
|
+
handle,
|
|
24200
24335
|
userdata,
|
|
24201
24336
|
stringToUTF8OnStack(_file)
|
|
24202
24337
|
);
|
|
@@ -24204,8 +24339,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24204
24339
|
}
|
|
24205
24340
|
} else {
|
|
24206
24341
|
if (onerror)
|
|
24207
|
-
((
|
|
24208
|
-
|
|
24342
|
+
((
|
|
24343
|
+
a1,
|
|
24344
|
+
a2,
|
|
24345
|
+
a3
|
|
24346
|
+
) => {}) /* 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. */(
|
|
24347
|
+
handle,
|
|
24209
24348
|
userdata,
|
|
24210
24349
|
http.status
|
|
24211
24350
|
);
|
|
@@ -24218,8 +24357,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24218
24357
|
http.onerror = (e) => {
|
|
24219
24358
|
runtimeKeepalivePop();
|
|
24220
24359
|
if (onerror)
|
|
24221
|
-
((
|
|
24222
|
-
|
|
24360
|
+
((
|
|
24361
|
+
a1,
|
|
24362
|
+
a2,
|
|
24363
|
+
a3
|
|
24364
|
+
) => {}) /* 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. */(
|
|
24365
|
+
handle,
|
|
24223
24366
|
userdata,
|
|
24224
24367
|
http.status
|
|
24225
24368
|
);
|
|
@@ -24234,8 +24377,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24234
24377
|
) {
|
|
24235
24378
|
var percentComplete = (e.loaded / e.total) * 100;
|
|
24236
24379
|
if (onprogress)
|
|
24237
|
-
((
|
|
24238
|
-
|
|
24380
|
+
((
|
|
24381
|
+
a1,
|
|
24382
|
+
a2,
|
|
24383
|
+
a3
|
|
24384
|
+
) => {}) /* 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. */(
|
|
24385
|
+
handle,
|
|
24239
24386
|
userdata,
|
|
24240
24387
|
percentComplete
|
|
24241
24388
|
);
|
|
@@ -24292,8 +24439,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24292
24439
|
if (http.statusText) {
|
|
24293
24440
|
statusText = stringToUTF8OnStack(http.statusText);
|
|
24294
24441
|
}
|
|
24295
|
-
((
|
|
24296
|
-
|
|
24442
|
+
((
|
|
24443
|
+
a1,
|
|
24444
|
+
a2,
|
|
24445
|
+
a3,
|
|
24446
|
+
a4
|
|
24447
|
+
) => {}) /* 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. */(
|
|
24448
|
+
handle,
|
|
24297
24449
|
userdata,
|
|
24298
24450
|
http.status,
|
|
24299
24451
|
statusText
|
|
@@ -24314,8 +24466,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24314
24466
|
var buffer = _malloc(byteArray.length);
|
|
24315
24467
|
HEAPU8.set(byteArray, buffer);
|
|
24316
24468
|
if (onload)
|
|
24317
|
-
((
|
|
24318
|
-
|
|
24469
|
+
((
|
|
24470
|
+
a1,
|
|
24471
|
+
a2,
|
|
24472
|
+
a3,
|
|
24473
|
+
a4
|
|
24474
|
+
) => {}) /* 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. */(
|
|
24475
|
+
handle,
|
|
24319
24476
|
userdata,
|
|
24320
24477
|
buffer,
|
|
24321
24478
|
byteArray.length
|
|
@@ -24336,8 +24493,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24336
24493
|
// PROGRESS
|
|
24337
24494
|
http.onprogress = (e) => {
|
|
24338
24495
|
if (onprogress)
|
|
24339
|
-
((
|
|
24340
|
-
|
|
24496
|
+
((
|
|
24497
|
+
a1,
|
|
24498
|
+
a2,
|
|
24499
|
+
a3,
|
|
24500
|
+
a4
|
|
24501
|
+
) => {}) /* 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. */(
|
|
24502
|
+
handle,
|
|
24341
24503
|
userdata,
|
|
24342
24504
|
e.loaded,
|
|
24343
24505
|
e.lengthComputable || e.lengthComputable === undefined
|
|
@@ -24457,16 +24619,24 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24457
24619
|
if (event === 'error') {
|
|
24458
24620
|
withStackSave(() => {
|
|
24459
24621
|
var msg = stringToUTF8OnStack(data[2]);
|
|
24460
|
-
((
|
|
24461
|
-
|
|
24622
|
+
((
|
|
24623
|
+
a1,
|
|
24624
|
+
a2,
|
|
24625
|
+
a3,
|
|
24626
|
+
a4
|
|
24627
|
+
) => {}) /* 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. */(
|
|
24628
|
+
data[0],
|
|
24462
24629
|
data[1],
|
|
24463
24630
|
msg,
|
|
24464
24631
|
userData
|
|
24465
24632
|
);
|
|
24466
24633
|
});
|
|
24467
24634
|
} else {
|
|
24468
|
-
((
|
|
24469
|
-
|
|
24635
|
+
((
|
|
24636
|
+
a1,
|
|
24637
|
+
a2
|
|
24638
|
+
) => {}) /* 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. */(
|
|
24639
|
+
data,
|
|
24470
24640
|
userData
|
|
24471
24641
|
);
|
|
24472
24642
|
}
|
|
@@ -24932,8 +25102,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24932
25102
|
) => {
|
|
24933
25103
|
var webGlEventHandlerFunc = (e = event) => {
|
|
24934
25104
|
if (
|
|
24935
|
-
((
|
|
24936
|
-
|
|
25105
|
+
((
|
|
25106
|
+
a1,
|
|
25107
|
+
a2,
|
|
25108
|
+
a3
|
|
25109
|
+
) => {}) /* 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. */(
|
|
25110
|
+
eventTypeId,
|
|
24937
25111
|
0,
|
|
24938
25112
|
userData
|
|
24939
25113
|
)
|
|
@@ -25152,15 +25326,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25152
25326
|
) {
|
|
25153
25327
|
event.preventDefault();
|
|
25154
25328
|
GLUT.saveModifiers(event);
|
|
25155
|
-
((
|
|
25156
|
-
|
|
25329
|
+
((
|
|
25330
|
+
a1,
|
|
25331
|
+
a2
|
|
25332
|
+
) => {}) /* 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. */(
|
|
25333
|
+
lastX,
|
|
25157
25334
|
lastY
|
|
25158
25335
|
);
|
|
25159
25336
|
} else if (GLUT.buttons != 0 && GLUT.motionFunc) {
|
|
25160
25337
|
event.preventDefault();
|
|
25161
25338
|
GLUT.saveModifiers(event);
|
|
25162
|
-
((
|
|
25163
|
-
|
|
25339
|
+
((
|
|
25340
|
+
a1,
|
|
25341
|
+
a2
|
|
25342
|
+
) => {}) /* 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. */(
|
|
25343
|
+
lastX,
|
|
25164
25344
|
lastY
|
|
25165
25345
|
);
|
|
25166
25346
|
}
|
|
@@ -25321,8 +25501,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25321
25501
|
if (GLUT.specialFunc) {
|
|
25322
25502
|
event.preventDefault();
|
|
25323
25503
|
GLUT.saveModifiers(event);
|
|
25324
|
-
((
|
|
25325
|
-
|
|
25504
|
+
((
|
|
25505
|
+
a1,
|
|
25506
|
+
a2,
|
|
25507
|
+
a3
|
|
25508
|
+
) => {}) /* 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. */(
|
|
25509
|
+
key,
|
|
25326
25510
|
Browser.mouseX,
|
|
25327
25511
|
Browser.mouseY
|
|
25328
25512
|
);
|
|
@@ -25332,8 +25516,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25332
25516
|
if (key !== null && GLUT.keyboardFunc) {
|
|
25333
25517
|
event.preventDefault();
|
|
25334
25518
|
GLUT.saveModifiers(event);
|
|
25335
|
-
((
|
|
25336
|
-
|
|
25519
|
+
((
|
|
25520
|
+
a1,
|
|
25521
|
+
a2,
|
|
25522
|
+
a3
|
|
25523
|
+
) => {}) /* 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. */(
|
|
25524
|
+
key,
|
|
25337
25525
|
Browser.mouseX,
|
|
25338
25526
|
Browser.mouseY
|
|
25339
25527
|
);
|
|
@@ -25348,8 +25536,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25348
25536
|
if (GLUT.specialUpFunc) {
|
|
25349
25537
|
event.preventDefault();
|
|
25350
25538
|
GLUT.saveModifiers(event);
|
|
25351
|
-
((
|
|
25352
|
-
|
|
25539
|
+
((
|
|
25540
|
+
a1,
|
|
25541
|
+
a2,
|
|
25542
|
+
a3
|
|
25543
|
+
) => {}) /* 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. */(
|
|
25544
|
+
key,
|
|
25353
25545
|
Browser.mouseX,
|
|
25354
25546
|
Browser.mouseY
|
|
25355
25547
|
);
|
|
@@ -25359,8 +25551,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25359
25551
|
if (key !== null && GLUT.keyboardUpFunc) {
|
|
25360
25552
|
event.preventDefault();
|
|
25361
25553
|
GLUT.saveModifiers(event);
|
|
25362
|
-
((
|
|
25363
|
-
|
|
25554
|
+
((
|
|
25555
|
+
a1,
|
|
25556
|
+
a2,
|
|
25557
|
+
a3
|
|
25558
|
+
) => {}) /* 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. */(
|
|
25559
|
+
key,
|
|
25364
25560
|
Browser.mouseX,
|
|
25365
25561
|
Browser.mouseY
|
|
25366
25562
|
);
|
|
@@ -25424,10 +25620,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25424
25620
|
} catch (e) {}
|
|
25425
25621
|
event.preventDefault();
|
|
25426
25622
|
GLUT.saveModifiers(event);
|
|
25427
|
-
((
|
|
25428
|
-
|
|
25429
|
-
|
|
25430
|
-
|
|
25623
|
+
((
|
|
25624
|
+
a1,
|
|
25625
|
+
a2,
|
|
25626
|
+
a3,
|
|
25627
|
+
a4
|
|
25628
|
+
) => {}) /* 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. */(
|
|
25629
|
+
event['button'],
|
|
25431
25630
|
0 /*GLUT_DOWN*/,
|
|
25432
25631
|
Browser.mouseX,
|
|
25433
25632
|
Browser.mouseY
|
|
@@ -25442,10 +25641,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25442
25641
|
if (GLUT.mouseFunc) {
|
|
25443
25642
|
event.preventDefault();
|
|
25444
25643
|
GLUT.saveModifiers(event);
|
|
25445
|
-
((
|
|
25446
|
-
|
|
25447
|
-
|
|
25448
|
-
|
|
25644
|
+
((
|
|
25645
|
+
a1,
|
|
25646
|
+
a2,
|
|
25647
|
+
a3,
|
|
25648
|
+
a4
|
|
25649
|
+
) => {}) /* 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. */(
|
|
25650
|
+
event['button'],
|
|
25449
25651
|
1 /*GLUT_UP*/,
|
|
25450
25652
|
Browser.mouseX,
|
|
25451
25653
|
Browser.mouseY
|
|
@@ -25474,8 +25676,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25474
25676
|
if (GLUT.mouseFunc) {
|
|
25475
25677
|
event.preventDefault();
|
|
25476
25678
|
GLUT.saveModifiers(event);
|
|
25477
|
-
((
|
|
25478
|
-
|
|
25679
|
+
((
|
|
25680
|
+
a1,
|
|
25681
|
+
a2,
|
|
25682
|
+
a3,
|
|
25683
|
+
a4
|
|
25684
|
+
) => {}) /* 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. */(
|
|
25685
|
+
button,
|
|
25479
25686
|
0 /*GLUT_DOWN*/,
|
|
25480
25687
|
Browser.mouseX,
|
|
25481
25688
|
Browser.mouseY
|
|
@@ -25518,8 +25725,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25518
25725
|
/* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
|
|
25519
25726
|
if (GLUT.reshapeFunc) {
|
|
25520
25727
|
// out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
|
|
25521
|
-
((
|
|
25522
|
-
|
|
25728
|
+
((
|
|
25729
|
+
a1,
|
|
25730
|
+
a2
|
|
25731
|
+
) => {}) /* 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. */(
|
|
25732
|
+
width,
|
|
25523
25733
|
height
|
|
25524
25734
|
);
|
|
25525
25735
|
}
|
|
@@ -25562,8 +25772,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25562
25772
|
|
|
25563
25773
|
Browser.resizeListeners.push((width, height) => {
|
|
25564
25774
|
if (GLUT.reshapeFunc) {
|
|
25565
|
-
((
|
|
25566
|
-
|
|
25775
|
+
((
|
|
25776
|
+
a1,
|
|
25777
|
+
a2
|
|
25778
|
+
) => {}) /* 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. */(
|
|
25779
|
+
width,
|
|
25567
25780
|
height
|
|
25568
25781
|
);
|
|
25569
25782
|
}
|
|
@@ -25676,8 +25889,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25676
25889
|
var _glutTimerFunc = (msec, func, value) =>
|
|
25677
25890
|
safeSetTimeout(
|
|
25678
25891
|
() =>
|
|
25679
|
-
((
|
|
25680
|
-
|
|
25892
|
+
((
|
|
25893
|
+
a1
|
|
25894
|
+
) => {}) /* 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. */(
|
|
25895
|
+
value
|
|
25681
25896
|
),
|
|
25682
25897
|
msec
|
|
25683
25898
|
);
|
|
@@ -25837,8 +26052,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25837
26052
|
Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
|
|
25838
26053
|
// Just call it once here.
|
|
25839
26054
|
if (GLUT.reshapeFunc) {
|
|
25840
|
-
((
|
|
25841
|
-
|
|
26055
|
+
((
|
|
26056
|
+
a1,
|
|
26057
|
+
a2
|
|
26058
|
+
) => {}) /* 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. */(
|
|
26059
|
+
width,
|
|
25842
26060
|
height
|
|
25843
26061
|
);
|
|
25844
26062
|
}
|
|
@@ -26900,15 +27118,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26900
27118
|
callUserCallback(() => {
|
|
26901
27119
|
if (error) {
|
|
26902
27120
|
if (onerror)
|
|
26903
|
-
((
|
|
26904
|
-
|
|
27121
|
+
((
|
|
27122
|
+
a1
|
|
27123
|
+
) => {}) /* 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. */(
|
|
27124
|
+
arg
|
|
26905
27125
|
);
|
|
26906
27126
|
return;
|
|
26907
27127
|
}
|
|
26908
27128
|
var buffer = _malloc(byteArray.length);
|
|
26909
27129
|
HEAPU8.set(byteArray, buffer);
|
|
26910
|
-
((
|
|
26911
|
-
|
|
27130
|
+
((
|
|
27131
|
+
a1,
|
|
27132
|
+
a2,
|
|
27133
|
+
a3
|
|
27134
|
+
) => {}) /* 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. */(
|
|
27135
|
+
arg,
|
|
26912
27136
|
buffer,
|
|
26913
27137
|
byteArray.length
|
|
26914
27138
|
);
|
|
@@ -26940,14 +27164,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26940
27164
|
callUserCallback(() => {
|
|
26941
27165
|
if (error) {
|
|
26942
27166
|
if (onerror)
|
|
26943
|
-
((
|
|
26944
|
-
|
|
27167
|
+
((
|
|
27168
|
+
a1
|
|
27169
|
+
) => {}) /* 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. */(
|
|
27170
|
+
arg
|
|
26945
27171
|
);
|
|
26946
27172
|
return;
|
|
26947
27173
|
}
|
|
26948
27174
|
if (onstore)
|
|
26949
|
-
((
|
|
26950
|
-
|
|
27175
|
+
((
|
|
27176
|
+
a1
|
|
27177
|
+
) => {}) /* 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. */(
|
|
27178
|
+
arg
|
|
26951
27179
|
);
|
|
26952
27180
|
});
|
|
26953
27181
|
}
|
|
@@ -26962,14 +27190,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26962
27190
|
callUserCallback(() => {
|
|
26963
27191
|
if (error) {
|
|
26964
27192
|
if (onerror)
|
|
26965
|
-
((
|
|
26966
|
-
|
|
27193
|
+
((
|
|
27194
|
+
a1
|
|
27195
|
+
) => {}) /* 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. */(
|
|
27196
|
+
arg
|
|
26967
27197
|
);
|
|
26968
27198
|
return;
|
|
26969
27199
|
}
|
|
26970
27200
|
if (ondelete)
|
|
26971
|
-
((
|
|
26972
|
-
|
|
27201
|
+
((
|
|
27202
|
+
a1
|
|
27203
|
+
) => {}) /* 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. */(
|
|
27204
|
+
arg
|
|
26973
27205
|
);
|
|
26974
27206
|
});
|
|
26975
27207
|
});
|
|
@@ -26986,14 +27218,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26986
27218
|
callUserCallback(() => {
|
|
26987
27219
|
if (error) {
|
|
26988
27220
|
if (onerror)
|
|
26989
|
-
((
|
|
26990
|
-
|
|
27221
|
+
((
|
|
27222
|
+
a1
|
|
27223
|
+
) => {}) /* 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. */(
|
|
27224
|
+
arg
|
|
26991
27225
|
);
|
|
26992
27226
|
return;
|
|
26993
27227
|
}
|
|
26994
27228
|
if (oncheck)
|
|
26995
|
-
((
|
|
26996
|
-
|
|
27229
|
+
((
|
|
27230
|
+
a1,
|
|
27231
|
+
a2
|
|
27232
|
+
) => {}) /* 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. */(
|
|
27233
|
+
arg,
|
|
26997
27234
|
exists
|
|
26998
27235
|
);
|
|
26999
27236
|
});
|
|
@@ -27009,14 +27246,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27009
27246
|
callUserCallback(() => {
|
|
27010
27247
|
if (error) {
|
|
27011
27248
|
if (onerror)
|
|
27012
|
-
((
|
|
27013
|
-
|
|
27249
|
+
((
|
|
27250
|
+
a1
|
|
27251
|
+
) => {}) /* 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. */(
|
|
27252
|
+
arg
|
|
27014
27253
|
);
|
|
27015
27254
|
return;
|
|
27016
27255
|
}
|
|
27017
27256
|
if (onclear)
|
|
27018
|
-
((
|
|
27019
|
-
|
|
27257
|
+
((
|
|
27258
|
+
a1
|
|
27259
|
+
) => {}) /* 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. */(
|
|
27260
|
+
arg
|
|
27020
27261
|
);
|
|
27021
27262
|
});
|
|
27022
27263
|
});
|
|
@@ -27173,8 +27414,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27173
27414
|
safeSetTimeout(() => {
|
|
27174
27415
|
var stackBegin = Asyncify.currData + 12;
|
|
27175
27416
|
var stackEnd = HEAPU32[Asyncify.currData >> 2];
|
|
27176
|
-
((
|
|
27177
|
-
|
|
27417
|
+
((
|
|
27418
|
+
a1,
|
|
27419
|
+
a2
|
|
27420
|
+
) => {}) /* 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. */(
|
|
27421
|
+
stackBegin,
|
|
27178
27422
|
stackEnd
|
|
27179
27423
|
);
|
|
27180
27424
|
wakeUp();
|
|
@@ -27235,8 +27479,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27235
27479
|
HEAPU32[(newFiber + 12) >> 2] = 0;
|
|
27236
27480
|
|
|
27237
27481
|
var userData = HEAPU32[(newFiber + 16) >> 2];
|
|
27238
|
-
((
|
|
27239
|
-
|
|
27482
|
+
((
|
|
27483
|
+
a1
|
|
27484
|
+
) => {}) /* 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. */(
|
|
27485
|
+
userData
|
|
27240
27486
|
);
|
|
27241
27487
|
} else {
|
|
27242
27488
|
var asyncifyData = newFiber + 20;
|
|
@@ -28248,8 +28494,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
28248
28494
|
if (!SDL.eventHandler) return;
|
|
28249
28495
|
|
|
28250
28496
|
while (SDL.pollEvent(SDL.eventHandlerTemp)) {
|
|
28251
|
-
((
|
|
28252
|
-
|
|
28497
|
+
((
|
|
28498
|
+
a1,
|
|
28499
|
+
a2
|
|
28500
|
+
) => {}) /* 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. */(
|
|
28501
|
+
SDL.eventHandlerContext,
|
|
28253
28502
|
SDL.eventHandlerTemp
|
|
28254
28503
|
);
|
|
28255
28504
|
}
|
|
@@ -29882,9 +30131,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
29882
30131
|
return;
|
|
29883
30132
|
|
|
29884
30133
|
// Ask SDL audio data from the user code.
|
|
29885
|
-
((
|
|
29886
|
-
|
|
29887
|
-
|
|
30134
|
+
((
|
|
30135
|
+
a1,
|
|
30136
|
+
a2,
|
|
30137
|
+
a3
|
|
30138
|
+
) => {}) /* 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. */(
|
|
30139
|
+
SDL.audio.userdata,
|
|
29888
30140
|
SDL.audio.buffer,
|
|
29889
30141
|
SDL.audio.bufferSize
|
|
29890
30142
|
);
|
|
@@ -30342,8 +30594,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30342
30594
|
info.audio = null;
|
|
30343
30595
|
}
|
|
30344
30596
|
if (SDL.channelFinished) {
|
|
30345
|
-
((
|
|
30346
|
-
|
|
30597
|
+
((
|
|
30598
|
+
a1
|
|
30599
|
+
) => {}) /* 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. */(
|
|
30600
|
+
channel
|
|
30347
30601
|
);
|
|
30348
30602
|
}
|
|
30349
30603
|
}
|
|
@@ -30412,8 +30666,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30412
30666
|
channelInfo.audio = null;
|
|
30413
30667
|
}
|
|
30414
30668
|
if (SDL.channelFinished)
|
|
30415
|
-
((
|
|
30416
|
-
|
|
30669
|
+
((
|
|
30670
|
+
a1
|
|
30671
|
+
) => {}) /* 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. */(
|
|
30672
|
+
channel
|
|
30417
30673
|
);
|
|
30418
30674
|
};
|
|
30419
30675
|
if (channelInfo.audio) {
|
|
@@ -31161,8 +31417,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31161
31417
|
var _SDL_AddTimer = (interval, callback, param) =>
|
|
31162
31418
|
safeSetTimeout(
|
|
31163
31419
|
() =>
|
|
31164
|
-
((
|
|
31165
|
-
|
|
31420
|
+
((
|
|
31421
|
+
a1,
|
|
31422
|
+
a2
|
|
31423
|
+
) => {}) /* 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. */(
|
|
31424
|
+
interval,
|
|
31166
31425
|
param
|
|
31167
31426
|
),
|
|
31168
31427
|
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
|
+
13224061: ($0) => {
|
|
31819
32094
|
if (!$0) {
|
|
31820
32095
|
AL.alcErr = 0xa004;
|
|
31821
32096
|
return 1;
|
|
31822
32097
|
}
|
|
31823
32098
|
},
|
|
31824
|
-
|
|
32099
|
+
13224109: ($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
|
}
|