@php-wasm/node 3.0.18 → 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_7_4.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path';
|
|
|
8
8
|
|
|
9
9
|
const dependencyFilename = path.join(__dirname, '7_4_33', 'php_7_4.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 28639984;
|
|
12
12
|
const phpVersionString = '7.4.33';
|
|
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 = 12511936;
|
|
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: 12763,
|
|
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 = 12511936;
|
|
1790
1894
|
|
|
1791
|
-
var ___stack_low =
|
|
1895
|
+
var ___stack_low = 11463360;
|
|
1792
1896
|
|
|
1793
1897
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1794
1898
|
{ value: 'i32', mutable: true },
|
|
1795
|
-
|
|
1899
|
+
12511936
|
|
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
|
);
|
|
@@ -18681,8 +18779,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18681
18779
|
|
|
18682
18780
|
var getTempRet0 = (val) => __emscripten_tempret_get();
|
|
18683
18781
|
|
|
18684
|
-
var setTempRet0 = (val) => __emscripten_tempret_set(val);
|
|
18685
|
-
|
|
18686
18782
|
var _stackAlloc = stackAlloc;
|
|
18687
18783
|
|
|
18688
18784
|
var _stackSave = stackSave;
|
|
@@ -19454,11 +19550,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19454
19550
|
var trace = getCallstack();
|
|
19455
19551
|
var parts = trace.split('\n');
|
|
19456
19552
|
for (var i = 0; i < parts.length; i++) {
|
|
19457
|
-
var ret = ((
|
|
19458
|
-
|
|
19459
|
-
a2
|
|
19460
|
-
) => {}) /* 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. */(
|
|
19461
|
-
0,
|
|
19553
|
+
var ret = ((a1, a2) => {})(
|
|
19554
|
+
/* 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,
|
|
19462
19555
|
arg
|
|
19463
19556
|
);
|
|
19464
19557
|
if (ret !== 0) return;
|
|
@@ -19472,65 +19565,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19472
19565
|
var __Unwind_FindEnclosingFunction = (ip) => 0;
|
|
19473
19566
|
__Unwind_FindEnclosingFunction.sig = 'pp';
|
|
19474
19567
|
|
|
19475
|
-
class ExceptionInfo {
|
|
19476
|
-
// excPtr - Thrown object pointer to wrap. Metadata pointer is calculated from it.
|
|
19477
|
-
constructor(excPtr) {
|
|
19478
|
-
this.excPtr = excPtr;
|
|
19479
|
-
this.ptr = excPtr - 24;
|
|
19480
|
-
}
|
|
19481
|
-
|
|
19482
|
-
set_type(type) {
|
|
19483
|
-
HEAPU32[(this.ptr + 4) >> 2] = type;
|
|
19484
|
-
}
|
|
19485
|
-
|
|
19486
|
-
get_type() {
|
|
19487
|
-
return HEAPU32[(this.ptr + 4) >> 2];
|
|
19488
|
-
}
|
|
19489
|
-
|
|
19490
|
-
set_destructor(destructor) {
|
|
19491
|
-
HEAPU32[(this.ptr + 8) >> 2] = destructor;
|
|
19492
|
-
}
|
|
19493
|
-
|
|
19494
|
-
get_destructor() {
|
|
19495
|
-
return HEAPU32[(this.ptr + 8) >> 2];
|
|
19496
|
-
}
|
|
19497
|
-
|
|
19498
|
-
set_caught(caught) {
|
|
19499
|
-
caught = caught ? 1 : 0;
|
|
19500
|
-
HEAP8[this.ptr + 12] = caught;
|
|
19501
|
-
}
|
|
19502
|
-
|
|
19503
|
-
get_caught() {
|
|
19504
|
-
return HEAP8[this.ptr + 12] != 0;
|
|
19505
|
-
}
|
|
19506
|
-
|
|
19507
|
-
set_rethrown(rethrown) {
|
|
19508
|
-
rethrown = rethrown ? 1 : 0;
|
|
19509
|
-
HEAP8[this.ptr + 13] = rethrown;
|
|
19510
|
-
}
|
|
19511
|
-
|
|
19512
|
-
get_rethrown() {
|
|
19513
|
-
return HEAP8[this.ptr + 13] != 0;
|
|
19514
|
-
}
|
|
19515
|
-
|
|
19516
|
-
// Initialize native structure fields. Should be called once after allocated.
|
|
19517
|
-
init(type, destructor) {
|
|
19518
|
-
this.set_adjusted_ptr(0);
|
|
19519
|
-
this.set_type(type);
|
|
19520
|
-
this.set_destructor(destructor);
|
|
19521
|
-
}
|
|
19522
|
-
|
|
19523
|
-
set_adjusted_ptr(adjustedPtr) {
|
|
19524
|
-
HEAPU32[(this.ptr + 16) >> 2] = adjustedPtr;
|
|
19525
|
-
}
|
|
19526
|
-
|
|
19527
|
-
get_adjusted_ptr() {
|
|
19528
|
-
return HEAPU32[(this.ptr + 16) >> 2];
|
|
19529
|
-
}
|
|
19530
|
-
}
|
|
19531
|
-
|
|
19532
|
-
var exceptionLast = 0;
|
|
19533
|
-
|
|
19534
19568
|
var uncaughtExceptionCount = 0;
|
|
19535
19569
|
var ___cxa_throw = (ptr, type, destructor) => {
|
|
19536
19570
|
var info = new ExceptionInfo(ptr);
|
|
@@ -20103,12 +20137,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20103
20137
|
stringToUTF8(e.locale || '', keyEventData + 128, 32);
|
|
20104
20138
|
|
|
20105
20139
|
if (
|
|
20106
|
-
((
|
|
20107
|
-
|
|
20108
|
-
a2,
|
|
20109
|
-
a3
|
|
20110
|
-
) => {}) /* 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. */(
|
|
20111
|
-
eventTypeId,
|
|
20140
|
+
((a1, a2, a3) => {})(
|
|
20141
|
+
/* 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,
|
|
20112
20142
|
keyEventData,
|
|
20113
20143
|
userData
|
|
20114
20144
|
)
|
|
@@ -20226,12 +20256,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20226
20256
|
fillMouseEventData(JSEvents.mouseEvent, e, target);
|
|
20227
20257
|
|
|
20228
20258
|
if (
|
|
20229
|
-
((
|
|
20230
|
-
|
|
20231
|
-
a2,
|
|
20232
|
-
a3
|
|
20233
|
-
) => {}) /* 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. */(
|
|
20234
|
-
eventTypeId,
|
|
20259
|
+
((a1, a2, a3) => {})(
|
|
20260
|
+
/* 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,
|
|
20235
20261
|
JSEvents.mouseEvent,
|
|
20236
20262
|
userData
|
|
20237
20263
|
)
|
|
@@ -20445,12 +20471,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20445
20471
|
HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
|
|
20446
20472
|
HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
|
|
20447
20473
|
if (
|
|
20448
|
-
((
|
|
20449
|
-
|
|
20450
|
-
a2,
|
|
20451
|
-
a3
|
|
20452
|
-
) => {}) /* 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. */(
|
|
20453
|
-
eventTypeId,
|
|
20474
|
+
((a1, a2, a3) => {})(
|
|
20475
|
+
/* 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,
|
|
20454
20476
|
wheelEvent,
|
|
20455
20477
|
userData
|
|
20456
20478
|
)
|
|
@@ -20531,12 +20553,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20531
20553
|
HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
|
|
20532
20554
|
HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
|
|
20533
20555
|
if (
|
|
20534
|
-
((
|
|
20535
|
-
|
|
20536
|
-
a2,
|
|
20537
|
-
a3
|
|
20538
|
-
) => {}) /* 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. */(
|
|
20539
|
-
eventTypeId,
|
|
20556
|
+
((a1, a2, a3) => {})(
|
|
20557
|
+
/* 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,
|
|
20540
20558
|
uiEvent,
|
|
20541
20559
|
userData
|
|
20542
20560
|
)
|
|
@@ -20610,12 +20628,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20610
20628
|
stringToUTF8(id, focusEvent + 128, 128);
|
|
20611
20629
|
|
|
20612
20630
|
if (
|
|
20613
|
-
((
|
|
20614
|
-
|
|
20615
|
-
a2,
|
|
20616
|
-
a3
|
|
20617
|
-
) => {}) /* 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. */(
|
|
20618
|
-
eventTypeId,
|
|
20631
|
+
((a1, a2, a3) => {})(
|
|
20632
|
+
/* 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,
|
|
20619
20633
|
focusEvent,
|
|
20620
20634
|
userData
|
|
20621
20635
|
)
|
|
@@ -20731,12 +20745,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20731
20745
|
); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
|
|
20732
20746
|
|
|
20733
20747
|
if (
|
|
20734
|
-
((
|
|
20735
|
-
|
|
20736
|
-
a2,
|
|
20737
|
-
a3
|
|
20738
|
-
) => {}) /* 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. */(
|
|
20739
|
-
eventTypeId,
|
|
20748
|
+
((a1, a2, a3) => {})(
|
|
20749
|
+
/* 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,
|
|
20740
20750
|
JSEvents.deviceOrientationEvent,
|
|
20741
20751
|
userData
|
|
20742
20752
|
)
|
|
@@ -20819,12 +20829,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20819
20829
|
fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
|
|
20820
20830
|
|
|
20821
20831
|
if (
|
|
20822
|
-
((
|
|
20823
|
-
|
|
20824
|
-
a2,
|
|
20825
|
-
a3
|
|
20826
|
-
) => {}) /* 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. */(
|
|
20827
|
-
eventTypeId,
|
|
20832
|
+
((a1, a2, a3) => {})(
|
|
20833
|
+
/* 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,
|
|
20828
20834
|
JSEvents.deviceMotionEvent,
|
|
20829
20835
|
userData
|
|
20830
20836
|
)
|
|
@@ -20934,12 +20940,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20934
20940
|
fillOrientationChangeEventData(orientationChangeEvent);
|
|
20935
20941
|
|
|
20936
20942
|
if (
|
|
20937
|
-
((
|
|
20938
|
-
|
|
20939
|
-
a2,
|
|
20940
|
-
a3
|
|
20941
|
-
) => {}) /* 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. */(
|
|
20942
|
-
eventTypeId,
|
|
20943
|
+
((a1, a2, a3) => {})(
|
|
20944
|
+
/* 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,
|
|
20943
20945
|
orientationChangeEvent,
|
|
20944
20946
|
userData
|
|
20945
20947
|
)
|
|
@@ -21072,12 +21074,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21072
21074
|
fillFullscreenChangeEventData(fullscreenChangeEvent);
|
|
21073
21075
|
|
|
21074
21076
|
if (
|
|
21075
|
-
((
|
|
21076
|
-
|
|
21077
|
-
a2,
|
|
21078
|
-
a3
|
|
21079
|
-
) => {}) /* 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. */(
|
|
21080
|
-
eventTypeId,
|
|
21077
|
+
((a1, a2, a3) => {})(
|
|
21078
|
+
/* 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,
|
|
21081
21079
|
fullscreenChangeEvent,
|
|
21082
21080
|
userData
|
|
21083
21081
|
)
|
|
@@ -21241,12 +21239,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21241
21239
|
);
|
|
21242
21240
|
|
|
21243
21241
|
if (currentFullscreenStrategy.canvasResizedCallback) {
|
|
21244
|
-
((
|
|
21245
|
-
|
|
21246
|
-
a2,
|
|
21247
|
-
a3
|
|
21248
|
-
) => {}) /* 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. */(
|
|
21249
|
-
37,
|
|
21242
|
+
((a1, a2, a3) => {})(
|
|
21243
|
+
/* 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,
|
|
21250
21244
|
0,
|
|
21251
21245
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21252
21246
|
);
|
|
@@ -21352,12 +21346,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21352
21346
|
currentFullscreenStrategy = strategy;
|
|
21353
21347
|
|
|
21354
21348
|
if (strategy.canvasResizedCallback) {
|
|
21355
|
-
((
|
|
21356
|
-
|
|
21357
|
-
a2,
|
|
21358
|
-
a3
|
|
21359
|
-
) => {}) /* 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. */(
|
|
21360
|
-
37,
|
|
21349
|
+
((a1, a2, a3) => {})(
|
|
21350
|
+
/* 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,
|
|
21361
21351
|
0,
|
|
21362
21352
|
strategy.canvasResizedCallbackUserData
|
|
21363
21353
|
);
|
|
@@ -21459,12 +21449,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21459
21449
|
!inCenteredWithoutScalingFullscreenMode &&
|
|
21460
21450
|
currentFullscreenStrategy.canvasResizedCallback
|
|
21461
21451
|
) {
|
|
21462
|
-
((
|
|
21463
|
-
|
|
21464
|
-
a2,
|
|
21465
|
-
a3
|
|
21466
|
-
) => {}) /* 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. */(
|
|
21467
|
-
37,
|
|
21452
|
+
((a1, a2, a3) => {})(
|
|
21453
|
+
/* 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,
|
|
21468
21454
|
0,
|
|
21469
21455
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21470
21456
|
);
|
|
@@ -21563,12 +21549,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21563
21549
|
softFullscreenResizeWebGLRenderTarget
|
|
21564
21550
|
);
|
|
21565
21551
|
if (strategy.canvasResizedCallback) {
|
|
21566
|
-
((
|
|
21567
|
-
|
|
21568
|
-
a2,
|
|
21569
|
-
a3
|
|
21570
|
-
) => {}) /* 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. */(
|
|
21571
|
-
37,
|
|
21552
|
+
((a1, a2, a3) => {})(
|
|
21553
|
+
/* 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,
|
|
21572
21554
|
0,
|
|
21573
21555
|
strategy.canvasResizedCallbackUserData
|
|
21574
21556
|
);
|
|
@@ -21581,12 +21563,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21581
21563
|
|
|
21582
21564
|
// Inform the caller that the canvas size has changed.
|
|
21583
21565
|
if (strategy.canvasResizedCallback) {
|
|
21584
|
-
((
|
|
21585
|
-
|
|
21586
|
-
a2,
|
|
21587
|
-
a3
|
|
21588
|
-
) => {}) /* 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. */(
|
|
21589
|
-
37,
|
|
21566
|
+
((a1, a2, a3) => {})(
|
|
21567
|
+
/* 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,
|
|
21590
21568
|
0,
|
|
21591
21569
|
strategy.canvasResizedCallbackUserData
|
|
21592
21570
|
);
|
|
@@ -21654,12 +21632,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21654
21632
|
fillPointerlockChangeEventData(pointerlockChangeEvent);
|
|
21655
21633
|
|
|
21656
21634
|
if (
|
|
21657
|
-
((
|
|
21658
|
-
|
|
21659
|
-
a2,
|
|
21660
|
-
a3
|
|
21661
|
-
) => {}) /* 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. */(
|
|
21662
|
-
eventTypeId,
|
|
21635
|
+
((a1, a2, a3) => {})(
|
|
21636
|
+
/* 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,
|
|
21663
21637
|
pointerlockChangeEvent,
|
|
21664
21638
|
userData
|
|
21665
21639
|
)
|
|
@@ -21749,12 +21723,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21749
21723
|
) => {
|
|
21750
21724
|
var pointerlockErrorEventHandlerFunc = (e = event) => {
|
|
21751
21725
|
if (
|
|
21752
|
-
((
|
|
21753
|
-
|
|
21754
|
-
a2,
|
|
21755
|
-
a3
|
|
21756
|
-
) => {}) /* 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. */(
|
|
21757
|
-
eventTypeId,
|
|
21726
|
+
((a1, a2, a3) => {})(
|
|
21727
|
+
/* 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,
|
|
21758
21728
|
0,
|
|
21759
21729
|
userData
|
|
21760
21730
|
)
|
|
@@ -21954,12 +21924,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21954
21924
|
fillVisibilityChangeEventData(visibilityChangeEvent);
|
|
21955
21925
|
|
|
21956
21926
|
if (
|
|
21957
|
-
((
|
|
21958
|
-
|
|
21959
|
-
a2,
|
|
21960
|
-
a3
|
|
21961
|
-
) => {}) /* 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. */(
|
|
21962
|
-
eventTypeId,
|
|
21927
|
+
((a1, a2, a3) => {})(
|
|
21928
|
+
/* 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,
|
|
21963
21929
|
visibilityChangeEvent,
|
|
21964
21930
|
userData
|
|
21965
21931
|
)
|
|
@@ -22079,12 +22045,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22079
22045
|
HEAP32[(touchEvent + 8) >> 2] = numTouches;
|
|
22080
22046
|
|
|
22081
22047
|
if (
|
|
22082
|
-
((
|
|
22083
|
-
|
|
22084
|
-
a2,
|
|
22085
|
-
a3
|
|
22086
|
-
) => {}) /* 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. */(
|
|
22087
|
-
eventTypeId,
|
|
22048
|
+
((a1, a2, a3) => {})(
|
|
22049
|
+
/* 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,
|
|
22088
22050
|
touchEvent,
|
|
22089
22051
|
userData
|
|
22090
22052
|
)
|
|
@@ -22222,12 +22184,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22222
22184
|
fillGamepadEventData(gamepadEvent, e['gamepad']);
|
|
22223
22185
|
|
|
22224
22186
|
if (
|
|
22225
|
-
((
|
|
22226
|
-
|
|
22227
|
-
a2,
|
|
22228
|
-
a3
|
|
22229
|
-
) => {}) /* 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. */(
|
|
22230
|
-
eventTypeId,
|
|
22187
|
+
((a1, a2, a3) => {})(
|
|
22188
|
+
/* 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,
|
|
22231
22189
|
gamepadEvent,
|
|
22232
22190
|
userData
|
|
22233
22191
|
)
|
|
@@ -22329,12 +22287,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22329
22287
|
) => {
|
|
22330
22288
|
var beforeUnloadEventHandlerFunc = (e = event) => {
|
|
22331
22289
|
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
|
|
22332
|
-
var confirmationMessage = ((
|
|
22333
|
-
|
|
22334
|
-
a2,
|
|
22335
|
-
a3
|
|
22336
|
-
) => {}) /* 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. */(
|
|
22337
|
-
eventTypeId,
|
|
22290
|
+
var confirmationMessage = ((a1, a2, 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. */ eventTypeId,
|
|
22338
22292
|
0,
|
|
22339
22293
|
userData
|
|
22340
22294
|
);
|
|
@@ -22405,12 +22359,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22405
22359
|
fillBatteryEventData(batteryEvent, battery());
|
|
22406
22360
|
|
|
22407
22361
|
if (
|
|
22408
|
-
((
|
|
22409
|
-
|
|
22410
|
-
a2,
|
|
22411
|
-
a3
|
|
22412
|
-
) => {}) /* 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. */(
|
|
22413
|
-
eventTypeId,
|
|
22362
|
+
((a1, a2, a3) => {})(
|
|
22363
|
+
/* 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,
|
|
22414
22364
|
batteryEvent,
|
|
22415
22365
|
userData
|
|
22416
22366
|
)
|
|
@@ -22500,11 +22450,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22500
22450
|
|
|
22501
22451
|
var _emscripten_request_animation_frame = (cb, userData) =>
|
|
22502
22452
|
requestAnimationFrame((timeStamp) =>
|
|
22503
|
-
((
|
|
22504
|
-
|
|
22505
|
-
a2
|
|
22506
|
-
) => {}) /* 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. */(
|
|
22507
|
-
timeStamp,
|
|
22453
|
+
((a1, a2) => {})(
|
|
22454
|
+
/* 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,
|
|
22508
22455
|
userData
|
|
22509
22456
|
)
|
|
22510
22457
|
);
|
|
@@ -22516,11 +22463,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22516
22463
|
var _emscripten_request_animation_frame_loop = (cb, userData) => {
|
|
22517
22464
|
function tick(timeStamp) {
|
|
22518
22465
|
if (
|
|
22519
|
-
((
|
|
22520
|
-
|
|
22521
|
-
a2
|
|
22522
|
-
) => {}) /* 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. */(
|
|
22523
|
-
timeStamp,
|
|
22466
|
+
((a1, a2) => {})(
|
|
22467
|
+
/* 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,
|
|
22524
22468
|
userData
|
|
22525
22469
|
)
|
|
22526
22470
|
) {
|
|
@@ -22745,10 +22689,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22745
22689
|
return emSetImmediate(() => {
|
|
22746
22690
|
runtimeKeepalivePop();
|
|
22747
22691
|
callUserCallback(() =>
|
|
22748
|
-
((
|
|
22749
|
-
|
|
22750
|
-
) => {}) /* 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. */(
|
|
22751
|
-
userData
|
|
22692
|
+
((a1) => {})(
|
|
22693
|
+
/* 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
|
|
22752
22694
|
)
|
|
22753
22695
|
);
|
|
22754
22696
|
});
|
|
@@ -22765,10 +22707,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22765
22707
|
function tick() {
|
|
22766
22708
|
callUserCallback(() => {
|
|
22767
22709
|
if (
|
|
22768
|
-
((
|
|
22769
|
-
|
|
22770
|
-
) => {}) /* 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. */(
|
|
22771
|
-
userData
|
|
22710
|
+
((a1) => {})(
|
|
22711
|
+
/* 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
|
|
22772
22712
|
)
|
|
22773
22713
|
) {
|
|
22774
22714
|
emSetImmediate(tick);
|
|
@@ -22785,10 +22725,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22785
22725
|
var _emscripten_set_timeout = (cb, msecs, userData) =>
|
|
22786
22726
|
safeSetTimeout(
|
|
22787
22727
|
() =>
|
|
22788
|
-
((
|
|
22789
|
-
|
|
22790
|
-
) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
22791
|
-
userData
|
|
22728
|
+
((a1) => {})(
|
|
22729
|
+
/* 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
|
|
22792
22730
|
),
|
|
22793
22731
|
msecs
|
|
22794
22732
|
);
|
|
@@ -22804,11 +22742,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22804
22742
|
runtimeKeepalivePop();
|
|
22805
22743
|
callUserCallback(() => {
|
|
22806
22744
|
if (
|
|
22807
|
-
((
|
|
22808
|
-
|
|
22809
|
-
a2
|
|
22810
|
-
) => {}) /* 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. */(
|
|
22811
|
-
t,
|
|
22745
|
+
((a1, a2) => {})(
|
|
22746
|
+
/* 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,
|
|
22812
22747
|
userData
|
|
22813
22748
|
)
|
|
22814
22749
|
) {
|
|
@@ -22832,10 +22767,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22832
22767
|
runtimeKeepalivePush();
|
|
22833
22768
|
return setInterval(() => {
|
|
22834
22769
|
callUserCallback(() =>
|
|
22835
|
-
((
|
|
22836
|
-
|
|
22837
|
-
) => {}) /* 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. */(
|
|
22838
|
-
userData
|
|
22770
|
+
((a1) => {})(
|
|
22771
|
+
/* 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
|
|
22839
22772
|
)
|
|
22840
22773
|
);
|
|
22841
22774
|
}, msecs);
|
|
@@ -22850,10 +22783,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22850
22783
|
|
|
22851
22784
|
var _emscripten_async_call = (func, arg, millis) => {
|
|
22852
22785
|
var wrapper = () =>
|
|
22853
|
-
((
|
|
22854
|
-
|
|
22855
|
-
) => {}) /* 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. */(
|
|
22856
|
-
arg
|
|
22786
|
+
((a1) => {})(
|
|
22787
|
+
/* 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
|
|
22857
22788
|
);
|
|
22858
22789
|
|
|
22859
22790
|
if (
|
|
@@ -22886,7 +22817,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22886
22817
|
|
|
22887
22818
|
var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
|
|
22888
22819
|
var iterFunc =
|
|
22889
|
-
() => {} /* 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.
|
|
22820
|
+
() => {}; /* 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. */
|
|
22890
22821
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop);
|
|
22891
22822
|
};
|
|
22892
22823
|
_emscripten_set_main_loop.sig = 'vpii';
|
|
@@ -22898,10 +22829,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22898
22829
|
simulateInfiniteLoop
|
|
22899
22830
|
) => {
|
|
22900
22831
|
var iterFunc = () =>
|
|
22901
|
-
((
|
|
22902
|
-
|
|
22903
|
-
) => {}) /* 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. */(
|
|
22904
|
-
arg
|
|
22832
|
+
((a1) => {})(
|
|
22833
|
+
/* 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
|
|
22905
22834
|
);
|
|
22906
22835
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
|
|
22907
22836
|
};
|
|
@@ -22922,10 +22851,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22922
22851
|
var __emscripten_push_main_loop_blocker = (func, arg, name) => {
|
|
22923
22852
|
MainLoop.queue.push({
|
|
22924
22853
|
func: () => {
|
|
22925
|
-
((
|
|
22926
|
-
|
|
22927
|
-
) => {}) /* 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. */(
|
|
22928
|
-
arg
|
|
22854
|
+
((a1) => {})(
|
|
22855
|
+
/* 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
|
|
22929
22856
|
);
|
|
22930
22857
|
},
|
|
22931
22858
|
name: UTF8ToString(name),
|
|
@@ -22938,10 +22865,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22938
22865
|
var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
|
|
22939
22866
|
MainLoop.queue.push({
|
|
22940
22867
|
func: () => {
|
|
22941
|
-
((
|
|
22942
|
-
|
|
22943
|
-
) => {}) /* 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. */(
|
|
22944
|
-
arg
|
|
22868
|
+
((a1) => {})(
|
|
22869
|
+
/* 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
|
|
22945
22870
|
);
|
|
22946
22871
|
},
|
|
22947
22872
|
name: UTF8ToString(name),
|
|
@@ -22975,12 +22900,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22975
22900
|
var resultPtr = stackAlloc(POINTER_SIZE);
|
|
22976
22901
|
HEAPU32[resultPtr >> 2] = 0;
|
|
22977
22902
|
try {
|
|
22978
|
-
var result = ((
|
|
22979
|
-
|
|
22980
|
-
a2,
|
|
22981
|
-
a3
|
|
22982
|
-
) => {}) /* 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. */(
|
|
22983
|
-
resultPtr,
|
|
22903
|
+
var result = ((a1, a2, a3) => {})(
|
|
22904
|
+
/* 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,
|
|
22984
22905
|
userData,
|
|
22985
22906
|
value
|
|
22986
22907
|
);
|
|
@@ -23114,52 +23035,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23114
23035
|
_emscripten_promise_await.sig = 'vpp';
|
|
23115
23036
|
_emscripten_promise_await.isAsync = true;
|
|
23116
23037
|
|
|
23117
|
-
var ___resumeException = (ptr) => {
|
|
23118
|
-
if (!exceptionLast) {
|
|
23119
|
-
exceptionLast = ptr;
|
|
23120
|
-
}
|
|
23121
|
-
throw exceptionLast;
|
|
23122
|
-
};
|
|
23123
|
-
___resumeException.sig = 'vp';
|
|
23124
|
-
|
|
23125
|
-
var findMatchingCatch = (args) => {
|
|
23126
|
-
var thrown = exceptionLast;
|
|
23127
|
-
if (!thrown) {
|
|
23128
|
-
// just pass through the null ptr
|
|
23129
|
-
setTempRet0(0);
|
|
23130
|
-
return 0;
|
|
23131
|
-
}
|
|
23132
|
-
var info = new ExceptionInfo(thrown);
|
|
23133
|
-
info.set_adjusted_ptr(thrown);
|
|
23134
|
-
var thrownType = info.get_type();
|
|
23135
|
-
if (!thrownType) {
|
|
23136
|
-
// just pass through the thrown ptr
|
|
23137
|
-
setTempRet0(0);
|
|
23138
|
-
return thrown;
|
|
23139
|
-
}
|
|
23140
|
-
|
|
23141
|
-
// can_catch receives a **, add indirection
|
|
23142
|
-
// The different catch blocks are denoted by different types.
|
|
23143
|
-
// Due to inheritance, those types may not precisely match the
|
|
23144
|
-
// type of the thrown object. Find one which matches, and
|
|
23145
|
-
// return the type of the catch block which should be called.
|
|
23146
|
-
for (var caughtType of args) {
|
|
23147
|
-
if (caughtType === 0 || caughtType === thrownType) {
|
|
23148
|
-
// Catch all clause matched or exactly the same type is caught
|
|
23149
|
-
break;
|
|
23150
|
-
}
|
|
23151
|
-
var adjusted_ptr_addr = info.ptr + 16;
|
|
23152
|
-
if (___cxa_can_catch(caughtType, thrownType, adjusted_ptr_addr)) {
|
|
23153
|
-
setTempRet0(caughtType);
|
|
23154
|
-
return thrown;
|
|
23155
|
-
}
|
|
23156
|
-
}
|
|
23157
|
-
setTempRet0(thrownType);
|
|
23158
|
-
return thrown;
|
|
23159
|
-
};
|
|
23160
|
-
var ___cxa_find_matching_catch_2 = () => findMatchingCatch([]);
|
|
23161
|
-
___cxa_find_matching_catch_2.sig = 'p';
|
|
23162
|
-
|
|
23163
23038
|
var ___cxa_find_matching_catch_3 = (arg0) => findMatchingCatch([arg0]);
|
|
23164
23039
|
___cxa_find_matching_catch_3.sig = 'pp';
|
|
23165
23040
|
|
|
@@ -23916,19 +23791,15 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23916
23791
|
() => {
|
|
23917
23792
|
runtimeKeepalivePop();
|
|
23918
23793
|
if (onload)
|
|
23919
|
-
((
|
|
23920
|
-
|
|
23921
|
-
) => {}) /* 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. */(
|
|
23922
|
-
file
|
|
23794
|
+
((a1) => {})(
|
|
23795
|
+
/* 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
|
|
23923
23796
|
);
|
|
23924
23797
|
},
|
|
23925
23798
|
() => {
|
|
23926
23799
|
runtimeKeepalivePop();
|
|
23927
23800
|
if (onerror)
|
|
23928
|
-
((
|
|
23929
|
-
|
|
23930
|
-
) => {}) /* 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. */(
|
|
23931
|
-
file
|
|
23801
|
+
((a1) => {})(
|
|
23802
|
+
/* 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
|
|
23932
23803
|
);
|
|
23933
23804
|
},
|
|
23934
23805
|
true // don'tCreateFile - it's already there
|
|
@@ -23962,21 +23833,16 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23962
23833
|
() => {
|
|
23963
23834
|
runtimeKeepalivePop();
|
|
23964
23835
|
if (onload)
|
|
23965
|
-
((
|
|
23966
|
-
|
|
23967
|
-
a2
|
|
23968
|
-
) => {}) /* 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. */(
|
|
23969
|
-
arg,
|
|
23836
|
+
((a1, a2) => {})(
|
|
23837
|
+
/* 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,
|
|
23970
23838
|
cname
|
|
23971
23839
|
);
|
|
23972
23840
|
},
|
|
23973
23841
|
() => {
|
|
23974
23842
|
runtimeKeepalivePop();
|
|
23975
23843
|
if (onerror)
|
|
23976
|
-
((
|
|
23977
|
-
|
|
23978
|
-
) => {}) /* 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. */(
|
|
23979
|
-
arg
|
|
23844
|
+
((a1) => {})(
|
|
23845
|
+
/* 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
|
|
23980
23846
|
);
|
|
23981
23847
|
},
|
|
23982
23848
|
true // don'tCreateFile - it's already there
|
|
@@ -24249,10 +24115,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24249
24115
|
runtimeKeepalivePop();
|
|
24250
24116
|
callUserCallback(() => {
|
|
24251
24117
|
var sp = stackSave();
|
|
24252
|
-
((
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24118
|
+
((a1) => {})(
|
|
24119
|
+
/* 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(
|
|
24120
|
+
_file
|
|
24121
|
+
)
|
|
24256
24122
|
);
|
|
24257
24123
|
stackRestore(sp);
|
|
24258
24124
|
});
|
|
@@ -24296,12 +24162,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24296
24162
|
callUserCallback(() => {
|
|
24297
24163
|
var buffer = _malloc(byteArray.length);
|
|
24298
24164
|
HEAPU8.set(byteArray, buffer);
|
|
24299
|
-
((
|
|
24300
|
-
|
|
24301
|
-
a2,
|
|
24302
|
-
a3
|
|
24303
|
-
) => {}) /* 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. */(
|
|
24304
|
-
userdata,
|
|
24165
|
+
((a1, a2, a3) => {})(
|
|
24166
|
+
/* 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,
|
|
24305
24167
|
buffer,
|
|
24306
24168
|
byteArray.length
|
|
24307
24169
|
);
|
|
@@ -24311,10 +24173,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24311
24173
|
if (onerror) {
|
|
24312
24174
|
runtimeKeepalivePop();
|
|
24313
24175
|
callUserCallback(() => {
|
|
24314
|
-
((
|
|
24315
|
-
|
|
24316
|
-
) => {}) /* 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. */(
|
|
24317
|
-
userdata
|
|
24176
|
+
((a1) => {})(
|
|
24177
|
+
/* 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
|
|
24318
24178
|
);
|
|
24319
24179
|
});
|
|
24320
24180
|
}
|
|
@@ -24371,12 +24231,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24371
24231
|
);
|
|
24372
24232
|
if (onload) {
|
|
24373
24233
|
var sp = stackSave();
|
|
24374
|
-
((
|
|
24375
|
-
|
|
24376
|
-
a2,
|
|
24377
|
-
a3
|
|
24378
|
-
) => {}) /* 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. */(
|
|
24379
|
-
handle,
|
|
24234
|
+
((a1, a2, a3) => {})(
|
|
24235
|
+
/* 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,
|
|
24380
24236
|
userdata,
|
|
24381
24237
|
stringToUTF8OnStack(_file)
|
|
24382
24238
|
);
|
|
@@ -24384,12 +24240,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24384
24240
|
}
|
|
24385
24241
|
} else {
|
|
24386
24242
|
if (onerror)
|
|
24387
|
-
((
|
|
24388
|
-
|
|
24389
|
-
a2,
|
|
24390
|
-
a3
|
|
24391
|
-
) => {}) /* 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. */(
|
|
24392
|
-
handle,
|
|
24243
|
+
((a1, a2, a3) => {})(
|
|
24244
|
+
/* 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,
|
|
24393
24245
|
userdata,
|
|
24394
24246
|
http.status
|
|
24395
24247
|
);
|
|
@@ -24402,12 +24254,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24402
24254
|
http.onerror = (e) => {
|
|
24403
24255
|
runtimeKeepalivePop();
|
|
24404
24256
|
if (onerror)
|
|
24405
|
-
((
|
|
24406
|
-
|
|
24407
|
-
a2,
|
|
24408
|
-
a3
|
|
24409
|
-
) => {}) /* 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. */(
|
|
24410
|
-
handle,
|
|
24257
|
+
((a1, a2, 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. */ handle,
|
|
24411
24259
|
userdata,
|
|
24412
24260
|
http.status
|
|
24413
24261
|
);
|
|
@@ -24422,12 +24270,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24422
24270
|
) {
|
|
24423
24271
|
var percentComplete = (e.loaded / e.total) * 100;
|
|
24424
24272
|
if (onprogress)
|
|
24425
|
-
((
|
|
24426
|
-
|
|
24427
|
-
a2,
|
|
24428
|
-
a3
|
|
24429
|
-
) => {}) /* 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. */(
|
|
24430
|
-
handle,
|
|
24273
|
+
((a1, a2, a3) => {})(
|
|
24274
|
+
/* 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,
|
|
24431
24275
|
userdata,
|
|
24432
24276
|
percentComplete
|
|
24433
24277
|
);
|
|
@@ -24484,13 +24328,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24484
24328
|
if (http.statusText) {
|
|
24485
24329
|
statusText = stringToUTF8OnStack(http.statusText);
|
|
24486
24330
|
}
|
|
24487
|
-
((
|
|
24488
|
-
|
|
24489
|
-
a2,
|
|
24490
|
-
a3,
|
|
24491
|
-
a4
|
|
24492
|
-
) => {}) /* 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. */(
|
|
24493
|
-
handle,
|
|
24331
|
+
((a1, a2, a3, a4) => {})(
|
|
24332
|
+
/* 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,
|
|
24494
24333
|
userdata,
|
|
24495
24334
|
http.status,
|
|
24496
24335
|
statusText
|
|
@@ -24511,13 +24350,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24511
24350
|
var buffer = _malloc(byteArray.length);
|
|
24512
24351
|
HEAPU8.set(byteArray, buffer);
|
|
24513
24352
|
if (onload)
|
|
24514
|
-
((
|
|
24515
|
-
|
|
24516
|
-
a2,
|
|
24517
|
-
a3,
|
|
24518
|
-
a4
|
|
24519
|
-
) => {}) /* 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. */(
|
|
24520
|
-
handle,
|
|
24353
|
+
((a1, a2, a3, a4) => {})(
|
|
24354
|
+
/* 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,
|
|
24521
24355
|
userdata,
|
|
24522
24356
|
buffer,
|
|
24523
24357
|
byteArray.length
|
|
@@ -24538,13 +24372,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24538
24372
|
// PROGRESS
|
|
24539
24373
|
http.onprogress = (e) => {
|
|
24540
24374
|
if (onprogress)
|
|
24541
|
-
((
|
|
24542
|
-
|
|
24543
|
-
a2,
|
|
24544
|
-
a3,
|
|
24545
|
-
a4
|
|
24546
|
-
) => {}) /* 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. */(
|
|
24547
|
-
handle,
|
|
24375
|
+
((a1, a2, a3, a4) => {})(
|
|
24376
|
+
/* 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,
|
|
24548
24377
|
userdata,
|
|
24549
24378
|
e.loaded,
|
|
24550
24379
|
e.lengthComputable || e.lengthComputable === undefined
|
|
@@ -24664,24 +24493,16 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24664
24493
|
if (event === 'error') {
|
|
24665
24494
|
withStackSave(() => {
|
|
24666
24495
|
var msg = stringToUTF8OnStack(data[2]);
|
|
24667
|
-
((
|
|
24668
|
-
|
|
24669
|
-
a2,
|
|
24670
|
-
a3,
|
|
24671
|
-
a4
|
|
24672
|
-
) => {}) /* 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. */(
|
|
24673
|
-
data[0],
|
|
24496
|
+
((a1, a2, a3, a4) => {})(
|
|
24497
|
+
/* 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],
|
|
24674
24498
|
data[1],
|
|
24675
24499
|
msg,
|
|
24676
24500
|
userData
|
|
24677
24501
|
);
|
|
24678
24502
|
});
|
|
24679
24503
|
} else {
|
|
24680
|
-
((
|
|
24681
|
-
|
|
24682
|
-
a2
|
|
24683
|
-
) => {}) /* 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. */(
|
|
24684
|
-
data,
|
|
24504
|
+
((a1, a2) => {})(
|
|
24505
|
+
/* 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,
|
|
24685
24506
|
userData
|
|
24686
24507
|
);
|
|
24687
24508
|
}
|
|
@@ -25147,12 +24968,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25147
24968
|
) => {
|
|
25148
24969
|
var webGlEventHandlerFunc = (e = event) => {
|
|
25149
24970
|
if (
|
|
25150
|
-
((
|
|
25151
|
-
|
|
25152
|
-
a2,
|
|
25153
|
-
a3
|
|
25154
|
-
) => {}) /* 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. */(
|
|
25155
|
-
eventTypeId,
|
|
24971
|
+
((a1, a2, a3) => {})(
|
|
24972
|
+
/* 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,
|
|
25156
24973
|
0,
|
|
25157
24974
|
userData
|
|
25158
24975
|
)
|
|
@@ -25371,21 +25188,15 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25371
25188
|
) {
|
|
25372
25189
|
event.preventDefault();
|
|
25373
25190
|
GLUT.saveModifiers(event);
|
|
25374
|
-
((
|
|
25375
|
-
|
|
25376
|
-
a2
|
|
25377
|
-
) => {}) /* 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. */(
|
|
25378
|
-
lastX,
|
|
25191
|
+
((a1, a2) => {})(
|
|
25192
|
+
/* 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,
|
|
25379
25193
|
lastY
|
|
25380
25194
|
);
|
|
25381
25195
|
} else if (GLUT.buttons != 0 && GLUT.motionFunc) {
|
|
25382
25196
|
event.preventDefault();
|
|
25383
25197
|
GLUT.saveModifiers(event);
|
|
25384
|
-
((
|
|
25385
|
-
|
|
25386
|
-
a2
|
|
25387
|
-
) => {}) /* 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. */(
|
|
25388
|
-
lastX,
|
|
25198
|
+
((a1, a2) => {})(
|
|
25199
|
+
/* 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,
|
|
25389
25200
|
lastY
|
|
25390
25201
|
);
|
|
25391
25202
|
}
|
|
@@ -25546,12 +25357,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25546
25357
|
if (GLUT.specialFunc) {
|
|
25547
25358
|
event.preventDefault();
|
|
25548
25359
|
GLUT.saveModifiers(event);
|
|
25549
|
-
((
|
|
25550
|
-
|
|
25551
|
-
a2,
|
|
25552
|
-
a3
|
|
25553
|
-
) => {}) /* 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. */(
|
|
25554
|
-
key,
|
|
25360
|
+
((a1, a2, a3) => {})(
|
|
25361
|
+
/* 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,
|
|
25555
25362
|
Browser.mouseX,
|
|
25556
25363
|
Browser.mouseY
|
|
25557
25364
|
);
|
|
@@ -25561,12 +25368,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25561
25368
|
if (key !== null && GLUT.keyboardFunc) {
|
|
25562
25369
|
event.preventDefault();
|
|
25563
25370
|
GLUT.saveModifiers(event);
|
|
25564
|
-
((
|
|
25565
|
-
|
|
25566
|
-
a2,
|
|
25567
|
-
a3
|
|
25568
|
-
) => {}) /* 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. */(
|
|
25569
|
-
key,
|
|
25371
|
+
((a1, a2, a3) => {})(
|
|
25372
|
+
/* 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,
|
|
25570
25373
|
Browser.mouseX,
|
|
25571
25374
|
Browser.mouseY
|
|
25572
25375
|
);
|
|
@@ -25581,12 +25384,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25581
25384
|
if (GLUT.specialUpFunc) {
|
|
25582
25385
|
event.preventDefault();
|
|
25583
25386
|
GLUT.saveModifiers(event);
|
|
25584
|
-
((
|
|
25585
|
-
|
|
25586
|
-
a2,
|
|
25587
|
-
a3
|
|
25588
|
-
) => {}) /* 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. */(
|
|
25589
|
-
key,
|
|
25387
|
+
((a1, a2, a3) => {})(
|
|
25388
|
+
/* 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,
|
|
25590
25389
|
Browser.mouseX,
|
|
25591
25390
|
Browser.mouseY
|
|
25592
25391
|
);
|
|
@@ -25596,12 +25395,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25596
25395
|
if (key !== null && GLUT.keyboardUpFunc) {
|
|
25597
25396
|
event.preventDefault();
|
|
25598
25397
|
GLUT.saveModifiers(event);
|
|
25599
|
-
((
|
|
25600
|
-
|
|
25601
|
-
a2,
|
|
25602
|
-
a3
|
|
25603
|
-
) => {}) /* 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. */(
|
|
25604
|
-
key,
|
|
25398
|
+
((a1, a2, a3) => {})(
|
|
25399
|
+
/* 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,
|
|
25605
25400
|
Browser.mouseX,
|
|
25606
25401
|
Browser.mouseY
|
|
25607
25402
|
);
|
|
@@ -25665,13 +25460,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25665
25460
|
} catch (e) {}
|
|
25666
25461
|
event.preventDefault();
|
|
25667
25462
|
GLUT.saveModifiers(event);
|
|
25668
|
-
((
|
|
25669
|
-
|
|
25670
|
-
|
|
25671
|
-
|
|
25672
|
-
a4
|
|
25673
|
-
) => {}) /* 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. */(
|
|
25674
|
-
event['button'],
|
|
25463
|
+
((a1, a2, a3, a4) => {})(
|
|
25464
|
+
/* 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[
|
|
25465
|
+
'button'
|
|
25466
|
+
],
|
|
25675
25467
|
0 /*GLUT_DOWN*/,
|
|
25676
25468
|
Browser.mouseX,
|
|
25677
25469
|
Browser.mouseY
|
|
@@ -25686,13 +25478,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25686
25478
|
if (GLUT.mouseFunc) {
|
|
25687
25479
|
event.preventDefault();
|
|
25688
25480
|
GLUT.saveModifiers(event);
|
|
25689
|
-
((
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
a4
|
|
25694
|
-
) => {}) /* 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. */(
|
|
25695
|
-
event['button'],
|
|
25481
|
+
((a1, a2, a3, a4) => {})(
|
|
25482
|
+
/* 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[
|
|
25483
|
+
'button'
|
|
25484
|
+
],
|
|
25696
25485
|
1 /*GLUT_UP*/,
|
|
25697
25486
|
Browser.mouseX,
|
|
25698
25487
|
Browser.mouseY
|
|
@@ -25721,13 +25510,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25721
25510
|
if (GLUT.mouseFunc) {
|
|
25722
25511
|
event.preventDefault();
|
|
25723
25512
|
GLUT.saveModifiers(event);
|
|
25724
|
-
((
|
|
25725
|
-
|
|
25726
|
-
a2,
|
|
25727
|
-
a3,
|
|
25728
|
-
a4
|
|
25729
|
-
) => {}) /* 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. */(
|
|
25730
|
-
button,
|
|
25513
|
+
((a1, a2, a3, a4) => {})(
|
|
25514
|
+
/* 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,
|
|
25731
25515
|
0 /*GLUT_DOWN*/,
|
|
25732
25516
|
Browser.mouseX,
|
|
25733
25517
|
Browser.mouseY
|
|
@@ -25770,11 +25554,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25770
25554
|
/* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
|
|
25771
25555
|
if (GLUT.reshapeFunc) {
|
|
25772
25556
|
// out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
|
|
25773
|
-
((
|
|
25774
|
-
|
|
25775
|
-
a2
|
|
25776
|
-
) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
25777
|
-
width,
|
|
25557
|
+
((a1, a2) => {})(
|
|
25558
|
+
/* 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,
|
|
25778
25559
|
height
|
|
25779
25560
|
);
|
|
25780
25561
|
}
|
|
@@ -25817,11 +25598,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25817
25598
|
|
|
25818
25599
|
Browser.resizeListeners.push((width, height) => {
|
|
25819
25600
|
if (GLUT.reshapeFunc) {
|
|
25820
|
-
((
|
|
25821
|
-
|
|
25822
|
-
a2
|
|
25823
|
-
) => {}) /* 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. */(
|
|
25824
|
-
width,
|
|
25601
|
+
((a1, a2) => {})(
|
|
25602
|
+
/* 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,
|
|
25825
25603
|
height
|
|
25826
25604
|
);
|
|
25827
25605
|
}
|
|
@@ -25934,10 +25712,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25934
25712
|
var _glutTimerFunc = (msec, func, value) =>
|
|
25935
25713
|
safeSetTimeout(
|
|
25936
25714
|
() =>
|
|
25937
|
-
((
|
|
25938
|
-
|
|
25939
|
-
) => {}) /* 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. */(
|
|
25940
|
-
value
|
|
25715
|
+
((a1) => {})(
|
|
25716
|
+
/* 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
|
|
25941
25717
|
),
|
|
25942
25718
|
msec
|
|
25943
25719
|
);
|
|
@@ -26097,11 +25873,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26097
25873
|
Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
|
|
26098
25874
|
// Just call it once here.
|
|
26099
25875
|
if (GLUT.reshapeFunc) {
|
|
26100
|
-
((
|
|
26101
|
-
|
|
26102
|
-
a2
|
|
26103
|
-
) => {}) /* 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. */(
|
|
26104
|
-
width,
|
|
25876
|
+
((a1, a2) => {})(
|
|
25877
|
+
/* 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,
|
|
26105
25878
|
height
|
|
26106
25879
|
);
|
|
26107
25880
|
}
|
|
@@ -27163,21 +26936,15 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27163
26936
|
callUserCallback(() => {
|
|
27164
26937
|
if (error) {
|
|
27165
26938
|
if (onerror)
|
|
27166
|
-
((
|
|
27167
|
-
|
|
27168
|
-
) => {}) /* 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. */(
|
|
27169
|
-
arg
|
|
26939
|
+
((a1) => {})(
|
|
26940
|
+
/* 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
|
|
27170
26941
|
);
|
|
27171
26942
|
return;
|
|
27172
26943
|
}
|
|
27173
26944
|
var buffer = _malloc(byteArray.length);
|
|
27174
26945
|
HEAPU8.set(byteArray, buffer);
|
|
27175
|
-
((
|
|
27176
|
-
|
|
27177
|
-
a2,
|
|
27178
|
-
a3
|
|
27179
|
-
) => {}) /* 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. */(
|
|
27180
|
-
arg,
|
|
26946
|
+
((a1, a2, a3) => {})(
|
|
26947
|
+
/* 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,
|
|
27181
26948
|
buffer,
|
|
27182
26949
|
byteArray.length
|
|
27183
26950
|
);
|
|
@@ -27209,18 +26976,14 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27209
26976
|
callUserCallback(() => {
|
|
27210
26977
|
if (error) {
|
|
27211
26978
|
if (onerror)
|
|
27212
|
-
((
|
|
27213
|
-
|
|
27214
|
-
) => {}) /* 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. */(
|
|
27215
|
-
arg
|
|
26979
|
+
((a1) => {})(
|
|
26980
|
+
/* 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
|
|
27216
26981
|
);
|
|
27217
26982
|
return;
|
|
27218
26983
|
}
|
|
27219
26984
|
if (onstore)
|
|
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
|
|
26985
|
+
((a1) => {})(
|
|
26986
|
+
/* 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
26987
|
);
|
|
27225
26988
|
});
|
|
27226
26989
|
}
|
|
@@ -27235,18 +26998,14 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27235
26998
|
callUserCallback(() => {
|
|
27236
26999
|
if (error) {
|
|
27237
27000
|
if (onerror)
|
|
27238
|
-
((
|
|
27239
|
-
|
|
27240
|
-
) => {}) /* 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. */(
|
|
27241
|
-
arg
|
|
27001
|
+
((a1) => {})(
|
|
27002
|
+
/* 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
|
|
27242
27003
|
);
|
|
27243
27004
|
return;
|
|
27244
27005
|
}
|
|
27245
27006
|
if (ondelete)
|
|
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
|
|
27007
|
+
((a1) => {})(
|
|
27008
|
+
/* 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
27009
|
);
|
|
27251
27010
|
});
|
|
27252
27011
|
});
|
|
@@ -27263,19 +27022,14 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27263
27022
|
callUserCallback(() => {
|
|
27264
27023
|
if (error) {
|
|
27265
27024
|
if (onerror)
|
|
27266
|
-
((
|
|
27267
|
-
|
|
27268
|
-
) => {}) /* 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. */(
|
|
27269
|
-
arg
|
|
27025
|
+
((a1) => {})(
|
|
27026
|
+
/* 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
|
|
27270
27027
|
);
|
|
27271
27028
|
return;
|
|
27272
27029
|
}
|
|
27273
27030
|
if (oncheck)
|
|
27274
|
-
((
|
|
27275
|
-
|
|
27276
|
-
a2
|
|
27277
|
-
) => {}) /* 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. */(
|
|
27278
|
-
arg,
|
|
27031
|
+
((a1, a2) => {})(
|
|
27032
|
+
/* 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,
|
|
27279
27033
|
exists
|
|
27280
27034
|
);
|
|
27281
27035
|
});
|
|
@@ -27291,18 +27045,14 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27291
27045
|
callUserCallback(() => {
|
|
27292
27046
|
if (error) {
|
|
27293
27047
|
if (onerror)
|
|
27294
|
-
((
|
|
27295
|
-
|
|
27296
|
-
) => {}) /* 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. */(
|
|
27297
|
-
arg
|
|
27048
|
+
((a1) => {})(
|
|
27049
|
+
/* 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
|
|
27298
27050
|
);
|
|
27299
27051
|
return;
|
|
27300
27052
|
}
|
|
27301
27053
|
if (onclear)
|
|
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
|
|
27054
|
+
((a1) => {})(
|
|
27055
|
+
/* 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
27056
|
);
|
|
27307
27057
|
});
|
|
27308
27058
|
});
|
|
@@ -27459,11 +27209,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27459
27209
|
safeSetTimeout(() => {
|
|
27460
27210
|
var stackBegin = Asyncify.currData + 12;
|
|
27461
27211
|
var stackEnd = HEAPU32[Asyncify.currData >> 2];
|
|
27462
|
-
((
|
|
27463
|
-
|
|
27464
|
-
a2
|
|
27465
|
-
) => {}) /* 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. */(
|
|
27466
|
-
stackBegin,
|
|
27212
|
+
((a1, a2) => {})(
|
|
27213
|
+
/* 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,
|
|
27467
27214
|
stackEnd
|
|
27468
27215
|
);
|
|
27469
27216
|
wakeUp();
|
|
@@ -27524,10 +27271,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27524
27271
|
HEAPU32[(newFiber + 12) >> 2] = 0;
|
|
27525
27272
|
|
|
27526
27273
|
var userData = HEAPU32[(newFiber + 16) >> 2];
|
|
27527
|
-
((
|
|
27528
|
-
|
|
27529
|
-
) => {}) /* 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. */(
|
|
27530
|
-
userData
|
|
27274
|
+
((a1) => {})(
|
|
27275
|
+
/* 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
|
|
27531
27276
|
);
|
|
27532
27277
|
} else {
|
|
27533
27278
|
var asyncifyData = newFiber + 20;
|
|
@@ -28539,11 +28284,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
28539
28284
|
if (!SDL.eventHandler) return;
|
|
28540
28285
|
|
|
28541
28286
|
while (SDL.pollEvent(SDL.eventHandlerTemp)) {
|
|
28542
|
-
((
|
|
28543
|
-
|
|
28544
|
-
a2
|
|
28545
|
-
) => {}) /* 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. */(
|
|
28546
|
-
SDL.eventHandlerContext,
|
|
28287
|
+
((a1, a2) => {})(
|
|
28288
|
+
/* 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,
|
|
28547
28289
|
SDL.eventHandlerTemp
|
|
28548
28290
|
);
|
|
28549
28291
|
}
|
|
@@ -30176,12 +29918,9 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30176
29918
|
return;
|
|
30177
29919
|
|
|
30178
29920
|
// Ask SDL audio data from the user code.
|
|
30179
|
-
((
|
|
30180
|
-
|
|
30181
|
-
|
|
30182
|
-
a3
|
|
30183
|
-
) => {}) /* 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. */(
|
|
30184
|
-
SDL.audio.userdata,
|
|
29921
|
+
((a1, a2, a3) => {})(
|
|
29922
|
+
/* 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
|
|
29923
|
+
.audio.userdata,
|
|
30185
29924
|
SDL.audio.buffer,
|
|
30186
29925
|
SDL.audio.bufferSize
|
|
30187
29926
|
);
|
|
@@ -30639,10 +30378,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30639
30378
|
info.audio = null;
|
|
30640
30379
|
}
|
|
30641
30380
|
if (SDL.channelFinished) {
|
|
30642
|
-
((
|
|
30643
|
-
|
|
30644
|
-
) => {}) /* 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. */(
|
|
30645
|
-
channel
|
|
30381
|
+
((a1) => {})(
|
|
30382
|
+
/* 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
|
|
30646
30383
|
);
|
|
30647
30384
|
}
|
|
30648
30385
|
}
|
|
@@ -30711,10 +30448,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30711
30448
|
channelInfo.audio = null;
|
|
30712
30449
|
}
|
|
30713
30450
|
if (SDL.channelFinished)
|
|
30714
|
-
((
|
|
30715
|
-
|
|
30716
|
-
) => {}) /* 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. */(
|
|
30717
|
-
channel
|
|
30451
|
+
((a1) => {})(
|
|
30452
|
+
/* 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
|
|
30718
30453
|
);
|
|
30719
30454
|
};
|
|
30720
30455
|
if (channelInfo.audio) {
|
|
@@ -31462,11 +31197,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31462
31197
|
var _SDL_AddTimer = (interval, callback, param) =>
|
|
31463
31198
|
safeSetTimeout(
|
|
31464
31199
|
() =>
|
|
31465
|
-
((
|
|
31466
|
-
|
|
31467
|
-
a2
|
|
31468
|
-
) => {}) /* 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. */(
|
|
31469
|
-
interval,
|
|
31200
|
+
((a1, a2) => {})(
|
|
31201
|
+
/* 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,
|
|
31470
31202
|
param
|
|
31471
31203
|
),
|
|
31472
31204
|
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
|
+
11297021: ($0) => {
|
|
32142
31858
|
if (!$0) {
|
|
32143
31859
|
AL.alcErr = 0xa004;
|
|
32144
31860
|
return 1;
|
|
32145
31861
|
}
|
|
32146
31862
|
},
|
|
32147
|
-
|
|
31863
|
+
11297069: ($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,
|
|
@@ -34901,10 +34623,14 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
34901
34623
|
/** @export */
|
|
34902
34624
|
invoke_iiiiiiiiii,
|
|
34903
34625
|
/** @export */
|
|
34626
|
+
invoke_iiiiiiiiiii,
|
|
34627
|
+
/** @export */
|
|
34904
34628
|
invoke_iiiij,
|
|
34905
34629
|
/** @export */
|
|
34906
34630
|
invoke_iiij,
|
|
34907
34631
|
/** @export */
|
|
34632
|
+
invoke_iiijj,
|
|
34633
|
+
/** @export */
|
|
34908
34634
|
invoke_iij,
|
|
34909
34635
|
/** @export */
|
|
34910
34636
|
invoke_iiji,
|
|
@@ -34921,12 +34647,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
34921
34647
|
/** @export */
|
|
34922
34648
|
invoke_jiii,
|
|
34923
34649
|
/** @export */
|
|
34650
|
+
invoke_jiji,
|
|
34651
|
+
/** @export */
|
|
34924
34652
|
invoke_v,
|
|
34925
34653
|
/** @export */
|
|
34926
34654
|
invoke_vi,
|
|
34927
34655
|
/** @export */
|
|
34928
34656
|
invoke_vii,
|
|
34929
34657
|
/** @export */
|
|
34658
|
+
invoke_viid,
|
|
34659
|
+
/** @export */
|
|
34660
|
+
invoke_viidddddddd,
|
|
34661
|
+
/** @export */
|
|
34930
34662
|
invoke_viidii,
|
|
34931
34663
|
/** @export */
|
|
34932
34664
|
invoke_viii,
|
|
@@ -34943,6 +34675,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
34943
34675
|
/** @export */
|
|
34944
34676
|
invoke_viijii,
|
|
34945
34677
|
/** @export */
|
|
34678
|
+
invoke_vij,
|
|
34679
|
+
/** @export */
|
|
34946
34680
|
invoke_vji,
|
|
34947
34681
|
/** @export */
|
|
34948
34682
|
js_fd_read,
|
|
@@ -35607,6 +35341,154 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
35607
35341
|
}
|
|
35608
35342
|
}
|
|
35609
35343
|
|
|
35344
|
+
function invoke_jiji(index, a1, a2, a3) {
|
|
35345
|
+
var sp = stackSave();
|
|
35346
|
+
try {
|
|
35347
|
+
return Module['dynCall_jiji'](index, a1, a2, a3);
|
|
35348
|
+
} catch (e) {
|
|
35349
|
+
stackRestore(sp);
|
|
35350
|
+
if (e !== e + 0) throw e;
|
|
35351
|
+
_setThrew(1, 0);
|
|
35352
|
+
return 0n;
|
|
35353
|
+
}
|
|
35354
|
+
}
|
|
35355
|
+
|
|
35356
|
+
function invoke_iiijj(index, a1, a2, a3, a4) {
|
|
35357
|
+
var sp = stackSave();
|
|
35358
|
+
try {
|
|
35359
|
+
return Module['dynCall_iiijj'](index, a1, a2, a3, a4);
|
|
35360
|
+
} catch (e) {
|
|
35361
|
+
stackRestore(sp);
|
|
35362
|
+
if (e !== e + 0) throw e;
|
|
35363
|
+
_setThrew(1, 0);
|
|
35364
|
+
}
|
|
35365
|
+
}
|
|
35366
|
+
|
|
35367
|
+
function invoke_vij(index, a1, a2) {
|
|
35368
|
+
var sp = stackSave();
|
|
35369
|
+
try {
|
|
35370
|
+
Module['dynCall_vij'](index, a1, a2);
|
|
35371
|
+
} catch (e) {
|
|
35372
|
+
stackRestore(sp);
|
|
35373
|
+
if (e !== e + 0) throw e;
|
|
35374
|
+
_setThrew(1, 0);
|
|
35375
|
+
}
|
|
35376
|
+
}
|
|
35377
|
+
|
|
35378
|
+
function invoke_dii(index, a1, a2) {
|
|
35379
|
+
var sp = stackSave();
|
|
35380
|
+
try {
|
|
35381
|
+
return Module['dynCall_dii'](index, a1, a2);
|
|
35382
|
+
} catch (e) {
|
|
35383
|
+
stackRestore(sp);
|
|
35384
|
+
if (e !== e + 0) throw e;
|
|
35385
|
+
_setThrew(1, 0);
|
|
35386
|
+
}
|
|
35387
|
+
}
|
|
35388
|
+
|
|
35389
|
+
function invoke_viid(index, a1, a2, a3) {
|
|
35390
|
+
var sp = stackSave();
|
|
35391
|
+
try {
|
|
35392
|
+
Module['dynCall_viid'](index, a1, a2, a3);
|
|
35393
|
+
} catch (e) {
|
|
35394
|
+
stackRestore(sp);
|
|
35395
|
+
if (e !== e + 0) throw e;
|
|
35396
|
+
_setThrew(1, 0);
|
|
35397
|
+
}
|
|
35398
|
+
}
|
|
35399
|
+
|
|
35400
|
+
function invoke_viidddddddd(
|
|
35401
|
+
index,
|
|
35402
|
+
a1,
|
|
35403
|
+
a2,
|
|
35404
|
+
a3,
|
|
35405
|
+
a4,
|
|
35406
|
+
a5,
|
|
35407
|
+
a6,
|
|
35408
|
+
a7,
|
|
35409
|
+
a8,
|
|
35410
|
+
a9,
|
|
35411
|
+
a10
|
|
35412
|
+
) {
|
|
35413
|
+
var sp = stackSave();
|
|
35414
|
+
try {
|
|
35415
|
+
Module['dynCall_viidddddddd'](
|
|
35416
|
+
index,
|
|
35417
|
+
a1,
|
|
35418
|
+
a2,
|
|
35419
|
+
a3,
|
|
35420
|
+
a4,
|
|
35421
|
+
a5,
|
|
35422
|
+
a6,
|
|
35423
|
+
a7,
|
|
35424
|
+
a8,
|
|
35425
|
+
a9,
|
|
35426
|
+
a10
|
|
35427
|
+
);
|
|
35428
|
+
} catch (e) {
|
|
35429
|
+
stackRestore(sp);
|
|
35430
|
+
if (e !== e + 0) throw e;
|
|
35431
|
+
_setThrew(1, 0);
|
|
35432
|
+
}
|
|
35433
|
+
}
|
|
35434
|
+
|
|
35435
|
+
function invoke_iiiiiiiiiii(
|
|
35436
|
+
index,
|
|
35437
|
+
a1,
|
|
35438
|
+
a2,
|
|
35439
|
+
a3,
|
|
35440
|
+
a4,
|
|
35441
|
+
a5,
|
|
35442
|
+
a6,
|
|
35443
|
+
a7,
|
|
35444
|
+
a8,
|
|
35445
|
+
a9,
|
|
35446
|
+
a10
|
|
35447
|
+
) {
|
|
35448
|
+
var sp = stackSave();
|
|
35449
|
+
try {
|
|
35450
|
+
return Module['dynCall_iiiiiiiiiii'](
|
|
35451
|
+
index,
|
|
35452
|
+
a1,
|
|
35453
|
+
a2,
|
|
35454
|
+
a3,
|
|
35455
|
+
a4,
|
|
35456
|
+
a5,
|
|
35457
|
+
a6,
|
|
35458
|
+
a7,
|
|
35459
|
+
a8,
|
|
35460
|
+
a9,
|
|
35461
|
+
a10
|
|
35462
|
+
);
|
|
35463
|
+
} catch (e) {
|
|
35464
|
+
stackRestore(sp);
|
|
35465
|
+
if (e !== e + 0) throw e;
|
|
35466
|
+
_setThrew(1, 0);
|
|
35467
|
+
}
|
|
35468
|
+
}
|
|
35469
|
+
|
|
35470
|
+
function invoke_id(index, a1) {
|
|
35471
|
+
var sp = stackSave();
|
|
35472
|
+
try {
|
|
35473
|
+
return Module['dynCall_id'](index, a1);
|
|
35474
|
+
} catch (e) {
|
|
35475
|
+
stackRestore(sp);
|
|
35476
|
+
if (e !== e + 0) throw e;
|
|
35477
|
+
_setThrew(1, 0);
|
|
35478
|
+
}
|
|
35479
|
+
}
|
|
35480
|
+
|
|
35481
|
+
function invoke_iifi(index, a1, a2, a3) {
|
|
35482
|
+
var sp = stackSave();
|
|
35483
|
+
try {
|
|
35484
|
+
return Module['dynCall_iifi'](index, a1, a2, a3);
|
|
35485
|
+
} catch (e) {
|
|
35486
|
+
stackRestore(sp);
|
|
35487
|
+
if (e !== e + 0) throw e;
|
|
35488
|
+
_setThrew(1, 0);
|
|
35489
|
+
}
|
|
35490
|
+
}
|
|
35491
|
+
|
|
35610
35492
|
// include: postamble.js
|
|
35611
35493
|
// === Auto-generated postamble setup entry stuff ===
|
|
35612
35494
|
|