@php-wasm/node 3.0.19 → 3.0.21

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.
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '8_1_33', 'php_8_1.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 29535553;
11
+ export const dependenciesTotalSize = 34189294;
12
12
  const phpVersionString = '8.1.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 = 13896064;
834
+ var ___heap_base = 14647872;
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: 13800,
998
+ initial: 15224,
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
- a1
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 = 13896064;
1893
+ var ___stack_high = 14647872;
1790
1894
 
1791
- var ___stack_low = 12847488;
1895
+ var ___stack_low = 13599296;
1792
1896
 
1793
1897
  var ___stack_pointer = new WebAssembly.Global(
1794
1898
  { value: 'i32', mutable: true },
1795
- 13896064
1899
+ 14647872
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
- a1,
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
- a1,
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
  );
@@ -18687,8 +18785,6 @@ export function init(RuntimeName, PHPLoader) {
18687
18785
 
18688
18786
  var getTempRet0 = (val) => __emscripten_tempret_get();
18689
18787
 
18690
- var setTempRet0 = (val) => __emscripten_tempret_set(val);
18691
-
18692
18788
  var _stackAlloc = stackAlloc;
18693
18789
 
18694
18790
  var _stackSave = stackSave;
@@ -19460,11 +19556,8 @@ export function init(RuntimeName, PHPLoader) {
19460
19556
  var trace = getCallstack();
19461
19557
  var parts = trace.split('\n');
19462
19558
  for (var i = 0; i < parts.length; i++) {
19463
- var ret = ((
19464
- a1,
19465
- a2
19466
- ) => {}) /* 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. */(
19467
- 0,
19559
+ var ret = ((a1, a2) => {})(
19560
+ /* 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,
19468
19561
  arg
19469
19562
  );
19470
19563
  if (ret !== 0) return;
@@ -19478,65 +19571,6 @@ export function init(RuntimeName, PHPLoader) {
19478
19571
  var __Unwind_FindEnclosingFunction = (ip) => 0;
19479
19572
  __Unwind_FindEnclosingFunction.sig = 'pp';
19480
19573
 
19481
- class ExceptionInfo {
19482
- // excPtr - Thrown object pointer to wrap. Metadata pointer is calculated from it.
19483
- constructor(excPtr) {
19484
- this.excPtr = excPtr;
19485
- this.ptr = excPtr - 24;
19486
- }
19487
-
19488
- set_type(type) {
19489
- HEAPU32[(this.ptr + 4) >> 2] = type;
19490
- }
19491
-
19492
- get_type() {
19493
- return HEAPU32[(this.ptr + 4) >> 2];
19494
- }
19495
-
19496
- set_destructor(destructor) {
19497
- HEAPU32[(this.ptr + 8) >> 2] = destructor;
19498
- }
19499
-
19500
- get_destructor() {
19501
- return HEAPU32[(this.ptr + 8) >> 2];
19502
- }
19503
-
19504
- set_caught(caught) {
19505
- caught = caught ? 1 : 0;
19506
- HEAP8[this.ptr + 12] = caught;
19507
- }
19508
-
19509
- get_caught() {
19510
- return HEAP8[this.ptr + 12] != 0;
19511
- }
19512
-
19513
- set_rethrown(rethrown) {
19514
- rethrown = rethrown ? 1 : 0;
19515
- HEAP8[this.ptr + 13] = rethrown;
19516
- }
19517
-
19518
- get_rethrown() {
19519
- return HEAP8[this.ptr + 13] != 0;
19520
- }
19521
-
19522
- // Initialize native structure fields. Should be called once after allocated.
19523
- init(type, destructor) {
19524
- this.set_adjusted_ptr(0);
19525
- this.set_type(type);
19526
- this.set_destructor(destructor);
19527
- }
19528
-
19529
- set_adjusted_ptr(adjustedPtr) {
19530
- HEAPU32[(this.ptr + 16) >> 2] = adjustedPtr;
19531
- }
19532
-
19533
- get_adjusted_ptr() {
19534
- return HEAPU32[(this.ptr + 16) >> 2];
19535
- }
19536
- }
19537
-
19538
- var exceptionLast = 0;
19539
-
19540
19574
  var uncaughtExceptionCount = 0;
19541
19575
  var ___cxa_throw = (ptr, type, destructor) => {
19542
19576
  var info = new ExceptionInfo(ptr);
@@ -20109,12 +20143,8 @@ export function init(RuntimeName, PHPLoader) {
20109
20143
  stringToUTF8(e.locale || '', keyEventData + 128, 32);
20110
20144
 
20111
20145
  if (
20112
- ((
20113
- a1,
20114
- a2,
20115
- a3
20116
- ) => {}) /* 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. */(
20117
- eventTypeId,
20146
+ ((a1, a2, a3) => {})(
20147
+ /* 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,
20118
20148
  keyEventData,
20119
20149
  userData
20120
20150
  )
@@ -20232,12 +20262,8 @@ export function init(RuntimeName, PHPLoader) {
20232
20262
  fillMouseEventData(JSEvents.mouseEvent, e, target);
20233
20263
 
20234
20264
  if (
20235
- ((
20236
- a1,
20237
- a2,
20238
- a3
20239
- ) => {}) /* 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. */(
20240
- eventTypeId,
20265
+ ((a1, a2, a3) => {})(
20266
+ /* 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,
20241
20267
  JSEvents.mouseEvent,
20242
20268
  userData
20243
20269
  )
@@ -20451,12 +20477,8 @@ export function init(RuntimeName, PHPLoader) {
20451
20477
  HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
20452
20478
  HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
20453
20479
  if (
20454
- ((
20455
- a1,
20456
- a2,
20457
- a3
20458
- ) => {}) /* 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. */(
20459
- eventTypeId,
20480
+ ((a1, a2, a3) => {})(
20481
+ /* 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,
20460
20482
  wheelEvent,
20461
20483
  userData
20462
20484
  )
@@ -20537,12 +20559,8 @@ export function init(RuntimeName, PHPLoader) {
20537
20559
  HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
20538
20560
  HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
20539
20561
  if (
20540
- ((
20541
- a1,
20542
- a2,
20543
- a3
20544
- ) => {}) /* 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. */(
20545
- eventTypeId,
20562
+ ((a1, a2, a3) => {})(
20563
+ /* 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,
20546
20564
  uiEvent,
20547
20565
  userData
20548
20566
  )
@@ -20616,12 +20634,8 @@ export function init(RuntimeName, PHPLoader) {
20616
20634
  stringToUTF8(id, focusEvent + 128, 128);
20617
20635
 
20618
20636
  if (
20619
- ((
20620
- a1,
20621
- a2,
20622
- a3
20623
- ) => {}) /* 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. */(
20624
- eventTypeId,
20637
+ ((a1, a2, a3) => {})(
20638
+ /* 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,
20625
20639
  focusEvent,
20626
20640
  userData
20627
20641
  )
@@ -20737,12 +20751,8 @@ export function init(RuntimeName, PHPLoader) {
20737
20751
  ); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
20738
20752
 
20739
20753
  if (
20740
- ((
20741
- a1,
20742
- a2,
20743
- a3
20744
- ) => {}) /* 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. */(
20745
- eventTypeId,
20754
+ ((a1, a2, a3) => {})(
20755
+ /* 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,
20746
20756
  JSEvents.deviceOrientationEvent,
20747
20757
  userData
20748
20758
  )
@@ -20825,12 +20835,8 @@ export function init(RuntimeName, PHPLoader) {
20825
20835
  fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
20826
20836
 
20827
20837
  if (
20828
- ((
20829
- a1,
20830
- a2,
20831
- a3
20832
- ) => {}) /* 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. */(
20833
- eventTypeId,
20838
+ ((a1, a2, a3) => {})(
20839
+ /* 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,
20834
20840
  JSEvents.deviceMotionEvent,
20835
20841
  userData
20836
20842
  )
@@ -20940,12 +20946,8 @@ export function init(RuntimeName, PHPLoader) {
20940
20946
  fillOrientationChangeEventData(orientationChangeEvent);
20941
20947
 
20942
20948
  if (
20943
- ((
20944
- a1,
20945
- a2,
20946
- a3
20947
- ) => {}) /* 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. */(
20948
- eventTypeId,
20949
+ ((a1, a2, a3) => {})(
20950
+ /* 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,
20949
20951
  orientationChangeEvent,
20950
20952
  userData
20951
20953
  )
@@ -21078,12 +21080,8 @@ export function init(RuntimeName, PHPLoader) {
21078
21080
  fillFullscreenChangeEventData(fullscreenChangeEvent);
21079
21081
 
21080
21082
  if (
21081
- ((
21082
- a1,
21083
- a2,
21084
- a3
21085
- ) => {}) /* 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. */(
21086
- eventTypeId,
21083
+ ((a1, a2, a3) => {})(
21084
+ /* 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,
21087
21085
  fullscreenChangeEvent,
21088
21086
  userData
21089
21087
  )
@@ -21247,12 +21245,8 @@ export function init(RuntimeName, PHPLoader) {
21247
21245
  );
21248
21246
 
21249
21247
  if (currentFullscreenStrategy.canvasResizedCallback) {
21250
- ((
21251
- a1,
21252
- a2,
21253
- a3
21254
- ) => {}) /* 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. */(
21255
- 37,
21248
+ ((a1, a2, a3) => {})(
21249
+ /* 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,
21256
21250
  0,
21257
21251
  currentFullscreenStrategy.canvasResizedCallbackUserData
21258
21252
  );
@@ -21358,12 +21352,8 @@ export function init(RuntimeName, PHPLoader) {
21358
21352
  currentFullscreenStrategy = strategy;
21359
21353
 
21360
21354
  if (strategy.canvasResizedCallback) {
21361
- ((
21362
- a1,
21363
- a2,
21364
- a3
21365
- ) => {}) /* 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. */(
21366
- 37,
21355
+ ((a1, a2, a3) => {})(
21356
+ /* 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,
21367
21357
  0,
21368
21358
  strategy.canvasResizedCallbackUserData
21369
21359
  );
@@ -21465,12 +21455,8 @@ export function init(RuntimeName, PHPLoader) {
21465
21455
  !inCenteredWithoutScalingFullscreenMode &&
21466
21456
  currentFullscreenStrategy.canvasResizedCallback
21467
21457
  ) {
21468
- ((
21469
- a1,
21470
- a2,
21471
- a3
21472
- ) => {}) /* 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. */(
21473
- 37,
21458
+ ((a1, a2, a3) => {})(
21459
+ /* 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,
21474
21460
  0,
21475
21461
  currentFullscreenStrategy.canvasResizedCallbackUserData
21476
21462
  );
@@ -21569,12 +21555,8 @@ export function init(RuntimeName, PHPLoader) {
21569
21555
  softFullscreenResizeWebGLRenderTarget
21570
21556
  );
21571
21557
  if (strategy.canvasResizedCallback) {
21572
- ((
21573
- a1,
21574
- a2,
21575
- a3
21576
- ) => {}) /* 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. */(
21577
- 37,
21558
+ ((a1, a2, a3) => {})(
21559
+ /* 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,
21578
21560
  0,
21579
21561
  strategy.canvasResizedCallbackUserData
21580
21562
  );
@@ -21587,12 +21569,8 @@ export function init(RuntimeName, PHPLoader) {
21587
21569
 
21588
21570
  // Inform the caller that the canvas size has changed.
21589
21571
  if (strategy.canvasResizedCallback) {
21590
- ((
21591
- a1,
21592
- a2,
21593
- a3
21594
- ) => {}) /* 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. */(
21595
- 37,
21572
+ ((a1, a2, a3) => {})(
21573
+ /* 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,
21596
21574
  0,
21597
21575
  strategy.canvasResizedCallbackUserData
21598
21576
  );
@@ -21660,12 +21638,8 @@ export function init(RuntimeName, PHPLoader) {
21660
21638
  fillPointerlockChangeEventData(pointerlockChangeEvent);
21661
21639
 
21662
21640
  if (
21663
- ((
21664
- a1,
21665
- a2,
21666
- a3
21667
- ) => {}) /* 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. */(
21668
- eventTypeId,
21641
+ ((a1, a2, a3) => {})(
21642
+ /* 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,
21669
21643
  pointerlockChangeEvent,
21670
21644
  userData
21671
21645
  )
@@ -21755,12 +21729,8 @@ export function init(RuntimeName, PHPLoader) {
21755
21729
  ) => {
21756
21730
  var pointerlockErrorEventHandlerFunc = (e = event) => {
21757
21731
  if (
21758
- ((
21759
- a1,
21760
- a2,
21761
- a3
21762
- ) => {}) /* 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. */(
21763
- eventTypeId,
21732
+ ((a1, a2, a3) => {})(
21733
+ /* 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,
21764
21734
  0,
21765
21735
  userData
21766
21736
  )
@@ -21960,12 +21930,8 @@ export function init(RuntimeName, PHPLoader) {
21960
21930
  fillVisibilityChangeEventData(visibilityChangeEvent);
21961
21931
 
21962
21932
  if (
21963
- ((
21964
- a1,
21965
- a2,
21966
- a3
21967
- ) => {}) /* 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. */(
21968
- eventTypeId,
21933
+ ((a1, a2, a3) => {})(
21934
+ /* 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,
21969
21935
  visibilityChangeEvent,
21970
21936
  userData
21971
21937
  )
@@ -22085,12 +22051,8 @@ export function init(RuntimeName, PHPLoader) {
22085
22051
  HEAP32[(touchEvent + 8) >> 2] = numTouches;
22086
22052
 
22087
22053
  if (
22088
- ((
22089
- a1,
22090
- a2,
22091
- a3
22092
- ) => {}) /* 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. */(
22093
- eventTypeId,
22054
+ ((a1, a2, a3) => {})(
22055
+ /* 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,
22094
22056
  touchEvent,
22095
22057
  userData
22096
22058
  )
@@ -22228,12 +22190,8 @@ export function init(RuntimeName, PHPLoader) {
22228
22190
  fillGamepadEventData(gamepadEvent, e['gamepad']);
22229
22191
 
22230
22192
  if (
22231
- ((
22232
- a1,
22233
- a2,
22234
- a3
22235
- ) => {}) /* 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. */(
22236
- eventTypeId,
22193
+ ((a1, a2, a3) => {})(
22194
+ /* 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,
22237
22195
  gamepadEvent,
22238
22196
  userData
22239
22197
  )
@@ -22335,12 +22293,8 @@ export function init(RuntimeName, PHPLoader) {
22335
22293
  ) => {
22336
22294
  var beforeUnloadEventHandlerFunc = (e = event) => {
22337
22295
  // Note: This is always called on the main browser thread, since it needs synchronously return a value!
22338
- var confirmationMessage = ((
22339
- a1,
22340
- a2,
22341
- a3
22342
- ) => {}) /* 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. */(
22343
- eventTypeId,
22296
+ var confirmationMessage = ((a1, a2, a3) => {})(
22297
+ /* 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,
22344
22298
  0,
22345
22299
  userData
22346
22300
  );
@@ -22411,12 +22365,8 @@ export function init(RuntimeName, PHPLoader) {
22411
22365
  fillBatteryEventData(batteryEvent, battery());
22412
22366
 
22413
22367
  if (
22414
- ((
22415
- a1,
22416
- a2,
22417
- a3
22418
- ) => {}) /* 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. */(
22419
- eventTypeId,
22368
+ ((a1, a2, a3) => {})(
22369
+ /* 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,
22420
22370
  batteryEvent,
22421
22371
  userData
22422
22372
  )
@@ -22506,11 +22456,8 @@ export function init(RuntimeName, PHPLoader) {
22506
22456
 
22507
22457
  var _emscripten_request_animation_frame = (cb, userData) =>
22508
22458
  requestAnimationFrame((timeStamp) =>
22509
- ((
22510
- a1,
22511
- a2
22512
- ) => {}) /* 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. */(
22513
- timeStamp,
22459
+ ((a1, a2) => {})(
22460
+ /* 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,
22514
22461
  userData
22515
22462
  )
22516
22463
  );
@@ -22522,11 +22469,8 @@ export function init(RuntimeName, PHPLoader) {
22522
22469
  var _emscripten_request_animation_frame_loop = (cb, userData) => {
22523
22470
  function tick(timeStamp) {
22524
22471
  if (
22525
- ((
22526
- a1,
22527
- a2
22528
- ) => {}) /* 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. */(
22529
- timeStamp,
22472
+ ((a1, a2) => {})(
22473
+ /* 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,
22530
22474
  userData
22531
22475
  )
22532
22476
  ) {
@@ -22751,10 +22695,8 @@ export function init(RuntimeName, PHPLoader) {
22751
22695
  return emSetImmediate(() => {
22752
22696
  runtimeKeepalivePop();
22753
22697
  callUserCallback(() =>
22754
- ((
22755
- a1
22756
- ) => {}) /* 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. */(
22757
- userData
22698
+ ((a1) => {})(
22699
+ /* 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
22758
22700
  )
22759
22701
  );
22760
22702
  });
@@ -22771,10 +22713,8 @@ export function init(RuntimeName, PHPLoader) {
22771
22713
  function tick() {
22772
22714
  callUserCallback(() => {
22773
22715
  if (
22774
- ((
22775
- a1
22776
- ) => {}) /* 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. */(
22777
- userData
22716
+ ((a1) => {})(
22717
+ /* 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
22778
22718
  )
22779
22719
  ) {
22780
22720
  emSetImmediate(tick);
@@ -22791,10 +22731,8 @@ export function init(RuntimeName, PHPLoader) {
22791
22731
  var _emscripten_set_timeout = (cb, msecs, userData) =>
22792
22732
  safeSetTimeout(
22793
22733
  () =>
22794
- ((
22795
- a1
22796
- ) => {}) /* 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. */(
22797
- userData
22734
+ ((a1) => {})(
22735
+ /* 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
22798
22736
  ),
22799
22737
  msecs
22800
22738
  );
@@ -22810,11 +22748,8 @@ export function init(RuntimeName, PHPLoader) {
22810
22748
  runtimeKeepalivePop();
22811
22749
  callUserCallback(() => {
22812
22750
  if (
22813
- ((
22814
- a1,
22815
- a2
22816
- ) => {}) /* 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. */(
22817
- t,
22751
+ ((a1, a2) => {})(
22752
+ /* 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,
22818
22753
  userData
22819
22754
  )
22820
22755
  ) {
@@ -22838,10 +22773,8 @@ export function init(RuntimeName, PHPLoader) {
22838
22773
  runtimeKeepalivePush();
22839
22774
  return setInterval(() => {
22840
22775
  callUserCallback(() =>
22841
- ((
22842
- a1
22843
- ) => {}) /* 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. */(
22844
- userData
22776
+ ((a1) => {})(
22777
+ /* 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
22845
22778
  )
22846
22779
  );
22847
22780
  }, msecs);
@@ -22856,10 +22789,8 @@ export function init(RuntimeName, PHPLoader) {
22856
22789
 
22857
22790
  var _emscripten_async_call = (func, arg, millis) => {
22858
22791
  var wrapper = () =>
22859
- ((
22860
- a1
22861
- ) => {}) /* 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. */(
22862
- arg
22792
+ ((a1) => {})(
22793
+ /* 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
22863
22794
  );
22864
22795
 
22865
22796
  if (
@@ -22892,7 +22823,7 @@ export function init(RuntimeName, PHPLoader) {
22892
22823
 
22893
22824
  var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
22894
22825
  var iterFunc =
22895
- () => {} /* 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. */;
22826
+ () => {}; /* 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. */
22896
22827
  setMainLoop(iterFunc, fps, simulateInfiniteLoop);
22897
22828
  };
22898
22829
  _emscripten_set_main_loop.sig = 'vpii';
@@ -22904,10 +22835,8 @@ export function init(RuntimeName, PHPLoader) {
22904
22835
  simulateInfiniteLoop
22905
22836
  ) => {
22906
22837
  var iterFunc = () =>
22907
- ((
22908
- a1
22909
- ) => {}) /* 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. */(
22910
- arg
22838
+ ((a1) => {})(
22839
+ /* 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
22911
22840
  );
22912
22841
  setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
22913
22842
  };
@@ -22928,10 +22857,8 @@ export function init(RuntimeName, PHPLoader) {
22928
22857
  var __emscripten_push_main_loop_blocker = (func, arg, name) => {
22929
22858
  MainLoop.queue.push({
22930
22859
  func: () => {
22931
- ((
22932
- a1
22933
- ) => {}) /* 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. */(
22934
- arg
22860
+ ((a1) => {})(
22861
+ /* 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
22935
22862
  );
22936
22863
  },
22937
22864
  name: UTF8ToString(name),
@@ -22944,10 +22871,8 @@ export function init(RuntimeName, PHPLoader) {
22944
22871
  var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
22945
22872
  MainLoop.queue.push({
22946
22873
  func: () => {
22947
- ((
22948
- a1
22949
- ) => {}) /* 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. */(
22950
- arg
22874
+ ((a1) => {})(
22875
+ /* 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
22951
22876
  );
22952
22877
  },
22953
22878
  name: UTF8ToString(name),
@@ -22981,12 +22906,8 @@ export function init(RuntimeName, PHPLoader) {
22981
22906
  var resultPtr = stackAlloc(POINTER_SIZE);
22982
22907
  HEAPU32[resultPtr >> 2] = 0;
22983
22908
  try {
22984
- var result = ((
22985
- a1,
22986
- a2,
22987
- a3
22988
- ) => {}) /* 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. */(
22989
- resultPtr,
22909
+ var result = ((a1, a2, a3) => {})(
22910
+ /* 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,
22990
22911
  userData,
22991
22912
  value
22992
22913
  );
@@ -23120,52 +23041,6 @@ export function init(RuntimeName, PHPLoader) {
23120
23041
  _emscripten_promise_await.sig = 'vpp';
23121
23042
  _emscripten_promise_await.isAsync = true;
23122
23043
 
23123
- var ___resumeException = (ptr) => {
23124
- if (!exceptionLast) {
23125
- exceptionLast = ptr;
23126
- }
23127
- throw exceptionLast;
23128
- };
23129
- ___resumeException.sig = 'vp';
23130
-
23131
- var findMatchingCatch = (args) => {
23132
- var thrown = exceptionLast;
23133
- if (!thrown) {
23134
- // just pass through the null ptr
23135
- setTempRet0(0);
23136
- return 0;
23137
- }
23138
- var info = new ExceptionInfo(thrown);
23139
- info.set_adjusted_ptr(thrown);
23140
- var thrownType = info.get_type();
23141
- if (!thrownType) {
23142
- // just pass through the thrown ptr
23143
- setTempRet0(0);
23144
- return thrown;
23145
- }
23146
-
23147
- // can_catch receives a **, add indirection
23148
- // The different catch blocks are denoted by different types.
23149
- // Due to inheritance, those types may not precisely match the
23150
- // type of the thrown object. Find one which matches, and
23151
- // return the type of the catch block which should be called.
23152
- for (var caughtType of args) {
23153
- if (caughtType === 0 || caughtType === thrownType) {
23154
- // Catch all clause matched or exactly the same type is caught
23155
- break;
23156
- }
23157
- var adjusted_ptr_addr = info.ptr + 16;
23158
- if (___cxa_can_catch(caughtType, thrownType, adjusted_ptr_addr)) {
23159
- setTempRet0(caughtType);
23160
- return thrown;
23161
- }
23162
- }
23163
- setTempRet0(thrownType);
23164
- return thrown;
23165
- };
23166
- var ___cxa_find_matching_catch_2 = () => findMatchingCatch([]);
23167
- ___cxa_find_matching_catch_2.sig = 'p';
23168
-
23169
23044
  var ___cxa_find_matching_catch_3 = (arg0) => findMatchingCatch([arg0]);
23170
23045
  ___cxa_find_matching_catch_3.sig = 'pp';
23171
23046
 
@@ -23922,19 +23797,15 @@ export function init(RuntimeName, PHPLoader) {
23922
23797
  () => {
23923
23798
  runtimeKeepalivePop();
23924
23799
  if (onload)
23925
- ((
23926
- a1
23927
- ) => {}) /* 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. */(
23928
- file
23800
+ ((a1) => {})(
23801
+ /* 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
23929
23802
  );
23930
23803
  },
23931
23804
  () => {
23932
23805
  runtimeKeepalivePop();
23933
23806
  if (onerror)
23934
- ((
23935
- a1
23936
- ) => {}) /* 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. */(
23937
- file
23807
+ ((a1) => {})(
23808
+ /* 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
23938
23809
  );
23939
23810
  },
23940
23811
  true // don'tCreateFile - it's already there
@@ -23968,21 +23839,16 @@ export function init(RuntimeName, PHPLoader) {
23968
23839
  () => {
23969
23840
  runtimeKeepalivePop();
23970
23841
  if (onload)
23971
- ((
23972
- a1,
23973
- a2
23974
- ) => {}) /* 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. */(
23975
- arg,
23842
+ ((a1, a2) => {})(
23843
+ /* 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,
23976
23844
  cname
23977
23845
  );
23978
23846
  },
23979
23847
  () => {
23980
23848
  runtimeKeepalivePop();
23981
23849
  if (onerror)
23982
- ((
23983
- a1
23984
- ) => {}) /* 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. */(
23985
- arg
23850
+ ((a1) => {})(
23851
+ /* 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
23986
23852
  );
23987
23853
  },
23988
23854
  true // don'tCreateFile - it's already there
@@ -24255,10 +24121,10 @@ export function init(RuntimeName, PHPLoader) {
24255
24121
  runtimeKeepalivePop();
24256
24122
  callUserCallback(() => {
24257
24123
  var sp = stackSave();
24258
- ((
24259
- a1
24260
- ) => {}) /* 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. */(
24261
- stringToUTF8OnStack(_file)
24124
+ ((a1) => {})(
24125
+ /* 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(
24126
+ _file
24127
+ )
24262
24128
  );
24263
24129
  stackRestore(sp);
24264
24130
  });
@@ -24302,12 +24168,8 @@ export function init(RuntimeName, PHPLoader) {
24302
24168
  callUserCallback(() => {
24303
24169
  var buffer = _malloc(byteArray.length);
24304
24170
  HEAPU8.set(byteArray, buffer);
24305
- ((
24306
- a1,
24307
- a2,
24308
- a3
24309
- ) => {}) /* 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. */(
24310
- userdata,
24171
+ ((a1, a2, a3) => {})(
24172
+ /* 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,
24311
24173
  buffer,
24312
24174
  byteArray.length
24313
24175
  );
@@ -24317,10 +24179,8 @@ export function init(RuntimeName, PHPLoader) {
24317
24179
  if (onerror) {
24318
24180
  runtimeKeepalivePop();
24319
24181
  callUserCallback(() => {
24320
- ((
24321
- a1
24322
- ) => {}) /* 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. */(
24323
- userdata
24182
+ ((a1) => {})(
24183
+ /* 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
24324
24184
  );
24325
24185
  });
24326
24186
  }
@@ -24377,12 +24237,8 @@ export function init(RuntimeName, PHPLoader) {
24377
24237
  );
24378
24238
  if (onload) {
24379
24239
  var sp = stackSave();
24380
- ((
24381
- a1,
24382
- a2,
24383
- a3
24384
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24385
- handle,
24240
+ ((a1, a2, a3) => {})(
24241
+ /* 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,
24386
24242
  userdata,
24387
24243
  stringToUTF8OnStack(_file)
24388
24244
  );
@@ -24390,12 +24246,8 @@ export function init(RuntimeName, PHPLoader) {
24390
24246
  }
24391
24247
  } else {
24392
24248
  if (onerror)
24393
- ((
24394
- a1,
24395
- a2,
24396
- a3
24397
- ) => {}) /* 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. */(
24398
- handle,
24249
+ ((a1, a2, a3) => {})(
24250
+ /* 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,
24399
24251
  userdata,
24400
24252
  http.status
24401
24253
  );
@@ -24408,12 +24260,8 @@ export function init(RuntimeName, PHPLoader) {
24408
24260
  http.onerror = (e) => {
24409
24261
  runtimeKeepalivePop();
24410
24262
  if (onerror)
24411
- ((
24412
- a1,
24413
- a2,
24414
- a3
24415
- ) => {}) /* 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. */(
24416
- handle,
24263
+ ((a1, a2, a3) => {})(
24264
+ /* 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,
24417
24265
  userdata,
24418
24266
  http.status
24419
24267
  );
@@ -24428,12 +24276,8 @@ export function init(RuntimeName, PHPLoader) {
24428
24276
  ) {
24429
24277
  var percentComplete = (e.loaded / e.total) * 100;
24430
24278
  if (onprogress)
24431
- ((
24432
- a1,
24433
- a2,
24434
- a3
24435
- ) => {}) /* 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. */(
24436
- handle,
24279
+ ((a1, a2, a3) => {})(
24280
+ /* 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,
24437
24281
  userdata,
24438
24282
  percentComplete
24439
24283
  );
@@ -24490,13 +24334,8 @@ export function init(RuntimeName, PHPLoader) {
24490
24334
  if (http.statusText) {
24491
24335
  statusText = stringToUTF8OnStack(http.statusText);
24492
24336
  }
24493
- ((
24494
- a1,
24495
- a2,
24496
- a3,
24497
- a4
24498
- ) => {}) /* 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. */(
24499
- handle,
24337
+ ((a1, a2, a3, a4) => {})(
24338
+ /* 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,
24500
24339
  userdata,
24501
24340
  http.status,
24502
24341
  statusText
@@ -24517,13 +24356,8 @@ export function init(RuntimeName, PHPLoader) {
24517
24356
  var buffer = _malloc(byteArray.length);
24518
24357
  HEAPU8.set(byteArray, buffer);
24519
24358
  if (onload)
24520
- ((
24521
- a1,
24522
- a2,
24523
- a3,
24524
- a4
24525
- ) => {}) /* 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. */(
24526
- handle,
24359
+ ((a1, a2, a3, a4) => {})(
24360
+ /* 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,
24527
24361
  userdata,
24528
24362
  buffer,
24529
24363
  byteArray.length
@@ -24544,13 +24378,8 @@ export function init(RuntimeName, PHPLoader) {
24544
24378
  // PROGRESS
24545
24379
  http.onprogress = (e) => {
24546
24380
  if (onprogress)
24547
- ((
24548
- a1,
24549
- a2,
24550
- a3,
24551
- a4
24552
- ) => {}) /* 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. */(
24553
- handle,
24381
+ ((a1, a2, a3, a4) => {})(
24382
+ /* 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,
24554
24383
  userdata,
24555
24384
  e.loaded,
24556
24385
  e.lengthComputable || e.lengthComputable === undefined
@@ -24670,24 +24499,16 @@ export function init(RuntimeName, PHPLoader) {
24670
24499
  if (event === 'error') {
24671
24500
  withStackSave(() => {
24672
24501
  var msg = stringToUTF8OnStack(data[2]);
24673
- ((
24674
- a1,
24675
- a2,
24676
- a3,
24677
- a4
24678
- ) => {}) /* 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. */(
24679
- data[0],
24502
+ ((a1, a2, a3, a4) => {})(
24503
+ /* 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],
24680
24504
  data[1],
24681
24505
  msg,
24682
24506
  userData
24683
24507
  );
24684
24508
  });
24685
24509
  } else {
24686
- ((
24687
- a1,
24688
- a2
24689
- ) => {}) /* 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. */(
24690
- data,
24510
+ ((a1, a2) => {})(
24511
+ /* 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,
24691
24512
  userData
24692
24513
  );
24693
24514
  }
@@ -25153,12 +24974,8 @@ export function init(RuntimeName, PHPLoader) {
25153
24974
  ) => {
25154
24975
  var webGlEventHandlerFunc = (e = event) => {
25155
24976
  if (
25156
- ((
25157
- a1,
25158
- a2,
25159
- a3
25160
- ) => {}) /* 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. */(
25161
- eventTypeId,
24977
+ ((a1, a2, a3) => {})(
24978
+ /* 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,
25162
24979
  0,
25163
24980
  userData
25164
24981
  )
@@ -25377,21 +25194,15 @@ export function init(RuntimeName, PHPLoader) {
25377
25194
  ) {
25378
25195
  event.preventDefault();
25379
25196
  GLUT.saveModifiers(event);
25380
- ((
25381
- a1,
25382
- a2
25383
- ) => {}) /* 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. */(
25384
- lastX,
25197
+ ((a1, a2) => {})(
25198
+ /* 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,
25385
25199
  lastY
25386
25200
  );
25387
25201
  } else if (GLUT.buttons != 0 && GLUT.motionFunc) {
25388
25202
  event.preventDefault();
25389
25203
  GLUT.saveModifiers(event);
25390
- ((
25391
- a1,
25392
- a2
25393
- ) => {}) /* 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. */(
25394
- lastX,
25204
+ ((a1, a2) => {})(
25205
+ /* 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,
25395
25206
  lastY
25396
25207
  );
25397
25208
  }
@@ -25552,12 +25363,8 @@ export function init(RuntimeName, PHPLoader) {
25552
25363
  if (GLUT.specialFunc) {
25553
25364
  event.preventDefault();
25554
25365
  GLUT.saveModifiers(event);
25555
- ((
25556
- a1,
25557
- a2,
25558
- a3
25559
- ) => {}) /* 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. */(
25560
- key,
25366
+ ((a1, a2, a3) => {})(
25367
+ /* 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,
25561
25368
  Browser.mouseX,
25562
25369
  Browser.mouseY
25563
25370
  );
@@ -25567,12 +25374,8 @@ export function init(RuntimeName, PHPLoader) {
25567
25374
  if (key !== null && GLUT.keyboardFunc) {
25568
25375
  event.preventDefault();
25569
25376
  GLUT.saveModifiers(event);
25570
- ((
25571
- a1,
25572
- a2,
25573
- a3
25574
- ) => {}) /* 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. */(
25575
- key,
25377
+ ((a1, a2, a3) => {})(
25378
+ /* 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,
25576
25379
  Browser.mouseX,
25577
25380
  Browser.mouseY
25578
25381
  );
@@ -25587,12 +25390,8 @@ export function init(RuntimeName, PHPLoader) {
25587
25390
  if (GLUT.specialUpFunc) {
25588
25391
  event.preventDefault();
25589
25392
  GLUT.saveModifiers(event);
25590
- ((
25591
- a1,
25592
- a2,
25593
- a3
25594
- ) => {}) /* 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. */(
25595
- key,
25393
+ ((a1, a2, a3) => {})(
25394
+ /* 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,
25596
25395
  Browser.mouseX,
25597
25396
  Browser.mouseY
25598
25397
  );
@@ -25602,12 +25401,8 @@ export function init(RuntimeName, PHPLoader) {
25602
25401
  if (key !== null && GLUT.keyboardUpFunc) {
25603
25402
  event.preventDefault();
25604
25403
  GLUT.saveModifiers(event);
25605
- ((
25606
- a1,
25607
- a2,
25608
- a3
25609
- ) => {}) /* 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. */(
25610
- key,
25404
+ ((a1, a2, a3) => {})(
25405
+ /* 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,
25611
25406
  Browser.mouseX,
25612
25407
  Browser.mouseY
25613
25408
  );
@@ -25671,13 +25466,10 @@ export function init(RuntimeName, PHPLoader) {
25671
25466
  } catch (e) {}
25672
25467
  event.preventDefault();
25673
25468
  GLUT.saveModifiers(event);
25674
- ((
25675
- a1,
25676
- a2,
25677
- a3,
25678
- a4
25679
- ) => {}) /* 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. */(
25680
- event['button'],
25469
+ ((a1, a2, a3, a4) => {})(
25470
+ /* 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[
25471
+ 'button'
25472
+ ],
25681
25473
  0 /*GLUT_DOWN*/,
25682
25474
  Browser.mouseX,
25683
25475
  Browser.mouseY
@@ -25692,13 +25484,10 @@ export function init(RuntimeName, PHPLoader) {
25692
25484
  if (GLUT.mouseFunc) {
25693
25485
  event.preventDefault();
25694
25486
  GLUT.saveModifiers(event);
25695
- ((
25696
- a1,
25697
- a2,
25698
- a3,
25699
- a4
25700
- ) => {}) /* 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. */(
25701
- event['button'],
25487
+ ((a1, a2, a3, a4) => {})(
25488
+ /* 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[
25489
+ 'button'
25490
+ ],
25702
25491
  1 /*GLUT_UP*/,
25703
25492
  Browser.mouseX,
25704
25493
  Browser.mouseY
@@ -25727,13 +25516,8 @@ export function init(RuntimeName, PHPLoader) {
25727
25516
  if (GLUT.mouseFunc) {
25728
25517
  event.preventDefault();
25729
25518
  GLUT.saveModifiers(event);
25730
- ((
25731
- a1,
25732
- a2,
25733
- a3,
25734
- a4
25735
- ) => {}) /* 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. */(
25736
- button,
25519
+ ((a1, a2, a3, a4) => {})(
25520
+ /* 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,
25737
25521
  0 /*GLUT_DOWN*/,
25738
25522
  Browser.mouseX,
25739
25523
  Browser.mouseY
@@ -25776,11 +25560,8 @@ export function init(RuntimeName, PHPLoader) {
25776
25560
  /* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
25777
25561
  if (GLUT.reshapeFunc) {
25778
25562
  // out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
25779
- ((
25780
- a1,
25781
- a2
25782
- ) => {}) /* 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. */(
25783
- width,
25563
+ ((a1, a2) => {})(
25564
+ /* 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,
25784
25565
  height
25785
25566
  );
25786
25567
  }
@@ -25823,11 +25604,8 @@ export function init(RuntimeName, PHPLoader) {
25823
25604
 
25824
25605
  Browser.resizeListeners.push((width, height) => {
25825
25606
  if (GLUT.reshapeFunc) {
25826
- ((
25827
- a1,
25828
- a2
25829
- ) => {}) /* 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. */(
25830
- width,
25607
+ ((a1, a2) => {})(
25608
+ /* 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,
25831
25609
  height
25832
25610
  );
25833
25611
  }
@@ -25940,10 +25718,8 @@ export function init(RuntimeName, PHPLoader) {
25940
25718
  var _glutTimerFunc = (msec, func, value) =>
25941
25719
  safeSetTimeout(
25942
25720
  () =>
25943
- ((
25944
- a1
25945
- ) => {}) /* 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. */(
25946
- value
25721
+ ((a1) => {})(
25722
+ /* 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
25947
25723
  ),
25948
25724
  msec
25949
25725
  );
@@ -26103,11 +25879,8 @@ export function init(RuntimeName, PHPLoader) {
26103
25879
  Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
26104
25880
  // Just call it once here.
26105
25881
  if (GLUT.reshapeFunc) {
26106
- ((
26107
- a1,
26108
- a2
26109
- ) => {}) /* 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. */(
26110
- width,
25882
+ ((a1, a2) => {})(
25883
+ /* 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,
26111
25884
  height
26112
25885
  );
26113
25886
  }
@@ -27169,21 +26942,15 @@ export function init(RuntimeName, PHPLoader) {
27169
26942
  callUserCallback(() => {
27170
26943
  if (error) {
27171
26944
  if (onerror)
27172
- ((
27173
- a1
27174
- ) => {}) /* 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. */(
27175
- arg
26945
+ ((a1) => {})(
26946
+ /* 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
27176
26947
  );
27177
26948
  return;
27178
26949
  }
27179
26950
  var buffer = _malloc(byteArray.length);
27180
26951
  HEAPU8.set(byteArray, buffer);
27181
- ((
27182
- a1,
27183
- a2,
27184
- a3
27185
- ) => {}) /* 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. */(
27186
- arg,
26952
+ ((a1, a2, a3) => {})(
26953
+ /* 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,
27187
26954
  buffer,
27188
26955
  byteArray.length
27189
26956
  );
@@ -27215,18 +26982,14 @@ export function init(RuntimeName, PHPLoader) {
27215
26982
  callUserCallback(() => {
27216
26983
  if (error) {
27217
26984
  if (onerror)
27218
- ((
27219
- a1
27220
- ) => {}) /* 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. */(
27221
- 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
27222
26987
  );
27223
26988
  return;
27224
26989
  }
27225
26990
  if (onstore)
27226
- ((
27227
- a1
27228
- ) => {}) /* 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. */(
27229
- arg
26991
+ ((a1) => {})(
26992
+ /* 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
27230
26993
  );
27231
26994
  });
27232
26995
  }
@@ -27241,18 +27004,14 @@ export function init(RuntimeName, PHPLoader) {
27241
27004
  callUserCallback(() => {
27242
27005
  if (error) {
27243
27006
  if (onerror)
27244
- ((
27245
- a1
27246
- ) => {}) /* 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. */(
27247
- 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
27248
27009
  );
27249
27010
  return;
27250
27011
  }
27251
27012
  if (ondelete)
27252
- ((
27253
- a1
27254
- ) => {}) /* 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. */(
27255
- arg
27013
+ ((a1) => {})(
27014
+ /* 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
27256
27015
  );
27257
27016
  });
27258
27017
  });
@@ -27269,19 +27028,14 @@ export function init(RuntimeName, PHPLoader) {
27269
27028
  callUserCallback(() => {
27270
27029
  if (error) {
27271
27030
  if (onerror)
27272
- ((
27273
- a1
27274
- ) => {}) /* 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. */(
27275
- arg
27031
+ ((a1) => {})(
27032
+ /* 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
27276
27033
  );
27277
27034
  return;
27278
27035
  }
27279
27036
  if (oncheck)
27280
- ((
27281
- a1,
27282
- a2
27283
- ) => {}) /* 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. */(
27284
- arg,
27037
+ ((a1, a2) => {})(
27038
+ /* 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,
27285
27039
  exists
27286
27040
  );
27287
27041
  });
@@ -27297,18 +27051,14 @@ export function init(RuntimeName, PHPLoader) {
27297
27051
  callUserCallback(() => {
27298
27052
  if (error) {
27299
27053
  if (onerror)
27300
- ((
27301
- a1
27302
- ) => {}) /* 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. */(
27303
- 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
27304
27056
  );
27305
27057
  return;
27306
27058
  }
27307
27059
  if (onclear)
27308
- ((
27309
- a1
27310
- ) => {}) /* 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. */(
27311
- arg
27060
+ ((a1) => {})(
27061
+ /* 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
27312
27062
  );
27313
27063
  });
27314
27064
  });
@@ -27465,11 +27215,8 @@ export function init(RuntimeName, PHPLoader) {
27465
27215
  safeSetTimeout(() => {
27466
27216
  var stackBegin = Asyncify.currData + 12;
27467
27217
  var stackEnd = HEAPU32[Asyncify.currData >> 2];
27468
- ((
27469
- a1,
27470
- a2
27471
- ) => {}) /* 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. */(
27472
- stackBegin,
27218
+ ((a1, a2) => {})(
27219
+ /* 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,
27473
27220
  stackEnd
27474
27221
  );
27475
27222
  wakeUp();
@@ -27530,10 +27277,8 @@ export function init(RuntimeName, PHPLoader) {
27530
27277
  HEAPU32[(newFiber + 12) >> 2] = 0;
27531
27278
 
27532
27279
  var userData = HEAPU32[(newFiber + 16) >> 2];
27533
- ((
27534
- a1
27535
- ) => {}) /* 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. */(
27536
- userData
27280
+ ((a1) => {})(
27281
+ /* 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
27537
27282
  );
27538
27283
  } else {
27539
27284
  var asyncifyData = newFiber + 20;
@@ -28545,11 +28290,8 @@ export function init(RuntimeName, PHPLoader) {
28545
28290
  if (!SDL.eventHandler) return;
28546
28291
 
28547
28292
  while (SDL.pollEvent(SDL.eventHandlerTemp)) {
28548
- ((
28549
- a1,
28550
- a2
28551
- ) => {}) /* 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. */(
28552
- SDL.eventHandlerContext,
28293
+ ((a1, a2) => {})(
28294
+ /* 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,
28553
28295
  SDL.eventHandlerTemp
28554
28296
  );
28555
28297
  }
@@ -30182,12 +29924,9 @@ export function init(RuntimeName, PHPLoader) {
30182
29924
  return;
30183
29925
 
30184
29926
  // Ask SDL audio data from the user code.
30185
- ((
30186
- a1,
30187
- a2,
30188
- a3
30189
- ) => {}) /* 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. */(
30190
- SDL.audio.userdata,
29927
+ ((a1, a2, a3) => {})(
29928
+ /* 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
29929
+ .audio.userdata,
30191
29930
  SDL.audio.buffer,
30192
29931
  SDL.audio.bufferSize
30193
29932
  );
@@ -30645,10 +30384,8 @@ export function init(RuntimeName, PHPLoader) {
30645
30384
  info.audio = null;
30646
30385
  }
30647
30386
  if (SDL.channelFinished) {
30648
- ((
30649
- a1
30650
- ) => {}) /* 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. */(
30651
- channel
30387
+ ((a1) => {})(
30388
+ /* 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
30652
30389
  );
30653
30390
  }
30654
30391
  }
@@ -30717,10 +30454,8 @@ export function init(RuntimeName, PHPLoader) {
30717
30454
  channelInfo.audio = null;
30718
30455
  }
30719
30456
  if (SDL.channelFinished)
30720
- ((
30721
- a1
30722
- ) => {}) /* 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. */(
30723
- channel
30457
+ ((a1) => {})(
30458
+ /* 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
30724
30459
  );
30725
30460
  };
30726
30461
  if (channelInfo.audio) {
@@ -31468,11 +31203,8 @@ export function init(RuntimeName, PHPLoader) {
31468
31203
  var _SDL_AddTimer = (interval, callback, param) =>
31469
31204
  safeSetTimeout(
31470
31205
  () =>
31471
- ((
31472
- a1,
31473
- a2
31474
- ) => {}) /* 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. */(
31475
- interval,
31206
+ ((a1, a2) => {})(
31207
+ /* 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,
31476
31208
  param
31477
31209
  ),
31478
31210
  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
- a1,
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
- a1,
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
- a1,
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
- a1,
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
- 12317053: ($0) => {
31857
+ 13062269: ($0) => {
32142
31858
  if (!$0) {
32143
31859
  AL.alcErr = 0xa004;
32144
31860
  return 1;
32145
31861
  }
32146
31862
  },
32147
- 12317101: ($0) => {
31863
+ 13062317: ($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,
@@ -34927,12 +34651,18 @@ export function init(RuntimeName, PHPLoader) {
34927
34651
  /** @export */
34928
34652
  invoke_jiii,
34929
34653
  /** @export */
34654
+ invoke_jiji,
34655
+ /** @export */
34930
34656
  invoke_v,
34931
34657
  /** @export */
34932
34658
  invoke_vi,
34933
34659
  /** @export */
34934
34660
  invoke_vii,
34935
34661
  /** @export */
34662
+ invoke_viid,
34663
+ /** @export */
34664
+ invoke_viidddddddd,
34665
+ /** @export */
34936
34666
  invoke_viidii,
34937
34667
  /** @export */
34938
34668
  invoke_viii,
@@ -34959,6 +34689,8 @@ export function init(RuntimeName, PHPLoader) {
34959
34689
  /** @export */
34960
34690
  invoke_viijii,
34961
34691
  /** @export */
34692
+ invoke_vij,
34693
+ /** @export */
34962
34694
  invoke_vji,
34963
34695
  /** @export */
34964
34696
  js_fd_read,
@@ -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