@php-wasm/node 3.0.19 → 3.0.20
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_33/php_8_1.wasm +0 -0
- package/asyncify/8_2_29/php_8_2.wasm +0 -0
- package/asyncify/8_3_27/php_8_3.wasm +0 -0
- package/asyncify/8_4_14/php_8_4.wasm +0 -0
- package/asyncify/php_7_2.js +477 -582
- package/asyncify/php_7_3.js +477 -582
- package/asyncify/php_7_4.js +464 -582
- package/asyncify/php_8_0.js +464 -582
- package/asyncify/php_8_1.js +427 -582
- package/asyncify/php_8_2.js +427 -582
- package/asyncify/php_8_3.js +427 -582
- package/asyncify/php_8_4.js +427 -582
- package/index.cjs +2574 -792
- package/index.js +2574 -792
- 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_33/php_8_1.wasm +0 -0
- package/jspi/8_2_29/php_8_2.wasm +0 -0
- package/jspi/8_3_27/php_8_3.wasm +0 -0
- package/jspi/8_4_14/php_8_4.wasm +0 -0
- package/jspi/php_7_2.js +8 -8
- package/jspi/php_7_3.js +8 -8
- package/jspi/php_7_4.js +8 -8
- package/jspi/php_8_0.js +8 -8
- package/jspi/php_8_1.js +8 -8
- package/jspi/php_8_2.js +8 -8
- package/jspi/php_8_3.js +8 -8
- package/jspi/php_8_4.js +8 -8
- package/package.json +7 -7
package/asyncify/php_8_3.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path';
|
|
|
8
8
|
|
|
9
9
|
const dependencyFilename = path.join(__dirname, '8_3_27', 'php_8_3.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 35600067;
|
|
12
12
|
const phpVersionString = '8.3.27';
|
|
13
13
|
export function init(RuntimeName, PHPLoader) {
|
|
14
14
|
// The rest of the code comes from the built php.js file and esm-suffix.js
|
|
@@ -831,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
831
831
|
},
|
|
832
832
|
};
|
|
833
833
|
|
|
834
|
-
var ___heap_base =
|
|
834
|
+
var ___heap_base = 15604096;
|
|
835
835
|
|
|
836
836
|
var alignMemory = (size, alignment) => {
|
|
837
837
|
return Math.ceil(size / alignment) * alignment;
|
|
@@ -995,7 +995,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
995
995
|
|
|
996
996
|
/** @type {WebAssembly.Table} */
|
|
997
997
|
var wasmTable = new WebAssembly.Table({
|
|
998
|
-
initial:
|
|
998
|
+
initial: 15517,
|
|
999
999
|
element: 'anyfunc',
|
|
1000
1000
|
});
|
|
1001
1001
|
var getWasmTableEntry = (funcPtr) => {
|
|
@@ -1774,25 +1774,129 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
1774
1774
|
);
|
|
1775
1775
|
|
|
1776
1776
|
var ___call_sighandler = (fp, sig) =>
|
|
1777
|
-
((
|
|
1778
|
-
|
|
1779
|
-
) => {}) /* 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. */(
|
|
1780
|
-
sig
|
|
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. */ sig
|
|
1781
1779
|
);
|
|
1782
1780
|
___call_sighandler.sig = 'vpi';
|
|
1783
1781
|
|
|
1782
|
+
var exceptionLast = 0;
|
|
1783
|
+
|
|
1784
|
+
class ExceptionInfo {
|
|
1785
|
+
// excPtr - Thrown object pointer to wrap. Metadata pointer is calculated from it.
|
|
1786
|
+
constructor(excPtr) {
|
|
1787
|
+
this.excPtr = excPtr;
|
|
1788
|
+
this.ptr = excPtr - 24;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
set_type(type) {
|
|
1792
|
+
HEAPU32[(this.ptr + 4) >> 2] = type;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
get_type() {
|
|
1796
|
+
return HEAPU32[(this.ptr + 4) >> 2];
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
set_destructor(destructor) {
|
|
1800
|
+
HEAPU32[(this.ptr + 8) >> 2] = destructor;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
get_destructor() {
|
|
1804
|
+
return HEAPU32[(this.ptr + 8) >> 2];
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
set_caught(caught) {
|
|
1808
|
+
caught = caught ? 1 : 0;
|
|
1809
|
+
HEAP8[this.ptr + 12] = caught;
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
get_caught() {
|
|
1813
|
+
return HEAP8[this.ptr + 12] != 0;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
set_rethrown(rethrown) {
|
|
1817
|
+
rethrown = rethrown ? 1 : 0;
|
|
1818
|
+
HEAP8[this.ptr + 13] = rethrown;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
get_rethrown() {
|
|
1822
|
+
return HEAP8[this.ptr + 13] != 0;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
// Initialize native structure fields. Should be called once after allocated.
|
|
1826
|
+
init(type, destructor) {
|
|
1827
|
+
this.set_adjusted_ptr(0);
|
|
1828
|
+
this.set_type(type);
|
|
1829
|
+
this.set_destructor(destructor);
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
set_adjusted_ptr(adjustedPtr) {
|
|
1833
|
+
HEAPU32[(this.ptr + 16) >> 2] = adjustedPtr;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
get_adjusted_ptr() {
|
|
1837
|
+
return HEAPU32[(this.ptr + 16) >> 2];
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
var ___resumeException = (ptr) => {
|
|
1842
|
+
if (!exceptionLast) {
|
|
1843
|
+
exceptionLast = ptr;
|
|
1844
|
+
}
|
|
1845
|
+
throw exceptionLast;
|
|
1846
|
+
};
|
|
1847
|
+
___resumeException.sig = 'vp';
|
|
1848
|
+
|
|
1849
|
+
var setTempRet0 = (val) => __emscripten_tempret_set(val);
|
|
1850
|
+
var findMatchingCatch = (args) => {
|
|
1851
|
+
var thrown = exceptionLast;
|
|
1852
|
+
if (!thrown) {
|
|
1853
|
+
// just pass through the null ptr
|
|
1854
|
+
setTempRet0(0);
|
|
1855
|
+
return 0;
|
|
1856
|
+
}
|
|
1857
|
+
var info = new ExceptionInfo(thrown);
|
|
1858
|
+
info.set_adjusted_ptr(thrown);
|
|
1859
|
+
var thrownType = info.get_type();
|
|
1860
|
+
if (!thrownType) {
|
|
1861
|
+
// just pass through the thrown ptr
|
|
1862
|
+
setTempRet0(0);
|
|
1863
|
+
return thrown;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
// can_catch receives a **, add indirection
|
|
1867
|
+
// The different catch blocks are denoted by different types.
|
|
1868
|
+
// Due to inheritance, those types may not precisely match the
|
|
1869
|
+
// type of the thrown object. Find one which matches, and
|
|
1870
|
+
// return the type of the catch block which should be called.
|
|
1871
|
+
for (var caughtType of args) {
|
|
1872
|
+
if (caughtType === 0 || caughtType === thrownType) {
|
|
1873
|
+
// Catch all clause matched or exactly the same type is caught
|
|
1874
|
+
break;
|
|
1875
|
+
}
|
|
1876
|
+
var adjusted_ptr_addr = info.ptr + 16;
|
|
1877
|
+
if (___cxa_can_catch(caughtType, thrownType, adjusted_ptr_addr)) {
|
|
1878
|
+
setTempRet0(caughtType);
|
|
1879
|
+
return thrown;
|
|
1880
|
+
}
|
|
1881
|
+
}
|
|
1882
|
+
setTempRet0(thrownType);
|
|
1883
|
+
return thrown;
|
|
1884
|
+
};
|
|
1885
|
+
var ___cxa_find_matching_catch_2 = () => findMatchingCatch([]);
|
|
1886
|
+
___cxa_find_matching_catch_2.sig = 'p';
|
|
1887
|
+
|
|
1784
1888
|
var ___memory_base = new WebAssembly.Global(
|
|
1785
1889
|
{ value: 'i32', mutable: false },
|
|
1786
1890
|
1024
|
|
1787
1891
|
);
|
|
1788
1892
|
|
|
1789
|
-
var ___stack_high =
|
|
1893
|
+
var ___stack_high = 15604096;
|
|
1790
1894
|
|
|
1791
|
-
var ___stack_low =
|
|
1895
|
+
var ___stack_low = 14555520;
|
|
1792
1896
|
|
|
1793
1897
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1794
1898
|
{ value: 'i32', mutable: true },
|
|
1795
|
-
|
|
1899
|
+
15604096
|
|
1796
1900
|
);
|
|
1797
1901
|
|
|
1798
1902
|
var PATH = {
|
|
@@ -8770,11 +8874,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8770
8874
|
dlSetError(`'Could not load dynamic lib: ${filename}\n${e}`);
|
|
8771
8875
|
runtimeKeepalivePop();
|
|
8772
8876
|
callUserCallback(() =>
|
|
8773
|
-
((
|
|
8774
|
-
|
|
8775
|
-
a2
|
|
8776
|
-
) => {}) /* 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. */(
|
|
8777
|
-
handle,
|
|
8877
|
+
((a1, a2) => {})(
|
|
8878
|
+
/* 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. */ handle,
|
|
8778
8879
|
user_data
|
|
8779
8880
|
)
|
|
8780
8881
|
);
|
|
@@ -8782,11 +8883,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8782
8883
|
function successCallback() {
|
|
8783
8884
|
runtimeKeepalivePop();
|
|
8784
8885
|
callUserCallback(() =>
|
|
8785
|
-
((
|
|
8786
|
-
|
|
8787
|
-
a2
|
|
8788
|
-
) => {}) /* 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. */(
|
|
8789
|
-
handle,
|
|
8886
|
+
((a1, a2) => {})(
|
|
8887
|
+
/* 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. */ handle,
|
|
8790
8888
|
user_data
|
|
8791
8889
|
)
|
|
8792
8890
|
);
|
|
@@ -18689,8 +18787,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18689
18787
|
|
|
18690
18788
|
var getTempRet0 = (val) => __emscripten_tempret_get();
|
|
18691
18789
|
|
|
18692
|
-
var setTempRet0 = (val) => __emscripten_tempret_set(val);
|
|
18693
|
-
|
|
18694
18790
|
var _stackAlloc = stackAlloc;
|
|
18695
18791
|
|
|
18696
18792
|
var _stackSave = stackSave;
|
|
@@ -19462,11 +19558,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19462
19558
|
var trace = getCallstack();
|
|
19463
19559
|
var parts = trace.split('\n');
|
|
19464
19560
|
for (var i = 0; i < parts.length; i++) {
|
|
19465
|
-
var ret = ((
|
|
19466
|
-
|
|
19467
|
-
a2
|
|
19468
|
-
) => {}) /* 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. */(
|
|
19469
|
-
0,
|
|
19561
|
+
var ret = ((a1, a2) => {})(
|
|
19562
|
+
/* 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. */ 0,
|
|
19470
19563
|
arg
|
|
19471
19564
|
);
|
|
19472
19565
|
if (ret !== 0) return;
|
|
@@ -19480,65 +19573,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19480
19573
|
var __Unwind_FindEnclosingFunction = (ip) => 0;
|
|
19481
19574
|
__Unwind_FindEnclosingFunction.sig = 'pp';
|
|
19482
19575
|
|
|
19483
|
-
class ExceptionInfo {
|
|
19484
|
-
// excPtr - Thrown object pointer to wrap. Metadata pointer is calculated from it.
|
|
19485
|
-
constructor(excPtr) {
|
|
19486
|
-
this.excPtr = excPtr;
|
|
19487
|
-
this.ptr = excPtr - 24;
|
|
19488
|
-
}
|
|
19489
|
-
|
|
19490
|
-
set_type(type) {
|
|
19491
|
-
HEAPU32[(this.ptr + 4) >> 2] = type;
|
|
19492
|
-
}
|
|
19493
|
-
|
|
19494
|
-
get_type() {
|
|
19495
|
-
return HEAPU32[(this.ptr + 4) >> 2];
|
|
19496
|
-
}
|
|
19497
|
-
|
|
19498
|
-
set_destructor(destructor) {
|
|
19499
|
-
HEAPU32[(this.ptr + 8) >> 2] = destructor;
|
|
19500
|
-
}
|
|
19501
|
-
|
|
19502
|
-
get_destructor() {
|
|
19503
|
-
return HEAPU32[(this.ptr + 8) >> 2];
|
|
19504
|
-
}
|
|
19505
|
-
|
|
19506
|
-
set_caught(caught) {
|
|
19507
|
-
caught = caught ? 1 : 0;
|
|
19508
|
-
HEAP8[this.ptr + 12] = caught;
|
|
19509
|
-
}
|
|
19510
|
-
|
|
19511
|
-
get_caught() {
|
|
19512
|
-
return HEAP8[this.ptr + 12] != 0;
|
|
19513
|
-
}
|
|
19514
|
-
|
|
19515
|
-
set_rethrown(rethrown) {
|
|
19516
|
-
rethrown = rethrown ? 1 : 0;
|
|
19517
|
-
HEAP8[this.ptr + 13] = rethrown;
|
|
19518
|
-
}
|
|
19519
|
-
|
|
19520
|
-
get_rethrown() {
|
|
19521
|
-
return HEAP8[this.ptr + 13] != 0;
|
|
19522
|
-
}
|
|
19523
|
-
|
|
19524
|
-
// Initialize native structure fields. Should be called once after allocated.
|
|
19525
|
-
init(type, destructor) {
|
|
19526
|
-
this.set_adjusted_ptr(0);
|
|
19527
|
-
this.set_type(type);
|
|
19528
|
-
this.set_destructor(destructor);
|
|
19529
|
-
}
|
|
19530
|
-
|
|
19531
|
-
set_adjusted_ptr(adjustedPtr) {
|
|
19532
|
-
HEAPU32[(this.ptr + 16) >> 2] = adjustedPtr;
|
|
19533
|
-
}
|
|
19534
|
-
|
|
19535
|
-
get_adjusted_ptr() {
|
|
19536
|
-
return HEAPU32[(this.ptr + 16) >> 2];
|
|
19537
|
-
}
|
|
19538
|
-
}
|
|
19539
|
-
|
|
19540
|
-
var exceptionLast = 0;
|
|
19541
|
-
|
|
19542
19576
|
var uncaughtExceptionCount = 0;
|
|
19543
19577
|
var ___cxa_throw = (ptr, type, destructor) => {
|
|
19544
19578
|
var info = new ExceptionInfo(ptr);
|
|
@@ -20111,12 +20145,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20111
20145
|
stringToUTF8(e.locale || '', keyEventData + 128, 32);
|
|
20112
20146
|
|
|
20113
20147
|
if (
|
|
20114
|
-
((
|
|
20115
|
-
|
|
20116
|
-
a2,
|
|
20117
|
-
a3
|
|
20118
|
-
) => {}) /* 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. */(
|
|
20119
|
-
eventTypeId,
|
|
20148
|
+
((a1, a2, a3) => {})(
|
|
20149
|
+
/* 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. */ eventTypeId,
|
|
20120
20150
|
keyEventData,
|
|
20121
20151
|
userData
|
|
20122
20152
|
)
|
|
@@ -20234,12 +20264,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20234
20264
|
fillMouseEventData(JSEvents.mouseEvent, e, target);
|
|
20235
20265
|
|
|
20236
20266
|
if (
|
|
20237
|
-
((
|
|
20238
|
-
|
|
20239
|
-
a2,
|
|
20240
|
-
a3
|
|
20241
|
-
) => {}) /* 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. */(
|
|
20242
|
-
eventTypeId,
|
|
20267
|
+
((a1, a2, a3) => {})(
|
|
20268
|
+
/* 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. */ eventTypeId,
|
|
20243
20269
|
JSEvents.mouseEvent,
|
|
20244
20270
|
userData
|
|
20245
20271
|
)
|
|
@@ -20453,12 +20479,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20453
20479
|
HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
|
|
20454
20480
|
HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
|
|
20455
20481
|
if (
|
|
20456
|
-
((
|
|
20457
|
-
|
|
20458
|
-
a2,
|
|
20459
|
-
a3
|
|
20460
|
-
) => {}) /* 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. */(
|
|
20461
|
-
eventTypeId,
|
|
20482
|
+
((a1, a2, a3) => {})(
|
|
20483
|
+
/* 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. */ eventTypeId,
|
|
20462
20484
|
wheelEvent,
|
|
20463
20485
|
userData
|
|
20464
20486
|
)
|
|
@@ -20539,12 +20561,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20539
20561
|
HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
|
|
20540
20562
|
HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
|
|
20541
20563
|
if (
|
|
20542
|
-
((
|
|
20543
|
-
|
|
20544
|
-
a2,
|
|
20545
|
-
a3
|
|
20546
|
-
) => {}) /* 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. */(
|
|
20547
|
-
eventTypeId,
|
|
20564
|
+
((a1, a2, a3) => {})(
|
|
20565
|
+
/* 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. */ eventTypeId,
|
|
20548
20566
|
uiEvent,
|
|
20549
20567
|
userData
|
|
20550
20568
|
)
|
|
@@ -20618,12 +20636,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20618
20636
|
stringToUTF8(id, focusEvent + 128, 128);
|
|
20619
20637
|
|
|
20620
20638
|
if (
|
|
20621
|
-
((
|
|
20622
|
-
|
|
20623
|
-
a2,
|
|
20624
|
-
a3
|
|
20625
|
-
) => {}) /* 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. */(
|
|
20626
|
-
eventTypeId,
|
|
20639
|
+
((a1, a2, a3) => {})(
|
|
20640
|
+
/* 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. */ eventTypeId,
|
|
20627
20641
|
focusEvent,
|
|
20628
20642
|
userData
|
|
20629
20643
|
)
|
|
@@ -20739,12 +20753,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20739
20753
|
); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
|
|
20740
20754
|
|
|
20741
20755
|
if (
|
|
20742
|
-
((
|
|
20743
|
-
|
|
20744
|
-
a2,
|
|
20745
|
-
a3
|
|
20746
|
-
) => {}) /* 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. */(
|
|
20747
|
-
eventTypeId,
|
|
20756
|
+
((a1, a2, a3) => {})(
|
|
20757
|
+
/* 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. */ eventTypeId,
|
|
20748
20758
|
JSEvents.deviceOrientationEvent,
|
|
20749
20759
|
userData
|
|
20750
20760
|
)
|
|
@@ -20827,12 +20837,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20827
20837
|
fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
|
|
20828
20838
|
|
|
20829
20839
|
if (
|
|
20830
|
-
((
|
|
20831
|
-
|
|
20832
|
-
a2,
|
|
20833
|
-
a3
|
|
20834
|
-
) => {}) /* 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. */(
|
|
20835
|
-
eventTypeId,
|
|
20840
|
+
((a1, a2, a3) => {})(
|
|
20841
|
+
/* 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. */ eventTypeId,
|
|
20836
20842
|
JSEvents.deviceMotionEvent,
|
|
20837
20843
|
userData
|
|
20838
20844
|
)
|
|
@@ -20942,12 +20948,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20942
20948
|
fillOrientationChangeEventData(orientationChangeEvent);
|
|
20943
20949
|
|
|
20944
20950
|
if (
|
|
20945
|
-
((
|
|
20946
|
-
|
|
20947
|
-
a2,
|
|
20948
|
-
a3
|
|
20949
|
-
) => {}) /* 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. */(
|
|
20950
|
-
eventTypeId,
|
|
20951
|
+
((a1, a2, a3) => {})(
|
|
20952
|
+
/* 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. */ eventTypeId,
|
|
20951
20953
|
orientationChangeEvent,
|
|
20952
20954
|
userData
|
|
20953
20955
|
)
|
|
@@ -21080,12 +21082,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21080
21082
|
fillFullscreenChangeEventData(fullscreenChangeEvent);
|
|
21081
21083
|
|
|
21082
21084
|
if (
|
|
21083
|
-
((
|
|
21084
|
-
|
|
21085
|
-
a2,
|
|
21086
|
-
a3
|
|
21087
|
-
) => {}) /* 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. */(
|
|
21088
|
-
eventTypeId,
|
|
21085
|
+
((a1, a2, a3) => {})(
|
|
21086
|
+
/* 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. */ eventTypeId,
|
|
21089
21087
|
fullscreenChangeEvent,
|
|
21090
21088
|
userData
|
|
21091
21089
|
)
|
|
@@ -21249,12 +21247,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21249
21247
|
);
|
|
21250
21248
|
|
|
21251
21249
|
if (currentFullscreenStrategy.canvasResizedCallback) {
|
|
21252
|
-
((
|
|
21253
|
-
|
|
21254
|
-
a2,
|
|
21255
|
-
a3
|
|
21256
|
-
) => {}) /* 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. */(
|
|
21257
|
-
37,
|
|
21250
|
+
((a1, a2, a3) => {})(
|
|
21251
|
+
/* 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. */ 37,
|
|
21258
21252
|
0,
|
|
21259
21253
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21260
21254
|
);
|
|
@@ -21360,12 +21354,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21360
21354
|
currentFullscreenStrategy = strategy;
|
|
21361
21355
|
|
|
21362
21356
|
if (strategy.canvasResizedCallback) {
|
|
21363
|
-
((
|
|
21364
|
-
|
|
21365
|
-
a2,
|
|
21366
|
-
a3
|
|
21367
|
-
) => {}) /* 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. */(
|
|
21368
|
-
37,
|
|
21357
|
+
((a1, a2, a3) => {})(
|
|
21358
|
+
/* 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. */ 37,
|
|
21369
21359
|
0,
|
|
21370
21360
|
strategy.canvasResizedCallbackUserData
|
|
21371
21361
|
);
|
|
@@ -21467,12 +21457,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21467
21457
|
!inCenteredWithoutScalingFullscreenMode &&
|
|
21468
21458
|
currentFullscreenStrategy.canvasResizedCallback
|
|
21469
21459
|
) {
|
|
21470
|
-
((
|
|
21471
|
-
|
|
21472
|
-
a2,
|
|
21473
|
-
a3
|
|
21474
|
-
) => {}) /* 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. */(
|
|
21475
|
-
37,
|
|
21460
|
+
((a1, a2, a3) => {})(
|
|
21461
|
+
/* 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. */ 37,
|
|
21476
21462
|
0,
|
|
21477
21463
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21478
21464
|
);
|
|
@@ -21571,12 +21557,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21571
21557
|
softFullscreenResizeWebGLRenderTarget
|
|
21572
21558
|
);
|
|
21573
21559
|
if (strategy.canvasResizedCallback) {
|
|
21574
|
-
((
|
|
21575
|
-
|
|
21576
|
-
a2,
|
|
21577
|
-
a3
|
|
21578
|
-
) => {}) /* 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. */(
|
|
21579
|
-
37,
|
|
21560
|
+
((a1, a2, a3) => {})(
|
|
21561
|
+
/* 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. */ 37,
|
|
21580
21562
|
0,
|
|
21581
21563
|
strategy.canvasResizedCallbackUserData
|
|
21582
21564
|
);
|
|
@@ -21589,12 +21571,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21589
21571
|
|
|
21590
21572
|
// Inform the caller that the canvas size has changed.
|
|
21591
21573
|
if (strategy.canvasResizedCallback) {
|
|
21592
|
-
((
|
|
21593
|
-
|
|
21594
|
-
a2,
|
|
21595
|
-
a3
|
|
21596
|
-
) => {}) /* 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. */(
|
|
21597
|
-
37,
|
|
21574
|
+
((a1, a2, a3) => {})(
|
|
21575
|
+
/* 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. */ 37,
|
|
21598
21576
|
0,
|
|
21599
21577
|
strategy.canvasResizedCallbackUserData
|
|
21600
21578
|
);
|
|
@@ -21662,12 +21640,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21662
21640
|
fillPointerlockChangeEventData(pointerlockChangeEvent);
|
|
21663
21641
|
|
|
21664
21642
|
if (
|
|
21665
|
-
((
|
|
21666
|
-
|
|
21667
|
-
a2,
|
|
21668
|
-
a3
|
|
21669
|
-
) => {}) /* 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. */(
|
|
21670
|
-
eventTypeId,
|
|
21643
|
+
((a1, a2, a3) => {})(
|
|
21644
|
+
/* 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. */ eventTypeId,
|
|
21671
21645
|
pointerlockChangeEvent,
|
|
21672
21646
|
userData
|
|
21673
21647
|
)
|
|
@@ -21757,12 +21731,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21757
21731
|
) => {
|
|
21758
21732
|
var pointerlockErrorEventHandlerFunc = (e = event) => {
|
|
21759
21733
|
if (
|
|
21760
|
-
((
|
|
21761
|
-
|
|
21762
|
-
a2,
|
|
21763
|
-
a3
|
|
21764
|
-
) => {}) /* 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. */(
|
|
21765
|
-
eventTypeId,
|
|
21734
|
+
((a1, a2, a3) => {})(
|
|
21735
|
+
/* 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. */ eventTypeId,
|
|
21766
21736
|
0,
|
|
21767
21737
|
userData
|
|
21768
21738
|
)
|
|
@@ -21962,12 +21932,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21962
21932
|
fillVisibilityChangeEventData(visibilityChangeEvent);
|
|
21963
21933
|
|
|
21964
21934
|
if (
|
|
21965
|
-
((
|
|
21966
|
-
|
|
21967
|
-
a2,
|
|
21968
|
-
a3
|
|
21969
|
-
) => {}) /* 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. */(
|
|
21970
|
-
eventTypeId,
|
|
21935
|
+
((a1, a2, a3) => {})(
|
|
21936
|
+
/* 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. */ eventTypeId,
|
|
21971
21937
|
visibilityChangeEvent,
|
|
21972
21938
|
userData
|
|
21973
21939
|
)
|
|
@@ -22087,12 +22053,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22087
22053
|
HEAP32[(touchEvent + 8) >> 2] = numTouches;
|
|
22088
22054
|
|
|
22089
22055
|
if (
|
|
22090
|
-
((
|
|
22091
|
-
|
|
22092
|
-
a2,
|
|
22093
|
-
a3
|
|
22094
|
-
) => {}) /* 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. */(
|
|
22095
|
-
eventTypeId,
|
|
22056
|
+
((a1, a2, a3) => {})(
|
|
22057
|
+
/* 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. */ eventTypeId,
|
|
22096
22058
|
touchEvent,
|
|
22097
22059
|
userData
|
|
22098
22060
|
)
|
|
@@ -22230,12 +22192,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22230
22192
|
fillGamepadEventData(gamepadEvent, e['gamepad']);
|
|
22231
22193
|
|
|
22232
22194
|
if (
|
|
22233
|
-
((
|
|
22234
|
-
|
|
22235
|
-
a2,
|
|
22236
|
-
a3
|
|
22237
|
-
) => {}) /* 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. */(
|
|
22238
|
-
eventTypeId,
|
|
22195
|
+
((a1, a2, a3) => {})(
|
|
22196
|
+
/* 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. */ eventTypeId,
|
|
22239
22197
|
gamepadEvent,
|
|
22240
22198
|
userData
|
|
22241
22199
|
)
|
|
@@ -22337,12 +22295,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22337
22295
|
) => {
|
|
22338
22296
|
var beforeUnloadEventHandlerFunc = (e = event) => {
|
|
22339
22297
|
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
|
|
22340
|
-
var confirmationMessage = ((
|
|
22341
|
-
|
|
22342
|
-
a2,
|
|
22343
|
-
a3
|
|
22344
|
-
) => {}) /* 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. */(
|
|
22345
|
-
eventTypeId,
|
|
22298
|
+
var confirmationMessage = ((a1, a2, a3) => {})(
|
|
22299
|
+
/* 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. */ eventTypeId,
|
|
22346
22300
|
0,
|
|
22347
22301
|
userData
|
|
22348
22302
|
);
|
|
@@ -22413,12 +22367,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22413
22367
|
fillBatteryEventData(batteryEvent, battery());
|
|
22414
22368
|
|
|
22415
22369
|
if (
|
|
22416
|
-
((
|
|
22417
|
-
|
|
22418
|
-
a2,
|
|
22419
|
-
a3
|
|
22420
|
-
) => {}) /* 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. */(
|
|
22421
|
-
eventTypeId,
|
|
22370
|
+
((a1, a2, a3) => {})(
|
|
22371
|
+
/* 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. */ eventTypeId,
|
|
22422
22372
|
batteryEvent,
|
|
22423
22373
|
userData
|
|
22424
22374
|
)
|
|
@@ -22508,11 +22458,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22508
22458
|
|
|
22509
22459
|
var _emscripten_request_animation_frame = (cb, userData) =>
|
|
22510
22460
|
requestAnimationFrame((timeStamp) =>
|
|
22511
|
-
((
|
|
22512
|
-
|
|
22513
|
-
a2
|
|
22514
|
-
) => {}) /* 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. */(
|
|
22515
|
-
timeStamp,
|
|
22461
|
+
((a1, a2) => {})(
|
|
22462
|
+
/* 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. */ timeStamp,
|
|
22516
22463
|
userData
|
|
22517
22464
|
)
|
|
22518
22465
|
);
|
|
@@ -22524,11 +22471,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22524
22471
|
var _emscripten_request_animation_frame_loop = (cb, userData) => {
|
|
22525
22472
|
function tick(timeStamp) {
|
|
22526
22473
|
if (
|
|
22527
|
-
((
|
|
22528
|
-
|
|
22529
|
-
a2
|
|
22530
|
-
) => {}) /* 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. */(
|
|
22531
|
-
timeStamp,
|
|
22474
|
+
((a1, 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. */ timeStamp,
|
|
22532
22476
|
userData
|
|
22533
22477
|
)
|
|
22534
22478
|
) {
|
|
@@ -22753,10 +22697,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22753
22697
|
return emSetImmediate(() => {
|
|
22754
22698
|
runtimeKeepalivePop();
|
|
22755
22699
|
callUserCallback(() =>
|
|
22756
|
-
((
|
|
22757
|
-
|
|
22758
|
-
) => {}) /* 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. */(
|
|
22759
|
-
userData
|
|
22700
|
+
((a1) => {})(
|
|
22701
|
+
/* 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. */ userData
|
|
22760
22702
|
)
|
|
22761
22703
|
);
|
|
22762
22704
|
});
|
|
@@ -22773,10 +22715,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22773
22715
|
function tick() {
|
|
22774
22716
|
callUserCallback(() => {
|
|
22775
22717
|
if (
|
|
22776
|
-
((
|
|
22777
|
-
|
|
22778
|
-
) => {}) /* 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. */(
|
|
22779
|
-
userData
|
|
22718
|
+
((a1) => {})(
|
|
22719
|
+
/* 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. */ userData
|
|
22780
22720
|
)
|
|
22781
22721
|
) {
|
|
22782
22722
|
emSetImmediate(tick);
|
|
@@ -22793,10 +22733,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22793
22733
|
var _emscripten_set_timeout = (cb, msecs, userData) =>
|
|
22794
22734
|
safeSetTimeout(
|
|
22795
22735
|
() =>
|
|
22796
|
-
((
|
|
22797
|
-
|
|
22798
|
-
) => {}) /* 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. */(
|
|
22799
|
-
userData
|
|
22736
|
+
((a1) => {})(
|
|
22737
|
+
/* 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. */ userData
|
|
22800
22738
|
),
|
|
22801
22739
|
msecs
|
|
22802
22740
|
);
|
|
@@ -22812,11 +22750,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22812
22750
|
runtimeKeepalivePop();
|
|
22813
22751
|
callUserCallback(() => {
|
|
22814
22752
|
if (
|
|
22815
|
-
((
|
|
22816
|
-
|
|
22817
|
-
a2
|
|
22818
|
-
) => {}) /* 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. */(
|
|
22819
|
-
t,
|
|
22753
|
+
((a1, a2) => {})(
|
|
22754
|
+
/* 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. */ t,
|
|
22820
22755
|
userData
|
|
22821
22756
|
)
|
|
22822
22757
|
) {
|
|
@@ -22840,10 +22775,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22840
22775
|
runtimeKeepalivePush();
|
|
22841
22776
|
return setInterval(() => {
|
|
22842
22777
|
callUserCallback(() =>
|
|
22843
|
-
((
|
|
22844
|
-
|
|
22845
|
-
) => {}) /* 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. */(
|
|
22846
|
-
userData
|
|
22778
|
+
((a1) => {})(
|
|
22779
|
+
/* 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. */ userData
|
|
22847
22780
|
)
|
|
22848
22781
|
);
|
|
22849
22782
|
}, msecs);
|
|
@@ -22858,10 +22791,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22858
22791
|
|
|
22859
22792
|
var _emscripten_async_call = (func, arg, millis) => {
|
|
22860
22793
|
var wrapper = () =>
|
|
22861
|
-
((
|
|
22862
|
-
|
|
22863
|
-
) => {}) /* 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. */(
|
|
22864
|
-
arg
|
|
22794
|
+
((a1) => {})(
|
|
22795
|
+
/* 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. */ arg
|
|
22865
22796
|
);
|
|
22866
22797
|
|
|
22867
22798
|
if (
|
|
@@ -22894,7 +22825,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22894
22825
|
|
|
22895
22826
|
var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
|
|
22896
22827
|
var iterFunc =
|
|
22897
|
-
() => {} /* 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.
|
|
22828
|
+
() => {}; /* 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. */
|
|
22898
22829
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop);
|
|
22899
22830
|
};
|
|
22900
22831
|
_emscripten_set_main_loop.sig = 'vpii';
|
|
@@ -22906,10 +22837,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22906
22837
|
simulateInfiniteLoop
|
|
22907
22838
|
) => {
|
|
22908
22839
|
var iterFunc = () =>
|
|
22909
|
-
((
|
|
22910
|
-
|
|
22911
|
-
) => {}) /* 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. */(
|
|
22912
|
-
arg
|
|
22840
|
+
((a1) => {})(
|
|
22841
|
+
/* 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. */ arg
|
|
22913
22842
|
);
|
|
22914
22843
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
|
|
22915
22844
|
};
|
|
@@ -22930,10 +22859,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22930
22859
|
var __emscripten_push_main_loop_blocker = (func, arg, name) => {
|
|
22931
22860
|
MainLoop.queue.push({
|
|
22932
22861
|
func: () => {
|
|
22933
|
-
((
|
|
22934
|
-
|
|
22935
|
-
) => {}) /* 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. */(
|
|
22936
|
-
arg
|
|
22862
|
+
((a1) => {})(
|
|
22863
|
+
/* 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. */ arg
|
|
22937
22864
|
);
|
|
22938
22865
|
},
|
|
22939
22866
|
name: UTF8ToString(name),
|
|
@@ -22946,10 +22873,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22946
22873
|
var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
|
|
22947
22874
|
MainLoop.queue.push({
|
|
22948
22875
|
func: () => {
|
|
22949
|
-
((
|
|
22950
|
-
|
|
22951
|
-
) => {}) /* 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. */(
|
|
22952
|
-
arg
|
|
22876
|
+
((a1) => {})(
|
|
22877
|
+
/* 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. */ arg
|
|
22953
22878
|
);
|
|
22954
22879
|
},
|
|
22955
22880
|
name: UTF8ToString(name),
|
|
@@ -22983,12 +22908,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22983
22908
|
var resultPtr = stackAlloc(POINTER_SIZE);
|
|
22984
22909
|
HEAPU32[resultPtr >> 2] = 0;
|
|
22985
22910
|
try {
|
|
22986
|
-
var result = ((
|
|
22987
|
-
|
|
22988
|
-
a2,
|
|
22989
|
-
a3
|
|
22990
|
-
) => {}) /* 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. */(
|
|
22991
|
-
resultPtr,
|
|
22911
|
+
var result = ((a1, a2, a3) => {})(
|
|
22912
|
+
/* 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. */ resultPtr,
|
|
22992
22913
|
userData,
|
|
22993
22914
|
value
|
|
22994
22915
|
);
|
|
@@ -23122,52 +23043,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23122
23043
|
_emscripten_promise_await.sig = 'vpp';
|
|
23123
23044
|
_emscripten_promise_await.isAsync = true;
|
|
23124
23045
|
|
|
23125
|
-
var ___resumeException = (ptr) => {
|
|
23126
|
-
if (!exceptionLast) {
|
|
23127
|
-
exceptionLast = ptr;
|
|
23128
|
-
}
|
|
23129
|
-
throw exceptionLast;
|
|
23130
|
-
};
|
|
23131
|
-
___resumeException.sig = 'vp';
|
|
23132
|
-
|
|
23133
|
-
var findMatchingCatch = (args) => {
|
|
23134
|
-
var thrown = exceptionLast;
|
|
23135
|
-
if (!thrown) {
|
|
23136
|
-
// just pass through the null ptr
|
|
23137
|
-
setTempRet0(0);
|
|
23138
|
-
return 0;
|
|
23139
|
-
}
|
|
23140
|
-
var info = new ExceptionInfo(thrown);
|
|
23141
|
-
info.set_adjusted_ptr(thrown);
|
|
23142
|
-
var thrownType = info.get_type();
|
|
23143
|
-
if (!thrownType) {
|
|
23144
|
-
// just pass through the thrown ptr
|
|
23145
|
-
setTempRet0(0);
|
|
23146
|
-
return thrown;
|
|
23147
|
-
}
|
|
23148
|
-
|
|
23149
|
-
// can_catch receives a **, add indirection
|
|
23150
|
-
// The different catch blocks are denoted by different types.
|
|
23151
|
-
// Due to inheritance, those types may not precisely match the
|
|
23152
|
-
// type of the thrown object. Find one which matches, and
|
|
23153
|
-
// return the type of the catch block which should be called.
|
|
23154
|
-
for (var caughtType of args) {
|
|
23155
|
-
if (caughtType === 0 || caughtType === thrownType) {
|
|
23156
|
-
// Catch all clause matched or exactly the same type is caught
|
|
23157
|
-
break;
|
|
23158
|
-
}
|
|
23159
|
-
var adjusted_ptr_addr = info.ptr + 16;
|
|
23160
|
-
if (___cxa_can_catch(caughtType, thrownType, adjusted_ptr_addr)) {
|
|
23161
|
-
setTempRet0(caughtType);
|
|
23162
|
-
return thrown;
|
|
23163
|
-
}
|
|
23164
|
-
}
|
|
23165
|
-
setTempRet0(thrownType);
|
|
23166
|
-
return thrown;
|
|
23167
|
-
};
|
|
23168
|
-
var ___cxa_find_matching_catch_2 = () => findMatchingCatch([]);
|
|
23169
|
-
___cxa_find_matching_catch_2.sig = 'p';
|
|
23170
|
-
|
|
23171
23046
|
var ___cxa_find_matching_catch_3 = (arg0) => findMatchingCatch([arg0]);
|
|
23172
23047
|
___cxa_find_matching_catch_3.sig = 'pp';
|
|
23173
23048
|
|
|
@@ -23924,19 +23799,15 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23924
23799
|
() => {
|
|
23925
23800
|
runtimeKeepalivePop();
|
|
23926
23801
|
if (onload)
|
|
23927
|
-
((
|
|
23928
|
-
|
|
23929
|
-
) => {}) /* 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. */(
|
|
23930
|
-
file
|
|
23802
|
+
((a1) => {})(
|
|
23803
|
+
/* 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. */ file
|
|
23931
23804
|
);
|
|
23932
23805
|
},
|
|
23933
23806
|
() => {
|
|
23934
23807
|
runtimeKeepalivePop();
|
|
23935
23808
|
if (onerror)
|
|
23936
|
-
((
|
|
23937
|
-
|
|
23938
|
-
) => {}) /* 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. */(
|
|
23939
|
-
file
|
|
23809
|
+
((a1) => {})(
|
|
23810
|
+
/* 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. */ file
|
|
23940
23811
|
);
|
|
23941
23812
|
},
|
|
23942
23813
|
true // don'tCreateFile - it's already there
|
|
@@ -23970,21 +23841,16 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23970
23841
|
() => {
|
|
23971
23842
|
runtimeKeepalivePop();
|
|
23972
23843
|
if (onload)
|
|
23973
|
-
((
|
|
23974
|
-
|
|
23975
|
-
a2
|
|
23976
|
-
) => {}) /* 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. */(
|
|
23977
|
-
arg,
|
|
23844
|
+
((a1, a2) => {})(
|
|
23845
|
+
/* 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. */ arg,
|
|
23978
23846
|
cname
|
|
23979
23847
|
);
|
|
23980
23848
|
},
|
|
23981
23849
|
() => {
|
|
23982
23850
|
runtimeKeepalivePop();
|
|
23983
23851
|
if (onerror)
|
|
23984
|
-
((
|
|
23985
|
-
|
|
23986
|
-
) => {}) /* 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. */(
|
|
23987
|
-
arg
|
|
23852
|
+
((a1) => {})(
|
|
23853
|
+
/* 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. */ arg
|
|
23988
23854
|
);
|
|
23989
23855
|
},
|
|
23990
23856
|
true // don'tCreateFile - it's already there
|
|
@@ -24257,10 +24123,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24257
24123
|
runtimeKeepalivePop();
|
|
24258
24124
|
callUserCallback(() => {
|
|
24259
24125
|
var sp = stackSave();
|
|
24260
|
-
((
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24126
|
+
((a1) => {})(
|
|
24127
|
+
/* 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. */ stringToUTF8OnStack(
|
|
24128
|
+
_file
|
|
24129
|
+
)
|
|
24264
24130
|
);
|
|
24265
24131
|
stackRestore(sp);
|
|
24266
24132
|
});
|
|
@@ -24304,12 +24170,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24304
24170
|
callUserCallback(() => {
|
|
24305
24171
|
var buffer = _malloc(byteArray.length);
|
|
24306
24172
|
HEAPU8.set(byteArray, buffer);
|
|
24307
|
-
((
|
|
24308
|
-
|
|
24309
|
-
a2,
|
|
24310
|
-
a3
|
|
24311
|
-
) => {}) /* 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. */(
|
|
24312
|
-
userdata,
|
|
24173
|
+
((a1, a2, a3) => {})(
|
|
24174
|
+
/* 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. */ userdata,
|
|
24313
24175
|
buffer,
|
|
24314
24176
|
byteArray.length
|
|
24315
24177
|
);
|
|
@@ -24319,10 +24181,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24319
24181
|
if (onerror) {
|
|
24320
24182
|
runtimeKeepalivePop();
|
|
24321
24183
|
callUserCallback(() => {
|
|
24322
|
-
((
|
|
24323
|
-
|
|
24324
|
-
) => {}) /* 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. */(
|
|
24325
|
-
userdata
|
|
24184
|
+
((a1) => {})(
|
|
24185
|
+
/* 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. */ userdata
|
|
24326
24186
|
);
|
|
24327
24187
|
});
|
|
24328
24188
|
}
|
|
@@ -24379,12 +24239,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24379
24239
|
);
|
|
24380
24240
|
if (onload) {
|
|
24381
24241
|
var sp = stackSave();
|
|
24382
|
-
((
|
|
24383
|
-
|
|
24384
|
-
a2,
|
|
24385
|
-
a3
|
|
24386
|
-
) => {}) /* 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. */(
|
|
24387
|
-
handle,
|
|
24242
|
+
((a1, a2, a3) => {})(
|
|
24243
|
+
/* 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. */ handle,
|
|
24388
24244
|
userdata,
|
|
24389
24245
|
stringToUTF8OnStack(_file)
|
|
24390
24246
|
);
|
|
@@ -24392,12 +24248,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24392
24248
|
}
|
|
24393
24249
|
} else {
|
|
24394
24250
|
if (onerror)
|
|
24395
|
-
((
|
|
24396
|
-
|
|
24397
|
-
a2,
|
|
24398
|
-
a3
|
|
24399
|
-
) => {}) /* 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. */(
|
|
24400
|
-
handle,
|
|
24251
|
+
((a1, a2, a3) => {})(
|
|
24252
|
+
/* 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. */ handle,
|
|
24401
24253
|
userdata,
|
|
24402
24254
|
http.status
|
|
24403
24255
|
);
|
|
@@ -24410,12 +24262,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24410
24262
|
http.onerror = (e) => {
|
|
24411
24263
|
runtimeKeepalivePop();
|
|
24412
24264
|
if (onerror)
|
|
24413
|
-
((
|
|
24414
|
-
|
|
24415
|
-
a2,
|
|
24416
|
-
a3
|
|
24417
|
-
) => {}) /* 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. */(
|
|
24418
|
-
handle,
|
|
24265
|
+
((a1, a2, a3) => {})(
|
|
24266
|
+
/* 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. */ handle,
|
|
24419
24267
|
userdata,
|
|
24420
24268
|
http.status
|
|
24421
24269
|
);
|
|
@@ -24430,12 +24278,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24430
24278
|
) {
|
|
24431
24279
|
var percentComplete = (e.loaded / e.total) * 100;
|
|
24432
24280
|
if (onprogress)
|
|
24433
|
-
((
|
|
24434
|
-
|
|
24435
|
-
a2,
|
|
24436
|
-
a3
|
|
24437
|
-
) => {}) /* 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. */(
|
|
24438
|
-
handle,
|
|
24281
|
+
((a1, a2, a3) => {})(
|
|
24282
|
+
/* 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. */ handle,
|
|
24439
24283
|
userdata,
|
|
24440
24284
|
percentComplete
|
|
24441
24285
|
);
|
|
@@ -24492,13 +24336,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24492
24336
|
if (http.statusText) {
|
|
24493
24337
|
statusText = stringToUTF8OnStack(http.statusText);
|
|
24494
24338
|
}
|
|
24495
|
-
((
|
|
24496
|
-
|
|
24497
|
-
a2,
|
|
24498
|
-
a3,
|
|
24499
|
-
a4
|
|
24500
|
-
) => {}) /* 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. */(
|
|
24501
|
-
handle,
|
|
24339
|
+
((a1, a2, a3, a4) => {})(
|
|
24340
|
+
/* 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. */ handle,
|
|
24502
24341
|
userdata,
|
|
24503
24342
|
http.status,
|
|
24504
24343
|
statusText
|
|
@@ -24519,13 +24358,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24519
24358
|
var buffer = _malloc(byteArray.length);
|
|
24520
24359
|
HEAPU8.set(byteArray, buffer);
|
|
24521
24360
|
if (onload)
|
|
24522
|
-
((
|
|
24523
|
-
|
|
24524
|
-
a2,
|
|
24525
|
-
a3,
|
|
24526
|
-
a4
|
|
24527
|
-
) => {}) /* 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. */(
|
|
24528
|
-
handle,
|
|
24361
|
+
((a1, a2, a3, a4) => {})(
|
|
24362
|
+
/* 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. */ handle,
|
|
24529
24363
|
userdata,
|
|
24530
24364
|
buffer,
|
|
24531
24365
|
byteArray.length
|
|
@@ -24546,13 +24380,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24546
24380
|
// PROGRESS
|
|
24547
24381
|
http.onprogress = (e) => {
|
|
24548
24382
|
if (onprogress)
|
|
24549
|
-
((
|
|
24550
|
-
|
|
24551
|
-
a2,
|
|
24552
|
-
a3,
|
|
24553
|
-
a4
|
|
24554
|
-
) => {}) /* 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. */(
|
|
24555
|
-
handle,
|
|
24383
|
+
((a1, a2, a3, a4) => {})(
|
|
24384
|
+
/* 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. */ handle,
|
|
24556
24385
|
userdata,
|
|
24557
24386
|
e.loaded,
|
|
24558
24387
|
e.lengthComputable || e.lengthComputable === undefined
|
|
@@ -24672,24 +24501,16 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24672
24501
|
if (event === 'error') {
|
|
24673
24502
|
withStackSave(() => {
|
|
24674
24503
|
var msg = stringToUTF8OnStack(data[2]);
|
|
24675
|
-
((
|
|
24676
|
-
|
|
24677
|
-
a2,
|
|
24678
|
-
a3,
|
|
24679
|
-
a4
|
|
24680
|
-
) => {}) /* 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. */(
|
|
24681
|
-
data[0],
|
|
24504
|
+
((a1, a2, a3, a4) => {})(
|
|
24505
|
+
/* 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. */ data[0],
|
|
24682
24506
|
data[1],
|
|
24683
24507
|
msg,
|
|
24684
24508
|
userData
|
|
24685
24509
|
);
|
|
24686
24510
|
});
|
|
24687
24511
|
} else {
|
|
24688
|
-
((
|
|
24689
|
-
|
|
24690
|
-
a2
|
|
24691
|
-
) => {}) /* 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. */(
|
|
24692
|
-
data,
|
|
24512
|
+
((a1, a2) => {})(
|
|
24513
|
+
/* 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. */ data,
|
|
24693
24514
|
userData
|
|
24694
24515
|
);
|
|
24695
24516
|
}
|
|
@@ -25155,12 +24976,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25155
24976
|
) => {
|
|
25156
24977
|
var webGlEventHandlerFunc = (e = event) => {
|
|
25157
24978
|
if (
|
|
25158
|
-
((
|
|
25159
|
-
|
|
25160
|
-
a2,
|
|
25161
|
-
a3
|
|
25162
|
-
) => {}) /* 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. */(
|
|
25163
|
-
eventTypeId,
|
|
24979
|
+
((a1, a2, a3) => {})(
|
|
24980
|
+
/* 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. */ eventTypeId,
|
|
25164
24981
|
0,
|
|
25165
24982
|
userData
|
|
25166
24983
|
)
|
|
@@ -25379,21 +25196,15 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25379
25196
|
) {
|
|
25380
25197
|
event.preventDefault();
|
|
25381
25198
|
GLUT.saveModifiers(event);
|
|
25382
|
-
((
|
|
25383
|
-
|
|
25384
|
-
a2
|
|
25385
|
-
) => {}) /* 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. */(
|
|
25386
|
-
lastX,
|
|
25199
|
+
((a1, a2) => {})(
|
|
25200
|
+
/* 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. */ lastX,
|
|
25387
25201
|
lastY
|
|
25388
25202
|
);
|
|
25389
25203
|
} else if (GLUT.buttons != 0 && GLUT.motionFunc) {
|
|
25390
25204
|
event.preventDefault();
|
|
25391
25205
|
GLUT.saveModifiers(event);
|
|
25392
|
-
((
|
|
25393
|
-
|
|
25394
|
-
a2
|
|
25395
|
-
) => {}) /* 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. */(
|
|
25396
|
-
lastX,
|
|
25206
|
+
((a1, a2) => {})(
|
|
25207
|
+
/* 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. */ lastX,
|
|
25397
25208
|
lastY
|
|
25398
25209
|
);
|
|
25399
25210
|
}
|
|
@@ -25554,12 +25365,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25554
25365
|
if (GLUT.specialFunc) {
|
|
25555
25366
|
event.preventDefault();
|
|
25556
25367
|
GLUT.saveModifiers(event);
|
|
25557
|
-
((
|
|
25558
|
-
|
|
25559
|
-
a2,
|
|
25560
|
-
a3
|
|
25561
|
-
) => {}) /* 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. */(
|
|
25562
|
-
key,
|
|
25368
|
+
((a1, a2, a3) => {})(
|
|
25369
|
+
/* 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. */ key,
|
|
25563
25370
|
Browser.mouseX,
|
|
25564
25371
|
Browser.mouseY
|
|
25565
25372
|
);
|
|
@@ -25569,12 +25376,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25569
25376
|
if (key !== null && GLUT.keyboardFunc) {
|
|
25570
25377
|
event.preventDefault();
|
|
25571
25378
|
GLUT.saveModifiers(event);
|
|
25572
|
-
((
|
|
25573
|
-
|
|
25574
|
-
a2,
|
|
25575
|
-
a3
|
|
25576
|
-
) => {}) /* 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. */(
|
|
25577
|
-
key,
|
|
25379
|
+
((a1, a2, a3) => {})(
|
|
25380
|
+
/* 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. */ key,
|
|
25578
25381
|
Browser.mouseX,
|
|
25579
25382
|
Browser.mouseY
|
|
25580
25383
|
);
|
|
@@ -25589,12 +25392,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25589
25392
|
if (GLUT.specialUpFunc) {
|
|
25590
25393
|
event.preventDefault();
|
|
25591
25394
|
GLUT.saveModifiers(event);
|
|
25592
|
-
((
|
|
25593
|
-
|
|
25594
|
-
a2,
|
|
25595
|
-
a3
|
|
25596
|
-
) => {}) /* 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. */(
|
|
25597
|
-
key,
|
|
25395
|
+
((a1, a2, a3) => {})(
|
|
25396
|
+
/* 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. */ key,
|
|
25598
25397
|
Browser.mouseX,
|
|
25599
25398
|
Browser.mouseY
|
|
25600
25399
|
);
|
|
@@ -25604,12 +25403,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25604
25403
|
if (key !== null && GLUT.keyboardUpFunc) {
|
|
25605
25404
|
event.preventDefault();
|
|
25606
25405
|
GLUT.saveModifiers(event);
|
|
25607
|
-
((
|
|
25608
|
-
|
|
25609
|
-
a2,
|
|
25610
|
-
a3
|
|
25611
|
-
) => {}) /* 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. */(
|
|
25612
|
-
key,
|
|
25406
|
+
((a1, a2, a3) => {})(
|
|
25407
|
+
/* 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. */ key,
|
|
25613
25408
|
Browser.mouseX,
|
|
25614
25409
|
Browser.mouseY
|
|
25615
25410
|
);
|
|
@@ -25673,13 +25468,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25673
25468
|
} catch (e) {}
|
|
25674
25469
|
event.preventDefault();
|
|
25675
25470
|
GLUT.saveModifiers(event);
|
|
25676
|
-
((
|
|
25677
|
-
|
|
25678
|
-
|
|
25679
|
-
|
|
25680
|
-
a4
|
|
25681
|
-
) => {}) /* 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. */(
|
|
25682
|
-
event['button'],
|
|
25471
|
+
((a1, a2, a3, a4) => {})(
|
|
25472
|
+
/* 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. */ event[
|
|
25473
|
+
'button'
|
|
25474
|
+
],
|
|
25683
25475
|
0 /*GLUT_DOWN*/,
|
|
25684
25476
|
Browser.mouseX,
|
|
25685
25477
|
Browser.mouseY
|
|
@@ -25694,13 +25486,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25694
25486
|
if (GLUT.mouseFunc) {
|
|
25695
25487
|
event.preventDefault();
|
|
25696
25488
|
GLUT.saveModifiers(event);
|
|
25697
|
-
((
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
a4
|
|
25702
|
-
) => {}) /* 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. */(
|
|
25703
|
-
event['button'],
|
|
25489
|
+
((a1, a2, a3, a4) => {})(
|
|
25490
|
+
/* 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. */ event[
|
|
25491
|
+
'button'
|
|
25492
|
+
],
|
|
25704
25493
|
1 /*GLUT_UP*/,
|
|
25705
25494
|
Browser.mouseX,
|
|
25706
25495
|
Browser.mouseY
|
|
@@ -25729,13 +25518,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25729
25518
|
if (GLUT.mouseFunc) {
|
|
25730
25519
|
event.preventDefault();
|
|
25731
25520
|
GLUT.saveModifiers(event);
|
|
25732
|
-
((
|
|
25733
|
-
|
|
25734
|
-
a2,
|
|
25735
|
-
a3,
|
|
25736
|
-
a4
|
|
25737
|
-
) => {}) /* 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. */(
|
|
25738
|
-
button,
|
|
25521
|
+
((a1, a2, a3, a4) => {})(
|
|
25522
|
+
/* 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. */ button,
|
|
25739
25523
|
0 /*GLUT_DOWN*/,
|
|
25740
25524
|
Browser.mouseX,
|
|
25741
25525
|
Browser.mouseY
|
|
@@ -25778,11 +25562,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25778
25562
|
/* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
|
|
25779
25563
|
if (GLUT.reshapeFunc) {
|
|
25780
25564
|
// out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
|
|
25781
|
-
((
|
|
25782
|
-
|
|
25783
|
-
a2
|
|
25784
|
-
) => {}) /* 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. */(
|
|
25785
|
-
width,
|
|
25565
|
+
((a1, a2) => {})(
|
|
25566
|
+
/* 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. */ width,
|
|
25786
25567
|
height
|
|
25787
25568
|
);
|
|
25788
25569
|
}
|
|
@@ -25825,11 +25606,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25825
25606
|
|
|
25826
25607
|
Browser.resizeListeners.push((width, height) => {
|
|
25827
25608
|
if (GLUT.reshapeFunc) {
|
|
25828
|
-
((
|
|
25829
|
-
|
|
25830
|
-
a2
|
|
25831
|
-
) => {}) /* 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. */(
|
|
25832
|
-
width,
|
|
25609
|
+
((a1, a2) => {})(
|
|
25610
|
+
/* 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. */ width,
|
|
25833
25611
|
height
|
|
25834
25612
|
);
|
|
25835
25613
|
}
|
|
@@ -25942,10 +25720,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25942
25720
|
var _glutTimerFunc = (msec, func, value) =>
|
|
25943
25721
|
safeSetTimeout(
|
|
25944
25722
|
() =>
|
|
25945
|
-
((
|
|
25946
|
-
|
|
25947
|
-
) => {}) /* 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. */(
|
|
25948
|
-
value
|
|
25723
|
+
((a1) => {})(
|
|
25724
|
+
/* 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. */ value
|
|
25949
25725
|
),
|
|
25950
25726
|
msec
|
|
25951
25727
|
);
|
|
@@ -26105,11 +25881,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26105
25881
|
Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
|
|
26106
25882
|
// Just call it once here.
|
|
26107
25883
|
if (GLUT.reshapeFunc) {
|
|
26108
|
-
((
|
|
26109
|
-
|
|
26110
|
-
a2
|
|
26111
|
-
) => {}) /* 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. */(
|
|
26112
|
-
width,
|
|
25884
|
+
((a1, a2) => {})(
|
|
25885
|
+
/* 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. */ width,
|
|
26113
25886
|
height
|
|
26114
25887
|
);
|
|
26115
25888
|
}
|
|
@@ -27171,21 +26944,15 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27171
26944
|
callUserCallback(() => {
|
|
27172
26945
|
if (error) {
|
|
27173
26946
|
if (onerror)
|
|
27174
|
-
((
|
|
27175
|
-
|
|
27176
|
-
) => {}) /* 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. */(
|
|
27177
|
-
arg
|
|
26947
|
+
((a1) => {})(
|
|
26948
|
+
/* 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. */ arg
|
|
27178
26949
|
);
|
|
27179
26950
|
return;
|
|
27180
26951
|
}
|
|
27181
26952
|
var buffer = _malloc(byteArray.length);
|
|
27182
26953
|
HEAPU8.set(byteArray, buffer);
|
|
27183
|
-
((
|
|
27184
|
-
|
|
27185
|
-
a2,
|
|
27186
|
-
a3
|
|
27187
|
-
) => {}) /* 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. */(
|
|
27188
|
-
arg,
|
|
26954
|
+
((a1, a2, a3) => {})(
|
|
26955
|
+
/* 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. */ arg,
|
|
27189
26956
|
buffer,
|
|
27190
26957
|
byteArray.length
|
|
27191
26958
|
);
|
|
@@ -27217,18 +26984,14 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27217
26984
|
callUserCallback(() => {
|
|
27218
26985
|
if (error) {
|
|
27219
26986
|
if (onerror)
|
|
27220
|
-
((
|
|
27221
|
-
|
|
27222
|
-
) => {}) /* 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. */(
|
|
27223
|
-
arg
|
|
26987
|
+
((a1) => {})(
|
|
26988
|
+
/* 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. */ arg
|
|
27224
26989
|
);
|
|
27225
26990
|
return;
|
|
27226
26991
|
}
|
|
27227
26992
|
if (onstore)
|
|
27228
|
-
((
|
|
27229
|
-
|
|
27230
|
-
) => {}) /* 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. */(
|
|
27231
|
-
arg
|
|
26993
|
+
((a1) => {})(
|
|
26994
|
+
/* 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. */ arg
|
|
27232
26995
|
);
|
|
27233
26996
|
});
|
|
27234
26997
|
}
|
|
@@ -27243,18 +27006,14 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27243
27006
|
callUserCallback(() => {
|
|
27244
27007
|
if (error) {
|
|
27245
27008
|
if (onerror)
|
|
27246
|
-
((
|
|
27247
|
-
|
|
27248
|
-
) => {}) /* 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. */(
|
|
27249
|
-
arg
|
|
27009
|
+
((a1) => {})(
|
|
27010
|
+
/* 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. */ arg
|
|
27250
27011
|
);
|
|
27251
27012
|
return;
|
|
27252
27013
|
}
|
|
27253
27014
|
if (ondelete)
|
|
27254
|
-
((
|
|
27255
|
-
|
|
27256
|
-
) => {}) /* 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. */(
|
|
27257
|
-
arg
|
|
27015
|
+
((a1) => {})(
|
|
27016
|
+
/* 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. */ arg
|
|
27258
27017
|
);
|
|
27259
27018
|
});
|
|
27260
27019
|
});
|
|
@@ -27271,19 +27030,14 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27271
27030
|
callUserCallback(() => {
|
|
27272
27031
|
if (error) {
|
|
27273
27032
|
if (onerror)
|
|
27274
|
-
((
|
|
27275
|
-
|
|
27276
|
-
) => {}) /* 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. */(
|
|
27277
|
-
arg
|
|
27033
|
+
((a1) => {})(
|
|
27034
|
+
/* 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. */ arg
|
|
27278
27035
|
);
|
|
27279
27036
|
return;
|
|
27280
27037
|
}
|
|
27281
27038
|
if (oncheck)
|
|
27282
|
-
((
|
|
27283
|
-
|
|
27284
|
-
a2
|
|
27285
|
-
) => {}) /* 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. */(
|
|
27286
|
-
arg,
|
|
27039
|
+
((a1, a2) => {})(
|
|
27040
|
+
/* 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. */ arg,
|
|
27287
27041
|
exists
|
|
27288
27042
|
);
|
|
27289
27043
|
});
|
|
@@ -27299,18 +27053,14 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27299
27053
|
callUserCallback(() => {
|
|
27300
27054
|
if (error) {
|
|
27301
27055
|
if (onerror)
|
|
27302
|
-
((
|
|
27303
|
-
|
|
27304
|
-
) => {}) /* 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. */(
|
|
27305
|
-
arg
|
|
27056
|
+
((a1) => {})(
|
|
27057
|
+
/* 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. */ arg
|
|
27306
27058
|
);
|
|
27307
27059
|
return;
|
|
27308
27060
|
}
|
|
27309
27061
|
if (onclear)
|
|
27310
|
-
((
|
|
27311
|
-
|
|
27312
|
-
) => {}) /* 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. */(
|
|
27313
|
-
arg
|
|
27062
|
+
((a1) => {})(
|
|
27063
|
+
/* 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. */ arg
|
|
27314
27064
|
);
|
|
27315
27065
|
});
|
|
27316
27066
|
});
|
|
@@ -27467,11 +27217,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27467
27217
|
safeSetTimeout(() => {
|
|
27468
27218
|
var stackBegin = Asyncify.currData + 12;
|
|
27469
27219
|
var stackEnd = HEAPU32[Asyncify.currData >> 2];
|
|
27470
|
-
((
|
|
27471
|
-
|
|
27472
|
-
a2
|
|
27473
|
-
) => {}) /* 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. */(
|
|
27474
|
-
stackBegin,
|
|
27220
|
+
((a1, a2) => {})(
|
|
27221
|
+
/* 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. */ stackBegin,
|
|
27475
27222
|
stackEnd
|
|
27476
27223
|
);
|
|
27477
27224
|
wakeUp();
|
|
@@ -27532,10 +27279,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27532
27279
|
HEAPU32[(newFiber + 12) >> 2] = 0;
|
|
27533
27280
|
|
|
27534
27281
|
var userData = HEAPU32[(newFiber + 16) >> 2];
|
|
27535
|
-
((
|
|
27536
|
-
|
|
27537
|
-
) => {}) /* 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. */(
|
|
27538
|
-
userData
|
|
27282
|
+
((a1) => {})(
|
|
27283
|
+
/* 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. */ userData
|
|
27539
27284
|
);
|
|
27540
27285
|
} else {
|
|
27541
27286
|
var asyncifyData = newFiber + 20;
|
|
@@ -28547,11 +28292,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
28547
28292
|
if (!SDL.eventHandler) return;
|
|
28548
28293
|
|
|
28549
28294
|
while (SDL.pollEvent(SDL.eventHandlerTemp)) {
|
|
28550
|
-
((
|
|
28551
|
-
|
|
28552
|
-
a2
|
|
28553
|
-
) => {}) /* 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. */(
|
|
28554
|
-
SDL.eventHandlerContext,
|
|
28295
|
+
((a1, a2) => {})(
|
|
28296
|
+
/* 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. */ SDL.eventHandlerContext,
|
|
28555
28297
|
SDL.eventHandlerTemp
|
|
28556
28298
|
);
|
|
28557
28299
|
}
|
|
@@ -30184,12 +29926,9 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30184
29926
|
return;
|
|
30185
29927
|
|
|
30186
29928
|
// Ask SDL audio data from the user code.
|
|
30187
|
-
((
|
|
30188
|
-
|
|
30189
|
-
|
|
30190
|
-
a3
|
|
30191
|
-
) => {}) /* 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. */(
|
|
30192
|
-
SDL.audio.userdata,
|
|
29929
|
+
((a1, a2, a3) => {})(
|
|
29930
|
+
/* 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. */ SDL
|
|
29931
|
+
.audio.userdata,
|
|
30193
29932
|
SDL.audio.buffer,
|
|
30194
29933
|
SDL.audio.bufferSize
|
|
30195
29934
|
);
|
|
@@ -30647,10 +30386,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30647
30386
|
info.audio = null;
|
|
30648
30387
|
}
|
|
30649
30388
|
if (SDL.channelFinished) {
|
|
30650
|
-
((
|
|
30651
|
-
|
|
30652
|
-
) => {}) /* 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. */(
|
|
30653
|
-
channel
|
|
30389
|
+
((a1) => {})(
|
|
30390
|
+
/* 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. */ channel
|
|
30654
30391
|
);
|
|
30655
30392
|
}
|
|
30656
30393
|
}
|
|
@@ -30719,10 +30456,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30719
30456
|
channelInfo.audio = null;
|
|
30720
30457
|
}
|
|
30721
30458
|
if (SDL.channelFinished)
|
|
30722
|
-
((
|
|
30723
|
-
|
|
30724
|
-
) => {}) /* 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. */(
|
|
30725
|
-
channel
|
|
30459
|
+
((a1) => {})(
|
|
30460
|
+
/* 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. */ channel
|
|
30726
30461
|
);
|
|
30727
30462
|
};
|
|
30728
30463
|
if (channelInfo.audio) {
|
|
@@ -31470,11 +31205,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31470
31205
|
var _SDL_AddTimer = (interval, callback, param) =>
|
|
31471
31206
|
safeSetTimeout(
|
|
31472
31207
|
() =>
|
|
31473
|
-
((
|
|
31474
|
-
|
|
31475
|
-
a2
|
|
31476
|
-
) => {}) /* 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. */(
|
|
31477
|
-
interval,
|
|
31208
|
+
((a1, a2) => {})(
|
|
31209
|
+
/* 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. */ interval,
|
|
31478
31210
|
param
|
|
31479
31211
|
),
|
|
31480
31212
|
interval
|
|
@@ -31840,12 +31572,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31840
31572
|
|
|
31841
31573
|
socket.onopen = function (e) {
|
|
31842
31574
|
var eventPtr = WS.getSocketEvent(socketId);
|
|
31843
|
-
((
|
|
31844
|
-
|
|
31845
|
-
a2,
|
|
31846
|
-
a3
|
|
31847
|
-
) => {}) /* 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. */(
|
|
31848
|
-
0 /*TODO*/,
|
|
31575
|
+
((a1, a2, a3) => {})(
|
|
31576
|
+
/* 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. */ 0 /*TODO*/,
|
|
31849
31577
|
eventPtr,
|
|
31850
31578
|
userData
|
|
31851
31579
|
);
|
|
@@ -31867,12 +31595,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31867
31595
|
|
|
31868
31596
|
socket.onerror = function (e) {
|
|
31869
31597
|
var eventPtr = WS.getSocketEvent(socketId);
|
|
31870
|
-
((
|
|
31871
|
-
|
|
31872
|
-
a2,
|
|
31873
|
-
a3
|
|
31874
|
-
) => {}) /* 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. */(
|
|
31875
|
-
0 /*TODO*/,
|
|
31598
|
+
((a1, a2, a3) => {})(
|
|
31599
|
+
/* 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. */ 0 /*TODO*/,
|
|
31876
31600
|
eventPtr,
|
|
31877
31601
|
userData
|
|
31878
31602
|
);
|
|
@@ -31897,12 +31621,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31897
31621
|
(HEAP8[eventPtr + 4] = e.wasClean),
|
|
31898
31622
|
(HEAP16[(eventPtr + 6) >> 1] = e.code),
|
|
31899
31623
|
stringToUTF8(e.reason, eventPtr + 8, 512);
|
|
31900
|
-
((
|
|
31901
|
-
|
|
31902
|
-
a2,
|
|
31903
|
-
a3
|
|
31904
|
-
) => {}) /* 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. */(
|
|
31905
|
-
0 /*TODO*/,
|
|
31624
|
+
((a1, a2, a3) => {})(
|
|
31625
|
+
/* 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. */ 0 /*TODO*/,
|
|
31906
31626
|
eventPtr,
|
|
31907
31627
|
userData
|
|
31908
31628
|
);
|
|
@@ -31936,12 +31656,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31936
31656
|
(HEAPU32[(eventPtr + 4) >> 2] = buf),
|
|
31937
31657
|
(HEAP32[(eventPtr + 8) >> 2] = len),
|
|
31938
31658
|
(HEAP8[eventPtr + 12] = isText),
|
|
31939
|
-
((
|
|
31940
|
-
|
|
31941
|
-
a2,
|
|
31942
|
-
a3
|
|
31943
|
-
) => {}) /* 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. */(
|
|
31944
|
-
0 /*TODO*/,
|
|
31659
|
+
((a1, a2, a3) => {})(
|
|
31660
|
+
/* 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. */ 0 /*TODO*/,
|
|
31945
31661
|
eventPtr,
|
|
31946
31662
|
userData
|
|
31947
31663
|
);
|
|
@@ -32138,13 +31854,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
32138
31854
|
// End JS library code
|
|
32139
31855
|
|
|
32140
31856
|
var ASM_CONSTS = {
|
|
32141
|
-
|
|
31857
|
+
14052445: ($0) => {
|
|
32142
31858
|
if (!$0) {
|
|
32143
31859
|
AL.alcErr = 0xa004;
|
|
32144
31860
|
return 1;
|
|
32145
31861
|
}
|
|
32146
31862
|
},
|
|
32147
|
-
|
|
31863
|
+
14052493: ($0) => {
|
|
32148
31864
|
if (!AL.currentCtx) {
|
|
32149
31865
|
err('alGetProcAddress() called without a valid context');
|
|
32150
31866
|
return 1;
|
|
@@ -34881,10 +34597,16 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
34881
34597
|
/** @export */
|
|
34882
34598
|
glutTimerFunc: _glutTimerFunc,
|
|
34883
34599
|
/** @export */
|
|
34600
|
+
invoke_dii,
|
|
34601
|
+
/** @export */
|
|
34884
34602
|
invoke_i,
|
|
34885
34603
|
/** @export */
|
|
34604
|
+
invoke_id,
|
|
34605
|
+
/** @export */
|
|
34886
34606
|
invoke_ii,
|
|
34887
34607
|
/** @export */
|
|
34608
|
+
invoke_iifi,
|
|
34609
|
+
/** @export */
|
|
34888
34610
|
invoke_iii,
|
|
34889
34611
|
/** @export */
|
|
34890
34612
|
invoke_iiii,
|
|
@@ -34909,6 +34631,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
34909
34631
|
/** @export */
|
|
34910
34632
|
invoke_iiij,
|
|
34911
34633
|
/** @export */
|
|
34634
|
+
invoke_iiijj,
|
|
34635
|
+
/** @export */
|
|
34912
34636
|
invoke_iij,
|
|
34913
34637
|
/** @export */
|
|
34914
34638
|
invoke_iiji,
|
|
@@ -34925,12 +34649,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
34925
34649
|
/** @export */
|
|
34926
34650
|
invoke_jiii,
|
|
34927
34651
|
/** @export */
|
|
34652
|
+
invoke_jiji,
|
|
34653
|
+
/** @export */
|
|
34928
34654
|
invoke_v,
|
|
34929
34655
|
/** @export */
|
|
34930
34656
|
invoke_vi,
|
|
34931
34657
|
/** @export */
|
|
34932
34658
|
invoke_vii,
|
|
34933
34659
|
/** @export */
|
|
34660
|
+
invoke_viid,
|
|
34661
|
+
/** @export */
|
|
34662
|
+
invoke_viidddddddd,
|
|
34663
|
+
/** @export */
|
|
34934
34664
|
invoke_viidii,
|
|
34935
34665
|
/** @export */
|
|
34936
34666
|
invoke_viii,
|
|
@@ -34957,6 +34687,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
34957
34687
|
/** @export */
|
|
34958
34688
|
invoke_viijii,
|
|
34959
34689
|
/** @export */
|
|
34690
|
+
invoke_vij,
|
|
34691
|
+
/** @export */
|
|
34960
34692
|
invoke_vijj,
|
|
34961
34693
|
/** @export */
|
|
34962
34694
|
invoke_vji,
|
|
@@ -35851,6 +35583,119 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
35851
35583
|
}
|
|
35852
35584
|
}
|
|
35853
35585
|
|
|
35586
|
+
function invoke_jiji(index, a1, a2, a3) {
|
|
35587
|
+
var sp = stackSave();
|
|
35588
|
+
try {
|
|
35589
|
+
return Module['dynCall_jiji'](index, a1, a2, a3);
|
|
35590
|
+
} catch (e) {
|
|
35591
|
+
stackRestore(sp);
|
|
35592
|
+
if (e !== e + 0) throw e;
|
|
35593
|
+
_setThrew(1, 0);
|
|
35594
|
+
return 0n;
|
|
35595
|
+
}
|
|
35596
|
+
}
|
|
35597
|
+
|
|
35598
|
+
function invoke_iiijj(index, a1, a2, a3, a4) {
|
|
35599
|
+
var sp = stackSave();
|
|
35600
|
+
try {
|
|
35601
|
+
return Module['dynCall_iiijj'](index, a1, a2, a3, a4);
|
|
35602
|
+
} catch (e) {
|
|
35603
|
+
stackRestore(sp);
|
|
35604
|
+
if (e !== e + 0) throw e;
|
|
35605
|
+
_setThrew(1, 0);
|
|
35606
|
+
}
|
|
35607
|
+
}
|
|
35608
|
+
|
|
35609
|
+
function invoke_vij(index, a1, a2) {
|
|
35610
|
+
var sp = stackSave();
|
|
35611
|
+
try {
|
|
35612
|
+
Module['dynCall_vij'](index, a1, a2);
|
|
35613
|
+
} catch (e) {
|
|
35614
|
+
stackRestore(sp);
|
|
35615
|
+
if (e !== e + 0) throw e;
|
|
35616
|
+
_setThrew(1, 0);
|
|
35617
|
+
}
|
|
35618
|
+
}
|
|
35619
|
+
|
|
35620
|
+
function invoke_dii(index, a1, a2) {
|
|
35621
|
+
var sp = stackSave();
|
|
35622
|
+
try {
|
|
35623
|
+
return Module['dynCall_dii'](index, a1, a2);
|
|
35624
|
+
} catch (e) {
|
|
35625
|
+
stackRestore(sp);
|
|
35626
|
+
if (e !== e + 0) throw e;
|
|
35627
|
+
_setThrew(1, 0);
|
|
35628
|
+
}
|
|
35629
|
+
}
|
|
35630
|
+
|
|
35631
|
+
function invoke_viid(index, a1, a2, a3) {
|
|
35632
|
+
var sp = stackSave();
|
|
35633
|
+
try {
|
|
35634
|
+
Module['dynCall_viid'](index, a1, a2, a3);
|
|
35635
|
+
} catch (e) {
|
|
35636
|
+
stackRestore(sp);
|
|
35637
|
+
if (e !== e + 0) throw e;
|
|
35638
|
+
_setThrew(1, 0);
|
|
35639
|
+
}
|
|
35640
|
+
}
|
|
35641
|
+
|
|
35642
|
+
function invoke_viidddddddd(
|
|
35643
|
+
index,
|
|
35644
|
+
a1,
|
|
35645
|
+
a2,
|
|
35646
|
+
a3,
|
|
35647
|
+
a4,
|
|
35648
|
+
a5,
|
|
35649
|
+
a6,
|
|
35650
|
+
a7,
|
|
35651
|
+
a8,
|
|
35652
|
+
a9,
|
|
35653
|
+
a10
|
|
35654
|
+
) {
|
|
35655
|
+
var sp = stackSave();
|
|
35656
|
+
try {
|
|
35657
|
+
Module['dynCall_viidddddddd'](
|
|
35658
|
+
index,
|
|
35659
|
+
a1,
|
|
35660
|
+
a2,
|
|
35661
|
+
a3,
|
|
35662
|
+
a4,
|
|
35663
|
+
a5,
|
|
35664
|
+
a6,
|
|
35665
|
+
a7,
|
|
35666
|
+
a8,
|
|
35667
|
+
a9,
|
|
35668
|
+
a10
|
|
35669
|
+
);
|
|
35670
|
+
} catch (e) {
|
|
35671
|
+
stackRestore(sp);
|
|
35672
|
+
if (e !== e + 0) throw e;
|
|
35673
|
+
_setThrew(1, 0);
|
|
35674
|
+
}
|
|
35675
|
+
}
|
|
35676
|
+
|
|
35677
|
+
function invoke_id(index, a1) {
|
|
35678
|
+
var sp = stackSave();
|
|
35679
|
+
try {
|
|
35680
|
+
return Module['dynCall_id'](index, a1);
|
|
35681
|
+
} catch (e) {
|
|
35682
|
+
stackRestore(sp);
|
|
35683
|
+
if (e !== e + 0) throw e;
|
|
35684
|
+
_setThrew(1, 0);
|
|
35685
|
+
}
|
|
35686
|
+
}
|
|
35687
|
+
|
|
35688
|
+
function invoke_iifi(index, a1, a2, a3) {
|
|
35689
|
+
var sp = stackSave();
|
|
35690
|
+
try {
|
|
35691
|
+
return Module['dynCall_iifi'](index, a1, a2, a3);
|
|
35692
|
+
} catch (e) {
|
|
35693
|
+
stackRestore(sp);
|
|
35694
|
+
if (e !== e + 0) throw e;
|
|
35695
|
+
_setThrew(1, 0);
|
|
35696
|
+
}
|
|
35697
|
+
}
|
|
35698
|
+
|
|
35854
35699
|
// include: postamble.js
|
|
35855
35700
|
// === Auto-generated postamble setup entry stuff ===
|
|
35856
35701
|
|