summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/lib
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /js/src/jit-test/lib
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'js/src/jit-test/lib')
-rw-r--r--js/src/jit-test/lib/andTestHelper.js13
-rw-r--r--js/src/jit-test/lib/array-compare.js28
-rw-r--r--js/src/jit-test/lib/asm.js208
-rw-r--r--js/src/jit-test/lib/asserts.js99
-rw-r--r--js/src/jit-test/lib/bullet.js56012
-rw-r--r--js/src/jit-test/lib/bytecode-cache.js52
-rw-r--r--js/src/jit-test/lib/census.js161
-rw-r--r--js/src/jit-test/lib/debuggerNXHelper.js90
-rw-r--r--js/src/jit-test/lib/dummyModuleResolveHook.js14
-rw-r--r--js/src/jit-test/lib/eqArrayHelper.js21
-rw-r--r--js/src/jit-test/lib/evalInFrame.js32
-rw-r--r--js/src/jit-test/lib/immutable-prototype.js4
-rw-r--r--js/src/jit-test/lib/iteration.js30
-rw-r--r--js/src/jit-test/lib/jitopts.js75
-rw-r--r--js/src/jit-test/lib/mandelbrot-results.js7
-rw-r--r--js/src/jit-test/lib/match.js1
-rw-r--r--js/src/jit-test/lib/orTestHelper.js13
-rw-r--r--js/src/jit-test/lib/prologue.js39
-rw-r--r--js/src/jit-test/lib/range.js22
-rw-r--r--js/src/jit-test/lib/regexp_parse.js205
-rw-r--r--js/src/jit-test/lib/simd.js109
-rw-r--r--js/src/jit-test/lib/string.js24
-rw-r--r--js/src/jit-test/lib/syntax.js1356
-rw-r--r--js/src/jit-test/lib/wasm-binary.js95
-rw-r--r--js/src/jit-test/lib/wasm.js147
25 files changed, 58857 insertions, 0 deletions
diff --git a/js/src/jit-test/lib/andTestHelper.js b/js/src/jit-test/lib/andTestHelper.js
new file mode 100644
index 000000000..8e89a399a
--- /dev/null
+++ b/js/src/jit-test/lib/andTestHelper.js
@@ -0,0 +1,13 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+function andTestHelper(a, b, n)
+{
+ var k = 0;
+ for (var i = 0; i < n; i++) {
+ if (a && b)
+ k += i;
+ }
+ return k;
+}
diff --git a/js/src/jit-test/lib/array-compare.js b/js/src/jit-test/lib/array-compare.js
new file mode 100644
index 000000000..ede737b8c
--- /dev/null
+++ b/js/src/jit-test/lib/array-compare.js
@@ -0,0 +1,28 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+// Library file for tests to load.
+
+function SameValue(v1, v2)
+{
+ if (v1 === 0 && v2 === 0)
+ return 1 / v1 === 1 / v2;
+ if (v1 !== v1 && v2 !== v2)
+ return true;
+ return v1 === v2;
+}
+
+function arraysEqual(a1, a2)
+{
+ var len1 = a1.length, len2 = a2.length;
+ if (len1 !== len2)
+ return false;
+ for (var i = 0; i < len1; i++)
+ {
+ if (!SameValue(a1[i], a2[i]))
+ return false;
+ }
+ return true;
+}
+
diff --git a/js/src/jit-test/lib/asm.js b/js/src/jit-test/lib/asm.js
new file mode 100644
index 000000000..4f5afa903
--- /dev/null
+++ b/js/src/jit-test/lib/asm.js
@@ -0,0 +1,208 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+const ASM_TYPE_FAIL_STRING = "asm.js type error:";
+const ASM_DIRECTIVE_FAIL_STRING = "\"use asm\" is only meaningful in the Directive Prologue of a function body";
+
+const USE_ASM = '"use asm";';
+const HEAP_IMPORTS = "const i8=new glob.Int8Array(b);var u8=new glob.Uint8Array(b);"+
+ "const i16=new glob.Int16Array(b);var u16=new glob.Uint16Array(b);"+
+ "const i32=new glob.Int32Array(b);var u32=new glob.Uint32Array(b);"+
+ "const f32=new glob.Float32Array(b);var f64=new glob.Float64Array(b);";
+const BUF_MIN = 64 * 1024;
+const BUF_CHANGE_MIN = 16 * 1024 * 1024;
+const BUF_64KB = new ArrayBuffer(BUF_MIN);
+
+function asmCompile()
+{
+ var f = Function.apply(null, arguments);
+ assertEq(!isAsmJSCompilationAvailable() || isAsmJSModule(f), true);
+ return f;
+}
+
+function asmCompileCached()
+{
+ if (!isAsmJSCompilationAvailable())
+ return Function.apply(null, arguments);
+
+ if (!isCachingEnabled()) {
+ var f = Function.apply(null, arguments);
+ assertEq(isAsmJSModule(f), true);
+ return f;
+ }
+
+ var quotedArgs = [];
+ for (var i = 0; i < arguments.length; i++)
+ quotedArgs.push("'" + arguments[i] + "'");
+ var code = "setCachingEnabled(true); var f = new Function(" + quotedArgs.join(',') + ");assertEq(isAsmJSModule(f), true);";
+ nestedShell("--js-cache", "--no-js-cache-per-process", "--execute=" + code);
+
+ var f = Function.apply(null, arguments);
+ assertEq(isAsmJSModuleLoadedFromCache(f), true);
+ return f;
+}
+
+function assertAsmDirectiveFail(str)
+{
+ if (!isAsmJSCompilationAvailable())
+ return;
+
+ // Turn on warnings-as-errors
+ var oldOpts = options("werror");
+ assertEq(oldOpts.indexOf("werror"), -1);
+
+ // Verify an error is thrown
+ var caught = false;
+ try {
+ eval(str);
+ } catch (e) {
+ if ((''+e).indexOf(ASM_DIRECTIVE_FAIL_STRING) == -1)
+ throw new Error("Didn't catch the expected directive failure error; instead caught: " + e + "\nStack: " + new Error().stack);
+ caught = true;
+ }
+ if (!caught)
+ throw new Error("Didn't catch the directive failure error");
+
+ // Turn warnings-as-errors back off
+ options("werror");
+}
+
+function assertAsmTypeFail()
+{
+ if (!isAsmJSCompilationAvailable())
+ return;
+
+ // Verify no error is thrown with warnings off
+ Function.apply(null, arguments);
+
+ // Turn on throwing on validation errors
+ var oldOpts = options("throw_on_asmjs_validation_failure");
+ assertEq(oldOpts.indexOf("throw_on_asmjs_validation_failure"), -1);
+
+ // Verify an error is thrown
+ var caught = false;
+ try {
+ Function.apply(null, arguments);
+ } catch (e) {
+ if ((''+e).indexOf(ASM_TYPE_FAIL_STRING) == -1)
+ throw new Error("Didn't catch the expected type failure error; instead caught: " + e + "\nStack: " + new Error().stack);
+ caught = true;
+ }
+ if (!caught)
+ throw new Error("Didn't catch the type failure error");
+
+ // Turn warnings-as-errors back off
+ options("throw_on_asmjs_validation_failure");
+}
+
+function assertAsmLinkFail(f)
+{
+ if (!isAsmJSCompilationAvailable())
+ return;
+
+ assertEq(isAsmJSModule(f), true);
+
+ // Verify no error is thrown with warnings off
+ var ret = f.apply(null, Array.slice(arguments, 1));
+
+ assertEq(isAsmJSFunction(ret), false);
+ if (typeof ret === 'object')
+ for (var i in ret)
+ assertEq(isAsmJSFunction(ret[i]), false);
+
+ // Turn on warnings-as-errors
+ var oldOpts = options("werror");
+ assertEq(oldOpts.indexOf("werror"), -1);
+
+ // Verify an error is thrown
+ var caught = false;
+ try {
+ f.apply(null, Array.slice(arguments, 1));
+ } catch (e) {
+ // Arbitrary code an run in the GetProperty, so don't assert any
+ // particular string
+ caught = true;
+ }
+ if (!caught)
+ throw new Error("Didn't catch the link failure error");
+
+ // Turn warnings-as-errors back off
+ options("werror");
+}
+
+// Linking should throw an exception even without warnings-as-errors
+function assertAsmLinkAlwaysFail(f)
+{
+ var caught = false;
+ try {
+ f.apply(null, Array.slice(arguments, 1));
+ } catch (e) {
+ caught = true;
+ }
+ if (!caught)
+ throw new Error("Didn't catch the link failure error");
+
+ // Turn on warnings-as-errors
+ var oldOpts = options("werror");
+ assertEq(oldOpts.indexOf("werror"), -1);
+
+ // Verify an error is thrown
+ var caught = false;
+ try {
+ f.apply(null, Array.slice(arguments, 1));
+ } catch (e) {
+ caught = true;
+ }
+ if (!caught)
+ throw new Error("Didn't catch the link failure error");
+
+ // Turn warnings-as-errors back off
+ options("werror");
+}
+
+function assertAsmLinkDeprecated(f)
+{
+ if (!isAsmJSCompilationAvailable())
+ return;
+
+ // Verify no error is thrown with warnings off
+ f.apply(null, Array.slice(arguments, 1));
+
+ // Turn on warnings-as-errors
+ var oldOpts = options("werror");
+ assertEq(oldOpts.indexOf("werror"), -1);
+
+ // Verify an error is thrown
+ var caught = false;
+ try {
+ f.apply(null, Array.slice(arguments, 1));
+ } catch (e) {
+ // Arbitrary code an run in the GetProperty, so don't assert any
+ // particular string
+ caught = true;
+ }
+ if (!caught)
+ throw new Error("Didn't catch the link failure error");
+
+ // Turn warnings-as-errors back off
+ options("werror");
+}
+
+// Linking should throw a warning-as-error but otherwise run fine
+function asmLink(f)
+{
+ if (!isAsmJSCompilationAvailable())
+ return f.apply(null, Array.slice(arguments, 1));
+
+ // Turn on warnings-as-errors
+ var oldOpts = options("werror");
+ assertEq(oldOpts.indexOf("werror"), -1);
+
+ var ret = f.apply(null, Array.slice(arguments, 1));
+
+ // Turn warnings-as-errors back off
+ options("werror");
+
+ return ret;
+}
diff --git a/js/src/jit-test/lib/asserts.js b/js/src/jit-test/lib/asserts.js
new file mode 100644
index 000000000..119d5bd0f
--- /dev/null
+++ b/js/src/jit-test/lib/asserts.js
@@ -0,0 +1,99 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+
+load(libdir + "../../tests/ecma_6/shell.js");
+
+if (typeof assertWarning === 'undefined') {
+ var assertWarning = function assertWarning(f, errorClass, msg) {
+ var hadWerror = options().split(",").indexOf("werror") !== -1;
+
+ // Ensure the "werror" option is disabled.
+ if (hadWerror)
+ options("werror");
+
+ try {
+ f();
+ } catch (exc) {
+ if (hadWerror)
+ options("werror");
+
+ // print() rather than throw a different exception value, in case
+ // the caller wants exc.stack.
+ if (msg)
+ print("assertWarning: " + msg);
+ print("assertWarning: Unexpected exception calling " + f +
+ " with warnings-as-errors disabled");
+ throw exc;
+ }
+
+ // Enable the "werror" option.
+ options("werror");
+
+ try {
+ assertThrowsInstanceOf(f, errorClass, msg);
+ } catch (exc) {
+ if (msg)
+ print("assertWarning: " + msg);
+ throw exc;
+ } finally {
+ if (!hadWerror)
+ options("werror");
+ }
+ };
+}
+
+if (typeof assertNoWarning === 'undefined') {
+ var assertNoWarning = function assertWarning(f, msg) {
+ // Ensure the "werror" option is enabled.
+ var hadWerror = options().split(",").indexOf("werror") !== -1;
+ if (!hadWerror)
+ options("werror");
+
+ try {
+ f();
+ } catch (exc) {
+ if (msg)
+ print("assertNoWarning: " + msg);
+ print("assertNoWarning: Unexpected exception calling " + f +
+ "with warnings-as-errors enabled");
+ throw exc;
+ } finally {
+ if (!hadWerror)
+ options("werror");
+ }
+ };
+}
+
+if (typeof assertErrorMessage === 'undefined') {
+ var assertErrorMessage = function assertErrorMessage(f, ctor, test) {
+ try {
+ f();
+ } catch (e) {
+ if (!(e instanceof ctor))
+ throw new Error("Assertion failed: expected exception " + ctor.name + ", got " + e);
+ if (typeof test == "string") {
+ if (test != e.message)
+ throw new Error("Assertion failed: expected " + test + ", got " + e.message);
+ } else {
+ if (!test.test(e.message))
+ throw new Error("Assertion failed: expected " + test.toString() + ", got " + e.message);
+ }
+ return;
+ }
+ throw new Error("Assertion failed: expected exception " + ctor.name + ", no exception thrown");
+ };
+}
+
+if (typeof assertTypeErrorMessage === 'undefined') {
+ var assertTypeErrorMessage = function assertTypeErrorMessage(f, test) {
+ assertErrorMessage(f, TypeError, test);
+ };
+}
+
+if (typeof assertRangeErrorMessage === 'undefined') {
+ var assertRangeErrorMessage = function assertRangeErrorMessage(f, test) {
+ assertErrorMessage(f, RangeError, test);
+ };
+}
diff --git a/js/src/jit-test/lib/bullet.js b/js/src/jit-test/lib/bullet.js
new file mode 100644
index 000000000..babd26ebd
--- /dev/null
+++ b/js/src/jit-test/lib/bullet.js
@@ -0,0 +1,56012 @@
+// Note: For maximum-speed code, see "Optimizing Code" on the Emscripten wiki, https://github.com/kripken/emscripten/wiki/Optimizing-Code
+// Note: Some Emscripten settings may limit the speed of the generated code.
+// The Module object: Our interface to the outside world. We import
+// and export values on it, and do the work to get that through
+// closure compiler if necessary. There are various ways Module can be used:
+// 1. Not defined. We create it here
+// 2. A function parameter, function(Module) { ..generated code.. }
+// 3. pre-run appended it, var Module = {}; ..generated code..
+// 4. External script tag defines var Module.
+// We need to do an eval in order to handle the closure compiler
+// case, where this code here is minified but Module was defined
+// elsewhere (e.g. case 4 above). We also need to check if Module
+// already exists (e.g. case 3 above).
+// Note that if you want to run closure, and also to use Module
+// after the generated code, you will need to define var Module = {};
+// before the code. Then that object will be used in the code, and you
+// can continue to use Module afterwards as well.
+var Module;
+if (!Module) Module = eval('(function() { try { return Module || {} } catch(e) { return {} } })()');
+// Sometimes an existing Module object exists with properties
+// meant to overwrite the default module functionality. Here
+// we collect those properties and reapply _after_ we configure
+// the current environment's defaults to avoid having to be so
+// defensive during initialization.
+var moduleOverrides = {};
+for (var key in Module) {
+ if (Module.hasOwnProperty(key)) {
+ moduleOverrides[key] = Module[key];
+ }
+}
+// The environment setup code below is customized to use Module.
+// *** Environment setup code ***
+var printedOutput = "";
+Module['print'] = function f(str) {
+ printedOutput += str;
+}
+if (typeof printErr != 'undefined') Module['printErr'] = printErr; // not present in v8 or older sm
+if (typeof read != 'undefined') {
+Module['read'] = read;
+} else {
+Module['read'] = function() { throw 'no read() available (jsc?)' };
+}
+Module['readBinary'] = function(f) {
+return read(f, 'binary');
+};
+if (typeof scriptArgs != 'undefined') {
+Module['arguments'] = scriptArgs;
+} else if (typeof arguments != 'undefined') {
+Module['arguments'] = arguments;
+}
+this['Module'] = Module;
+function globalEval(x) {
+ eval.call(null, x);
+}
+if (!Module['load'] == 'undefined' && Module['read']) {
+ Module['load'] = function(f) {
+ globalEval(Module['read'](f));
+ };
+}
+if (!Module['printErr']) {
+ Module['printErr'] = Module['print'];
+}
+// *** Environment setup code ***
+// Closure helpers
+Module.print = Module['print'];
+Module.printErr = Module['printErr'];
+// Callbacks
+Module['preRun'] = [];
+Module['postRun'] = [];
+// Merge back in the overrides
+for (var key in moduleOverrides) {
+ if (moduleOverrides.hasOwnProperty(key)) {
+ Module[key] = moduleOverrides[key];
+ }
+}
+// === Auto-generated preamble library stuff ===
+//========================================
+// Runtime code shared with compiler
+//========================================
+var Runtime = {
+ stackSave: function () {
+ return STACKTOP;
+ },
+ stackRestore: function (stackTop) {
+ STACKTOP = stackTop;
+ },
+ forceAlign: function (target, quantum) {
+ quantum = quantum || 4;
+ if (quantum == 1) return target;
+ if (isNumber(target) && isNumber(quantum)) {
+ return Math.ceil(target/quantum)*quantum;
+ } else if (isNumber(quantum) && isPowerOfTwo(quantum)) {
+ var logg = log2(quantum);
+ return '((((' +target + ')+' + (quantum-1) + ')>>' + logg + ')<<' + logg + ')';
+ }
+ return 'Math.ceil((' + target + ')/' + quantum + ')*' + quantum;
+ },
+ isNumberType: function (type) {
+ return type in Runtime.INT_TYPES || type in Runtime.FLOAT_TYPES;
+ },
+ isPointerType: function isPointerType(type) {
+ return type[type.length-1] == '*';
+},
+ isStructType: function isStructType(type) {
+ if (isPointerType(type)) return false;
+ if (isArrayType(type)) return true;
+ if (/<?{ ?[^}]* ?}>?/.test(type)) return true; // { i32, i8 } etc. - anonymous struct types
+ // See comment in isStructPointerType()
+ return type[0] == '%';
+},
+ INT_TYPES: {"i1":0,"i8":0,"i16":0,"i32":0,"i64":0},
+ FLOAT_TYPES: {"float":0,"double":0},
+ or64: function (x, y) {
+ var l = (x | 0) | (y | 0);
+ var h = (Math.round(x / 4294967296) | Math.round(y / 4294967296)) * 4294967296;
+ return l + h;
+ },
+ and64: function (x, y) {
+ var l = (x | 0) & (y | 0);
+ var h = (Math.round(x / 4294967296) & Math.round(y / 4294967296)) * 4294967296;
+ return l + h;
+ },
+ xor64: function (x, y) {
+ var l = (x | 0) ^ (y | 0);
+ var h = (Math.round(x / 4294967296) ^ Math.round(y / 4294967296)) * 4294967296;
+ return l + h;
+ },
+ getNativeTypeSize: function (type, quantumSize) {
+ if (Runtime.QUANTUM_SIZE == 1) return 1;
+ var size = {
+ '%i1': 1,
+ '%i8': 1,
+ '%i16': 2,
+ '%i32': 4,
+ '%i64': 8,
+ "%float": 4,
+ "%double": 8
+ }['%'+type]; // add '%' since float and double confuse Closure compiler as keys, and also spidermonkey as a compiler will remove 's from '_i8' etc
+ if (!size) {
+ if (type.charAt(type.length-1) == '*') {
+ size = Runtime.QUANTUM_SIZE; // A pointer
+ } else if (type[0] == 'i') {
+ var bits = parseInt(type.substr(1));
+ assert(bits % 8 == 0);
+ size = bits/8;
+ }
+ }
+ return size;
+ },
+ getNativeFieldSize: function (type) {
+ return Math.max(Runtime.getNativeTypeSize(type), Runtime.QUANTUM_SIZE);
+ },
+ dedup: function dedup(items, ident) {
+ var seen = {};
+ if (ident) {
+ return items.filter(function(item) {
+ if (seen[item[ident]]) return false;
+ seen[item[ident]] = true;
+ return true;
+ });
+ } else {
+ return items.filter(function(item) {
+ if (seen[item]) return false;
+ seen[item] = true;
+ return true;
+ });
+ }
+},
+ set: function set() {
+ var args = typeof arguments[0] === 'object' ? arguments[0] : arguments;
+ var ret = {};
+ for (var i = 0; i < args.length; i++) {
+ ret[args[i]] = 0;
+ }
+ return ret;
+},
+ STACK_ALIGN: 8,
+ getAlignSize: function (type, size, vararg) {
+ // we align i64s and doubles on 64-bit boundaries, unlike x86
+ if (type == 'i64' || type == 'double' || vararg) return 8;
+ if (!type) return Math.min(size, 8); // align structures internally to 64 bits
+ return Math.min(size || (type ? Runtime.getNativeFieldSize(type) : 0), Runtime.QUANTUM_SIZE);
+ },
+ calculateStructAlignment: function calculateStructAlignment(type) {
+ type.flatSize = 0;
+ type.alignSize = 0;
+ var diffs = [];
+ var prev = -1;
+ var index = 0;
+ type.flatIndexes = type.fields.map(function(field) {
+ index++;
+ var size, alignSize;
+ if (Runtime.isNumberType(field) || Runtime.isPointerType(field)) {
+ size = Runtime.getNativeTypeSize(field); // pack char; char; in structs, also char[X]s.
+ alignSize = Runtime.getAlignSize(field, size);
+ } else if (Runtime.isStructType(field)) {
+ if (field[1] === '0') {
+ // this is [0 x something]. When inside another structure like here, it must be at the end,
+ // and it adds no size
+ // XXX this happens in java-nbody for example... assert(index === type.fields.length, 'zero-length in the middle!');
+ size = 0;
+ if (Types.types[field]) {
+ alignSize = Runtime.getAlignSize(null, Types.types[field].alignSize);
+ } else {
+ alignSize = type.alignSize || QUANTUM_SIZE;
+ }
+ } else {
+ size = Types.types[field].flatSize;
+ alignSize = Runtime.getAlignSize(null, Types.types[field].alignSize);
+ }
+ } else if (field[0] == 'b') {
+ // bN, large number field, like a [N x i8]
+ size = field.substr(1)|0;
+ alignSize = 1;
+ } else {
+ throw 'Unclear type in struct: ' + field + ', in ' + type.name_ + ' :: ' + dump(Types.types[type.name_]);
+ }
+ if (type.packed) alignSize = 1;
+ type.alignSize = Math.max(type.alignSize, alignSize);
+ var curr = Runtime.alignMemory(type.flatSize, alignSize); // if necessary, place this on aligned memory
+ type.flatSize = curr + size;
+ if (prev >= 0) {
+ diffs.push(curr-prev);
+ }
+ prev = curr;
+ return curr;
+ });
+ type.flatSize = Runtime.alignMemory(type.flatSize, type.alignSize);
+ if (diffs.length == 0) {
+ type.flatFactor = type.flatSize;
+ } else if (Runtime.dedup(diffs).length == 1) {
+ type.flatFactor = diffs[0];
+ }
+ type.needsFlattening = (type.flatFactor != 1);
+ return type.flatIndexes;
+ },
+ generateStructInfo: function (struct, typeName, offset) {
+ var type, alignment;
+ if (typeName) {
+ offset = offset || 0;
+ type = (typeof Types === 'undefined' ? Runtime.typeInfo : Types.types)[typeName];
+ if (!type) return null;
+ if (type.fields.length != struct.length) {
+ printErr('Number of named fields must match the type for ' + typeName + ': possibly duplicate struct names. Cannot return structInfo');
+ return null;
+ }
+ alignment = type.flatIndexes;
+ } else {
+ var type = { fields: struct.map(function(item) { return item[0] }) };
+ alignment = Runtime.calculateStructAlignment(type);
+ }
+ var ret = {
+ __size__: type.flatSize
+ };
+ if (typeName) {
+ struct.forEach(function(item, i) {
+ if (typeof item === 'string') {
+ ret[item] = alignment[i] + offset;
+ } else {
+ // embedded struct
+ var key;
+ for (var k in item) key = k;
+ ret[key] = Runtime.generateStructInfo(item[key], type.fields[i], alignment[i]);
+ }
+ });
+ } else {
+ struct.forEach(function(item, i) {
+ ret[item[1]] = alignment[i];
+ });
+ }
+ return ret;
+ },
+ dynCall: function (sig, ptr, args) {
+ if (args && args.length) {
+ if (!args.splice) args = Array.prototype.slice.call(args);
+ args.splice(0, 0, ptr);
+ return Module['dynCall_' + sig].apply(null, args);
+ } else {
+ return Module['dynCall_' + sig].call(null, ptr);
+ }
+ },
+ functionPointers: [],
+ addFunction: function (func) {
+ for (var i = 0; i < Runtime.functionPointers.length; i++) {
+ if (!Runtime.functionPointers[i]) {
+ Runtime.functionPointers[i] = func;
+ return 2 + 2*i;
+ }
+ }
+ throw 'Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS.';
+ },
+ removeFunction: function (index) {
+ Runtime.functionPointers[(index-2)/2] = null;
+ },
+ warnOnce: function (text) {
+ if (!Runtime.warnOnce.shown) Runtime.warnOnce.shown = {};
+ if (!Runtime.warnOnce.shown[text]) {
+ Runtime.warnOnce.shown[text] = 1;
+ Module.printErr(text);
+ }
+ },
+ funcWrappers: {},
+ getFuncWrapper: function (func, sig) {
+ assert(sig);
+ if (!Runtime.funcWrappers[func]) {
+ Runtime.funcWrappers[func] = function() {
+ return Runtime.dynCall(sig, func, arguments);
+ };
+ }
+ return Runtime.funcWrappers[func];
+ },
+ UTF8Processor: function () {
+ var buffer = [];
+ var needed = 0;
+ this.processCChar = function (code) {
+ code = code & 0xFF;
+ if (buffer.length == 0) {
+ if ((code & 0x80) == 0x00) { // 0xxxxxxx
+ return String.fromCharCode(code);
+ }
+ buffer.push(code);
+ if ((code & 0xE0) == 0xC0) { // 110xxxxx
+ needed = 1;
+ } else if ((code & 0xF0) == 0xE0) { // 1110xxxx
+ needed = 2;
+ } else { // 11110xxx
+ needed = 3;
+ }
+ return '';
+ }
+ if (needed) {
+ buffer.push(code);
+ needed--;
+ if (needed > 0) return '';
+ }
+ var c1 = buffer[0];
+ var c2 = buffer[1];
+ var c3 = buffer[2];
+ var c4 = buffer[3];
+ var ret;
+ if (buffer.length == 2) {
+ ret = String.fromCharCode(((c1 & 0x1F) << 6) | (c2 & 0x3F));
+ } else if (buffer.length == 3) {
+ ret = String.fromCharCode(((c1 & 0x0F) << 12) | ((c2 & 0x3F) << 6) | (c3 & 0x3F));
+ } else {
+ // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
+ var codePoint = ((c1 & 0x07) << 18) | ((c2 & 0x3F) << 12) |
+ ((c3 & 0x3F) << 6) | (c4 & 0x3F);
+ ret = String.fromCharCode(
+ Math.floor((codePoint - 0x10000) / 0x400) + 0xD800,
+ (codePoint - 0x10000) % 0x400 + 0xDC00);
+ }
+ buffer.length = 0;
+ return ret;
+ }
+ this.processJSString = function(string) {
+ string = unescape(encodeURIComponent(string));
+ var ret = [];
+ for (var i = 0; i < string.length; i++) {
+ ret.push(string.charCodeAt(i));
+ }
+ return ret;
+ }
+ },
+ stackAlloc: function (size) { var ret = STACKTOP;STACKTOP = (STACKTOP + size)|0;STACKTOP = ((((STACKTOP)+7)>>3)<<3); return ret; },
+ staticAlloc: function (size) { var ret = STATICTOP;STATICTOP = (STATICTOP + size)|0;STATICTOP = ((((STATICTOP)+7)>>3)<<3); return ret; },
+ dynamicAlloc: function (size) { var ret = DYNAMICTOP;DYNAMICTOP = (DYNAMICTOP + size)|0;DYNAMICTOP = ((((DYNAMICTOP)+7)>>3)<<3); if (DYNAMICTOP >= TOTAL_MEMORY) enlargeMemory();; return ret; },
+ alignMemory: function (size,quantum) { var ret = size = Math.ceil((size)/(quantum ? quantum : 8))*(quantum ? quantum : 8); return ret; },
+ makeBigInt: function (low,high,unsigned) { var ret = (unsigned ? ((+(((low)>>>(0))))+((+(((high)>>>(0))))*(+(4294967296)))) : ((+(((low)>>>(0))))+((+(((high)|(0))))*(+(4294967296))))); return ret; },
+ GLOBAL_BASE: 8,
+ QUANTUM_SIZE: 4,
+ __dummy__: 0
+}
+//========================================
+// Runtime essentials
+//========================================
+var __THREW__ = 0; // Used in checking for thrown exceptions.
+var ABORT = false; // whether we are quitting the application. no code should run after this. set in exit() and abort()
+var EXITSTATUS = 0;
+var undef = 0;
+// tempInt is used for 32-bit signed values or smaller. tempBigInt is used
+// for 32-bit unsigned values or more than 32 bits. TODO: audit all uses of tempInt
+var tempValue, tempInt, tempBigInt, tempInt2, tempBigInt2, tempPair, tempBigIntI, tempBigIntR, tempBigIntS, tempBigIntP, tempBigIntD;
+var tempI64, tempI64b;
+var tempRet0, tempRet1, tempRet2, tempRet3, tempRet4, tempRet5, tempRet6, tempRet7, tempRet8, tempRet9;
+function assert(condition, text) {
+ if (!condition) {
+ abort('Assertion failed: ' + text);
+ }
+}
+var globalScope = this;
+// C calling interface. A convenient way to call C functions (in C files, or
+// defined with extern "C").
+//
+// Note: LLVM optimizations can inline and remove functions, after which you will not be
+// able to call them. Closure can also do so. To avoid that, add your function to
+// the exports using something like
+//
+// -s EXPORTED_FUNCTIONS='["_main", "_myfunc"]'
+//
+// @param ident The name of the C function (note that C++ functions will be name-mangled - use extern "C")
+// @param returnType The return type of the function, one of the JS types 'number', 'string' or 'array' (use 'number' for any C pointer, and
+// 'array' for JavaScript arrays and typed arrays; note that arrays are 8-bit).
+// @param argTypes An array of the types of arguments for the function (if there are no arguments, this can be ommitted). Types are as in returnType,
+// except that 'array' is not possible (there is no way for us to know the length of the array)
+// @param args An array of the arguments to the function, as native JS values (as in returnType)
+// Note that string arguments will be stored on the stack (the JS string will become a C string on the stack).
+// @return The return value, as a native JS value (as in returnType)
+function ccall(ident, returnType, argTypes, args) {
+ return ccallFunc(getCFunc(ident), returnType, argTypes, args);
+}
+Module["ccall"] = ccall;
+// Returns the C function with a specified identifier (for C++, you need to do manual name mangling)
+function getCFunc(ident) {
+ try {
+ var func = Module['_' + ident]; // closure exported function
+ if (!func) func = eval('_' + ident); // explicit lookup
+ } catch(e) {
+ }
+ assert(func, 'Cannot call unknown function ' + ident + ' (perhaps LLVM optimizations or closure removed it?)');
+ return func;
+}
+// Internal function that does a C call using a function, not an identifier
+function ccallFunc(func, returnType, argTypes, args) {
+ var stack = 0;
+ function toC(value, type) {
+ if (type == 'string') {
+ if (value === null || value === undefined || value === 0) return 0; // null string
+ if (!stack) stack = Runtime.stackSave();
+ var ret = Runtime.stackAlloc(value.length+1);
+ writeStringToMemory(value, ret);
+ return ret;
+ } else if (type == 'array') {
+ if (!stack) stack = Runtime.stackSave();
+ var ret = Runtime.stackAlloc(value.length);
+ writeArrayToMemory(value, ret);
+ return ret;
+ }
+ return value;
+ }
+ function fromC(value, type) {
+ if (type == 'string') {
+ return Pointer_stringify(value);
+ }
+ assert(type != 'array');
+ return value;
+ }
+ var i = 0;
+ var cArgs = args ? args.map(function(arg) {
+ return toC(arg, argTypes[i++]);
+ }) : [];
+ var ret = fromC(func.apply(null, cArgs), returnType);
+ if (stack) Runtime.stackRestore(stack);
+ return ret;
+}
+// Returns a native JS wrapper for a C function. This is similar to ccall, but
+// returns a function you can call repeatedly in a normal way. For example:
+//
+// var my_function = cwrap('my_c_function', 'number', ['number', 'number']);
+// alert(my_function(5, 22));
+// alert(my_function(99, 12));
+//
+function cwrap(ident, returnType, argTypes) {
+ var func = getCFunc(ident);
+ return function() {
+ return ccallFunc(func, returnType, argTypes, Array.prototype.slice.call(arguments));
+ }
+}
+Module["cwrap"] = cwrap;
+// Sets a value in memory in a dynamic way at run-time. Uses the
+// type data. This is the same as makeSetValue, except that
+// makeSetValue is done at compile-time and generates the needed
+// code then, whereas this function picks the right code at
+// run-time.
+// Note that setValue and getValue only do *aligned* writes and reads!
+// Note that ccall uses JS types as for defining types, while setValue and
+// getValue need LLVM types ('i8', 'i32') - this is a lower-level operation
+function setValue(ptr, value, type, noSafe) {
+ type = type || 'i8';
+ if (type.charAt(type.length-1) === '*') type = 'i32'; // pointers are 32-bit
+ switch(type) {
+ case 'i1': HEAP8[(ptr)]=value; break;
+ case 'i8': HEAP8[(ptr)]=value; break;
+ case 'i16': HEAP16[((ptr)>>1)]=value; break;
+ case 'i32': HEAP32[((ptr)>>2)]=value; break;
+ case 'i64': (tempI64 = [value>>>0,(tempDouble=value,(+(Math.abs(tempDouble))) >= (+(1)) ? (tempDouble > (+(0)) ? ((Math.min((+(Math.floor((tempDouble)/(+(4294967296))))), (+(4294967295))))|0)>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/(+(4294967296)))))))>>>0) : 0)],HEAP32[((ptr)>>2)]=tempI64[0],HEAP32[(((ptr)+(4))>>2)]=tempI64[1]); break;
+ case 'float': HEAPF32[((ptr)>>2)]=value; break;
+ case 'double': HEAPF64[((ptr)>>3)]=value; break;
+ default: abort('invalid type for setValue: ' + type);
+ }
+}
+Module['setValue'] = setValue;
+// Parallel to setValue.
+function getValue(ptr, type, noSafe) {
+ type = type || 'i8';
+ if (type.charAt(type.length-1) === '*') type = 'i32'; // pointers are 32-bit
+ switch(type) {
+ case 'i1': return HEAP8[(ptr)];
+ case 'i8': return HEAP8[(ptr)];
+ case 'i16': return HEAP16[((ptr)>>1)];
+ case 'i32': return HEAP32[((ptr)>>2)];
+ case 'i64': return HEAP32[((ptr)>>2)];
+ case 'float': return HEAPF32[((ptr)>>2)];
+ case 'double': return HEAPF64[((ptr)>>3)];
+ default: abort('invalid type for setValue: ' + type);
+ }
+ return null;
+}
+Module['getValue'] = getValue;
+var ALLOC_NORMAL = 0; // Tries to use _malloc()
+var ALLOC_STACK = 1; // Lives for the duration of the current function call
+var ALLOC_STATIC = 2; // Cannot be freed
+var ALLOC_DYNAMIC = 3; // Cannot be freed except through sbrk
+var ALLOC_NONE = 4; // Do not allocate
+Module['ALLOC_NORMAL'] = ALLOC_NORMAL;
+Module['ALLOC_STACK'] = ALLOC_STACK;
+Module['ALLOC_STATIC'] = ALLOC_STATIC;
+Module['ALLOC_DYNAMIC'] = ALLOC_DYNAMIC;
+Module['ALLOC_NONE'] = ALLOC_NONE;
+// allocate(): This is for internal use. You can use it yourself as well, but the interface
+// is a little tricky (see docs right below). The reason is that it is optimized
+// for multiple syntaxes to save space in generated code. So you should
+// normally not use allocate(), and instead allocate memory using _malloc(),
+// initialize it with setValue(), and so forth.
+// @slab: An array of data, or a number. If a number, then the size of the block to allocate,
+// in *bytes* (note that this is sometimes confusing: the next parameter does not
+// affect this!)
+// @types: Either an array of types, one for each byte (or 0 if no type at that position),
+// or a single type which is used for the entire block. This only matters if there
+// is initial data - if @slab is a number, then this does not matter at all and is
+// ignored.
+// @allocator: How to allocate memory, see ALLOC_*
+function allocate(slab, types, allocator, ptr) {
+ var zeroinit, size;
+ if (typeof slab === 'number') {
+ zeroinit = true;
+ size = slab;
+ } else {
+ zeroinit = false;
+ size = slab.length;
+ }
+ var singleType = typeof types === 'string' ? types : null;
+ var ret;
+ if (allocator == ALLOC_NONE) {
+ ret = ptr;
+ } else {
+ ret = [_malloc, Runtime.stackAlloc, Runtime.staticAlloc, Runtime.dynamicAlloc][allocator === undefined ? ALLOC_STATIC : allocator](Math.max(size, singleType ? 1 : types.length));
+ }
+ if (zeroinit) {
+ var ptr = ret, stop;
+ assert((ret & 3) == 0);
+ stop = ret + (size & ~3);
+ for (; ptr < stop; ptr += 4) {
+ HEAP32[((ptr)>>2)]=0;
+ }
+ stop = ret + size;
+ while (ptr < stop) {
+ HEAP8[((ptr++)|0)]=0;
+ }
+ return ret;
+ }
+ if (singleType === 'i8') {
+ if (slab.subarray || slab.slice) {
+ HEAPU8.set(slab, ret);
+ } else {
+ HEAPU8.set(new Uint8Array(slab), ret);
+ }
+ return ret;
+ }
+ var i = 0, type, typeSize, previousType;
+ while (i < size) {
+ var curr = slab[i];
+ if (typeof curr === 'function') {
+ curr = Runtime.getFunctionIndex(curr);
+ }
+ type = singleType || types[i];
+ if (type === 0) {
+ i++;
+ continue;
+ }
+ if (type == 'i64') type = 'i32'; // special case: we have one i32 here, and one i32 later
+ setValue(ret+i, curr, type);
+ // no need to look up size unless type changes, so cache it
+ if (previousType !== type) {
+ typeSize = Runtime.getNativeTypeSize(type);
+ previousType = type;
+ }
+ i += typeSize;
+ }
+ return ret;
+}
+Module['allocate'] = allocate;
+function Pointer_stringify(ptr, /* optional */ length) {
+ // TODO: use TextDecoder
+ // Find the length, and check for UTF while doing so
+ var hasUtf = false;
+ var t;
+ var i = 0;
+ while (1) {
+ t = HEAPU8[(((ptr)+(i))|0)];
+ if (t >= 128) hasUtf = true;
+ else if (t == 0 && !length) break;
+ i++;
+ if (length && i == length) break;
+ }
+ if (!length) length = i;
+ var ret = '';
+ if (!hasUtf) {
+ var MAX_CHUNK = 1024; // split up into chunks, because .apply on a huge string can overflow the stack
+ var curr;
+ while (length > 0) {
+ curr = String.fromCharCode.apply(String, HEAPU8.subarray(ptr, ptr + Math.min(length, MAX_CHUNK)));
+ ret = ret ? ret + curr : curr;
+ ptr += MAX_CHUNK;
+ length -= MAX_CHUNK;
+ }
+ return ret;
+ }
+ var utf8 = new Runtime.UTF8Processor();
+ for (i = 0; i < length; i++) {
+ t = HEAPU8[(((ptr)+(i))|0)];
+ ret += utf8.processCChar(t);
+ }
+ return ret;
+}
+Module['Pointer_stringify'] = Pointer_stringify;
+// Given a pointer 'ptr' to a null-terminated UTF16LE-encoded string in the emscripten HEAP, returns
+// a copy of that string as a Javascript String object.
+function UTF16ToString(ptr) {
+ var i = 0;
+ var str = '';
+ while (1) {
+ var codeUnit = HEAP16[(((ptr)+(i*2))>>1)];
+ if (codeUnit == 0)
+ return str;
+ ++i;
+ // fromCharCode constructs a character from a UTF-16 code unit, so we can pass the UTF16 string right through.
+ str += String.fromCharCode(codeUnit);
+ }
+}
+Module['UTF16ToString'] = UTF16ToString;
+// Copies the given Javascript String object 'str' to the emscripten HEAP at address 'outPtr',
+// null-terminated and encoded in UTF16LE form. The copy will require at most (str.length*2+1)*2 bytes of space in the HEAP.
+function stringToUTF16(str, outPtr) {
+ for(var i = 0; i < str.length; ++i) {
+ // charCodeAt returns a UTF-16 encoded code unit, so it can be directly written to the HEAP.
+ var codeUnit = str.charCodeAt(i); // possibly a lead surrogate
+ HEAP16[(((outPtr)+(i*2))>>1)]=codeUnit
+ }
+ // Null-terminate the pointer to the HEAP.
+ HEAP16[(((outPtr)+(str.length*2))>>1)]=0
+}
+Module['stringToUTF16'] = stringToUTF16;
+// Given a pointer 'ptr' to a null-terminated UTF32LE-encoded string in the emscripten HEAP, returns
+// a copy of that string as a Javascript String object.
+function UTF32ToString(ptr) {
+ var i = 0;
+ var str = '';
+ while (1) {
+ var utf32 = HEAP32[(((ptr)+(i*4))>>2)];
+ if (utf32 == 0)
+ return str;
+ ++i;
+ // Gotcha: fromCharCode constructs a character from a UTF-16 encoded code (pair), not from a Unicode code point! So encode the code point to UTF-16 for constructing.
+ if (utf32 >= 0x10000) {
+ var ch = utf32 - 0x10000;
+ str += String.fromCharCode(0xD800 | (ch >> 10), 0xDC00 | (ch & 0x3FF));
+ } else {
+ str += String.fromCharCode(utf32);
+ }
+ }
+}
+Module['UTF32ToString'] = UTF32ToString;
+// Copies the given Javascript String object 'str' to the emscripten HEAP at address 'outPtr',
+// null-terminated and encoded in UTF32LE form. The copy will require at most (str.length+1)*4 bytes of space in the HEAP,
+// but can use less, since str.length does not return the number of characters in the string, but the number of UTF-16 code units in the string.
+function stringToUTF32(str, outPtr) {
+ var iChar = 0;
+ for(var iCodeUnit = 0; iCodeUnit < str.length; ++iCodeUnit) {
+ // Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code unit, not a Unicode code point of the character! We must decode the string to UTF-32 to the heap.
+ var codeUnit = str.charCodeAt(iCodeUnit); // possibly a lead surrogate
+ if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) {
+ var trailSurrogate = str.charCodeAt(++iCodeUnit);
+ codeUnit = 0x10000 + ((codeUnit & 0x3FF) << 10) | (trailSurrogate & 0x3FF);
+ }
+ HEAP32[(((outPtr)+(iChar*4))>>2)]=codeUnit
+ ++iChar;
+ }
+ // Null-terminate the pointer to the HEAP.
+ HEAP32[(((outPtr)+(iChar*4))>>2)]=0
+}
+Module['stringToUTF32'] = stringToUTF32;
+// Memory management
+var PAGE_SIZE = 4096;
+function alignMemoryPage(x) {
+ return ((x+4095)>>12)<<12;
+}
+var HEAP;
+var HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64;
+var STATIC_BASE = 0, STATICTOP = 0, staticSealed = false; // static area
+var STACK_BASE = 0, STACKTOP = 0, STACK_MAX = 0; // stack area
+var DYNAMIC_BASE = 0, DYNAMICTOP = 0; // dynamic area handled by sbrk
+function enlargeMemory() {
+ abort('Cannot enlarge memory arrays in asm.js. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value ' + TOTAL_MEMORY + ', or (2) set Module.TOTAL_MEMORY before the program runs.');
+}
+var TOTAL_STACK = Module['TOTAL_STACK'] || 5242880;
+var TOTAL_MEMORY = Module['TOTAL_MEMORY'] || 16777216;
+var FAST_MEMORY = Module['FAST_MEMORY'] || 2097152;
+// Initialize the runtime's memory
+// check for full engine support (use string 'subarray' to avoid closure compiler confusion)
+assert(!!Int32Array && !!Float64Array && !!(new Int32Array(1)['subarray']) && !!(new Int32Array(1)['set']),
+ 'Cannot fallback to non-typed array case: Code is too specialized');
+var buffer = new ArrayBuffer(TOTAL_MEMORY);
+HEAP8 = new Int8Array(buffer);
+HEAP16 = new Int16Array(buffer);
+HEAP32 = new Int32Array(buffer);
+HEAPU8 = new Uint8Array(buffer);
+HEAPU16 = new Uint16Array(buffer);
+HEAPU32 = new Uint32Array(buffer);
+HEAPF32 = new Float32Array(buffer);
+HEAPF64 = new Float64Array(buffer);
+// Endianness check (note: assumes compiler arch was little-endian)
+HEAP32[0] = 255;
+assert(HEAPU8[0] === 255 && HEAPU8[3] === 0, 'Typed arrays 2 must be run on a little-endian system');
+Module['HEAP'] = HEAP;
+Module['HEAP8'] = HEAP8;
+Module['HEAP16'] = HEAP16;
+Module['HEAP32'] = HEAP32;
+Module['HEAPU8'] = HEAPU8;
+Module['HEAPU16'] = HEAPU16;
+Module['HEAPU32'] = HEAPU32;
+Module['HEAPF32'] = HEAPF32;
+Module['HEAPF64'] = HEAPF64;
+function callRuntimeCallbacks(callbacks) {
+ while(callbacks.length > 0) {
+ var callback = callbacks.shift();
+ if (typeof callback == 'function') {
+ callback();
+ continue;
+ }
+ var func = callback.func;
+ if (typeof func === 'number') {
+ if (callback.arg === undefined) {
+ Runtime.dynCall('v', func);
+ } else {
+ Runtime.dynCall('vi', func, [callback.arg]);
+ }
+ } else {
+ func(callback.arg === undefined ? null : callback.arg);
+ }
+ }
+}
+var __ATPRERUN__ = []; // functions called before the runtime is initialized
+var __ATINIT__ = []; // functions called during startup
+var __ATMAIN__ = []; // functions called when main() is to be run
+var __ATEXIT__ = []; // functions called during shutdown
+var __ATPOSTRUN__ = []; // functions called after the runtime has exited
+var runtimeInitialized = false;
+function preRun() {
+ // compatibility - merge in anything from Module['preRun'] at this time
+ if (Module['preRun']) {
+ if (typeof Module['preRun'] == 'function') Module['preRun'] = [Module['preRun']];
+ while (Module['preRun'].length) {
+ addOnPreRun(Module['preRun'].shift());
+ }
+ }
+ callRuntimeCallbacks(__ATPRERUN__);
+}
+function ensureInitRuntime() {
+ if (runtimeInitialized) return;
+ runtimeInitialized = true;
+ callRuntimeCallbacks(__ATINIT__);
+}
+function preMain() {
+ callRuntimeCallbacks(__ATMAIN__);
+}
+function exitRuntime() {
+ callRuntimeCallbacks(__ATEXIT__);
+}
+function postRun() {
+ // compatibility - merge in anything from Module['postRun'] at this time
+ if (Module['postRun']) {
+ if (typeof Module['postRun'] == 'function') Module['postRun'] = [Module['postRun']];
+ while (Module['postRun'].length) {
+ addOnPostRun(Module['postRun'].shift());
+ }
+ }
+ callRuntimeCallbacks(__ATPOSTRUN__);
+}
+function addOnPreRun(cb) {
+ __ATPRERUN__.unshift(cb);
+}
+Module['addOnPreRun'] = Module.addOnPreRun = addOnPreRun;
+function addOnInit(cb) {
+ __ATINIT__.unshift(cb);
+}
+Module['addOnInit'] = Module.addOnInit = addOnInit;
+function addOnPreMain(cb) {
+ __ATMAIN__.unshift(cb);
+}
+Module['addOnPreMain'] = Module.addOnPreMain = addOnPreMain;
+function addOnExit(cb) {
+ __ATEXIT__.unshift(cb);
+}
+Module['addOnExit'] = Module.addOnExit = addOnExit;
+function addOnPostRun(cb) {
+ __ATPOSTRUN__.unshift(cb);
+}
+Module['addOnPostRun'] = Module.addOnPostRun = addOnPostRun;
+// Tools
+// This processes a JS string into a C-line array of numbers, 0-terminated.
+// For LLVM-originating strings, see parser.js:parseLLVMString function
+function intArrayFromString(stringy, dontAddNull, length /* optional */) {
+ var ret = (new Runtime.UTF8Processor()).processJSString(stringy);
+ if (length) {
+ ret.length = length;
+ }
+ if (!dontAddNull) {
+ ret.push(0);
+ }
+ return ret;
+}
+Module['intArrayFromString'] = intArrayFromString;
+function intArrayToString(array) {
+ var ret = [];
+ for (var i = 0; i < array.length; i++) {
+ var chr = array[i];
+ if (chr > 0xFF) {
+ chr &= 0xFF;
+ }
+ ret.push(String.fromCharCode(chr));
+ }
+ return ret.join('');
+}
+Module['intArrayToString'] = intArrayToString;
+// Write a Javascript array to somewhere in the heap
+function writeStringToMemory(string, buffer, dontAddNull) {
+ var array = intArrayFromString(string, dontAddNull);
+ var i = 0;
+ while (i < array.length) {
+ var chr = array[i];
+ HEAP8[(((buffer)+(i))|0)]=chr
+ i = i + 1;
+ }
+}
+Module['writeStringToMemory'] = writeStringToMemory;
+function writeArrayToMemory(array, buffer) {
+ for (var i = 0; i < array.length; i++) {
+ HEAP8[(((buffer)+(i))|0)]=array[i];
+ }
+}
+Module['writeArrayToMemory'] = writeArrayToMemory;
+function unSign(value, bits, ignore, sig) {
+ if (value >= 0) {
+ return value;
+ }
+ return bits <= 32 ? 2*Math.abs(1 << (bits-1)) + value // Need some trickery, since if bits == 32, we are right at the limit of the bits JS uses in bitshifts
+ : Math.pow(2, bits) + value;
+}
+function reSign(value, bits, ignore, sig) {
+ if (value <= 0) {
+ return value;
+ }
+ var half = bits <= 32 ? Math.abs(1 << (bits-1)) // abs is needed if bits == 32
+ : Math.pow(2, bits-1);
+ if (value >= half && (bits <= 32 || value > half)) { // for huge values, we can hit the precision limit and always get true here. so don't do that
+ // but, in general there is no perfect solution here. With 64-bit ints, we get rounding and errors
+ // TODO: In i64 mode 1, resign the two parts separately and safely
+ value = -2*half + value; // Cannot bitshift half, as it may be at the limit of the bits JS uses in bitshifts
+ }
+ return value;
+}
+if (!Math['imul']) Math['imul'] = function(a, b) {
+ var ah = a >>> 16;
+ var al = a & 0xffff;
+ var bh = b >>> 16;
+ var bl = b & 0xffff;
+ return (al*bl + ((ah*bl + al*bh) << 16))|0;
+};
+Math.imul = Math['imul'];
+// A counter of dependencies for calling run(). If we need to
+// do asynchronous work before running, increment this and
+// decrement it. Incrementing must happen in a place like
+// PRE_RUN_ADDITIONS (used by emcc to add file preloading).
+// Note that you can add dependencies in preRun, even though
+// it happens right before run - run will be postponed until
+// the dependencies are met.
+var runDependencies = 0;
+var runDependencyTracking = {};
+var calledInit = false, calledRun = false;
+var runDependencyWatcher = null;
+function addRunDependency(id) {
+ runDependencies++;
+ if (Module['monitorRunDependencies']) {
+ Module['monitorRunDependencies'](runDependencies);
+ }
+ if (id) {
+ assert(!runDependencyTracking[id]);
+ runDependencyTracking[id] = 1;
+ } else {
+ Module.printErr('warning: run dependency added without ID');
+ }
+}
+Module['addRunDependency'] = addRunDependency;
+function removeRunDependency(id) {
+ runDependencies--;
+ if (Module['monitorRunDependencies']) {
+ Module['monitorRunDependencies'](runDependencies);
+ }
+ if (id) {
+ assert(runDependencyTracking[id]);
+ delete runDependencyTracking[id];
+ } else {
+ Module.printErr('warning: run dependency removed without ID');
+ }
+ if (runDependencies == 0) {
+ if (runDependencyWatcher !== null) {
+ clearInterval(runDependencyWatcher);
+ runDependencyWatcher = null;
+ }
+ // If run has never been called, and we should call run (INVOKE_RUN is true, and Module.noInitialRun is not false)
+ if (!calledRun) run();
+ }
+}
+Module['removeRunDependency'] = removeRunDependency;
+Module["preloadedImages"] = {}; // maps url to image data
+Module["preloadedAudios"] = {}; // maps url to audio data
+function loadMemoryInitializer(filename) {
+ function applyData(data) {
+ HEAPU8.set(data, STATIC_BASE);
+ }
+ // always do this asynchronously, to keep shell and web as similar as possible
+ addOnPreRun(function() {
+ if (ENVIRONMENT_IS_NODE || ENVIRONMENT_IS_SHELL) {
+ applyData(Module['readBinary'](filename));
+ } else {
+ Browser.asyncLoad(filename, function(data) {
+ applyData(data);
+ }, function(data) {
+ throw 'could not load memory initializer ' + filename;
+ });
+ }
+ });
+}
+// === Body ===
+STATIC_BASE = 8;
+STATICTOP = STATIC_BASE + 14352;
+/* global initializers */ __ATINIT__.push({ func: function() { runPostSets() } },{ func: function() { __GLOBAL__I_a() } });
+var ___dso_handle;
+var __ZTVN10__cxxabiv120__si_class_type_infoE;
+var __ZTVN10__cxxabiv117__class_type_infoE;
+var __ZN23btDiscreteDynamicsWorldC1EP12btDispatcherP21btBroadphaseInterfaceP18btConstraintSolverP24btCollisionConfiguration;
+var __ZN11btRigidBodyC1ERKNS_27btRigidBodyConstructionInfoE;
+var __ZN11btRigidBodyC1EfP13btMotionStateP16btCollisionShapeRK9btVector3;
+var __ZN35btSequentialImpulseConstraintSolverC1Ev;
+var __ZN21btCollisionDispatcherC1EP24btCollisionConfiguration;
+var __ZN27btContinuousConvexCollisionC1EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver;
+var __ZN27btContinuousConvexCollisionC1EPK13btConvexShapePK18btStaticPlaneShape;
+var __ZN16btDbvtBroadphaseC1EP22btOverlappingPairCache;
+var __ZN31btDefaultCollisionConfigurationC1ERK34btDefaultCollisionConstructionInfo;
+var __ZN16btEmptyAlgorithmC1ERK36btCollisionAlgorithmConstructionInfo;
+var __ZN17btGjkPairDetectorC1EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver;
+var __ZN17btGjkPairDetectorC1EPK13btConvexShapeS2_iiffP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver;
+var __ZN16btManifoldResultC1EP17btCollisionObjectS1_;
+var __ZN28btHashedOverlappingPairCacheC1Ev;
+var __ZN25btSimulationIslandManagerC1Ev;
+var __ZN32btSphereSphereCollisionAlgorithmC1EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_;
+var __ZN34btSphereTriangleCollisionAlgorithmC1EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_b;
+var __ZN22btSubsimplexConvexCastC1EPK13btConvexShapeS2_P22btVoronoiSimplexSolver;
+var __ZN11btUnionFindD1Ev;
+var __ZN11btUnionFindC1Ev;
+var __ZN22SphereTriangleDetectorC1EP13btSphereShapeP15btTriangleShapef;
+var __ZN26btBoxBoxCollisionAlgorithmC1EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_;
+var __ZN16btBoxBoxDetectorC1EP10btBoxShapeS1_;
+var __ZN28btCompoundCollisionAlgorithmC1ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b;
+var __ZN33btConvexConcaveCollisionAlgorithmC1ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b;
+var __ZN23btConvexConvexAlgorithm10CreateFuncC1EP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver;
+var __ZN31btConvexPlaneCollisionAlgorithmC1EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_bii;
+var __ZN18btConvexPolyhedronC1Ev;
+var __ZN6btDbvtC1Ev;
+var __ZN6btDbvtD1Ev;
+var __ZN15btGjkConvexCastC1EPK13btConvexShapeS2_P22btVoronoiSimplexSolver;
+__ZTVN10__cxxabiv120__si_class_type_infoE=allocate([0,0,0,0,96,42,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_STATIC);
+__ZTVN10__cxxabiv117__class_type_infoE=allocate([0,0,0,0,112,42,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_STATIC);
+/* memory initializer */ allocate([0,0,0,64,0,0,0,0,10,215,163,60,0,0,0,0,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,70,108,111,97,116,68,97,116,97,0,0,0,0,0,0,99,111,110,118,101,120,83,119,101,101,112,84,101,115,116,0,67,67,68,32,109,111,116,105,111,110,32,99,108,97,109,112,105,110,103,0,0,0,0,0,99,111,110,118,101,120,83,119,101,101,112,67,111,109,112,111,117,110,100,0,0,0,0,0,105,110,116,101,103,114,97,116,101,84,114,97,110,115,102,111,114,109,115,0,0,0,0,0,100,105,115,112,97,116,99,104,65,108,108,67,111,108,108,105,115,105,111,110,80,97,105,114,115,0,0,0,0,0,0,0,99,97,108,99,117,108,97,116,101,83,105,109,117,108,97,116,105,111,110,73,115,108,97,110,100,115,0,0,0,0,0,0,99,97,108,99,117,108,97,116,101,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,115,0,0,0,0,0,0,0,115,111,108,118,101,67,111,110,115,116,114,97,105,110,116,115,0,0,0,0,0,0,0,0,82,111,111,116,0,0,0,0,112,101,114,102,111,114,109,68,105,115,99,114,101,116,101,67,111,108,108,105,115,105,111,110,68,101,116,101,99,116,105,111,110,0,0,0,0,0,0,0,117,112,100,97,116,101,65,99,116,105,118,97,116,105,111,110,83,116,97,116,101,0,0,0,66,117,108,108,101,116,67,111,108,108,105,115,105,111,110,47,78,97,114,114,111,119,80,104,97,115,101,67,111,108,108,105,115,105,111,110,47,98,116,80,111,108,121,104,101,100,114,97,108,67,111,110,116,97,99,116,67,108,105,112,112,105,110,103,46,99,112,112,0,0,0,0,115,111,108,118,101,71,114,111,117,112,67,97,99,104,101,70,114,105,101,110,100,108,121,83,101,116,117,112,0,0,0,0,117,112,100,97,116,101,65,97,98,98,115,0,0,0,0,0,117,112,100,97,116,101,65,99,116,105,111,110,115,0,0,0,115,116,100,58,58,98,97,100,95,97,108,108,111,99,0,0,84,104,97,110,107,115,46,10,0,0,0,0,0,0,0,0,105,115,108,97,110,100,85,110,105,111,110,70,105,110,100,65,110,100,81,117,105,99,107,83,111,114,116,0,0,0,0,0,105,110,116,101,114,110,97,108,83,105,110,103,108,101,83,116,101,112,83,105,109,117,108,97,116,105,111,110,0,0,0,0,100,49,62,61,48,46,48,102,0,0,0,0,0,0,0,0,115,111,108,118,101,71,114,111,117,112,0,0,0,0,0,0,98,116,82,105,103,105,100,66,111,100,121,70,108,111,97,116,68,97,116,97,0,0,0,0,80,108,101,97,115,101,32,105,110,99,108,117,100,101,32,97,98,111,118,101,32,105,110,102,111,114,109,97,116,105,111,110,44,32,121,111,117,114,32,80,108,97,116,102,111,114,109,44,32,118,101,114,115,105,111,110,32,111,102,32,79,83,46,10,0,0,0,0,0,0,0,0,115,116,101,112,83,105,109,117,108,97,116,105,111,110,0,0,66,111,120,0,0,0,0,0,100,48,62,61,48,46,48,102,0,0,0,0,0,0,0,0,115,111,108,118,101,71,114,111,117,112,67,97,99,104,101,70,114,105,101,110,100,108,121,73,116,101,114,97,116,105,111,110,115,0,0,0,0,0,0,0,83,80,72,69,82,69,0,0,112,114,111,99,101,115,115,73,115,108,97,110,100,115,0,0,98,116,67,111,110,118,101,120,73,110,116,101,114,110,97,108,83,104,97,112,101,68,97,116,97,0,0,0,0,0,0,0,84,114,105,97,110,103,108,101,0,0,0,0,0,0,0,0,112,114,101,100,105,99,116,85,110,99,111,110,115,116,114,97,105,110,116,77,111,116,105,111,110,0,0,0,0,0,0,0,79,118,101,114,102,108,111,119,32,105,110,32,65,65,66,66,44,32,111,98,106,101,99,116,32,114,101,109,111,118,101,100,32,102,114,111,109,32,115,105,109,117,108,97,116,105,111,110,0,0,0,0,0,0,0,0,115,121,110,99,104,114,111,110,105,122,101,77,111,116,105,111,110,83,116,97,116,101,115,0,73,102,32,121,111,117,32,99,97,110,32,114,101,112,114,111,100,117,99,101,32,116,104,105,115,44,32,112,108,101,97,115,101,32,101,109,97,105,108,32,98,117,103,115,64,99,111,110,116,105,110,117,111,117,115,112,104,121,115,105,99,115,46,99,111,109,10,0,0,0,0,0,115,101,97,114,99,104,32,115,112,101,99,117,108,97,116,105,118,101,32,99,111,110,116,97,99,116,115,0,0,0,0,0,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,68,97,116,97,0,0,0,0,97,100,100,83,112,101,99,117,108,97,116,105,118,101,67,111,110,116,97,99,116,115,0,0,100,101,98,117,103,68,114,97,119,87,111,114,108,100,0,0,119,111,114,108,100,32,112,111,115,32,61,32,37,46,50,102,44,37,46,50,102,44,37,46,50,102,10,0,0,0,0,0,98,111,111,108,32,84,101,115,116,83,101,112,65,120,105,115,40,99,111,110,115,116,32,98,116,67,111,110,118,101,120,80,111,108,121,104,101,100,114,111,110,32,38,44,32,99,111,110,115,116,32,98,116,67,111,110,118,101,120,80,111,108,121,104,101,100,114,111,110,32,38,44,32,99,111,110,115,116,32,98,116,84,114,97,110,115,102,111,114,109,32,38,44,32,99,111,110,115,116,32,98,116,84,114,97,110,115,102,111,114,109,32,38,44,32,99,111,110,115,116,32,98,116,86,101,99,116,111,114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,0,0,0,0,0,0,0,0,0,0,0,192,44,0,0,216,0,0,0,114,1,0,0,20,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,208,44,0,0,24,0,0,0,140,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,216,44,0,0,138,0,0,0,2,1,0,0,10,0,0,0,6,0,0,0,2,0,0,0,32,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,232,44,0,0,136,0,0,0,170,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,248,44,0,0,230,0,0,0,108,1,0,0,10,0,0,0,80,0,0,0,2,0,0,0,32,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,45,0,0,54,0,0,0,0,1,0,0,2,0,0,0,92,0,0,0,2,0,0,0,32,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,45,0,0,70,0,0,0,212,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,56,45,0,0,28,1,0,0,60,1,0,0,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,45,0,0,20,0,0,0,118,0,0,0,24,1,0,0,30,0,0,0,76,0,0,0,22,0,0,0,54,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,80,45,0,0,194,0,0,0,134,0,0,0,68,0,0,0,16,0,0,0,252,255,255,255,80,45,0,0,130,0,0,0,108,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,45,0,0,16,0,0,0,222,0,0,0,34,0,0,0,50,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,45,0,0,12,0,0,0,110,1,0,0,52,0,0,0,70,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,144,45,0,0,116,0,0,0,160,0,0,0,38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,0,0,0,2,0,0,0,10,0,0,0,14,0,0,0,86,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,56,46,0,0,6,0,0,0,12,1,0,0,34,1,0,0,30,0,0,0,20,0,0,0,18,0,0,0,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,46,0,0,148,0,0,0,86,0,0,0,48,0,0,0,60,0,0,0,4,0,0,0,2,0,0,0,64,0,0,0,56,0,0,0,8,0,0,0,72,0,0,0,2,0,0,0,6,0,0,0,34,0,0,0,6,0,0,0,86,0,0,0,72,0,0,0,64,0,0,0,46,0,0,0,38,0,0,0,46,0,0,0,8,0,0,0,2,0,0,0,22,0,0,0,38,0,0,0,18,0,0,0,54,0,0,0,52,0,0,0,62,0,0,0,4,0,0,0,28,0,0,0,0,0,0,0,0,0,0,0,90,78,51,51,98,116,77,105,110,107,111,119,115,107,105,80,101,110,101,116,114,97,116,105,111,110,68,101,112,116,104,83,111,108,118,101,114,49,50,99,97,108,99,80,101,110,68,101,112,116,104,69,82,50,50,98,116,86,111,114,111,110,111,105,83,105,109,112,108,101,120,83,111,108,118,101,114,80,75,49,51,98,116,67,111,110,118,101,120,83,104,97,112,101,83,52,95,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,55,95,82,57,98,116,86,101,99,116,111,114,51,83,57,95,83,57,95,80,49,50,98,116,73,68,101,98,117,103,68,114,97,119,80,49,50,98,116,83,116,97,99,107,65,108,108,111,99,69,50,48,98,116,73,110,116,101,114,109,101,100,105,97,116,101,82,101,115,117,108,116,0,0,0,0,0,0,0,90,78,51,51,98,116,67,111,110,118,101,120,67,111,110,99,97,118,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,50,49,99,97,108,99,117,108,97,116,101,84,105,109,101,79,102,73,109,112,97,99,116,69,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,83,49,95,82,75,49,54,98,116,68,105,115,112,97,116,99,104,101,114,73,110,102,111,80,49,54,98,116,77,97,110,105,102,111,108,100,82,101,115,117,108,116,69,51,49,76,111,99,97,108,84,114,105,97,110,103,108,101,83,112,104,101,114,101,67,97,115,116,67,97,108,108,98,97,99,107,0,0,0,90,78,50,56,98,116,72,97,115,104,101,100,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,51,55,114,101,109,111,118,101,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,115,67,111,110,116,97,105,110,105,110,103,80,114,111,120,121,69,80,49,55,98,116,66,114,111,97,100,112,104,97,115,101,80,114,111,120,121,80,49,50,98,116,68,105,115,112,97,116,99,104,101,114,69,49,56,82,101,109,111,118,101,80,97,105,114,67,97,108,108,98,97,99,107,0,0,0,0,0,0,0,0,90,78,50,56,98,116,72,97,115,104,101,100,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,49,57,99,108,101,97,110,80,114,111,120,121,70,114,111,109,80,97,105,114,115,69,80,49,55,98,116,66,114,111,97,100,112,104,97,115,101,80,114,111,120,121,80,49,50,98,116,68,105,115,112,97,116,99,104,101,114,69,49,55,67,108,101,97,110,80,97,105,114,67,97,108,108,98,97,99,107,0,0,0,90,78,50,51,98,116,68,105,115,99,114,101,116,101,68,121,110,97,109,105,99,115,87,111,114,108,100,49,54,115,111,108,118,101,67,111,110,115,116,114,97,105,110,116,115,69,82,49,57,98,116,67,111,110,116,97,99,116,83,111,108,118,101,114,73,110,102,111,69,50,55,73,110,112,108,97,99,101,83,111,108,118,101,114,73,115,108,97,110,100,67,97,108,108,98,97,99,107,0,0,0,0,0,0,90,78,50,51,98,116,67,111,110,118,101,120,67,111,110,118,101,120,65,108,103,111,114,105,116,104,109,49,54,112,114,111,99,101,115,115,67,111,108,108,105,115,105,111,110,69,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,83,49,95,82,75,49,54,98,116,68,105,115,112,97,116,99,104,101,114,73,110,102,111,80,49,54,98,116,77,97,110,105,102,111,108,100,82,101,115,117,108,116,69,49,51,98,116,68,117,109,109,121,82,101,115,117,108,116,0,0,0,0,90,78,50,50,98,116,66,118,104,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,49,55,112,101,114,102,111,114,109,67,111,110,118,101,120,99,97,115,116,69,80,49,56,98,116,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,82,75,57,98,116,86,101,99,116,111,114,51,83,52,95,83,52,95,83,52,95,69,50,49,77,121,78,111,100,101,79,118,101,114,108,97,112,67,97,108,108,98,97,99,107,0,0,0,0,0,0,0,0,90,78,50,50,98,116,66,118,104,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,49,52,112,101,114,102,111,114,109,82,97,121,99,97,115,116,69,80,49,56,98,116,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,82,75,57,98,116,86,101,99,116,111,114,51,83,52,95,69,50,49,77,121,78,111,100,101,79,118,101,114,108,97,112,67,97,108,108,98,97,99,107,0,90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,55,111,98,106,101,99,116,81,117,101,114,121,83,105,110,103,108,101,69,80,75,49,51,98,116,67,111,110,118,101,120,83,104,97,112,101,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,53,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,53,95,82,78,83,95,50,48,67,111,110,118,101,120,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,102,69,51,50,66,114,105,100,103,101,84,114,105,97,110,103,108,101,67,111,110,118,101,120,99,97,115,116,67,97,108,108,98,97,99,107,95,48,0,90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,55,111,98,106,101,99,116,81,117,101,114,121,83,105,110,103,108,101,69,80,75,49,51,98,116,67,111,110,118,101,120,83,104,97,112,101,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,53,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,53,95,82,78,83,95,50,48,67,111,110,118,101,120,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,102,69,51,50,66,114,105,100,103,101,84,114,105,97,110,103,108,101,67,111,110,118,101,120,99,97,115,116,67,97,108,108,98,97,99,107,0,0,0,90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,55,111,98,106,101,99,116,81,117,101,114,121,83,105,110,103,108,101,69,80,75,49,51,98,116,67,111,110,118,101,120,83,104,97,112,101,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,53,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,53,95,82,78,83,95,50,48,67,111,110,118,101,120,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,102,69,49,52,76,111,99,97,108,73,110,102,111,65,100,100,101,114,95,49,0,0,0,90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,51,114,97,121,84,101,115,116,83,105,110,103,108,101,69,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,50,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,50,95,82,78,83,95,49,55,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,69,57,82,97,121,84,101,115,116,101,114,95,49,0,0,90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,51,114,97,121,84,101,115,116,83,105,110,103,108,101,69,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,50,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,50,95,82,78,83,95,49,55,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,69,50,57,66,114,105,100,103,101,84,114,105,97,110,103,108,101,82,97,121,99,97,115,116,67,97,108,108,98,97,99,107,95,48,0,0,0,0,0,90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,51,114,97,121,84,101,115,116,83,105,110,103,108,101,69,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,50,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,50,95,82,78,83,95,49,55,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,69,50,57,66,114,105,100,103,101,84,114,105,97,110,103,108,101,82,97,121,99,97,115,116,67,97,108,108,98,97,99,107,0,0,0,0,0,0,0,90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,51,114,97,121,84,101,115,116,83,105,110,103,108,101,69,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,50,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,50,95,82,78,83,95,49,55,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,69,49,53,76,111,99,97,108,73,110,102,111,65,100,100,101,114,50,0,0,0,0,0,83,116,57,116,121,112,101,95,105,110,102,111,0,0,0,0,83,116,57,101,120,99,101,112,116,105,111,110,0,0,0,0,83,116,57,98,97,100,95,97,108,108,111,99,0,0,0,0,78,54,98,116,68,98,118,116,56,73,67,111,108,108,105,100,101,69,0,0,0,0,0,0,78,51,54,98,116,68,105,115,99,114,101,116,101,67,111,108,108,105,115,105,111,110,68,101,116,101,99,116,111,114,73,110,116,101,114,102,97,99,101,54,82,101,115,117,108,116,69,0,78,51,52,98,116,83,112,104,101,114,101,84,114,105,97,110,103,108,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0,0,0,0,0,0,78,51,51,98,116,67,111,110,118,101,120,67,111,110,99,97,118,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,55,83,119,97,112,112,101,100,67,114,101,97,116,101,70,117,110,99,69,0,0,0,0,0,0,0,0,78,51,51,98,116,67,111,110,118,101,120,67,111,110,99,97,118,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0,0,0,0,0,0,0,78,51,50,98,116,83,112,104,101,114,101,83,112,104,101,114,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0,0,0,0,0,0,0,0,78,51,49,98,116,67,111,110,118,101,120,80,108,97,110,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0,78,50,56,98,116,67,111,109,112,111,117,110,100,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,55,83,119,97,112,112,101,100,67,114,101,97,116,101,70,117,110,99,69,0,0,0,0,0,78,50,56,98,116,67,111,109,112,111,117,110,100,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0,0,0,0,78,50,54,98,116,66,111,120,66,111,120,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0,0,0,0,0,0,78,50,53,98,116,83,105,109,117,108,97,116,105,111,110,73,115,108,97,110,100,77,97,110,97,103,101,114,49,52,73,115,108,97,110,100,67,97,108,108,98,97,99,107,69,0,0,0,78,50,51,98,116,67,111,110,118,101,120,67,111,110,118,101,120,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0,78,49,54,98,116,69,109,112,116,121,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0,0,0,0,0,0,0,0,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,50,55,67,108,111,115,101,115,116,67,111,110,118,101,120,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,0,0,0,0,0,0,0,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,50,48,67,111,110,118,101,120,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,0,0,0,0,0,0,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,55,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,0,78,49,50,98,116,67,111,110,118,101,120,67,97,115,116,49,48,67,97,115,116,82,101,115,117,108,116,69,0,0,0,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,49,95,95,118,109,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,0,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,48,95,95,115,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,0,0,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,0,0,0,0,0,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,54,95,95,115,104,105,109,95,116,121,112,101,95,105,110,102,111,69,0,0,0,0,0,0,0,0,51,54,98,116,68,105,115,99,114,101,116,101,67,111,108,108,105,115,105,111,110,68,101,116,101,99,116,111,114,73,110,116,101,114,102,97,99,101,0,0,51,53,98,116,83,101,113,117,101,110,116,105,97,108,73,109,112,117,108,115,101,67,111,110,115,116,114,97,105,110,116,83,111,108,118,101,114,0,0,0,51,52,98,116,83,112,104,101,114,101,84,114,105,97,110,103,108,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0,0,0,0,51,52,98,116,67,108,111,115,101,115,116,78,111,116,77,101,67,111,110,118,101,120,82,101,115,117,108,116,67,97,108,108,98,97,99,107,0,0,0,0,51,51,98,116,77,105,110,107,111,119,115,107,105,80,101,110,101,116,114,97,116,105,111,110,68,101,112,116,104,83,111,108,118,101,114,0,0,0,0,0,51,51,98,116,67,111,110,118,101,120,67,111,110,99,97,118,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0,0,0,0,0,51,50,98,116,83,112,104,101,114,101,83,112,104,101,114,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0,0,0,0,0,0,51,49,98,116,73,110,116,101,114,110,97,108,84,114,105,97,110,103,108,101,73,110,100,101,120,67,97,108,108,98,97,99,107,0,0,0,0,0,0,0,51,49,98,116,68,101,102,97,117,108,116,67,111,108,108,105,115,105,111,110,67,111,110,102,105,103,117,114,97,116,105,111,110,0,0,0,0,0,0,0,51,49,98,116,67,111,110,118,101,120,80,108,97,110,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0,0,0,0,0,0,0,51,48,98,116,71,106,107,69,112,97,80,101,110,101,116,114,97,116,105,111,110,68,101,112,116,104,83,111,108,118,101,114,0,0,0,0,0,0,0,0,51,48,98,116,67,111,110,118,101,120,80,101,110,101,116,114,97,116,105,111,110,68,101,112,116,104,83,111,108,118,101,114,0,0,0,0,0,0,0,0,51,48,98,116,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,67,114,101,97,116,101,70,117,110,99,0,0,0,0,0,0,0,0,51,48,98,116,65,99,116,105,118,97,116,105,110,103,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0,0,0,0,0,0,0,0,50,56,98,116,84,114,105,97,110,103,108,101,67,111,110,118,101,120,99,97,115,116,67,97,108,108,98,97,99,107,0,0,50,56,98,116,72,97,115,104,101,100,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,0,0,50,56,98,116,67,111,109,112,111,117,110,100,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0,0,50,55,98,116,67,111,110,116,105,110,117,111,117,115,67,111,110,118,101,120,67,111,108,108,105,115,105,111,110,0,0,0,50,54,98,116,66,111,120,66,111,120,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0,0,0,0,50,53,98,116,84,114,105,97,110,103,108,101,82,97,121,99,97,115,116,67,97,108,108,98,97,99,107,0,0,0,0,0,50,53,98,116,83,105,109,117,108,97,116,105,111,110,73,115,108,97,110,100,77,97,110,97,103,101,114,0,0,0,0,0,50,53,98,116,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,108,108,98,97,99,107,0,0,0,0,0,50,52,98,116,80,101,114,116,117,114,98,101,100,67,111,110,116,97,99,116,82,101,115,117,108,116,0,0,0,0,0,0,50,52,98,116,67,111,110,118,101,120,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,0,0,0,0,0,0,50,52,98,116,67,111,108,108,105,115,105,111,110,67,111,110,102,105,103,117,114,97,116,105,111,110,0,0,0,0,0,0,50,52,98,116,66,114,111,97,100,112,104,97,115,101,65,97,98,98,67,97,108,108,98,97,99,107,0,0,0,0,0,0,50,51,98,116,80,111,108,121,104,101,100,114,97,108,67,111,110,118,101,120,83,104,97,112,101,0,0,0,0,0,0,0,50,51,98,116,68,105,115,99,114,101,116,101,68,121,110,97,109,105,99,115,87,111,114,108,100,0,0,0,0,0,0,0,50,51,98,116,67,111,110,118,101,120,67,111,110,118,101,120,65,108,103,111,114,105,116,104,109,0,0,0,0,0,0,0,50,51,98,116,67,111,108,108,105,115,105,111,110,80,97,105,114,67,97,108,108,98,97,99,107,0,0,0,0,0,0,0,50,51,98,116,66,114,111,97,100,112,104,97,115,101,82,97,121,67,97,108,108,98,97,99,107,0,0,0,0,0,0,0,50,50,98,116,83,117,98,115,105,109,112,108,101,120,67,111,110,118,101,120,67,97,115,116,0,0,0,0,0,0,0,0,50,50,98,116,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,0,0,0,0,0,0,0,0,50,50,98,116,67,111,109,112,111,117,110,100,76,101,97,102,67,97,108,108,98,97,99,107,0,0,0,0,0,0,0,0,50,50,83,112,104,101,114,101,84,114,105,97,110,103,108,101,68,101,116,101,99,116,111,114,0,0,0,0,0,0,0,0,50,49,98,116,83,105,110,103,108,101,83,119,101,101,112,67,97,108,108,98,97,99,107,0,50,49,98,116,78,111,100,101,79,118,101,114,108,97,112,67,97,108,108,98,97,99,107,0,50,49,98,116,67,111,110,118,101,120,73,110,116,101,114,110,97,108,83,104,97,112,101,0,50,49,98,116,67,111,108,108,105,115,105,111,110,68,105,115,112,97,116,99,104,101,114,0,50,49,98,116,66,114,111,97,100,112,104,97,115,101,73,110,116,101,114,102,97,99,101,0,50,48,98,116,68,101,102,97,117,108,116,77,111,116,105,111,110,83,116,97,116,101,0,0,50,48,98,116,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0,0,50,48,66,114,111,97,100,112,104,97,115,101,65,97,98,98,84,101,115,116,101,114,0,0,49,57,98,116,83,105,110,103,108,101,82,97,121,67,97,108,108,98,97,99,107,0,0,0,49,57,66,114,111,97,100,112,104,97,115,101,82,97,121,84,101,115,116,101,114,0,0,0,49,56,98,116,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,0,0,0,0,49,56,98,116,68,98,118,116,84,114,101,101,67,111,108,108,105,100,101,114,0,0,0,0,49,56,98,116,67,111,110,118,101,120,80,111,108,121,104,101,100,114,111,110,0,0,0,0,49,56,98,116,67,111,110,115,116,114,97,105,110,116,83,111,108,118,101,114,0,0,0,0,49,55,98,116,79,118,101,114,108,97,112,67,97,108,108,98,97,99,107,0,0,0,0,0,49,55,98,116,71,106,107,80,97,105,114,68,101,116,101,99,116,111,114,0,0,0,0,0,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,0,0,0,0,0,49,55,68,101,98,117,103,68,114,97,119,99,97,108,108,98,97,99,107,0,0,0,0,0,49,54,98,116,80,111,105,110,116,67,111,108,108,101,99,116,111,114,0,0,0,0,0,0,49,54,98,116,77,97,110,105,102,111,108,100,82,101,115,117,108,116,0,0,0,0,0,0,49,54,98,116,69,109,112,116,121,65,108,103,111,114,105,116,104,109,0,0,0,0,0,0,49,54,98,116,68,98,118,116,66,114,111,97,100,112,104,97,115,101,0,0,0,0,0,0,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,0,0,0,0,0,0,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,0,0,0,0,0,0,49,54,98,116,66,111,120,66,111,120,68,101,116,101,99,116,111,114,0,0,0,0,0,0,49,53,98,116,84,114,105,97,110,103,108,101,83,104,97,112,101,0,0,0,0,0,0,0,49,53,98,116,71,106,107,67,111,110,118,101,120,67,97,115,116,0,0,0,0,0,0,0,49,53,98,116,68,121,110,97,109,105,99,115,87,111,114,108,100,0,0,0,0,0,0,0,49,51,98,116,83,112,104,101,114,101,83,104,97,112,101,0,49,51,98,116,77,111,116,105].concat([111,110,83,116,97,116,101,0,49,51,98,116,67,111,110,118,101,120,83,104,97,112,101,0,49,50,98,116,68,105,115,112,97,116,99,104,101,114,0,0,49,50,98,116,67,111,110,118,101,120,67,97,115,116,0,0,49,49,98,116,82,105,103,105,100,66,111,100,121,0,0,0,49,48,98,116,66,111,120,83,104,97,112,101,0,0,0,0,0,0,0,0,248,19,0,0,120,41,0,0,0,0,0,0,0,0,0,0,184,20,0,0,8,45,0,0,0,0,0,0,0,0,0,0,88,21,0,0,48,45,0,0,0,0,0,0,0,0,0,0,224,21,0,0,48,45,0,0,0,0,0,0,0,0,0,0,80,22,0,0,0,42,0,0,0,0,0,0,0,0,0,0,184,22,0,0,120,41,0,0,0,0,0,0,0,0,0,0,56,23,0,0,144,44,0,0,0,0,0,0,0,0,0,0,176,23,0,0,144,44,0,0,0,0,0,0,0,0,0,0,24,24,0,0,80,43,0,0,0,0,0,0,0,0,0,0,208,24,0,0,80,43,0,0,0,0,0,0,0,0,0,0,136,25,0,0,56,42,0,0,0,0,0,0,0,0,0,0,48,26,0,0,112,41,0,0,0,0,0,0,0,0,0,0,184,26,0,0,160,43,0,0,0,0,0,0,0,0,0,0,88,27,0,0,160,43,0,0,0,0,0,0,0,0,0,0,248,27,0,0,64,42,0,0,0,0,0,0,0,0,0,0,136,28,0,0,0,0,0,0,152,28,0,0,0,0,0,0,168,28,0,0,88,41,0,0,0,0,0,0,0,0,0,0,184,28,0,0,0,0,0,0,208,28,0,0,0,0,0,0,0,29,0,0,56,43,0,0,0,0,0,0,0,0,0,0,56,29,0,0,56,43,0,0,0,0,0,0,0,0,0,0,120,29,0,0,56,43,0,0,0,0,0,0,0,0,0,0,176,29,0,0,56,43,0,0,0,0,0,0,0,0,0,0,232,29,0,0,56,43,0,0,0,0,0,0,0,0,0,0,24,30,0,0,56,43,0,0,0,0,0,0,0,0,0,0,80,30,0,0,56,43,0,0,0,0,0,0,0,0,0,0,128,30,0,0,56,43,0,0,0,0,0,0,0,0,0,0,176,30,0,0,0,0,0,0,224,30,0,0,56,43,0,0,0,0,0,0,0,0,0,0,8,31,0,0,56,43,0,0,0,0,0,0,0,0,0,0,48,31,0,0,56,42,0,0,0,0,0,0,0,0,0,0,104,31,0,0,0,0,0,0,152,31,0,0,0,0,0,0,192,31,0,0,0,0,0,0,224,31,0,0,112,42,0,0,0,0,0,0,0,0,0,0,8,32,0,0,112,42,0,0,0,0,0,0,0,0,0,0,48,32,0,0,128,42,0,0,0,0,0,0,0,0,0,0,88,32,0,0,80,41,0,0,0,0,0,0,0,0,0,0,128,32,0,0,0,0,0,0,168,32,0,0,40,45,0,0,0,0,0,0,0,0,0,0,208,32,0,0,64,43,0,0,0,0,0,0,0,0,0,0,248,32,0,0,40,42,0,0,0,0,0,0,0,0,0,0,32,33,0,0,48,43,0,0,0,0,0,0,0,0,0,0,72,33,0,0,64,43,0,0,0,0,0,0,0,0,0,0,112,33,0,0,64,43,0,0,0,0,0,0,0,0,0,0,152,33,0,0,0,0,0,0,192,33,0,0,224,43,0,0,0,0,0,0,0,0,0,0,232,33,0,0,208,44,0,0,0,0,0,0,0,0,0,0,16,34,0,0,48,43,0,0,0,0,0,0,0,0,0,0,56,34,0,0,0,0,0,0,96,34,0,0,0,0,0,0,136,34,0,0,208,44,0,0,0,0,0,0,0,0,0,0,176,34,0,0,8,45,0,0,0,0,0,0,0,0,0,0,208,34,0,0,80,44,0,0,0,0,0,0,0,0,0,0,240,34,0,0,64,43,0,0,0,0,0,0,0,0,0,0,16,35,0,0,48,46,0,0,0,0,0,0,0,0,0,0,48,35,0,0,64,43,0,0,0,0,0,0,0,0,0,0,80,35,0,0,8,45,0,0,0,0,0,0,0,0,0,0,112,35,0,0,0,0,0,0,144,35,0,0,0,0,0,0,176,35,0,0,128,45,0,0,0,0,0,0,0,0,0,0,208,35,0,0,8,45,0,0,0,0,0,0,0,0,0,0,240,35,0,0,0,0,0,0,16,36,0,0,0,0,0,0,48,36,0,0,152,44,0,0,0,0,0,0,0,0,0,0,80,36,0,0,240,45,0,0,0,0,0,0,0,0,0,0,112,36,0,0,64,43,0,0,0,0,0,0,0,0,0,0,144,36,0,0,48,45,0,0,0,0,0,0,0,0,0,0,176,36,0,0,232,43,0,0,0,0,0,0,0,0,0,0,208,36,0,0,48,46,0,0,0,0,0,0,0,0,0,0,240,36,0,0,184,43,0,0,0,0,0,0,0,0,0,0,16,37,0,0,112,41,0,0,0,0,0,0,0,0,0,0,48,37,0,0,144,42,0,0,0,0,0,0,0,0,0,0,80,37,0,0,48,44,0,0,0,0,0,0,0,0,0,0,104,37,0,0,0,0,0,0,128,37,0,0,24,46,0,0,0,0,0,0,0,0,0,0,152,37,0,0,40,46,0,0,0,0,0,0,0,0,0,0,176,37,0,0,0,0,0,0,200,37,0,0,16,46,0,0,0,0,0,0,0,0,0,0,224,37,0,0,0,0,0,0,248,37,0,0,112,41,0,0,0,0,0,0,0,0,0,0,16,38,0,0,48,44,0,0,0,0,0,0,0,0,0,0,40,38,0,0,112,41,0,0,0,0,0,0,0,0,0,0,64,38,0,0,0,0,0,0,88,38,0,0,112,41,0,0,0,0,0,0,0,0,0,0,112,38,0,0,0,0,0,0,136,38,0,0,0,0,0,0,160,38,0,0,0,0,0,0,184,38,0,0,144,42,0,0,0,0,0,0,0,0,0,0,208,38,0,0,16,9,0,0,232,38,0,0,0,0,0,0,2,0,0,0,8,45,0,0,2,0,0,0,248,42,0,0,2,4,0,0,0,0,0,0,0,39,0,0,120,41,0,0,0,0,0,0,0,0,0,0,24,39,0,0,120,41,0,0,0,0,0,0,0,0,0,0,48,39,0,0,208,44,0,0,0,0,0,0,0,0,0,0,72,39,0,0,184,44,0,0,0,0,0,0,0,0,0,0,96,39,0,0,0,0,0,0,120,39,0,0,0,0,0,0,144,39,0,0,144,42,0,0,0,0,0,0,0,0,0,0,168,39,0,0,240,43,0,0,0,0,0,0,0,0,0,0,192,39,0,0,48,46,0,0,0,0,0,0,0,0,0,0,216,39,0,0,176,45,0,0,0,0,0,0,0,0,0,0,240,39,0,0,152,44,0,0,0,0,0,0,0,0,0,0,0,40,0,0,0,0,0,0,16,40,0,0,184,45,0,0,0,0,0,0,0,0,0,0,32,40,0,0,0,0,0,0,48,40,0,0,0,0,0,0,64,40,0,0,72,45,0,0,0,0,0,0,0,0,0,0,80,40,0,0,240,43,0,0,0,0,0,0,176,55,0,0,0,0,0,0,44,1,0,0,0,0,0,0,4,0,0,0,0,0,0,0,164,0,0,0,0,0,0,0,78,0,0,0,0,0,0,0])
+, "i8", ALLOC_NONE, Runtime.GLOBAL_BASE)
+var tempDoublePtr = Runtime.alignMemory(allocate(12, "i8", ALLOC_STATIC), 8);
+assert(tempDoublePtr % 8 == 0);
+function copyTempFloat(ptr) { // functions, because inlining this code increases code size too much
+ HEAP8[tempDoublePtr] = HEAP8[ptr];
+ HEAP8[tempDoublePtr+1] = HEAP8[ptr+1];
+ HEAP8[tempDoublePtr+2] = HEAP8[ptr+2];
+ HEAP8[tempDoublePtr+3] = HEAP8[ptr+3];
+}
+function copyTempDouble(ptr) {
+ HEAP8[tempDoublePtr] = HEAP8[ptr];
+ HEAP8[tempDoublePtr+1] = HEAP8[ptr+1];
+ HEAP8[tempDoublePtr+2] = HEAP8[ptr+2];
+ HEAP8[tempDoublePtr+3] = HEAP8[ptr+3];
+ HEAP8[tempDoublePtr+4] = HEAP8[ptr+4];
+ HEAP8[tempDoublePtr+5] = HEAP8[ptr+5];
+ HEAP8[tempDoublePtr+6] = HEAP8[ptr+6];
+ HEAP8[tempDoublePtr+7] = HEAP8[ptr+7];
+}
+ function ___gxx_personality_v0() {
+ }
+ function __exit(status) {
+ // void _exit(int status);
+ // http://pubs.opengroup.org/onlinepubs/000095399/functions/exit.html
+ Module.print('exit(' + status + ') called');
+ Module['exit'](status);
+ }function _exit(status) {
+ __exit(status);
+ }function __ZSt9terminatev() {
+ _exit(-1234);
+ }
+ var ERRNO_CODES={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:35,EIDRM:36,ECHRNG:37,EL2NSYNC:38,EL3HLT:39,EL3RST:40,ELNRNG:41,EUNATCH:42,ENOCSI:43,EL2HLT:44,EDEADLK:45,ENOLCK:46,EBADE:50,EBADR:51,EXFULL:52,ENOANO:53,EBADRQC:54,EBADSLT:55,EDEADLOCK:56,EBFONT:57,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:74,EDOTDOT:76,EBADMSG:77,ENOTUNIQ:80,EBADFD:81,EREMCHG:82,ELIBACC:83,ELIBBAD:84,ELIBSCN:85,ELIBMAX:86,ELIBEXEC:87,ENOSYS:88,ENOTEMPTY:90,ENAMETOOLONG:91,ELOOP:92,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:106,EPROTOTYPE:107,ENOTSOCK:108,ENOPROTOOPT:109,ESHUTDOWN:110,ECONNREFUSED:111,EADDRINUSE:112,ECONNABORTED:113,ENETUNREACH:114,ENETDOWN:115,ETIMEDOUT:116,EHOSTDOWN:117,EHOSTUNREACH:118,EINPROGRESS:119,EALREADY:120,EDESTADDRREQ:121,EMSGSIZE:122,EPROTONOSUPPORT:123,ESOCKTNOSUPPORT:124,EADDRNOTAVAIL:125,ENETRESET:126,EISCONN:127,ENOTCONN:128,ETOOMANYREFS:129,EUSERS:131,EDQUOT:132,ESTALE:133,ENOTSUP:134,ENOMEDIUM:135,EILSEQ:138,EOVERFLOW:139,ECANCELED:140,ENOTRECOVERABLE:141,EOWNERDEAD:142,ESTRPIPE:143};
+ var ERRNO_MESSAGES={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"No message of desired type",36:"Identifier removed",37:"Channel number out of range",38:"Level 2 not synchronized",39:"Level 3 halted",40:"Level 3 reset",41:"Link number out of range",42:"Protocol driver not attached",43:"No CSI structure available",44:"Level 2 halted",45:"Deadlock condition",46:"No record locks available",50:"Invalid exchange",51:"Invalid request descriptor",52:"Exchange full",53:"No anode",54:"Invalid request code",55:"Invalid slot",56:"File locking deadlock error",57:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",74:"Multihop attempted",76:"Cross mount point (not really error)",77:"Trying to read unreadable message",80:"Given log. name not unique",81:"f.d. invalid for this operation",82:"Remote address changed",83:"Can access a needed shared lib",84:"Accessing a corrupted shared lib",85:".lib section in a.out corrupted",86:"Attempting to link in too many libs",87:"Attempting to exec a shared library",88:"Function not implemented",90:"Directory not empty",91:"File or path name too long",92:"Too many symbolic links",95:"Operation not supported on transport endpoint",96:"Protocol family not supported",104:"Connection reset by peer",105:"No buffer space available",106:"Address family not supported by protocol family",107:"Protocol wrong type for socket",108:"Socket operation on non-socket",109:"Protocol not available",110:"Can't send after socket shutdown",111:"Connection refused",112:"Address already in use",113:"Connection aborted",114:"Network is unreachable",115:"Network interface is not configured",116:"Connection timed out",117:"Host is down",118:"Host is unreachable",119:"Connection already in progress",120:"Socket already connected",121:"Destination address required",122:"Message too long",123:"Unknown protocol",124:"Socket type not supported",125:"Address not available",126:"Connection reset by network",127:"Socket is already connected",128:"Socket is not connected",129:"Too many references",131:"Too many users",132:"Quota exceeded",133:"Stale file handle",134:"Not supported",135:"No medium (in tape drive)",138:"Illegal byte sequence",139:"Value too large for defined data type",140:"Operation canceled",141:"State not recoverable",142:"Previous owner died",143:"Streams pipe error"};
+ var ___errno_state=0;function ___setErrNo(value) {
+ // For convenient setting and returning of errno.
+ HEAP32[((___errno_state)>>2)]=value
+ return value;
+ }
+ var VFS=undefined;
+ var PATH={splitPath:function (filename) {
+ var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
+ return splitPathRe.exec(filename).slice(1);
+ },normalizeArray:function (parts, allowAboveRoot) {
+ // if the path tries to go above the root, `up` ends up > 0
+ var up = 0;
+ for (var i = parts.length - 1; i >= 0; i--) {
+ var last = parts[i];
+ if (last === '.') {
+ parts.splice(i, 1);
+ } else if (last === '..') {
+ parts.splice(i, 1);
+ up++;
+ } else if (up) {
+ parts.splice(i, 1);
+ up--;
+ }
+ }
+ // if the path is allowed to go above the root, restore leading ..s
+ if (allowAboveRoot) {
+ for (; up--; up) {
+ parts.unshift('..');
+ }
+ }
+ return parts;
+ },normalize:function (path) {
+ var isAbsolute = path.charAt(0) === '/',
+ trailingSlash = path.substr(-1) === '/';
+ // Normalize the path
+ path = PATH.normalizeArray(path.split('/').filter(function(p) {
+ return !!p;
+ }), !isAbsolute).join('/');
+ if (!path && !isAbsolute) {
+ path = '.';
+ }
+ if (path && trailingSlash) {
+ path += '/';
+ }
+ return (isAbsolute ? '/' : '') + path;
+ },dirname:function (path) {
+ var result = PATH.splitPath(path),
+ root = result[0],
+ dir = result[1];
+ if (!root && !dir) {
+ // No dirname whatsoever
+ return '.';
+ }
+ if (dir) {
+ // It has a dirname, strip trailing slash
+ dir = dir.substr(0, dir.length - 1);
+ }
+ return root + dir;
+ },basename:function (path, ext) {
+ // EMSCRIPTEN return '/'' for '/', not an empty string
+ if (path === '/') return '/';
+ var f = PATH.splitPath(path)[2];
+ if (ext && f.substr(-1 * ext.length) === ext) {
+ f = f.substr(0, f.length - ext.length);
+ }
+ return f;
+ },extname:function (path) {
+ return PATH.splitPath(path)[3];
+ },join:function () {
+ var paths = Array.prototype.slice.call(arguments, 0);
+ return PATH.normalize(paths.filter(function(p, index) {
+ if (typeof p !== 'string') {
+ throw new TypeError('Arguments to path.join must be strings');
+ }
+ return p;
+ }).join('/'));
+ },resolve:function () {
+ var resolvedPath = '',
+ resolvedAbsolute = false;
+ for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
+ var path = (i >= 0) ? arguments[i] : FS.cwd();
+ // Skip empty and invalid entries
+ if (typeof path !== 'string') {
+ throw new TypeError('Arguments to path.resolve must be strings');
+ } else if (!path) {
+ continue;
+ }
+ resolvedPath = path + '/' + resolvedPath;
+ resolvedAbsolute = path.charAt(0) === '/';
+ }
+ // At this point the path should be resolved to a full absolute path, but
+ // handle relative paths to be safe (might happen when process.cwd() fails)
+ resolvedPath = PATH.normalizeArray(resolvedPath.split('/').filter(function(p) {
+ return !!p;
+ }), !resolvedAbsolute).join('/');
+ return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
+ },relative:function (from, to) {
+ from = PATH.resolve(from).substr(1);
+ to = PATH.resolve(to).substr(1);
+ function trim(arr) {
+ var start = 0;
+ for (; start < arr.length; start++) {
+ if (arr[start] !== '') break;
+ }
+ var end = arr.length - 1;
+ for (; end >= 0; end--) {
+ if (arr[end] !== '') break;
+ }
+ if (start > end) return [];
+ return arr.slice(start, end - start + 1);
+ }
+ var fromParts = trim(from.split('/'));
+ var toParts = trim(to.split('/'));
+ var length = Math.min(fromParts.length, toParts.length);
+ var samePartsLength = length;
+ for (var i = 0; i < length; i++) {
+ if (fromParts[i] !== toParts[i]) {
+ samePartsLength = i;
+ break;
+ }
+ }
+ var outputParts = [];
+ for (var i = samePartsLength; i < fromParts.length; i++) {
+ outputParts.push('..');
+ }
+ outputParts = outputParts.concat(toParts.slice(samePartsLength));
+ return outputParts.join('/');
+ }};
+ var TTY={ttys:[],init:function () {
+ // https://github.com/kripken/emscripten/pull/1555
+ // if (ENVIRONMENT_IS_NODE) {
+ // // currently, FS.init does not distinguish if process.stdin is a file or TTY
+ // // device, it always assumes it's a TTY device. because of this, we're forcing
+ // // process.stdin to UTF8 encoding to at least make stdin reading compatible
+ // // with text files until FS.init can be refactored.
+ // process['stdin']['setEncoding']('utf8');
+ // }
+ },shutdown:function () {
+ // https://github.com/kripken/emscripten/pull/1555
+ // if (ENVIRONMENT_IS_NODE) {
+ // // inolen: any idea as to why node -e 'process.stdin.read()' wouldn't exit immediately (with process.stdin being a tty)?
+ // // isaacs: because now it's reading from the stream, you've expressed interest in it, so that read() kicks off a _read() which creates a ReadReq operation
+ // // inolen: I thought read() in that case was a synchronous operation that just grabbed some amount of buffered data if it exists?
+ // // isaacs: it is. but it also triggers a _read() call, which calls readStart() on the handle
+ // // isaacs: do process.stdin.pause() and i'd think it'd probably close the pending call
+ // process['stdin']['pause']();
+ // }
+ },register:function (dev, ops) {
+ TTY.ttys[dev] = { input: [], output: [], ops: ops };
+ FS.registerDevice(dev, TTY.stream_ops);
+ },stream_ops:{open:function (stream) {
+ var tty = TTY.ttys[stream.node.rdev];
+ if (!tty) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
+ }
+ stream.tty = tty;
+ stream.seekable = false;
+ },close:function (stream) {
+ // flush any pending line data
+ if (stream.tty.output.length) {
+ stream.tty.ops.put_char(stream.tty, 10);
+ }
+ },read:function (stream, buffer, offset, length, pos /* ignored */) {
+ if (!stream.tty || !stream.tty.ops.get_char) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENXIO);
+ }
+ var bytesRead = 0;
+ for (var i = 0; i < length; i++) {
+ var result;
+ try {
+ result = stream.tty.ops.get_char(stream.tty);
+ } catch (e) {
+ throw new FS.ErrnoError(ERRNO_CODES.EIO);
+ }
+ if (result === undefined && bytesRead === 0) {
+ throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
+ }
+ if (result === null || result === undefined) break;
+ bytesRead++;
+ buffer[offset+i] = result;
+ }
+ if (bytesRead) {
+ stream.node.timestamp = Date.now();
+ }
+ return bytesRead;
+ },write:function (stream, buffer, offset, length, pos) {
+ if (!stream.tty || !stream.tty.ops.put_char) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENXIO);
+ }
+ for (var i = 0; i < length; i++) {
+ try {
+ stream.tty.ops.put_char(stream.tty, buffer[offset+i]);
+ } catch (e) {
+ throw new FS.ErrnoError(ERRNO_CODES.EIO);
+ }
+ }
+ if (length) {
+ stream.node.timestamp = Date.now();
+ }
+ return i;
+ }},default_tty_ops:{get_char:function (tty) {
+ if (!tty.input.length) {
+ var result = null;
+ if (ENVIRONMENT_IS_NODE) {
+ result = process['stdin']['read']();
+ if (!result) {
+ if (process['stdin']['_readableState'] && process['stdin']['_readableState']['ended']) {
+ return null; // EOF
+ }
+ return undefined; // no data available
+ }
+ } else if (typeof window != 'undefined' &&
+ typeof window.prompt == 'function') {
+ // Browser.
+ result = window.prompt('Input: '); // returns null on cancel
+ if (result !== null) {
+ result += '\n';
+ }
+ } else if (typeof readline == 'function') {
+ // Command line.
+ result = readline();
+ if (result !== null) {
+ result += '\n';
+ }
+ }
+ if (!result) {
+ return null;
+ }
+ tty.input = intArrayFromString(result, true);
+ }
+ return tty.input.shift();
+ },put_char:function (tty, val) {
+ if (val === null || val === 10) {
+ Module['print'](tty.output.join(''));
+ tty.output = [];
+ } else {
+ tty.output.push(TTY.utf8.processCChar(val));
+ }
+ }},default_tty1_ops:{put_char:function (tty, val) {
+ if (val === null || val === 10) {
+ Module['printErr'](tty.output.join(''));
+ tty.output = [];
+ } else {
+ tty.output.push(TTY.utf8.processCChar(val));
+ }
+ }}};
+ var MEMFS={CONTENT_OWNING:1,CONTENT_FLEXIBLE:2,CONTENT_FIXED:3,ensureFlexible:function (node) {
+ if (node.contentMode !== MEMFS.CONTENT_FLEXIBLE) {
+ var contents = node.contents;
+ node.contents = Array.prototype.slice.call(contents);
+ node.contentMode = MEMFS.CONTENT_FLEXIBLE;
+ }
+ },mount:function (mount) {
+ return MEMFS.create_node(null, '/', 0o040000 | 0o777, 0);
+ },create_node:function (parent, name, mode, dev) {
+ if (FS.isBlkdev(mode) || FS.isFIFO(mode)) {
+ // no supported
+ throw new FS.ErrnoError(ERRNO_CODES.EPERM);
+ }
+ var node = FS.createNode(parent, name, mode, dev);
+ if (FS.isDir(node.mode)) {
+ node.node_ops = {
+ getattr: MEMFS.node_ops.getattr,
+ setattr: MEMFS.node_ops.setattr,
+ lookup: MEMFS.node_ops.lookup,
+ mknod: MEMFS.node_ops.mknod,
+ mknod: MEMFS.node_ops.mknod,
+ rename: MEMFS.node_ops.rename,
+ unlink: MEMFS.node_ops.unlink,
+ rmdir: MEMFS.node_ops.rmdir,
+ readdir: MEMFS.node_ops.readdir,
+ symlink: MEMFS.node_ops.symlink
+ };
+ node.stream_ops = {
+ llseek: MEMFS.stream_ops.llseek
+ };
+ node.contents = {};
+ } else if (FS.isFile(node.mode)) {
+ node.node_ops = {
+ getattr: MEMFS.node_ops.getattr,
+ setattr: MEMFS.node_ops.setattr
+ };
+ node.stream_ops = {
+ llseek: MEMFS.stream_ops.llseek,
+ read: MEMFS.stream_ops.read,
+ write: MEMFS.stream_ops.write,
+ allocate: MEMFS.stream_ops.allocate,
+ mmap: MEMFS.stream_ops.mmap
+ };
+ node.contents = [];
+ node.contentMode = MEMFS.CONTENT_FLEXIBLE;
+ } else if (FS.isLink(node.mode)) {
+ node.node_ops = {
+ getattr: MEMFS.node_ops.getattr,
+ setattr: MEMFS.node_ops.setattr,
+ readlink: MEMFS.node_ops.readlink
+ };
+ node.stream_ops = {};
+ } else if (FS.isChrdev(node.mode)) {
+ node.node_ops = {
+ getattr: MEMFS.node_ops.getattr,
+ setattr: MEMFS.node_ops.setattr
+ };
+ node.stream_ops = FS.chrdev_stream_ops;
+ }
+ node.timestamp = Date.now();
+ // add the new node to the parent
+ if (parent) {
+ parent.contents[name] = node;
+ }
+ return node;
+ },node_ops:{getattr:function (node) {
+ var attr = {};
+ // device numbers reuse inode numbers.
+ attr.dev = FS.isChrdev(node.mode) ? node.id : 1;
+ attr.ino = node.id;
+ attr.mode = node.mode;
+ attr.nlink = 1;
+ attr.uid = 0;
+ attr.gid = 0;
+ attr.rdev = node.rdev;
+ if (FS.isDir(node.mode)) {
+ attr.size = 4096;
+ } else if (FS.isFile(node.mode)) {
+ attr.size = node.contents.length;
+ } else if (FS.isLink(node.mode)) {
+ attr.size = node.link.length;
+ } else {
+ attr.size = 0;
+ }
+ attr.atime = new Date(node.timestamp);
+ attr.mtime = new Date(node.timestamp);
+ attr.ctime = new Date(node.timestamp);
+ // NOTE: In our implementation, st_blocks = Math.ceil(st_size/st_blksize),
+ // but this is not required by the standard.
+ attr.blksize = 4096;
+ attr.blocks = Math.ceil(attr.size / attr.blksize);
+ return attr;
+ },setattr:function (node, attr) {
+ if (attr.mode !== undefined) {
+ node.mode = attr.mode;
+ }
+ if (attr.timestamp !== undefined) {
+ node.timestamp = attr.timestamp;
+ }
+ if (attr.size !== undefined) {
+ MEMFS.ensureFlexible(node);
+ var contents = node.contents;
+ if (attr.size < contents.length) contents.length = attr.size;
+ else while (attr.size > contents.length) contents.push(0);
+ }
+ },lookup:function (parent, name) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
+ },mknod:function (parent, name, mode, dev) {
+ return MEMFS.create_node(parent, name, mode, dev);
+ },rename:function (old_node, new_dir, new_name) {
+ // if we're overwriting a directory at new_name, make sure it's empty.
+ if (FS.isDir(old_node.mode)) {
+ var new_node;
+ try {
+ new_node = FS.lookupNode(new_dir, new_name);
+ } catch (e) {
+ }
+ if (new_node) {
+ for (var i in new_node.contents) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
+ }
+ }
+ }
+ // do the internal rewiring
+ delete old_node.parent.contents[old_node.name];
+ old_node.name = new_name;
+ new_dir.contents[new_name] = old_node;
+ },unlink:function (parent, name) {
+ delete parent.contents[name];
+ },rmdir:function (parent, name) {
+ var node = FS.lookupNode(parent, name);
+ for (var i in node.contents) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
+ }
+ delete parent.contents[name];
+ },readdir:function (node) {
+ var entries = ['.', '..']
+ for (var key in node.contents) {
+ if (!node.contents.hasOwnProperty(key)) {
+ continue;
+ }
+ entries.push(key);
+ }
+ return entries;
+ },symlink:function (parent, newname, oldpath) {
+ var node = MEMFS.create_node(parent, newname, 0o777 | 0o120000, 0);
+ node.link = oldpath;
+ return node;
+ },readlink:function (node) {
+ if (!FS.isLink(node.mode)) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ return node.link;
+ }},stream_ops:{read:function (stream, buffer, offset, length, position) {
+ var contents = stream.node.contents;
+ var size = Math.min(contents.length - position, length);
+ if (size > 8 && contents.subarray) { // non-trivial, and typed array
+ buffer.set(contents.subarray(position, position + size), offset);
+ } else
+ {
+ for (var i = 0; i < size; i++) {
+ buffer[offset + i] = contents[position + i];
+ }
+ }
+ return size;
+ },write:function (stream, buffer, offset, length, position, canOwn) {
+ var node = stream.node;
+ node.timestamp = Date.now();
+ var contents = node.contents;
+ if (length && contents.length === 0 && position === 0 && buffer.subarray) {
+ // just replace it with the new data
+ assert(buffer.length);
+ if (canOwn && buffer.buffer === HEAP8.buffer && offset === 0) {
+ node.contents = buffer; // this is a subarray of the heap, and we can own it
+ node.contentMode = MEMFS.CONTENT_OWNING;
+ } else {
+ node.contents = new Uint8Array(buffer.subarray(offset, offset+length));
+ node.contentMode = MEMFS.CONTENT_FIXED;
+ }
+ return length;
+ }
+ MEMFS.ensureFlexible(node);
+ var contents = node.contents;
+ while (contents.length < position) contents.push(0);
+ for (var i = 0; i < length; i++) {
+ contents[position + i] = buffer[offset + i];
+ }
+ return length;
+ },llseek:function (stream, offset, whence) {
+ var position = offset;
+ if (whence === 1) { // SEEK_CUR.
+ position += stream.position;
+ } else if (whence === 2) { // SEEK_END.
+ if (FS.isFile(stream.node.mode)) {
+ position += stream.node.contents.length;
+ }
+ }
+ if (position < 0) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ stream.ungotten = [];
+ stream.position = position;
+ return position;
+ },allocate:function (stream, offset, length) {
+ MEMFS.ensureFlexible(stream.node);
+ var contents = stream.node.contents;
+ var limit = offset + length;
+ while (limit > contents.length) contents.push(0);
+ },mmap:function (stream, buffer, offset, length, position, prot, flags) {
+ if (!FS.isFile(stream.node.mode)) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
+ }
+ var ptr;
+ var allocated;
+ var contents = stream.node.contents;
+ // Only make a new copy when MAP_PRIVATE is specified.
+ if ( !(flags & 0x02) &&
+ (contents.buffer === buffer || contents.buffer === buffer.buffer) ) {
+ // We can't emulate MAP_SHARED when the file is not backed by the buffer
+ // we're mapping to (e.g. the HEAP buffer).
+ allocated = false;
+ ptr = contents.byteOffset;
+ } else {
+ // Try to avoid unnecessary slices.
+ if (position > 0 || position + length < contents.length) {
+ if (contents.subarray) {
+ contents = contents.subarray(position, position + length);
+ } else {
+ contents = Array.prototype.slice.call(contents, position, position + length);
+ }
+ }
+ allocated = true;
+ ptr = _malloc(length);
+ if (!ptr) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENOMEM);
+ }
+ buffer.set(contents, ptr);
+ }
+ return { ptr: ptr, allocated: allocated };
+ }}};
+ var _stdin=allocate(1, "i32*", ALLOC_STATIC);
+ var _stdout=allocate(1, "i32*", ALLOC_STATIC);
+ var _stderr=allocate(1, "i32*", ALLOC_STATIC);
+ function _fflush(stream) {
+ // int fflush(FILE *stream);
+ // http://pubs.opengroup.org/onlinepubs/000095399/functions/fflush.html
+ // we don't currently perform any user-space buffering of data
+ }var FS={root:null,devices:[null],streams:[null],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,ErrnoError:function ErrnoError(errno) {
+ this.errno = errno;
+ for (var key in ERRNO_CODES) {
+ if (ERRNO_CODES[key] === errno) {
+ this.code = key;
+ break;
+ }
+ }
+ this.message = ERRNO_MESSAGES[errno];
+ },handleFSError:function (e) {
+ if (!(e instanceof FS.ErrnoError)) throw e + ' : ' + new Error().stack;
+ return ___setErrNo(e.errno);
+ },cwd:function () {
+ return FS.currentPath;
+ },lookupPath:function (path, opts) {
+ path = PATH.resolve(FS.currentPath, path);
+ opts = opts || { recurse_count: 0 };
+ if (opts.recurse_count > 8) { // max recursive lookup of 8
+ throw new FS.ErrnoError(ERRNO_CODES.ELOOP);
+ }
+ // split the path
+ var parts = PATH.normalizeArray(path.split('/').filter(function(p) {
+ return !!p;
+ }), false);
+ // start at the root
+ var current = FS.root;
+ var current_path = '/';
+ for (var i = 0; i < parts.length; i++) {
+ var islast = (i === parts.length-1);
+ if (islast && opts.parent) {
+ // stop resolving
+ break;
+ }
+ current = FS.lookupNode(current, parts[i]);
+ current_path = PATH.join(current_path, parts[i]);
+ // jump to the mount's root node if this is a mountpoint
+ if (FS.isMountpoint(current)) {
+ current = current.mount.root;
+ }
+ // follow symlinks
+ // by default, lookupPath will not follow a symlink if it is the final path component.
+ // setting opts.follow = true will override this behavior.
+ if (!islast || opts.follow) {
+ var count = 0;
+ while (FS.isLink(current.mode)) {
+ var link = FS.readlink(current_path);
+ current_path = PATH.resolve(PATH.dirname(current_path), link);
+ var lookup = FS.lookupPath(current_path, { recurse_count: opts.recurse_count });
+ current = lookup.node;
+ if (count++ > 40) { // limit max consecutive symlinks to 40 (SYMLOOP_MAX).
+ throw new FS.ErrnoError(ERRNO_CODES.ELOOP);
+ }
+ }
+ }
+ }
+ return { path: current_path, node: current };
+ },getPath:function (node) {
+ var path;
+ while (true) {
+ if (FS.isRoot(node)) {
+ return path ? PATH.join(node.mount.mountpoint, path) : node.mount.mountpoint;
+ }
+ path = path ? PATH.join(node.name, path) : node.name;
+ node = node.parent;
+ }
+ },hashName:function (parentid, name) {
+ var hash = 0;
+ for (var i = 0; i < name.length; i++) {
+ hash = ((hash << 5) - hash + name.charCodeAt(i)) | 0;
+ }
+ return ((parentid + hash) >>> 0) % FS.nameTable.length;
+ },hashAddNode:function (node) {
+ var hash = FS.hashName(node.parent.id, node.name);
+ node.name_next = FS.nameTable[hash];
+ FS.nameTable[hash] = node;
+ },hashRemoveNode:function (node) {
+ var hash = FS.hashName(node.parent.id, node.name);
+ if (FS.nameTable[hash] === node) {
+ FS.nameTable[hash] = node.name_next;
+ } else {
+ var current = FS.nameTable[hash];
+ while (current) {
+ if (current.name_next === node) {
+ current.name_next = node.name_next;
+ break;
+ }
+ current = current.name_next;
+ }
+ }
+ },lookupNode:function (parent, name) {
+ var err = FS.mayLookup(parent);
+ if (err) {
+ throw new FS.ErrnoError(err);
+ }
+ var hash = FS.hashName(parent.id, name);
+ for (var node = FS.nameTable[hash]; node; node = node.name_next) {
+ if (node.parent.id === parent.id && node.name === name) {
+ return node;
+ }
+ }
+ // if we failed to find it in the cache, call into the VFS
+ return FS.lookup(parent, name);
+ },createNode:function (parent, name, mode, rdev) {
+ var node = {
+ id: FS.nextInode++,
+ name: name,
+ mode: mode,
+ node_ops: {},
+ stream_ops: {},
+ rdev: rdev,
+ parent: null,
+ mount: null
+ };
+ if (!parent) {
+ parent = node; // root node sets parent to itself
+ }
+ node.parent = parent;
+ node.mount = parent.mount;
+ // compatibility
+ var readMode = 292 | 73;
+ var writeMode = 146;
+ // NOTE we must use Object.defineProperties instead of individual calls to
+ // Object.defineProperty in order to make closure compiler happy
+ Object.defineProperties(node, {
+ read: {
+ get: function() { return (node.mode & readMode) === readMode; },
+ set: function(val) { val ? node.mode |= readMode : node.mode &= ~readMode; }
+ },
+ write: {
+ get: function() { return (node.mode & writeMode) === writeMode; },
+ set: function(val) { val ? node.mode |= writeMode : node.mode &= ~writeMode; }
+ },
+ isFolder: {
+ get: function() { return FS.isDir(node.mode); },
+ },
+ isDevice: {
+ get: function() { return FS.isChrdev(node.mode); },
+ },
+ });
+ FS.hashAddNode(node);
+ return node;
+ },destroyNode:function (node) {
+ FS.hashRemoveNode(node);
+ },isRoot:function (node) {
+ return node === node.parent;
+ },isMountpoint:function (node) {
+ return node.mounted;
+ },isFile:function (mode) {
+ return (mode & 0o170000) === 0o100000;
+ },isDir:function (mode) {
+ return (mode & 0o170000) === 0o040000;
+ },isLink:function (mode) {
+ return (mode & 0o170000) === 0o120000;
+ },isChrdev:function (mode) {
+ return (mode & 0o170000) === 0o020000;
+ },isBlkdev:function (mode) {
+ return (mode & 0o170000) === 0o060000;
+ },isFIFO:function (mode) {
+ return (mode & 0o170000) === 0o010000;
+ },isSocket:function (mode) {
+ return (mode & 0o140000) === 0o140000;
+ },flagModes:{"r":0,"rs":8192,"r+":2,"w":1537,"wx":3585,"xw":3585,"w+":1538,"wx+":3586,"xw+":3586,"a":521,"ax":2569,"xa":2569,"a+":522,"ax+":2570,"xa+":2570},modeStringToFlags:function (str) {
+ var flags = FS.flagModes[str];
+ if (typeof flags === 'undefined') {
+ throw new Error('Unknown file open mode: ' + str);
+ }
+ return flags;
+ },flagsToPermissionString:function (flag) {
+ var accmode = flag & 3;
+ var perms = ['r', 'w', 'rw'][accmode];
+ if ((flag & 1024)) {
+ perms += 'w';
+ }
+ return perms;
+ },nodePermissions:function (node, perms) {
+ if (FS.ignorePermissions) {
+ return 0;
+ }
+ // return 0 if any user, group or owner bits are set.
+ if (perms.indexOf('r') !== -1 && !(node.mode & 292)) {
+ return ERRNO_CODES.EACCES;
+ } else if (perms.indexOf('w') !== -1 && !(node.mode & 146)) {
+ return ERRNO_CODES.EACCES;
+ } else if (perms.indexOf('x') !== -1 && !(node.mode & 73)) {
+ return ERRNO_CODES.EACCES;
+ }
+ return 0;
+ },mayLookup:function (dir) {
+ return FS.nodePermissions(dir, 'x');
+ },mayCreate:function (dir, name) {
+ try {
+ var node = FS.lookupNode(dir, name);
+ return ERRNO_CODES.EEXIST;
+ } catch (e) {
+ }
+ return FS.nodePermissions(dir, 'wx');
+ },mayDelete:function (dir, name, isdir) {
+ var node;
+ try {
+ node = FS.lookupNode(dir, name);
+ } catch (e) {
+ return e.errno;
+ }
+ var err = FS.nodePermissions(dir, 'wx');
+ if (err) {
+ return err;
+ }
+ if (isdir) {
+ if (!FS.isDir(node.mode)) {
+ return ERRNO_CODES.ENOTDIR;
+ }
+ if (FS.isRoot(node) || FS.getPath(node) === FS.currentPath) {
+ return ERRNO_CODES.EBUSY;
+ }
+ } else {
+ if (FS.isDir(node.mode)) {
+ return ERRNO_CODES.EISDIR;
+ }
+ }
+ return 0;
+ },mayOpen:function (node, flags) {
+ if (!node) {
+ return ERRNO_CODES.ENOENT;
+ }
+ if (FS.isLink(node.mode)) {
+ return ERRNO_CODES.ELOOP;
+ } else if (FS.isDir(node.mode)) {
+ if ((flags & 3) !== 0 || // opening for write
+ (flags & 1024)) {
+ return ERRNO_CODES.EISDIR;
+ }
+ }
+ return FS.nodePermissions(node, FS.flagsToPermissionString(flags));
+ },MAX_OPEN_FDS:4096,nextfd:function (fd_start, fd_end) {
+ fd_start = fd_start || 1;
+ fd_end = fd_end || FS.MAX_OPEN_FDS;
+ for (var fd = fd_start; fd <= fd_end; fd++) {
+ if (!FS.streams[fd]) {
+ return fd;
+ }
+ }
+ throw new FS.ErrnoError(ERRNO_CODES.EMFILE);
+ },getStream:function (fd) {
+ return FS.streams[fd];
+ },createStream:function (stream, fd_start, fd_end) {
+ var fd = FS.nextfd(fd_start, fd_end);
+ stream.fd = fd;
+ // compatibility
+ Object.defineProperties(stream, {
+ object: {
+ get: function() { return stream.node; },
+ set: function(val) { stream.node = val; }
+ },
+ isRead: {
+ get: function() { return (stream.flags & 3) !== 1; }
+ },
+ isWrite: {
+ get: function() { return (stream.flags & 3) !== 0; }
+ },
+ isAppend: {
+ get: function() { return (stream.flags & 8); }
+ }
+ });
+ FS.streams[fd] = stream;
+ return stream;
+ },closeStream:function (fd) {
+ FS.streams[fd] = null;
+ },chrdev_stream_ops:{open:function (stream) {
+ var device = FS.getDevice(stream.node.rdev);
+ // override node's stream ops with the device's
+ stream.stream_ops = device.stream_ops;
+ // forward the open call
+ if (stream.stream_ops.open) {
+ stream.stream_ops.open(stream);
+ }
+ },llseek:function () {
+ throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
+ }},major:function (dev) {
+ return ((dev) >> 8);
+ },minor:function (dev) {
+ return ((dev) & 0xff);
+ },makedev:function (ma, mi) {
+ return ((ma) << 8 | (mi));
+ },registerDevice:function (dev, ops) {
+ FS.devices[dev] = { stream_ops: ops };
+ },getDevice:function (dev) {
+ return FS.devices[dev];
+ },mount:function (type, opts, mountpoint) {
+ var mount = {
+ type: type,
+ opts: opts,
+ mountpoint: mountpoint,
+ root: null
+ };
+ var lookup;
+ if (mountpoint) {
+ lookup = FS.lookupPath(mountpoint, { follow: false });
+ }
+ // create a root node for the fs
+ var root = type.mount(mount);
+ root.mount = mount;
+ mount.root = root;
+ // assign the mount info to the mountpoint's node
+ if (lookup) {
+ lookup.node.mount = mount;
+ lookup.node.mounted = true;
+ // compatibility update FS.root if we mount to /
+ if (mountpoint === '/') {
+ FS.root = mount.root;
+ }
+ }
+ return root;
+ },lookup:function (parent, name) {
+ return parent.node_ops.lookup(parent, name);
+ },mknod:function (path, mode, dev) {
+ var lookup = FS.lookupPath(path, { parent: true });
+ var parent = lookup.node;
+ var name = PATH.basename(path);
+ var err = FS.mayCreate(parent, name);
+ if (err) {
+ throw new FS.ErrnoError(err);
+ }
+ if (!parent.node_ops.mknod) {
+ throw new FS.ErrnoError(ERRNO_CODES.EPERM);
+ }
+ return parent.node_ops.mknod(parent, name, mode, dev);
+ },create:function (path, mode) {
+ mode = mode !== undefined ? mode : 0o666;
+ mode &= 4095;
+ mode |= 0o100000;
+ return FS.mknod(path, mode, 0);
+ },mkdir:function (path, mode) {
+ mode = mode !== undefined ? mode : 0o777;
+ mode &= 511 | 0o001000;
+ mode |= 0o040000;
+ return FS.mknod(path, mode, 0);
+ },mkdev:function (path, mode, dev) {
+ if (typeof(dev) === 'undefined') {
+ dev = mode;
+ mode = 0o666;
+ }
+ mode |= 0o020000;
+ return FS.mknod(path, mode, dev);
+ },symlink:function (oldpath, newpath) {
+ var lookup = FS.lookupPath(newpath, { parent: true });
+ var parent = lookup.node;
+ var newname = PATH.basename(newpath);
+ var err = FS.mayCreate(parent, newname);
+ if (err) {
+ throw new FS.ErrnoError(err);
+ }
+ if (!parent.node_ops.symlink) {
+ throw new FS.ErrnoError(ERRNO_CODES.EPERM);
+ }
+ return parent.node_ops.symlink(parent, newname, oldpath);
+ },rename:function (old_path, new_path) {
+ var old_dirname = PATH.dirname(old_path);
+ var new_dirname = PATH.dirname(new_path);
+ var old_name = PATH.basename(old_path);
+ var new_name = PATH.basename(new_path);
+ // parents must exist
+ var lookup, old_dir, new_dir;
+ try {
+ lookup = FS.lookupPath(old_path, { parent: true });
+ old_dir = lookup.node;
+ lookup = FS.lookupPath(new_path, { parent: true });
+ new_dir = lookup.node;
+ } catch (e) {
+ throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
+ }
+ // need to be part of the same mount
+ if (old_dir.mount !== new_dir.mount) {
+ throw new FS.ErrnoError(ERRNO_CODES.EXDEV);
+ }
+ // source must exist
+ var old_node = FS.lookupNode(old_dir, old_name);
+ // old path should not be an ancestor of the new path
+ var relative = PATH.relative(old_path, new_dirname);
+ if (relative.charAt(0) !== '.') {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ // new path should not be an ancestor of the old path
+ relative = PATH.relative(new_path, old_dirname);
+ if (relative.charAt(0) !== '.') {
+ throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
+ }
+ // see if the new path already exists
+ var new_node;
+ try {
+ new_node = FS.lookupNode(new_dir, new_name);
+ } catch (e) {
+ // not fatal
+ }
+ // early out if nothing needs to change
+ if (old_node === new_node) {
+ return;
+ }
+ // we'll need to delete the old entry
+ var isdir = FS.isDir(old_node.mode);
+ var err = FS.mayDelete(old_dir, old_name, isdir);
+ if (err) {
+ throw new FS.ErrnoError(err);
+ }
+ // need delete permissions if we'll be overwriting.
+ // need create permissions if new doesn't already exist.
+ err = new_node ?
+ FS.mayDelete(new_dir, new_name, isdir) :
+ FS.mayCreate(new_dir, new_name);
+ if (err) {
+ throw new FS.ErrnoError(err);
+ }
+ if (!old_dir.node_ops.rename) {
+ throw new FS.ErrnoError(ERRNO_CODES.EPERM);
+ }
+ if (FS.isMountpoint(old_node) || (new_node && FS.isMountpoint(new_node))) {
+ throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
+ }
+ // if we are going to change the parent, check write permissions
+ if (new_dir !== old_dir) {
+ err = FS.nodePermissions(old_dir, 'w');
+ if (err) {
+ throw new FS.ErrnoError(err);
+ }
+ }
+ // remove the node from the lookup hash
+ FS.hashRemoveNode(old_node);
+ // do the underlying fs rename
+ try {
+ old_dir.node_ops.rename(old_node, new_dir, new_name);
+ } catch (e) {
+ throw e;
+ } finally {
+ // add the node back to the hash (in case node_ops.rename
+ // changed its name)
+ FS.hashAddNode(old_node);
+ }
+ },rmdir:function (path) {
+ var lookup = FS.lookupPath(path, { parent: true });
+ var parent = lookup.node;
+ var name = PATH.basename(path);
+ var node = FS.lookupNode(parent, name);
+ var err = FS.mayDelete(parent, name, true);
+ if (err) {
+ throw new FS.ErrnoError(err);
+ }
+ if (!parent.node_ops.rmdir) {
+ throw new FS.ErrnoError(ERRNO_CODES.EPERM);
+ }
+ if (FS.isMountpoint(node)) {
+ throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
+ }
+ parent.node_ops.rmdir(parent, name);
+ FS.destroyNode(node);
+ },readdir:function (path) {
+ var lookup = FS.lookupPath(path, { follow: true });
+ var node = lookup.node;
+ if (!node.node_ops.readdir) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
+ }
+ return node.node_ops.readdir(node);
+ },unlink:function (path) {
+ var lookup = FS.lookupPath(path, { parent: true });
+ var parent = lookup.node;
+ var name = PATH.basename(path);
+ var node = FS.lookupNode(parent, name);
+ var err = FS.mayDelete(parent, name, false);
+ if (err) {
+ // POSIX says unlink should set EPERM, not EISDIR
+ if (err === ERRNO_CODES.EISDIR) err = ERRNO_CODES.EPERM;
+ throw new FS.ErrnoError(err);
+ }
+ if (!parent.node_ops.unlink) {
+ throw new FS.ErrnoError(ERRNO_CODES.EPERM);
+ }
+ if (FS.isMountpoint(node)) {
+ throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
+ }
+ parent.node_ops.unlink(parent, name);
+ FS.destroyNode(node);
+ },readlink:function (path) {
+ var lookup = FS.lookupPath(path, { follow: false });
+ var link = lookup.node;
+ if (!link.node_ops.readlink) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ return link.node_ops.readlink(link);
+ },stat:function (path, dontFollow) {
+ var lookup = FS.lookupPath(path, { follow: !dontFollow });
+ var node = lookup.node;
+ if (!node.node_ops.getattr) {
+ throw new FS.ErrnoError(ERRNO_CODES.EPERM);
+ }
+ return node.node_ops.getattr(node);
+ },lstat:function (path) {
+ return FS.stat(path, true);
+ },chmod:function (path, mode, dontFollow) {
+ var node;
+ if (typeof path === 'string') {
+ var lookup = FS.lookupPath(path, { follow: !dontFollow });
+ node = lookup.node;
+ } else {
+ node = path;
+ }
+ if (!node.node_ops.setattr) {
+ throw new FS.ErrnoError(ERRNO_CODES.EPERM);
+ }
+ node.node_ops.setattr(node, {
+ mode: (mode & 4095) | (node.mode & ~4095),
+ timestamp: Date.now()
+ });
+ },lchmod:function (path, mode) {
+ FS.chmod(path, mode, true);
+ },fchmod:function (fd, mode) {
+ var stream = FS.getStream(fd);
+ if (!stream) {
+ throw new FS.ErrnoError(ERRNO_CODES.EBADF);
+ }
+ FS.chmod(stream.node, mode);
+ },chown:function (path, uid, gid, dontFollow) {
+ var node;
+ if (typeof path === 'string') {
+ var lookup = FS.lookupPath(path, { follow: !dontFollow });
+ node = lookup.node;
+ } else {
+ node = path;
+ }
+ if (!node.node_ops.setattr) {
+ throw new FS.ErrnoError(ERRNO_CODES.EPERM);
+ }
+ node.node_ops.setattr(node, {
+ timestamp: Date.now()
+ // we ignore the uid / gid for now
+ });
+ },lchown:function (path, uid, gid) {
+ FS.chown(path, uid, gid, true);
+ },fchown:function (fd, uid, gid) {
+ var stream = FS.getStream(fd);
+ if (!stream) {
+ throw new FS.ErrnoError(ERRNO_CODES.EBADF);
+ }
+ FS.chown(stream.node, uid, gid);
+ },truncate:function (path, len) {
+ if (len < 0) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ var node;
+ if (typeof path === 'string') {
+ var lookup = FS.lookupPath(path, { follow: true });
+ node = lookup.node;
+ } else {
+ node = path;
+ }
+ if (!node.node_ops.setattr) {
+ throw new FS.ErrnoError(ERRNO_CODES.EPERM);
+ }
+ if (FS.isDir(node.mode)) {
+ throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
+ }
+ if (!FS.isFile(node.mode)) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ var err = FS.nodePermissions(node, 'w');
+ if (err) {
+ throw new FS.ErrnoError(err);
+ }
+ node.node_ops.setattr(node, {
+ size: len,
+ timestamp: Date.now()
+ });
+ },ftruncate:function (fd, len) {
+ var stream = FS.getStream(fd);
+ if (!stream) {
+ throw new FS.ErrnoError(ERRNO_CODES.EBADF);
+ }
+ if ((stream.flags & 3) === 0) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ FS.truncate(stream.node, len);
+ },utime:function (path, atime, mtime) {
+ var lookup = FS.lookupPath(path, { follow: true });
+ var node = lookup.node;
+ node.node_ops.setattr(node, {
+ timestamp: Math.max(atime, mtime)
+ });
+ },open:function (path, flags, mode, fd_start, fd_end) {
+ path = PATH.normalize(path);
+ flags = typeof flags === 'string' ? FS.modeStringToFlags(flags) : flags;
+ mode = typeof mode === 'undefined' ? 0o666 : mode;
+ if ((flags & 512)) {
+ mode = (mode & 4095) | 0o100000;
+ } else {
+ mode = 0;
+ }
+ var node;
+ try {
+ var lookup = FS.lookupPath(path, {
+ follow: !(flags & 0o200000)
+ });
+ node = lookup.node;
+ path = lookup.path;
+ } catch (e) {
+ // ignore
+ }
+ // perhaps we need to create the node
+ if ((flags & 512)) {
+ if (node) {
+ // if O_CREAT and O_EXCL are set, error out if the node already exists
+ if ((flags & 2048)) {
+ throw new FS.ErrnoError(ERRNO_CODES.EEXIST);
+ }
+ } else {
+ // node doesn't exist, try to create it
+ node = FS.mknod(path, mode, 0);
+ }
+ }
+ if (!node) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
+ }
+ // can't truncate a device
+ if (FS.isChrdev(node.mode)) {
+ flags &= ~1024;
+ }
+ // check permissions
+ var err = FS.mayOpen(node, flags);
+ if (err) {
+ throw new FS.ErrnoError(err);
+ }
+ // do truncation if necessary
+ if ((flags & 1024)) {
+ FS.truncate(node, 0);
+ }
+ // register the stream with the filesystem
+ var stream = FS.createStream({
+ path: path,
+ node: node,
+ flags: flags,
+ seekable: true,
+ position: 0,
+ stream_ops: node.stream_ops,
+ // used by the file family libc calls (fopen, fwrite, ferror, etc.)
+ ungotten: [],
+ error: false
+ }, fd_start, fd_end);
+ // call the new stream's open function
+ if (stream.stream_ops.open) {
+ stream.stream_ops.open(stream);
+ }
+ return stream;
+ },close:function (stream) {
+ try {
+ if (stream.stream_ops.close) {
+ stream.stream_ops.close(stream);
+ }
+ } catch (e) {
+ throw e;
+ } finally {
+ FS.closeStream(stream.fd);
+ }
+ },llseek:function (stream, offset, whence) {
+ if (!stream.seekable || !stream.stream_ops.llseek) {
+ throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
+ }
+ return stream.stream_ops.llseek(stream, offset, whence);
+ },read:function (stream, buffer, offset, length, position) {
+ if (length < 0 || position < 0) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ if ((stream.flags & 3) === 1) {
+ throw new FS.ErrnoError(ERRNO_CODES.EBADF);
+ }
+ if (FS.isDir(stream.node.mode)) {
+ throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
+ }
+ if (!stream.stream_ops.read) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ var seeking = true;
+ if (typeof position === 'undefined') {
+ position = stream.position;
+ seeking = false;
+ } else if (!stream.seekable) {
+ throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
+ }
+ var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position);
+ if (!seeking) stream.position += bytesRead;
+ return bytesRead;
+ },write:function (stream, buffer, offset, length, position, canOwn) {
+ if (length < 0 || position < 0) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ if ((stream.flags & 3) === 0) {
+ throw new FS.ErrnoError(ERRNO_CODES.EBADF);
+ }
+ if (FS.isDir(stream.node.mode)) {
+ throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
+ }
+ if (!stream.stream_ops.write) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ var seeking = true;
+ if (typeof position === 'undefined') {
+ position = stream.position;
+ seeking = false;
+ } else if (!stream.seekable) {
+ throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
+ }
+ if (stream.flags & 8) {
+ // seek to the end before writing in append mode
+ FS.llseek(stream, 0, 2);
+ }
+ var bytesWritten = stream.stream_ops.write(stream, buffer, offset, length, position, canOwn);
+ if (!seeking) stream.position += bytesWritten;
+ return bytesWritten;
+ },allocate:function (stream, offset, length) {
+ if (offset < 0 || length <= 0) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ if ((stream.flags & 3) === 0) {
+ throw new FS.ErrnoError(ERRNO_CODES.EBADF);
+ }
+ if (!FS.isFile(stream.node.mode) && !FS.isDir(node.mode)) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
+ }
+ if (!stream.stream_ops.allocate) {
+ throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
+ }
+ stream.stream_ops.allocate(stream, offset, length);
+ },mmap:function (stream, buffer, offset, length, position, prot, flags) {
+ // TODO if PROT is PROT_WRITE, make sure we have write access
+ if ((stream.flags & 3) === 1) {
+ throw new FS.ErrnoError(ERRNO_CODES.EACCES);
+ }
+ if (!stream.stream_ops.mmap) {
+ throw new FS.errnoError(ERRNO_CODES.ENODEV);
+ }
+ return stream.stream_ops.mmap(stream, buffer, offset, length, position, prot, flags);
+ },ioctl:function (stream, cmd, arg) {
+ if (!stream.stream_ops.ioctl) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENOTTY);
+ }
+ return stream.stream_ops.ioctl(stream, cmd, arg);
+ },readFile:function (path, opts) {
+ opts = opts || {};
+ opts.flags = opts.flags || 'r';
+ opts.encoding = opts.encoding || 'binary';
+ var ret;
+ var stream = FS.open(path, opts.flags);
+ var stat = FS.stat(path);
+ var length = stat.size;
+ var buf = new Uint8Array(length);
+ FS.read(stream, buf, 0, length, 0);
+ if (opts.encoding === 'utf8') {
+ ret = '';
+ var utf8 = new Runtime.UTF8Processor();
+ for (var i = 0; i < length; i++) {
+ ret += utf8.processCChar(buf[i]);
+ }
+ } else if (opts.encoding === 'binary') {
+ ret = buf;
+ } else {
+ throw new Error('Invalid encoding type "' + opts.encoding + '"');
+ }
+ FS.close(stream);
+ return ret;
+ },writeFile:function (path, data, opts) {
+ opts = opts || {};
+ opts.flags = opts.flags || 'w';
+ opts.encoding = opts.encoding || 'utf8';
+ var stream = FS.open(path, opts.flags, opts.mode);
+ if (opts.encoding === 'utf8') {
+ var utf8 = new Runtime.UTF8Processor();
+ var buf = new Uint8Array(utf8.processJSString(data));
+ FS.write(stream, buf, 0, buf.length, 0);
+ } else if (opts.encoding === 'binary') {
+ FS.write(stream, data, 0, data.length, 0);
+ } else {
+ throw new Error('Invalid encoding type "' + opts.encoding + '"');
+ }
+ FS.close(stream);
+ },createDefaultDirectories:function () {
+ FS.mkdir('/tmp');
+ },createDefaultDevices:function () {
+ // create /dev
+ FS.mkdir('/dev');
+ // setup /dev/null
+ FS.registerDevice(FS.makedev(1, 3), {
+ read: function() { return 0; },
+ write: function() { return 0; }
+ });
+ FS.mkdev('/dev/null', FS.makedev(1, 3));
+ // setup /dev/tty and /dev/tty1
+ // stderr needs to print output using Module['printErr']
+ // so we register a second tty just for it.
+ TTY.register(FS.makedev(5, 0), TTY.default_tty_ops);
+ TTY.register(FS.makedev(6, 0), TTY.default_tty1_ops);
+ FS.mkdev('/dev/tty', FS.makedev(5, 0));
+ FS.mkdev('/dev/tty1', FS.makedev(6, 0));
+ // we're not going to emulate the actual shm device,
+ // just create the tmp dirs that reside in it commonly
+ FS.mkdir('/dev/shm');
+ FS.mkdir('/dev/shm/tmp');
+ },createStandardStreams:function () {
+ // TODO deprecate the old functionality of a single
+ // input / output callback and that utilizes FS.createDevice
+ // and instead require a unique set of stream ops
+ // by default, we symlink the standard streams to the
+ // default tty devices. however, if the standard streams
+ // have been overwritten we create a unique device for
+ // them instead.
+ if (Module['stdin']) {
+ FS.createDevice('/dev', 'stdin', Module['stdin']);
+ } else {
+ FS.symlink('/dev/tty', '/dev/stdin');
+ }
+ if (Module['stdout']) {
+ FS.createDevice('/dev', 'stdout', null, Module['stdout']);
+ } else {
+ FS.symlink('/dev/tty', '/dev/stdout');
+ }
+ if (Module['stderr']) {
+ FS.createDevice('/dev', 'stderr', null, Module['stderr']);
+ } else {
+ FS.symlink('/dev/tty1', '/dev/stderr');
+ }
+ // open default streams for the stdin, stdout and stderr devices
+ var stdin = FS.open('/dev/stdin', 'r');
+ HEAP32[((_stdin)>>2)]=stdin.fd;
+ assert(stdin.fd === 1, 'invalid handle for stdin (' + stdin.fd + ')');
+ var stdout = FS.open('/dev/stdout', 'w');
+ HEAP32[((_stdout)>>2)]=stdout.fd;
+ assert(stdout.fd === 2, 'invalid handle for stdout (' + stdout.fd + ')');
+ var stderr = FS.open('/dev/stderr', 'w');
+ HEAP32[((_stderr)>>2)]=stderr.fd;
+ assert(stderr.fd === 3, 'invalid handle for stderr (' + stderr.fd + ')');
+ },staticInit:function () {
+ FS.nameTable = new Array(4096);
+ FS.root = FS.createNode(null, '/', 0o040000 | 0o777, 0);
+ FS.mount(MEMFS, {}, '/');
+ FS.createDefaultDirectories();
+ FS.createDefaultDevices();
+ },init:function (input, output, error) {
+ assert(!FS.init.initialized, 'FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)');
+ FS.init.initialized = true;
+ // Allow Module.stdin etc. to provide defaults, if none explicitly passed to us here
+ Module['stdin'] = input || Module['stdin'];
+ Module['stdout'] = output || Module['stdout'];
+ Module['stderr'] = error || Module['stderr'];
+ FS.createStandardStreams();
+ },quit:function () {
+ FS.init.initialized = false;
+ for (var i = 0; i < FS.streams.length; i++) {
+ var stream = FS.streams[i];
+ if (!stream) {
+ continue;
+ }
+ FS.close(stream);
+ }
+ },getMode:function (canRead, canWrite) {
+ var mode = 0;
+ if (canRead) mode |= 292 | 73;
+ if (canWrite) mode |= 146;
+ return mode;
+ },joinPath:function (parts, forceRelative) {
+ var path = PATH.join.apply(null, parts);
+ if (forceRelative && path[0] == '/') path = path.substr(1);
+ return path;
+ },absolutePath:function (relative, base) {
+ return PATH.resolve(base, relative);
+ },standardizePath:function (path) {
+ return PATH.normalize(path);
+ },findObject:function (path, dontResolveLastLink) {
+ var ret = FS.analyzePath(path, dontResolveLastLink);
+ if (ret.exists) {
+ return ret.object;
+ } else {
+ ___setErrNo(ret.error);
+ return null;
+ }
+ },analyzePath:function (path, dontResolveLastLink) {
+ // operate from within the context of the symlink's target
+ try {
+ var lookup = FS.lookupPath(path, { follow: !dontResolveLastLink });
+ path = lookup.path;
+ } catch (e) {
+ }
+ var ret = {
+ isRoot: false, exists: false, error: 0, name: null, path: null, object: null,
+ parentExists: false, parentPath: null, parentObject: null
+ };
+ try {
+ var lookup = FS.lookupPath(path, { parent: true });
+ ret.parentExists = true;
+ ret.parentPath = lookup.path;
+ ret.parentObject = lookup.node;
+ ret.name = PATH.basename(path);
+ lookup = FS.lookupPath(path, { follow: !dontResolveLastLink });
+ ret.exists = true;
+ ret.path = lookup.path;
+ ret.object = lookup.node;
+ ret.name = lookup.node.name;
+ ret.isRoot = lookup.path === '/';
+ } catch (e) {
+ ret.error = e.errno;
+ };
+ return ret;
+ },createFolder:function (parent, name, canRead, canWrite) {
+ var path = PATH.join(typeof parent === 'string' ? parent : FS.getPath(parent), name);
+ var mode = FS.getMode(canRead, canWrite);
+ return FS.mkdir(path, mode);
+ },createPath:function (parent, path, canRead, canWrite) {
+ parent = typeof parent === 'string' ? parent : FS.getPath(parent);
+ var parts = path.split('/').reverse();
+ while (parts.length) {
+ var part = parts.pop();
+ if (!part) continue;
+ var current = PATH.join(parent, part);
+ try {
+ FS.mkdir(current);
+ } catch (e) {
+ // ignore EEXIST
+ }
+ parent = current;
+ }
+ return current;
+ },createFile:function (parent, name, properties, canRead, canWrite) {
+ var path = PATH.join(typeof parent === 'string' ? parent : FS.getPath(parent), name);
+ var mode = FS.getMode(canRead, canWrite);
+ return FS.create(path, mode);
+ },createDataFile:function (parent, name, data, canRead, canWrite, canOwn) {
+ var path = name ? PATH.join(typeof parent === 'string' ? parent : FS.getPath(parent), name) : parent;
+ var mode = FS.getMode(canRead, canWrite);
+ var node = FS.create(path, mode);
+ if (data) {
+ if (typeof data === 'string') {
+ var arr = new Array(data.length);
+ for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i);
+ data = arr;
+ }
+ // make sure we can write to the file
+ FS.chmod(path, mode | 146);
+ var stream = FS.open(path, 'w');
+ FS.write(stream, data, 0, data.length, 0, canOwn);
+ FS.close(stream);
+ FS.chmod(path, mode);
+ }
+ return node;
+ },createDevice:function (parent, name, input, output) {
+ var path = PATH.join(typeof parent === 'string' ? parent : FS.getPath(parent), name);
+ var mode = FS.getMode(!!input, !!output);
+ if (!FS.createDevice.major) FS.createDevice.major = 64;
+ var dev = FS.makedev(FS.createDevice.major++, 0);
+ // Create a fake device that a set of stream ops to emulate
+ // the old behavior.
+ FS.registerDevice(dev, {
+ open: function(stream) {
+ stream.seekable = false;
+ },
+ close: function(stream) {
+ // flush any pending line data
+ if (output && output.buffer && output.buffer.length) {
+ output(10);
+ }
+ },
+ read: function(stream, buffer, offset, length, pos /* ignored */) {
+ var bytesRead = 0;
+ for (var i = 0; i < length; i++) {
+ var result;
+ try {
+ result = input();
+ } catch (e) {
+ throw new FS.ErrnoError(ERRNO_CODES.EIO);
+ }
+ if (result === undefined && bytesRead === 0) {
+ throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
+ }
+ if (result === null || result === undefined) break;
+ bytesRead++;
+ buffer[offset+i] = result;
+ }
+ if (bytesRead) {
+ stream.node.timestamp = Date.now();
+ }
+ return bytesRead;
+ },
+ write: function(stream, buffer, offset, length, pos) {
+ for (var i = 0; i < length; i++) {
+ try {
+ output(buffer[offset+i]);
+ } catch (e) {
+ throw new FS.ErrnoError(ERRNO_CODES.EIO);
+ }
+ }
+ if (length) {
+ stream.node.timestamp = Date.now();
+ }
+ return i;
+ }
+ });
+ return FS.mkdev(path, mode, dev);
+ },createLink:function (parent, name, target, canRead, canWrite) {
+ var path = PATH.join(typeof parent === 'string' ? parent : FS.getPath(parent), name);
+ return FS.symlink(target, path);
+ },forceLoadFile:function (obj) {
+ if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true;
+ var success = true;
+ if (typeof XMLHttpRequest !== 'undefined') {
+ throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");
+ } else if (Module['read']) {
+ // Command-line.
+ try {
+ // WARNING: Can't read binary files in V8's d8 or tracemonkey's js, as
+ // read() will try to parse UTF8.
+ obj.contents = intArrayFromString(Module['read'](obj.url), true);
+ } catch (e) {
+ success = false;
+ }
+ } else {
+ throw new Error('Cannot load without read() or XMLHttpRequest.');
+ }
+ if (!success) ___setErrNo(ERRNO_CODES.EIO);
+ return success;
+ },createLazyFile:function (parent, name, url, canRead, canWrite) {
+ if (typeof XMLHttpRequest !== 'undefined') {
+ if (!ENVIRONMENT_IS_WORKER) throw 'Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc';
+ // Lazy chunked Uint8Array (implements get and length from Uint8Array). Actual getting is abstracted away for eventual reuse.
+ var LazyUint8Array = function() {
+ this.lengthKnown = false;
+ this.chunks = []; // Loaded chunks. Index is the chunk number
+ }
+ LazyUint8Array.prototype.get = function(idx) {
+ if (idx > this.length-1 || idx < 0) {
+ return undefined;
+ }
+ var chunkOffset = idx % this.chunkSize;
+ var chunkNum = Math.floor(idx / this.chunkSize);
+ return this.getter(chunkNum)[chunkOffset];
+ }
+ LazyUint8Array.prototype.setDataGetter = function(getter) {
+ this.getter = getter;
+ }
+ LazyUint8Array.prototype.cacheLength = function() {
+ // Find length
+ var xhr = new XMLHttpRequest();
+ xhr.open('HEAD', url, false);
+ xhr.send(null);
+ if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
+ var datalength = Number(xhr.getResponseHeader("Content-length"));
+ var header;
+ var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes";
+ var chunkSize = 1024*1024; // Chunk size in bytes
+ if (!hasByteServing) chunkSize = datalength;
+ // Function to get a range from the remote URL.
+ var doXHR = (function(from, to) {
+ if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
+ if (to > datalength-1) throw new Error("only " + datalength + " bytes available! programmer error!");
+ // TODO: Use mozResponseArrayBuffer, responseStream, etc. if available.
+ var xhr = new XMLHttpRequest();
+ xhr.open('GET', url, false);
+ if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to);
+ // Some hints to the browser that we want binary data.
+ if (typeof Uint8Array != 'undefined') xhr.responseType = 'arraybuffer';
+ if (xhr.overrideMimeType) {
+ xhr.overrideMimeType('text/plain; charset=x-user-defined');
+ }
+ xhr.send(null);
+ if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
+ if (xhr.response !== undefined) {
+ return new Uint8Array(xhr.response || []);
+ } else {
+ return intArrayFromString(xhr.responseText || '', true);
+ }
+ });
+ var lazyArray = this;
+ lazyArray.setDataGetter(function(chunkNum) {
+ var start = chunkNum * chunkSize;
+ var end = (chunkNum+1) * chunkSize - 1; // including this byte
+ end = Math.min(end, datalength-1); // if datalength-1 is selected, this is the last block
+ if (typeof(lazyArray.chunks[chunkNum]) === "undefined") {
+ lazyArray.chunks[chunkNum] = doXHR(start, end);
+ }
+ if (typeof(lazyArray.chunks[chunkNum]) === "undefined") throw new Error("doXHR failed!");
+ return lazyArray.chunks[chunkNum];
+ });
+ this._length = datalength;
+ this._chunkSize = chunkSize;
+ this.lengthKnown = true;
+ }
+ var lazyArray = new LazyUint8Array();
+ Object.defineProperty(lazyArray, "length", {
+ get: function() {
+ if(!this.lengthKnown) {
+ this.cacheLength();
+ }
+ return this._length;
+ }
+ });
+ Object.defineProperty(lazyArray, "chunkSize", {
+ get: function() {
+ if(!this.lengthKnown) {
+ this.cacheLength();
+ }
+ return this._chunkSize;
+ }
+ });
+ var properties = { isDevice: false, contents: lazyArray };
+ } else {
+ var properties = { isDevice: false, url: url };
+ }
+ var node = FS.createFile(parent, name, properties, canRead, canWrite);
+ // This is a total hack, but I want to get this lazy file code out of the
+ // core of MEMFS. If we want to keep this lazy file concept I feel it should
+ // be its own thin LAZYFS proxying calls to MEMFS.
+ if (properties.contents) {
+ node.contents = properties.contents;
+ } else if (properties.url) {
+ node.contents = null;
+ node.url = properties.url;
+ }
+ // override each stream op with one that tries to force load the lazy file first
+ var stream_ops = {};
+ var keys = Object.keys(node.stream_ops);
+ keys.forEach(function(key) {
+ var fn = node.stream_ops[key];
+ stream_ops[key] = function() {
+ if (!FS.forceLoadFile(node)) {
+ throw new FS.ErrnoError(ERRNO_CODES.EIO);
+ }
+ return fn.apply(null, arguments);
+ };
+ });
+ // use a custom read function
+ stream_ops.read = function(stream, buffer, offset, length, position) {
+ if (!FS.forceLoadFile(node)) {
+ throw new FS.ErrnoError(ERRNO_CODES.EIO);
+ }
+ var contents = stream.node.contents;
+ var size = Math.min(contents.length - position, length);
+ if (contents.slice) { // normal array
+ for (var i = 0; i < size; i++) {
+ buffer[offset + i] = contents[position + i];
+ }
+ } else {
+ for (var i = 0; i < size; i++) { // LazyUint8Array from sync binary XHR
+ buffer[offset + i] = contents.get(position + i);
+ }
+ }
+ return size;
+ };
+ node.stream_ops = stream_ops;
+ return node;
+ },createPreloadedFile:function (parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn) {
+ Browser.init();
+ // TODO we should allow people to just pass in a complete filename instead
+ // of parent and name being that we just join them anyways
+ var fullname = name ? PATH.resolve(PATH.join(parent, name)) : parent;
+ function processData(byteArray) {
+ function finish(byteArray) {
+ if (!dontCreateFile) {
+ FS.createDataFile(parent, name, byteArray, canRead, canWrite, canOwn);
+ }
+ if (onload) onload();
+ removeRunDependency('cp ' + fullname);
+ }
+ var handled = false;
+ Module['preloadPlugins'].forEach(function(plugin) {
+ if (handled) return;
+ if (plugin['canHandle'](fullname)) {
+ plugin['handle'](byteArray, fullname, finish, function() {
+ if (onerror) onerror();
+ removeRunDependency('cp ' + fullname);
+ });
+ handled = true;
+ }
+ });
+ if (!handled) finish(byteArray);
+ }
+ addRunDependency('cp ' + fullname);
+ if (typeof url == 'string') {
+ Browser.asyncLoad(url, function(byteArray) {
+ processData(byteArray);
+ }, onerror);
+ } else {
+ processData(url);
+ }
+ },indexedDB:function () {
+ return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
+ },DB_NAME:function () {
+ return 'EM_FS_' + window.location.pathname;
+ },DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function (paths, onload, onerror) {
+ onload = onload || function(){};
+ onerror = onerror || function(){};
+ var indexedDB = FS.indexedDB();
+ try {
+ var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
+ } catch (e) {
+ return onerror(e);
+ }
+ openRequest.onupgradeneeded = function() {
+ console.log('creating db');
+ var db = openRequest.result;
+ db.createObjectStore(FS.DB_STORE_NAME);
+ };
+ openRequest.onsuccess = function() {
+ var db = openRequest.result;
+ var transaction = db.transaction([FS.DB_STORE_NAME], 'readwrite');
+ var files = transaction.objectStore(FS.DB_STORE_NAME);
+ var ok = 0, fail = 0, total = paths.length;
+ function finish() {
+ if (fail == 0) onload(); else onerror();
+ }
+ paths.forEach(function(path) {
+ var putRequest = files.put(FS.analyzePath(path).object.contents, path);
+ putRequest.onsuccess = function() { ok++; if (ok + fail == total) finish() };
+ putRequest.onerror = function() { fail++; if (ok + fail == total) finish() };
+ });
+ transaction.onerror = onerror;
+ };
+ openRequest.onerror = onerror;
+ },loadFilesFromDB:function (paths, onload, onerror) {
+ onload = onload || function(){};
+ onerror = onerror || function(){};
+ var indexedDB = FS.indexedDB();
+ try {
+ var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
+ } catch (e) {
+ return onerror(e);
+ }
+ openRequest.onupgradeneeded = onerror; // no database to load from
+ openRequest.onsuccess = function() {
+ var db = openRequest.result;
+ try {
+ var transaction = db.transaction([FS.DB_STORE_NAME], 'readonly');
+ } catch(e) {
+ onerror(e);
+ return;
+ }
+ var files = transaction.objectStore(FS.DB_STORE_NAME);
+ var ok = 0, fail = 0, total = paths.length;
+ function finish() {
+ if (fail == 0) onload(); else onerror();
+ }
+ paths.forEach(function(path) {
+ var getRequest = files.get(path);
+ getRequest.onsuccess = function() {
+ if (FS.analyzePath(path).exists) {
+ FS.unlink(path);
+ }
+ FS.createDataFile(PATH.dirname(path), PATH.basename(path), getRequest.result, true, true, true);
+ ok++;
+ if (ok + fail == total) finish();
+ };
+ getRequest.onerror = function() { fail++; if (ok + fail == total) finish() };
+ });
+ transaction.onerror = onerror;
+ };
+ openRequest.onerror = onerror;
+ }};
+ var SOCKFS={mount:function (mount) {
+ return FS.createNode(null, '/', 0o040000 | 0o777, 0);
+ },nextname:function () {
+ if (!SOCKFS.nextname.current) {
+ SOCKFS.nextname.current = 0;
+ }
+ return 'socket[' + (SOCKFS.nextname.current++) + ']';
+ },createSocket:function (family, type, protocol) {
+ var streaming = type == 1;
+ if (protocol) {
+ assert(streaming == (protocol == 6)); // if SOCK_STREAM, must be tcp
+ }
+ // create our internal socket structure
+ var sock = {
+ family: family,
+ type: type,
+ protocol: protocol,
+ server: null,
+ peers: {},
+ pending: [],
+ recv_queue: [],
+ sock_ops: SOCKFS.websocket_sock_ops
+ };
+ // create the filesystem node to store the socket structure
+ var name = SOCKFS.nextname();
+ var node = FS.createNode(SOCKFS.root, name, 0o140000, 0);
+ node.sock = sock;
+ // and the wrapping stream that enables library functions such
+ // as read and write to indirectly interact with the socket
+ var stream = FS.createStream({
+ path: name,
+ node: node,
+ flags: FS.modeStringToFlags('r+'),
+ seekable: false,
+ stream_ops: SOCKFS.stream_ops
+ });
+ // map the new stream to the socket structure (sockets have a 1:1
+ // relationship with a stream)
+ sock.stream = stream;
+ return sock;
+ },getSocket:function (fd) {
+ var stream = FS.getStream(fd);
+ if (!stream || !FS.isSocket(stream.node.mode)) {
+ return null;
+ }
+ return stream.node.sock;
+ },stream_ops:{poll:function (stream) {
+ var sock = stream.node.sock;
+ return sock.sock_ops.poll(sock);
+ },ioctl:function (stream, request, varargs) {
+ var sock = stream.node.sock;
+ return sock.sock_ops.ioctl(sock, request, varargs);
+ },read:function (stream, buffer, offset, length, position /* ignored */) {
+ var sock = stream.node.sock;
+ var msg = sock.sock_ops.recvmsg(sock, length);
+ if (!msg) {
+ // socket is closed
+ return 0;
+ }
+ buffer.set(msg.buffer, offset);
+ return msg.buffer.length;
+ },write:function (stream, buffer, offset, length, position /* ignored */) {
+ var sock = stream.node.sock;
+ return sock.sock_ops.sendmsg(sock, buffer, offset, length);
+ },close:function (stream) {
+ var sock = stream.node.sock;
+ sock.sock_ops.close(sock);
+ }},websocket_sock_ops:{createPeer:function (sock, addr, port) {
+ var ws;
+ if (typeof addr === 'object') {
+ ws = addr;
+ addr = null;
+ port = null;
+ }
+ if (ws) {
+ // for sockets that've already connected (e.g. we're the server)
+ // we can inspect the _socket property for the address
+ if (ws._socket) {
+ addr = ws._socket.remoteAddress;
+ port = ws._socket.remotePort;
+ }
+ // if we're just now initializing a connection to the remote,
+ // inspect the url property
+ else {
+ var result = /ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);
+ if (!result) {
+ throw new Error('WebSocket URL must be in the format ws(s)://address:port');
+ }
+ addr = result[1];
+ port = parseInt(result[2], 10);
+ }
+ } else {
+ // create the actual websocket object and connect
+ try {
+ var url = 'ws://' + addr + ':' + port;
+ // the node ws library API is slightly different than the browser's
+ var opts = ENVIRONMENT_IS_NODE ? {} : ['binary'];
+ ws = new WebSocket(url, opts);
+ ws.binaryType = 'arraybuffer';
+ } catch (e) {
+ throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH);
+ }
+ }
+ var peer = {
+ addr: addr,
+ port: port,
+ socket: ws,
+ dgram_send_queue: []
+ };
+ SOCKFS.websocket_sock_ops.addPeer(sock, peer);
+ SOCKFS.websocket_sock_ops.handlePeerEvents(sock, peer);
+ // if this is a bound dgram socket, send the port number first to allow
+ // us to override the ephemeral port reported to us by remotePort on the
+ // remote end.
+ if (sock.type === 2 && typeof sock.sport !== 'undefined') {
+ peer.dgram_send_queue.push(new Uint8Array([
+ 255, 255, 255, 255,
+ 'p'.charCodeAt(0), 'o'.charCodeAt(0), 'r'.charCodeAt(0), 't'.charCodeAt(0),
+ ((sock.sport & 0xff00) >> 8) , (sock.sport & 0xff)
+ ]));
+ }
+ return peer;
+ },getPeer:function (sock, addr, port) {
+ return sock.peers[addr + ':' + port];
+ },addPeer:function (sock, peer) {
+ sock.peers[peer.addr + ':' + peer.port] = peer;
+ },removePeer:function (sock, peer) {
+ delete sock.peers[peer.addr + ':' + peer.port];
+ },handlePeerEvents:function (sock, peer) {
+ var first = true;
+ var handleOpen = function () {
+ try {
+ var queued = peer.dgram_send_queue.shift();
+ while (queued) {
+ peer.socket.send(queued);
+ queued = peer.dgram_send_queue.shift();
+ }
+ } catch (e) {
+ // not much we can do here in the way of proper error handling as we've already
+ // lied and said this data was sent. shut it down.
+ peer.socket.close();
+ }
+ };
+ var handleMessage = function(data) {
+ assert(typeof data !== 'string' && data.byteLength !== undefined); // must receive an ArrayBuffer
+ data = new Uint8Array(data); // make a typed array view on the array buffer
+ // if this is the port message, override the peer's port with it
+ var wasfirst = first;
+ first = false;
+ if (wasfirst &&
+ data.length === 10 &&
+ data[0] === 255 && data[1] === 255 && data[2] === 255 && data[3] === 255 &&
+ data[4] === 'p'.charCodeAt(0) && data[5] === 'o'.charCodeAt(0) && data[6] === 'r'.charCodeAt(0) && data[7] === 't'.charCodeAt(0)) {
+ // update the peer's port and it's key in the peer map
+ var newport = ((data[8] << 8) | data[9]);
+ SOCKFS.websocket_sock_ops.removePeer(sock, peer);
+ peer.port = newport;
+ SOCKFS.websocket_sock_ops.addPeer(sock, peer);
+ return;
+ }
+ sock.recv_queue.push({ addr: peer.addr, port: peer.port, data: data });
+ };
+ if (ENVIRONMENT_IS_NODE) {
+ peer.socket.on('open', handleOpen);
+ peer.socket.on('message', function(data, flags) {
+ if (!flags.binary) {
+ return;
+ }
+ handleMessage((new Uint8Array(data)).buffer); // copy from node Buffer -> ArrayBuffer
+ });
+ peer.socket.on('error', function() {
+ // don't throw
+ });
+ } else {
+ peer.socket.onopen = handleOpen;
+ peer.socket.onmessage = function(event) {
+ handleMessage(event.data);
+ };
+ }
+ },poll:function (sock) {
+ if (sock.type === 1 && sock.server) {
+ // listen sockets should only say they're available for reading
+ // if there are pending clients.
+ return sock.pending.length ? (0 /* XXX missing C define POLLRDNORM */ | 1) : 0;
+ }
+ var mask = 0;
+ var dest = sock.type === 1 ? // we only care about the socket state for connection-based sockets
+ SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport) :
+ null;
+ if (sock.recv_queue.length ||
+ !dest || // connection-less sockets are always ready to read
+ (dest && dest.socket.readyState === dest.socket.CLOSING) ||
+ (dest && dest.socket.readyState === dest.socket.CLOSED)) { // let recv return 0 once closed
+ mask |= (0 /* XXX missing C define POLLRDNORM */ | 1);
+ }
+ if (!dest || // connection-less sockets are always ready to write
+ (dest && dest.socket.readyState === dest.socket.OPEN)) {
+ mask |= 2;
+ }
+ if ((dest && dest.socket.readyState === dest.socket.CLOSING) ||
+ (dest && dest.socket.readyState === dest.socket.CLOSED)) {
+ mask |= 16;
+ }
+ return mask;
+ },ioctl:function (sock, request, arg) {
+ switch (request) {
+ case 1:
+ var bytes = 0;
+ if (sock.recv_queue.length) {
+ bytes = sock.recv_queue[0].data.length;
+ }
+ HEAP32[((arg)>>2)]=bytes;
+ return 0;
+ default:
+ return ERRNO_CODES.EINVAL;
+ }
+ },close:function (sock) {
+ // if we've spawned a listen server, close it
+ if (sock.server) {
+ try {
+ sock.server.close();
+ } catch (e) {
+ }
+ sock.server = null;
+ }
+ // close any peer connections
+ var peers = Object.keys(sock.peers);
+ for (var i = 0; i < peers.length; i++) {
+ var peer = sock.peers[peers[i]];
+ try {
+ peer.socket.close();
+ } catch (e) {
+ }
+ SOCKFS.websocket_sock_ops.removePeer(sock, peer);
+ }
+ return 0;
+ },bind:function (sock, addr, port) {
+ if (typeof sock.saddr !== 'undefined' || typeof sock.sport !== 'undefined') {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL); // already bound
+ }
+ sock.saddr = addr;
+ sock.sport = port || _mkport();
+ // in order to emulate dgram sockets, we need to launch a listen server when
+ // binding on a connection-less socket
+ // note: this is only required on the server side
+ if (sock.type === 2) {
+ // close the existing server if it exists
+ if (sock.server) {
+ sock.server.close();
+ sock.server = null;
+ }
+ // swallow error operation not supported error that occurs when binding in the
+ // browser where this isn't supported
+ try {
+ sock.sock_ops.listen(sock, 0);
+ } catch (e) {
+ if (!(e instanceof FS.ErrnoError)) throw e;
+ if (e.errno !== ERRNO_CODES.EOPNOTSUPP) throw e;
+ }
+ }
+ },connect:function (sock, addr, port) {
+ if (sock.server) {
+ throw new FS.ErrnoError(ERRNO_CODS.EOPNOTSUPP);
+ }
+ // TODO autobind
+ // if (!sock.addr && sock.type == 2) {
+ // }
+ // early out if we're already connected / in the middle of connecting
+ if (typeof sock.daddr !== 'undefined' && typeof sock.dport !== 'undefined') {
+ var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
+ if (dest) {
+ if (dest.socket.readyState === dest.socket.CONNECTING) {
+ throw new FS.ErrnoError(ERRNO_CODES.EALREADY);
+ } else {
+ throw new FS.ErrnoError(ERRNO_CODES.EISCONN);
+ }
+ }
+ }
+ // add the socket to our peer list and set our
+ // destination address / port to match
+ var peer = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
+ sock.daddr = peer.addr;
+ sock.dport = peer.port;
+ // always "fail" in non-blocking mode
+ throw new FS.ErrnoError(ERRNO_CODES.EINPROGRESS);
+ },listen:function (sock, backlog) {
+ if (!ENVIRONMENT_IS_NODE) {
+ throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
+ }
+ if (sock.server) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL); // already listening
+ }
+ var WebSocketServer = require('ws').Server;
+ var host = sock.saddr;
+ sock.server = new WebSocketServer({
+ host: host,
+ port: sock.sport
+ // TODO support backlog
+ });
+ sock.server.on('connection', function(ws) {
+ if (sock.type === 1) {
+ var newsock = SOCKFS.createSocket(sock.family, sock.type, sock.protocol);
+ // create a peer on the new socket
+ var peer = SOCKFS.websocket_sock_ops.createPeer(newsock, ws);
+ newsock.daddr = peer.addr;
+ newsock.dport = peer.port;
+ // push to queue for accept to pick up
+ sock.pending.push(newsock);
+ } else {
+ // create a peer on the listen socket so calling sendto
+ // with the listen socket and an address will resolve
+ // to the correct client
+ SOCKFS.websocket_sock_ops.createPeer(sock, ws);
+ }
+ });
+ sock.server.on('closed', function() {
+ sock.server = null;
+ });
+ sock.server.on('error', function() {
+ // don't throw
+ });
+ },accept:function (listensock) {
+ if (!listensock.server) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ var newsock = listensock.pending.shift();
+ newsock.stream.flags = listensock.stream.flags;
+ return newsock;
+ },getname:function (sock, peer) {
+ var addr, port;
+ if (peer) {
+ if (sock.daddr === undefined || sock.dport === undefined) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
+ }
+ addr = sock.daddr;
+ port = sock.dport;
+ } else {
+ // TODO saddr and sport will be set for bind()'d UDP sockets, but what
+ // should we be returning for TCP sockets that've been connect()'d?
+ addr = sock.saddr || 0;
+ port = sock.sport || 0;
+ }
+ return { addr: addr, port: port };
+ },sendmsg:function (sock, buffer, offset, length, addr, port) {
+ if (sock.type === 2) {
+ // connection-less sockets will honor the message address,
+ // and otherwise fall back to the bound destination address
+ if (addr === undefined || port === undefined) {
+ addr = sock.daddr;
+ port = sock.dport;
+ }
+ // if there was no address to fall back to, error out
+ if (addr === undefined || port === undefined) {
+ throw new FS.ErrnoError(ERRNO_CODES.EDESTADDRREQ);
+ }
+ } else {
+ // connection-based sockets will only use the bound
+ addr = sock.daddr;
+ port = sock.dport;
+ }
+ // find the peer for the destination address
+ var dest = SOCKFS.websocket_sock_ops.getPeer(sock, addr, port);
+ // early out if not connected with a connection-based socket
+ if (sock.type === 1) {
+ if (!dest || dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
+ throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
+ } else if (dest.socket.readyState === dest.socket.CONNECTING) {
+ throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
+ }
+ }
+ // create a copy of the incoming data to send, as the WebSocket API
+ // doesn't work entirely with an ArrayBufferView, it'll just send
+ // the entire underlying buffer
+ var data;
+ if (buffer instanceof Array || buffer instanceof ArrayBuffer) {
+ data = buffer.slice(offset, offset + length);
+ } else { // ArrayBufferView
+ data = buffer.buffer.slice(buffer.byteOffset + offset, buffer.byteOffset + offset + length);
+ }
+ // if we're emulating a connection-less dgram socket and don't have
+ // a cached connection, queue the buffer to send upon connect and
+ // lie, saying the data was sent now.
+ if (sock.type === 2) {
+ if (!dest || dest.socket.readyState !== dest.socket.OPEN) {
+ // if we're not connected, open a new connection
+ if (!dest || dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
+ dest = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
+ }
+ dest.dgram_send_queue.push(data);
+ return length;
+ }
+ }
+ try {
+ // send the actual data
+ dest.socket.send(data);
+ return length;
+ } catch (e) {
+ throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
+ }
+ },recvmsg:function (sock, length) {
+ // http://pubs.opengroup.org/onlinepubs/7908799/xns/recvmsg.html
+ if (sock.type === 1 && sock.server) {
+ // tcp servers should not be recv()'ing on the listen socket
+ throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
+ }
+ var queued = sock.recv_queue.shift();
+ if (!queued) {
+ if (sock.type === 1) {
+ var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
+ if (!dest) {
+ // if we have a destination address but are not connected, error out
+ throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
+ }
+ else if (dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
+ // return null if the socket has closed
+ return null;
+ }
+ else {
+ // else, our socket is in a valid state but truly has nothing available
+ throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
+ }
+ } else {
+ throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
+ }
+ }
+ // queued.data will be an ArrayBuffer if it's unadulterated, but if it's
+ // requeued TCP data it'll be an ArrayBufferView
+ var queuedLength = queued.data.byteLength || queued.data.length;
+ var queuedOffset = queued.data.byteOffset || 0;
+ var queuedBuffer = queued.data.buffer || queued.data;
+ var bytesRead = Math.min(length, queuedLength);
+ var res = {
+ buffer: new Uint8Array(queuedBuffer, queuedOffset, bytesRead),
+ addr: queued.addr,
+ port: queued.port
+ };
+ // push back any unread data for TCP connections
+ if (sock.type === 1 && bytesRead < queuedLength) {
+ var bytesRemaining = queuedLength - bytesRead;
+ queued.data = new Uint8Array(queuedBuffer, queuedOffset + bytesRead, bytesRemaining);
+ sock.recv_queue.unshift(queued);
+ }
+ return res;
+ }}};function _send(fd, buf, len, flags) {
+ var sock = SOCKFS.getSocket(fd);
+ if (!sock) {
+ ___setErrNo(ERRNO_CODES.EBADF);
+ return -1;
+ }
+ // TODO honor flags
+ return _write(fd, buf, len);
+ }
+ function _pwrite(fildes, buf, nbyte, offset) {
+ // ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset);
+ // http://pubs.opengroup.org/onlinepubs/000095399/functions/write.html
+ var stream = FS.getStream(fildes);
+ if (!stream) {
+ ___setErrNo(ERRNO_CODES.EBADF);
+ return -1;
+ }
+ try {
+ var slab = HEAP8;
+ return FS.write(stream, slab, buf, nbyte, offset);
+ } catch (e) {
+ FS.handleFSError(e);
+ return -1;
+ }
+ }function _write(fildes, buf, nbyte) {
+ // ssize_t write(int fildes, const void *buf, size_t nbyte);
+ // http://pubs.opengroup.org/onlinepubs/000095399/functions/write.html
+ var stream = FS.getStream(fildes);
+ if (!stream) {
+ ___setErrNo(ERRNO_CODES.EBADF);
+ return -1;
+ }
+ try {
+ var slab = HEAP8;
+ return FS.write(stream, slab, buf, nbyte);
+ } catch (e) {
+ FS.handleFSError(e);
+ return -1;
+ }
+ }function _fwrite(ptr, size, nitems, stream) {
+ // size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restrict stream);
+ // http://pubs.opengroup.org/onlinepubs/000095399/functions/fwrite.html
+ var bytesToWrite = nitems * size;
+ if (bytesToWrite == 0) return 0;
+ var bytesWritten = _write(stream, ptr, bytesToWrite);
+ if (bytesWritten == -1) {
+ var streamObj = FS.getStream(stream);
+ if (streamObj) streamObj.error = true;
+ return 0;
+ } else {
+ return Math.floor(bytesWritten / size);
+ }
+ }
+ Module["_strlen"] = _strlen;
+ function __reallyNegative(x) {
+ return x < 0 || (x === 0 && (1/x) === -Infinity);
+ }function __formatString(format, varargs) {
+ var textIndex = format;
+ var argIndex = 0;
+ function getNextArg(type) {
+ // NOTE: Explicitly ignoring type safety. Otherwise this fails:
+ // int x = 4; printf("%c\n", (char)x);
+ var ret;
+ if (type === 'double') {
+ ret = HEAPF64[(((varargs)+(argIndex))>>3)];
+ } else if (type == 'i64') {
+ ret = [HEAP32[(((varargs)+(argIndex))>>2)],
+ HEAP32[(((varargs)+(argIndex+8))>>2)]];
+ argIndex += 8; // each 32-bit chunk is in a 64-bit block
+ } else {
+ type = 'i32'; // varargs are always i32, i64, or double
+ ret = HEAP32[(((varargs)+(argIndex))>>2)];
+ }
+ argIndex += Math.max(Runtime.getNativeFieldSize(type), Runtime.getAlignSize(type, null, true));
+ return ret;
+ }
+ var ret = [];
+ var curr, next, currArg;
+ while(1) {
+ var startTextIndex = textIndex;
+ curr = HEAP8[(textIndex)];
+ if (curr === 0) break;
+ next = HEAP8[((textIndex+1)|0)];
+ if (curr == 37) {
+ // Handle flags.
+ var flagAlwaysSigned = false;
+ var flagLeftAlign = false;
+ var flagAlternative = false;
+ var flagZeroPad = false;
+ flagsLoop: while (1) {
+ switch (next) {
+ case 43:
+ flagAlwaysSigned = true;
+ break;
+ case 45:
+ flagLeftAlign = true;
+ break;
+ case 35:
+ flagAlternative = true;
+ break;
+ case 48:
+ if (flagZeroPad) {
+ break flagsLoop;
+ } else {
+ flagZeroPad = true;
+ break;
+ }
+ default:
+ break flagsLoop;
+ }
+ textIndex++;
+ next = HEAP8[((textIndex+1)|0)];
+ }
+ // Handle width.
+ var width = 0;
+ if (next == 42) {
+ width = getNextArg('i32');
+ textIndex++;
+ next = HEAP8[((textIndex+1)|0)];
+ } else {
+ while (next >= 48 && next <= 57) {
+ width = width * 10 + (next - 48);
+ textIndex++;
+ next = HEAP8[((textIndex+1)|0)];
+ }
+ }
+ // Handle precision.
+ var precisionSet = false;
+ if (next == 46) {
+ var precision = 0;
+ precisionSet = true;
+ textIndex++;
+ next = HEAP8[((textIndex+1)|0)];
+ if (next == 42) {
+ precision = getNextArg('i32');
+ textIndex++;
+ } else {
+ while(1) {
+ var precisionChr = HEAP8[((textIndex+1)|0)];
+ if (precisionChr < 48 ||
+ precisionChr > 57) break;
+ precision = precision * 10 + (precisionChr - 48);
+ textIndex++;
+ }
+ }
+ next = HEAP8[((textIndex+1)|0)];
+ } else {
+ var precision = 6; // Standard default.
+ }
+ // Handle integer sizes. WARNING: These assume a 32-bit architecture!
+ var argSize;
+ switch (String.fromCharCode(next)) {
+ case 'h':
+ var nextNext = HEAP8[((textIndex+2)|0)];
+ if (nextNext == 104) {
+ textIndex++;
+ argSize = 1; // char (actually i32 in varargs)
+ } else {
+ argSize = 2; // short (actually i32 in varargs)
+ }
+ break;
+ case 'l':
+ var nextNext = HEAP8[((textIndex+2)|0)];
+ if (nextNext == 108) {
+ textIndex++;
+ argSize = 8; // long long
+ } else {
+ argSize = 4; // long
+ }
+ break;
+ case 'L': // long long
+ case 'q': // int64_t
+ case 'j': // intmax_t
+ argSize = 8;
+ break;
+ case 'z': // size_t
+ case 't': // ptrdiff_t
+ case 'I': // signed ptrdiff_t or unsigned size_t
+ argSize = 4;
+ break;
+ default:
+ argSize = null;
+ }
+ if (argSize) textIndex++;
+ next = HEAP8[((textIndex+1)|0)];
+ // Handle type specifier.
+ switch (String.fromCharCode(next)) {
+ case 'd': case 'i': case 'u': case 'o': case 'x': case 'X': case 'p': {
+ // Integer.
+ var signed = next == 100 || next == 105;
+ argSize = argSize || 4;
+ var currArg = getNextArg('i' + (argSize * 8));
+ var origArg = currArg;
+ var argText;
+ // Flatten i64-1 [low, high] into a (slightly rounded) double
+ if (argSize == 8) {
+ currArg = Runtime.makeBigInt(currArg[0], currArg[1], next == 117);
+ }
+ // Truncate to requested size.
+ if (argSize <= 4) {
+ var limit = Math.pow(256, argSize) - 1;
+ currArg = (signed ? reSign : unSign)(currArg & limit, argSize * 8);
+ }
+ // Format the number.
+ var currAbsArg = Math.abs(currArg);
+ var prefix = '';
+ if (next == 100 || next == 105) {
+ if (argSize == 8 && i64Math) argText = i64Math.stringify(origArg[0], origArg[1], null); else
+ argText = reSign(currArg, 8 * argSize, 1).toString(10);
+ } else if (next == 117) {
+ if (argSize == 8 && i64Math) argText = i64Math.stringify(origArg[0], origArg[1], true); else
+ argText = unSign(currArg, 8 * argSize, 1).toString(10);
+ currArg = Math.abs(currArg);
+ } else if (next == 111) {
+ argText = (flagAlternative ? '0' : '') + currAbsArg.toString(8);
+ } else if (next == 120 || next == 88) {
+ prefix = (flagAlternative && currArg != 0) ? '0x' : '';
+ if (argSize == 8 && i64Math) {
+ if (origArg[1]) {
+ argText = (origArg[1]>>>0).toString(16);
+ var lower = (origArg[0]>>>0).toString(16);
+ while (lower.length < 8) lower = '0' + lower;
+ argText += lower;
+ } else {
+ argText = (origArg[0]>>>0).toString(16);
+ }
+ } else
+ if (currArg < 0) {
+ // Represent negative numbers in hex as 2's complement.
+ currArg = -currArg;
+ argText = (currAbsArg - 1).toString(16);
+ var buffer = [];
+ for (var i = 0; i < argText.length; i++) {
+ buffer.push((0xF - parseInt(argText[i], 16)).toString(16));
+ }
+ argText = buffer.join('');
+ while (argText.length < argSize * 2) argText = 'f' + argText;
+ } else {
+ argText = currAbsArg.toString(16);
+ }
+ if (next == 88) {
+ prefix = prefix.toUpperCase();
+ argText = argText.toUpperCase();
+ }
+ } else if (next == 112) {
+ if (currAbsArg === 0) {
+ argText = '(nil)';
+ } else {
+ prefix = '0x';
+ argText = currAbsArg.toString(16);
+ }
+ }
+ if (precisionSet) {
+ while (argText.length < precision) {
+ argText = '0' + argText;
+ }
+ }
+ // Add sign if needed
+ if (flagAlwaysSigned) {
+ if (currArg < 0) {
+ prefix = '-' + prefix;
+ } else {
+ prefix = '+' + prefix;
+ }
+ }
+ // Add padding.
+ while (prefix.length + argText.length < width) {
+ if (flagLeftAlign) {
+ argText += ' ';
+ } else {
+ if (flagZeroPad) {
+ argText = '0' + argText;
+ } else {
+ prefix = ' ' + prefix;
+ }
+ }
+ }
+ // Insert the result into the buffer.
+ argText = prefix + argText;
+ argText.split('').forEach(function(chr) {
+ ret.push(chr.charCodeAt(0));
+ });
+ break;
+ }
+ case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': {
+ // Float.
+ var currArg = getNextArg('double');
+ var argText;
+ if (isNaN(currArg)) {
+ argText = 'nan';
+ flagZeroPad = false;
+ } else if (!isFinite(currArg)) {
+ argText = (currArg < 0 ? '-' : '') + 'inf';
+ flagZeroPad = false;
+ } else {
+ var isGeneral = false;
+ var effectivePrecision = Math.min(precision, 20);
+ // Convert g/G to f/F or e/E, as per:
+ // http://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html
+ if (next == 103 || next == 71) {
+ isGeneral = true;
+ precision = precision || 1;
+ var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
+ if (precision > exponent && exponent >= -4) {
+ next = ((next == 103) ? 'f' : 'F').charCodeAt(0);
+ precision -= exponent + 1;
+ } else {
+ next = ((next == 103) ? 'e' : 'E').charCodeAt(0);
+ precision--;
+ }
+ effectivePrecision = Math.min(precision, 20);
+ }
+ if (next == 101 || next == 69) {
+ argText = currArg.toExponential(effectivePrecision);
+ // Make sure the exponent has at least 2 digits.
+ if (/[eE][-+]\d$/.test(argText)) {
+ argText = argText.slice(0, -1) + '0' + argText.slice(-1);
+ }
+ } else if (next == 102 || next == 70) {
+ argText = currArg.toFixed(effectivePrecision);
+ if (currArg === 0 && __reallyNegative(currArg)) {
+ argText = '-' + argText;
+ }
+ }
+ var parts = argText.split('e');
+ if (isGeneral && !flagAlternative) {
+ // Discard trailing zeros and periods.
+ while (parts[0].length > 1 && parts[0].indexOf('.') != -1 &&
+ (parts[0].slice(-1) == '0' || parts[0].slice(-1) == '.')) {
+ parts[0] = parts[0].slice(0, -1);
+ }
+ } else {
+ // Make sure we have a period in alternative mode.
+ if (flagAlternative && argText.indexOf('.') == -1) parts[0] += '.';
+ // Zero pad until required precision.
+ while (precision > effectivePrecision++) parts[0] += '0';
+ }
+ argText = parts[0] + (parts.length > 1 ? 'e' + parts[1] : '');
+ // Capitalize 'E' if needed.
+ if (next == 69) argText = argText.toUpperCase();
+ // Add sign.
+ if (flagAlwaysSigned && currArg >= 0) {
+ argText = '+' + argText;
+ }
+ }
+ // Add padding.
+ while (argText.length < width) {
+ if (flagLeftAlign) {
+ argText += ' ';
+ } else {
+ if (flagZeroPad && (argText[0] == '-' || argText[0] == '+')) {
+ argText = argText[0] + '0' + argText.slice(1);
+ } else {
+ argText = (flagZeroPad ? '0' : ' ') + argText;
+ }
+ }
+ }
+ // Adjust case.
+ if (next < 97) argText = argText.toUpperCase();
+ // Insert the result into the buffer.
+ argText.split('').forEach(function(chr) {
+ ret.push(chr.charCodeAt(0));
+ });
+ break;
+ }
+ case 's': {
+ // String.
+ var arg = getNextArg('i8*');
+ var argLength = arg ? _strlen(arg) : '(null)'.length;
+ if (precisionSet) argLength = Math.min(argLength, precision);
+ if (!flagLeftAlign) {
+ while (argLength < width--) {
+ ret.push(32);
+ }
+ }
+ if (arg) {
+ for (var i = 0; i < argLength; i++) {
+ ret.push(HEAPU8[((arg++)|0)]);
+ }
+ } else {
+ ret = ret.concat(intArrayFromString('(null)'.substr(0, argLength), true));
+ }
+ if (flagLeftAlign) {
+ while (argLength < width--) {
+ ret.push(32);
+ }
+ }
+ break;
+ }
+ case 'c': {
+ // Character.
+ if (flagLeftAlign) ret.push(getNextArg('i8'));
+ while (--width > 0) {
+ ret.push(32);
+ }
+ if (!flagLeftAlign) ret.push(getNextArg('i8'));
+ break;
+ }
+ case 'n': {
+ // Write the length written so far to the next parameter.
+ var ptr = getNextArg('i32*');
+ HEAP32[((ptr)>>2)]=ret.length
+ break;
+ }
+ case '%': {
+ // Literal percent sign.
+ ret.push(curr);
+ break;
+ }
+ default: {
+ // Unknown specifiers remain untouched.
+ for (var i = startTextIndex; i < textIndex + 2; i++) {
+ ret.push(HEAP8[(i)]);
+ }
+ }
+ }
+ textIndex += 2;
+ // TODO: Support a/A (hex float) and m (last error) specifiers.
+ // TODO: Support %1${specifier} for arg selection.
+ } else {
+ ret.push(curr);
+ textIndex += 1;
+ }
+ }
+ return ret;
+ }function _fprintf(stream, format, varargs) {
+ // int fprintf(FILE *restrict stream, const char *restrict format, ...);
+ // http://pubs.opengroup.org/onlinepubs/000095399/functions/printf.html
+ var result = __formatString(format, varargs);
+ var stack = Runtime.stackSave();
+ var ret = _fwrite(allocate(result, 'i8', ALLOC_STACK), 1, result.length, stream);
+ Runtime.stackRestore(stack);
+ return ret;
+ }function _printf(format, varargs) {
+ // int printf(const char *restrict format, ...);
+ // http://pubs.opengroup.org/onlinepubs/000095399/functions/printf.html
+ var stdout = HEAP32[((_stdout)>>2)];
+ return _fprintf(stdout, format, varargs);
+ }
+ Module["_memcpy"] = _memcpy;var _llvm_memcpy_p0i8_p0i8_i32=_memcpy;
+ function ___cxa_guard_acquire(variable) {
+ if (!HEAP8[(variable)]) { // ignore SAFE_HEAP stuff because llvm mixes i64 and i8 here
+ HEAP8[(variable)]=1;
+ return 1;
+ }
+ return 0;
+ }
+ function ___cxa_guard_release() {}
+ Module["_memset"] = _memset;var _llvm_memset_p0i8_i64=_memset;
+ var _sinf=Math.sin;
+ var _cosf=Math.cos;
+ var _sqrtf=Math.sqrt;
+ var _fabsf=Math.abs;
+ function _llvm_lifetime_start() {}
+ function _llvm_lifetime_end() {}
+ function _fmod(x, y) {
+ return x % y;
+ }var _fmodf=_fmod;
+ var _atan2f=Math.atan2;
+ var _llvm_pow_f32=Math.pow;
+ var _acosf=Math.acos;
+ var _llvm_memset_p0i8_i32=_memset;
+ function _atexit(func, arg) {
+ __ATEXIT__.unshift({ func: func, arg: arg });
+ }var ___cxa_atexit=_atexit;
+ function ___cxa_guard_abort() {}
+ function ___cxa_pure_virtual() {
+ ABORT = true;
+ throw 'Pure virtual function called!';
+ }
+ function ___assert_func(filename, line, func, condition) {
+ throw 'Assertion failed: ' + (condition ? Pointer_stringify(condition) : 'unknown condition') + ', at: ' + [filename ? Pointer_stringify(filename) : 'unknown filename', line, func ? Pointer_stringify(func) : 'unknown function'] + ' at ' + new Error().stack;
+ }
+ Module["_llvm_uadd_with_overflow_i64"] = _llvm_uadd_with_overflow_i64;
+ function _gettimeofday(ptr) {
+ // %struct.timeval = type { i32, i32 }
+ var now = Date.now();
+ HEAP32[((ptr)>>2)]=Math.floor(now/1000); // seconds
+ HEAP32[(((ptr)+(4))>>2)]=Math.floor((now-1000*Math.floor(now/1000))*1000); // microseconds
+ return 0;
+ }
+ function _abort() {
+ Module['abort']();
+ }
+ function ___errno_location() {
+ return ___errno_state;
+ }var ___errno=___errno_location;
+ function _sbrk(bytes) {
+ // Implement a Linux-like 'memory area' for our 'process'.
+ // Changes the size of the memory area by |bytes|; returns the
+ // address of the previous top ('break') of the memory area
+ // We control the "dynamic" memory - DYNAMIC_BASE to DYNAMICTOP
+ var self = _sbrk;
+ if (!self.called) {
+ DYNAMICTOP = alignMemoryPage(DYNAMICTOP); // make sure we start out aligned
+ self.called = true;
+ assert(Runtime.dynamicAlloc);
+ self.alloc = Runtime.dynamicAlloc;
+ Runtime.dynamicAlloc = function() { abort('cannot dynamically allocate, sbrk now has control') };
+ }
+ var ret = DYNAMICTOP;
+ if (bytes != 0) self.alloc(bytes);
+ return ret; // Previous break location.
+ }
+ function _sysconf(name) {
+ // long sysconf(int name);
+ // http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html
+ switch(name) {
+ case 8: return PAGE_SIZE;
+ case 54:
+ case 56:
+ case 21:
+ case 61:
+ case 63:
+ case 22:
+ case 67:
+ case 23:
+ case 24:
+ case 25:
+ case 26:
+ case 27:
+ case 69:
+ case 28:
+ case 101:
+ case 70:
+ case 71:
+ case 29:
+ case 30:
+ case 199:
+ case 75:
+ case 76:
+ case 32:
+ case 43:
+ case 44:
+ case 80:
+ case 46:
+ case 47:
+ case 45:
+ case 48:
+ case 49:
+ case 42:
+ case 82:
+ case 33:
+ case 7:
+ case 108:
+ case 109:
+ case 107:
+ case 112:
+ case 119:
+ case 121:
+ return 200809;
+ case 13:
+ case 104:
+ case 94:
+ case 95:
+ case 34:
+ case 35:
+ case 77:
+ case 81:
+ case 83:
+ case 84:
+ case 85:
+ case 86:
+ case 87:
+ case 88:
+ case 89:
+ case 90:
+ case 91:
+ case 94:
+ case 95:
+ case 110:
+ case 111:
+ case 113:
+ case 114:
+ case 115:
+ case 116:
+ case 117:
+ case 118:
+ case 120:
+ case 40:
+ case 16:
+ case 79:
+ case 19:
+ return -1;
+ case 92:
+ case 93:
+ case 5:
+ case 72:
+ case 6:
+ case 74:
+ case 92:
+ case 93:
+ case 96:
+ case 97:
+ case 98:
+ case 99:
+ case 102:
+ case 103:
+ case 105:
+ return 1;
+ case 38:
+ case 66:
+ case 50:
+ case 51:
+ case 4:
+ return 1024;
+ case 15:
+ case 64:
+ case 41:
+ return 32;
+ case 55:
+ case 37:
+ case 17:
+ return 2147483647;
+ case 18:
+ case 1:
+ return 47839;
+ case 59:
+ case 57:
+ return 99;
+ case 68:
+ case 58:
+ return 2048;
+ case 0: return 2097152;
+ case 3: return 65536;
+ case 14: return 32768;
+ case 73: return 32767;
+ case 39: return 16384;
+ case 60: return 1000;
+ case 106: return 700;
+ case 52: return 256;
+ case 62: return 255;
+ case 2: return 100;
+ case 65: return 64;
+ case 36: return 20;
+ case 100: return 16;
+ case 20: return 6;
+ case 53: return 4;
+ case 10: return 1;
+ }
+ ___setErrNo(ERRNO_CODES.EINVAL);
+ return -1;
+ }
+ function _time(ptr) {
+ var ret = Math.floor(Date.now()/1000);
+ if (ptr) {
+ HEAP32[((ptr)>>2)]=ret
+ }
+ return ret;
+ }
+ function ___cxa_allocate_exception(size) {
+ return _malloc(size);
+ }
+ function _llvm_eh_exception() {
+ return HEAP32[((_llvm_eh_exception.buf)>>2)];
+ }
+ function __ZSt18uncaught_exceptionv() { // std::uncaught_exception()
+ return !!__ZSt18uncaught_exceptionv.uncaught_exception;
+ }
+ function ___cxa_is_number_type(type) {
+ var isNumber = false;
+ try { if (type == __ZTIi) isNumber = true } catch(e){}
+ try { if (type == __ZTIj) isNumber = true } catch(e){}
+ try { if (type == __ZTIl) isNumber = true } catch(e){}
+ try { if (type == __ZTIm) isNumber = true } catch(e){}
+ try { if (type == __ZTIx) isNumber = true } catch(e){}
+ try { if (type == __ZTIy) isNumber = true } catch(e){}
+ try { if (type == __ZTIf) isNumber = true } catch(e){}
+ try { if (type == __ZTId) isNumber = true } catch(e){}
+ try { if (type == __ZTIe) isNumber = true } catch(e){}
+ try { if (type == __ZTIc) isNumber = true } catch(e){}
+ try { if (type == __ZTIa) isNumber = true } catch(e){}
+ try { if (type == __ZTIh) isNumber = true } catch(e){}
+ try { if (type == __ZTIs) isNumber = true } catch(e){}
+ try { if (type == __ZTIt) isNumber = true } catch(e){}
+ return isNumber;
+ }function ___cxa_does_inherit(definiteType, possibilityType, possibility) {
+ if (possibility == 0) return false;
+ if (possibilityType == 0 || possibilityType == definiteType)
+ return true;
+ var possibility_type_info;
+ if (___cxa_is_number_type(possibilityType)) {
+ possibility_type_info = possibilityType;
+ } else {
+ var possibility_type_infoAddr = HEAP32[((possibilityType)>>2)] - 8;
+ possibility_type_info = HEAP32[((possibility_type_infoAddr)>>2)];
+ }
+ switch (possibility_type_info) {
+ case 0: // possibility is a pointer
+ // See if definite type is a pointer
+ var definite_type_infoAddr = HEAP32[((definiteType)>>2)] - 8;
+ var definite_type_info = HEAP32[((definite_type_infoAddr)>>2)];
+ if (definite_type_info == 0) {
+ // Also a pointer; compare base types of pointers
+ var defPointerBaseAddr = definiteType+8;
+ var defPointerBaseType = HEAP32[((defPointerBaseAddr)>>2)];
+ var possPointerBaseAddr = possibilityType+8;
+ var possPointerBaseType = HEAP32[((possPointerBaseAddr)>>2)];
+ return ___cxa_does_inherit(defPointerBaseType, possPointerBaseType, possibility);
+ } else
+ return false; // one pointer and one non-pointer
+ case 1: // class with no base class
+ return false;
+ case 2: // class with base class
+ var parentTypeAddr = possibilityType + 8;
+ var parentType = HEAP32[((parentTypeAddr)>>2)];
+ return ___cxa_does_inherit(definiteType, parentType, possibility);
+ default:
+ return false; // some unencountered type
+ }
+ }
+ function ___resumeException(ptr) {
+ if (HEAP32[((_llvm_eh_exception.buf)>>2)] == 0) HEAP32[((_llvm_eh_exception.buf)>>2)]=ptr;
+ throw ptr + " - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.";;
+ }function ___cxa_find_matching_catch(thrown, throwntype) {
+ if (thrown == -1) thrown = HEAP32[((_llvm_eh_exception.buf)>>2)];
+ if (throwntype == -1) throwntype = HEAP32[(((_llvm_eh_exception.buf)+(4))>>2)];
+ var typeArray = Array.prototype.slice.call(arguments, 2);
+ // If throwntype is a pointer, this means a pointer has been
+ // thrown. When a pointer is thrown, actually what's thrown
+ // is a pointer to the pointer. We'll dereference it.
+ if (throwntype != 0 && !___cxa_is_number_type(throwntype)) {
+ var throwntypeInfoAddr= HEAP32[((throwntype)>>2)] - 8;
+ var throwntypeInfo= HEAP32[((throwntypeInfoAddr)>>2)];
+ if (throwntypeInfo == 0)
+ thrown = HEAP32[((thrown)>>2)];
+ }
+ // The different catch blocks are denoted by different types.
+ // Due to inheritance, those types may not precisely match the
+ // type of the thrown object. Find one which matches, and
+ // return the type of the catch block which should be called.
+ for (var i = 0; i < typeArray.length; i++) {
+ if (___cxa_does_inherit(typeArray[i], throwntype, thrown))
+ return ((asm["setTempRet0"](typeArray[i]),thrown)|0);
+ }
+ // Shouldn't happen unless we have bogus data in typeArray
+ // or encounter a type for which emscripten doesn't have suitable
+ // typeinfo defined. Best-efforts match just in case.
+ return ((asm["setTempRet0"](throwntype),thrown)|0);
+ }function ___cxa_throw(ptr, type, destructor) {
+ if (!___cxa_throw.initialized) {
+ try {
+ HEAP32[((__ZTVN10__cxxabiv119__pointer_type_infoE)>>2)]=0; // Workaround for libcxxabi integration bug
+ } catch(e){}
+ try {
+ HEAP32[((__ZTVN10__cxxabiv117__class_type_infoE)>>2)]=1; // Workaround for libcxxabi integration bug
+ } catch(e){}
+ try {
+ HEAP32[((__ZTVN10__cxxabiv120__si_class_type_infoE)>>2)]=2; // Workaround for libcxxabi integration bug
+ } catch(e){}
+ ___cxa_throw.initialized = true;
+ }
+ HEAP32[((_llvm_eh_exception.buf)>>2)]=ptr
+ HEAP32[(((_llvm_eh_exception.buf)+(4))>>2)]=type
+ HEAP32[(((_llvm_eh_exception.buf)+(8))>>2)]=destructor
+ if (!("uncaught_exception" in __ZSt18uncaught_exceptionv)) {
+ __ZSt18uncaught_exceptionv.uncaught_exception = 1;
+ } else {
+ __ZSt18uncaught_exceptionv.uncaught_exception++;
+ }
+ throw ptr + " - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.";;
+ }
+ function ___cxa_call_unexpected(exception) {
+ Module.printErr('Unexpected exception thrown, this is not properly supported - aborting');
+ ABORT = true;
+ throw exception;
+ }
+ var Browser={mainLoop:{scheduler:null,shouldPause:false,paused:false,queue:[],pause:function () {
+ Browser.mainLoop.shouldPause = true;
+ },resume:function () {
+ if (Browser.mainLoop.paused) {
+ Browser.mainLoop.paused = false;
+ Browser.mainLoop.scheduler();
+ }
+ Browser.mainLoop.shouldPause = false;
+ },updateStatus:function () {
+ if (Module['setStatus']) {
+ var message = Module['statusMessage'] || 'Please wait...';
+ var remaining = Browser.mainLoop.remainingBlockers;
+ var expected = Browser.mainLoop.expectedBlockers;
+ if (remaining) {
+ if (remaining < expected) {
+ Module['setStatus'](message + ' (' + (expected - remaining) + '/' + expected + ')');
+ } else {
+ Module['setStatus'](message);
+ }
+ } else {
+ Module['setStatus']('');
+ }
+ }
+ }},isFullScreen:false,pointerLock:false,moduleContextCreatedCallbacks:[],workers:[],init:function () {
+ if (!Module["preloadPlugins"]) Module["preloadPlugins"] = []; // needs to exist even in workers
+ if (Browser.initted || ENVIRONMENT_IS_WORKER) return;
+ Browser.initted = true;
+ try {
+ new Blob();
+ Browser.hasBlobConstructor = true;
+ } catch(e) {
+ Browser.hasBlobConstructor = false;
+ console.log("warning: no blob constructor, cannot create blobs with mimetypes");
+ }
+ Browser.BlobBuilder = typeof MozBlobBuilder != "undefined" ? MozBlobBuilder : (typeof WebKitBlobBuilder != "undefined" ? WebKitBlobBuilder : (!Browser.hasBlobConstructor ? console.log("warning: no BlobBuilder") : null));
+ Browser.URLObject = typeof window != "undefined" ? (window.URL ? window.URL : window.webkitURL) : undefined;
+ if (!Module.noImageDecoding && typeof Browser.URLObject === 'undefined') {
+ console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available.");
+ Module.noImageDecoding = true;
+ }
+ // Support for plugins that can process preloaded files. You can add more of these to
+ // your app by creating and appending to Module.preloadPlugins.
+ //
+ // Each plugin is asked if it can handle a file based on the file's name. If it can,
+ // it is given the file's raw data. When it is done, it calls a callback with the file's
+ // (possibly modified) data. For example, a plugin might decompress a file, or it
+ // might create some side data structure for use later (like an Image element, etc.).
+ var imagePlugin = {};
+ imagePlugin['canHandle'] = function(name) {
+ return !Module.noImageDecoding && /\.(jpg|jpeg|png|bmp)$/i.test(name);
+ };
+ imagePlugin['handle'] = function(byteArray, name, onload, onerror) {
+ var b = null;
+ if (Browser.hasBlobConstructor) {
+ try {
+ b = new Blob([byteArray], { type: Browser.getMimetype(name) });
+ if (b.size !== byteArray.length) { // Safari bug #118630
+ // Safari's Blob can only take an ArrayBuffer
+ b = new Blob([(new Uint8Array(byteArray)).buffer], { type: Browser.getMimetype(name) });
+ }
+ } catch(e) {
+ Runtime.warnOnce('Blob constructor present but fails: ' + e + '; falling back to blob builder');
+ }
+ }
+ if (!b) {
+ var bb = new Browser.BlobBuilder();
+ bb.append((new Uint8Array(byteArray)).buffer); // we need to pass a buffer, and must copy the array to get the right data range
+ b = bb.getBlob();
+ }
+ var url = Browser.URLObject.createObjectURL(b);
+ var img = new Image();
+ img.onload = function() {
+ assert(img.complete, 'Image ' + name + ' could not be decoded');
+ var canvas = document.createElement('canvas');
+ canvas.width = img.width;
+ canvas.height = img.height;
+ var ctx = canvas.getContext('2d');
+ ctx.drawImage(img, 0, 0);
+ Module["preloadedImages"][name] = canvas;
+ Browser.URLObject.revokeObjectURL(url);
+ if (onload) onload(byteArray);
+ };
+ img.onerror = function(event) {
+ console.log('Image ' + url + ' could not be decoded');
+ if (onerror) onerror();
+ };
+ img.src = url;
+ };
+ Module['preloadPlugins'].push(imagePlugin);
+ var audioPlugin = {};
+ audioPlugin['canHandle'] = function(name) {
+ return !Module.noAudioDecoding && name.substr(-4) in { '.ogg': 1, '.wav': 1, '.mp3': 1 };
+ };
+ audioPlugin['handle'] = function(byteArray, name, onload, onerror) {
+ var done = false;
+ function finish(audio) {
+ if (done) return;
+ done = true;
+ Module["preloadedAudios"][name] = audio;
+ if (onload) onload(byteArray);
+ }
+ function fail() {
+ if (done) return;
+ done = true;
+ Module["preloadedAudios"][name] = new Audio(); // empty shim
+ if (onerror) onerror();
+ }
+ if (Browser.hasBlobConstructor) {
+ try {
+ var b = new Blob([byteArray], { type: Browser.getMimetype(name) });
+ } catch(e) {
+ return fail();
+ }
+ var url = Browser.URLObject.createObjectURL(b); // XXX we never revoke this!
+ var audio = new Audio();
+ audio.addEventListener('canplaythrough', function() { finish(audio) }, false); // use addEventListener due to chromium bug 124926
+ audio.onerror = function(event) {
+ if (done) return;
+ console.log('warning: browser could not fully decode audio ' + name + ', trying slower base64 approach');
+ function encode64(data) {
+ var BASE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
+ var PAD = '=';
+ var ret = '';
+ var leftchar = 0;
+ var leftbits = 0;
+ for (var i = 0; i < data.length; i++) {
+ leftchar = (leftchar << 8) | data[i];
+ leftbits += 8;
+ while (leftbits >= 6) {
+ var curr = (leftchar >> (leftbits-6)) & 0x3f;
+ leftbits -= 6;
+ ret += BASE[curr];
+ }
+ }
+ if (leftbits == 2) {
+ ret += BASE[(leftchar&3) << 4];
+ ret += PAD + PAD;
+ } else if (leftbits == 4) {
+ ret += BASE[(leftchar&0xf) << 2];
+ ret += PAD;
+ }
+ return ret;
+ }
+ audio.src = 'data:audio/x-' + name.substr(-3) + ';base64,' + encode64(byteArray);
+ finish(audio); // we don't wait for confirmation this worked - but it's worth trying
+ };
+ audio.src = url;
+ // workaround for chrome bug 124926 - we do not always get oncanplaythrough or onerror
+ Browser.safeSetTimeout(function() {
+ finish(audio); // try to use it even though it is not necessarily ready to play
+ }, 10000);
+ } else {
+ return fail();
+ }
+ };
+ Module['preloadPlugins'].push(audioPlugin);
+ // Canvas event setup
+ var canvas = Module['canvas'];
+ canvas.requestPointerLock = canvas['requestPointerLock'] ||
+ canvas['mozRequestPointerLock'] ||
+ canvas['webkitRequestPointerLock'];
+ canvas.exitPointerLock = document['exitPointerLock'] ||
+ document['mozExitPointerLock'] ||
+ document['webkitExitPointerLock'] ||
+ function(){}; // no-op if function does not exist
+ canvas.exitPointerLock = canvas.exitPointerLock.bind(document);
+ function pointerLockChange() {
+ Browser.pointerLock = document['pointerLockElement'] === canvas ||
+ document['mozPointerLockElement'] === canvas ||
+ document['webkitPointerLockElement'] === canvas;
+ }
+ document.addEventListener('pointerlockchange', pointerLockChange, false);
+ document.addEventListener('mozpointerlockchange', pointerLockChange, false);
+ document.addEventListener('webkitpointerlockchange', pointerLockChange, false);
+ if (Module['elementPointerLock']) {
+ canvas.addEventListener("click", function(ev) {
+ if (!Browser.pointerLock && canvas.requestPointerLock) {
+ canvas.requestPointerLock();
+ ev.preventDefault();
+ }
+ }, false);
+ }
+ },createContext:function (canvas, useWebGL, setInModule) {
+ var ctx;
+ try {
+ if (useWebGL) {
+ ctx = canvas.getContext('experimental-webgl', {
+ alpha: false
+ });
+ } else {
+ ctx = canvas.getContext('2d');
+ }
+ if (!ctx) throw ':(';
+ } catch (e) {
+ Module.print('Could not create canvas - ' + e);
+ return null;
+ }
+ if (useWebGL) {
+ // Set the background of the WebGL canvas to black
+ canvas.style.backgroundColor = "black";
+ // Warn on context loss
+ canvas.addEventListener('webglcontextlost', function(event) {
+ alert('WebGL context lost. You will need to reload the page.');
+ }, false);
+ }
+ if (setInModule) {
+ Module.ctx = ctx;
+ Module.useWebGL = useWebGL;
+ Browser.moduleContextCreatedCallbacks.forEach(function(callback) { callback() });
+ Browser.init();
+ }
+ return ctx;
+ },destroyContext:function (canvas, useWebGL, setInModule) {},fullScreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullScreen:function (lockPointer, resizeCanvas) {
+ Browser.lockPointer = lockPointer;
+ Browser.resizeCanvas = resizeCanvas;
+ if (typeof Browser.lockPointer === 'undefined') Browser.lockPointer = true;
+ if (typeof Browser.resizeCanvas === 'undefined') Browser.resizeCanvas = false;
+ var canvas = Module['canvas'];
+ function fullScreenChange() {
+ Browser.isFullScreen = false;
+ if ((document['webkitFullScreenElement'] || document['webkitFullscreenElement'] ||
+ document['mozFullScreenElement'] || document['mozFullscreenElement'] ||
+ document['fullScreenElement'] || document['fullscreenElement']) === canvas) {
+ canvas.cancelFullScreen = document['cancelFullScreen'] ||
+ document['mozCancelFullScreen'] ||
+ document['webkitCancelFullScreen'];
+ canvas.cancelFullScreen = canvas.cancelFullScreen.bind(document);
+ if (Browser.lockPointer) canvas.requestPointerLock();
+ Browser.isFullScreen = true;
+ if (Browser.resizeCanvas) Browser.setFullScreenCanvasSize();
+ } else if (Browser.resizeCanvas){
+ Browser.setWindowedCanvasSize();
+ }
+ if (Module['onFullScreen']) Module['onFullScreen'](Browser.isFullScreen);
+ }
+ if (!Browser.fullScreenHandlersInstalled) {
+ Browser.fullScreenHandlersInstalled = true;
+ document.addEventListener('fullscreenchange', fullScreenChange, false);
+ document.addEventListener('mozfullscreenchange', fullScreenChange, false);
+ document.addEventListener('webkitfullscreenchange', fullScreenChange, false);
+ }
+ canvas.requestFullScreen = canvas['requestFullScreen'] ||
+ canvas['mozRequestFullScreen'] ||
+ (canvas['webkitRequestFullScreen'] ? function() { canvas['webkitRequestFullScreen'](Element['ALLOW_KEYBOARD_INPUT']) } : null);
+ canvas.requestFullScreen();
+ },requestAnimationFrame:function (func) {
+ if (!window.requestAnimationFrame) {
+ window.requestAnimationFrame = window['requestAnimationFrame'] ||
+ window['mozRequestAnimationFrame'] ||
+ window['webkitRequestAnimationFrame'] ||
+ window['msRequestAnimationFrame'] ||
+ window['oRequestAnimationFrame'] ||
+ window['setTimeout'];
+ }
+ window.requestAnimationFrame(func);
+ },safeCallback:function (func) {
+ return function() {
+ if (!ABORT) return func.apply(null, arguments);
+ };
+ },safeRequestAnimationFrame:function (func) {
+ return Browser.requestAnimationFrame(function() {
+ if (!ABORT) func();
+ });
+ },safeSetTimeout:function (func, timeout) {
+ return setTimeout(function() {
+ if (!ABORT) func();
+ }, timeout);
+ },safeSetInterval:function (func, timeout) {
+ return setInterval(function() {
+ if (!ABORT) func();
+ }, timeout);
+ },getMimetype:function (name) {
+ return {
+ 'jpg': 'image/jpeg',
+ 'jpeg': 'image/jpeg',
+ 'png': 'image/png',
+ 'bmp': 'image/bmp',
+ 'ogg': 'audio/ogg',
+ 'wav': 'audio/wav',
+ 'mp3': 'audio/mpeg'
+ }[name.substr(name.lastIndexOf('.')+1)];
+ },getUserMedia:function (func) {
+ if(!window.getUserMedia) {
+ window.getUserMedia = navigator['getUserMedia'] ||
+ navigator['mozGetUserMedia'];
+ }
+ window.getUserMedia(func);
+ },getMovementX:function (event) {
+ return event['movementX'] ||
+ event['mozMovementX'] ||
+ event['webkitMovementX'] ||
+ 0;
+ },getMovementY:function (event) {
+ return event['movementY'] ||
+ event['mozMovementY'] ||
+ event['webkitMovementY'] ||
+ 0;
+ },mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,calculateMouseEvent:function (event) { // event should be mousemove, mousedown or mouseup
+ if (Browser.pointerLock) {
+ // When the pointer is locked, calculate the coordinates
+ // based on the movement of the mouse.
+ // Workaround for Firefox bug 764498
+ if (event.type != 'mousemove' &&
+ ('mozMovementX' in event)) {
+ Browser.mouseMovementX = Browser.mouseMovementY = 0;
+ } else {
+ Browser.mouseMovementX = Browser.getMovementX(event);
+ Browser.mouseMovementY = Browser.getMovementY(event);
+ }
+ // check if SDL is available
+ if (typeof SDL != "undefined") {
+ Browser.mouseX = SDL.mouseX + Browser.mouseMovementX;
+ Browser.mouseY = SDL.mouseY + Browser.mouseMovementY;
+ } else {
+ // just add the mouse delta to the current absolut mouse position
+ // FIXME: ideally this should be clamped against the canvas size and zero
+ Browser.mouseX += Browser.mouseMovementX;
+ Browser.mouseY += Browser.mouseMovementY;
+ }
+ } else {
+ // Otherwise, calculate the movement based on the changes
+ // in the coordinates.
+ var rect = Module["canvas"].getBoundingClientRect();
+ var x, y;
+ if (event.type == 'touchstart' ||
+ event.type == 'touchend' ||
+ event.type == 'touchmove') {
+ var t = event.touches.item(0);
+ if (t) {
+ x = t.pageX - (window.scrollX + rect.left);
+ y = t.pageY - (window.scrollY + rect.top);
+ } else {
+ return;
+ }
+ } else {
+ x = event.pageX - (window.scrollX + rect.left);
+ y = event.pageY - (window.scrollY + rect.top);
+ }
+ // the canvas might be CSS-scaled compared to its backbuffer;
+ // SDL-using content will want mouse coordinates in terms
+ // of backbuffer units.
+ var cw = Module["canvas"].width;
+ var ch = Module["canvas"].height;
+ x = x * (cw / rect.width);
+ y = y * (ch / rect.height);
+ Browser.mouseMovementX = x - Browser.mouseX;
+ Browser.mouseMovementY = y - Browser.mouseY;
+ Browser.mouseX = x;
+ Browser.mouseY = y;
+ }
+ },xhrLoad:function (url, onload, onerror) {
+ var xhr = new XMLHttpRequest();
+ xhr.open('GET', url, true);
+ xhr.responseType = 'arraybuffer';
+ xhr.onload = function() {
+ if (xhr.status == 200 || (xhr.status == 0 && xhr.response)) { // file URLs can return 0
+ onload(xhr.response);
+ } else {
+ onerror();
+ }
+ };
+ xhr.onerror = onerror;
+ xhr.send(null);
+ },asyncLoad:function (url, onload, onerror, noRunDep) {
+ Browser.xhrLoad(url, function(arrayBuffer) {
+ assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
+ onload(new Uint8Array(arrayBuffer));
+ if (!noRunDep) removeRunDependency('al ' + url);
+ }, function(event) {
+ if (onerror) {
+ onerror();
+ } else {
+ throw 'Loading data file "' + url + '" failed.';
+ }
+ });
+ if (!noRunDep) addRunDependency('al ' + url);
+ },resizeListeners:[],updateResizeListeners:function () {
+ var canvas = Module['canvas'];
+ Browser.resizeListeners.forEach(function(listener) {
+ listener(canvas.width, canvas.height);
+ });
+ },setCanvasSize:function (width, height, noUpdates) {
+ var canvas = Module['canvas'];
+ canvas.width = width;
+ canvas.height = height;
+ if (!noUpdates) Browser.updateResizeListeners();
+ },windowedWidth:0,windowedHeight:0,setFullScreenCanvasSize:function () {
+ var canvas = Module['canvas'];
+ this.windowedWidth = canvas.width;
+ this.windowedHeight = canvas.height;
+ canvas.width = screen.width;
+ canvas.height = screen.height;
+ // check if SDL is available
+ if (typeof SDL != "undefined") {
+ var flags = HEAPU32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)];
+ flags = flags | 0x00800000; // set SDL_FULLSCREEN flag
+ HEAP32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)]=flags
+ }
+ Browser.updateResizeListeners();
+ },setWindowedCanvasSize:function () {
+ var canvas = Module['canvas'];
+ canvas.width = this.windowedWidth;
+ canvas.height = this.windowedHeight;
+ // check if SDL is available
+ if (typeof SDL != "undefined") {
+ var flags = HEAPU32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)];
+ flags = flags & ~0x00800000; // clear SDL_FULLSCREEN flag
+ HEAP32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)]=flags
+ }
+ Browser.updateResizeListeners();
+ }};
+FS.staticInit();__ATINIT__.unshift({ func: function() { if (!Module["noFSInit"] && !FS.init.initialized) FS.init() } });__ATMAIN__.push({ func: function() { FS.ignorePermissions = false } });__ATEXIT__.push({ func: function() { FS.quit() } });Module["FS_createFolder"] = FS.createFolder;Module["FS_createPath"] = FS.createPath;Module["FS_createDataFile"] = FS.createDataFile;Module["FS_createPreloadedFile"] = FS.createPreloadedFile;Module["FS_createLazyFile"] = FS.createLazyFile;Module["FS_createLink"] = FS.createLink;Module["FS_createDevice"] = FS.createDevice;
+___errno_state = Runtime.staticAlloc(4); HEAP32[((___errno_state)>>2)]=0;
+__ATINIT__.unshift({ func: function() { TTY.init() } });__ATEXIT__.push({ func: function() { TTY.shutdown() } });TTY.utf8 = new Runtime.UTF8Processor();
+__ATINIT__.push({ func: function() { SOCKFS.root = FS.mount(SOCKFS, {}, null); } });
+_llvm_eh_exception.buf = allocate(12, "void*", ALLOC_STATIC);
+Module["requestFullScreen"] = function(lockPointer, resizeCanvas) { Browser.requestFullScreen(lockPointer, resizeCanvas) };
+ Module["requestAnimationFrame"] = function(func) { Browser.requestAnimationFrame(func) };
+ Module["setCanvasSize"] = function(width, height, noUpdates) { Browser.setCanvasSize(width, height, noUpdates) };
+ Module["pauseMainLoop"] = function() { Browser.mainLoop.pause() };
+ Module["resumeMainLoop"] = function() { Browser.mainLoop.resume() };
+ Module["getUserMedia"] = function() { Browser.getUserMedia() }
+STACK_BASE = STACKTOP = Runtime.alignMemory(STATICTOP);
+staticSealed = true; // seal the static portion of memory
+STACK_MAX = STACK_BASE + 5242880;
+DYNAMIC_BASE = DYNAMICTOP = Runtime.alignMemory(STACK_MAX);
+assert(DYNAMIC_BASE < TOTAL_MEMORY); // Stack must fit in TOTAL_MEMORY; allocations from here on may enlarge TOTAL_MEMORY
+ var ctlz_i8 = allocate([8,7,6,6,5,5,5,5,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_DYNAMIC);
+ var cttz_i8 = allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0], "i8", ALLOC_DYNAMIC);
+var Math_min = Math.min;
+function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7) {
+ try {
+ return Module["dynCall_iiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_vif(index,a1,a2) {
+ try {
+ Module["dynCall_vif"](index,a1,a2);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viifii(index,a1,a2,a3,a4,a5) {
+ try {
+ Module["dynCall_viifii"](index,a1,a2,a3,a4,a5);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viiiii(index,a1,a2,a3,a4,a5) {
+ try {
+ Module["dynCall_viiiii"](index,a1,a2,a3,a4,a5);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_vi(index,a1) {
+ try {
+ Module["dynCall_vi"](index,a1);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_vii(index,a1,a2) {
+ try {
+ Module["dynCall_vii"](index,a1,a2);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viiifii(index,a1,a2,a3,a4,a5,a6) {
+ try {
+ Module["dynCall_viiifii"](index,a1,a2,a3,a4,a5,a6);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_vifiii(index,a1,a2,a3,a4,a5) {
+ try {
+ Module["dynCall_vifiii"](index,a1,a2,a3,a4,a5);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_ii(index,a1) {
+ try {
+ return Module["dynCall_ii"](index,a1);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viiiiffffiif(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11) {
+ try {
+ Module["dynCall_viiiiffffiif"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_fiii(index,a1,a2,a3) {
+ try {
+ return Module["dynCall_fiii"](index,a1,a2,a3);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viiif(index,a1,a2,a3,a4) {
+ try {
+ Module["dynCall_viiif"](index,a1,a2,a3,a4);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_fiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11) {
+ try {
+ return Module["dynCall_fiiiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_fiifii(index,a1,a2,a3,a4,a5) {
+ try {
+ return Module["dynCall_fiifii"](index,a1,a2,a3,a4,a5);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_iii(index,a1,a2) {
+ try {
+ return Module["dynCall_iii"](index,a1,a2);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_iiii(index,a1,a2,a3) {
+ try {
+ return Module["dynCall_iiii"](index,a1,a2,a3);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_fif(index,a1,a2) {
+ try {
+ return Module["dynCall_fif"](index,a1,a2);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8) {
+ try {
+ Module["dynCall_viiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_vifi(index,a1,a2,a3) {
+ try {
+ Module["dynCall_vifi"](index,a1,a2,a3);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6) {
+ try {
+ Module["dynCall_viiiiii"](index,a1,a2,a3,a4,a5,a6);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_iiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9) {
+ try {
+ return Module["dynCall_iiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viffiii(index,a1,a2,a3,a4,a5,a6) {
+ try {
+ Module["dynCall_viffiii"](index,a1,a2,a3,a4,a5,a6);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6) {
+ try {
+ return Module["dynCall_iiiiiii"](index,a1,a2,a3,a4,a5,a6);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_fiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10) {
+ try {
+ return Module["dynCall_fiiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_fiiiii(index,a1,a2,a3,a4,a5) {
+ try {
+ return Module["dynCall_fiiiii"](index,a1,a2,a3,a4,a5);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_iiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11) {
+ try {
+ return Module["dynCall_iiiiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_vifii(index,a1,a2,a3,a4) {
+ try {
+ Module["dynCall_vifii"](index,a1,a2,a3,a4);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_fi(index,a1) {
+ try {
+ return Module["dynCall_fi"](index,a1);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10) {
+ try {
+ Module["dynCall_viiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viiiifffffif(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11) {
+ try {
+ Module["dynCall_viiiifffffif"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viiiiiffii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9) {
+ try {
+ Module["dynCall_viiiiiffii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_iifif(index,a1,a2,a3,a4) {
+ try {
+ return Module["dynCall_iifif"](index,a1,a2,a3,a4);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_iiiii(index,a1,a2,a3,a4) {
+ try {
+ return Module["dynCall_iiiii"](index,a1,a2,a3,a4);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viii(index,a1,a2,a3) {
+ try {
+ Module["dynCall_viii"](index,a1,a2,a3);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viifi(index,a1,a2,a3,a4) {
+ try {
+ Module["dynCall_viifi"](index,a1,a2,a3,a4);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_v(index) {
+ try {
+ Module["dynCall_v"](index);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viif(index,a1,a2,a3) {
+ try {
+ Module["dynCall_viif"](index,a1,a2,a3);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_iiif(index,a1,a2,a3) {
+ try {
+ return Module["dynCall_iiif"](index,a1,a2,a3);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_fiiifii(index,a1,a2,a3,a4,a5,a6) {
+ try {
+ return Module["dynCall_fiiifii"](index,a1,a2,a3,a4,a5,a6);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function invoke_viiii(index,a1,a2,a3,a4) {
+ try {
+ Module["dynCall_viiii"](index,a1,a2,a3,a4);
+ } catch(e) {
+ if (typeof e !== 'number' && e !== 'longjmp') throw e;
+ asm["setThrew"](1, 0);
+ }
+}
+function asmPrintInt(x, y) {
+ Module.print('int ' + x + ',' + y);// + ' ' + new Error().stack);
+}
+function asmPrintFloat(x, y) {
+ Module.print('float ' + x + ',' + y);// + ' ' + new Error().stack);
+}
+// EMSCRIPTEN_START_ASM
+var asmModule = function(global, env, buffer) {
+ 'use asm';
+ var HEAP8 = new global.Int8Array(buffer);
+ var HEAP16 = new global.Int16Array(buffer);
+ var HEAP32 = new global.Int32Array(buffer);
+ var HEAPU8 = new global.Uint8Array(buffer);
+ var HEAPU16 = new global.Uint16Array(buffer);
+ var HEAPU32 = new global.Uint32Array(buffer);
+ var HEAPF32 = new global.Float32Array(buffer);
+ var HEAPF64 = new global.Float64Array(buffer);
+ var STACKTOP=env.STACKTOP|0;
+ var STACK_MAX=env.STACK_MAX|0;
+ var tempDoublePtr=env.tempDoublePtr|0;
+ var ABORT=env.ABORT|0;
+ var cttz_i8=env.cttz_i8|0;
+ var ctlz_i8=env.ctlz_i8|0;
+ var __ZTVN10__cxxabiv117__class_type_infoE=env.__ZTVN10__cxxabiv117__class_type_infoE|0;
+ var __ZTVN10__cxxabiv120__si_class_type_infoE=env.__ZTVN10__cxxabiv120__si_class_type_infoE|0;
+ var ___dso_handle=env.___dso_handle|0;
+ var NaN=+env.NaN;
+ var Infinity=+env.Infinity;
+ var __THREW__ = 0;
+ var threwValue = 0;
+ var setjmpId = 0;
+ var undef = 0;
+ var tempInt = 0, tempBigInt = 0, tempBigIntP = 0, tempBigIntS = 0, tempBigIntR = 0.0, tempBigIntI = 0, tempBigIntD = 0, tempValue = 0, tempDouble = 0.0;
+ var tempRet0 = 0;
+ var tempRet1 = 0;
+ var tempRet2 = 0;
+ var tempRet3 = 0;
+ var tempRet4 = 0;
+ var tempRet5 = 0;
+ var tempRet6 = 0;
+ var tempRet7 = 0;
+ var tempRet8 = 0;
+ var tempRet9 = 0;
+ var Math_floor=global.Math.floor;
+ var Math_abs=global.Math.abs;
+ var Math_sqrt=global.Math.sqrt;
+ var Math_pow=global.Math.pow;
+ var Math_cos=global.Math.cos;
+ var Math_sin=global.Math.sin;
+ var Math_tan=global.Math.tan;
+ var Math_acos=global.Math.acos;
+ var Math_asin=global.Math.asin;
+ var Math_atan=global.Math.atan;
+ var Math_atan2=global.Math.atan2;
+ var Math_exp=global.Math.exp;
+ var Math_log=global.Math.log;
+ var Math_ceil=global.Math.ceil;
+ var Math_imul=global.Math.imul;
+ var abort=env.abort;
+ var assert=env.assert;
+ var asmPrintInt=env.asmPrintInt;
+ var asmPrintFloat=env.asmPrintFloat;
+ var Math_min=env.min;
+ var invoke_iiiiiiii=env.invoke_iiiiiiii;
+ var invoke_vif=env.invoke_vif;
+ var invoke_viifii=env.invoke_viifii;
+ var invoke_viiiii=env.invoke_viiiii;
+ var invoke_vi=env.invoke_vi;
+ var invoke_vii=env.invoke_vii;
+ var invoke_viiifii=env.invoke_viiifii;
+ var invoke_vifiii=env.invoke_vifiii;
+ var invoke_ii=env.invoke_ii;
+ var invoke_viiiiffffiif=env.invoke_viiiiffffiif;
+ var invoke_fiii=env.invoke_fiii;
+ var invoke_viiif=env.invoke_viiif;
+ var invoke_fiiiiiiiiiii=env.invoke_fiiiiiiiiiii;
+ var invoke_fiifii=env.invoke_fiifii;
+ var invoke_iii=env.invoke_iii;
+ var invoke_iiii=env.invoke_iiii;
+ var invoke_fif=env.invoke_fif;
+ var invoke_viiiiiiii=env.invoke_viiiiiiii;
+ var invoke_vifi=env.invoke_vifi;
+ var invoke_viiiiii=env.invoke_viiiiii;
+ var invoke_iiiiiiiiii=env.invoke_iiiiiiiiii;
+ var invoke_viffiii=env.invoke_viffiii;
+ var invoke_iiiiiii=env.invoke_iiiiiii;
+ var invoke_fiiiiiiiiii=env.invoke_fiiiiiiiiii;
+ var invoke_fiiiii=env.invoke_fiiiii;
+ var invoke_iiiiiiiiiiii=env.invoke_iiiiiiiiiiii;
+ var invoke_vifii=env.invoke_vifii;
+ var invoke_fi=env.invoke_fi;
+ var invoke_viiiiiiiiii=env.invoke_viiiiiiiiii;
+ var invoke_viiiifffffif=env.invoke_viiiifffffif;
+ var invoke_viiiiiffii=env.invoke_viiiiiffii;
+ var invoke_iifif=env.invoke_iifif;
+ var invoke_iiiii=env.invoke_iiiii;
+ var invoke_viii=env.invoke_viii;
+ var invoke_viifi=env.invoke_viifi;
+ var invoke_v=env.invoke_v;
+ var invoke_viif=env.invoke_viif;
+ var invoke_iiif=env.invoke_iiif;
+ var invoke_fiiifii=env.invoke_fiiifii;
+ var invoke_viiii=env.invoke_viiii;
+ var _llvm_lifetime_end=env._llvm_lifetime_end;
+ var _cosf=env._cosf;
+ var _fabsf=env._fabsf;
+ var _sysconf=env._sysconf;
+ var ___cxa_throw=env.___cxa_throw;
+ var _atexit=env._atexit;
+ var _abort=env._abort;
+ var _fprintf=env._fprintf;
+ var _llvm_eh_exception=env._llvm_eh_exception;
+ var _printf=env._printf;
+ var _acosf=env._acosf;
+ var _fflush=env._fflush;
+ var __reallyNegative=env.__reallyNegative;
+ var _sqrtf=env._sqrtf;
+ var _llvm_pow_f32=env._llvm_pow_f32;
+ var ___setErrNo=env.___setErrNo;
+ var _fwrite=env._fwrite;
+ var _send=env._send;
+ var _write=env._write;
+ var _exit=env._exit;
+ var _atan2f=env._atan2f;
+ var ___cxa_pure_virtual=env.___cxa_pure_virtual;
+ var ___cxa_is_number_type=env.___cxa_is_number_type;
+ var _time=env._time;
+ var __formatString=env.__formatString;
+ var ___cxa_does_inherit=env.___cxa_does_inherit;
+ var ___cxa_guard_acquire=env.___cxa_guard_acquire;
+ var __ZSt9terminatev=env.__ZSt9terminatev;
+ var _gettimeofday=env._gettimeofday;
+ var ___cxa_find_matching_catch=env.___cxa_find_matching_catch;
+ var _sinf=env._sinf;
+ var ___assert_func=env.___assert_func;
+ var __ZSt18uncaught_exceptionv=env.__ZSt18uncaught_exceptionv;
+ var _pwrite=env._pwrite;
+ var ___cxa_call_unexpected=env.___cxa_call_unexpected;
+ var _sbrk=env._sbrk;
+ var ___cxa_guard_abort=env.___cxa_guard_abort;
+ var ___cxa_allocate_exception=env.___cxa_allocate_exception;
+ var ___errno_location=env.___errno_location;
+ var ___gxx_personality_v0=env.___gxx_personality_v0;
+ var _llvm_lifetime_start=env._llvm_lifetime_start;
+ var _fmod=env._fmod;
+ var ___cxa_guard_release=env.___cxa_guard_release;
+ var __exit=env.__exit;
+ var ___resumeException=env.___resumeException;
+// EMSCRIPTEN_START_FUNCS
+function __ZN20btConvexHullInternal9shiftFaceEPNS_4FaceEf20btAlignedObjectArrayIPNS_6VertexEE(i1, i2, d3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, d15 = 0.0, d16 = 0.0, d17 = 0.0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0, i79 = 0, i80 = 0, i81 = 0, i82 = 0, i83 = 0, i84 = 0, i85 = 0, i86 = 0, i87 = 0, i88 = 0, i89 = 0, i90 = 0, i91 = 0, i92 = 0, i93 = 0, i94 = 0, i95 = 0, i96 = 0, i97 = 0, i98 = 0, i99 = 0, i100 = 0, i101 = 0, i102 = 0, i103 = 0, i104 = 0, i105 = 0, i106 = 0, i107 = 0, i108 = 0, i109 = 0, i110 = 0, i111 = 0, i112 = 0, i113 = 0, i114 = 0, i115 = 0, i116 = 0, i117 = 0, i118 = 0, i119 = 0, i120 = 0, i121 = 0, i122 = 0, i123 = 0, i124 = 0, i125 = 0, i126 = 0, i127 = 0, i128 = 0, i129 = 0, i130 = 0, i131 = 0, i132 = 0, i133 = 0, i134 = 0, i135 = 0, i136 = 0, i137 = 0, i138 = 0, i139 = 0, i140 = 0, i141 = 0, i142 = 0, i143 = 0, i144 = 0, i145 = 0, i146 = 0, i147 = 0, i148 = 0, i149 = 0, i150 = 0, i151 = 0, i152 = 0, i153 = 0, i154 = 0, i155 = 0, i156 = 0, i157 = 0, i158 = 0, i159 = 0, i160 = 0, i161 = 0, i162 = 0, i163 = 0, i164 = 0, i165 = 0, i166 = 0, i167 = 0, i168 = 0, i169 = 0, i170 = 0, i171 = 0, i172 = 0, i173 = 0, i174 = 0, i175 = 0, i176 = 0, i177 = 0, i178 = 0, i179 = 0, i180 = 0, i181 = 0, i182 = 0, i183 = 0, i184 = 0, i185 = 0, i186 = 0, i187 = 0, i188 = 0, i189 = 0, i190 = 0, i191 = 0, i192 = 0, i193 = 0, i194 = 0, i195 = 0, i196 = 0, i197 = 0, i198 = 0, i199 = 0, i200 = 0, i201 = 0, i202 = 0, i203 = 0, i204 = 0, i205 = 0, i206 = 0, i207 = 0, i208 = 0, i209 = 0, i210 = 0, i211 = 0, i212 = 0, i213 = 0, i214 = 0, i215 = 0, i216 = 0, i217 = 0, i218 = 0, i219 = 0, i220 = 0, i221 = 0, i222 = 0, i223 = 0, i224 = 0, i225 = 0, i226 = 0, i227 = 0, i228 = 0, i229 = 0, i230 = 0, i231 = 0, i232 = 0, i233 = 0, i234 = 0, i235 = 0, i236 = 0, i237 = 0, i238 = 0, i239 = 0, i240 = 0, i241 = 0, i242 = 0, i243 = 0, i244 = 0, i245 = 0, i246 = 0, i247 = 0, i248 = 0, i249 = 0, i250 = 0, i251 = 0, i252 = 0, i253 = 0, i254 = 0, i255 = 0, i256 = 0, i257 = 0, i258 = 0, i259 = 0, i260 = 0, i261 = 0, i262 = 0, i263 = 0, i264 = 0, i265 = 0, i266 = 0, i267 = 0, i268 = 0, i269 = 0, i270 = 0, i271 = 0, i272 = 0, i273 = 0, i274 = 0, i275 = 0, i276 = 0, i277 = 0, i278 = 0, i279 = 0, i280 = 0, i281 = 0, i282 = 0, i283 = 0, i284 = 0, i285 = 0, i286 = 0, i287 = 0, i288 = 0, i289 = 0, i290 = 0, i291 = 0, i292 = 0, i293 = 0, i294 = 0, i295 = 0, i296 = 0, i297 = 0, i298 = 0, i299 = 0, i300 = 0, i301 = 0, i302 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 296 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 16 | 0;
+ i8 = i5 + 32 | 0;
+ i9 = i5 + 56 | 0;
+ i10 = i5 + 96 | 0;
+ i11 = i5 + 136 | 0;
+ i12 = i5 + 176 | 0;
+ i13 = i5 + 216 | 0;
+ i14 = i5 + 256 | 0;
+ __ZN20btConvexHullInternal11getBtNormalEPNS_4FaceE(i7, i1, i2);
+ d15 = -0.0 - d3;
+ d3 = +HEAPF32[i7 >> 2] * d15;
+ d16 = +HEAPF32[i7 + 4 >> 2] * d15;
+ d17 = +HEAPF32[i7 + 8 >> 2] * d15;
+ i7 = i6 | 0;
+ HEAPF32[i7 >> 2] = d3;
+ i18 = i6 + 4 | 0;
+ HEAPF32[i18 >> 2] = d16;
+ i19 = i6 + 8 | 0;
+ HEAPF32[i19 >> 2] = d17;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ d15 = +HEAPF32[i1 >> 2];
+ if (d15 > 0.0) {
+ HEAPF32[i7 >> 2] = d3 / d15;
+ }
+ d15 = +HEAPF32[i1 + 4 >> 2];
+ if (d15 > 0.0) {
+ HEAPF32[i18 >> 2] = d16 / d15;
+ }
+ d15 = +HEAPF32[i1 + 8 >> 2];
+ if (d15 > 0.0) {
+ HEAPF32[i19 >> 2] = d17 / d15;
+ }
+ i19 = ~~+HEAPF32[i6 + (HEAP32[i1 + 108 >> 2] << 2) >> 2];
+ i18 = ~~+HEAPF32[i6 + (HEAP32[i1 + 112 >> 2] << 2) >> 2];
+ i7 = ~~+HEAPF32[i6 + (HEAP32[i1 + 104 >> 2] << 2) >> 2];
+ if ((i18 | i19 | i7 | 0) == 0) {
+ i20 = 1;
+ STACKTOP = i5;
+ return i20 | 0;
+ }
+ i6 = i2 + 32 | 0;
+ i21 = HEAP32[i6 >> 2] | 0;
+ i22 = i2 + 52 | 0;
+ i23 = HEAP32[i22 >> 2] | 0;
+ i24 = Math_imul(i23, i21) | 0;
+ i25 = i2 + 36 | 0;
+ i26 = HEAP32[i25 >> 2] | 0;
+ i27 = i2 + 48 | 0;
+ i28 = HEAP32[i27 >> 2] | 0;
+ i29 = i24 - (Math_imul(i28, i26) | 0) | 0;
+ i24 = i29;
+ i30 = (i29 | 0) < 0 ? -1 : 0;
+ i29 = i2 + 44 | 0;
+ i31 = HEAP32[i29 >> 2] | 0;
+ i32 = Math_imul(i31, i26) | 0;
+ i26 = i2 + 28 | 0;
+ i33 = HEAP32[i26 >> 2] | 0;
+ i34 = i32 - (Math_imul(i33, i23) | 0) | 0;
+ i23 = i34;
+ i32 = (i34 | 0) < 0 ? -1 : 0;
+ i34 = Math_imul(i33, i28) | 0;
+ i28 = i34 - (Math_imul(i31, i21) | 0) | 0;
+ i21 = i28;
+ i31 = (i28 | 0) < 0 ? -1 : 0;
+ i28 = i8 | 0;
+ HEAP32[i28 >> 2] = i24;
+ HEAP32[i28 + 4 >> 2] = i30;
+ i28 = i8 + 8 | 0;
+ HEAP32[i28 >> 2] = i23;
+ HEAP32[i28 + 4 >> 2] = i32;
+ i28 = i8 + 16 | 0;
+ HEAP32[i28 >> 2] = i21;
+ HEAP32[i28 + 4 >> 2] = i31;
+ i28 = i2 + 12 | 0;
+ i34 = HEAP32[i28 >> 2] | 0;
+ i33 = ___muldi3(i34, (i34 | 0) < 0 ? -1 : 0, i24, i30) | 0;
+ i35 = tempRet0;
+ i36 = i2 + 16 | 0;
+ i37 = HEAP32[i36 >> 2] | 0;
+ i38 = ___muldi3(i37, (i37 | 0) < 0 ? -1 : 0, i23, i32) | 0;
+ i39 = _i64Add(i38, tempRet0, i33, i35) | 0;
+ i35 = tempRet0;
+ i33 = i2 + 20 | 0;
+ i38 = HEAP32[i33 >> 2] | 0;
+ i40 = ___muldi3(i38, (i38 | 0) < 0 ? -1 : 0, i21, i31) | 0;
+ i41 = _i64Add(i39, i35, i40, tempRet0) | 0;
+ i40 = tempRet0;
+ i35 = i34 + i19 | 0;
+ i19 = i37 + i18 | 0;
+ i18 = i38 + i7 | 0;
+ i7 = i35;
+ i38 = (i35 | 0) < 0 ? -1 : 0;
+ i37 = ___muldi3(i7, i38, i24, i30) | 0;
+ i30 = tempRet0;
+ i24 = i19;
+ i34 = (i19 | 0) < 0 ? -1 : 0;
+ i39 = ___muldi3(i24, i34, i23, i32) | 0;
+ i32 = _i64Add(i39, tempRet0, i37, i30) | 0;
+ i30 = tempRet0;
+ i37 = i18;
+ i39 = (i18 | 0) < 0 ? -1 : 0;
+ i23 = ___muldi3(i37, i39, i21, i31) | 0;
+ i31 = _i64Add(i32, i30, i23, tempRet0) | 0;
+ i23 = tempRet0;
+ if (!((i23 | 0) < (i40 | 0) | (i23 | 0) == (i40 | 0) & i31 >>> 0 < i41 >>> 0)) {
+ i20 = 0;
+ STACKTOP = i5;
+ return i20 | 0;
+ }
+ i41 = HEAP32[i2 + 4 >> 2] | 0;
+ i40 = HEAP32[i41 + 8 >> 2] | 0;
+ __ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(i9, i41, i8);
+ i41 = __ZNK20btConvexHullInternal11Rational1287compareEx(i9, i31, i23) | 0;
+ i30 = i9;
+ do {
+ if ((i41 | 0) > -1) {
+ i32 = i10;
+ i21 = i40;
+ i42 = i41;
+ i43 = i40;
+ while (1) {
+ __ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(i10, HEAP32[i43 + 12 >> 2] | 0, i8);
+ if ((__ZNK20btConvexHullInternal11Rational1287compareERKS0_(i10, i9) | 0) < 0) {
+ i44 = __ZNK20btConvexHullInternal11Rational1287compareEx(i10, i31, i23) | 0;
+ HEAP32[i30 >> 2] = HEAP32[i32 >> 2];
+ HEAP32[i30 + 4 >> 2] = HEAP32[i32 + 4 >> 2];
+ HEAP32[i30 + 8 >> 2] = HEAP32[i32 + 8 >> 2];
+ HEAP32[i30 + 12 >> 2] = HEAP32[i32 + 12 >> 2];
+ HEAP32[i30 + 16 >> 2] = HEAP32[i32 + 16 >> 2];
+ HEAP32[i30 + 20 >> 2] = HEAP32[i32 + 20 >> 2];
+ HEAP32[i30 + 24 >> 2] = HEAP32[i32 + 24 >> 2];
+ HEAP32[i30 + 28 >> 2] = HEAP32[i32 + 28 >> 2];
+ HEAP32[i30 + 32 >> 2] = HEAP32[i32 + 32 >> 2];
+ HEAP8[i30 + 36 | 0] = HEAP8[i32 + 36 | 0] | 0;
+ i45 = HEAP32[i43 + 8 >> 2] | 0;
+ if ((i44 | 0) < 0) {
+ break;
+ } else {
+ i46 = i45;
+ i47 = i44;
+ i48 = i45;
+ }
+ } else {
+ i46 = i21;
+ i47 = i42;
+ i48 = i43;
+ }
+ i44 = HEAP32[i48 + 4 >> 2] | 0;
+ if ((i44 | 0) == (i46 | 0)) {
+ i20 = 0;
+ i49 = 1612;
+ break;
+ } else {
+ i21 = i46;
+ i42 = i47;
+ i43 = i44;
+ }
+ }
+ if ((i49 | 0) == 1612) {
+ STACKTOP = i5;
+ return i20 | 0;
+ }
+ if ((i45 | 0) == 0) {
+ i20 = 0;
+ } else {
+ i50 = i45;
+ i51 = i42;
+ break;
+ }
+ STACKTOP = i5;
+ return i20 | 0;
+ } else {
+ i43 = i11;
+ i21 = i40;
+ i32 = i40;
+ while (1) {
+ __ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(i11, HEAP32[i32 + 12 >> 2] | 0, i8);
+ if ((__ZNK20btConvexHullInternal11Rational1287compareERKS0_(i11, i9) | 0) > 0) {
+ i52 = __ZNK20btConvexHullInternal11Rational1287compareEx(i11, i31, i23) | 0;
+ if ((i52 | 0) > -1) {
+ break;
+ }
+ HEAP32[i30 >> 2] = HEAP32[i43 >> 2];
+ HEAP32[i30 + 4 >> 2] = HEAP32[i43 + 4 >> 2];
+ HEAP32[i30 + 8 >> 2] = HEAP32[i43 + 8 >> 2];
+ HEAP32[i30 + 12 >> 2] = HEAP32[i43 + 12 >> 2];
+ HEAP32[i30 + 16 >> 2] = HEAP32[i43 + 16 >> 2];
+ HEAP32[i30 + 20 >> 2] = HEAP32[i43 + 20 >> 2];
+ HEAP32[i30 + 24 >> 2] = HEAP32[i43 + 24 >> 2];
+ HEAP32[i30 + 28 >> 2] = HEAP32[i43 + 28 >> 2];
+ HEAP32[i30 + 32 >> 2] = HEAP32[i43 + 32 >> 2];
+ HEAP8[i30 + 36 | 0] = HEAP8[i43 + 36 | 0] | 0;
+ i44 = HEAP32[i32 + 8 >> 2] | 0;
+ i53 = i44;
+ i54 = i44;
+ } else {
+ i53 = i21;
+ i54 = i32;
+ }
+ i44 = HEAP32[i54 + 4 >> 2] | 0;
+ if ((i44 | 0) == (i53 | 0)) {
+ i20 = 1;
+ i49 = 1615;
+ break;
+ } else {
+ i21 = i53;
+ i32 = i44;
+ }
+ }
+ if ((i49 | 0) == 1615) {
+ STACKTOP = i5;
+ return i20 | 0;
+ }
+ if ((i32 | 0) == 0) {
+ i20 = 1;
+ } else {
+ i50 = i32;
+ i51 = i52;
+ break;
+ }
+ STACKTOP = i5;
+ return i20 | 0;
+ }
+ } while (0);
+ L1672 : do {
+ if ((i51 | 0) == 0) {
+ i52 = i50 + 8 | 0;
+ i53 = HEAP32[HEAP32[i52 >> 2] >> 2] | 0;
+ while (1) {
+ __ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(i12, HEAP32[i53 + 12 >> 2] | 0, i8);
+ if ((__ZNK20btConvexHullInternal11Rational1287compareEx(i12, i31, i23) | 0) >= 1) {
+ break L1672;
+ }
+ i54 = HEAP32[i53 >> 2] | 0;
+ if ((i54 | 0) == (HEAP32[i52 >> 2] | 0)) {
+ i20 = 1;
+ break;
+ } else {
+ i53 = i54;
+ }
+ }
+ STACKTOP = i5;
+ return i20 | 0;
+ }
+ } while (0);
+ i12 = i1 + 32 | 0;
+ i53 = i4 + 4 | 0;
+ i52 = i4 + 8 | 0;
+ i32 = i4 + 12 | 0;
+ i54 = i4 + 16 | 0;
+ i4 = i1 + 56 | 0;
+ i30 = i1 + 116 | 0;
+ i11 = i1 + 48 | 0;
+ i9 = i1 + 100 | 0;
+ i40 = i1 + 120 | 0;
+ i45 = (i35 | 0) < 0;
+ i47 = _i64Subtract(0, 0, i7, i38) | 0;
+ i46 = tempRet0;
+ i48 = (i19 | 0) < 0;
+ i10 = _i64Subtract(0, 0, i24, i34) | 0;
+ i41 = tempRet0;
+ i21 = (i18 | 0) < 0;
+ i43 = _i64Subtract(0, 0, i37, i39) | 0;
+ i42 = tempRet0;
+ i44 = i50;
+ i50 = i51;
+ i51 = 0;
+ i55 = 0;
+ i56 = 0;
+ L1679 : while (1) {
+ i57 = (i50 | 0) == 0;
+ L1681 : do {
+ if (i57) {
+ i58 = HEAP32[HEAP32[i44 + 8 >> 2] >> 2] | 0;
+ i59 = i44;
+ i60 = i58;
+ while (1) {
+ __ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(i13, HEAP32[i60 + 12 >> 2] | 0, i8);
+ if ((__ZNK20btConvexHullInternal11Rational1287compareEx(i13, i31, i23) | 0) > -1) {
+ i61 = i59;
+ break L1681;
+ }
+ i62 = HEAP32[i60 >> 2] | 0;
+ if ((i62 | 0) == (i58 | 0)) {
+ i20 = 1;
+ i49 = 1618;
+ break L1679;
+ } else {
+ i59 = HEAP32[i60 + 8 >> 2] | 0;
+ i60 = i62;
+ }
+ }
+ } else {
+ i61 = i44;
+ }
+ } while (0);
+ if ((i51 | 0) == 0) {
+ i63 = i61;
+ } else {
+ if ((i61 | 0) == (i51 | 0)) {
+ break;
+ } else {
+ i63 = i51;
+ }
+ }
+ i60 = i61 + 8 | 0;
+ i59 = HEAP32[i60 >> 2] | 0;
+ do {
+ i59 = HEAP32[(HEAP32[i59 + 8 >> 2] | 0) + 4 >> 2] | 0;
+ i64 = i59 + 12 | 0;
+ __ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(i14, HEAP32[i64 >> 2] | 0, i8);
+ i65 = __ZNK20btConvexHullInternal11Rational1287compareEx(i14, i31, i23) | 0;
+ } while ((i65 | 0) <= -1);
+ if ((i65 | 0) > 0) {
+ i58 = HEAP32[i64 >> 2] | 0;
+ i62 = i59 + 8 | 0;
+ i66 = HEAP32[i62 >> 2] | 0;
+ i67 = i66 + 4 | 0;
+ i68 = HEAP32[i67 >> 2] | 0;
+ i69 = i58 + 8 | 0;
+ if ((i68 | 0) == (i66 | 0)) {
+ HEAP32[i69 >> 2] = 0;
+ } else {
+ HEAP32[i69 >> 2] = i68;
+ i68 = HEAP32[i67 >> 2] | 0;
+ i69 = i66 | 0;
+ i70 = HEAP32[i69 >> 2] | 0;
+ HEAP32[i68 >> 2] = i70;
+ HEAP32[i70 + 4 >> 2] = i68;
+ HEAP32[i69 >> 2] = i66;
+ HEAP32[i67 >> 2] = i66;
+ }
+ i67 = HEAP32[i59 + 16 >> 2] | 0;
+ i69 = HEAP32[i67 + 32 >> 2] | 0;
+ i68 = HEAP32[i67 + 52 >> 2] | 0;
+ i70 = Math_imul(i68, i69) | 0;
+ i71 = HEAP32[i67 + 36 >> 2] | 0;
+ i72 = HEAP32[i67 + 48 >> 2] | 0;
+ i73 = i70 - (Math_imul(i72, i71) | 0) | 0;
+ i70 = i73;
+ i74 = (i73 | 0) < 0 ? -1 : 0;
+ i73 = HEAP32[i67 + 44 >> 2] | 0;
+ i75 = Math_imul(i73, i71) | 0;
+ i71 = HEAP32[i67 + 28 >> 2] | 0;
+ i76 = i75 - (Math_imul(i71, i68) | 0) | 0;
+ i68 = i76;
+ i75 = (i76 | 0) < 0 ? -1 : 0;
+ i76 = Math_imul(i71, i72) | 0;
+ i72 = i76 - (Math_imul(i73, i69) | 0) | 0;
+ i69 = i72;
+ i73 = (i72 | 0) < 0 ? -1 : 0;
+ i72 = HEAP32[(HEAP32[i62 >> 2] | 0) + 16 >> 2] | 0;
+ i62 = HEAP32[i72 + 32 >> 2] | 0;
+ i76 = HEAP32[i72 + 52 >> 2] | 0;
+ i71 = Math_imul(i76, i62) | 0;
+ i77 = HEAP32[i72 + 36 >> 2] | 0;
+ i78 = HEAP32[i72 + 48 >> 2] | 0;
+ i79 = i71 - (Math_imul(i78, i77) | 0) | 0;
+ i71 = i79;
+ i80 = (i79 | 0) < 0 ? -1 : 0;
+ i79 = HEAP32[i72 + 44 >> 2] | 0;
+ i81 = Math_imul(i79, i77) | 0;
+ i77 = HEAP32[i72 + 28 >> 2] | 0;
+ i82 = i81 - (Math_imul(i77, i76) | 0) | 0;
+ i76 = i82;
+ i81 = (i82 | 0) < 0 ? -1 : 0;
+ i82 = Math_imul(i77, i78) | 0;
+ i78 = i82 - (Math_imul(i79, i62) | 0) | 0;
+ i62 = i78;
+ i79 = (i78 | 0) < 0 ? -1 : 0;
+ i78 = HEAP32[i26 >> 2] | 0;
+ i82 = i78;
+ i77 = (i78 | 0) < 0 ? -1 : 0;
+ i78 = ___muldi3(i82, i77, i70, i74) | 0;
+ i83 = tempRet0;
+ i84 = HEAP32[i6 >> 2] | 0;
+ i85 = i84;
+ i86 = (i84 | 0) < 0 ? -1 : 0;
+ i84 = ___muldi3(i85, i86, i68, i75) | 0;
+ i87 = _i64Add(i84, tempRet0, i78, i83) | 0;
+ i83 = tempRet0;
+ i78 = HEAP32[i25 >> 2] | 0;
+ i84 = i78;
+ i88 = (i78 | 0) < 0 ? -1 : 0;
+ i78 = ___muldi3(i84, i88, i69, i73) | 0;
+ i89 = _i64Add(i87, i83, i78, tempRet0) | 0;
+ i78 = tempRet0;
+ i83 = HEAP32[i29 >> 2] | 0;
+ i87 = i83;
+ i90 = (i83 | 0) < 0 ? -1 : 0;
+ i83 = ___muldi3(i87, i90, i70, i74) | 0;
+ i91 = tempRet0;
+ i92 = HEAP32[i27 >> 2] | 0;
+ i93 = i92;
+ i94 = (i92 | 0) < 0 ? -1 : 0;
+ i92 = ___muldi3(i93, i94, i68, i75) | 0;
+ i95 = _i64Add(i92, tempRet0, i83, i91) | 0;
+ i91 = tempRet0;
+ i83 = HEAP32[i22 >> 2] | 0;
+ i92 = i83;
+ i96 = (i83 | 0) < 0 ? -1 : 0;
+ i83 = ___muldi3(i92, i96, i69, i73) | 0;
+ i97 = _i64Add(i95, i91, i83, tempRet0) | 0;
+ i83 = tempRet0;
+ i91 = ___muldi3(i82, i77, i71, i80) | 0;
+ i77 = tempRet0;
+ i82 = ___muldi3(i85, i86, i76, i81) | 0;
+ i86 = _i64Add(i82, tempRet0, i91, i77) | 0;
+ i77 = tempRet0;
+ i91 = ___muldi3(i84, i88, i62, i79) | 0;
+ i88 = _i64Add(i86, i77, i91, tempRet0) | 0;
+ i91 = tempRet0;
+ i77 = ___muldi3(i87, i90, i71, i80) | 0;
+ i90 = tempRet0;
+ i87 = ___muldi3(i93, i94, i76, i81) | 0;
+ i94 = _i64Add(i87, tempRet0, i77, i90) | 0;
+ i90 = tempRet0;
+ i77 = ___muldi3(i92, i96, i62, i79) | 0;
+ i96 = _i64Add(i94, i90, i77, tempRet0) | 0;
+ i77 = tempRet0;
+ i90 = (HEAP32[i67 + 12 >> 2] | 0) - i35 | 0;
+ i94 = (HEAP32[i67 + 16 >> 2] | 0) - i19 | 0;
+ i92 = (HEAP32[i67 + 20 >> 2] | 0) - i18 | 0;
+ i67 = ___muldi3(i90, (i90 | 0) < 0 ? -1 : 0, i70, i74) | 0;
+ i74 = tempRet0;
+ i70 = ___muldi3(i94, (i94 | 0) < 0 ? -1 : 0, i68, i75) | 0;
+ i75 = _i64Add(i70, tempRet0, i67, i74) | 0;
+ i74 = tempRet0;
+ i67 = ___muldi3(i92, (i92 | 0) < 0 ? -1 : 0, i69, i73) | 0;
+ i73 = _i64Add(i75, i74, i67, tempRet0) | 0;
+ i67 = tempRet0;
+ i74 = (HEAP32[i72 + 12 >> 2] | 0) - i35 | 0;
+ i75 = (HEAP32[i72 + 16 >> 2] | 0) - i19 | 0;
+ i69 = (HEAP32[i72 + 20 >> 2] | 0) - i18 | 0;
+ i72 = ___muldi3(i74, (i74 | 0) < 0 ? -1 : 0, i71, i80) | 0;
+ i80 = tempRet0;
+ i71 = ___muldi3(i75, (i75 | 0) < 0 ? -1 : 0, i76, i81) | 0;
+ i81 = _i64Add(i71, tempRet0, i72, i80) | 0;
+ i80 = tempRet0;
+ i72 = ___muldi3(i69, (i69 | 0) < 0 ? -1 : 0, i62, i79) | 0;
+ i79 = _i64Add(i81, i80, i72, tempRet0) | 0;
+ i72 = tempRet0;
+ i80 = 0;
+ i81 = (i78 | 0) < (i80 | 0) | (i78 | 0) == (i80 | 0) & i89 >>> 0 < 0 >>> 0;
+ i80 = _i64Subtract(0, 0, i89, i78) | 0;
+ i62 = i81 ? tempRet0 : i78;
+ i78 = 0;
+ i69 = (i77 | 0) < (i78 | 0) | (i77 | 0) == (i78 | 0) & i96 >>> 0 < 0 >>> 0;
+ if (i69) {
+ i78 = _i64Subtract(0, 0, i96, i77) | 0;
+ i98 = i81 ^ 1;
+ i99 = tempRet0;
+ i100 = i78;
+ } else {
+ i98 = i81;
+ i99 = i77;
+ i100 = i96;
+ }
+ i78 = (i81 ? i80 : i89) | 0;
+ i89 = i62 & 0;
+ i80 = i100 | 0;
+ i71 = i99 & 0;
+ i76 = ___muldi3(i80, i71, i78, i89) | 0;
+ i75 = tempRet0;
+ i74 = i99;
+ i92 = 0;
+ i70 = ___muldi3(i74, i92, i78, i89) | 0;
+ i68 = tempRet0;
+ i94 = i62;
+ i62 = 0;
+ i90 = ___muldi3(i80, i71, i94, i62) | 0;
+ i71 = tempRet0;
+ i80 = ___muldi3(i74, i92, i94, i62) | 0;
+ i92 = tempRet0;
+ i74 = _i64Add(i70 | 0, i68 & 0, i90 | 0, i71 & 0) | 0;
+ i90 = tempRet0;
+ i70 = _i64Add(i68, 0, i80, i92) | 0;
+ i92 = _i64Add(i70, tempRet0, i71, 0) | 0;
+ i71 = tempRet0;
+ i70 = _llvm_uadd_with_overflow_i64(i76 | 0, i75 | 0, 0, i74 | 0) | 0;
+ i74 = i70;
+ i70 = tempRet0;
+ i75 = _i64Add(i92, i71, tempRet1 & 1, 0) | 0;
+ i71 = _i64Add(i75, tempRet0, i90, 0) | 0;
+ i90 = tempRet0;
+ if (i98) {
+ i75 = _i64Subtract(0, 0, i74, i70) | 0;
+ i92 = tempRet0;
+ i76 = _i64Add((i74 | 0) == 0 & (i70 | 0) == 0 & 1, 0, ~i71, ~i90) | 0;
+ i101 = i92;
+ i102 = i75;
+ i103 = tempRet0;
+ i104 = i76;
+ } else {
+ i101 = i70;
+ i102 = i74;
+ i103 = i90;
+ i104 = i71;
+ }
+ i71 = 0;
+ i90 = (i83 | 0) < (i71 | 0) | (i83 | 0) == (i71 | 0) & i97 >>> 0 < 0 >>> 0;
+ i71 = _i64Subtract(0, 0, i97, i83) | 0;
+ i74 = i90 ? tempRet0 : i83;
+ i83 = 0;
+ i70 = (i91 | 0) < (i83 | 0) | (i91 | 0) == (i83 | 0) & i88 >>> 0 < 0 >>> 0;
+ if (i70) {
+ i83 = _i64Subtract(0, 0, i88, i91) | 0;
+ i105 = i90 ^ 1;
+ i106 = tempRet0;
+ i107 = i83;
+ } else {
+ i105 = i90;
+ i106 = i91;
+ i107 = i88;
+ }
+ i83 = (i90 ? i71 : i97) | 0;
+ i97 = i74 & 0;
+ i71 = i107 | 0;
+ i76 = i106 & 0;
+ i75 = ___muldi3(i71, i76, i83, i97) | 0;
+ i92 = tempRet0;
+ i80 = i106;
+ i68 = 0;
+ i87 = ___muldi3(i80, i68, i83, i97) | 0;
+ i93 = tempRet0;
+ i86 = i74;
+ i74 = 0;
+ i84 = ___muldi3(i71, i76, i86, i74) | 0;
+ i76 = tempRet0;
+ i71 = ___muldi3(i80, i68, i86, i74) | 0;
+ i68 = tempRet0;
+ i80 = _i64Add(i87 | 0, i93 & 0, i84 | 0, i76 & 0) | 0;
+ i84 = tempRet0;
+ i87 = _i64Add(i93, 0, i71, i68) | 0;
+ i68 = _i64Add(i87, tempRet0, i76, 0) | 0;
+ i76 = tempRet0;
+ i87 = _llvm_uadd_with_overflow_i64(i75 | 0, i92 | 0, 0, i80 | 0) | 0;
+ i80 = i87;
+ i87 = tempRet0;
+ i92 = _i64Add(i68, i76, tempRet1 & 1, 0) | 0;
+ i76 = _i64Add(i92, tempRet0, i84, 0) | 0;
+ i84 = tempRet0;
+ if (i105) {
+ i92 = _i64Subtract(0, 0, i80, i87) | 0;
+ i68 = tempRet0;
+ i75 = _i64Add((i80 | 0) == 0 & (i87 | 0) == 0 & 1, 0, ~i76, ~i84) | 0;
+ i108 = i68;
+ i109 = i92;
+ i110 = tempRet0;
+ i111 = i75;
+ } else {
+ i108 = i87;
+ i109 = i80;
+ i110 = i84;
+ i111 = i76;
+ }
+ i76 = _i64Subtract(0, 0, i109, i108) | 0;
+ i84 = _llvm_uadd_with_overflow_i64(i102 | 0, i101 | 0, i76 | 0, tempRet0 | 0) | 0;
+ i76 = i84;
+ i84 = tempRet0;
+ i80 = tempRet1 & 1;
+ i87 = _i64Add(i104, i103, ~i111, ~i110) | 0;
+ i75 = _i64Add(i87, tempRet0, (i109 | 0) == 0 & (i108 | 0) == 0 & 1, 0) | 0;
+ i87 = _i64Add(i75, tempRet0, i80, 0) | 0;
+ i80 = tempRet0;
+ i75 = __ZN20btConvexHullInternal4PoolINS_6VertexEE9newObjectEv(i12) | 0;
+ HEAP32[i75 + 100 >> 2] = -1;
+ HEAP32[i75 + 104 >> 2] = -1;
+ i92 = HEAP32[i26 >> 2] | 0;
+ i68 = i92;
+ i71 = (i92 | 0) < 0 ? -1 : 0;
+ i92 = ___muldi3(i68, i71, i73, i67) | 0;
+ i93 = tempRet0;
+ i82 = 0;
+ i85 = (i93 | 0) < (i82 | 0) | (i93 | 0) == (i82 | 0) & i92 >>> 0 < 0 >>> 0;
+ i82 = _i64Subtract(0, 0, i92, i93) | 0;
+ i95 = i85 ? tempRet0 : i93;
+ if (i69) {
+ i93 = _i64Subtract(0, 0, i96, i77) | 0;
+ i112 = i85 ^ 1;
+ i113 = tempRet0;
+ i114 = i93;
+ } else {
+ i112 = i85;
+ i113 = i77;
+ i114 = i96;
+ }
+ i93 = (i85 ? i82 : i92) | 0;
+ i92 = i95 & 0;
+ i82 = i114 | 0;
+ i85 = i113 & 0;
+ i115 = ___muldi3(i82, i85, i93, i92) | 0;
+ i116 = tempRet0;
+ i117 = i113;
+ i118 = 0;
+ i119 = ___muldi3(i117, i118, i93, i92) | 0;
+ i92 = tempRet0;
+ i93 = i95;
+ i95 = 0;
+ i120 = ___muldi3(i82, i85, i93, i95) | 0;
+ i85 = tempRet0;
+ i82 = ___muldi3(i117, i118, i93, i95) | 0;
+ i95 = tempRet0;
+ i93 = _i64Add(i119 | 0, i92 & 0, i120 | 0, i85 & 0) | 0;
+ i120 = tempRet0;
+ i119 = _i64Add(i92, 0, i82, i95) | 0;
+ i95 = _i64Add(i119, tempRet0, i85, 0) | 0;
+ i85 = tempRet0;
+ i119 = _llvm_uadd_with_overflow_i64(i115 | 0, i116 | 0, 0, i93 | 0) | 0;
+ i93 = i119;
+ i119 = tempRet0;
+ i116 = _i64Add(i95, i85, tempRet1 & 1, 0) | 0;
+ i85 = _i64Add(i116, tempRet0, i120, 0) | 0;
+ i120 = tempRet0;
+ if (i112) {
+ i116 = _i64Subtract(0, 0, i93, i119) | 0;
+ i95 = tempRet0;
+ i115 = _i64Add((i93 | 0) == 0 & (i119 | 0) == 0 & 1, 0, ~i85, ~i120) | 0;
+ i121 = i95;
+ i122 = i116;
+ i123 = tempRet0;
+ i124 = i115;
+ } else {
+ i121 = i119;
+ i122 = i93;
+ i123 = i120;
+ i124 = i85;
+ }
+ i85 = ___muldi3(i68, i71, i79, i72) | 0;
+ i71 = tempRet0;
+ i68 = 0;
+ i120 = (i71 | 0) < (i68 | 0) | (i71 | 0) == (i68 | 0) & i85 >>> 0 < 0 >>> 0;
+ i68 = _i64Subtract(0, 0, i85, i71) | 0;
+ i93 = i120 ? tempRet0 : i71;
+ i71 = (i120 ? i68 : i85) | 0;
+ i85 = i93 & 0;
+ i68 = ___muldi3(i71, i85, i83, i97) | 0;
+ i119 = tempRet0;
+ i115 = ___muldi3(i71, i85, i86, i74) | 0;
+ i85 = tempRet0;
+ i71 = i93;
+ i93 = 0;
+ i116 = ___muldi3(i71, i93, i83, i97) | 0;
+ i95 = tempRet0;
+ i82 = ___muldi3(i71, i93, i86, i74) | 0;
+ i93 = tempRet0;
+ i71 = _i64Add(i115 | 0, i85 & 0, i116 | 0, i95 & 0) | 0;
+ i116 = tempRet0;
+ i115 = _llvm_uadd_with_overflow_i64(i68 | 0, i119 | 0, 0, i71 | 0) | 0;
+ i71 = i115;
+ i115 = tempRet0;
+ i119 = tempRet1 & 1;
+ i68 = _i64Add(i85, 0, i82, i93) | 0;
+ i93 = _i64Add(i68, tempRet0, i95, 0) | 0;
+ i95 = _i64Add(i93, tempRet0, i116, 0) | 0;
+ i116 = _i64Add(i95, tempRet0, i119, 0) | 0;
+ i119 = tempRet0;
+ if (i120 ^ i90) {
+ i120 = _i64Subtract(0, 0, i71, i115) | 0;
+ i95 = tempRet0;
+ i93 = _i64Add((i71 | 0) == 0 & (i115 | 0) == 0 & 1, 0, ~i116, ~i119) | 0;
+ i125 = i95;
+ i126 = i120;
+ i127 = tempRet0;
+ i128 = i93;
+ } else {
+ i125 = i115;
+ i126 = i71;
+ i127 = i119;
+ i128 = i116;
+ }
+ i116 = _i64Subtract(0, 0, i126, i125) | 0;
+ i119 = _llvm_uadd_with_overflow_i64(i122 | 0, i121 | 0, i116 | 0, tempRet0 | 0) | 0;
+ i116 = tempRet0;
+ i71 = tempRet1 & 1;
+ i115 = HEAP32[i29 >> 2] | 0;
+ i93 = i115;
+ i120 = (i115 | 0) < 0 ? -1 : 0;
+ i115 = ___muldi3(i93, i120, i79, i72) | 0;
+ i95 = tempRet0;
+ i68 = 0;
+ i82 = (i95 | 0) < (i68 | 0) | (i95 | 0) == (i68 | 0) & i115 >>> 0 < 0 >>> 0;
+ i68 = _i64Subtract(0, 0, i115, i95) | 0;
+ i85 = i82 ? tempRet0 : i95;
+ i95 = (i82 ? i68 : i115) | 0;
+ i115 = i85 & 0;
+ i68 = ___muldi3(i95, i115, i78, i89) | 0;
+ i92 = tempRet0;
+ i118 = ___muldi3(i95, i115, i94, i62) | 0;
+ i115 = tempRet0;
+ i95 = i85;
+ i85 = 0;
+ i117 = ___muldi3(i95, i85, i78, i89) | 0;
+ i129 = tempRet0;
+ i130 = ___muldi3(i95, i85, i94, i62) | 0;
+ i85 = tempRet0;
+ i95 = _i64Add(i118 | 0, i115 & 0, i117 | 0, i129 & 0) | 0;
+ i117 = tempRet0;
+ i118 = _llvm_uadd_with_overflow_i64(i68 | 0, i92 | 0, 0, i95 | 0) | 0;
+ i95 = i118;
+ i118 = tempRet0;
+ i92 = _i64Add(i130, i85, tempRet1 & 1, 0) | 0;
+ i85 = _i64Add(i92, tempRet0, i115, 0) | 0;
+ i115 = _i64Add(i85, tempRet0, i129, 0) | 0;
+ i129 = _i64Add(i115, tempRet0, i117, 0) | 0;
+ i117 = tempRet0;
+ if (i82 ^ i81) {
+ i82 = _i64Subtract(0, 0, i95, i118) | 0;
+ i115 = tempRet0;
+ i85 = _i64Add((i95 | 0) == 0 & (i118 | 0) == 0 & 1, 0, ~i129, ~i117) | 0;
+ i131 = i115;
+ i132 = i82;
+ i133 = tempRet0;
+ i134 = i85;
+ } else {
+ i131 = i118;
+ i132 = i95;
+ i133 = i117;
+ i134 = i129;
+ }
+ i129 = _llvm_uadd_with_overflow_i64(i119 | 0, i116 | 0, i132 | 0, i131 | 0) | 0;
+ i116 = tempRet0;
+ i119 = tempRet1 & 1;
+ i117 = ___muldi3(i93, i120, i73, i67) | 0;
+ i120 = tempRet0;
+ i93 = 0;
+ i95 = (i120 | 0) < (i93 | 0) | (i120 | 0) == (i93 | 0) & i117 >>> 0 < 0 >>> 0;
+ i93 = _i64Subtract(0, 0, i117, i120) | 0;
+ i118 = i95 ? tempRet0 : i120;
+ if (i70) {
+ i120 = _i64Subtract(0, 0, i88, i91) | 0;
+ i135 = i95 ^ 1;
+ i136 = tempRet0;
+ i137 = i120;
+ } else {
+ i135 = i95;
+ i136 = i91;
+ i137 = i88;
+ }
+ i120 = (i95 ? i93 : i117) | 0;
+ i117 = i118 & 0;
+ i93 = i137 | 0;
+ i95 = i136 & 0;
+ i85 = ___muldi3(i93, i95, i120, i117) | 0;
+ i82 = tempRet0;
+ i115 = i136;
+ i92 = 0;
+ i130 = ___muldi3(i115, i92, i120, i117) | 0;
+ i117 = tempRet0;
+ i120 = i118;
+ i118 = 0;
+ i68 = ___muldi3(i93, i95, i120, i118) | 0;
+ i95 = tempRet0;
+ i93 = ___muldi3(i115, i92, i120, i118) | 0;
+ i118 = tempRet0;
+ i120 = _i64Add(i130 | 0, i117 & 0, i68 | 0, i95 & 0) | 0;
+ i68 = tempRet0;
+ i130 = _i64Add(i117, 0, i93, i118) | 0;
+ i118 = _i64Add(i130, tempRet0, i95, 0) | 0;
+ i95 = tempRet0;
+ i130 = _llvm_uadd_with_overflow_i64(i85 | 0, i82 | 0, 0, i120 | 0) | 0;
+ i120 = i130;
+ i130 = tempRet0;
+ i82 = _i64Add(i118, i95, tempRet1 & 1, 0) | 0;
+ i95 = _i64Add(i82, tempRet0, i68, 0) | 0;
+ i68 = tempRet0;
+ if (i135) {
+ i82 = _i64Subtract(0, 0, i120, i130) | 0;
+ i118 = tempRet0;
+ i85 = _i64Add((i120 | 0) == 0 & (i130 | 0) == 0 & 1, 0, ~i95, ~i68) | 0;
+ i138 = i118;
+ i139 = i82;
+ i140 = tempRet0;
+ i141 = i85;
+ } else {
+ i138 = i130;
+ i139 = i120;
+ i140 = i68;
+ i141 = i95;
+ }
+ i95 = _i64Subtract(0, 0, i139, i138) | 0;
+ i68 = _llvm_uadd_with_overflow_i64(i129 | 0, i116 | 0, i95 | 0, tempRet0 | 0) | 0;
+ i95 = tempRet0;
+ i116 = tempRet1 & 1;
+ i129 = 0;
+ i120 = (i80 | 0) < (i129 | 0) | (i80 | 0) == (i129 | 0) & i87 >>> 0 < 0 >>> 0;
+ if (i120) {
+ i129 = _i64Subtract(0, 0, i76, i84) | 0;
+ i130 = tempRet0;
+ i85 = _i64Add((i76 | 0) == 0 & (i84 | 0) == 0 & 1, 0, ~i87, ~i80) | 0;
+ i142 = i130;
+ i143 = i129;
+ i144 = tempRet0;
+ i145 = i85;
+ } else {
+ i142 = i84;
+ i143 = i76;
+ i144 = i80;
+ i145 = i87;
+ }
+ i85 = i45 ? i47 : i7;
+ i129 = i45 ? i46 : i38;
+ i130 = i143 | 0;
+ i82 = i142 & 0;
+ i118 = i85 | 0;
+ i93 = i129 & 0;
+ i117 = ___muldi3(i118, i93, i130, i82) | 0;
+ i92 = tempRet0;
+ i115 = i129;
+ i146 = 0;
+ i147 = ___muldi3(i115, i146, i130, i82) | 0;
+ i82 = tempRet0;
+ i130 = i142;
+ i148 = 0;
+ i149 = ___muldi3(i118, i93, i130, i148) | 0;
+ i93 = tempRet0;
+ i118 = ___muldi3(i115, i146, i130, i148) | 0;
+ i148 = tempRet0;
+ i130 = _i64Add(i147 | 0, i82 & 0, i149 | 0, i93 & 0) | 0;
+ i149 = tempRet0;
+ i147 = _llvm_uadd_with_overflow_i64(i117 | 0, i92 | 0, 0, i130 | 0) | 0;
+ i130 = i147;
+ i147 = tempRet0;
+ i92 = tempRet1 & 1;
+ i117 = ___muldi3(i85, i129, i145, i144) | 0;
+ i129 = _i64Add(i118, i148, i117, tempRet0) | 0;
+ i117 = _i64Add(i129, tempRet0, i82, 0) | 0;
+ i82 = _i64Add(i117, tempRet0, i93, 0) | 0;
+ i93 = _i64Add(i82, tempRet0, i92, 0) | 0;
+ i92 = _i64Add(i93, tempRet0, i149, 0) | 0;
+ i149 = tempRet0;
+ if (i120 ^ i45) {
+ i93 = _i64Subtract(0, 0, i130, i147) | 0;
+ i82 = tempRet0;
+ i117 = _i64Add((i130 | 0) == 0 & (i147 | 0) == 0 & 1, 0, ~i92, ~i149) | 0;
+ i150 = i82;
+ i151 = i93;
+ i152 = tempRet0;
+ i153 = i117;
+ } else {
+ i150 = i147;
+ i151 = i130;
+ i152 = i149;
+ i153 = i92;
+ }
+ i92 = _llvm_uadd_with_overflow_i64(i68 | 0, i95 | 0, i151 | 0, i150 | 0) | 0;
+ i95 = tempRet0;
+ i68 = tempRet1 & 1;
+ i149 = _i64Add(i124, i123, ~i128, ~i127) | 0;
+ i130 = _i64Add(i149, tempRet0, (i126 | 0) == 0 & (i125 | 0) == 0 & 1, 0) | 0;
+ i149 = _i64Add(i130, tempRet0, i71, 0) | 0;
+ i71 = _i64Add(i149, tempRet0, i134, i133) | 0;
+ i149 = _i64Add(i71, tempRet0, i119, 0) | 0;
+ i119 = _i64Add(i149, tempRet0, ~i141, ~i140) | 0;
+ i149 = _i64Add(i119, tempRet0, (i139 | 0) == 0 & (i138 | 0) == 0 & 1, 0) | 0;
+ i119 = _i64Add(i149, tempRet0, i116, 0) | 0;
+ i116 = _i64Add(i119, tempRet0, i153, i152) | 0;
+ i119 = _i64Add(i116, tempRet0, i68, 0) | 0;
+ i68 = tempRet0;
+ i116 = HEAP32[i6 >> 2] | 0;
+ i149 = i116;
+ i71 = (i116 | 0) < 0 ? -1 : 0;
+ i116 = ___muldi3(i149, i71, i73, i67) | 0;
+ i130 = tempRet0;
+ i147 = 0;
+ i117 = (i130 | 0) < (i147 | 0) | (i130 | 0) == (i147 | 0) & i116 >>> 0 < 0 >>> 0;
+ i147 = _i64Subtract(0, 0, i116, i130) | 0;
+ i93 = i117 ? tempRet0 : i130;
+ if (i69) {
+ i130 = _i64Subtract(0, 0, i96, i77) | 0;
+ i154 = i117 ^ 1;
+ i155 = tempRet0;
+ i156 = i130;
+ } else {
+ i154 = i117;
+ i155 = i77;
+ i156 = i96;
+ }
+ i130 = (i117 ? i147 : i116) | 0;
+ i116 = i93 & 0;
+ i147 = i156 | 0;
+ i117 = i155 & 0;
+ i82 = ___muldi3(i147, i117, i130, i116) | 0;
+ i129 = tempRet0;
+ i148 = i155;
+ i118 = 0;
+ i85 = ___muldi3(i148, i118, i130, i116) | 0;
+ i116 = tempRet0;
+ i130 = i93;
+ i93 = 0;
+ i146 = ___muldi3(i147, i117, i130, i93) | 0;
+ i117 = tempRet0;
+ i147 = ___muldi3(i148, i118, i130, i93) | 0;
+ i93 = tempRet0;
+ i130 = _i64Add(i85 | 0, i116 & 0, i146 | 0, i117 & 0) | 0;
+ i146 = tempRet0;
+ i85 = _i64Add(i116, 0, i147, i93) | 0;
+ i93 = _i64Add(i85, tempRet0, i117, 0) | 0;
+ i117 = tempRet0;
+ i85 = _llvm_uadd_with_overflow_i64(i82 | 0, i129 | 0, 0, i130 | 0) | 0;
+ i130 = i85;
+ i85 = tempRet0;
+ i129 = _i64Add(i93, i117, tempRet1 & 1, 0) | 0;
+ i117 = _i64Add(i129, tempRet0, i146, 0) | 0;
+ i146 = tempRet0;
+ if (i154) {
+ i129 = _i64Subtract(0, 0, i130, i85) | 0;
+ i93 = tempRet0;
+ i82 = _i64Add((i130 | 0) == 0 & (i85 | 0) == 0 & 1, 0, ~i117, ~i146) | 0;
+ i157 = i93;
+ i158 = i129;
+ i159 = tempRet0;
+ i160 = i82;
+ } else {
+ i157 = i85;
+ i158 = i130;
+ i159 = i146;
+ i160 = i117;
+ }
+ i117 = ___muldi3(i149, i71, i79, i72) | 0;
+ i71 = tempRet0;
+ i149 = 0;
+ i146 = (i71 | 0) < (i149 | 0) | (i71 | 0) == (i149 | 0) & i117 >>> 0 < 0 >>> 0;
+ i149 = _i64Subtract(0, 0, i117, i71) | 0;
+ i130 = i146 ? tempRet0 : i71;
+ i71 = (i146 ? i149 : i117) | 0;
+ i117 = i130 & 0;
+ i149 = ___muldi3(i71, i117, i83, i97) | 0;
+ i85 = tempRet0;
+ i82 = ___muldi3(i71, i117, i86, i74) | 0;
+ i117 = tempRet0;
+ i71 = i130;
+ i130 = 0;
+ i129 = ___muldi3(i71, i130, i83, i97) | 0;
+ i93 = tempRet0;
+ i147 = ___muldi3(i71, i130, i86, i74) | 0;
+ i130 = tempRet0;
+ i71 = _i64Add(i82 | 0, i117 & 0, i129 | 0, i93 & 0) | 0;
+ i129 = tempRet0;
+ i82 = _llvm_uadd_with_overflow_i64(i149 | 0, i85 | 0, 0, i71 | 0) | 0;
+ i71 = i82;
+ i82 = tempRet0;
+ i85 = tempRet1 & 1;
+ i149 = _i64Add(i117, 0, i147, i130) | 0;
+ i130 = _i64Add(i149, tempRet0, i93, 0) | 0;
+ i93 = _i64Add(i130, tempRet0, i129, 0) | 0;
+ i129 = _i64Add(i93, tempRet0, i85, 0) | 0;
+ i85 = tempRet0;
+ if (i146 ^ i90) {
+ i146 = _i64Subtract(0, 0, i71, i82) | 0;
+ i93 = tempRet0;
+ i130 = _i64Add((i71 | 0) == 0 & (i82 | 0) == 0 & 1, 0, ~i129, ~i85) | 0;
+ i161 = i93;
+ i162 = i146;
+ i163 = tempRet0;
+ i164 = i130;
+ } else {
+ i161 = i82;
+ i162 = i71;
+ i163 = i85;
+ i164 = i129;
+ }
+ i129 = _i64Subtract(0, 0, i162, i161) | 0;
+ i85 = _llvm_uadd_with_overflow_i64(i158 | 0, i157 | 0, i129 | 0, tempRet0 | 0) | 0;
+ i129 = tempRet0;
+ i71 = tempRet1 & 1;
+ i82 = HEAP32[i27 >> 2] | 0;
+ i130 = i82;
+ i146 = (i82 | 0) < 0 ? -1 : 0;
+ i82 = ___muldi3(i130, i146, i79, i72) | 0;
+ i93 = tempRet0;
+ i149 = 0;
+ i147 = (i93 | 0) < (i149 | 0) | (i93 | 0) == (i149 | 0) & i82 >>> 0 < 0 >>> 0;
+ i149 = _i64Subtract(0, 0, i82, i93) | 0;
+ i117 = i147 ? tempRet0 : i93;
+ i93 = (i147 ? i149 : i82) | 0;
+ i82 = i117 & 0;
+ i149 = ___muldi3(i93, i82, i78, i89) | 0;
+ i116 = tempRet0;
+ i118 = ___muldi3(i93, i82, i94, i62) | 0;
+ i82 = tempRet0;
+ i93 = i117;
+ i117 = 0;
+ i148 = ___muldi3(i93, i117, i78, i89) | 0;
+ i115 = tempRet0;
+ i165 = ___muldi3(i93, i117, i94, i62) | 0;
+ i117 = tempRet0;
+ i93 = _i64Add(i118 | 0, i82 & 0, i148 | 0, i115 & 0) | 0;
+ i148 = tempRet0;
+ i118 = _llvm_uadd_with_overflow_i64(i149 | 0, i116 | 0, 0, i93 | 0) | 0;
+ i93 = i118;
+ i118 = tempRet0;
+ i116 = _i64Add(i165, i117, tempRet1 & 1, 0) | 0;
+ i117 = _i64Add(i116, tempRet0, i82, 0) | 0;
+ i82 = _i64Add(i117, tempRet0, i115, 0) | 0;
+ i115 = _i64Add(i82, tempRet0, i148, 0) | 0;
+ i148 = tempRet0;
+ if (i147 ^ i81) {
+ i147 = _i64Subtract(0, 0, i93, i118) | 0;
+ i82 = tempRet0;
+ i117 = _i64Add((i93 | 0) == 0 & (i118 | 0) == 0 & 1, 0, ~i115, ~i148) | 0;
+ i166 = i82;
+ i167 = i147;
+ i168 = tempRet0;
+ i169 = i117;
+ } else {
+ i166 = i118;
+ i167 = i93;
+ i168 = i148;
+ i169 = i115;
+ }
+ i115 = _llvm_uadd_with_overflow_i64(i85 | 0, i129 | 0, i167 | 0, i166 | 0) | 0;
+ i129 = tempRet0;
+ i85 = tempRet1 & 1;
+ i148 = ___muldi3(i130, i146, i73, i67) | 0;
+ i146 = tempRet0;
+ i130 = 0;
+ i93 = (i146 | 0) < (i130 | 0) | (i146 | 0) == (i130 | 0) & i148 >>> 0 < 0 >>> 0;
+ i130 = _i64Subtract(0, 0, i148, i146) | 0;
+ i118 = i93 ? tempRet0 : i146;
+ if (i70) {
+ i146 = _i64Subtract(0, 0, i88, i91) | 0;
+ i170 = i93 ^ 1;
+ i171 = tempRet0;
+ i172 = i146;
+ } else {
+ i170 = i93;
+ i171 = i91;
+ i172 = i88;
+ }
+ i146 = (i93 ? i130 : i148) | 0;
+ i148 = i118 & 0;
+ i130 = i172 | 0;
+ i93 = i171 & 0;
+ i117 = ___muldi3(i130, i93, i146, i148) | 0;
+ i147 = tempRet0;
+ i82 = i171;
+ i116 = 0;
+ i165 = ___muldi3(i82, i116, i146, i148) | 0;
+ i148 = tempRet0;
+ i146 = i118;
+ i118 = 0;
+ i149 = ___muldi3(i130, i93, i146, i118) | 0;
+ i93 = tempRet0;
+ i130 = ___muldi3(i82, i116, i146, i118) | 0;
+ i118 = tempRet0;
+ i146 = _i64Add(i165 | 0, i148 & 0, i149 | 0, i93 & 0) | 0;
+ i149 = tempRet0;
+ i165 = _i64Add(i148, 0, i130, i118) | 0;
+ i118 = _i64Add(i165, tempRet0, i93, 0) | 0;
+ i93 = tempRet0;
+ i165 = _llvm_uadd_with_overflow_i64(i117 | 0, i147 | 0, 0, i146 | 0) | 0;
+ i146 = i165;
+ i165 = tempRet0;
+ i147 = _i64Add(i118, i93, tempRet1 & 1, 0) | 0;
+ i93 = _i64Add(i147, tempRet0, i149, 0) | 0;
+ i149 = tempRet0;
+ if (i170) {
+ i147 = _i64Subtract(0, 0, i146, i165) | 0;
+ i118 = tempRet0;
+ i117 = _i64Add((i146 | 0) == 0 & (i165 | 0) == 0 & 1, 0, ~i93, ~i149) | 0;
+ i173 = i118;
+ i174 = i147;
+ i175 = tempRet0;
+ i176 = i117;
+ } else {
+ i173 = i165;
+ i174 = i146;
+ i175 = i149;
+ i176 = i93;
+ }
+ i93 = _i64Subtract(0, 0, i174, i173) | 0;
+ i149 = _llvm_uadd_with_overflow_i64(i115 | 0, i129 | 0, i93 | 0, tempRet0 | 0) | 0;
+ i93 = tempRet0;
+ i129 = tempRet1 & 1;
+ if (i120) {
+ i115 = _i64Subtract(0, 0, i76, i84) | 0;
+ i146 = tempRet0;
+ i165 = _i64Add((i76 | 0) == 0 & (i84 | 0) == 0 & 1, 0, ~i87, ~i80) | 0;
+ i177 = i146;
+ i178 = i115;
+ i179 = tempRet0;
+ i180 = i165;
+ } else {
+ i177 = i84;
+ i178 = i76;
+ i179 = i80;
+ i180 = i87;
+ }
+ i165 = i48 ? i10 : i24;
+ i115 = i48 ? i41 : i34;
+ i146 = i178 | 0;
+ i117 = i177 & 0;
+ i147 = i165 | 0;
+ i118 = i115 & 0;
+ i130 = ___muldi3(i147, i118, i146, i117) | 0;
+ i148 = tempRet0;
+ i116 = i115;
+ i82 = 0;
+ i181 = ___muldi3(i116, i82, i146, i117) | 0;
+ i117 = tempRet0;
+ i146 = i177;
+ i182 = 0;
+ i183 = ___muldi3(i147, i118, i146, i182) | 0;
+ i118 = tempRet0;
+ i147 = ___muldi3(i116, i82, i146, i182) | 0;
+ i182 = tempRet0;
+ i146 = _i64Add(i181 | 0, i117 & 0, i183 | 0, i118 & 0) | 0;
+ i183 = tempRet0;
+ i181 = _llvm_uadd_with_overflow_i64(i130 | 0, i148 | 0, 0, i146 | 0) | 0;
+ i146 = i181;
+ i181 = tempRet0;
+ i148 = tempRet1 & 1;
+ i130 = ___muldi3(i165, i115, i180, i179) | 0;
+ i115 = _i64Add(i147, i182, i130, tempRet0) | 0;
+ i130 = _i64Add(i115, tempRet0, i117, 0) | 0;
+ i117 = _i64Add(i130, tempRet0, i118, 0) | 0;
+ i118 = _i64Add(i117, tempRet0, i148, 0) | 0;
+ i148 = _i64Add(i118, tempRet0, i183, 0) | 0;
+ i183 = tempRet0;
+ if (i120 ^ i48) {
+ i118 = _i64Subtract(0, 0, i146, i181) | 0;
+ i117 = tempRet0;
+ i130 = _i64Add((i146 | 0) == 0 & (i181 | 0) == 0 & 1, 0, ~i148, ~i183) | 0;
+ i184 = i117;
+ i185 = i118;
+ i186 = tempRet0;
+ i187 = i130;
+ } else {
+ i184 = i181;
+ i185 = i146;
+ i186 = i183;
+ i187 = i148;
+ }
+ i148 = _llvm_uadd_with_overflow_i64(i149 | 0, i93 | 0, i185 | 0, i184 | 0) | 0;
+ i93 = tempRet0;
+ i149 = tempRet1 & 1;
+ i183 = _i64Add(i160, i159, ~i164, ~i163) | 0;
+ i146 = _i64Add(i183, tempRet0, (i162 | 0) == 0 & (i161 | 0) == 0 & 1, 0) | 0;
+ i183 = _i64Add(i146, tempRet0, i71, 0) | 0;
+ i71 = _i64Add(i183, tempRet0, i169, i168) | 0;
+ i183 = _i64Add(i71, tempRet0, i85, 0) | 0;
+ i85 = _i64Add(i183, tempRet0, ~i176, ~i175) | 0;
+ i183 = _i64Add(i85, tempRet0, (i174 | 0) == 0 & (i173 | 0) == 0 & 1, 0) | 0;
+ i85 = _i64Add(i183, tempRet0, i129, 0) | 0;
+ i129 = _i64Add(i85, tempRet0, i187, i186) | 0;
+ i85 = _i64Add(i129, tempRet0, i149, 0) | 0;
+ i149 = tempRet0;
+ i129 = HEAP32[i25 >> 2] | 0;
+ i183 = i129;
+ i71 = (i129 | 0) < 0 ? -1 : 0;
+ i129 = ___muldi3(i183, i71, i73, i67) | 0;
+ i146 = tempRet0;
+ i181 = 0;
+ i130 = (i146 | 0) < (i181 | 0) | (i146 | 0) == (i181 | 0) & i129 >>> 0 < 0 >>> 0;
+ i181 = _i64Subtract(0, 0, i129, i146) | 0;
+ i118 = i130 ? tempRet0 : i146;
+ if (i69) {
+ i69 = _i64Subtract(0, 0, i96, i77) | 0;
+ i188 = i130 ^ 1;
+ i189 = tempRet0;
+ i190 = i69;
+ } else {
+ i188 = i130;
+ i189 = i77;
+ i190 = i96;
+ }
+ i96 = (i130 ? i181 : i129) | 0;
+ i129 = i118 & 0;
+ i181 = i190 | 0;
+ i130 = i189 & 0;
+ i77 = ___muldi3(i181, i130, i96, i129) | 0;
+ i69 = tempRet0;
+ i146 = i189;
+ i117 = 0;
+ i115 = ___muldi3(i146, i117, i96, i129) | 0;
+ i129 = tempRet0;
+ i96 = i118;
+ i118 = 0;
+ i182 = ___muldi3(i181, i130, i96, i118) | 0;
+ i130 = tempRet0;
+ i181 = ___muldi3(i146, i117, i96, i118) | 0;
+ i118 = tempRet0;
+ i96 = _i64Add(i115 | 0, i129 & 0, i182 | 0, i130 & 0) | 0;
+ i182 = tempRet0;
+ i115 = _i64Add(i129, 0, i181, i118) | 0;
+ i118 = _i64Add(i115, tempRet0, i130, 0) | 0;
+ i130 = tempRet0;
+ i115 = _llvm_uadd_with_overflow_i64(i77 | 0, i69 | 0, 0, i96 | 0) | 0;
+ i96 = i115;
+ i115 = tempRet0;
+ i69 = _i64Add(i118, i130, tempRet1 & 1, 0) | 0;
+ i130 = _i64Add(i69, tempRet0, i182, 0) | 0;
+ i182 = tempRet0;
+ if (i188) {
+ i69 = _i64Subtract(0, 0, i96, i115) | 0;
+ i118 = tempRet0;
+ i77 = _i64Add((i96 | 0) == 0 & (i115 | 0) == 0 & 1, 0, ~i130, ~i182) | 0;
+ i191 = i118;
+ i192 = i69;
+ i193 = tempRet0;
+ i194 = i77;
+ } else {
+ i191 = i115;
+ i192 = i96;
+ i193 = i182;
+ i194 = i130;
+ }
+ i130 = ___muldi3(i183, i71, i79, i72) | 0;
+ i71 = tempRet0;
+ i183 = 0;
+ i182 = (i71 | 0) < (i183 | 0) | (i71 | 0) == (i183 | 0) & i130 >>> 0 < 0 >>> 0;
+ i183 = _i64Subtract(0, 0, i130, i71) | 0;
+ i96 = i182 ? tempRet0 : i71;
+ i71 = (i182 ? i183 : i130) | 0;
+ i130 = i96 & 0;
+ i183 = ___muldi3(i71, i130, i83, i97) | 0;
+ i115 = tempRet0;
+ i77 = ___muldi3(i71, i130, i86, i74) | 0;
+ i130 = tempRet0;
+ i71 = i96;
+ i96 = 0;
+ i69 = ___muldi3(i71, i96, i83, i97) | 0;
+ i97 = tempRet0;
+ i83 = ___muldi3(i71, i96, i86, i74) | 0;
+ i74 = tempRet0;
+ i86 = _i64Add(i77 | 0, i130 & 0, i69 | 0, i97 & 0) | 0;
+ i69 = tempRet0;
+ i77 = _llvm_uadd_with_overflow_i64(i183 | 0, i115 | 0, 0, i86 | 0) | 0;
+ i86 = i77;
+ i77 = tempRet0;
+ i115 = tempRet1 & 1;
+ i183 = _i64Add(i130, 0, i83, i74) | 0;
+ i74 = _i64Add(i183, tempRet0, i97, 0) | 0;
+ i97 = _i64Add(i74, tempRet0, i69, 0) | 0;
+ i69 = _i64Add(i97, tempRet0, i115, 0) | 0;
+ i115 = tempRet0;
+ if (i182 ^ i90) {
+ i90 = _i64Subtract(0, 0, i86, i77) | 0;
+ i182 = tempRet0;
+ i97 = _i64Add((i86 | 0) == 0 & (i77 | 0) == 0 & 1, 0, ~i69, ~i115) | 0;
+ i195 = i182;
+ i196 = i90;
+ i197 = tempRet0;
+ i198 = i97;
+ } else {
+ i195 = i77;
+ i196 = i86;
+ i197 = i115;
+ i198 = i69;
+ }
+ i69 = _i64Subtract(0, 0, i196, i195) | 0;
+ i115 = _llvm_uadd_with_overflow_i64(i192 | 0, i191 | 0, i69 | 0, tempRet0 | 0) | 0;
+ i69 = tempRet0;
+ i86 = tempRet1 & 1;
+ i77 = HEAP32[i22 >> 2] | 0;
+ i97 = i77;
+ i90 = (i77 | 0) < 0 ? -1 : 0;
+ i77 = ___muldi3(i97, i90, i79, i72) | 0;
+ i72 = tempRet0;
+ i79 = 0;
+ i182 = (i72 | 0) < (i79 | 0) | (i72 | 0) == (i79 | 0) & i77 >>> 0 < 0 >>> 0;
+ i79 = _i64Subtract(0, 0, i77, i72) | 0;
+ i74 = i182 ? tempRet0 : i72;
+ i72 = (i182 ? i79 : i77) | 0;
+ i77 = i74 & 0;
+ i79 = ___muldi3(i72, i77, i78, i89) | 0;
+ i183 = tempRet0;
+ i83 = ___muldi3(i72, i77, i94, i62) | 0;
+ i77 = tempRet0;
+ i72 = i74;
+ i74 = 0;
+ i130 = ___muldi3(i72, i74, i78, i89) | 0;
+ i89 = tempRet0;
+ i78 = ___muldi3(i72, i74, i94, i62) | 0;
+ i62 = tempRet0;
+ i94 = _i64Add(i83 | 0, i77 & 0, i130 | 0, i89 & 0) | 0;
+ i130 = tempRet0;
+ i83 = _llvm_uadd_with_overflow_i64(i79 | 0, i183 | 0, 0, i94 | 0) | 0;
+ i94 = i83;
+ i83 = tempRet0;
+ i183 = _i64Add(i78, i62, tempRet1 & 1, 0) | 0;
+ i62 = _i64Add(i183, tempRet0, i77, 0) | 0;
+ i77 = _i64Add(i62, tempRet0, i89, 0) | 0;
+ i89 = _i64Add(i77, tempRet0, i130, 0) | 0;
+ i130 = tempRet0;
+ if (i182 ^ i81) {
+ i81 = _i64Subtract(0, 0, i94, i83) | 0;
+ i182 = tempRet0;
+ i77 = _i64Add((i94 | 0) == 0 & (i83 | 0) == 0 & 1, 0, ~i89, ~i130) | 0;
+ i199 = i182;
+ i200 = i81;
+ i201 = tempRet0;
+ i202 = i77;
+ } else {
+ i199 = i83;
+ i200 = i94;
+ i201 = i130;
+ i202 = i89;
+ }
+ i89 = _llvm_uadd_with_overflow_i64(i115 | 0, i69 | 0, i200 | 0, i199 | 0) | 0;
+ i69 = tempRet0;
+ i115 = tempRet1 & 1;
+ i130 = ___muldi3(i97, i90, i73, i67) | 0;
+ i67 = tempRet0;
+ i73 = 0;
+ i90 = (i67 | 0) < (i73 | 0) | (i67 | 0) == (i73 | 0) & i130 >>> 0 < 0 >>> 0;
+ i73 = _i64Subtract(0, 0, i130, i67) | 0;
+ i97 = i90 ? tempRet0 : i67;
+ if (i70) {
+ i70 = _i64Subtract(0, 0, i88, i91) | 0;
+ i203 = i90 ^ 1;
+ i204 = tempRet0;
+ i205 = i70;
+ } else {
+ i203 = i90;
+ i204 = i91;
+ i205 = i88;
+ }
+ i88 = (i90 ? i73 : i130) | 0;
+ i130 = i97 & 0;
+ i73 = i205 | 0;
+ i90 = i204 & 0;
+ i91 = ___muldi3(i73, i90, i88, i130) | 0;
+ i70 = tempRet0;
+ i67 = i204;
+ i94 = 0;
+ i83 = ___muldi3(i67, i94, i88, i130) | 0;
+ i130 = tempRet0;
+ i88 = i97;
+ i97 = 0;
+ i77 = ___muldi3(i73, i90, i88, i97) | 0;
+ i90 = tempRet0;
+ i73 = ___muldi3(i67, i94, i88, i97) | 0;
+ i97 = tempRet0;
+ i88 = _i64Add(i83 | 0, i130 & 0, i77 | 0, i90 & 0) | 0;
+ i77 = tempRet0;
+ i83 = _i64Add(i130, 0, i73, i97) | 0;
+ i97 = _i64Add(i83, tempRet0, i90, 0) | 0;
+ i90 = tempRet0;
+ i83 = _llvm_uadd_with_overflow_i64(i91 | 0, i70 | 0, 0, i88 | 0) | 0;
+ i88 = i83;
+ i83 = tempRet0;
+ i70 = _i64Add(i97, i90, tempRet1 & 1, 0) | 0;
+ i90 = _i64Add(i70, tempRet0, i77, 0) | 0;
+ i77 = tempRet0;
+ if (i203) {
+ i70 = _i64Subtract(0, 0, i88, i83) | 0;
+ i97 = tempRet0;
+ i91 = _i64Add((i88 | 0) == 0 & (i83 | 0) == 0 & 1, 0, ~i90, ~i77) | 0;
+ i206 = i97;
+ i207 = i70;
+ i208 = tempRet0;
+ i209 = i91;
+ } else {
+ i206 = i83;
+ i207 = i88;
+ i208 = i77;
+ i209 = i90;
+ }
+ i90 = _i64Subtract(0, 0, i207, i206) | 0;
+ i77 = _llvm_uadd_with_overflow_i64(i89 | 0, i69 | 0, i90 | 0, tempRet0 | 0) | 0;
+ i90 = tempRet0;
+ i69 = tempRet1 & 1;
+ if (i120) {
+ i89 = _i64Subtract(0, 0, i76, i84) | 0;
+ i88 = tempRet0;
+ i83 = _i64Add((i76 | 0) == 0 & (i84 | 0) == 0 & 1, 0, ~i87, ~i80) | 0;
+ i210 = i88;
+ i211 = i89;
+ i212 = tempRet0;
+ i213 = i83;
+ } else {
+ i210 = i84;
+ i211 = i76;
+ i212 = i80;
+ i213 = i87;
+ }
+ i83 = i21 ? i43 : i37;
+ i89 = i21 ? i42 : i39;
+ i88 = i211 | 0;
+ i91 = i210 & 0;
+ i70 = i83 | 0;
+ i97 = i89 & 0;
+ i73 = ___muldi3(i70, i97, i88, i91) | 0;
+ i130 = tempRet0;
+ i94 = i89;
+ i67 = 0;
+ i81 = ___muldi3(i94, i67, i88, i91) | 0;
+ i91 = tempRet0;
+ i88 = i210;
+ i182 = 0;
+ i62 = ___muldi3(i70, i97, i88, i182) | 0;
+ i97 = tempRet0;
+ i70 = ___muldi3(i94, i67, i88, i182) | 0;
+ i182 = tempRet0;
+ i88 = _i64Add(i81 | 0, i91 & 0, i62 | 0, i97 & 0) | 0;
+ i62 = tempRet0;
+ i81 = _llvm_uadd_with_overflow_i64(i73 | 0, i130 | 0, 0, i88 | 0) | 0;
+ i88 = i81;
+ i81 = tempRet0;
+ i130 = tempRet1 & 1;
+ i73 = ___muldi3(i83, i89, i213, i212) | 0;
+ i89 = _i64Add(i70, i182, i73, tempRet0) | 0;
+ i73 = _i64Add(i89, tempRet0, i91, 0) | 0;
+ i91 = _i64Add(i73, tempRet0, i97, 0) | 0;
+ i97 = _i64Add(i91, tempRet0, i130, 0) | 0;
+ i130 = _i64Add(i97, tempRet0, i62, 0) | 0;
+ i62 = tempRet0;
+ if (i120 ^ i21) {
+ i120 = _i64Subtract(0, 0, i88, i81) | 0;
+ i97 = tempRet0;
+ i91 = _i64Add((i88 | 0) == 0 & (i81 | 0) == 0 & 1, 0, ~i130, ~i62) | 0;
+ i214 = i97;
+ i215 = i120;
+ i216 = tempRet0;
+ i217 = i91;
+ } else {
+ i214 = i81;
+ i215 = i88;
+ i216 = i62;
+ i217 = i130;
+ }
+ i130 = _llvm_uadd_with_overflow_i64(i77 | 0, i90 | 0, i215 | 0, i214 | 0) | 0;
+ i90 = tempRet0;
+ i77 = tempRet1 & 1;
+ i62 = _i64Add(i194, i193, ~i198, ~i197) | 0;
+ i88 = _i64Add(i62, tempRet0, (i196 | 0) == 0 & (i195 | 0) == 0 & 1, 0) | 0;
+ i62 = _i64Add(i88, tempRet0, i86, 0) | 0;
+ i86 = _i64Add(i62, tempRet0, i202, i201) | 0;
+ i62 = _i64Add(i86, tempRet0, i115, 0) | 0;
+ i115 = _i64Add(i62, tempRet0, ~i209, ~i208) | 0;
+ i62 = _i64Add(i115, tempRet0, (i207 | 0) == 0 & (i206 | 0) == 0 & 1, 0) | 0;
+ i115 = _i64Add(i62, tempRet0, i69, 0) | 0;
+ i69 = _i64Add(i115, tempRet0, i217, i216) | 0;
+ i115 = _i64Add(i69, tempRet0, i77, 0) | 0;
+ i77 = i75 + 24 | 0;
+ HEAP32[i77 >> 2] = i92;
+ HEAP32[i77 + 4 >> 2] = i95;
+ i95 = i75 + 32 | 0;
+ HEAP32[i95 >> 2] = i119;
+ HEAP32[i95 + 4 >> 2] = i68;
+ i68 = i75 + 40 | 0;
+ HEAP32[i68 >> 2] = i148;
+ HEAP32[i68 + 4 >> 2] = i93;
+ i93 = i75 + 48 | 0;
+ HEAP32[i93 >> 2] = i85;
+ HEAP32[i93 + 4 >> 2] = i149;
+ i149 = i75 + 56 | 0;
+ HEAP32[i149 >> 2] = i130;
+ HEAP32[i149 + 4 >> 2] = i90;
+ i90 = i75 + 64 | 0;
+ HEAP32[i90 >> 2] = i115;
+ HEAP32[i90 + 4 >> 2] = tempRet0;
+ i90 = i75 + 72 | 0;
+ i115 = i75 + 72 | 0;
+ HEAP32[i115 >> 2] = i76;
+ HEAP32[i115 + 4 >> 2] = i84;
+ i84 = i75 + 80 | 0;
+ HEAP32[i84 >> 2] = i87;
+ HEAP32[i84 + 4 >> 2] = i80;
+ d15 = +__ZNK20btConvexHullInternal6Int1288toScalarEv(i75 + 24 | 0);
+ HEAP32[i75 + 88 >> 2] = ~~(d15 / +__ZNK20btConvexHullInternal6Int1288toScalarEv(i90));
+ d15 = +__ZNK20btConvexHullInternal6Int1288toScalarEv(i75 + 40 | 0);
+ HEAP32[i75 + 92 >> 2] = ~~(d15 / +__ZNK20btConvexHullInternal6Int1288toScalarEv(i90));
+ d15 = +__ZNK20btConvexHullInternal6Int1288toScalarEv(i75 + 56 | 0);
+ HEAP32[i75 + 96 >> 2] = ~~(d15 / +__ZNK20btConvexHullInternal6Int1288toScalarEv(i90));
+ HEAP32[i64 >> 2] = i75;
+ HEAP32[i75 + 8 >> 2] = i66;
+ i66 = HEAP32[i53 >> 2] | 0;
+ i90 = HEAP32[i52 >> 2] | 0;
+ do {
+ if ((i66 | 0) == (i90 | 0)) {
+ i80 = (i66 | 0) == 0 ? 1 : i66 << 1;
+ if ((i66 | 0) >= (i80 | 0)) {
+ i218 = i66;
+ i219 = i66;
+ break;
+ }
+ if ((i80 | 0) == 0) {
+ i220 = 0;
+ i221 = i66;
+ } else {
+ i84 = __Z22btAlignedAllocInternalji(i80 << 2, 16) | 0;
+ i220 = i84;
+ i221 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i221 | 0) > 0) {
+ i84 = 0;
+ do {
+ i87 = i220 + (i84 << 2) | 0;
+ if ((i87 | 0) != 0) {
+ HEAP32[i87 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i84 << 2) >> 2];
+ }
+ i84 = i84 + 1 | 0;
+ } while ((i84 | 0) < (i221 | 0));
+ }
+ i84 = HEAP32[i32 >> 2] | 0;
+ if ((i84 | 0) == 0) {
+ i222 = i221;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i223 = i221;
+ } else {
+ __Z21btAlignedFreeInternalPv(i84);
+ i223 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i222 = i223;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i220;
+ HEAP32[i52 >> 2] = i80;
+ i218 = i222;
+ i219 = i80;
+ } else {
+ i218 = i66;
+ i219 = i90;
+ }
+ } while (0);
+ i90 = (HEAP32[i32 >> 2] | 0) + (i218 << 2) | 0;
+ if ((i90 | 0) != 0) {
+ HEAP32[i90 >> 2] = i75;
+ }
+ i90 = i218 + 1 | 0;
+ HEAP32[i53 >> 2] = i90;
+ do {
+ if ((i90 | 0) == (i219 | 0)) {
+ i66 = (i219 | 0) == 0 ? 1 : i219 << 1;
+ if ((i219 | 0) >= (i66 | 0)) {
+ i224 = i219;
+ i225 = i219;
+ break;
+ }
+ if ((i66 | 0) == 0) {
+ i226 = 0;
+ i227 = i219;
+ } else {
+ i84 = __Z22btAlignedAllocInternalji(i66 << 2, 16) | 0;
+ i226 = i84;
+ i227 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i227 | 0) > 0) {
+ i84 = 0;
+ do {
+ i87 = i226 + (i84 << 2) | 0;
+ if ((i87 | 0) != 0) {
+ HEAP32[i87 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i84 << 2) >> 2];
+ }
+ i84 = i84 + 1 | 0;
+ } while ((i84 | 0) < (i227 | 0));
+ }
+ i84 = HEAP32[i32 >> 2] | 0;
+ if ((i84 | 0) == 0) {
+ i228 = i227;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i229 = i227;
+ } else {
+ __Z21btAlignedFreeInternalPv(i84);
+ i229 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i228 = i229;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i226;
+ HEAP32[i52 >> 2] = i66;
+ i224 = i228;
+ i225 = i66;
+ } else {
+ i224 = i90;
+ i225 = i219;
+ }
+ } while (0);
+ i90 = (HEAP32[i32 >> 2] | 0) + (i224 << 2) | 0;
+ if ((i90 | 0) != 0) {
+ HEAP32[i90 >> 2] = i58;
+ }
+ i90 = i224 + 1 | 0;
+ HEAP32[i53 >> 2] = i90;
+ do {
+ if ((i90 | 0) == (i225 | 0)) {
+ i75 = (i225 | 0) == 0 ? 1 : i225 << 1;
+ if ((i225 | 0) >= (i75 | 0)) {
+ i230 = i225;
+ break;
+ }
+ if ((i75 | 0) == 0) {
+ i231 = 0;
+ i232 = i225;
+ } else {
+ i84 = __Z22btAlignedAllocInternalji(i75 << 2, 16) | 0;
+ i231 = i84;
+ i232 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i232 | 0) > 0) {
+ i84 = 0;
+ do {
+ i80 = i231 + (i84 << 2) | 0;
+ if ((i80 | 0) != 0) {
+ HEAP32[i80 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i84 << 2) >> 2];
+ }
+ i84 = i84 + 1 | 0;
+ } while ((i84 | 0) < (i232 | 0));
+ }
+ i84 = HEAP32[i32 >> 2] | 0;
+ if ((i84 | 0) == 0) {
+ i233 = i232;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i234 = i232;
+ } else {
+ __Z21btAlignedFreeInternalPv(i84);
+ i234 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i233 = i234;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i231;
+ HEAP32[i52 >> 2] = i75;
+ i230 = i233;
+ } else {
+ i230 = i90;
+ }
+ } while (0);
+ i90 = (HEAP32[i32 >> 2] | 0) + (i230 << 2) | 0;
+ if ((i90 | 0) != 0) {
+ HEAP32[i90 >> 2] = 0;
+ }
+ HEAP32[i53 >> 2] = i230 + 1;
+ }
+ i90 = (i65 | 0) == 0;
+ if ((i65 | i50 | 0) == 0) {
+ i58 = HEAP32[HEAP32[i60 >> 2] >> 2] | 0;
+ i84 = HEAP32[i64 >> 2] | 0;
+ if ((HEAP32[i58 + 12 >> 2] | 0) == (i84 | 0)) {
+ i235 = i58;
+ } else {
+ i236 = i84;
+ i49 = 1401;
+ }
+ } else {
+ i236 = HEAP32[i64 >> 2] | 0;
+ i49 = 1401;
+ }
+ if ((i49 | 0) == 1401) {
+ i49 = 0;
+ i84 = HEAP32[i61 + 12 >> 2] | 0;
+ i58 = __ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(i11) | 0;
+ i66 = __ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(i11) | 0;
+ i80 = i58 + 8 | 0;
+ HEAP32[i80 >> 2] = i66;
+ HEAP32[i66 + 8 >> 2] = i58;
+ HEAP32[i58 + 20 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i66 + 20 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i58 + 12 >> 2] = i236;
+ HEAP32[i66 + 12 >> 2] = i84;
+ HEAP32[i58 + 16 >> 2] = 0;
+ HEAP32[i66 + 16 >> 2] = 0;
+ i66 = (HEAP32[i30 >> 2] | 0) + 1 | 0;
+ HEAP32[i30 >> 2] = i66;
+ if ((i66 | 0) > (HEAP32[i40 >> 2] | 0)) {
+ HEAP32[i40 >> 2] = i66;
+ }
+ if (i57) {
+ i66 = HEAP32[HEAP32[i60 >> 2] >> 2] | 0;
+ HEAP32[i58 >> 2] = i66;
+ HEAP32[i66 + 4 >> 2] = i58;
+ i49 = 1406;
+ } else {
+ if ((i55 | 0) != 0) {
+ i49 = 1406;
+ }
+ }
+ if ((i49 | 0) == 1406) {
+ i49 = 0;
+ i66 = HEAP32[i60 >> 2] | 0;
+ HEAP32[i66 >> 2] = i58;
+ HEAP32[i58 + 4 >> 2] = i66;
+ }
+ i66 = i59 + 8 | 0;
+ if (i90) {
+ i90 = HEAP32[(HEAP32[i66 >> 2] | 0) + 4 >> 2] | 0;
+ i84 = HEAP32[i80 >> 2] | 0;
+ HEAP32[i90 >> 2] = i84;
+ HEAP32[i84 + 4 >> 2] = i90;
+ }
+ i90 = HEAP32[i80 >> 2] | 0;
+ i80 = HEAP32[i66 >> 2] | 0;
+ HEAP32[i90 >> 2] = i80;
+ HEAP32[i80 + 4 >> 2] = i90;
+ i235 = i58;
+ }
+ do {
+ if ((i55 | 0) != 0) {
+ i58 = i55 + 8 | 0;
+ i90 = HEAP32[i58 >> 2] | 0;
+ if ((i50 | 0) > 0) {
+ HEAP32[i235 >> 2] = i90;
+ HEAP32[i90 + 4 >> 2] = i235;
+ break;
+ }
+ if ((i235 | 0) == (i90 | 0)) {
+ break;
+ }
+ i90 = i55 + 12 | 0;
+ i80 = HEAP32[i53 >> 2] | 0;
+ i66 = HEAP32[i52 >> 2] | 0;
+ do {
+ if ((i80 | 0) == (i66 | 0)) {
+ i84 = (i80 | 0) == 0 ? 1 : i80 << 1;
+ if ((i80 | 0) >= (i84 | 0)) {
+ i237 = i80;
+ i238 = i80;
+ break;
+ }
+ if ((i84 | 0) == 0) {
+ i239 = 0;
+ i240 = i80;
+ } else {
+ i87 = __Z22btAlignedAllocInternalji(i84 << 2, 16) | 0;
+ i239 = i87;
+ i240 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i240 | 0) > 0) {
+ i87 = 0;
+ do {
+ i115 = i239 + (i87 << 2) | 0;
+ if ((i115 | 0) != 0) {
+ HEAP32[i115 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i87 << 2) >> 2];
+ }
+ i87 = i87 + 1 | 0;
+ } while ((i87 | 0) < (i240 | 0));
+ }
+ i87 = HEAP32[i32 >> 2] | 0;
+ if ((i87 | 0) == 0) {
+ i241 = i240;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i242 = i240;
+ } else {
+ __Z21btAlignedFreeInternalPv(i87);
+ i242 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i241 = i242;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i239;
+ HEAP32[i52 >> 2] = i84;
+ i237 = i241;
+ i238 = i84;
+ } else {
+ i237 = i80;
+ i238 = i66;
+ }
+ } while (0);
+ i66 = (HEAP32[i32 >> 2] | 0) + (i237 << 2) | 0;
+ if ((i66 | 0) != 0) {
+ HEAP32[i66 >> 2] = HEAP32[i90 >> 2];
+ }
+ i66 = i237 + 1 | 0;
+ HEAP32[i53 >> 2] = i66;
+ i80 = i235 | 0;
+ i75 = HEAP32[i80 >> 2] | 0;
+ if ((i75 | 0) == (HEAP32[i58 >> 2] | 0)) {
+ i243 = i66;
+ i244 = i238;
+ } else {
+ i66 = i75;
+ while (1) {
+ i75 = i66 + 12 | 0;
+ i87 = HEAP32[i75 >> 2] | 0;
+ i115 = i66 | 0;
+ i76 = HEAP32[i115 >> 2] | 0;
+ i149 = HEAP32[i66 + 8 >> 2] | 0;
+ if ((i76 | 0) == (i66 | 0)) {
+ HEAP32[(HEAP32[i149 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i130 = i66 + 4 | 0;
+ HEAP32[i76 + 4 >> 2] = HEAP32[i130 >> 2];
+ HEAP32[HEAP32[i130 >> 2] >> 2] = i76;
+ HEAP32[(HEAP32[i149 + 12 >> 2] | 0) + 8 >> 2] = i76;
+ }
+ i76 = i149 | 0;
+ i130 = HEAP32[i76 >> 2] | 0;
+ if ((i130 | 0) == (i149 | 0)) {
+ HEAP32[(HEAP32[i75 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i93 = i149 + 4 | 0;
+ HEAP32[i130 + 4 >> 2] = HEAP32[i93 >> 2];
+ HEAP32[HEAP32[i93 >> 2] >> 2] = i130;
+ HEAP32[(HEAP32[i75 >> 2] | 0) + 8 >> 2] = i130;
+ }
+ _memset(i66 | 0, 0, 20);
+ HEAP32[i115 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i4 >> 2] = i66;
+ _memset(i149 | 0, 0, 20);
+ HEAP32[i76 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i4 >> 2] = i149;
+ HEAP32[i30 >> 2] = (HEAP32[i30 >> 2] | 0) - 1;
+ i149 = HEAP32[i53 >> 2] | 0;
+ i76 = HEAP32[i52 >> 2] | 0;
+ do {
+ if ((i149 | 0) == (i76 | 0)) {
+ i115 = (i149 | 0) == 0 ? 1 : i149 << 1;
+ if ((i149 | 0) >= (i115 | 0)) {
+ i245 = i149;
+ i246 = i149;
+ break;
+ }
+ if ((i115 | 0) == 0) {
+ i247 = 0;
+ i248 = i149;
+ } else {
+ i130 = __Z22btAlignedAllocInternalji(i115 << 2, 16) | 0;
+ i247 = i130;
+ i248 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i248 | 0) > 0) {
+ i130 = 0;
+ do {
+ i75 = i247 + (i130 << 2) | 0;
+ if ((i75 | 0) != 0) {
+ HEAP32[i75 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i130 << 2) >> 2];
+ }
+ i130 = i130 + 1 | 0;
+ } while ((i130 | 0) < (i248 | 0));
+ }
+ i130 = HEAP32[i32 >> 2] | 0;
+ if ((i130 | 0) == 0) {
+ i249 = i248;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i250 = i248;
+ } else {
+ __Z21btAlignedFreeInternalPv(i130);
+ i250 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i249 = i250;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i247;
+ HEAP32[i52 >> 2] = i115;
+ i245 = i249;
+ i246 = i115;
+ } else {
+ i245 = i149;
+ i246 = i76;
+ }
+ } while (0);
+ i76 = (HEAP32[i32 >> 2] | 0) + (i245 << 2) | 0;
+ if ((i76 | 0) != 0) {
+ HEAP32[i76 >> 2] = i87;
+ }
+ i76 = i245 + 1 | 0;
+ HEAP32[i53 >> 2] = i76;
+ i149 = HEAP32[i80 >> 2] | 0;
+ if ((i149 | 0) == (HEAP32[i58 >> 2] | 0)) {
+ i243 = i76;
+ i244 = i246;
+ break;
+ } else {
+ i66 = i149;
+ }
+ }
+ }
+ do {
+ if ((i243 | 0) == (i244 | 0)) {
+ i66 = (i244 | 0) == 0 ? 1 : i244 << 1;
+ if ((i244 | 0) >= (i66 | 0)) {
+ i251 = i244;
+ break;
+ }
+ if ((i66 | 0) == 0) {
+ i252 = 0;
+ i253 = i244;
+ } else {
+ i58 = __Z22btAlignedAllocInternalji(i66 << 2, 16) | 0;
+ i252 = i58;
+ i253 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i253 | 0) > 0) {
+ i58 = 0;
+ do {
+ i80 = i252 + (i58 << 2) | 0;
+ if ((i80 | 0) != 0) {
+ HEAP32[i80 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i58 << 2) >> 2];
+ }
+ i58 = i58 + 1 | 0;
+ } while ((i58 | 0) < (i253 | 0));
+ }
+ i58 = HEAP32[i32 >> 2] | 0;
+ if ((i58 | 0) == 0) {
+ i254 = i253;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i255 = i253;
+ } else {
+ __Z21btAlignedFreeInternalPv(i58);
+ i255 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i254 = i255;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i252;
+ HEAP32[i52 >> 2] = i66;
+ i251 = i254;
+ } else {
+ i251 = i243;
+ }
+ } while (0);
+ i58 = (HEAP32[i32 >> 2] | 0) + (i251 << 2) | 0;
+ if ((i58 | 0) != 0) {
+ HEAP32[i58 >> 2] = 0;
+ }
+ HEAP32[i53 >> 2] = i251 + 1;
+ }
+ } while (0);
+ HEAP32[i235 + 16 >> 2] = i2;
+ HEAP32[(HEAP32[i235 + 8 >> 2] | 0) + 16 >> 2] = HEAP32[i59 + 16 >> 2];
+ i44 = i59;
+ i50 = i65;
+ i51 = i63;
+ i55 = i235;
+ i56 = (i56 | 0) == 0 ? i235 : i56;
+ }
+ if ((i49 | 0) == 1618) {
+ STACKTOP = i5;
+ return i20 | 0;
+ }
+ do {
+ if ((i50 | 0) > 0) {
+ HEAP32[(HEAP32[i56 + 8 >> 2] | 0) + 12 >> 2] = HEAP32[i55 + 12 >> 2];
+ i235 = HEAP32[i51 + 8 >> 2] | 0;
+ HEAP32[i235 >> 2] = i56;
+ HEAP32[i56 + 4 >> 2] = i235;
+ i235 = HEAP32[i55 + 8 >> 2] | 0;
+ HEAP32[i56 >> 2] = i235;
+ HEAP32[i235 + 4 >> 2] = i56;
+ } else {
+ i235 = i55 + 8 | 0;
+ if ((i56 | 0) == (HEAP32[i235 >> 2] | 0)) {
+ break;
+ }
+ i63 = i55 + 12 | 0;
+ i65 = HEAP32[i53 >> 2] | 0;
+ i44 = HEAP32[i52 >> 2] | 0;
+ do {
+ if ((i65 | 0) == (i44 | 0)) {
+ i251 = (i65 | 0) == 0 ? 1 : i65 << 1;
+ if ((i65 | 0) >= (i251 | 0)) {
+ i256 = i65;
+ i257 = i65;
+ break;
+ }
+ if ((i251 | 0) == 0) {
+ i258 = 0;
+ i259 = i65;
+ } else {
+ i243 = __Z22btAlignedAllocInternalji(i251 << 2, 16) | 0;
+ i258 = i243;
+ i259 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i259 | 0) > 0) {
+ i243 = 0;
+ do {
+ i254 = i258 + (i243 << 2) | 0;
+ if ((i254 | 0) != 0) {
+ HEAP32[i254 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i243 << 2) >> 2];
+ }
+ i243 = i243 + 1 | 0;
+ } while ((i243 | 0) < (i259 | 0));
+ }
+ i243 = HEAP32[i32 >> 2] | 0;
+ if ((i243 | 0) == 0) {
+ i260 = i259;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i261 = i259;
+ } else {
+ __Z21btAlignedFreeInternalPv(i243);
+ i261 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i260 = i261;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i258;
+ HEAP32[i52 >> 2] = i251;
+ i256 = i260;
+ i257 = i251;
+ } else {
+ i256 = i65;
+ i257 = i44;
+ }
+ } while (0);
+ i44 = (HEAP32[i32 >> 2] | 0) + (i256 << 2) | 0;
+ if ((i44 | 0) != 0) {
+ HEAP32[i44 >> 2] = HEAP32[i63 >> 2];
+ }
+ i44 = i256 + 1 | 0;
+ HEAP32[i53 >> 2] = i44;
+ i65 = i56 | 0;
+ i59 = HEAP32[i65 >> 2] | 0;
+ if ((i59 | 0) == (HEAP32[i235 >> 2] | 0)) {
+ i262 = i44;
+ i263 = i257;
+ } else {
+ i44 = i59;
+ while (1) {
+ i59 = i44 + 12 | 0;
+ i243 = HEAP32[i59 >> 2] | 0;
+ i254 = i44 | 0;
+ i252 = HEAP32[i254 >> 2] | 0;
+ i255 = HEAP32[i44 + 8 >> 2] | 0;
+ if ((i252 | 0) == (i44 | 0)) {
+ HEAP32[(HEAP32[i255 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i253 = i44 + 4 | 0;
+ HEAP32[i252 + 4 >> 2] = HEAP32[i253 >> 2];
+ HEAP32[HEAP32[i253 >> 2] >> 2] = i252;
+ HEAP32[(HEAP32[i255 + 12 >> 2] | 0) + 8 >> 2] = i252;
+ }
+ i252 = i255 | 0;
+ i253 = HEAP32[i252 >> 2] | 0;
+ if ((i253 | 0) == (i255 | 0)) {
+ HEAP32[(HEAP32[i59 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i244 = i255 + 4 | 0;
+ HEAP32[i253 + 4 >> 2] = HEAP32[i244 >> 2];
+ HEAP32[HEAP32[i244 >> 2] >> 2] = i253;
+ HEAP32[(HEAP32[i59 >> 2] | 0) + 8 >> 2] = i253;
+ }
+ _memset(i44 | 0, 0, 20);
+ HEAP32[i254 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i4 >> 2] = i44;
+ _memset(i255 | 0, 0, 20);
+ HEAP32[i252 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i4 >> 2] = i255;
+ HEAP32[i30 >> 2] = (HEAP32[i30 >> 2] | 0) - 1;
+ i255 = HEAP32[i53 >> 2] | 0;
+ i252 = HEAP32[i52 >> 2] | 0;
+ do {
+ if ((i255 | 0) == (i252 | 0)) {
+ i254 = (i255 | 0) == 0 ? 1 : i255 << 1;
+ if ((i255 | 0) >= (i254 | 0)) {
+ i264 = i255;
+ i265 = i255;
+ break;
+ }
+ if ((i254 | 0) == 0) {
+ i266 = 0;
+ i267 = i255;
+ } else {
+ i253 = __Z22btAlignedAllocInternalji(i254 << 2, 16) | 0;
+ i266 = i253;
+ i267 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i267 | 0) > 0) {
+ i253 = 0;
+ do {
+ i59 = i266 + (i253 << 2) | 0;
+ if ((i59 | 0) != 0) {
+ HEAP32[i59 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i253 << 2) >> 2];
+ }
+ i253 = i253 + 1 | 0;
+ } while ((i253 | 0) < (i267 | 0));
+ }
+ i253 = HEAP32[i32 >> 2] | 0;
+ if ((i253 | 0) == 0) {
+ i268 = i267;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i269 = i267;
+ } else {
+ __Z21btAlignedFreeInternalPv(i253);
+ i269 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i268 = i269;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i266;
+ HEAP32[i52 >> 2] = i254;
+ i264 = i268;
+ i265 = i254;
+ } else {
+ i264 = i255;
+ i265 = i252;
+ }
+ } while (0);
+ i252 = (HEAP32[i32 >> 2] | 0) + (i264 << 2) | 0;
+ if ((i252 | 0) != 0) {
+ HEAP32[i252 >> 2] = i243;
+ }
+ i252 = i264 + 1 | 0;
+ HEAP32[i53 >> 2] = i252;
+ i255 = HEAP32[i65 >> 2] | 0;
+ if ((i255 | 0) == (HEAP32[i235 >> 2] | 0)) {
+ i262 = i252;
+ i263 = i265;
+ break;
+ } else {
+ i44 = i255;
+ }
+ }
+ }
+ do {
+ if ((i262 | 0) == (i263 | 0)) {
+ i44 = (i263 | 0) == 0 ? 1 : i263 << 1;
+ if ((i263 | 0) >= (i44 | 0)) {
+ i270 = i263;
+ break;
+ }
+ if ((i44 | 0) == 0) {
+ i271 = 0;
+ i272 = i263;
+ } else {
+ i235 = __Z22btAlignedAllocInternalji(i44 << 2, 16) | 0;
+ i271 = i235;
+ i272 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i272 | 0) > 0) {
+ i235 = 0;
+ do {
+ i65 = i271 + (i235 << 2) | 0;
+ if ((i65 | 0) != 0) {
+ HEAP32[i65 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i235 << 2) >> 2];
+ }
+ i235 = i235 + 1 | 0;
+ } while ((i235 | 0) < (i272 | 0));
+ }
+ i235 = HEAP32[i32 >> 2] | 0;
+ if ((i235 | 0) == 0) {
+ i273 = i272;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i274 = i272;
+ } else {
+ __Z21btAlignedFreeInternalPv(i235);
+ i274 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i273 = i274;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i271;
+ HEAP32[i52 >> 2] = i44;
+ i270 = i273;
+ } else {
+ i270 = i262;
+ }
+ } while (0);
+ i235 = (HEAP32[i32 >> 2] | 0) + (i270 << 2) | 0;
+ if ((i235 | 0) != 0) {
+ HEAP32[i235 >> 2] = 0;
+ }
+ HEAP32[i53 >> 2] = i270 + 1;
+ }
+ } while (0);
+ HEAP32[i1 + 124 >> 2] = HEAP32[HEAP32[i32 >> 2] >> 2];
+ i1 = HEAP32[i53 >> 2] | 0;
+ if ((i1 | 0) > 0) {
+ i270 = 0;
+ i262 = i1;
+ while (1) {
+ if ((i270 | 0) < (i262 | 0)) {
+ i273 = i270;
+ while (1) {
+ i271 = HEAP32[i32 >> 2] | 0;
+ i274 = HEAP32[i271 + (i273 << 2) >> 2] | 0;
+ i272 = i273 + 2 | 0;
+ i263 = HEAP32[i271 + (i273 + 1 << 2) >> 2] | 0;
+ do {
+ if ((i263 | 0) == 0) {
+ i275 = i272;
+ } else {
+ i271 = i274 + 16 | 0;
+ i265 = i274 + 12 | 0;
+ i264 = 0;
+ i268 = i272;
+ i266 = i263;
+ while (1) {
+ i269 = HEAP32[i271 >> 2] | 0;
+ i267 = i266 + 12 | 0;
+ i257 = HEAP32[i267 >> 2] | 0;
+ if ((i269 | 0) == 0) {
+ HEAP32[i265 >> 2] = i257;
+ } else {
+ HEAP32[i269 + 8 >> 2] = i257;
+ }
+ i257 = i266 + 16 | 0;
+ i269 = HEAP32[i257 >> 2] | 0;
+ if ((i269 | 0) != 0) {
+ HEAP32[i271 >> 2] = i269;
+ }
+ i269 = HEAP32[i267 >> 2] | 0;
+ if ((i269 | 0) != 0) {
+ i56 = i269;
+ do {
+ HEAP32[i56 + 4 >> 2] = i274;
+ i56 = HEAP32[i56 + 8 >> 2] | 0;
+ } while ((i56 | 0) != 0);
+ }
+ HEAP32[i267 >> 2] = 0;
+ HEAP32[i257 >> 2] = 0;
+ i56 = i266 + 8 | 0;
+ i115 = HEAP32[i56 >> 2] | 0;
+ if ((i115 | 0) == 0) {
+ i276 = i264;
+ } else {
+ i269 = i264;
+ i256 = i115;
+ while (1) {
+ i115 = HEAP32[i53 >> 2] | 0;
+ i260 = HEAP32[i52 >> 2] | 0;
+ if (i269) {
+ i277 = i256;
+ i278 = i115;
+ i279 = i260;
+ } else {
+ do {
+ if ((i115 | 0) == (i260 | 0)) {
+ i258 = (i115 | 0) == 0 ? 1 : i115 << 1;
+ if ((i115 | 0) >= (i258 | 0)) {
+ i280 = i115;
+ i281 = i115;
+ break;
+ }
+ if ((i258 | 0) == 0) {
+ i282 = 0;
+ i283 = i115;
+ } else {
+ i261 = __Z22btAlignedAllocInternalji(i258 << 2, 16) | 0;
+ i282 = i261;
+ i283 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i283 | 0) > 0) {
+ i261 = 0;
+ do {
+ i259 = i282 + (i261 << 2) | 0;
+ if ((i259 | 0) != 0) {
+ HEAP32[i259 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i261 << 2) >> 2];
+ }
+ i261 = i261 + 1 | 0;
+ } while ((i261 | 0) < (i283 | 0));
+ }
+ i261 = HEAP32[i32 >> 2] | 0;
+ if ((i261 | 0) == 0) {
+ i284 = i283;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i285 = i283;
+ } else {
+ __Z21btAlignedFreeInternalPv(i261);
+ i285 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i284 = i285;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i282;
+ HEAP32[i52 >> 2] = i258;
+ i280 = i284;
+ i281 = i258;
+ } else {
+ i280 = i115;
+ i281 = i260;
+ }
+ } while (0);
+ i260 = (HEAP32[i32 >> 2] | 0) + (i280 << 2) | 0;
+ if ((i260 | 0) != 0) {
+ HEAP32[i260 >> 2] = i274;
+ }
+ i260 = i280 + 1 | 0;
+ HEAP32[i53 >> 2] = i260;
+ i277 = HEAP32[i56 >> 2] | 0;
+ i278 = i260;
+ i279 = i281;
+ }
+ i260 = i277 + 12 | 0;
+ do {
+ if ((i278 | 0) == (i279 | 0)) {
+ i115 = (i279 | 0) == 0 ? 1 : i279 << 1;
+ if ((i279 | 0) >= (i115 | 0)) {
+ i286 = i279;
+ break;
+ }
+ if ((i115 | 0) == 0) {
+ i287 = 0;
+ i288 = i279;
+ } else {
+ i261 = __Z22btAlignedAllocInternalji(i115 << 2, 16) | 0;
+ i287 = i261;
+ i288 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i288 | 0) > 0) {
+ i261 = 0;
+ do {
+ i259 = i287 + (i261 << 2) | 0;
+ if ((i259 | 0) != 0) {
+ HEAP32[i259 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i261 << 2) >> 2];
+ }
+ i261 = i261 + 1 | 0;
+ } while ((i261 | 0) < (i288 | 0));
+ }
+ i261 = HEAP32[i32 >> 2] | 0;
+ if ((i261 | 0) == 0) {
+ i289 = i288;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i290 = i288;
+ } else {
+ __Z21btAlignedFreeInternalPv(i261);
+ i290 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i289 = i290;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i287;
+ HEAP32[i52 >> 2] = i115;
+ i286 = i289;
+ } else {
+ i286 = i278;
+ }
+ } while (0);
+ i261 = (HEAP32[i32 >> 2] | 0) + (i286 << 2) | 0;
+ if ((i261 | 0) != 0) {
+ HEAP32[i261 >> 2] = HEAP32[i260 >> 2];
+ }
+ HEAP32[i53 >> 2] = i286 + 1;
+ i261 = HEAP32[i56 >> 2] | 0;
+ i258 = i261 | 0;
+ i259 = HEAP32[i258 >> 2] | 0;
+ i55 = HEAP32[i261 + 8 >> 2] | 0;
+ if ((i259 | 0) == (i261 | 0)) {
+ HEAP32[(HEAP32[i55 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i51 = i261 + 4 | 0;
+ HEAP32[i259 + 4 >> 2] = HEAP32[i51 >> 2];
+ HEAP32[HEAP32[i51 >> 2] >> 2] = i259;
+ HEAP32[(HEAP32[i55 + 12 >> 2] | 0) + 8 >> 2] = i259;
+ }
+ i259 = i55 | 0;
+ i51 = HEAP32[i259 >> 2] | 0;
+ if ((i51 | 0) == (i55 | 0)) {
+ HEAP32[(HEAP32[i261 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i50 = i55 + 4 | 0;
+ HEAP32[i51 + 4 >> 2] = HEAP32[i50 >> 2];
+ HEAP32[HEAP32[i50 >> 2] >> 2] = i51;
+ HEAP32[(HEAP32[i261 + 12 >> 2] | 0) + 8 >> 2] = i51;
+ }
+ _memset(i261 | 0, 0, 20);
+ HEAP32[i258 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i4 >> 2] = i261;
+ _memset(i55 | 0, 0, 20);
+ HEAP32[i259 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i4 >> 2] = i55;
+ HEAP32[i30 >> 2] = (HEAP32[i30 >> 2] | 0) - 1;
+ i55 = HEAP32[i56 >> 2] | 0;
+ if ((i55 | 0) == 0) {
+ i276 = 1;
+ break;
+ } else {
+ i269 = 1;
+ i256 = i55;
+ }
+ }
+ }
+ i291 = i268 + 1 | 0;
+ i292 = HEAP32[i32 >> 2] | 0;
+ i256 = HEAP32[i292 + (i268 << 2) >> 2] | 0;
+ if ((i256 | 0) == 0) {
+ break;
+ } else {
+ i264 = i276;
+ i268 = i291;
+ i266 = i256;
+ }
+ }
+ if (!i276) {
+ i275 = i291;
+ break;
+ }
+ i266 = HEAP32[i53 >> 2] | 0;
+ do {
+ if ((i266 | 0) == (HEAP32[i52 >> 2] | 0)) {
+ i268 = (i266 | 0) == 0 ? 1 : i266 << 1;
+ if ((i266 | 0) >= (i268 | 0)) {
+ i293 = i266;
+ i294 = i292;
+ break;
+ }
+ if ((i268 | 0) == 0) {
+ i295 = 0;
+ i296 = i266;
+ } else {
+ i264 = __Z22btAlignedAllocInternalji(i268 << 2, 16) | 0;
+ i295 = i264;
+ i296 = HEAP32[i53 >> 2] | 0;
+ }
+ if ((i296 | 0) > 0) {
+ i264 = 0;
+ do {
+ i271 = i295 + (i264 << 2) | 0;
+ if ((i271 | 0) != 0) {
+ HEAP32[i271 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i264 << 2) >> 2];
+ }
+ i264 = i264 + 1 | 0;
+ } while ((i264 | 0) < (i296 | 0));
+ }
+ i264 = HEAP32[i32 >> 2] | 0;
+ if ((i264 | 0) == 0) {
+ i297 = i296;
+ } else {
+ if ((HEAP8[i54] | 0) == 0) {
+ i298 = i296;
+ } else {
+ __Z21btAlignedFreeInternalPv(i264);
+ i298 = HEAP32[i53 >> 2] | 0;
+ }
+ HEAP32[i32 >> 2] = 0;
+ i297 = i298;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = i295;
+ HEAP32[i52 >> 2] = i268;
+ i293 = i297;
+ i294 = i295;
+ } else {
+ i293 = i266;
+ i294 = i292;
+ }
+ } while (0);
+ i266 = i294 + (i293 << 2) | 0;
+ if ((i266 | 0) != 0) {
+ HEAP32[i266 >> 2] = 0;
+ }
+ HEAP32[i53 >> 2] = i293 + 1;
+ i275 = i291;
+ }
+ } while (0);
+ if ((i275 | 0) < (i262 | 0)) {
+ i273 = i275;
+ } else {
+ break;
+ }
+ }
+ i299 = i275;
+ i300 = HEAP32[i53 >> 2] | 0;
+ } else {
+ i299 = i270;
+ i300 = i262;
+ }
+ if ((i299 | 0) < (i300 | 0)) {
+ i270 = i299;
+ i262 = i300;
+ } else {
+ break;
+ }
+ }
+ if ((i300 | 0) <= 0) {
+ i301 = i300;
+ i49 = 1599;
+ }
+ } else {
+ i301 = i1;
+ i49 = 1599;
+ }
+ do {
+ if ((i49 | 0) == 1599) {
+ if ((i301 | 0) >= 0) {
+ break;
+ }
+ if ((HEAP32[i52 >> 2] | 0) < 0) {
+ i1 = HEAP32[i32 >> 2] | 0;
+ if ((i1 | 0) != 0) {
+ if ((HEAP8[i54] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i1);
+ }
+ HEAP32[i32 >> 2] = 0;
+ }
+ HEAP8[i54] = 1;
+ HEAP32[i32 >> 2] = 0;
+ HEAP32[i52 >> 2] = 0;
+ i302 = i301;
+ } else {
+ i302 = i301;
+ }
+ do {
+ i1 = (HEAP32[i32 >> 2] | 0) + (i302 << 2) | 0;
+ if ((i1 | 0) != 0) {
+ HEAP32[i1 >> 2] = 0;
+ }
+ i302 = i302 + 1 | 0;
+ } while ((i302 | 0) < 0);
+ }
+ } while (0);
+ HEAP32[i53 >> 2] = 0;
+ HEAP32[i28 >> 2] = i35;
+ HEAP32[i36 >> 2] = i19;
+ HEAP32[i33 >> 2] = i18;
+ HEAP32[i2 + 24 >> 2] = -1;
+ i20 = 1;
+ STACKTOP = i5;
+ return i20 | 0;
+}
+function _malloc(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0, i79 = 0, i80 = 0, i81 = 0, i82 = 0, i83 = 0, i84 = 0, i85 = 0, i86 = 0;
+ do {
+ if (i1 >>> 0 < 245) {
+ if (i1 >>> 0 < 11) {
+ i2 = 16;
+ } else {
+ i2 = i1 + 11 & -8;
+ }
+ i3 = i2 >>> 3;
+ i4 = HEAP32[3016] | 0;
+ i5 = i4 >>> (i3 >>> 0);
+ if ((i5 & 3 | 0) != 0) {
+ i6 = (i5 & 1 ^ 1) + i3 | 0;
+ i7 = i6 << 1;
+ i8 = 12104 + (i7 << 2) | 0;
+ i9 = 12104 + (i7 + 2 << 2) | 0;
+ i7 = HEAP32[i9 >> 2] | 0;
+ i10 = i7 + 8 | 0;
+ i11 = HEAP32[i10 >> 2] | 0;
+ do {
+ if ((i8 | 0) == (i11 | 0)) {
+ HEAP32[3016] = i4 & ~(1 << i6);
+ } else {
+ if (i11 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ i12 = i11 + 12 | 0;
+ if ((HEAP32[i12 >> 2] | 0) == (i7 | 0)) {
+ HEAP32[i12 >> 2] = i8;
+ HEAP32[i9 >> 2] = i11;
+ break;
+ } else {
+ _abort();
+ return 0;
+ }
+ }
+ } while (0);
+ i11 = i6 << 3;
+ HEAP32[i7 + 4 >> 2] = i11 | 3;
+ i9 = i7 + (i11 | 4) | 0;
+ HEAP32[i9 >> 2] = HEAP32[i9 >> 2] | 1;
+ i13 = i10;
+ return i13 | 0;
+ }
+ if (i2 >>> 0 <= (HEAP32[3018] | 0) >>> 0) {
+ i14 = i2;
+ break;
+ }
+ if ((i5 | 0) != 0) {
+ i9 = 2 << i3;
+ i11 = i5 << i3 & (i9 | -i9);
+ i9 = (i11 & -i11) - 1 | 0;
+ i11 = i9 >>> 12 & 16;
+ i8 = i9 >>> (i11 >>> 0);
+ i9 = i8 >>> 5 & 8;
+ i12 = i8 >>> (i9 >>> 0);
+ i8 = i12 >>> 2 & 4;
+ i15 = i12 >>> (i8 >>> 0);
+ i12 = i15 >>> 1 & 2;
+ i16 = i15 >>> (i12 >>> 0);
+ i15 = i16 >>> 1 & 1;
+ i17 = (i9 | i11 | i8 | i12 | i15) + (i16 >>> (i15 >>> 0)) | 0;
+ i15 = i17 << 1;
+ i16 = 12104 + (i15 << 2) | 0;
+ i12 = 12104 + (i15 + 2 << 2) | 0;
+ i15 = HEAP32[i12 >> 2] | 0;
+ i8 = i15 + 8 | 0;
+ i11 = HEAP32[i8 >> 2] | 0;
+ do {
+ if ((i16 | 0) == (i11 | 0)) {
+ HEAP32[3016] = i4 & ~(1 << i17);
+ } else {
+ if (i11 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ i9 = i11 + 12 | 0;
+ if ((HEAP32[i9 >> 2] | 0) == (i15 | 0)) {
+ HEAP32[i9 >> 2] = i16;
+ HEAP32[i12 >> 2] = i11;
+ break;
+ } else {
+ _abort();
+ return 0;
+ }
+ }
+ } while (0);
+ i11 = i17 << 3;
+ i12 = i11 - i2 | 0;
+ HEAP32[i15 + 4 >> 2] = i2 | 3;
+ i16 = i15;
+ i4 = i16 + i2 | 0;
+ HEAP32[i16 + (i2 | 4) >> 2] = i12 | 1;
+ HEAP32[i16 + i11 >> 2] = i12;
+ i11 = HEAP32[3018] | 0;
+ if ((i11 | 0) != 0) {
+ i16 = HEAP32[3021] | 0;
+ i3 = i11 >>> 3;
+ i11 = i3 << 1;
+ i5 = 12104 + (i11 << 2) | 0;
+ i10 = HEAP32[3016] | 0;
+ i7 = 1 << i3;
+ do {
+ if ((i10 & i7 | 0) == 0) {
+ HEAP32[3016] = i10 | i7;
+ i18 = i5;
+ i19 = 12104 + (i11 + 2 << 2) | 0;
+ } else {
+ i3 = 12104 + (i11 + 2 << 2) | 0;
+ i6 = HEAP32[i3 >> 2] | 0;
+ if (i6 >>> 0 >= (HEAP32[3020] | 0) >>> 0) {
+ i18 = i6;
+ i19 = i3;
+ break;
+ }
+ _abort();
+ return 0;
+ }
+ } while (0);
+ HEAP32[i19 >> 2] = i16;
+ HEAP32[i18 + 12 >> 2] = i16;
+ HEAP32[i16 + 8 >> 2] = i18;
+ HEAP32[i16 + 12 >> 2] = i5;
+ }
+ HEAP32[3018] = i12;
+ HEAP32[3021] = i4;
+ i13 = i8;
+ return i13 | 0;
+ }
+ i11 = HEAP32[3017] | 0;
+ if ((i11 | 0) == 0) {
+ i14 = i2;
+ break;
+ }
+ i7 = (i11 & -i11) - 1 | 0;
+ i11 = i7 >>> 12 & 16;
+ i10 = i7 >>> (i11 >>> 0);
+ i7 = i10 >>> 5 & 8;
+ i15 = i10 >>> (i7 >>> 0);
+ i10 = i15 >>> 2 & 4;
+ i17 = i15 >>> (i10 >>> 0);
+ i15 = i17 >>> 1 & 2;
+ i3 = i17 >>> (i15 >>> 0);
+ i17 = i3 >>> 1 & 1;
+ i6 = HEAP32[12368 + ((i7 | i11 | i10 | i15 | i17) + (i3 >>> (i17 >>> 0)) << 2) >> 2] | 0;
+ i17 = i6;
+ i3 = i6;
+ i15 = (HEAP32[i6 + 4 >> 2] & -8) - i2 | 0;
+ while (1) {
+ i6 = HEAP32[i17 + 16 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ i10 = HEAP32[i17 + 20 >> 2] | 0;
+ if ((i10 | 0) == 0) {
+ break;
+ } else {
+ i20 = i10;
+ }
+ } else {
+ i20 = i6;
+ }
+ i6 = (HEAP32[i20 + 4 >> 2] & -8) - i2 | 0;
+ i10 = i6 >>> 0 < i15 >>> 0;
+ i17 = i20;
+ i3 = i10 ? i20 : i3;
+ i15 = i10 ? i6 : i15;
+ }
+ i17 = i3;
+ i8 = HEAP32[3020] | 0;
+ if (i17 >>> 0 < i8 >>> 0) {
+ _abort();
+ return 0;
+ }
+ i4 = i17 + i2 | 0;
+ i12 = i4;
+ if (i17 >>> 0 >= i4 >>> 0) {
+ _abort();
+ return 0;
+ }
+ i4 = HEAP32[i3 + 24 >> 2] | 0;
+ i5 = HEAP32[i3 + 12 >> 2] | 0;
+ do {
+ if ((i5 | 0) == (i3 | 0)) {
+ i16 = i3 + 20 | 0;
+ i6 = HEAP32[i16 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ i10 = i3 + 16 | 0;
+ i11 = HEAP32[i10 >> 2] | 0;
+ if ((i11 | 0) == 0) {
+ i21 = 0;
+ break;
+ } else {
+ i22 = i11;
+ i23 = i10;
+ }
+ } else {
+ i22 = i6;
+ i23 = i16;
+ }
+ while (1) {
+ i16 = i22 + 20 | 0;
+ i6 = HEAP32[i16 >> 2] | 0;
+ if ((i6 | 0) != 0) {
+ i22 = i6;
+ i23 = i16;
+ continue;
+ }
+ i16 = i22 + 16 | 0;
+ i6 = HEAP32[i16 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ break;
+ } else {
+ i22 = i6;
+ i23 = i16;
+ }
+ }
+ if (i23 >>> 0 < i8 >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i23 >> 2] = 0;
+ i21 = i22;
+ break;
+ }
+ } else {
+ i16 = HEAP32[i3 + 8 >> 2] | 0;
+ if (i16 >>> 0 < i8 >>> 0) {
+ _abort();
+ return 0;
+ }
+ i6 = i16 + 12 | 0;
+ if ((HEAP32[i6 >> 2] | 0) != (i3 | 0)) {
+ _abort();
+ return 0;
+ }
+ i10 = i5 + 8 | 0;
+ if ((HEAP32[i10 >> 2] | 0) == (i3 | 0)) {
+ HEAP32[i6 >> 2] = i5;
+ HEAP32[i10 >> 2] = i16;
+ i21 = i5;
+ break;
+ } else {
+ _abort();
+ return 0;
+ }
+ }
+ } while (0);
+ L78 : do {
+ if ((i4 | 0) != 0) {
+ i5 = i3 + 28 | 0;
+ i8 = 12368 + (HEAP32[i5 >> 2] << 2) | 0;
+ do {
+ if ((i3 | 0) == (HEAP32[i8 >> 2] | 0)) {
+ HEAP32[i8 >> 2] = i21;
+ if ((i21 | 0) != 0) {
+ break;
+ }
+ HEAP32[3017] = HEAP32[3017] & ~(1 << HEAP32[i5 >> 2]);
+ break L78;
+ } else {
+ if (i4 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ i16 = i4 + 16 | 0;
+ if ((HEAP32[i16 >> 2] | 0) == (i3 | 0)) {
+ HEAP32[i16 >> 2] = i21;
+ } else {
+ HEAP32[i4 + 20 >> 2] = i21;
+ }
+ if ((i21 | 0) == 0) {
+ break L78;
+ }
+ }
+ } while (0);
+ if (i21 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ HEAP32[i21 + 24 >> 2] = i4;
+ i5 = HEAP32[i3 + 16 >> 2] | 0;
+ do {
+ if ((i5 | 0) != 0) {
+ if (i5 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i21 + 16 >> 2] = i5;
+ HEAP32[i5 + 24 >> 2] = i21;
+ break;
+ }
+ }
+ } while (0);
+ i5 = HEAP32[i3 + 20 >> 2] | 0;
+ if ((i5 | 0) == 0) {
+ break;
+ }
+ if (i5 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i21 + 20 >> 2] = i5;
+ HEAP32[i5 + 24 >> 2] = i21;
+ break;
+ }
+ }
+ } while (0);
+ if (i15 >>> 0 < 16) {
+ i4 = i15 + i2 | 0;
+ HEAP32[i3 + 4 >> 2] = i4 | 3;
+ i5 = i17 + (i4 + 4) | 0;
+ HEAP32[i5 >> 2] = HEAP32[i5 >> 2] | 1;
+ } else {
+ HEAP32[i3 + 4 >> 2] = i2 | 3;
+ HEAP32[i17 + (i2 | 4) >> 2] = i15 | 1;
+ HEAP32[i17 + (i15 + i2) >> 2] = i15;
+ i5 = HEAP32[3018] | 0;
+ if ((i5 | 0) != 0) {
+ i4 = HEAP32[3021] | 0;
+ i8 = i5 >>> 3;
+ i5 = i8 << 1;
+ i16 = 12104 + (i5 << 2) | 0;
+ i10 = HEAP32[3016] | 0;
+ i6 = 1 << i8;
+ do {
+ if ((i10 & i6 | 0) == 0) {
+ HEAP32[3016] = i10 | i6;
+ i24 = i16;
+ i25 = 12104 + (i5 + 2 << 2) | 0;
+ } else {
+ i8 = 12104 + (i5 + 2 << 2) | 0;
+ i11 = HEAP32[i8 >> 2] | 0;
+ if (i11 >>> 0 >= (HEAP32[3020] | 0) >>> 0) {
+ i24 = i11;
+ i25 = i8;
+ break;
+ }
+ _abort();
+ return 0;
+ }
+ } while (0);
+ HEAP32[i25 >> 2] = i4;
+ HEAP32[i24 + 12 >> 2] = i4;
+ HEAP32[i4 + 8 >> 2] = i24;
+ HEAP32[i4 + 12 >> 2] = i16;
+ }
+ HEAP32[3018] = i15;
+ HEAP32[3021] = i12;
+ }
+ i5 = i3 + 8 | 0;
+ if ((i5 | 0) == 0) {
+ i14 = i2;
+ break;
+ } else {
+ i13 = i5;
+ }
+ return i13 | 0;
+ } else {
+ if (i1 >>> 0 > 4294967231) {
+ i14 = -1;
+ break;
+ }
+ i5 = i1 + 11 | 0;
+ i6 = i5 & -8;
+ i10 = HEAP32[3017] | 0;
+ if ((i10 | 0) == 0) {
+ i14 = i6;
+ break;
+ }
+ i17 = -i6 | 0;
+ i8 = i5 >>> 8;
+ do {
+ if ((i8 | 0) == 0) {
+ i26 = 0;
+ } else {
+ if (i6 >>> 0 > 16777215) {
+ i26 = 31;
+ break;
+ }
+ i5 = (i8 + 1048320 | 0) >>> 16 & 8;
+ i11 = i8 << i5;
+ i7 = (i11 + 520192 | 0) >>> 16 & 4;
+ i9 = i11 << i7;
+ i11 = (i9 + 245760 | 0) >>> 16 & 2;
+ i27 = 14 - (i7 | i5 | i11) + (i9 << i11 >>> 15) | 0;
+ i26 = i6 >>> ((i27 + 7 | 0) >>> 0) & 1 | i27 << 1;
+ }
+ } while (0);
+ i8 = HEAP32[12368 + (i26 << 2) >> 2] | 0;
+ L126 : do {
+ if ((i8 | 0) == 0) {
+ i28 = 0;
+ i29 = i17;
+ i30 = 0;
+ } else {
+ if ((i26 | 0) == 31) {
+ i31 = 0;
+ } else {
+ i31 = 25 - (i26 >>> 1) | 0;
+ }
+ i3 = 0;
+ i12 = i17;
+ i15 = i8;
+ i16 = i6 << i31;
+ i4 = 0;
+ while (1) {
+ i27 = HEAP32[i15 + 4 >> 2] & -8;
+ i11 = i27 - i6 | 0;
+ if (i11 >>> 0 < i12 >>> 0) {
+ if ((i27 | 0) == (i6 | 0)) {
+ i28 = i15;
+ i29 = i11;
+ i30 = i15;
+ break L126;
+ } else {
+ i32 = i15;
+ i33 = i11;
+ }
+ } else {
+ i32 = i3;
+ i33 = i12;
+ }
+ i11 = HEAP32[i15 + 20 >> 2] | 0;
+ i27 = HEAP32[i15 + 16 + (i16 >>> 31 << 2) >> 2] | 0;
+ i9 = (i11 | 0) == 0 | (i11 | 0) == (i27 | 0) ? i4 : i11;
+ if ((i27 | 0) == 0) {
+ i28 = i32;
+ i29 = i33;
+ i30 = i9;
+ break;
+ } else {
+ i3 = i32;
+ i12 = i33;
+ i15 = i27;
+ i16 = i16 << 1;
+ i4 = i9;
+ }
+ }
+ }
+ } while (0);
+ if ((i30 | 0) == 0 & (i28 | 0) == 0) {
+ i8 = 2 << i26;
+ i17 = i10 & (i8 | -i8);
+ if ((i17 | 0) == 0) {
+ i14 = i6;
+ break;
+ }
+ i8 = (i17 & -i17) - 1 | 0;
+ i17 = i8 >>> 12 & 16;
+ i4 = i8 >>> (i17 >>> 0);
+ i8 = i4 >>> 5 & 8;
+ i16 = i4 >>> (i8 >>> 0);
+ i4 = i16 >>> 2 & 4;
+ i15 = i16 >>> (i4 >>> 0);
+ i16 = i15 >>> 1 & 2;
+ i12 = i15 >>> (i16 >>> 0);
+ i15 = i12 >>> 1 & 1;
+ i34 = HEAP32[12368 + ((i8 | i17 | i4 | i16 | i15) + (i12 >>> (i15 >>> 0)) << 2) >> 2] | 0;
+ } else {
+ i34 = i30;
+ }
+ if ((i34 | 0) == 0) {
+ i35 = i29;
+ i36 = i28;
+ } else {
+ i15 = i34;
+ i12 = i29;
+ i16 = i28;
+ while (1) {
+ i4 = (HEAP32[i15 + 4 >> 2] & -8) - i6 | 0;
+ i17 = i4 >>> 0 < i12 >>> 0;
+ i8 = i17 ? i4 : i12;
+ i4 = i17 ? i15 : i16;
+ i17 = HEAP32[i15 + 16 >> 2] | 0;
+ if ((i17 | 0) != 0) {
+ i15 = i17;
+ i12 = i8;
+ i16 = i4;
+ continue;
+ }
+ i17 = HEAP32[i15 + 20 >> 2] | 0;
+ if ((i17 | 0) == 0) {
+ i35 = i8;
+ i36 = i4;
+ break;
+ } else {
+ i15 = i17;
+ i12 = i8;
+ i16 = i4;
+ }
+ }
+ }
+ if ((i36 | 0) == 0) {
+ i14 = i6;
+ break;
+ }
+ if (i35 >>> 0 >= ((HEAP32[3018] | 0) - i6 | 0) >>> 0) {
+ i14 = i6;
+ break;
+ }
+ i16 = i36;
+ i12 = HEAP32[3020] | 0;
+ if (i16 >>> 0 < i12 >>> 0) {
+ _abort();
+ return 0;
+ }
+ i15 = i16 + i6 | 0;
+ i10 = i15;
+ if (i16 >>> 0 >= i15 >>> 0) {
+ _abort();
+ return 0;
+ }
+ i4 = HEAP32[i36 + 24 >> 2] | 0;
+ i8 = HEAP32[i36 + 12 >> 2] | 0;
+ do {
+ if ((i8 | 0) == (i36 | 0)) {
+ i17 = i36 + 20 | 0;
+ i3 = HEAP32[i17 >> 2] | 0;
+ if ((i3 | 0) == 0) {
+ i9 = i36 + 16 | 0;
+ i27 = HEAP32[i9 >> 2] | 0;
+ if ((i27 | 0) == 0) {
+ i37 = 0;
+ break;
+ } else {
+ i38 = i27;
+ i39 = i9;
+ }
+ } else {
+ i38 = i3;
+ i39 = i17;
+ }
+ while (1) {
+ i17 = i38 + 20 | 0;
+ i3 = HEAP32[i17 >> 2] | 0;
+ if ((i3 | 0) != 0) {
+ i38 = i3;
+ i39 = i17;
+ continue;
+ }
+ i17 = i38 + 16 | 0;
+ i3 = HEAP32[i17 >> 2] | 0;
+ if ((i3 | 0) == 0) {
+ break;
+ } else {
+ i38 = i3;
+ i39 = i17;
+ }
+ }
+ if (i39 >>> 0 < i12 >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i39 >> 2] = 0;
+ i37 = i38;
+ break;
+ }
+ } else {
+ i17 = HEAP32[i36 + 8 >> 2] | 0;
+ if (i17 >>> 0 < i12 >>> 0) {
+ _abort();
+ return 0;
+ }
+ i3 = i17 + 12 | 0;
+ if ((HEAP32[i3 >> 2] | 0) != (i36 | 0)) {
+ _abort();
+ return 0;
+ }
+ i9 = i8 + 8 | 0;
+ if ((HEAP32[i9 >> 2] | 0) == (i36 | 0)) {
+ HEAP32[i3 >> 2] = i8;
+ HEAP32[i9 >> 2] = i17;
+ i37 = i8;
+ break;
+ } else {
+ _abort();
+ return 0;
+ }
+ }
+ } while (0);
+ L176 : do {
+ if ((i4 | 0) != 0) {
+ i8 = i36 + 28 | 0;
+ i12 = 12368 + (HEAP32[i8 >> 2] << 2) | 0;
+ do {
+ if ((i36 | 0) == (HEAP32[i12 >> 2] | 0)) {
+ HEAP32[i12 >> 2] = i37;
+ if ((i37 | 0) != 0) {
+ break;
+ }
+ HEAP32[3017] = HEAP32[3017] & ~(1 << HEAP32[i8 >> 2]);
+ break L176;
+ } else {
+ if (i4 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ i17 = i4 + 16 | 0;
+ if ((HEAP32[i17 >> 2] | 0) == (i36 | 0)) {
+ HEAP32[i17 >> 2] = i37;
+ } else {
+ HEAP32[i4 + 20 >> 2] = i37;
+ }
+ if ((i37 | 0) == 0) {
+ break L176;
+ }
+ }
+ } while (0);
+ if (i37 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ HEAP32[i37 + 24 >> 2] = i4;
+ i8 = HEAP32[i36 + 16 >> 2] | 0;
+ do {
+ if ((i8 | 0) != 0) {
+ if (i8 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i37 + 16 >> 2] = i8;
+ HEAP32[i8 + 24 >> 2] = i37;
+ break;
+ }
+ }
+ } while (0);
+ i8 = HEAP32[i36 + 20 >> 2] | 0;
+ if ((i8 | 0) == 0) {
+ break;
+ }
+ if (i8 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i37 + 20 >> 2] = i8;
+ HEAP32[i8 + 24 >> 2] = i37;
+ break;
+ }
+ }
+ } while (0);
+ do {
+ if (i35 >>> 0 < 16) {
+ i4 = i35 + i6 | 0;
+ HEAP32[i36 + 4 >> 2] = i4 | 3;
+ i8 = i16 + (i4 + 4) | 0;
+ HEAP32[i8 >> 2] = HEAP32[i8 >> 2] | 1;
+ } else {
+ HEAP32[i36 + 4 >> 2] = i6 | 3;
+ HEAP32[i16 + (i6 | 4) >> 2] = i35 | 1;
+ HEAP32[i16 + (i35 + i6) >> 2] = i35;
+ i8 = i35 >>> 3;
+ if (i35 >>> 0 < 256) {
+ i4 = i8 << 1;
+ i12 = 12104 + (i4 << 2) | 0;
+ i17 = HEAP32[3016] | 0;
+ i9 = 1 << i8;
+ do {
+ if ((i17 & i9 | 0) == 0) {
+ HEAP32[3016] = i17 | i9;
+ i40 = i12;
+ i41 = 12104 + (i4 + 2 << 2) | 0;
+ } else {
+ i8 = 12104 + (i4 + 2 << 2) | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ if (i3 >>> 0 >= (HEAP32[3020] | 0) >>> 0) {
+ i40 = i3;
+ i41 = i8;
+ break;
+ }
+ _abort();
+ return 0;
+ }
+ } while (0);
+ HEAP32[i41 >> 2] = i10;
+ HEAP32[i40 + 12 >> 2] = i10;
+ HEAP32[i16 + (i6 + 8) >> 2] = i40;
+ HEAP32[i16 + (i6 + 12) >> 2] = i12;
+ break;
+ }
+ i4 = i15;
+ i9 = i35 >>> 8;
+ do {
+ if ((i9 | 0) == 0) {
+ i42 = 0;
+ } else {
+ if (i35 >>> 0 > 16777215) {
+ i42 = 31;
+ break;
+ }
+ i17 = (i9 + 1048320 | 0) >>> 16 & 8;
+ i8 = i9 << i17;
+ i3 = (i8 + 520192 | 0) >>> 16 & 4;
+ i27 = i8 << i3;
+ i8 = (i27 + 245760 | 0) >>> 16 & 2;
+ i11 = 14 - (i3 | i17 | i8) + (i27 << i8 >>> 15) | 0;
+ i42 = i35 >>> ((i11 + 7 | 0) >>> 0) & 1 | i11 << 1;
+ }
+ } while (0);
+ i9 = 12368 + (i42 << 2) | 0;
+ HEAP32[i16 + (i6 + 28) >> 2] = i42;
+ HEAP32[i16 + (i6 + 20) >> 2] = 0;
+ HEAP32[i16 + (i6 + 16) >> 2] = 0;
+ i12 = HEAP32[3017] | 0;
+ i11 = 1 << i42;
+ if ((i12 & i11 | 0) == 0) {
+ HEAP32[3017] = i12 | i11;
+ HEAP32[i9 >> 2] = i4;
+ HEAP32[i16 + (i6 + 24) >> 2] = i9;
+ HEAP32[i16 + (i6 + 12) >> 2] = i4;
+ HEAP32[i16 + (i6 + 8) >> 2] = i4;
+ break;
+ }
+ if ((i42 | 0) == 31) {
+ i43 = 0;
+ } else {
+ i43 = 25 - (i42 >>> 1) | 0;
+ }
+ i11 = i35 << i43;
+ i12 = HEAP32[i9 >> 2] | 0;
+ while (1) {
+ if ((HEAP32[i12 + 4 >> 2] & -8 | 0) == (i35 | 0)) {
+ break;
+ }
+ i44 = i12 + 16 + (i11 >>> 31 << 2) | 0;
+ i9 = HEAP32[i44 >> 2] | 0;
+ if ((i9 | 0) == 0) {
+ i45 = 151;
+ break;
+ } else {
+ i11 = i11 << 1;
+ i12 = i9;
+ }
+ }
+ if ((i45 | 0) == 151) {
+ if (i44 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i44 >> 2] = i4;
+ HEAP32[i16 + (i6 + 24) >> 2] = i12;
+ HEAP32[i16 + (i6 + 12) >> 2] = i4;
+ HEAP32[i16 + (i6 + 8) >> 2] = i4;
+ break;
+ }
+ }
+ i11 = i12 + 8 | 0;
+ i9 = HEAP32[i11 >> 2] | 0;
+ i8 = HEAP32[3020] | 0;
+ if (i12 >>> 0 < i8 >>> 0) {
+ _abort();
+ return 0;
+ }
+ if (i9 >>> 0 < i8 >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i9 + 12 >> 2] = i4;
+ HEAP32[i11 >> 2] = i4;
+ HEAP32[i16 + (i6 + 8) >> 2] = i9;
+ HEAP32[i16 + (i6 + 12) >> 2] = i12;
+ HEAP32[i16 + (i6 + 24) >> 2] = 0;
+ break;
+ }
+ }
+ } while (0);
+ i16 = i36 + 8 | 0;
+ if ((i16 | 0) == 0) {
+ i14 = i6;
+ break;
+ } else {
+ i13 = i16;
+ }
+ return i13 | 0;
+ }
+ } while (0);
+ i36 = HEAP32[3018] | 0;
+ if (i14 >>> 0 <= i36 >>> 0) {
+ i44 = i36 - i14 | 0;
+ i35 = HEAP32[3021] | 0;
+ if (i44 >>> 0 > 15) {
+ i43 = i35;
+ HEAP32[3021] = i43 + i14;
+ HEAP32[3018] = i44;
+ HEAP32[i43 + (i14 + 4) >> 2] = i44 | 1;
+ HEAP32[i43 + i36 >> 2] = i44;
+ HEAP32[i35 + 4 >> 2] = i14 | 3;
+ } else {
+ HEAP32[3018] = 0;
+ HEAP32[3021] = 0;
+ HEAP32[i35 + 4 >> 2] = i36 | 3;
+ i44 = i35 + (i36 + 4) | 0;
+ HEAP32[i44 >> 2] = HEAP32[i44 >> 2] | 1;
+ }
+ i13 = i35 + 8 | 0;
+ return i13 | 0;
+ }
+ i35 = HEAP32[3019] | 0;
+ if (i14 >>> 0 < i35 >>> 0) {
+ i44 = i35 - i14 | 0;
+ HEAP32[3019] = i44;
+ i35 = HEAP32[3022] | 0;
+ i36 = i35;
+ HEAP32[3022] = i36 + i14;
+ HEAP32[i36 + (i14 + 4) >> 2] = i44 | 1;
+ HEAP32[i35 + 4 >> 2] = i14 | 3;
+ i13 = i35 + 8 | 0;
+ return i13 | 0;
+ }
+ do {
+ if ((HEAP32[2976] | 0) == 0) {
+ i35 = _sysconf(8) | 0;
+ if ((i35 - 1 & i35 | 0) == 0) {
+ HEAP32[2978] = i35;
+ HEAP32[2977] = i35;
+ HEAP32[2979] = -1;
+ HEAP32[2980] = -1;
+ HEAP32[2981] = 0;
+ HEAP32[3127] = 0;
+ HEAP32[2976] = (_time(0) | 0) & -16 ^ 1431655768;
+ break;
+ } else {
+ _abort();
+ return 0;
+ }
+ }
+ } while (0);
+ i35 = i14 + 48 | 0;
+ i44 = HEAP32[2978] | 0;
+ i36 = i14 + 47 | 0;
+ i43 = i44 + i36 | 0;
+ i42 = -i44 | 0;
+ i44 = i43 & i42;
+ if (i44 >>> 0 <= i14 >>> 0) {
+ i13 = 0;
+ return i13 | 0;
+ }
+ i40 = HEAP32[3126] | 0;
+ do {
+ if ((i40 | 0) != 0) {
+ i41 = HEAP32[3124] | 0;
+ i37 = i41 + i44 | 0;
+ if (i37 >>> 0 <= i41 >>> 0 | i37 >>> 0 > i40 >>> 0) {
+ i13 = 0;
+ } else {
+ break;
+ }
+ return i13 | 0;
+ }
+ } while (0);
+ L268 : do {
+ if ((HEAP32[3127] & 4 | 0) == 0) {
+ i40 = HEAP32[3022] | 0;
+ L270 : do {
+ if ((i40 | 0) == 0) {
+ i45 = 181;
+ } else {
+ i37 = i40;
+ i41 = 12512;
+ while (1) {
+ i46 = i41 | 0;
+ i38 = HEAP32[i46 >> 2] | 0;
+ if (i38 >>> 0 <= i37 >>> 0) {
+ i47 = i41 + 4 | 0;
+ if ((i38 + (HEAP32[i47 >> 2] | 0) | 0) >>> 0 > i37 >>> 0) {
+ break;
+ }
+ }
+ i38 = HEAP32[i41 + 8 >> 2] | 0;
+ if ((i38 | 0) == 0) {
+ i45 = 181;
+ break L270;
+ } else {
+ i41 = i38;
+ }
+ }
+ if ((i41 | 0) == 0) {
+ i45 = 181;
+ break;
+ }
+ i37 = i43 - (HEAP32[3019] | 0) & i42;
+ if (i37 >>> 0 >= 2147483647) {
+ i48 = 0;
+ break;
+ }
+ i12 = _sbrk(i37 | 0) | 0;
+ i4 = (i12 | 0) == ((HEAP32[i46 >> 2] | 0) + (HEAP32[i47 >> 2] | 0) | 0);
+ i49 = i4 ? i12 : -1;
+ i50 = i4 ? i37 : 0;
+ i51 = i12;
+ i52 = i37;
+ i45 = 190;
+ }
+ } while (0);
+ do {
+ if ((i45 | 0) == 181) {
+ i40 = _sbrk(0) | 0;
+ if ((i40 | 0) == -1) {
+ i48 = 0;
+ break;
+ }
+ i6 = i40;
+ i37 = HEAP32[2977] | 0;
+ i12 = i37 - 1 | 0;
+ if ((i12 & i6 | 0) == 0) {
+ i53 = i44;
+ } else {
+ i53 = i44 - i6 + (i12 + i6 & -i37) | 0;
+ }
+ i37 = HEAP32[3124] | 0;
+ i6 = i37 + i53 | 0;
+ if (!(i53 >>> 0 > i14 >>> 0 & i53 >>> 0 < 2147483647)) {
+ i48 = 0;
+ break;
+ }
+ i12 = HEAP32[3126] | 0;
+ if ((i12 | 0) != 0) {
+ if (i6 >>> 0 <= i37 >>> 0 | i6 >>> 0 > i12 >>> 0) {
+ i48 = 0;
+ break;
+ }
+ }
+ i12 = _sbrk(i53 | 0) | 0;
+ i6 = (i12 | 0) == (i40 | 0);
+ i49 = i6 ? i40 : -1;
+ i50 = i6 ? i53 : 0;
+ i51 = i12;
+ i52 = i53;
+ i45 = 190;
+ }
+ } while (0);
+ L290 : do {
+ if ((i45 | 0) == 190) {
+ i12 = -i52 | 0;
+ if ((i49 | 0) != -1) {
+ i54 = i50;
+ i55 = i49;
+ i45 = 201;
+ break L268;
+ }
+ do {
+ if ((i51 | 0) != -1 & i52 >>> 0 < 2147483647 & i52 >>> 0 < i35 >>> 0) {
+ i6 = HEAP32[2978] | 0;
+ i40 = i36 - i52 + i6 & -i6;
+ if (i40 >>> 0 >= 2147483647) {
+ i56 = i52;
+ break;
+ }
+ if ((_sbrk(i40 | 0) | 0) == -1) {
+ _sbrk(i12 | 0) | 0;
+ i48 = i50;
+ break L290;
+ } else {
+ i56 = i40 + i52 | 0;
+ break;
+ }
+ } else {
+ i56 = i52;
+ }
+ } while (0);
+ if ((i51 | 0) == -1) {
+ i48 = i50;
+ } else {
+ i54 = i56;
+ i55 = i51;
+ i45 = 201;
+ break L268;
+ }
+ }
+ } while (0);
+ HEAP32[3127] = HEAP32[3127] | 4;
+ i57 = i48;
+ i45 = 198;
+ } else {
+ i57 = 0;
+ i45 = 198;
+ }
+ } while (0);
+ do {
+ if ((i45 | 0) == 198) {
+ if (i44 >>> 0 >= 2147483647) {
+ break;
+ }
+ i48 = _sbrk(i44 | 0) | 0;
+ i51 = _sbrk(0) | 0;
+ if (!((i51 | 0) != -1 & (i48 | 0) != -1 & i48 >>> 0 < i51 >>> 0)) {
+ break;
+ }
+ i56 = i51 - i48 | 0;
+ i51 = i56 >>> 0 > (i14 + 40 | 0) >>> 0;
+ i50 = i51 ? i48 : -1;
+ if ((i50 | 0) != -1) {
+ i54 = i51 ? i56 : i57;
+ i55 = i50;
+ i45 = 201;
+ }
+ }
+ } while (0);
+ do {
+ if ((i45 | 0) == 201) {
+ i57 = (HEAP32[3124] | 0) + i54 | 0;
+ HEAP32[3124] = i57;
+ if (i57 >>> 0 > (HEAP32[3125] | 0) >>> 0) {
+ HEAP32[3125] = i57;
+ }
+ i57 = HEAP32[3022] | 0;
+ L310 : do {
+ if ((i57 | 0) == 0) {
+ i44 = HEAP32[3020] | 0;
+ if ((i44 | 0) == 0 | i55 >>> 0 < i44 >>> 0) {
+ HEAP32[3020] = i55;
+ }
+ HEAP32[3128] = i55;
+ HEAP32[3129] = i54;
+ HEAP32[3131] = 0;
+ HEAP32[3025] = HEAP32[2976];
+ HEAP32[3024] = -1;
+ i44 = 0;
+ do {
+ i50 = i44 << 1;
+ i56 = 12104 + (i50 << 2) | 0;
+ HEAP32[12104 + (i50 + 3 << 2) >> 2] = i56;
+ HEAP32[12104 + (i50 + 2 << 2) >> 2] = i56;
+ i44 = i44 + 1 | 0;
+ } while (i44 >>> 0 < 32);
+ i44 = i55 + 8 | 0;
+ if ((i44 & 7 | 0) == 0) {
+ i58 = 0;
+ } else {
+ i58 = -i44 & 7;
+ }
+ i44 = i54 - 40 - i58 | 0;
+ HEAP32[3022] = i55 + i58;
+ HEAP32[3019] = i44;
+ HEAP32[i55 + (i58 + 4) >> 2] = i44 | 1;
+ HEAP32[i55 + (i54 - 36) >> 2] = 40;
+ HEAP32[3023] = HEAP32[2980];
+ } else {
+ i44 = 12512;
+ while (1) {
+ i59 = HEAP32[i44 >> 2] | 0;
+ i60 = i44 + 4 | 0;
+ i61 = HEAP32[i60 >> 2] | 0;
+ if ((i55 | 0) == (i59 + i61 | 0)) {
+ i45 = 213;
+ break;
+ }
+ i56 = HEAP32[i44 + 8 >> 2] | 0;
+ if ((i56 | 0) == 0) {
+ break;
+ } else {
+ i44 = i56;
+ }
+ }
+ do {
+ if ((i45 | 0) == 213) {
+ if ((HEAP32[i44 + 12 >> 2] & 8 | 0) != 0) {
+ break;
+ }
+ i56 = i57;
+ if (!(i56 >>> 0 >= i59 >>> 0 & i56 >>> 0 < i55 >>> 0)) {
+ break;
+ }
+ HEAP32[i60 >> 2] = i61 + i54;
+ i56 = HEAP32[3022] | 0;
+ i50 = (HEAP32[3019] | 0) + i54 | 0;
+ i51 = i56;
+ i48 = i56 + 8 | 0;
+ if ((i48 & 7 | 0) == 0) {
+ i62 = 0;
+ } else {
+ i62 = -i48 & 7;
+ }
+ i48 = i50 - i62 | 0;
+ HEAP32[3022] = i51 + i62;
+ HEAP32[3019] = i48;
+ HEAP32[i51 + (i62 + 4) >> 2] = i48 | 1;
+ HEAP32[i51 + (i50 + 4) >> 2] = 40;
+ HEAP32[3023] = HEAP32[2980];
+ break L310;
+ }
+ } while (0);
+ if (i55 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ HEAP32[3020] = i55;
+ }
+ i44 = i55 + i54 | 0;
+ i50 = 12512;
+ while (1) {
+ i63 = i50 | 0;
+ if ((HEAP32[i63 >> 2] | 0) == (i44 | 0)) {
+ i45 = 223;
+ break;
+ }
+ i51 = HEAP32[i50 + 8 >> 2] | 0;
+ if ((i51 | 0) == 0) {
+ break;
+ } else {
+ i50 = i51;
+ }
+ }
+ do {
+ if ((i45 | 0) == 223) {
+ if ((HEAP32[i50 + 12 >> 2] & 8 | 0) != 0) {
+ break;
+ }
+ HEAP32[i63 >> 2] = i55;
+ i44 = i50 + 4 | 0;
+ HEAP32[i44 >> 2] = (HEAP32[i44 >> 2] | 0) + i54;
+ i44 = i55 + 8 | 0;
+ if ((i44 & 7 | 0) == 0) {
+ i64 = 0;
+ } else {
+ i64 = -i44 & 7;
+ }
+ i44 = i55 + (i54 + 8) | 0;
+ if ((i44 & 7 | 0) == 0) {
+ i65 = 0;
+ } else {
+ i65 = -i44 & 7;
+ }
+ i44 = i55 + (i65 + i54) | 0;
+ i51 = i44;
+ i48 = i64 + i14 | 0;
+ i56 = i55 + i48 | 0;
+ i52 = i56;
+ i36 = i44 - (i55 + i64) - i14 | 0;
+ HEAP32[i55 + (i64 + 4) >> 2] = i14 | 3;
+ do {
+ if ((i51 | 0) == (HEAP32[3022] | 0)) {
+ i35 = (HEAP32[3019] | 0) + i36 | 0;
+ HEAP32[3019] = i35;
+ HEAP32[3022] = i52;
+ HEAP32[i55 + (i48 + 4) >> 2] = i35 | 1;
+ } else {
+ if ((i51 | 0) == (HEAP32[3021] | 0)) {
+ i35 = (HEAP32[3018] | 0) + i36 | 0;
+ HEAP32[3018] = i35;
+ HEAP32[3021] = i52;
+ HEAP32[i55 + (i48 + 4) >> 2] = i35 | 1;
+ HEAP32[i55 + (i35 + i48) >> 2] = i35;
+ break;
+ }
+ i35 = i54 + 4 | 0;
+ i49 = HEAP32[i55 + (i35 + i65) >> 2] | 0;
+ if ((i49 & 3 | 0) == 1) {
+ i53 = i49 & -8;
+ i47 = i49 >>> 3;
+ L355 : do {
+ if (i49 >>> 0 < 256) {
+ i46 = HEAP32[i55 + ((i65 | 8) + i54) >> 2] | 0;
+ i42 = HEAP32[i55 + (i54 + 12 + i65) >> 2] | 0;
+ i43 = 12104 + (i47 << 1 << 2) | 0;
+ do {
+ if ((i46 | 0) != (i43 | 0)) {
+ if (i46 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ if ((HEAP32[i46 + 12 >> 2] | 0) == (i51 | 0)) {
+ break;
+ }
+ _abort();
+ return 0;
+ }
+ } while (0);
+ if ((i42 | 0) == (i46 | 0)) {
+ HEAP32[3016] = HEAP32[3016] & ~(1 << i47);
+ break;
+ }
+ do {
+ if ((i42 | 0) == (i43 | 0)) {
+ i66 = i42 + 8 | 0;
+ } else {
+ if (i42 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ i12 = i42 + 8 | 0;
+ if ((HEAP32[i12 >> 2] | 0) == (i51 | 0)) {
+ i66 = i12;
+ break;
+ }
+ _abort();
+ return 0;
+ }
+ } while (0);
+ HEAP32[i46 + 12 >> 2] = i42;
+ HEAP32[i66 >> 2] = i46;
+ } else {
+ i43 = i44;
+ i12 = HEAP32[i55 + ((i65 | 24) + i54) >> 2] | 0;
+ i41 = HEAP32[i55 + (i54 + 12 + i65) >> 2] | 0;
+ do {
+ if ((i41 | 0) == (i43 | 0)) {
+ i40 = i65 | 16;
+ i6 = i55 + (i35 + i40) | 0;
+ i37 = HEAP32[i6 >> 2] | 0;
+ if ((i37 | 0) == 0) {
+ i4 = i55 + (i40 + i54) | 0;
+ i40 = HEAP32[i4 >> 2] | 0;
+ if ((i40 | 0) == 0) {
+ i67 = 0;
+ break;
+ } else {
+ i68 = i40;
+ i69 = i4;
+ }
+ } else {
+ i68 = i37;
+ i69 = i6;
+ }
+ while (1) {
+ i6 = i68 + 20 | 0;
+ i37 = HEAP32[i6 >> 2] | 0;
+ if ((i37 | 0) != 0) {
+ i68 = i37;
+ i69 = i6;
+ continue;
+ }
+ i6 = i68 + 16 | 0;
+ i37 = HEAP32[i6 >> 2] | 0;
+ if ((i37 | 0) == 0) {
+ break;
+ } else {
+ i68 = i37;
+ i69 = i6;
+ }
+ }
+ if (i69 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i69 >> 2] = 0;
+ i67 = i68;
+ break;
+ }
+ } else {
+ i6 = HEAP32[i55 + ((i65 | 8) + i54) >> 2] | 0;
+ if (i6 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ i37 = i6 + 12 | 0;
+ if ((HEAP32[i37 >> 2] | 0) != (i43 | 0)) {
+ _abort();
+ return 0;
+ }
+ i4 = i41 + 8 | 0;
+ if ((HEAP32[i4 >> 2] | 0) == (i43 | 0)) {
+ HEAP32[i37 >> 2] = i41;
+ HEAP32[i4 >> 2] = i6;
+ i67 = i41;
+ break;
+ } else {
+ _abort();
+ return 0;
+ }
+ }
+ } while (0);
+ if ((i12 | 0) == 0) {
+ break;
+ }
+ i41 = i55 + (i54 + 28 + i65) | 0;
+ i46 = 12368 + (HEAP32[i41 >> 2] << 2) | 0;
+ do {
+ if ((i43 | 0) == (HEAP32[i46 >> 2] | 0)) {
+ HEAP32[i46 >> 2] = i67;
+ if ((i67 | 0) != 0) {
+ break;
+ }
+ HEAP32[3017] = HEAP32[3017] & ~(1 << HEAP32[i41 >> 2]);
+ break L355;
+ } else {
+ if (i12 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ i42 = i12 + 16 | 0;
+ if ((HEAP32[i42 >> 2] | 0) == (i43 | 0)) {
+ HEAP32[i42 >> 2] = i67;
+ } else {
+ HEAP32[i12 + 20 >> 2] = i67;
+ }
+ if ((i67 | 0) == 0) {
+ break L355;
+ }
+ }
+ } while (0);
+ if (i67 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ }
+ HEAP32[i67 + 24 >> 2] = i12;
+ i43 = i65 | 16;
+ i41 = HEAP32[i55 + (i43 + i54) >> 2] | 0;
+ do {
+ if ((i41 | 0) != 0) {
+ if (i41 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i67 + 16 >> 2] = i41;
+ HEAP32[i41 + 24 >> 2] = i67;
+ break;
+ }
+ }
+ } while (0);
+ i41 = HEAP32[i55 + (i35 + i43) >> 2] | 0;
+ if ((i41 | 0) == 0) {
+ break;
+ }
+ if (i41 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i67 + 20 >> 2] = i41;
+ HEAP32[i41 + 24 >> 2] = i67;
+ break;
+ }
+ }
+ } while (0);
+ i70 = i55 + ((i53 | i65) + i54) | 0;
+ i71 = i53 + i36 | 0;
+ } else {
+ i70 = i51;
+ i71 = i36;
+ }
+ i35 = i70 + 4 | 0;
+ HEAP32[i35 >> 2] = HEAP32[i35 >> 2] & -2;
+ HEAP32[i55 + (i48 + 4) >> 2] = i71 | 1;
+ HEAP32[i55 + (i71 + i48) >> 2] = i71;
+ i35 = i71 >>> 3;
+ if (i71 >>> 0 < 256) {
+ i47 = i35 << 1;
+ i49 = 12104 + (i47 << 2) | 0;
+ i41 = HEAP32[3016] | 0;
+ i12 = 1 << i35;
+ do {
+ if ((i41 & i12 | 0) == 0) {
+ HEAP32[3016] = i41 | i12;
+ i72 = i49;
+ i73 = 12104 + (i47 + 2 << 2) | 0;
+ } else {
+ i35 = 12104 + (i47 + 2 << 2) | 0;
+ i46 = HEAP32[i35 >> 2] | 0;
+ if (i46 >>> 0 >= (HEAP32[3020] | 0) >>> 0) {
+ i72 = i46;
+ i73 = i35;
+ break;
+ }
+ _abort();
+ return 0;
+ }
+ } while (0);
+ HEAP32[i73 >> 2] = i52;
+ HEAP32[i72 + 12 >> 2] = i52;
+ HEAP32[i55 + (i48 + 8) >> 2] = i72;
+ HEAP32[i55 + (i48 + 12) >> 2] = i49;
+ break;
+ }
+ i47 = i56;
+ i12 = i71 >>> 8;
+ do {
+ if ((i12 | 0) == 0) {
+ i74 = 0;
+ } else {
+ if (i71 >>> 0 > 16777215) {
+ i74 = 31;
+ break;
+ }
+ i41 = (i12 + 1048320 | 0) >>> 16 & 8;
+ i53 = i12 << i41;
+ i35 = (i53 + 520192 | 0) >>> 16 & 4;
+ i46 = i53 << i35;
+ i53 = (i46 + 245760 | 0) >>> 16 & 2;
+ i42 = 14 - (i35 | i41 | i53) + (i46 << i53 >>> 15) | 0;
+ i74 = i71 >>> ((i42 + 7 | 0) >>> 0) & 1 | i42 << 1;
+ }
+ } while (0);
+ i12 = 12368 + (i74 << 2) | 0;
+ HEAP32[i55 + (i48 + 28) >> 2] = i74;
+ HEAP32[i55 + (i48 + 20) >> 2] = 0;
+ HEAP32[i55 + (i48 + 16) >> 2] = 0;
+ i49 = HEAP32[3017] | 0;
+ i42 = 1 << i74;
+ if ((i49 & i42 | 0) == 0) {
+ HEAP32[3017] = i49 | i42;
+ HEAP32[i12 >> 2] = i47;
+ HEAP32[i55 + (i48 + 24) >> 2] = i12;
+ HEAP32[i55 + (i48 + 12) >> 2] = i47;
+ HEAP32[i55 + (i48 + 8) >> 2] = i47;
+ break;
+ }
+ if ((i74 | 0) == 31) {
+ i75 = 0;
+ } else {
+ i75 = 25 - (i74 >>> 1) | 0;
+ }
+ i42 = i71 << i75;
+ i49 = HEAP32[i12 >> 2] | 0;
+ while (1) {
+ if ((HEAP32[i49 + 4 >> 2] & -8 | 0) == (i71 | 0)) {
+ break;
+ }
+ i76 = i49 + 16 + (i42 >>> 31 << 2) | 0;
+ i12 = HEAP32[i76 >> 2] | 0;
+ if ((i12 | 0) == 0) {
+ i45 = 296;
+ break;
+ } else {
+ i42 = i42 << 1;
+ i49 = i12;
+ }
+ }
+ if ((i45 | 0) == 296) {
+ if (i76 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i76 >> 2] = i47;
+ HEAP32[i55 + (i48 + 24) >> 2] = i49;
+ HEAP32[i55 + (i48 + 12) >> 2] = i47;
+ HEAP32[i55 + (i48 + 8) >> 2] = i47;
+ break;
+ }
+ }
+ i42 = i49 + 8 | 0;
+ i12 = HEAP32[i42 >> 2] | 0;
+ i53 = HEAP32[3020] | 0;
+ if (i49 >>> 0 < i53 >>> 0) {
+ _abort();
+ return 0;
+ }
+ if (i12 >>> 0 < i53 >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i12 + 12 >> 2] = i47;
+ HEAP32[i42 >> 2] = i47;
+ HEAP32[i55 + (i48 + 8) >> 2] = i12;
+ HEAP32[i55 + (i48 + 12) >> 2] = i49;
+ HEAP32[i55 + (i48 + 24) >> 2] = 0;
+ break;
+ }
+ }
+ } while (0);
+ i13 = i55 + (i64 | 8) | 0;
+ return i13 | 0;
+ }
+ } while (0);
+ i50 = i57;
+ i48 = 12512;
+ while (1) {
+ i77 = HEAP32[i48 >> 2] | 0;
+ if (i77 >>> 0 <= i50 >>> 0) {
+ i78 = HEAP32[i48 + 4 >> 2] | 0;
+ i79 = i77 + i78 | 0;
+ if (i79 >>> 0 > i50 >>> 0) {
+ break;
+ }
+ }
+ i48 = HEAP32[i48 + 8 >> 2] | 0;
+ }
+ i48 = i77 + (i78 - 39) | 0;
+ if ((i48 & 7 | 0) == 0) {
+ i80 = 0;
+ } else {
+ i80 = -i48 & 7;
+ }
+ i48 = i77 + (i78 - 47 + i80) | 0;
+ i56 = i48 >>> 0 < (i57 + 16 | 0) >>> 0 ? i50 : i48;
+ i48 = i56 + 8 | 0;
+ i52 = i55 + 8 | 0;
+ if ((i52 & 7 | 0) == 0) {
+ i81 = 0;
+ } else {
+ i81 = -i52 & 7;
+ }
+ i52 = i54 - 40 - i81 | 0;
+ HEAP32[3022] = i55 + i81;
+ HEAP32[3019] = i52;
+ HEAP32[i55 + (i81 + 4) >> 2] = i52 | 1;
+ HEAP32[i55 + (i54 - 36) >> 2] = 40;
+ HEAP32[3023] = HEAP32[2980];
+ HEAP32[i56 + 4 >> 2] = 27;
+ HEAP32[i48 >> 2] = HEAP32[3128];
+ HEAP32[i48 + 4 >> 2] = HEAP32[12516 >> 2];
+ HEAP32[i48 + 8 >> 2] = HEAP32[12520 >> 2];
+ HEAP32[i48 + 12 >> 2] = HEAP32[12524 >> 2];
+ HEAP32[3128] = i55;
+ HEAP32[3129] = i54;
+ HEAP32[3131] = 0;
+ HEAP32[3130] = i48;
+ i48 = i56 + 28 | 0;
+ HEAP32[i48 >> 2] = 7;
+ if ((i56 + 32 | 0) >>> 0 < i79 >>> 0) {
+ i52 = i48;
+ while (1) {
+ i48 = i52 + 4 | 0;
+ HEAP32[i48 >> 2] = 7;
+ if ((i52 + 8 | 0) >>> 0 < i79 >>> 0) {
+ i52 = i48;
+ } else {
+ break;
+ }
+ }
+ }
+ if ((i56 | 0) == (i50 | 0)) {
+ break;
+ }
+ i52 = i56 - i57 | 0;
+ i48 = i50 + (i52 + 4) | 0;
+ HEAP32[i48 >> 2] = HEAP32[i48 >> 2] & -2;
+ HEAP32[i57 + 4 >> 2] = i52 | 1;
+ HEAP32[i50 + i52 >> 2] = i52;
+ i48 = i52 >>> 3;
+ if (i52 >>> 0 < 256) {
+ i36 = i48 << 1;
+ i51 = 12104 + (i36 << 2) | 0;
+ i44 = HEAP32[3016] | 0;
+ i12 = 1 << i48;
+ do {
+ if ((i44 & i12 | 0) == 0) {
+ HEAP32[3016] = i44 | i12;
+ i82 = i51;
+ i83 = 12104 + (i36 + 2 << 2) | 0;
+ } else {
+ i48 = 12104 + (i36 + 2 << 2) | 0;
+ i42 = HEAP32[i48 >> 2] | 0;
+ if (i42 >>> 0 >= (HEAP32[3020] | 0) >>> 0) {
+ i82 = i42;
+ i83 = i48;
+ break;
+ }
+ _abort();
+ return 0;
+ }
+ } while (0);
+ HEAP32[i83 >> 2] = i57;
+ HEAP32[i82 + 12 >> 2] = i57;
+ HEAP32[i57 + 8 >> 2] = i82;
+ HEAP32[i57 + 12 >> 2] = i51;
+ break;
+ }
+ i36 = i57;
+ i12 = i52 >>> 8;
+ do {
+ if ((i12 | 0) == 0) {
+ i84 = 0;
+ } else {
+ if (i52 >>> 0 > 16777215) {
+ i84 = 31;
+ break;
+ }
+ i44 = (i12 + 1048320 | 0) >>> 16 & 8;
+ i50 = i12 << i44;
+ i56 = (i50 + 520192 | 0) >>> 16 & 4;
+ i48 = i50 << i56;
+ i50 = (i48 + 245760 | 0) >>> 16 & 2;
+ i42 = 14 - (i56 | i44 | i50) + (i48 << i50 >>> 15) | 0;
+ i84 = i52 >>> ((i42 + 7 | 0) >>> 0) & 1 | i42 << 1;
+ }
+ } while (0);
+ i12 = 12368 + (i84 << 2) | 0;
+ HEAP32[i57 + 28 >> 2] = i84;
+ HEAP32[i57 + 20 >> 2] = 0;
+ HEAP32[i57 + 16 >> 2] = 0;
+ i51 = HEAP32[3017] | 0;
+ i42 = 1 << i84;
+ if ((i51 & i42 | 0) == 0) {
+ HEAP32[3017] = i51 | i42;
+ HEAP32[i12 >> 2] = i36;
+ HEAP32[i57 + 24 >> 2] = i12;
+ HEAP32[i57 + 12 >> 2] = i57;
+ HEAP32[i57 + 8 >> 2] = i57;
+ break;
+ }
+ if ((i84 | 0) == 31) {
+ i85 = 0;
+ } else {
+ i85 = 25 - (i84 >>> 1) | 0;
+ }
+ i42 = i52 << i85;
+ i51 = HEAP32[i12 >> 2] | 0;
+ while (1) {
+ if ((HEAP32[i51 + 4 >> 2] & -8 | 0) == (i52 | 0)) {
+ break;
+ }
+ i86 = i51 + 16 + (i42 >>> 31 << 2) | 0;
+ i12 = HEAP32[i86 >> 2] | 0;
+ if ((i12 | 0) == 0) {
+ i45 = 331;
+ break;
+ } else {
+ i42 = i42 << 1;
+ i51 = i12;
+ }
+ }
+ if ((i45 | 0) == 331) {
+ if (i86 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i86 >> 2] = i36;
+ HEAP32[i57 + 24 >> 2] = i51;
+ HEAP32[i57 + 12 >> 2] = i57;
+ HEAP32[i57 + 8 >> 2] = i57;
+ break;
+ }
+ }
+ i42 = i51 + 8 | 0;
+ i52 = HEAP32[i42 >> 2] | 0;
+ i12 = HEAP32[3020] | 0;
+ if (i51 >>> 0 < i12 >>> 0) {
+ _abort();
+ return 0;
+ }
+ if (i52 >>> 0 < i12 >>> 0) {
+ _abort();
+ return 0;
+ } else {
+ HEAP32[i52 + 12 >> 2] = i36;
+ HEAP32[i42 >> 2] = i36;
+ HEAP32[i57 + 8 >> 2] = i52;
+ HEAP32[i57 + 12 >> 2] = i51;
+ HEAP32[i57 + 24 >> 2] = 0;
+ break;
+ }
+ }
+ } while (0);
+ i57 = HEAP32[3019] | 0;
+ if (i57 >>> 0 <= i14 >>> 0) {
+ break;
+ }
+ i52 = i57 - i14 | 0;
+ HEAP32[3019] = i52;
+ i57 = HEAP32[3022] | 0;
+ i42 = i57;
+ HEAP32[3022] = i42 + i14;
+ HEAP32[i42 + (i14 + 4) >> 2] = i52 | 1;
+ HEAP32[i57 + 4 >> 2] = i14 | 3;
+ i13 = i57 + 8 | 0;
+ return i13 | 0;
+ }
+ } while (0);
+ HEAP32[(___errno_location() | 0) >> 2] = 12;
+ i13 = 0;
+ return i13 | 0;
+}
+function __Z8dBoxBox2RK9btVector3PKfS1_S1_S3_S1_RS_PfPiiP12dContactGeomiRN36btDiscreteCollisionDetectorInterface6ResultE(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ i12 = i12 | 0;
+ i13 = i13 | 0;
+ var i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, d37 = 0.0, i38 = 0, d39 = 0.0, i40 = 0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, d45 = 0.0, i46 = 0, d47 = 0.0, i48 = 0, d49 = 0.0, i50 = 0, d51 = 0.0, d52 = 0.0, i53 = 0, d54 = 0.0, i55 = 0, d56 = 0.0, i57 = 0, d58 = 0.0, d59 = 0.0, d60 = 0.0, i61 = 0, d62 = 0.0, d63 = 0.0, d64 = 0.0, d65 = 0.0, d66 = 0.0, d67 = 0.0, d68 = 0.0, d69 = 0.0, d70 = 0.0, d71 = 0.0, i72 = 0, d73 = 0.0, i74 = 0, d75 = 0.0, d76 = 0.0, i77 = 0, d78 = 0.0, i79 = 0, d80 = 0.0, i81 = 0, d82 = 0.0, d83 = 0.0, d84 = 0.0, d85 = 0.0, d86 = 0.0, d87 = 0.0, d88 = 0.0, d89 = 0.0, d90 = 0.0, d91 = 0.0, d92 = 0.0, d93 = 0.0, i94 = 0, i95 = 0, i96 = 0, i97 = 0, d98 = 0.0, i99 = 0, i100 = 0, i101 = 0, d102 = 0.0, i103 = 0, i104 = 0, i105 = 0, d106 = 0.0, i107 = 0, i108 = 0, i109 = 0, d110 = 0.0, i111 = 0, i112 = 0, i113 = 0, d114 = 0.0, i115 = 0, i116 = 0, i117 = 0, d118 = 0.0, i119 = 0, i120 = 0, i121 = 0, d122 = 0.0, d123 = 0.0, d124 = 0.0, d125 = 0.0, i126 = 0, i127 = 0, i128 = 0, d129 = 0.0, d130 = 0.0, d131 = 0.0, d132 = 0.0, i133 = 0, i134 = 0, i135 = 0, d136 = 0.0, d137 = 0.0, d138 = 0.0, d139 = 0.0, i140 = 0, i141 = 0, i142 = 0, d143 = 0.0, d144 = 0.0, d145 = 0.0, d146 = 0.0, i147 = 0, i148 = 0, i149 = 0, d150 = 0.0, d151 = 0.0, d152 = 0.0, d153 = 0.0, i154 = 0, i155 = 0, i156 = 0, d157 = 0.0, d158 = 0.0, d159 = 0.0, d160 = 0.0, i161 = 0, i162 = 0, i163 = 0, d164 = 0.0, d165 = 0.0, d166 = 0.0, d167 = 0.0, i168 = 0, i169 = 0, i170 = 0, d171 = 0.0, d172 = 0.0, d173 = 0.0, d174 = 0.0, i175 = 0, i176 = 0, i177 = 0, d178 = 0.0, d179 = 0.0, d180 = 0.0, d181 = 0.0, i182 = 0, i183 = 0, d184 = 0.0, d185 = 0.0, d186 = 0.0, d187 = 0.0, d188 = 0.0, d189 = 0.0, d190 = 0.0, d191 = 0.0, i192 = 0, i193 = 0, i194 = 0, i195 = 0, i196 = 0, i197 = 0, i198 = 0, i199 = 0, i200 = 0, d201 = 0.0, d202 = 0.0, d203 = 0.0, i204 = 0, i205 = 0, i206 = 0, i207 = 0, i208 = 0, i209 = 0, d210 = 0.0, d211 = 0.0, i212 = 0, i213 = 0, i214 = 0, i215 = 0, i216 = 0, i217 = 0, i218 = 0, i219 = 0, i220 = 0, i221 = 0, d222 = 0.0, d223 = 0.0, i224 = 0, i225 = 0, i226 = 0, i227 = 0, i228 = 0;
+ i12 = STACKTOP;
+ i11 = i4;
+ i14 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i15 = STACKTOP;
+ STACKTOP = STACKTOP + 12 | 0;
+ STACKTOP = STACKTOP + 7 >> 3 << 3;
+ i16 = STACKTOP;
+ STACKTOP = STACKTOP + 12 | 0;
+ STACKTOP = STACKTOP + 7 >> 3 << 3;
+ i17 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i18 = i17;
+ i19 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i20 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i21 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i22 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i23 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i24 = STACKTOP;
+ STACKTOP = STACKTOP + 96 | 0;
+ i25 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i26 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i27 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i28 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i29 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i30 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i31 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i32 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i33 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i34 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i35 = i4 | 0;
+ i36 = i1 | 0;
+ d37 = +HEAPF32[i35 >> 2] - +HEAPF32[i36 >> 2];
+ i38 = i1 + 4 | 0;
+ d39 = +HEAPF32[i4 + 4 >> 2] - +HEAPF32[i38 >> 2];
+ i40 = i1 + 8 | 0;
+ d41 = +HEAPF32[i4 + 8 >> 2] - +HEAPF32[i40 >> 2];
+ d42 = +HEAPF32[i2 >> 2];
+ i4 = i2 + 16 | 0;
+ d43 = +HEAPF32[i4 >> 2];
+ i1 = i2 + 32 | 0;
+ d44 = +HEAPF32[i1 >> 2];
+ d45 = d37 * d42 + d39 * d43 + d41 * d44;
+ i46 = i2 + 4 | 0;
+ d47 = +HEAPF32[i46 >> 2];
+ i48 = i2 + 20 | 0;
+ d49 = +HEAPF32[i48 >> 2];
+ i50 = i2 + 36 | 0;
+ d51 = +HEAPF32[i50 >> 2];
+ d52 = d37 * d47 + d39 * d49 + d41 * d51;
+ i53 = i2 + 8 | 0;
+ d54 = +HEAPF32[i53 >> 2];
+ i55 = i2 + 24 | 0;
+ d56 = +HEAPF32[i55 >> 2];
+ i57 = i2 + 40 | 0;
+ d58 = +HEAPF32[i57 >> 2];
+ d59 = d37 * d54 + d39 * d56 + d41 * d58;
+ d60 = +HEAPF32[i3 >> 2] * .5;
+ i61 = i15 | 0;
+ HEAPF32[i61 >> 2] = d60;
+ d62 = +HEAPF32[i3 + 4 >> 2] * .5;
+ HEAPF32[i15 + 4 >> 2] = d62;
+ d63 = +HEAPF32[i3 + 8 >> 2] * .5;
+ HEAPF32[i15 + 8 >> 2] = d63;
+ d64 = +HEAPF32[i6 >> 2] * .5;
+ i15 = i16 | 0;
+ HEAPF32[i15 >> 2] = d64;
+ d65 = +HEAPF32[i6 + 4 >> 2] * .5;
+ HEAPF32[i16 + 4 >> 2] = d65;
+ d66 = +HEAPF32[i6 + 8 >> 2] * .5;
+ HEAPF32[i16 + 8 >> 2] = d66;
+ d67 = +HEAPF32[i5 >> 2];
+ i16 = i5 + 16 | 0;
+ d68 = +HEAPF32[i16 >> 2];
+ i6 = i5 + 32 | 0;
+ d69 = +HEAPF32[i6 >> 2];
+ d70 = d42 * d67 + d43 * d68 + d44 * d69;
+ i3 = i5 + 4 | 0;
+ d71 = +HEAPF32[i3 >> 2];
+ i72 = i5 + 20 | 0;
+ d73 = +HEAPF32[i72 >> 2];
+ i74 = i5 + 36 | 0;
+ d75 = +HEAPF32[i74 >> 2];
+ d76 = d42 * d71 + d43 * d73 + d44 * d75;
+ i77 = i5 + 8 | 0;
+ d78 = +HEAPF32[i77 >> 2];
+ i79 = i5 + 24 | 0;
+ d80 = +HEAPF32[i79 >> 2];
+ i81 = i5 + 40 | 0;
+ d82 = +HEAPF32[i81 >> 2];
+ d83 = d42 * d78 + d43 * d80 + d44 * d82;
+ d44 = d47 * d67 + d49 * d68 + d51 * d69;
+ d43 = d47 * d71 + d49 * d73 + d51 * d75;
+ d84 = d47 * d78 + d49 * d80 + d51 * d82;
+ d51 = d54 * d67 + d56 * d68 + d58 * d69;
+ d49 = d54 * d71 + d56 * d73 + d58 * d75;
+ d85 = d54 * d78 + d56 * d80 + d58 * d82;
+ d58 = +Math_abs(+d70);
+ d56 = +Math_abs(+d76);
+ d86 = +Math_abs(+d83);
+ d87 = +Math_abs(+d44);
+ d88 = +Math_abs(+d43);
+ d89 = +Math_abs(+d84);
+ d90 = +Math_abs(+d51);
+ d91 = +Math_abs(+d49);
+ d92 = +Math_abs(+d85);
+ d93 = +Math_abs(+d45) - (d66 * d86 + (d60 + d64 * d58 + d65 * d56));
+ if (d93 > 0.0) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ if (d93 > -3.4028234663852886e+38) {
+ i95 = i2;
+ i96 = 1;
+ i97 = d45 < 0.0 | 0;
+ d98 = d93;
+ } else {
+ i95 = 0;
+ i96 = 0;
+ i97 = 0;
+ d98 = -3.4028234663852886e+38;
+ }
+ d93 = +Math_abs(+d52) - (d62 + d64 * d87 + d65 * d88 + d66 * d89);
+ if (d93 > 0.0) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ if (d93 > d98) {
+ i99 = i46;
+ i100 = 2;
+ i101 = d52 < 0.0 | 0;
+ d102 = d93;
+ } else {
+ i99 = i95;
+ i100 = i96;
+ i101 = i97;
+ d102 = d98;
+ }
+ d98 = +Math_abs(+d59) - (d63 + d64 * d90 + d65 * d91 + d66 * d92);
+ if (d98 > 0.0) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ if (d98 > d102) {
+ i103 = i53;
+ i104 = 3;
+ i105 = d59 < 0.0 | 0;
+ d106 = d98;
+ } else {
+ i103 = i99;
+ i104 = i100;
+ i105 = i101;
+ d106 = d102;
+ }
+ d102 = d37 * d67 + d39 * d68 + d41 * d69;
+ d69 = +Math_abs(+d102) - (d64 + (d60 * d58 + d62 * d87 + d63 * d90));
+ if (d69 > 0.0) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ if (d69 > d106) {
+ i107 = i5;
+ i108 = 4;
+ i109 = d102 < 0.0 | 0;
+ d110 = d69;
+ } else {
+ i107 = i103;
+ i108 = i104;
+ i109 = i105;
+ d110 = d106;
+ }
+ d106 = d37 * d71 + d39 * d73 + d41 * d75;
+ d75 = +Math_abs(+d106) - (d65 + (d60 * d56 + d62 * d88 + d63 * d91));
+ if (d75 > 0.0) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ if (d75 > d110) {
+ i111 = i3;
+ i112 = 5;
+ i113 = d106 < 0.0 | 0;
+ d114 = d75;
+ } else {
+ i111 = i107;
+ i112 = i108;
+ i113 = i109;
+ d114 = d110;
+ }
+ d110 = d37 * d78 + d39 * d80 + d41 * d82;
+ d82 = +Math_abs(+d110) - (d66 + (d60 * d86 + d62 * d89 + d63 * d92));
+ if (d82 > 0.0) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ if (d82 > d114) {
+ i115 = i77;
+ i116 = 6;
+ i117 = d110 < 0.0 | 0;
+ d118 = d82;
+ } else {
+ i115 = i111;
+ i116 = i112;
+ i117 = i113;
+ d118 = d114;
+ }
+ d114 = d58 + 9999999747378752.0e-21;
+ d58 = d56 + 9999999747378752.0e-21;
+ d56 = d86 + 9999999747378752.0e-21;
+ d86 = d87 + 9999999747378752.0e-21;
+ d87 = d88 + 9999999747378752.0e-21;
+ d88 = d89 + 9999999747378752.0e-21;
+ d89 = d90 + 9999999747378752.0e-21;
+ d90 = d91 + 9999999747378752.0e-21;
+ d91 = d92 + 9999999747378752.0e-21;
+ d92 = d59 * d44 - d52 * d51;
+ d82 = +Math_abs(+d92) - (d66 * d58 + (d65 * d56 + (d63 * d86 + d62 * d89)));
+ if (d82 > 1.1920928955078125e-7) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ d110 = -0.0 - d51;
+ d41 = d51 * d51 + 0.0;
+ d80 = d44 * d44;
+ d39 = +Math_sqrt(+(d80 + d41));
+ do {
+ if (d39 > 1.1920928955078125e-7) {
+ d78 = d82 / d39;
+ if (d78 * 1.0499999523162842 <= d118) {
+ i119 = i115;
+ i120 = i116;
+ i121 = i117;
+ d122 = d118;
+ d123 = 0.0;
+ d124 = 0.0;
+ d125 = 0.0;
+ break;
+ }
+ i119 = 0;
+ i120 = 7;
+ i121 = d92 < 0.0 | 0;
+ d122 = d78;
+ d123 = 0.0 / d39;
+ d124 = d110 / d39;
+ d125 = d44 / d39;
+ } else {
+ i119 = i115;
+ i120 = i116;
+ i121 = i117;
+ d122 = d118;
+ d123 = 0.0;
+ d124 = 0.0;
+ d125 = 0.0;
+ }
+ } while (0);
+ d118 = d59 * d43 - d52 * d49;
+ d39 = +Math_abs(+d118) - (d66 * d114 + (d64 * d56 + (d63 * d87 + d62 * d90)));
+ if (d39 > 1.1920928955078125e-7) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ d110 = -0.0 - d49;
+ d92 = d49 * d49 + 0.0;
+ d82 = d43 * d43;
+ d78 = +Math_sqrt(+(d82 + d92));
+ do {
+ if (d78 > 1.1920928955078125e-7) {
+ d37 = d39 / d78;
+ if (d37 * 1.0499999523162842 <= d122) {
+ i126 = i119;
+ i127 = i120;
+ i128 = i121;
+ d129 = d122;
+ d130 = d123;
+ d131 = d124;
+ d132 = d125;
+ break;
+ }
+ i126 = 0;
+ i127 = 8;
+ i128 = d118 < 0.0 | 0;
+ d129 = d37;
+ d130 = 0.0 / d78;
+ d131 = d110 / d78;
+ d132 = d43 / d78;
+ } else {
+ i126 = i119;
+ i127 = i120;
+ i128 = i121;
+ d129 = d122;
+ d130 = d123;
+ d131 = d124;
+ d132 = d125;
+ }
+ } while (0);
+ d125 = d59 * d84 - d52 * d85;
+ d124 = +Math_abs(+d125) - (d65 * d114 + (d64 * d58 + (d63 * d88 + d62 * d91)));
+ if (d124 > 1.1920928955078125e-7) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ d123 = -0.0 - d85;
+ d122 = d85 * d85 + 0.0;
+ d78 = d84 * d84;
+ d110 = +Math_sqrt(+(d78 + d122));
+ do {
+ if (d110 > 1.1920928955078125e-7) {
+ d118 = d124 / d110;
+ if (d118 * 1.0499999523162842 <= d129) {
+ i133 = i126;
+ i134 = i127;
+ i135 = i128;
+ d136 = d129;
+ d137 = d130;
+ d138 = d131;
+ d139 = d132;
+ break;
+ }
+ i133 = 0;
+ i134 = 9;
+ i135 = d125 < 0.0 | 0;
+ d136 = d118;
+ d137 = 0.0 / d110;
+ d138 = d123 / d110;
+ d139 = d84 / d110;
+ } else {
+ i133 = i126;
+ i134 = i127;
+ i135 = i128;
+ d136 = d129;
+ d137 = d130;
+ d138 = d131;
+ d139 = d132;
+ }
+ } while (0);
+ d132 = d45 * d51 - d59 * d70;
+ d131 = +Math_abs(+d132) - (d66 * d87 + (d65 * d88 + (d63 * d114 + d60 * d89)));
+ if (d131 > 1.1920928955078125e-7) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ d130 = -0.0 - d70;
+ d129 = d70 * d70;
+ d110 = +Math_sqrt(+(d129 + d41));
+ do {
+ if (d110 > 1.1920928955078125e-7) {
+ d41 = d131 / d110;
+ if (d41 * 1.0499999523162842 <= d136) {
+ i140 = i133;
+ i141 = i134;
+ i142 = i135;
+ d143 = d136;
+ d144 = d137;
+ d145 = d138;
+ d146 = d139;
+ break;
+ }
+ i140 = 0;
+ i141 = 10;
+ i142 = d132 < 0.0 | 0;
+ d143 = d41;
+ d144 = d51 / d110;
+ d145 = 0.0 / d110;
+ d146 = d130 / d110;
+ } else {
+ i140 = i133;
+ i141 = i134;
+ i142 = i135;
+ d143 = d136;
+ d144 = d137;
+ d145 = d138;
+ d146 = d139;
+ }
+ } while (0);
+ d139 = d45 * d49 - d59 * d76;
+ d138 = +Math_abs(+d139) - (d66 * d86 + (d64 * d88 + (d63 * d58 + d60 * d90)));
+ if (d138 > 1.1920928955078125e-7) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ d137 = -0.0 - d76;
+ d136 = d76 * d76;
+ d110 = +Math_sqrt(+(d136 + d92));
+ do {
+ if (d110 > 1.1920928955078125e-7) {
+ d92 = d138 / d110;
+ if (d92 * 1.0499999523162842 <= d143) {
+ i147 = i140;
+ i148 = i141;
+ i149 = i142;
+ d150 = d143;
+ d151 = d144;
+ d152 = d145;
+ d153 = d146;
+ break;
+ }
+ i147 = 0;
+ i148 = 11;
+ i149 = d139 < 0.0 | 0;
+ d150 = d92;
+ d151 = d49 / d110;
+ d152 = 0.0 / d110;
+ d153 = d137 / d110;
+ } else {
+ i147 = i140;
+ i148 = i141;
+ i149 = i142;
+ d150 = d143;
+ d151 = d144;
+ d152 = d145;
+ d153 = d146;
+ }
+ } while (0);
+ d146 = d45 * d85 - d59 * d83;
+ d59 = +Math_abs(+d146) - (d65 * d86 + (d64 * d87 + (d63 * d56 + d60 * d91)));
+ if (d59 > 1.1920928955078125e-7) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ d145 = -0.0 - d83;
+ d144 = d83 * d83;
+ d143 = +Math_sqrt(+(d144 + d122));
+ do {
+ if (d143 > 1.1920928955078125e-7) {
+ d122 = d59 / d143;
+ if (d122 * 1.0499999523162842 <= d150) {
+ i154 = i147;
+ i155 = i148;
+ i156 = i149;
+ d157 = d150;
+ d158 = d151;
+ d159 = d152;
+ d160 = d153;
+ break;
+ }
+ i154 = 0;
+ i155 = 12;
+ i156 = d146 < 0.0 | 0;
+ d157 = d122;
+ d158 = d85 / d143;
+ d159 = 0.0 / d143;
+ d160 = d145 / d143;
+ } else {
+ i154 = i147;
+ i155 = i148;
+ i156 = i149;
+ d157 = d150;
+ d158 = d151;
+ d159 = d152;
+ d160 = d153;
+ }
+ } while (0);
+ d153 = d52 * d70 - d45 * d44;
+ d152 = +Math_abs(+d153) - (d66 * d90 + (d62 * d114 + d60 * d86 + d65 * d91));
+ if (d152 > 1.1920928955078125e-7) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ d86 = -0.0 - d44;
+ d44 = +Math_sqrt(+(d129 + d80 + 0.0));
+ do {
+ if (d44 > 1.1920928955078125e-7) {
+ d80 = d152 / d44;
+ if (d80 * 1.0499999523162842 <= d157) {
+ i161 = i154;
+ i162 = i155;
+ i163 = i156;
+ d164 = d157;
+ d165 = d158;
+ d166 = d159;
+ d167 = d160;
+ break;
+ }
+ i161 = 0;
+ i162 = 13;
+ i163 = d153 < 0.0 | 0;
+ d164 = d80;
+ d165 = d86 / d44;
+ d166 = d70 / d44;
+ d167 = 0.0 / d44;
+ } else {
+ i161 = i154;
+ i162 = i155;
+ i163 = i156;
+ d164 = d157;
+ d165 = d158;
+ d166 = d159;
+ d167 = d160;
+ }
+ } while (0);
+ d160 = d52 * d76 - d45 * d43;
+ d159 = +Math_abs(+d160) - (d66 * d89 + (d62 * d58 + d60 * d87 + d64 * d91));
+ if (d159 > 1.1920928955078125e-7) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ d91 = -0.0 - d43;
+ d43 = +Math_sqrt(+(d136 + d82 + 0.0));
+ do {
+ if (d43 > 1.1920928955078125e-7) {
+ d82 = d159 / d43;
+ if (d82 * 1.0499999523162842 <= d164) {
+ i168 = i161;
+ i169 = i162;
+ i170 = i163;
+ d171 = d164;
+ d172 = d165;
+ d173 = d166;
+ d174 = d167;
+ break;
+ }
+ i168 = 0;
+ i169 = 14;
+ i170 = d160 < 0.0 | 0;
+ d171 = d82;
+ d172 = d91 / d43;
+ d173 = d76 / d43;
+ d174 = 0.0 / d43;
+ } else {
+ i168 = i161;
+ i169 = i162;
+ i170 = i163;
+ d171 = d164;
+ d172 = d165;
+ d173 = d166;
+ d174 = d167;
+ }
+ } while (0);
+ d167 = d52 * d83 - d45 * d84;
+ d45 = +Math_abs(+d167) - (d65 * d89 + (d62 * d56 + d60 * d88 + d64 * d90));
+ if (d45 > 1.1920928955078125e-7) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ d90 = -0.0 - d84;
+ d84 = +Math_sqrt(+(d144 + d78 + 0.0));
+ do {
+ if (d84 > 1.1920928955078125e-7) {
+ d78 = d45 / d84;
+ if (d78 * 1.0499999523162842 <= d171) {
+ i175 = 899;
+ break;
+ }
+ i176 = 15;
+ i177 = d167 < 0.0 | 0;
+ d178 = d78;
+ d179 = d90 / d84;
+ d180 = d83 / d84;
+ d181 = 0.0 / d84;
+ i175 = 902;
+ } else {
+ i175 = 899;
+ }
+ } while (0);
+ do {
+ if ((i175 | 0) == 899) {
+ if ((i169 | 0) == 0) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ if ((i168 | 0) == 0) {
+ i176 = i169;
+ i177 = i170;
+ d178 = d171;
+ d179 = d172;
+ d180 = d173;
+ d181 = d174;
+ i175 = 902;
+ break;
+ }
+ d84 = +HEAPF32[i168 >> 2];
+ HEAPF32[i7 >> 2] = d84;
+ d83 = +HEAPF32[i168 + 16 >> 2];
+ HEAPF32[i7 + 4 >> 2] = d83;
+ d90 = +HEAPF32[i168 + 32 >> 2];
+ HEAPF32[i7 + 8 >> 2] = d90;
+ i182 = i169;
+ i183 = i170;
+ d184 = d171;
+ d185 = d84;
+ d186 = d83;
+ d187 = d90;
+ }
+ } while (0);
+ if ((i175 | 0) == 902) {
+ d171 = d54 * d181 + (d47 * d180 + d42 * d179);
+ HEAPF32[i7 >> 2] = d171;
+ d42 = d179 * +HEAPF32[i4 >> 2] + d180 * +HEAPF32[i48 >> 2] + d181 * +HEAPF32[i55 >> 2];
+ HEAPF32[i7 + 4 >> 2] = d42;
+ d47 = d179 * +HEAPF32[i1 >> 2] + d180 * +HEAPF32[i50 >> 2] + d181 * +HEAPF32[i57 >> 2];
+ HEAPF32[i7 + 8 >> 2] = d47;
+ i182 = i176;
+ i183 = i177;
+ d184 = d178;
+ d185 = d171;
+ d186 = d42;
+ d187 = d47;
+ }
+ if ((i183 | 0) != 0) {
+ HEAPF32[i7 >> 2] = -0.0 - d185;
+ HEAPF32[i7 + 4 >> 2] = -0.0 - d186;
+ HEAPF32[i7 + 8 >> 2] = -0.0 - d187;
+ }
+ HEAPF32[i8 >> 2] = -0.0 - d184;
+ if ((i182 | 0) > 6) {
+ d187 = +HEAPF32[i7 >> 2];
+ d186 = +HEAPF32[i7 + 4 >> 2];
+ d185 = +HEAPF32[i7 + 8 >> 2];
+ d47 = +HEAPF32[i2 >> 2];
+ d42 = +HEAPF32[i4 >> 2];
+ d171 = +HEAPF32[i1 >> 2];
+ d178 = d60 * (d187 * d47 + d186 * d42 + d185 * d171 > 0.0 ? 1.0 : -1.0);
+ d60 = +HEAPF32[i46 >> 2];
+ d181 = +HEAPF32[i48 >> 2];
+ d180 = +HEAPF32[i50 >> 2];
+ d179 = d62 * (d187 * d60 + d186 * d181 + d185 * d180 > 0.0 ? 1.0 : -1.0);
+ d62 = +HEAPF32[i53 >> 2];
+ d54 = +HEAPF32[i55 >> 2];
+ d174 = +HEAPF32[i57 >> 2];
+ d173 = d63 * (d187 * d62 + d186 * d54 + d185 * d174 > 0.0 ? 1.0 : -1.0);
+ d63 = +HEAPF32[i36 >> 2] + d47 * d178 + d60 * d179 + d62 * d173;
+ d62 = +HEAPF32[i38 >> 2] + d42 * d178 + d181 * d179 + d54 * d173;
+ d54 = +HEAPF32[i40 >> 2] + d171 * d178 + d180 * d179 + d174 * d173;
+ HEAP32[i18 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i18 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i18 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ d173 = +HEAPF32[i5 >> 2];
+ d174 = +HEAPF32[i16 >> 2];
+ d179 = +HEAPF32[i6 >> 2];
+ d180 = d64 * (d187 * d173 + d186 * d174 + d185 * d179 > 0.0 ? -1.0 : 1.0);
+ i6 = i17 | 0;
+ i16 = i17 + 4 | 0;
+ i11 = i17 + 8 | 0;
+ d64 = +HEAPF32[i3 >> 2];
+ d178 = +HEAPF32[i72 >> 2];
+ d171 = +HEAPF32[i74 >> 2];
+ d181 = d65 * (d187 * d64 + d186 * d178 + d185 * d171 > 0.0 ? -1.0 : 1.0);
+ d65 = +HEAPF32[i16 >> 2] + d174 * d180 + d178 * d181;
+ d178 = +HEAPF32[i11 >> 2] + d179 * d180 + d171 * d181;
+ d171 = +HEAPF32[i77 >> 2];
+ d179 = +HEAPF32[i79 >> 2];
+ d174 = +HEAPF32[i81 >> 2];
+ d42 = d66 * (d187 * d171 + d186 * d179 + d185 * d174 > 0.0 ? -1.0 : 1.0);
+ d66 = +HEAPF32[i6 >> 2] + d173 * d180 + d64 * d181 + d171 * d42;
+ HEAPF32[i6 >> 2] = d66;
+ d171 = d65 + d179 * d42;
+ HEAPF32[i16 >> 2] = d171;
+ d179 = d178 + d174 * d42;
+ HEAPF32[i11 >> 2] = d179;
+ i81 = i182 - 7 | 0;
+ i79 = (i81 | 0) / 3 | 0;
+ d42 = +HEAPF32[i2 + (i79 << 2) >> 2];
+ d174 = +HEAPF32[i2 + (i79 + 4 << 2) >> 2];
+ d178 = +HEAPF32[i2 + (i79 + 8 << 2) >> 2];
+ i79 = (i81 | 0) % 3 | 0;
+ d65 = +HEAPF32[i5 + (i79 << 2) >> 2];
+ d181 = +HEAPF32[i5 + (i79 + 4 << 2) >> 2];
+ d64 = +HEAPF32[i5 + (i79 + 8 << 2) >> 2];
+ d180 = d66 - d63;
+ d63 = d171 - d62;
+ d62 = d179 - d54;
+ d54 = d42 * d65 + d174 * d181 + d178 * d64;
+ d173 = 1.0 - d54 * d54;
+ if (d173 > 9999999747378752.0e-20) {
+ d188 = (d54 * (d178 * d62 + (d42 * d180 + d174 * d63)) - (d62 * d64 + (d65 * d180 + d181 * d63))) * (1.0 / d173);
+ } else {
+ d188 = 0.0;
+ }
+ HEAPF32[i6 >> 2] = d66 + d65 * d188;
+ HEAPF32[i16 >> 2] = d171 + d181 * d188;
+ HEAPF32[i11 >> 2] = d179 + d64 * d188;
+ i11 = HEAP32[(HEAP32[i13 >> 2] | 0) + 16 >> 2] | 0;
+ HEAPF32[i19 >> 2] = -0.0 - d187;
+ HEAPF32[i19 + 4 >> 2] = -0.0 - d186;
+ HEAPF32[i19 + 8 >> 2] = -0.0 - d185;
+ HEAPF32[i19 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[i11 & 15](i13, i19, i17, d184);
+ HEAP32[i9 >> 2] = i182;
+ i94 = 1;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ i17 = (i182 | 0) < 4;
+ i19 = i7 | 0;
+ d184 = +HEAPF32[i19 >> 2];
+ if (i17) {
+ d189 = d184;
+ d190 = +HEAPF32[i7 + 4 >> 2];
+ d191 = +HEAPF32[i7 + 8 >> 2];
+ i192 = i2;
+ i193 = i5;
+ i194 = i36;
+ i195 = i35;
+ i196 = i61;
+ i197 = i15;
+ } else {
+ d189 = -0.0 - d184;
+ d190 = -0.0 - +HEAPF32[i7 + 4 >> 2];
+ d191 = -0.0 - +HEAPF32[i7 + 8 >> 2];
+ i192 = i5;
+ i193 = i2;
+ i194 = i35;
+ i195 = i36;
+ i196 = i15;
+ i197 = i61;
+ }
+ d184 = d189 * +HEAPF32[i193 >> 2] + d190 * +HEAPF32[i193 + 16 >> 2] + d191 * +HEAPF32[i193 + 32 >> 2];
+ HEAPF32[i20 >> 2] = d184;
+ d185 = d189 * +HEAPF32[i193 + 4 >> 2] + d190 * +HEAPF32[i193 + 20 >> 2] + d191 * +HEAPF32[i193 + 36 >> 2];
+ HEAPF32[i20 + 4 >> 2] = d185;
+ d186 = d189 * +HEAPF32[i193 + 8 >> 2] + d190 * +HEAPF32[i193 + 24 >> 2] + d191 * +HEAPF32[i193 + 40 >> 2];
+ HEAPF32[i20 + 8 >> 2] = d186;
+ d187 = +Math_abs(+d184);
+ d184 = +Math_abs(+d185);
+ d185 = +Math_abs(+d186);
+ if (d184 > d187) {
+ i61 = d184 > d185;
+ i198 = 0;
+ i199 = i61 ? 1 : 2;
+ i200 = i61;
+ } else {
+ i61 = d187 > d185;
+ i198 = i61 & 1;
+ i199 = i61 ? 0 : 2;
+ i200 = i61;
+ }
+ i61 = i200 ? 2 : 1;
+ d185 = +HEAPF32[i197 + (i199 << 2) >> 2];
+ d187 = +HEAPF32[i195 >> 2] - +HEAPF32[i194 >> 2];
+ d184 = d185 * +HEAPF32[i193 + (i199 << 2) >> 2];
+ if (+HEAPF32[i20 + (i199 << 2) >> 2] < 0.0) {
+ d201 = d187 + d184;
+ d202 = +HEAPF32[i195 + 4 >> 2] - +HEAPF32[i194 + 4 >> 2] + d185 * +HEAPF32[i193 + ((i199 | 4) << 2) >> 2];
+ d203 = +HEAPF32[i195 + 8 >> 2] - +HEAPF32[i194 + 8 >> 2] + d185 * +HEAPF32[i193 + ((i199 | 8) << 2) >> 2];
+ } else {
+ d201 = d187 - d184;
+ d202 = +HEAPF32[i195 + 4 >> 2] - +HEAPF32[i194 + 4 >> 2] - d185 * +HEAPF32[i193 + ((i199 | 4) << 2) >> 2];
+ d203 = +HEAPF32[i195 + 8 >> 2] - +HEAPF32[i194 + 8 >> 2] - d185 * +HEAPF32[i193 + ((i199 | 8) << 2) >> 2];
+ }
+ i199 = (i17 ? -1 : -4) + i182 | 0;
+ if ((i199 | 0) == 1) {
+ i204 = 2;
+ i205 = 0;
+ } else if ((i199 | 0) == 0) {
+ i204 = 2;
+ i205 = 1;
+ } else {
+ i204 = 1;
+ i205 = 0;
+ }
+ d185 = +HEAPF32[i192 + (i205 << 2) >> 2];
+ d184 = +HEAPF32[i192 + ((i205 | 4) << 2) >> 2];
+ d187 = +HEAPF32[i192 + ((i205 | 8) << 2) >> 2];
+ d186 = d201 * d185 + d202 * d184 + d203 * d187;
+ d188 = +HEAPF32[i192 + (i204 << 2) >> 2];
+ d64 = +HEAPF32[i192 + ((i204 | 4) << 2) >> 2];
+ d179 = +HEAPF32[i192 + ((i204 | 8) << 2) >> 2];
+ d181 = d201 * d188 + d202 * d64 + d203 * d179;
+ i192 = i193 + (i198 << 2) | 0;
+ d171 = +HEAPF32[i192 >> 2];
+ i195 = i193 + ((i198 | 4) << 2) | 0;
+ d65 = +HEAPF32[i195 >> 2];
+ i20 = i193 + ((i198 | 8) << 2) | 0;
+ d66 = +HEAPF32[i20 >> 2];
+ d173 = d185 * d171 + d184 * d65 + d187 * d66;
+ i200 = i193 + (i61 << 2) | 0;
+ d63 = +HEAPF32[i200 >> 2];
+ i15 = i193 + ((i61 | 4) << 2) | 0;
+ d180 = +HEAPF32[i15 >> 2];
+ i36 = i193 + ((i61 | 8) << 2) | 0;
+ d62 = +HEAPF32[i36 >> 2];
+ d174 = d185 * d63 + d184 * d180 + d187 * d62;
+ d187 = d188 * d171 + d64 * d65 + d179 * d66;
+ d66 = d188 * d63 + d64 * d180 + d179 * d62;
+ d62 = +HEAPF32[i197 + (i198 << 2) >> 2];
+ d179 = d173 * d62;
+ d180 = d187 * d62;
+ d62 = +HEAPF32[i197 + (i61 << 2) >> 2];
+ d64 = d174 * d62;
+ d63 = d66 * d62;
+ d62 = d186 - d179;
+ i61 = i21 | 0;
+ HEAPF32[i61 >> 2] = d62 - d64;
+ d188 = d181 - d180;
+ HEAPF32[i21 + 4 >> 2] = d188 - d63;
+ HEAPF32[i21 + 8 >> 2] = d62 + d64;
+ HEAPF32[i21 + 12 >> 2] = d188 + d63;
+ d188 = d186 + d179;
+ HEAPF32[i21 + 16 >> 2] = d188 + d64;
+ d179 = d181 + d180;
+ HEAPF32[i21 + 20 >> 2] = d179 + d63;
+ HEAPF32[i21 + 24 >> 2] = d188 - d64;
+ HEAPF32[i21 + 28 >> 2] = d179 - d63;
+ HEAPF32[i22 >> 2] = +HEAPF32[i196 + (i205 << 2) >> 2];
+ HEAPF32[i22 + 4 >> 2] = +HEAPF32[i196 + (i204 << 2) >> 2];
+ i204 = i23 | 0;
+ i205 = i14 | 0;
+ i14 = i61;
+ i61 = i204;
+ i21 = 0;
+ i197 = 4;
+ L1130 : while (1) {
+ i198 = i22 + (i21 << 2) | 0;
+ i193 = 1 - i21 | 0;
+ do {
+ if ((i197 | 0) > 0) {
+ i35 = 0;
+ i2 = i14;
+ i5 = i61;
+ i11 = i197;
+ while (1) {
+ i16 = i2 + (i21 << 2) | 0;
+ d63 = +HEAPF32[i16 >> 2];
+ d179 = +HEAPF32[i198 >> 2];
+ if (d63 * -1.0 < d179) {
+ HEAPF32[i5 >> 2] = +HEAPF32[i2 >> 2];
+ HEAPF32[i5 + 4 >> 2] = +HEAPF32[i2 + 4 >> 2];
+ i6 = i35 + 1 | 0;
+ if ((i6 & 8 | 0) != 0) {
+ i206 = i6;
+ i207 = i61;
+ break L1130;
+ }
+ i208 = i5 + 8 | 0;
+ i209 = i6;
+ d210 = +HEAPF32[i16 >> 2];
+ d211 = +HEAPF32[i198 >> 2];
+ } else {
+ i208 = i5;
+ i209 = i35;
+ d210 = d63;
+ d211 = d179;
+ }
+ i16 = i2 + 8 | 0;
+ i6 = (i11 | 0) > 1 ? i16 : i14;
+ d179 = +HEAPF32[i6 + (i21 << 2) >> 2];
+ if (d210 * -1.0 < d211 ^ d179 * -1.0 < d211) {
+ d63 = +HEAPF32[i2 + (i193 << 2) >> 2];
+ HEAPF32[i208 + (i193 << 2) >> 2] = d63 + (d211 * -1.0 - d210) * ((+HEAPF32[i6 + (i193 << 2) >> 2] - d63) / (d179 - d210));
+ HEAPF32[i208 + (i21 << 2) >> 2] = +HEAPF32[i198 >> 2] * -1.0;
+ i6 = i209 + 1 | 0;
+ if ((i6 & 8 | 0) == 0) {
+ i212 = i208 + 8 | 0;
+ i213 = i6;
+ } else {
+ i206 = i6;
+ i207 = i61;
+ break L1130;
+ }
+ } else {
+ i212 = i208;
+ i213 = i209;
+ }
+ i6 = i11 - 1 | 0;
+ if ((i6 | 0) > 0) {
+ i35 = i213;
+ i2 = i16;
+ i5 = i212;
+ i11 = i6;
+ } else {
+ break;
+ }
+ }
+ i11 = (i61 | 0) == (i204 | 0) ? i205 : i204;
+ if ((i213 | 0) > 0) {
+ i214 = 0;
+ i215 = i61;
+ i216 = i11;
+ i217 = i213;
+ } else {
+ i218 = 0;
+ i219 = i11;
+ break;
+ }
+ while (1) {
+ i5 = i215 + (i21 << 2) | 0;
+ d179 = +HEAPF32[i5 >> 2];
+ d63 = +HEAPF32[i198 >> 2];
+ if (d179 < d63) {
+ HEAPF32[i216 >> 2] = +HEAPF32[i215 >> 2];
+ HEAPF32[i216 + 4 >> 2] = +HEAPF32[i215 + 4 >> 2];
+ i2 = i214 + 1 | 0;
+ if ((i2 & 8 | 0) != 0) {
+ i206 = i2;
+ i207 = i11;
+ break L1130;
+ }
+ i220 = i216 + 8 | 0;
+ i221 = i2;
+ d222 = +HEAPF32[i5 >> 2];
+ d223 = +HEAPF32[i198 >> 2];
+ } else {
+ i220 = i216;
+ i221 = i214;
+ d222 = d179;
+ d223 = d63;
+ }
+ i5 = i215 + 8 | 0;
+ i2 = (i217 | 0) > 1 ? i5 : i61;
+ d63 = +HEAPF32[i2 + (i21 << 2) >> 2];
+ if (d222 < d223 ^ d63 < d223) {
+ d179 = +HEAPF32[i215 + (i193 << 2) >> 2];
+ HEAPF32[i220 + (i193 << 2) >> 2] = d179 + (d223 - d222) * ((+HEAPF32[i2 + (i193 << 2) >> 2] - d179) / (d63 - d222));
+ HEAPF32[i220 + (i21 << 2) >> 2] = +HEAPF32[i198 >> 2];
+ i2 = i221 + 1 | 0;
+ if ((i2 & 8 | 0) == 0) {
+ i224 = i220 + 8 | 0;
+ i225 = i2;
+ } else {
+ i206 = i2;
+ i207 = i11;
+ break L1130;
+ }
+ } else {
+ i224 = i220;
+ i225 = i221;
+ }
+ i2 = i217 - 1 | 0;
+ if ((i2 | 0) > 0) {
+ i214 = i225;
+ i215 = i5;
+ i216 = i224;
+ i217 = i2;
+ } else {
+ i218 = i225;
+ i219 = i11;
+ break;
+ }
+ }
+ } else {
+ i218 = 0;
+ i219 = (i61 | 0) == (i204 | 0) ? i205 : i204;
+ }
+ } while (0);
+ i198 = i21 + 1 | 0;
+ if ((i198 | 0) < 2) {
+ i14 = i219;
+ i61 = (i219 | 0) == (i204 | 0) ? i205 : i204;
+ i21 = i198;
+ i197 = i218;
+ } else {
+ i206 = i218;
+ i207 = i219;
+ break;
+ }
+ }
+ if ((i207 | 0) != (i204 | 0)) {
+ i219 = i23;
+ i218 = i207;
+ i207 = i206 << 3;
+ _memcpy(i219 | 0, i218 | 0, i207) | 0;
+ }
+ if ((i206 | 0) < 1) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ d222 = 1.0 / (d173 * d66 - d187 * d174);
+ d223 = d173 * d222;
+ d173 = d174 * d222;
+ d174 = d66 * d222;
+ d66 = -0.0 - d187 * d222;
+ d222 = +HEAPF32[i196 + (i199 << 2) >> 2];
+ d187 = +HEAPF32[i192 >> 2];
+ d210 = +HEAPF32[i200 >> 2];
+ d211 = +HEAPF32[i195 >> 2];
+ d63 = +HEAPF32[i15 >> 2];
+ d179 = +HEAPF32[i20 >> 2];
+ d64 = +HEAPF32[i36 >> 2];
+ i36 = 0;
+ i20 = 0;
+ while (1) {
+ i15 = i36 << 1;
+ d188 = +HEAPF32[i23 + (i15 << 2) >> 2];
+ d180 = d188 - d186;
+ d62 = +HEAPF32[i23 + ((i15 | 1) << 2) >> 2];
+ d65 = d62 - d181;
+ d171 = d174 * d180 - d173 * d65;
+ d184 = d180 * d66 + d223 * d65;
+ i15 = i20 * 3 | 0;
+ d65 = d210 * d184 + (d201 + d187 * d171);
+ HEAPF32[i24 + (i15 << 2) >> 2] = d65;
+ d180 = d63 * d184 + (d202 + d211 * d171);
+ HEAPF32[i24 + (i15 + 1 << 2) >> 2] = d180;
+ d185 = d64 * d184 + (d203 + d179 * d171);
+ HEAPF32[i24 + (i15 + 2 << 2) >> 2] = d185;
+ d171 = d222 - (d189 * d65 + d190 * d180 + d191 * d185);
+ HEAPF32[i25 + (i20 << 2) >> 2] = d171;
+ if (d171 < 0.0) {
+ i226 = i20;
+ } else {
+ i15 = i20 << 1;
+ HEAPF32[i23 + (i15 << 2) >> 2] = d188;
+ HEAPF32[i23 + ((i15 | 1) << 2) >> 2] = d62;
+ i226 = i20 + 1 | 0;
+ }
+ i15 = i36 + 1 | 0;
+ if ((i15 | 0) < (i206 | 0)) {
+ i36 = i15;
+ i20 = i226;
+ } else {
+ break;
+ }
+ }
+ if ((i226 | 0) < 1) {
+ i94 = 0;
+ STACKTOP = i12;
+ return i94 | 0;
+ }
+ i20 = (i226 | 0) < (i10 | 0) ? i226 : i10;
+ i10 = (i20 | 0) < 1 ? 1 : i20;
+ do {
+ if ((i226 | 0) > (i10 | 0)) {
+ if ((i226 | 0) > 1) {
+ i20 = 1;
+ i36 = 0;
+ d191 = +HEAPF32[i25 >> 2];
+ while (1) {
+ d190 = +HEAPF32[i25 + (i20 << 2) >> 2];
+ i206 = d190 > d191;
+ i23 = i206 ? i20 : i36;
+ i15 = i20 + 1 | 0;
+ if ((i15 | 0) < (i226 | 0)) {
+ i20 = i15;
+ i36 = i23;
+ d191 = i206 ? d190 : d191;
+ } else {
+ i227 = i23;
+ break;
+ }
+ }
+ } else {
+ i227 = 0;
+ }
+ __Z11cullPoints2iPfiiPi(i226, i204, i10, i227, i30 | 0);
+ if ((i10 | 0) <= 0) {
+ i228 = i10;
+ break;
+ }
+ i36 = i13;
+ i20 = i7 + 4 | 0;
+ i23 = i7 + 8 | 0;
+ i206 = i32 | 0;
+ i15 = i32 + 4 | 0;
+ i195 = i32 + 8 | 0;
+ i200 = i32 + 12 | 0;
+ i192 = i33 | 0;
+ i199 = i33 + 4 | 0;
+ i196 = i33 + 8 | 0;
+ i207 = i33 + 12 | 0;
+ i218 = i31 | 0;
+ i219 = i31 + 4 | 0;
+ i197 = i31 + 8 | 0;
+ i21 = i34 | 0;
+ i205 = i34 + 4 | 0;
+ i61 = i34 + 8 | 0;
+ i14 = i34 + 12 | 0;
+ i225 = i194 + 4 | 0;
+ i217 = i194 + 8 | 0;
+ if (i17) {
+ i224 = 0;
+ while (1) {
+ i216 = HEAP32[i30 + (i224 << 2) >> 2] | 0;
+ i215 = i216 * 3 | 0;
+ HEAPF32[i218 >> 2] = +HEAPF32[i24 + (i215 << 2) >> 2] + +HEAPF32[i194 >> 2];
+ HEAPF32[i219 >> 2] = +HEAPF32[i24 + (i215 + 1 << 2) >> 2] + +HEAPF32[i225 >> 2];
+ HEAPF32[i197 >> 2] = +HEAPF32[i24 + (i215 + 2 << 2) >> 2] + +HEAPF32[i217 >> 2];
+ d191 = -0.0 - +HEAPF32[i23 >> 2];
+ d190 = -0.0 - +HEAPF32[i20 >> 2];
+ i215 = HEAP32[(HEAP32[i36 >> 2] | 0) + 16 >> 2] | 0;
+ HEAPF32[i206 >> 2] = -0.0 - +HEAPF32[i19 >> 2];
+ HEAPF32[i15 >> 2] = d190;
+ HEAPF32[i195 >> 2] = d191;
+ HEAPF32[i200 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[i215 & 15](i13, i32, i31, -0.0 - +HEAPF32[i25 + (i216 << 2) >> 2]);
+ i216 = i224 + 1 | 0;
+ if ((i216 | 0) < (i10 | 0)) {
+ i224 = i216;
+ } else {
+ i228 = i10;
+ break;
+ }
+ }
+ } else {
+ i224 = 0;
+ while (1) {
+ i200 = HEAP32[i30 + (i224 << 2) >> 2] | 0;
+ i195 = i200 * 3 | 0;
+ d191 = +HEAPF32[i24 + (i195 << 2) >> 2] + +HEAPF32[i194 >> 2];
+ HEAPF32[i218 >> 2] = d191;
+ d190 = +HEAPF32[i24 + (i195 + 1 << 2) >> 2] + +HEAPF32[i225 >> 2];
+ HEAPF32[i219 >> 2] = d190;
+ d189 = +HEAPF32[i24 + (i195 + 2 << 2) >> 2] + +HEAPF32[i217 >> 2];
+ HEAPF32[i197 >> 2] = d189;
+ d222 = +HEAPF32[i19 >> 2];
+ d179 = +HEAPF32[i20 >> 2];
+ d203 = +HEAPF32[i23 >> 2];
+ i195 = HEAP32[(HEAP32[i36 >> 2] | 0) + 16 >> 2] | 0;
+ HEAPF32[i192 >> 2] = -0.0 - d222;
+ HEAPF32[i199 >> 2] = -0.0 - d179;
+ HEAPF32[i196 >> 2] = -0.0 - d203;
+ HEAPF32[i207 >> 2] = 0.0;
+ d64 = +HEAPF32[i25 + (i200 << 2) >> 2];
+ HEAPF32[i21 >> 2] = d191 - d222 * d64;
+ HEAPF32[i205 >> 2] = d190 - d179 * d64;
+ HEAPF32[i61 >> 2] = d189 - d203 * d64;
+ HEAPF32[i14 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[i195 & 15](i13, i33, i34, -0.0 - d64);
+ i195 = i224 + 1 | 0;
+ if ((i195 | 0) < (i10 | 0)) {
+ i224 = i195;
+ } else {
+ i228 = i10;
+ break;
+ }
+ }
+ }
+ } else {
+ i224 = (i226 | 0) > 0;
+ if (i17) {
+ if (!i224) {
+ i228 = i226;
+ break;
+ }
+ i14 = i13;
+ i61 = i7 + 4 | 0;
+ i205 = i7 + 8 | 0;
+ i21 = i27 | 0;
+ i207 = i27 + 4 | 0;
+ i196 = i27 + 8 | 0;
+ i199 = i27 + 12 | 0;
+ i192 = i26 | 0;
+ i36 = i194 + 4 | 0;
+ i23 = i26 + 4 | 0;
+ i20 = i194 + 8 | 0;
+ i197 = i26 + 8 | 0;
+ i217 = 0;
+ while (1) {
+ i219 = i217 * 3 | 0;
+ HEAPF32[i192 >> 2] = +HEAPF32[i24 + (i219 << 2) >> 2] + +HEAPF32[i194 >> 2];
+ HEAPF32[i23 >> 2] = +HEAPF32[i24 + (i219 + 1 << 2) >> 2] + +HEAPF32[i36 >> 2];
+ HEAPF32[i197 >> 2] = +HEAPF32[i24 + (i219 + 2 << 2) >> 2] + +HEAPF32[i20 >> 2];
+ i219 = HEAP32[(HEAP32[i14 >> 2] | 0) + 16 >> 2] | 0;
+ d64 = -0.0 - +HEAPF32[i61 >> 2];
+ d203 = -0.0 - +HEAPF32[i205 >> 2];
+ HEAPF32[i21 >> 2] = -0.0 - +HEAPF32[i19 >> 2];
+ HEAPF32[i207 >> 2] = d64;
+ HEAPF32[i196 >> 2] = d203;
+ HEAPF32[i199 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[i219 & 15](i13, i27, i26, -0.0 - +HEAPF32[i25 + (i217 << 2) >> 2]);
+ i219 = i217 + 1 | 0;
+ if ((i219 | 0) < (i226 | 0)) {
+ i217 = i219;
+ } else {
+ i228 = i226;
+ break;
+ }
+ }
+ } else {
+ if (!i224) {
+ i228 = i226;
+ break;
+ }
+ i217 = i13;
+ i199 = i7 + 4 | 0;
+ i196 = i7 + 8 | 0;
+ i207 = i29 | 0;
+ i21 = i29 + 4 | 0;
+ i205 = i29 + 8 | 0;
+ i61 = i29 + 12 | 0;
+ i14 = i28 | 0;
+ i20 = i194 + 4 | 0;
+ i197 = i28 + 4 | 0;
+ i36 = i194 + 8 | 0;
+ i23 = i28 + 8 | 0;
+ i192 = 0;
+ while (1) {
+ i219 = i192 * 3 | 0;
+ d203 = +HEAPF32[i25 + (i192 << 2) >> 2];
+ d64 = +HEAPF32[i19 >> 2];
+ HEAPF32[i14 >> 2] = +HEAPF32[i24 + (i219 << 2) >> 2] + +HEAPF32[i194 >> 2] - d203 * d64;
+ d189 = +HEAPF32[i199 >> 2];
+ HEAPF32[i197 >> 2] = +HEAPF32[i24 + (i219 + 1 << 2) >> 2] + +HEAPF32[i20 >> 2] - d203 * d189;
+ d179 = +HEAPF32[i196 >> 2];
+ HEAPF32[i23 >> 2] = +HEAPF32[i24 + (i219 + 2 << 2) >> 2] + +HEAPF32[i36 >> 2] - d203 * d179;
+ i219 = HEAP32[(HEAP32[i217 >> 2] | 0) + 16 >> 2] | 0;
+ HEAPF32[i207 >> 2] = -0.0 - d64;
+ HEAPF32[i21 >> 2] = -0.0 - d189;
+ HEAPF32[i205 >> 2] = -0.0 - d179;
+ HEAPF32[i61 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[i219 & 15](i13, i29, i28, -0.0 - d203);
+ i219 = i192 + 1 | 0;
+ if ((i219 | 0) < (i226 | 0)) {
+ i192 = i219;
+ } else {
+ i228 = i226;
+ break;
+ }
+ }
+ }
+ }
+ } while (0);
+ HEAP32[i9 >> 2] = i182;
+ i94 = i228;
+ STACKTOP = i12;
+ return i94 | 0;
+}
+function __ZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, d45 = 0.0, d46 = 0.0, d47 = 0.0, d48 = 0.0, d49 = 0.0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, d58 = 0.0, d59 = 0.0, d60 = 0.0, d61 = 0.0, d62 = 0.0, d63 = 0.0, d64 = 0.0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, d78 = 0.0, i79 = 0, i80 = 0, i81 = 0, i82 = 0, i83 = 0, i84 = 0, i85 = 0, i86 = 0, i87 = 0, i88 = 0, i89 = 0, i90 = 0, i91 = 0, i92 = 0, i93 = 0, i94 = 0, i95 = 0, i96 = 0, i97 = 0, i98 = 0, i99 = 0, i100 = 0, i101 = 0, i102 = 0, i103 = 0, i104 = 0, i105 = 0, i106 = 0, i107 = 0, i108 = 0, i109 = 0, i110 = 0, i111 = 0, i112 = 0, d113 = 0.0, d114 = 0.0, d115 = 0.0, i116 = 0, i117 = 0, i118 = 0, i119 = 0, i120 = 0, i121 = 0, i122 = 0, i123 = 0, i124 = 0, i125 = 0, i126 = 0, i127 = 0, i128 = 0, i129 = 0, i130 = 0, i131 = 0, i132 = 0, i133 = 0, i134 = 0, i135 = 0, i136 = 0, i137 = 0, i138 = 0, i139 = 0, i140 = 0, i141 = 0, i142 = 0, i143 = 0, i144 = 0, i145 = 0, i146 = 0, i147 = 0, i148 = 0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 744 | 0;
+ i7 = i6 | 0;
+ i8 = i6 + 16 | 0;
+ i9 = i6 + 32 | 0;
+ i10 = i6 + 168 | 0;
+ i11 = i6 + 248 | 0;
+ i12 = i6 + 256 | 0;
+ i13 = i6 + 272 | 0;
+ i14 = i6 + 288 | 0;
+ i15 = i6 + 312 | 0;
+ i16 = i6 + 328 | 0;
+ i17 = i6 + 344 | 0;
+ i18 = i6 + 360 | 0;
+ i19 = i6 + 376 | 0;
+ i20 = i1 + 20 | 0;
+ i21 = HEAP32[i20 >> 2] | 0;
+ if ((i21 | 0) == 0) {
+ i22 = HEAP32[i1 + 4 >> 2] | 0;
+ i23 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i22 >> 2] | 0) + 12 >> 2] & 31](i22, i2, i3) | 0;
+ HEAP32[i20 >> 2] = i23;
+ HEAP8[i1 + 16 | 0] = 1;
+ i24 = i23;
+ } else {
+ i24 = i21;
+ }
+ i21 = i5 + 4 | 0;
+ HEAP32[i21 >> 2] = i24;
+ i24 = HEAP32[i2 + 192 >> 2] | 0;
+ i23 = i24;
+ i22 = HEAP32[i3 + 192 >> 2] | 0;
+ i25 = i22;
+ i26 = i24 + 4 | 0;
+ do {
+ if ((HEAP32[i26 >> 2] | 0) == 10) {
+ if ((HEAP32[i22 + 4 >> 2] | 0) != 10) {
+ break;
+ }
+ i27 = i24;
+ i28 = i22;
+ i29 = i24;
+ i30 = HEAP32[(HEAP32[i24 >> 2] | 0) + 28 >> 2] | 0;
+ FUNCTION_TABLE_ii[i30 & 127](i29) | 0;
+ i29 = i22;
+ i30 = HEAP32[(HEAP32[i22 >> 2] | 0) + 28 >> 2] | 0;
+ FUNCTION_TABLE_ii[i30 & 127](i29) | 0;
+ d31 = +__ZNK20btPersistentManifold27getContactBreakingThresholdEv(HEAP32[i20 >> 2] | 0);
+ i29 = HEAP32[i24 + 52 >> 2] | 0;
+ d32 = +HEAPF32[i27 + 28 + (i29 << 2) >> 2];
+ d33 = +HEAPF32[i27 + 28 + (((i29 + 2 | 0) % 3 | 0) << 2) >> 2];
+ i27 = HEAP32[i22 + 52 >> 2] | 0;
+ d34 = +HEAPF32[i28 + 28 + (i27 << 2) >> 2];
+ d35 = +HEAPF32[i28 + 28 + (((i27 + 2 | 0) % 3 | 0) << 2) >> 2];
+ d36 = +HEAPF32[i2 + 4 + (i29 << 2) >> 2];
+ d37 = +HEAPF32[i2 + 20 + (i29 << 2) >> 2];
+ d38 = +HEAPF32[i2 + 36 + (i29 << 2) >> 2];
+ d39 = +HEAPF32[i3 + 4 + (i27 << 2) >> 2];
+ d40 = +HEAPF32[i3 + 20 + (i27 << 2) >> 2];
+ d41 = +HEAPF32[i3 + 36 + (i27 << 2) >> 2];
+ d42 = +HEAPF32[i3 + 52 >> 2];
+ d43 = +HEAPF32[i3 + 56 >> 2];
+ d44 = +HEAPF32[i3 + 60 >> 2];
+ d45 = d42 - +HEAPF32[i2 + 52 >> 2];
+ d46 = d43 - +HEAPF32[i2 + 56 >> 2];
+ d47 = d44 - +HEAPF32[i2 + 60 >> 2];
+ d48 = d36 * d39 + d37 * d40 + d38 * d41;
+ d49 = d36 * d45 + d37 * d46 + d38 * d47;
+ d50 = d39 * d45 + d40 * d46 + d41 * d47;
+ d51 = 1.0 - d48 * d48;
+ do {
+ if (d51 == 0.0) {
+ d52 = 0.0;
+ } else {
+ d53 = (d49 - d48 * d50) / d51;
+ d54 = -0.0 - d32;
+ if (d53 < d54) {
+ d52 = d54;
+ break;
+ }
+ if (d53 <= d32) {
+ d52 = d53;
+ break;
+ }
+ d52 = d32;
+ }
+ } while (0);
+ d51 = d48 * d52 - d50;
+ d53 = -0.0 - d34;
+ do {
+ if (d51 < d53) {
+ d54 = d48 * d53 + d49;
+ d55 = -0.0 - d32;
+ if (d54 < d55) {
+ d56 = d55;
+ d57 = d53;
+ break;
+ }
+ if (d54 <= d32) {
+ d56 = d54;
+ d57 = d53;
+ break;
+ }
+ d56 = d32;
+ d57 = d53;
+ } else {
+ if (d51 <= d34) {
+ d56 = d52;
+ d57 = d51;
+ break;
+ }
+ d54 = d34 * d48 + d49;
+ d55 = -0.0 - d32;
+ if (d54 < d55) {
+ d56 = d55;
+ d57 = d34;
+ break;
+ }
+ if (d54 <= d32) {
+ d56 = d54;
+ d57 = d34;
+ break;
+ }
+ d56 = d32;
+ d57 = d34;
+ }
+ } while (0);
+ d34 = d39 * d57;
+ d32 = d40 * d57;
+ d49 = d41 * d57;
+ d48 = d34 + (d45 - d36 * d56);
+ d51 = d32 + (d46 - d37 * d56);
+ d53 = d49 + (d47 - d38 * d56);
+ d50 = d53 * d53 + (d48 * d48 + d51 * d51);
+ d54 = +Math_sqrt(+d50);
+ d55 = d54 - d33 - d35;
+ if (d55 <= d31) {
+ do {
+ if (d50 > 1.4210854715202004e-14) {
+ d58 = -0.0 - 1.0 / d54;
+ d59 = d48 * d58;
+ d60 = d51 * d58;
+ d61 = d53 * d58;
+ HEAPF32[i7 >> 2] = d59;
+ HEAPF32[i7 + 4 >> 2] = d60;
+ HEAPF32[i7 + 8 >> 2] = d61;
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ d62 = d59;
+ d63 = d60;
+ d64 = d61;
+ } else {
+ if (+Math_abs(+d38) > .7071067690849304) {
+ d61 = 1.0 / +Math_sqrt(+(d37 * d37 + d38 * d38));
+ HEAPF32[i7 >> 2] = 0.0;
+ d60 = d61 * (-0.0 - d38);
+ HEAPF32[i7 + 4 >> 2] = d60;
+ d59 = d37 * d61;
+ HEAPF32[i7 + 8 >> 2] = d59;
+ d62 = 0.0;
+ d63 = d60;
+ d64 = d59;
+ break;
+ } else {
+ d59 = 1.0 / +Math_sqrt(+(d36 * d36 + d37 * d37));
+ d60 = d59 * (-0.0 - d37);
+ HEAPF32[i7 >> 2] = d60;
+ d61 = d36 * d59;
+ HEAPF32[i7 + 4 >> 2] = d61;
+ HEAPF32[i7 + 8 >> 2] = 0.0;
+ d62 = d60;
+ d63 = d61;
+ d64 = 0.0;
+ break;
+ }
+ }
+ } while (0);
+ HEAPF32[i8 >> 2] = d42 + d34 + d35 * d62;
+ HEAPF32[i8 + 4 >> 2] = d43 + d32 + d35 * d63;
+ HEAPF32[i8 + 8 >> 2] = d44 + d49 + d35 * d64;
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ }
+ if (d55 < d31) {
+ FUNCTION_TABLE_viiif[HEAP32[(HEAP32[i5 >> 2] | 0) + 16 >> 2] & 15](i5, i7, i8, d55);
+ }
+ i27 = HEAP32[i21 >> 2] | 0;
+ if ((HEAP32[i27 + 1116 >> 2] | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ if ((HEAP32[i27 + 1108 >> 2] | 0) == (HEAP32[i5 + 136 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i27, i5 + 8 | 0, i5 + 72 | 0);
+ STACKTOP = i6;
+ return;
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i27, i5 + 72 | 0, i5 + 8 | 0);
+ STACKTOP = i6;
+ return;
+ }
+ }
+ } while (0);
+ i8 = i9 + 128 | 0;
+ HEAPF32[i8 >> 2] = 999999984306749400.0;
+ i7 = i9 + 132 | 0;
+ HEAP32[i7 >> 2] = 0;
+ __ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i10, i23, i25, HEAP32[i1 + 8 >> 2] | 0, HEAP32[i1 + 12 >> 2] | 0);
+ HEAP32[i10 + 28 >> 2] = i23;
+ HEAP32[i10 + 32 >> 2] = i25;
+ d64 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i24 >> 2] | 0) + 44 >> 2] & 7](i23);
+ d63 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i22 >> 2] | 0) + 44 >> 2] & 7](i25);
+ d62 = d64 + d63 + +__ZNK20btPersistentManifold27getContactBreakingThresholdEv(HEAP32[i20 >> 2] | 0);
+ HEAPF32[i8 >> 2] = d62 * d62;
+ HEAP32[i7 >> 2] = HEAP32[i4 + 40 >> 2];
+ i7 = i2 + 4 | 0;
+ i8 = i9;
+ i25 = i7;
+ HEAP32[i8 >> 2] = HEAP32[i25 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i25 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i25 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i25 + 12 >> 2];
+ i23 = i9 + 16 | 0;
+ i27 = i2 + 20 | 0;
+ HEAP32[i23 >> 2] = HEAP32[i27 >> 2];
+ HEAP32[i23 + 4 >> 2] = HEAP32[i27 + 4 >> 2];
+ HEAP32[i23 + 8 >> 2] = HEAP32[i27 + 8 >> 2];
+ HEAP32[i23 + 12 >> 2] = HEAP32[i27 + 12 >> 2];
+ i29 = i9 + 32 | 0;
+ i28 = i2 + 36 | 0;
+ HEAP32[i29 >> 2] = HEAP32[i28 >> 2];
+ HEAP32[i29 + 4 >> 2] = HEAP32[i28 + 4 >> 2];
+ HEAP32[i29 + 8 >> 2] = HEAP32[i28 + 8 >> 2];
+ HEAP32[i29 + 12 >> 2] = HEAP32[i28 + 12 >> 2];
+ i30 = i9 + 48 | 0;
+ i65 = i2 + 52 | 0;
+ HEAP32[i30 >> 2] = HEAP32[i65 >> 2];
+ HEAP32[i30 + 4 >> 2] = HEAP32[i65 + 4 >> 2];
+ HEAP32[i30 + 8 >> 2] = HEAP32[i65 + 8 >> 2];
+ HEAP32[i30 + 12 >> 2] = HEAP32[i65 + 12 >> 2];
+ i66 = i3 + 4 | 0;
+ i67 = i9 + 64 | 0;
+ i68 = i66;
+ HEAP32[i67 >> 2] = HEAP32[i68 >> 2];
+ HEAP32[i67 + 4 >> 2] = HEAP32[i68 + 4 >> 2];
+ HEAP32[i67 + 8 >> 2] = HEAP32[i68 + 8 >> 2];
+ HEAP32[i67 + 12 >> 2] = HEAP32[i68 + 12 >> 2];
+ i69 = i9 + 80 | 0;
+ i70 = i3 + 20 | 0;
+ HEAP32[i69 >> 2] = HEAP32[i70 >> 2];
+ HEAP32[i69 + 4 >> 2] = HEAP32[i70 + 4 >> 2];
+ HEAP32[i69 + 8 >> 2] = HEAP32[i70 + 8 >> 2];
+ HEAP32[i69 + 12 >> 2] = HEAP32[i70 + 12 >> 2];
+ i71 = i9 + 96 | 0;
+ i72 = i3 + 36 | 0;
+ HEAP32[i71 >> 2] = HEAP32[i72 >> 2];
+ HEAP32[i71 + 4 >> 2] = HEAP32[i72 + 4 >> 2];
+ HEAP32[i71 + 8 >> 2] = HEAP32[i72 + 8 >> 2];
+ HEAP32[i71 + 12 >> 2] = HEAP32[i72 + 12 >> 2];
+ i73 = i9 + 112 | 0;
+ i74 = i3 + 52 | 0;
+ HEAP32[i73 >> 2] = HEAP32[i74 >> 2];
+ HEAP32[i73 + 4 >> 2] = HEAP32[i74 + 4 >> 2];
+ HEAP32[i73 + 8 >> 2] = HEAP32[i74 + 8 >> 2];
+ HEAP32[i73 + 12 >> 2] = HEAP32[i74 + 12 >> 2];
+ do {
+ if ((HEAP32[i26 >> 2] | 0) < 7) {
+ i75 = HEAP32[i22 + 4 >> 2] | 0;
+ if ((i75 | 0) >= 7) {
+ break;
+ }
+ HEAP32[i11 >> 2] = 1552;
+ i76 = i24 + 52 | 0;
+ if ((HEAP32[i76 >> 2] | 0) == 0) {
+ break;
+ }
+ i77 = i22 + 52 | 0;
+ if ((HEAP32[i77 >> 2] | 0) != 0) {
+ __ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i10, i9, i11 | 0, HEAP32[i4 + 20 >> 2] | 0, 0);
+ d62 = +__ZNK20btPersistentManifold27getContactBreakingThresholdEv(HEAP32[i20 >> 2] | 0);
+ if ((HEAP8[i4 + 24 | 0] | 0) == 0) {
+ d63 = +HEAPF32[i10 + 4 >> 2];
+ d64 = +HEAPF32[i10 + 8 >> 2];
+ d56 = +HEAPF32[i10 + 12 >> 2];
+ d57 = 1.0 / +Math_sqrt(+(d63 * d63 + d64 * d64 + d56 * d56));
+ HEAPF32[i12 >> 2] = d63 * d57;
+ HEAPF32[i12 + 4 >> 2] = d64 * d57;
+ HEAPF32[i12 + 8 >> 2] = d56 * d57;
+ HEAPF32[i12 + 12 >> 2] = 0.0;
+ d78 = +HEAPF32[i10 + 56 >> 2];
+ i79 = 1404;
+ } else {
+ if (__ZN27btPolyhedralContactClipping18findSeparatingAxisERK18btConvexPolyhedronS2_RK11btTransformS5_R9btVector3(HEAP32[i76 >> 2] | 0, HEAP32[i77 >> 2] | 0, i7, i66, i12) | 0) {
+ d78 = 0.0;
+ i79 = 1404;
+ }
+ }
+ if ((i79 | 0) == 1404) {
+ __ZN27btPolyhedralContactClipping19clipHullAgainstHullERK9btVector3RK18btConvexPolyhedronS5_RK11btTransformS8_ffRN36btDiscreteCollisionDetectorInterface6ResultE(i12, HEAP32[i76 >> 2] | 0, HEAP32[i77 >> 2] | 0, i7, i66, d78 - d62, d62, i5 | 0);
+ }
+ if ((HEAP8[i1 + 16 | 0] | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ i77 = HEAP32[i21 >> 2] | 0;
+ if ((HEAP32[i77 + 1116 >> 2] | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ if ((HEAP32[i77 + 1108 >> 2] | 0) == (HEAP32[i5 + 136 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i77, i5 + 8 | 0, i5 + 72 | 0);
+ STACKTOP = i6;
+ return;
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i77, i5 + 72 | 0, i5 + 8 | 0);
+ STACKTOP = i6;
+ return;
+ }
+ }
+ if ((i75 | 0) != 1) {
+ break;
+ }
+ __ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i10, i9, i11 | 0, HEAP32[i4 + 20 >> 2] | 0, 0);
+ d62 = +HEAPF32[i10 + 4 >> 2];
+ d57 = +HEAPF32[i10 + 8 >> 2];
+ d56 = +HEAPF32[i10 + 12 >> 2];
+ d64 = 1.0 / +Math_sqrt(+(d62 * d62 + d57 * d57 + d56 * d56));
+ HEAPF32[i13 >> 2] = d62 * d64;
+ HEAPF32[i13 + 4 >> 2] = d57 * d64;
+ HEAPF32[i13 + 8 >> 2] = d56 * d64;
+ HEAPF32[i13 + 12 >> 2] = 0.0;
+ i75 = i14 + 16 | 0;
+ HEAP8[i75] = 1;
+ i77 = i14 + 12 | 0;
+ HEAP32[i77 >> 2] = 0;
+ i80 = i14 + 4 | 0;
+ HEAP32[i80 >> 2] = 0;
+ i81 = i14 + 8 | 0;
+ HEAP32[i81 >> 2] = 0;
+ i82 = i22 + 56 | 0;
+ i83 = i66 | 0;
+ d64 = +HEAPF32[i82 >> 2];
+ i84 = i3 + 8 | 0;
+ d56 = +HEAPF32[i82 + 4 >> 2];
+ i85 = i3 + 12 | 0;
+ d57 = +HEAPF32[i82 + 8 >> 2];
+ i86 = i3 + 52 | 0;
+ d62 = +HEAPF32[i86 >> 2] + (+HEAPF32[i83 >> 2] * d64 + +HEAPF32[i84 >> 2] * d56 + +HEAPF32[i85 >> 2] * d57);
+ i87 = i3 + 20 | 0;
+ i88 = i3 + 24 | 0;
+ i89 = i3 + 28 | 0;
+ i90 = i3 + 56 | 0;
+ d63 = +HEAPF32[i90 >> 2] + (d64 * +HEAPF32[i87 >> 2] + d56 * +HEAPF32[i88 >> 2] + d57 * +HEAPF32[i89 >> 2]);
+ i91 = i3 + 36 | 0;
+ i92 = i3 + 40 | 0;
+ i93 = i3 + 44 | 0;
+ i94 = i3 + 60 | 0;
+ d52 = +HEAPF32[i94 >> 2] + (d64 * +HEAPF32[i91 >> 2] + d56 * +HEAPF32[i92 >> 2] + d57 * +HEAPF32[i93 >> 2]);
+ i95 = __Z22btAlignedAllocInternalji(16, 16) | 0;
+ HEAP8[i75] = 1;
+ HEAP32[i77 >> 2] = i95;
+ HEAP32[i81 >> 2] = 1;
+ i96 = HEAP32[i80 >> 2] | 0;
+ i97 = i95 + (i96 << 4) | 0;
+ if ((i97 | 0) == 0) {
+ i98 = i96;
+ i99 = 1;
+ } else {
+ HEAPF32[i97 >> 2] = d62;
+ HEAPF32[i95 + (i96 << 4) + 4 >> 2] = d63;
+ HEAPF32[i95 + (i96 << 4) + 8 >> 2] = d52;
+ HEAPF32[i95 + (i96 << 4) + 12 >> 2] = 0.0;
+ i98 = HEAP32[i80 >> 2] | 0;
+ i99 = HEAP32[i81 >> 2] | 0;
+ }
+ i96 = i98 + 1 | 0;
+ HEAP32[i80 >> 2] = i96;
+ d52 = +HEAPF32[i82 + 16 >> 2];
+ d63 = +HEAPF32[i82 + 20 >> 2];
+ d62 = +HEAPF32[i82 + 24 >> 2];
+ d57 = +HEAPF32[i86 >> 2] + (+HEAPF32[i83 >> 2] * d52 + +HEAPF32[i84 >> 2] * d63 + +HEAPF32[i85 >> 2] * d62);
+ d56 = +HEAPF32[i90 >> 2] + (d52 * +HEAPF32[i87 >> 2] + d63 * +HEAPF32[i88 >> 2] + d62 * +HEAPF32[i89 >> 2]);
+ d64 = +HEAPF32[i94 >> 2] + (d52 * +HEAPF32[i91 >> 2] + d63 * +HEAPF32[i92 >> 2] + d62 * +HEAPF32[i93 >> 2]);
+ do {
+ if ((i96 | 0) == (i99 | 0)) {
+ i95 = (i99 | 0) == 0 ? 1 : i99 << 1;
+ if ((i99 | 0) >= (i95 | 0)) {
+ i100 = i99;
+ i101 = i99;
+ break;
+ }
+ if ((i95 | 0) == 0) {
+ i102 = 0;
+ i103 = i99;
+ } else {
+ i97 = __Z22btAlignedAllocInternalji(i95 << 4, 16) | 0;
+ i102 = i97;
+ i103 = HEAP32[i80 >> 2] | 0;
+ }
+ if ((i103 | 0) > 0) {
+ i97 = 0;
+ do {
+ i104 = i102 + (i97 << 4) | 0;
+ if ((i104 | 0) != 0) {
+ i105 = i104;
+ i104 = (HEAP32[i77 >> 2] | 0) + (i97 << 4) | 0;
+ HEAP32[i105 >> 2] = HEAP32[i104 >> 2];
+ HEAP32[i105 + 4 >> 2] = HEAP32[i104 + 4 >> 2];
+ HEAP32[i105 + 8 >> 2] = HEAP32[i104 + 8 >> 2];
+ HEAP32[i105 + 12 >> 2] = HEAP32[i104 + 12 >> 2];
+ }
+ i97 = i97 + 1 | 0;
+ } while ((i97 | 0) < (i103 | 0));
+ }
+ i97 = HEAP32[i77 >> 2] | 0;
+ if ((i97 | 0) != 0) {
+ if ((HEAP8[i75] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i97);
+ }
+ HEAP32[i77 >> 2] = 0;
+ }
+ HEAP8[i75] = 1;
+ HEAP32[i77 >> 2] = i102;
+ HEAP32[i81 >> 2] = i95;
+ i100 = HEAP32[i80 >> 2] | 0;
+ i101 = i95;
+ } else {
+ i100 = i96;
+ i101 = i99;
+ }
+ } while (0);
+ i96 = HEAP32[i77 >> 2] | 0;
+ i97 = i96 + (i100 << 4) | 0;
+ if ((i97 | 0) == 0) {
+ i106 = i100;
+ i107 = i101;
+ } else {
+ HEAPF32[i97 >> 2] = d57;
+ HEAPF32[i96 + (i100 << 4) + 4 >> 2] = d56;
+ HEAPF32[i96 + (i100 << 4) + 8 >> 2] = d64;
+ HEAPF32[i96 + (i100 << 4) + 12 >> 2] = 0.0;
+ i106 = HEAP32[i80 >> 2] | 0;
+ i107 = HEAP32[i81 >> 2] | 0;
+ }
+ i96 = i106 + 1 | 0;
+ HEAP32[i80 >> 2] = i96;
+ d55 = +HEAPF32[i82 + 32 >> 2];
+ d31 = +HEAPF32[i82 + 36 >> 2];
+ d35 = +HEAPF32[i82 + 40 >> 2];
+ d49 = +HEAPF32[i86 >> 2] + (+HEAPF32[i83 >> 2] * d55 + +HEAPF32[i84 >> 2] * d31 + +HEAPF32[i85 >> 2] * d35);
+ d44 = +HEAPF32[i90 >> 2] + (d55 * +HEAPF32[i87 >> 2] + d31 * +HEAPF32[i88 >> 2] + d35 * +HEAPF32[i89 >> 2]);
+ d32 = +HEAPF32[i94 >> 2] + (d55 * +HEAPF32[i91 >> 2] + d31 * +HEAPF32[i92 >> 2] + d35 * +HEAPF32[i93 >> 2]);
+ do {
+ if ((i96 | 0) == (i107 | 0)) {
+ i97 = (i107 | 0) == 0 ? 1 : i107 << 1;
+ if ((i107 | 0) >= (i97 | 0)) {
+ i108 = i107;
+ break;
+ }
+ if ((i97 | 0) == 0) {
+ i109 = 0;
+ i110 = i107;
+ } else {
+ i104 = __Z22btAlignedAllocInternalji(i97 << 4, 16) | 0;
+ i109 = i104;
+ i110 = HEAP32[i80 >> 2] | 0;
+ }
+ if ((i110 | 0) > 0) {
+ i104 = 0;
+ do {
+ i105 = i109 + (i104 << 4) | 0;
+ if ((i105 | 0) != 0) {
+ i111 = i105;
+ i105 = (HEAP32[i77 >> 2] | 0) + (i104 << 4) | 0;
+ HEAP32[i111 >> 2] = HEAP32[i105 >> 2];
+ HEAP32[i111 + 4 >> 2] = HEAP32[i105 + 4 >> 2];
+ HEAP32[i111 + 8 >> 2] = HEAP32[i105 + 8 >> 2];
+ HEAP32[i111 + 12 >> 2] = HEAP32[i105 + 12 >> 2];
+ }
+ i104 = i104 + 1 | 0;
+ } while ((i104 | 0) < (i110 | 0));
+ }
+ i104 = HEAP32[i77 >> 2] | 0;
+ if ((i104 | 0) != 0) {
+ if ((HEAP8[i75] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i104);
+ }
+ HEAP32[i77 >> 2] = 0;
+ }
+ HEAP8[i75] = 1;
+ HEAP32[i77 >> 2] = i109;
+ HEAP32[i81 >> 2] = i97;
+ i108 = HEAP32[i80 >> 2] | 0;
+ } else {
+ i108 = i96;
+ }
+ } while (0);
+ i96 = HEAP32[i77 >> 2] | 0;
+ i93 = i96 + (i108 << 4) | 0;
+ if ((i93 | 0) == 0) {
+ i112 = i108;
+ } else {
+ HEAPF32[i93 >> 2] = d49;
+ HEAPF32[i96 + (i108 << 4) + 4 >> 2] = d44;
+ HEAPF32[i96 + (i108 << 4) + 8 >> 2] = d32;
+ HEAPF32[i96 + (i108 << 4) + 12 >> 2] = 0.0;
+ i112 = HEAP32[i80 >> 2] | 0;
+ }
+ HEAP32[i80 >> 2] = i112 + 1;
+ d64 = +__ZNK20btPersistentManifold27getContactBreakingThresholdEv(HEAP32[i20 >> 2] | 0);
+ __ZN27btPolyhedralContactClipping19clipFaceAgainstHullERK9btVector3RK18btConvexPolyhedronRK11btTransformR20btAlignedObjectArrayIS0_EffRN36btDiscreteCollisionDetectorInterface6ResultE(i13, HEAP32[i76 >> 2] | 0, i7, i14, +HEAPF32[i10 + 56 >> 2] - d64, d64, i5 | 0);
+ do {
+ if ((HEAP8[i1 + 16 | 0] | 0) != 0) {
+ i96 = HEAP32[i21 >> 2] | 0;
+ if ((HEAP32[i96 + 1116 >> 2] | 0) == 0) {
+ break;
+ }
+ if ((HEAP32[i96 + 1108 >> 2] | 0) == (HEAP32[i5 + 136 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i96, i5 + 8 | 0, i5 + 72 | 0);
+ break;
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i96, i5 + 72 | 0, i5 + 8 | 0);
+ break;
+ }
+ }
+ } while (0);
+ i76 = HEAP32[i77 >> 2] | 0;
+ if ((i76 | 0) != 0) {
+ if ((HEAP8[i75] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i76);
+ }
+ HEAP32[i77 >> 2] = 0;
+ }
+ HEAP8[i75] = 1;
+ HEAP32[i77 >> 2] = 0;
+ HEAP32[i80 >> 2] = 0;
+ HEAP32[i81 >> 2] = 0;
+ STACKTOP = i6;
+ return;
+ }
+ } while (0);
+ i14 = i4 + 20 | 0;
+ __ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i10, i9, i5 | 0, HEAP32[i14 >> 2] | 0, 0);
+ i4 = i1 + 28 | 0;
+ L1724 : do {
+ if ((HEAP32[i4 >> 2] | 0) != 0) {
+ if ((HEAP32[(HEAP32[i21 >> 2] | 0) + 1116 >> 2] | 0) >= (HEAP32[i1 + 32 >> 2] | 0)) {
+ break;
+ }
+ d78 = +HEAPF32[i10 + 4 >> 2];
+ d32 = +HEAPF32[i10 + 8 >> 2];
+ d44 = +HEAPF32[i10 + 12 >> 2];
+ d49 = 1.0 / +Math_sqrt(+(d78 * d78 + d32 * d32 + d44 * d44));
+ d64 = d78 * d49;
+ d78 = d32 * d49;
+ d32 = d44 * d49;
+ if (+Math_abs(+d32) > .7071067690849304) {
+ d49 = 1.0 / +Math_sqrt(+(d32 * d32 + d78 * d78));
+ d113 = 0.0;
+ d114 = d49 * (-0.0 - d32);
+ d115 = d78 * d49;
+ } else {
+ d49 = 1.0 / +Math_sqrt(+(d64 * d64 + d78 * d78));
+ d113 = d49 * (-0.0 - d78);
+ d114 = d64 * d49;
+ d115 = 0.0;
+ }
+ d49 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i24 >> 2] | 0) + 16 >> 2] & 7](i24);
+ d44 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i22 >> 2] | 0) + 16 >> 2] & 7](i22);
+ i13 = d49 < d44;
+ d56 = +HEAPF32[4] / (i13 ? d49 : d44);
+ i20 = i15;
+ if (i13) {
+ HEAP32[i20 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i20 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i20 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i20 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i112 = i16;
+ HEAP32[i112 >> 2] = HEAP32[i23 >> 2];
+ HEAP32[i112 + 4 >> 2] = HEAP32[i23 + 4 >> 2];
+ HEAP32[i112 + 8 >> 2] = HEAP32[i23 + 8 >> 2];
+ HEAP32[i112 + 12 >> 2] = HEAP32[i23 + 12 >> 2];
+ i112 = i17;
+ HEAP32[i112 >> 2] = HEAP32[i29 >> 2];
+ HEAP32[i112 + 4 >> 2] = HEAP32[i29 + 4 >> 2];
+ HEAP32[i112 + 8 >> 2] = HEAP32[i29 + 8 >> 2];
+ HEAP32[i112 + 12 >> 2] = HEAP32[i29 + 12 >> 2];
+ i112 = i18;
+ HEAP32[i112 >> 2] = HEAP32[i30 >> 2];
+ HEAP32[i112 + 4 >> 2] = HEAP32[i30 + 4 >> 2];
+ HEAP32[i112 + 8 >> 2] = HEAP32[i30 + 8 >> 2];
+ HEAP32[i112 + 12 >> 2] = HEAP32[i30 + 12 >> 2];
+ } else {
+ HEAP32[i20 >> 2] = HEAP32[i67 >> 2];
+ HEAP32[i20 + 4 >> 2] = HEAP32[i67 + 4 >> 2];
+ HEAP32[i20 + 8 >> 2] = HEAP32[i67 + 8 >> 2];
+ HEAP32[i20 + 12 >> 2] = HEAP32[i67 + 12 >> 2];
+ i112 = i16;
+ HEAP32[i112 >> 2] = HEAP32[i69 >> 2];
+ HEAP32[i112 + 4 >> 2] = HEAP32[i69 + 4 >> 2];
+ HEAP32[i112 + 8 >> 2] = HEAP32[i69 + 8 >> 2];
+ HEAP32[i112 + 12 >> 2] = HEAP32[i69 + 12 >> 2];
+ i112 = i17;
+ HEAP32[i112 >> 2] = HEAP32[i71 >> 2];
+ HEAP32[i112 + 4 >> 2] = HEAP32[i71 + 4 >> 2];
+ HEAP32[i112 + 8 >> 2] = HEAP32[i71 + 8 >> 2];
+ HEAP32[i112 + 12 >> 2] = HEAP32[i71 + 12 >> 2];
+ i112 = i18;
+ HEAP32[i112 >> 2] = HEAP32[i73 >> 2];
+ HEAP32[i112 + 4 >> 2] = HEAP32[i73 + 4 >> 2];
+ HEAP32[i112 + 8 >> 2] = HEAP32[i73 + 8 >> 2];
+ HEAP32[i112 + 12 >> 2] = HEAP32[i73 + 12 >> 2];
+ }
+ i112 = HEAP32[i4 >> 2] | 0;
+ if ((i112 | 0) <= 0) {
+ break;
+ }
+ d44 = d115 * d115 + (d114 * d114 + d113 * d113);
+ d49 = d56 > .39269909262657166 ? .19634954631328583 : d56 * .5;
+ d56 = d32 * d32 + (d64 * d64 + d78 * d78);
+ i108 = i7 | 0;
+ i109 = i2 + 20 | 0;
+ i110 = i2 + 36 | 0;
+ i107 = i2 + 8 | 0;
+ i106 = i2 + 24 | 0;
+ i100 = i2 + 40 | 0;
+ i101 = i2 + 12 | 0;
+ i99 = i2 + 28 | 0;
+ i102 = i2 + 44 | 0;
+ i103 = i9 | 0;
+ i98 = i9 + 4 | 0;
+ i11 = i9 + 8 | 0;
+ i12 = i9 + 12 | 0;
+ i79 = i9 + 16 | 0;
+ i26 = i9 + 20 | 0;
+ i76 = i9 + 24 | 0;
+ i96 = i9 + 28 | 0;
+ i93 = i9 + 32 | 0;
+ i92 = i9 + 36 | 0;
+ i91 = i9 + 40 | 0;
+ i94 = i9 + 44 | 0;
+ i89 = i19 | 0;
+ i88 = i19 + 144 | 0;
+ i87 = i19 + 160 | 0;
+ i90 = i19 + 164 | 0;
+ i85 = i19 + 180 | 0;
+ i84 = i19 + 196 | 0;
+ i83 = i19 + 212 | 0;
+ i86 = i19 + 228 | 0;
+ i82 = i19 + 244 | 0;
+ i104 = i19 + 260 | 0;
+ i95 = i19 + 276 | 0;
+ i105 = i19 + 292 | 0;
+ i111 = i19 + 308 | 0;
+ i116 = i16;
+ i117 = i19 + 324 | 0;
+ i118 = i17;
+ i119 = i19 + 340 | 0;
+ i120 = i18;
+ i121 = i19 + 356 | 0;
+ i122 = i13 & 1;
+ i123 = i19 + 360 | 0;
+ i124 = i19 | 0;
+ i125 = i66 | 0;
+ i126 = i3 + 20 | 0;
+ i127 = i3 + 36 | 0;
+ i128 = i3 + 8 | 0;
+ i129 = i3 + 24 | 0;
+ i130 = i3 + 40 | 0;
+ i131 = i3 + 12 | 0;
+ i132 = i3 + 28 | 0;
+ i133 = i3 + 44 | 0;
+ i134 = i9 + 64 | 0;
+ i135 = i9 + 68 | 0;
+ i136 = i9 + 72 | 0;
+ i137 = i9 + 76 | 0;
+ i138 = i9 + 80 | 0;
+ i139 = i9 + 84 | 0;
+ i140 = i9 + 88 | 0;
+ i141 = i9 + 92 | 0;
+ i142 = i9 + 96 | 0;
+ i143 = i9 + 100 | 0;
+ i144 = i9 + 104 | 0;
+ i145 = i9 + 108 | 0;
+ if (d44 > 1.1920928955078125e-7) {
+ i146 = 0;
+ i147 = i112;
+ } else {
+ if (i13) {
+ i148 = 0;
+ while (1) {
+ i148 = i148 + 1 | 0;
+ if ((i148 | 0) >= (i112 | 0)) {
+ break L1724;
+ }
+ }
+ } else {
+ i148 = 0;
+ while (1) {
+ i148 = i148 + 1 | 0;
+ if ((i148 | 0) >= (i112 | 0)) {
+ break L1724;
+ }
+ }
+ }
+ }
+ do {
+ d57 = +Math_sqrt(+d44);
+ d35 = +Math_sin(+d49) / d57;
+ d57 = d113 * d35;
+ d31 = d114 * d35;
+ d55 = d115 * d35;
+ d35 = +Math_cos(+d49);
+ d43 = +Math_sqrt(+d56);
+ d34 = +(i146 | 0) * (6.2831854820251465 / +(i147 | 0)) * .5;
+ d42 = +Math_sin(+d34) / d43;
+ d43 = d64 * d42;
+ d62 = d78 * d42;
+ d63 = d32 * d42;
+ d42 = +Math_cos(+d34);
+ if (i13) {
+ d34 = -0.0 - d43;
+ d52 = -0.0 - d62;
+ d36 = -0.0 - d63;
+ d37 = d55 * d52 + (d57 * d42 + d35 * d34) - d31 * d36;
+ d38 = d57 * d36 + (d31 * d42 + d35 * d52) - d55 * d34;
+ d53 = d31 * d34 + (d55 * d42 + d35 * d36) - d57 * d52;
+ d51 = d35 * d42 - d57 * d34 - d31 * d52 - d55 * d36;
+ d36 = d63 * d38 + (d43 * d51 + d42 * d37) - d62 * d53;
+ d52 = d43 * d53 + (d42 * d38 + d62 * d51) - d63 * d37;
+ d34 = d62 * d37 + (d63 * d51 + d42 * d53) - d43 * d38;
+ d48 = d42 * d51 - d43 * d37 - d62 * d38 - d63 * d53;
+ d53 = 2.0 / (d48 * d48 + (d34 * d34 + (d36 * d36 + d52 * d52)));
+ d38 = d36 * d53;
+ d37 = d52 * d53;
+ d51 = d34 * d53;
+ d53 = d48 * d38;
+ d54 = d48 * d37;
+ d50 = d48 * d51;
+ d48 = d36 * d38;
+ d38 = d36 * d37;
+ d33 = d36 * d51;
+ d36 = d52 * d37;
+ d37 = d52 * d51;
+ d52 = d34 * d51;
+ d51 = 1.0 - (d36 + d52);
+ d34 = d38 - d50;
+ d47 = d33 + d54;
+ d46 = d38 + d50;
+ d50 = 1.0 - (d48 + d52);
+ d52 = d37 - d53;
+ d38 = d33 - d54;
+ d54 = d37 + d53;
+ d53 = 1.0 - (d48 + d36);
+ d36 = +HEAPF32[i108 >> 2];
+ d48 = +HEAPF32[i109 >> 2];
+ d37 = +HEAPF32[i110 >> 2];
+ d33 = +HEAPF32[i107 >> 2];
+ d45 = +HEAPF32[i106 >> 2];
+ d41 = +HEAPF32[i100 >> 2];
+ d40 = +HEAPF32[i101 >> 2];
+ d39 = +HEAPF32[i99 >> 2];
+ d61 = +HEAPF32[i102 >> 2];
+ HEAPF32[i103 >> 2] = d37 * d47 + (d48 * d34 + d36 * d51);
+ HEAPF32[i98 >> 2] = d51 * d33 + d34 * d45 + d47 * d41;
+ HEAPF32[i11 >> 2] = d51 * d40 + d34 * d39 + d47 * d61;
+ HEAPF32[i12 >> 2] = 0.0;
+ HEAPF32[i79 >> 2] = d37 * d52 + (d36 * d46 + d48 * d50);
+ HEAPF32[i26 >> 2] = d46 * d33 + d50 * d45 + d52 * d41;
+ HEAPF32[i76 >> 2] = d46 * d40 + d50 * d39 + d52 * d61;
+ HEAPF32[i96 >> 2] = 0.0;
+ HEAPF32[i93 >> 2] = d36 * d38 + d48 * d54 + d37 * d53;
+ HEAPF32[i92 >> 2] = d38 * d33 + d54 * d45 + d53 * d41;
+ HEAPF32[i91 >> 2] = d38 * d40 + d54 * d39 + d53 * d61;
+ HEAPF32[i94 >> 2] = 0.0;
+ HEAP32[i67 >> 2] = HEAP32[i68 >> 2];
+ HEAP32[i67 + 4 >> 2] = HEAP32[i68 + 4 >> 2];
+ HEAP32[i67 + 8 >> 2] = HEAP32[i68 + 8 >> 2];
+ HEAP32[i67 + 12 >> 2] = HEAP32[i68 + 12 >> 2];
+ HEAP32[i69 >> 2] = HEAP32[i70 >> 2];
+ HEAP32[i69 + 4 >> 2] = HEAP32[i70 + 4 >> 2];
+ HEAP32[i69 + 8 >> 2] = HEAP32[i70 + 8 >> 2];
+ HEAP32[i69 + 12 >> 2] = HEAP32[i70 + 12 >> 2];
+ HEAP32[i71 >> 2] = HEAP32[i72 >> 2];
+ HEAP32[i71 + 4 >> 2] = HEAP32[i72 + 4 >> 2];
+ HEAP32[i71 + 8 >> 2] = HEAP32[i72 + 8 >> 2];
+ HEAP32[i71 + 12 >> 2] = HEAP32[i72 + 12 >> 2];
+ HEAP32[i73 >> 2] = HEAP32[i74 >> 2];
+ HEAP32[i73 + 4 >> 2] = HEAP32[i74 + 4 >> 2];
+ HEAP32[i73 + 8 >> 2] = HEAP32[i74 + 8 >> 2];
+ HEAP32[i73 + 12 >> 2] = HEAP32[i74 + 12 >> 2];
+ } else {
+ HEAP32[i8 >> 2] = HEAP32[i25 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i25 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i25 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i25 + 12 >> 2];
+ HEAP32[i23 >> 2] = HEAP32[i27 >> 2];
+ HEAP32[i23 + 4 >> 2] = HEAP32[i27 + 4 >> 2];
+ HEAP32[i23 + 8 >> 2] = HEAP32[i27 + 8 >> 2];
+ HEAP32[i23 + 12 >> 2] = HEAP32[i27 + 12 >> 2];
+ HEAP32[i29 >> 2] = HEAP32[i28 >> 2];
+ HEAP32[i29 + 4 >> 2] = HEAP32[i28 + 4 >> 2];
+ HEAP32[i29 + 8 >> 2] = HEAP32[i28 + 8 >> 2];
+ HEAP32[i29 + 12 >> 2] = HEAP32[i28 + 12 >> 2];
+ HEAP32[i30 >> 2] = HEAP32[i65 >> 2];
+ HEAP32[i30 + 4 >> 2] = HEAP32[i65 + 4 >> 2];
+ HEAP32[i30 + 8 >> 2] = HEAP32[i65 + 8 >> 2];
+ HEAP32[i30 + 12 >> 2] = HEAP32[i65 + 12 >> 2];
+ d61 = -0.0 - d43;
+ d53 = -0.0 - d62;
+ d39 = -0.0 - d63;
+ d54 = d55 * d53 + (d57 * d42 + d35 * d61) - d31 * d39;
+ d40 = d57 * d39 + (d31 * d42 + d35 * d53) - d55 * d61;
+ d38 = d31 * d61 + (d55 * d42 + d35 * d39) - d57 * d53;
+ d41 = d35 * d42 - d57 * d61 - d31 * d53 - d55 * d39;
+ d39 = d63 * d40 + (d43 * d41 + d42 * d54) - d62 * d38;
+ d55 = d43 * d38 + (d42 * d40 + d62 * d41) - d63 * d54;
+ d53 = d62 * d54 + (d63 * d41 + d42 * d38) - d43 * d40;
+ d31 = d42 * d41 - d43 * d54 - d62 * d40 - d63 * d38;
+ d38 = 2.0 / (d31 * d31 + (d53 * d53 + (d39 * d39 + d55 * d55)));
+ d63 = d39 * d38;
+ d40 = d55 * d38;
+ d62 = d53 * d38;
+ d38 = d31 * d63;
+ d54 = d31 * d40;
+ d43 = d31 * d62;
+ d31 = d39 * d63;
+ d63 = d39 * d40;
+ d41 = d39 * d62;
+ d39 = d55 * d40;
+ d40 = d55 * d62;
+ d55 = d53 * d62;
+ d62 = 1.0 - (d39 + d55);
+ d53 = d63 - d43;
+ d42 = d41 + d54;
+ d61 = d63 + d43;
+ d43 = 1.0 - (d31 + d55);
+ d55 = d40 - d38;
+ d63 = d41 - d54;
+ d54 = d40 + d38;
+ d38 = 1.0 - (d31 + d39);
+ d39 = +HEAPF32[i125 >> 2];
+ d31 = +HEAPF32[i126 >> 2];
+ d40 = +HEAPF32[i127 >> 2];
+ d41 = +HEAPF32[i128 >> 2];
+ d57 = +HEAPF32[i129 >> 2];
+ d35 = +HEAPF32[i130 >> 2];
+ d45 = +HEAPF32[i131 >> 2];
+ d33 = +HEAPF32[i132 >> 2];
+ d37 = +HEAPF32[i133 >> 2];
+ HEAPF32[i134 >> 2] = d40 * d42 + (d31 * d53 + d39 * d62);
+ HEAPF32[i135 >> 2] = d62 * d41 + d53 * d57 + d42 * d35;
+ HEAPF32[i136 >> 2] = d62 * d45 + d53 * d33 + d42 * d37;
+ HEAPF32[i137 >> 2] = 0.0;
+ HEAPF32[i138 >> 2] = d40 * d55 + (d39 * d61 + d31 * d43);
+ HEAPF32[i139 >> 2] = d61 * d41 + d43 * d57 + d55 * d35;
+ HEAPF32[i140 >> 2] = d61 * d45 + d43 * d33 + d55 * d37;
+ HEAPF32[i141 >> 2] = 0.0;
+ HEAPF32[i142 >> 2] = d39 * d63 + d31 * d54 + d40 * d38;
+ HEAPF32[i143 >> 2] = d63 * d41 + d54 * d57 + d38 * d35;
+ HEAPF32[i144 >> 2] = d63 * d45 + d54 * d33 + d38 * d37;
+ HEAPF32[i145 >> 2] = 0.0;
+ }
+ i112 = HEAP32[i14 >> 2] | 0;
+ _memset(i88 | 0, -1 | 0, 16);
+ HEAP32[i89 >> 2] = 3064;
+ HEAP32[i87 >> 2] = i5;
+ HEAP32[i90 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i90 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i90 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i90 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ HEAP32[i85 >> 2] = HEAP32[i23 >> 2];
+ HEAP32[i85 + 4 >> 2] = HEAP32[i23 + 4 >> 2];
+ HEAP32[i85 + 8 >> 2] = HEAP32[i23 + 8 >> 2];
+ HEAP32[i85 + 12 >> 2] = HEAP32[i23 + 12 >> 2];
+ HEAP32[i84 >> 2] = HEAP32[i29 >> 2];
+ HEAP32[i84 + 4 >> 2] = HEAP32[i29 + 4 >> 2];
+ HEAP32[i84 + 8 >> 2] = HEAP32[i29 + 8 >> 2];
+ HEAP32[i84 + 12 >> 2] = HEAP32[i29 + 12 >> 2];
+ HEAP32[i83 >> 2] = HEAP32[i30 >> 2];
+ HEAP32[i83 + 4 >> 2] = HEAP32[i30 + 4 >> 2];
+ HEAP32[i83 + 8 >> 2] = HEAP32[i30 + 8 >> 2];
+ HEAP32[i83 + 12 >> 2] = HEAP32[i30 + 12 >> 2];
+ HEAP32[i86 >> 2] = HEAP32[i67 >> 2];
+ HEAP32[i86 + 4 >> 2] = HEAP32[i67 + 4 >> 2];
+ HEAP32[i86 + 8 >> 2] = HEAP32[i67 + 8 >> 2];
+ HEAP32[i86 + 12 >> 2] = HEAP32[i67 + 12 >> 2];
+ HEAP32[i82 >> 2] = HEAP32[i69 >> 2];
+ HEAP32[i82 + 4 >> 2] = HEAP32[i69 + 4 >> 2];
+ HEAP32[i82 + 8 >> 2] = HEAP32[i69 + 8 >> 2];
+ HEAP32[i82 + 12 >> 2] = HEAP32[i69 + 12 >> 2];
+ HEAP32[i104 >> 2] = HEAP32[i71 >> 2];
+ HEAP32[i104 + 4 >> 2] = HEAP32[i71 + 4 >> 2];
+ HEAP32[i104 + 8 >> 2] = HEAP32[i71 + 8 >> 2];
+ HEAP32[i104 + 12 >> 2] = HEAP32[i71 + 12 >> 2];
+ HEAP32[i95 >> 2] = HEAP32[i73 >> 2];
+ HEAP32[i95 + 4 >> 2] = HEAP32[i73 + 4 >> 2];
+ HEAP32[i95 + 8 >> 2] = HEAP32[i73 + 8 >> 2];
+ HEAP32[i95 + 12 >> 2] = HEAP32[i73 + 12 >> 2];
+ HEAP32[i105 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i105 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i105 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i105 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ HEAP32[i111 >> 2] = HEAP32[i116 >> 2];
+ HEAP32[i111 + 4 >> 2] = HEAP32[i116 + 4 >> 2];
+ HEAP32[i111 + 8 >> 2] = HEAP32[i116 + 8 >> 2];
+ HEAP32[i111 + 12 >> 2] = HEAP32[i116 + 12 >> 2];
+ HEAP32[i117 >> 2] = HEAP32[i118 >> 2];
+ HEAP32[i117 + 4 >> 2] = HEAP32[i118 + 4 >> 2];
+ HEAP32[i117 + 8 >> 2] = HEAP32[i118 + 8 >> 2];
+ HEAP32[i117 + 12 >> 2] = HEAP32[i118 + 12 >> 2];
+ HEAP32[i119 >> 2] = HEAP32[i120 >> 2];
+ HEAP32[i119 + 4 >> 2] = HEAP32[i120 + 4 >> 2];
+ HEAP32[i119 + 8 >> 2] = HEAP32[i120 + 8 >> 2];
+ HEAP32[i119 + 12 >> 2] = HEAP32[i120 + 12 >> 2];
+ HEAP8[i121] = i122;
+ HEAP32[i123 >> 2] = i112;
+ __ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i10, i9, i124, i112, 0);
+ i147 = HEAP32[i4 >> 2] | 0;
+ i146 = i146 + 1 | 0;
+ } while ((i146 | 0) < (i147 | 0));
+ }
+ } while (0);
+ if ((HEAP8[i1 + 16 | 0] | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ i1 = HEAP32[i21 >> 2] | 0;
+ if ((HEAP32[i1 + 1116 >> 2] | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ if ((HEAP32[i1 + 1108 >> 2] | 0) == (HEAP32[i5 + 136 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i1, i5 + 8 | 0, i5 + 72 | 0);
+ STACKTOP = i6;
+ return;
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i1, i5 + 72 | 0, i5 + 8 | 0);
+ STACKTOP = i6;
+ return;
+ }
+}
+function __ZN20btConvexHullInternal24findEdgeForCoplanarFacesEPNS_6VertexES1_RPNS_4EdgeES4_S1_S1_(i1, i2, i3, i4, i5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ var i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0, i79 = 0, i80 = 0, i81 = 0, i82 = 0, i83 = 0, i84 = 0, i85 = 0, i86 = 0, i87 = 0, i88 = 0, i89 = 0, i90 = 0, i91 = 0, i92 = 0, i93 = 0, i94 = 0, i95 = 0, i96 = 0, i97 = 0, i98 = 0, i99 = 0, i100 = 0, i101 = 0, i102 = 0, i103 = 0, i104 = 0, i105 = 0, i106 = 0, i107 = 0, i108 = 0, i109 = 0, i110 = 0, i111 = 0, i112 = 0, i113 = 0, i114 = 0, i115 = 0, i116 = 0, i117 = 0, i118 = 0;
+ i8 = STACKTOP;
+ STACKTOP = STACKTOP + 192 | 0;
+ i9 = i8 | 0;
+ i10 = i8 + 24 | 0;
+ i11 = i8 + 48 | 0;
+ i12 = i8 + 72 | 0;
+ i13 = i8 + 96 | 0;
+ i14 = i8 + 120 | 0;
+ i15 = i8 + 144 | 0;
+ i16 = i8 + 168 | 0;
+ i17 = HEAP32[i4 >> 2] | 0;
+ i18 = HEAP32[i5 >> 2] | 0;
+ i19 = (i17 | 0) != 0;
+ if (i19) {
+ i20 = HEAP32[i17 + 12 >> 2] | 0;
+ } else {
+ i20 = i2;
+ }
+ i21 = HEAP32[i20 + 88 >> 2] | 0;
+ i22 = HEAP32[i20 + 92 >> 2] | 0;
+ i23 = HEAP32[i20 + 96 >> 2] | 0;
+ if ((i18 | 0) == 0) {
+ i24 = i3;
+ } else {
+ i24 = HEAP32[i18 + 12 >> 2] | 0;
+ }
+ i20 = HEAP32[i24 + 88 >> 2] | 0;
+ i25 = HEAP32[i24 + 92 >> 2] | 0;
+ i26 = HEAP32[i24 + 96 >> 2] | 0;
+ i24 = HEAP32[i2 + 88 >> 2] | 0;
+ i27 = (HEAP32[i3 + 88 >> 2] | 0) - i24 | 0;
+ i28 = HEAP32[i2 + 92 >> 2] | 0;
+ i29 = (HEAP32[i3 + 92 >> 2] | 0) - i28 | 0;
+ i30 = HEAP32[i2 + 96 >> 2] | 0;
+ i2 = (HEAP32[i3 + 96 >> 2] | 0) - i30 | 0;
+ i3 = HEAP32[(i19 ? i17 : i18) + 12 >> 2] | 0;
+ i19 = (HEAP32[i3 + 88 >> 2] | 0) - i24 | 0;
+ i31 = (HEAP32[i3 + 92 >> 2] | 0) - i28 | 0;
+ i32 = (HEAP32[i3 + 96 >> 2] | 0) - i30 | 0;
+ i3 = Math_imul(i31, i2) | 0;
+ i33 = i3 - (Math_imul(i32, i29) | 0) | 0;
+ i3 = i33;
+ i34 = (i33 | 0) < 0 ? -1 : 0;
+ i33 = Math_imul(i32, i27) | 0;
+ i32 = i33 - (Math_imul(i19, i2) | 0) | 0;
+ i33 = i32;
+ i35 = (i32 | 0) < 0 ? -1 : 0;
+ i32 = Math_imul(i19, i29) | 0;
+ i19 = i32 - (Math_imul(i31, i27) | 0) | 0;
+ i31 = i19;
+ i32 = (i19 | 0) < 0 ? -1 : 0;
+ i19 = ___muldi3(i3, i34, i24, (i24 | 0) < 0 ? -1 : 0) | 0;
+ i24 = tempRet0;
+ i36 = ___muldi3(i33, i35, i28, (i28 | 0) < 0 ? -1 : 0) | 0;
+ i28 = tempRet0;
+ i37 = ___muldi3(i31, i32, i30, (i30 | 0) < 0 ? -1 : 0) | 0;
+ i30 = _i64Add(i19, i24, i37, tempRet0) | 0;
+ i37 = _i64Add(i30, tempRet0, i36, i28) | 0;
+ i28 = tempRet0;
+ i36 = i29;
+ i30 = (i29 | 0) < 0 ? -1 : 0;
+ i24 = ___muldi3(i31, i32, i36, i30) | 0;
+ i19 = tempRet0;
+ i38 = i2;
+ i39 = (i2 | 0) < 0 ? -1 : 0;
+ i40 = ___muldi3(i33, i35, i38, i39) | 0;
+ i41 = _i64Subtract(i24, i19, i40, tempRet0) | 0;
+ i40 = tempRet0;
+ i19 = ___muldi3(i3, i34, i38, i39) | 0;
+ i39 = tempRet0;
+ i38 = i27;
+ i24 = (i27 | 0) < 0 ? -1 : 0;
+ i42 = ___muldi3(i31, i32, i38, i24) | 0;
+ i43 = _i64Subtract(i19, i39, i42, tempRet0) | 0;
+ i42 = tempRet0;
+ i39 = ___muldi3(i33, i35, i38, i24) | 0;
+ i24 = tempRet0;
+ i38 = ___muldi3(i3, i34, i36, i30) | 0;
+ i30 = _i64Subtract(i39, i24, i38, tempRet0) | 0;
+ i38 = tempRet0;
+ i24 = ___muldi3(i41, i40, i21, (i21 | 0) < 0 ? -1 : 0) | 0;
+ i39 = tempRet0;
+ i36 = ___muldi3(i43, i42, i22, (i22 | 0) < 0 ? -1 : 0) | 0;
+ i19 = _i64Add(i36, tempRet0, i24, i39) | 0;
+ i39 = tempRet0;
+ i24 = ___muldi3(i30, i38, i23, (i23 | 0) < 0 ? -1 : 0) | 0;
+ i36 = _i64Add(i19, i39, i24, tempRet0) | 0;
+ i24 = tempRet0;
+ do {
+ if ((i17 | 0) == 0) {
+ i44 = i24;
+ i45 = i36;
+ i46 = i21;
+ i47 = i22;
+ i48 = i23;
+ i49 = i18;
+ } else {
+ if ((HEAP32[i17 + 12 >> 2] | 0) == (i6 | 0)) {
+ i44 = i24;
+ i45 = i36;
+ i46 = i21;
+ i47 = i22;
+ i48 = i23;
+ i49 = i18;
+ break;
+ }
+ i39 = i1 + 100 | 0;
+ i19 = i23;
+ i50 = i22;
+ i51 = i21;
+ i52 = i24;
+ i53 = i36;
+ i54 = i17;
+ while (1) {
+ i55 = HEAP32[(HEAP32[i54 + 8 >> 2] | 0) + 4 >> 2] | 0;
+ i56 = i55 + 12 | 0;
+ i57 = HEAP32[i56 >> 2] | 0;
+ i58 = HEAP32[i57 + 88 >> 2] | 0;
+ i59 = i58;
+ i60 = (i58 | 0) < 0 ? -1 : 0;
+ i58 = ___muldi3(i59, i60, i3, i34) | 0;
+ i61 = tempRet0;
+ i62 = HEAP32[i57 + 92 >> 2] | 0;
+ i63 = i62;
+ i64 = (i62 | 0) < 0 ? -1 : 0;
+ i62 = ___muldi3(i63, i64, i33, i35) | 0;
+ i65 = _i64Add(i62, tempRet0, i58, i61) | 0;
+ i61 = tempRet0;
+ i58 = HEAP32[i57 + 96 >> 2] | 0;
+ i57 = i58;
+ i62 = (i58 | 0) < 0 ? -1 : 0;
+ i58 = ___muldi3(i57, i62, i31, i32) | 0;
+ i66 = _i64Add(i65, i61, i58, tempRet0) | 0;
+ i58 = tempRet0;
+ if ((i58 | 0) < (i28 | 0) | (i58 | 0) == (i28 | 0) & i66 >>> 0 < i37 >>> 0) {
+ i67 = i19;
+ i68 = i50;
+ i69 = i51;
+ i70 = i52;
+ i71 = i53;
+ break;
+ }
+ if ((HEAP32[i55 + 20 >> 2] | 0) == (HEAP32[i39 >> 2] | 0)) {
+ i67 = i19;
+ i68 = i50;
+ i69 = i51;
+ i70 = i52;
+ i71 = i53;
+ break;
+ }
+ i66 = ___muldi3(i59, i60, i41, i40) | 0;
+ i60 = tempRet0;
+ i59 = ___muldi3(i63, i64, i43, i42) | 0;
+ i64 = _i64Add(i59, tempRet0, i66, i60) | 0;
+ i60 = tempRet0;
+ i66 = ___muldi3(i57, i62, i30, i38) | 0;
+ i62 = _i64Add(i64, i60, i66, tempRet0) | 0;
+ i66 = tempRet0;
+ if (!((i66 | 0) > (i52 | 0) | (i66 | 0) == (i52 | 0) & i62 >>> 0 > i53 >>> 0)) {
+ i67 = i19;
+ i68 = i50;
+ i69 = i51;
+ i70 = i52;
+ i71 = i53;
+ break;
+ }
+ HEAP32[i4 >> 2] = i55;
+ i60 = HEAP32[i56 >> 2] | 0;
+ i56 = HEAP32[i60 + 88 >> 2] | 0;
+ i64 = HEAP32[i60 + 92 >> 2] | 0;
+ i57 = HEAP32[i60 + 96 >> 2] | 0;
+ if ((i60 | 0) == (i6 | 0)) {
+ i67 = i57;
+ i68 = i64;
+ i69 = i56;
+ i70 = i66;
+ i71 = i62;
+ break;
+ } else {
+ i19 = i57;
+ i50 = i64;
+ i51 = i56;
+ i52 = i66;
+ i53 = i62;
+ i54 = i55;
+ }
+ }
+ i44 = i70;
+ i45 = i71;
+ i46 = i69;
+ i47 = i68;
+ i48 = i67;
+ i49 = HEAP32[i5 >> 2] | 0;
+ }
+ } while (0);
+ i67 = ___muldi3(i41, i40, i20, (i20 | 0) < 0 ? -1 : 0) | 0;
+ i68 = tempRet0;
+ i69 = ___muldi3(i43, i42, i25, (i25 | 0) < 0 ? -1 : 0) | 0;
+ i71 = _i64Add(i69, tempRet0, i67, i68) | 0;
+ i68 = tempRet0;
+ i67 = ___muldi3(i30, i38, i26, (i26 | 0) < 0 ? -1 : 0) | 0;
+ i69 = _i64Add(i71, i68, i67, tempRet0) | 0;
+ i67 = tempRet0;
+ L1159 : do {
+ if ((i49 | 0) == 0) {
+ i72 = i67;
+ i73 = i69;
+ i74 = i20;
+ i75 = i25;
+ i76 = i26;
+ i77 = 0;
+ } else {
+ if ((HEAP32[i49 + 12 >> 2] | 0) == (i7 | 0)) {
+ i72 = i67;
+ i73 = i69;
+ i74 = i20;
+ i75 = i25;
+ i76 = i26;
+ i77 = i49;
+ break;
+ }
+ i68 = i1 + 100 | 0;
+ i71 = i26;
+ i70 = i25;
+ i36 = i20;
+ i24 = i67;
+ i21 = i69;
+ i22 = i49;
+ while (1) {
+ i23 = HEAP32[HEAP32[i22 + 8 >> 2] >> 2] | 0;
+ i54 = i23 + 12 | 0;
+ i53 = HEAP32[i54 >> 2] | 0;
+ i52 = HEAP32[i53 + 88 >> 2] | 0;
+ i51 = i52;
+ i50 = (i52 | 0) < 0 ? -1 : 0;
+ i52 = ___muldi3(i51, i50, i3, i34) | 0;
+ i19 = tempRet0;
+ i39 = HEAP32[i53 + 92 >> 2] | 0;
+ i55 = i39;
+ i62 = (i39 | 0) < 0 ? -1 : 0;
+ i39 = ___muldi3(i55, i62, i33, i35) | 0;
+ i66 = _i64Add(i39, tempRet0, i52, i19) | 0;
+ i19 = tempRet0;
+ i52 = HEAP32[i53 + 96 >> 2] | 0;
+ i53 = i52;
+ i39 = (i52 | 0) < 0 ? -1 : 0;
+ i52 = ___muldi3(i53, i39, i31, i32) | 0;
+ i56 = _i64Add(i66, i19, i52, tempRet0) | 0;
+ i52 = tempRet0;
+ if ((i52 | 0) < (i28 | 0) | (i52 | 0) == (i28 | 0) & i56 >>> 0 < i37 >>> 0) {
+ i72 = i24;
+ i73 = i21;
+ i74 = i36;
+ i75 = i70;
+ i76 = i71;
+ i77 = i22;
+ break L1159;
+ }
+ if ((HEAP32[i23 + 20 >> 2] | 0) == (HEAP32[i68 >> 2] | 0)) {
+ i72 = i24;
+ i73 = i21;
+ i74 = i36;
+ i75 = i70;
+ i76 = i71;
+ i77 = i22;
+ break L1159;
+ }
+ i56 = ___muldi3(i51, i50, i41, i40) | 0;
+ i50 = tempRet0;
+ i51 = ___muldi3(i55, i62, i43, i42) | 0;
+ i62 = _i64Add(i51, tempRet0, i56, i50) | 0;
+ i50 = tempRet0;
+ i56 = ___muldi3(i53, i39, i30, i38) | 0;
+ i39 = _i64Add(i62, i50, i56, tempRet0) | 0;
+ i56 = tempRet0;
+ if (!((i56 | 0) > (i24 | 0) | (i56 | 0) == (i24 | 0) & i39 >>> 0 > i21 >>> 0)) {
+ i72 = i24;
+ i73 = i21;
+ i74 = i36;
+ i75 = i70;
+ i76 = i71;
+ i77 = i22;
+ break L1159;
+ }
+ HEAP32[i5 >> 2] = i23;
+ i50 = HEAP32[i54 >> 2] | 0;
+ i54 = HEAP32[i50 + 88 >> 2] | 0;
+ i62 = HEAP32[i50 + 92 >> 2] | 0;
+ i53 = HEAP32[i50 + 96 >> 2] | 0;
+ if ((i50 | 0) == (i7 | 0)) {
+ i72 = i56;
+ i73 = i39;
+ i74 = i54;
+ i75 = i62;
+ i76 = i53;
+ i77 = i23;
+ break;
+ } else {
+ i71 = i53;
+ i70 = i62;
+ i36 = i54;
+ i24 = i56;
+ i21 = i39;
+ i22 = i23;
+ }
+ }
+ }
+ } while (0);
+ i37 = _i64Subtract(i73, i72, i45, i44) | 0;
+ i44 = tempRet0;
+ i45 = 0;
+ if ((i44 | 0) > (i45 | 0) | (i44 | 0) == (i45 | 0) & i37 >>> 0 > 0 >>> 0) {
+ i45 = i1 + 100 | 0;
+ i72 = _i64Subtract(0, 0, i31, i32) | 0;
+ i73 = tempRet0;
+ i28 = i11 + 16 | 0;
+ i49 = i11 | 0;
+ i69 = i11 + 8 | 0;
+ i67 = i12 + 16 | 0;
+ i20 = i12 | 0;
+ i25 = i12 + 8 | 0;
+ i26 = i9 + 16 | 0;
+ i22 = i9 | 0;
+ i21 = i9 + 8 | 0;
+ i24 = i10 + 16 | 0;
+ i36 = i10 | 0;
+ i70 = i10 + 8 | 0;
+ i71 = i44;
+ i68 = i37;
+ i23 = i74;
+ i39 = i75;
+ i56 = i76;
+ i54 = i46;
+ i62 = i47;
+ i53 = i48;
+ L1170 : while (1) {
+ i50 = i71;
+ i51 = i68;
+ i55 = i23;
+ i52 = i39;
+ i19 = i56;
+ L1172 : while (1) {
+ i66 = Math_imul(i55 - i54 | 0, i27) | 0;
+ i64 = Math_imul(i52 - i62 | 0, i29) | 0;
+ i57 = i64 + (Math_imul(i19 - i53 | 0, i2) | 0) + i66 | 0;
+ i66 = i57;
+ i64 = (i57 | 0) < 0 ? -1 : 0;
+ i78 = HEAP32[i4 >> 2] | 0;
+ do {
+ if ((i78 | 0) != 0) {
+ if ((HEAP32[i78 + 12 >> 2] | 0) == (i6 | 0)) {
+ break;
+ }
+ i79 = HEAP32[(HEAP32[i78 >> 2] | 0) + 8 >> 2] | 0;
+ if ((HEAP32[i79 + 20 >> 2] | 0) <= (HEAP32[i45 >> 2] | 0)) {
+ break;
+ }
+ i60 = HEAP32[i79 + 12 >> 2] | 0;
+ i80 = HEAP32[i60 + 88 >> 2] | 0;
+ i59 = i80 - i54 | 0;
+ i81 = HEAP32[i60 + 92 >> 2] | 0;
+ i63 = i81 - i62 | 0;
+ i82 = HEAP32[i60 + 96 >> 2] | 0;
+ i60 = i82 - i53 | 0;
+ i58 = ___muldi3(i59, (i59 | 0) < 0 ? -1 : 0, i41, i40) | 0;
+ i61 = tempRet0;
+ i65 = ___muldi3(i63, (i63 | 0) < 0 ? -1 : 0, i43, i42) | 0;
+ i83 = _i64Add(i65, tempRet0, i58, i61) | 0;
+ i61 = tempRet0;
+ i58 = ___muldi3(i60, (i60 | 0) < 0 ? -1 : 0, i30, i38) | 0;
+ i65 = _i64Add(i83, i61, i58, tempRet0) | 0;
+ i58 = tempRet0;
+ i61 = Math_imul(i59, i27) | 0;
+ i59 = (Math_imul(i63, i29) | 0) + i61 | 0;
+ i61 = i59 + (Math_imul(i60, i2) | 0) | 0;
+ i60 = i61;
+ i59 = (i61 | 0) < 0 ? -1 : 0;
+ if ((i65 | 0) == 0 & (i58 | 0) == 0) {
+ if ((i61 | 0) < 0) {
+ break L1172;
+ } else {
+ break;
+ }
+ }
+ i63 = 0;
+ if (!((i58 | 0) < (i63 | 0) | (i58 | 0) == (i63 | 0) & i65 >>> 0 < 0 >>> 0)) {
+ break;
+ }
+ do {
+ if ((i61 | 0) > 0) {
+ HEAP32[i26 >> 2] = 1;
+ HEAP32[i22 >> 2] = i60;
+ HEAP32[i22 + 4 >> 2] = i59;
+ i84 = 1;
+ } else {
+ if ((i61 | 0) < 0) {
+ HEAP32[i26 >> 2] = -1;
+ i63 = _i64Subtract(0, 0, i60, i59) | 0;
+ HEAP32[i22 >> 2] = i63;
+ HEAP32[i22 + 4 >> 2] = tempRet0;
+ i84 = -1;
+ break;
+ } else {
+ HEAP32[i26 >> 2] = 0;
+ HEAP32[i22 >> 2] = 0;
+ HEAP32[i22 + 4 >> 2] = 0;
+ i84 = 0;
+ break;
+ }
+ }
+ } while (0);
+ i59 = 0;
+ if ((i58 | 0) > (i59 | 0) | (i58 | 0) == (i59 | 0) & i65 >>> 0 > 0 >>> 0) {
+ i85 = i58;
+ i86 = i65;
+ } else {
+ HEAP32[i26 >> 2] = -i84;
+ i59 = _i64Subtract(0, 0, i65, i58) | 0;
+ i85 = tempRet0;
+ i86 = i59;
+ }
+ HEAP32[i21 >> 2] = i86;
+ HEAP32[i21 + 4 >> 2] = i85;
+ do {
+ if ((i57 | 0) > 0) {
+ HEAP32[i24 >> 2] = 1;
+ HEAP32[i36 >> 2] = i66;
+ HEAP32[i36 + 4 >> 2] = i64;
+ i87 = 1;
+ } else {
+ if ((i57 | 0) < 0) {
+ HEAP32[i24 >> 2] = -1;
+ i59 = _i64Subtract(0, 0, i66, i64) | 0;
+ HEAP32[i36 >> 2] = i59;
+ HEAP32[i36 + 4 >> 2] = tempRet0;
+ i87 = -1;
+ break;
+ } else {
+ HEAP32[i24 >> 2] = 0;
+ HEAP32[i36 >> 2] = 0;
+ HEAP32[i36 + 4 >> 2] = 0;
+ i87 = 0;
+ break;
+ }
+ }
+ } while (0);
+ i58 = 0;
+ do {
+ if ((i50 | 0) > (i58 | 0) | (i50 | 0) == (i58 | 0) & i51 >>> 0 > 0 >>> 0) {
+ HEAP32[i70 >> 2] = i51;
+ HEAP32[i70 + 4 >> 2] = i50;
+ } else {
+ i65 = 0;
+ if ((i50 | 0) < (i65 | 0) | (i50 | 0) == (i65 | 0) & i51 >>> 0 < 0 >>> 0) {
+ HEAP32[i24 >> 2] = -i87;
+ i65 = _i64Subtract(0, 0, i51, i50) | 0;
+ HEAP32[i70 >> 2] = i65;
+ HEAP32[i70 + 4 >> 2] = tempRet0;
+ break;
+ } else {
+ HEAP32[i70 >> 2] = 0;
+ HEAP32[i70 + 4 >> 2] = 0;
+ break;
+ }
+ }
+ } while (0);
+ if ((__ZNK20btConvexHullInternal10Rational647compareERKS0_(i9, i10) | 0) > -1) {
+ break L1172;
+ }
+ }
+ } while (0);
+ i58 = HEAP32[i5 >> 2] | 0;
+ if ((i58 | 0) == 0) {
+ i88 = 1019;
+ break L1170;
+ }
+ if ((HEAP32[i58 + 12 >> 2] | 0) == (i7 | 0)) {
+ i88 = 1008;
+ break L1170;
+ }
+ i65 = HEAP32[HEAP32[i58 + 8 >> 2] >> 2] | 0;
+ if ((HEAP32[i65 + 20 >> 2] | 0) <= (HEAP32[i45 >> 2] | 0)) {
+ i88 = 1010;
+ break L1170;
+ }
+ i58 = i65 + 12 | 0;
+ i59 = HEAP32[i58 >> 2] | 0;
+ i60 = HEAP32[i59 + 88 >> 2] | 0;
+ i61 = i60 - i55 | 0;
+ i63 = HEAP32[i59 + 92 >> 2] | 0;
+ i83 = i63 - i52 | 0;
+ i89 = HEAP32[i59 + 96 >> 2] | 0;
+ i59 = i89 - i19 | 0;
+ i90 = i61;
+ i91 = (i61 | 0) < 0 ? -1 : 0;
+ i92 = ___muldi3(i90, i91, i3, i34) | 0;
+ i93 = tempRet0;
+ i94 = i83;
+ i95 = (i83 | 0) < 0 ? -1 : 0;
+ i96 = ___muldi3(i94, i95, i33, i35) | 0;
+ i97 = _i64Add(i96, tempRet0, i92, i93) | 0;
+ i93 = tempRet0;
+ i92 = i59;
+ i96 = (i59 | 0) < 0 ? -1 : 0;
+ i98 = ___muldi3(i92, i96, i72, i73) | 0;
+ if (!((i97 | 0) == (i98 | 0) & (i93 | 0) == (tempRet0 | 0))) {
+ i88 = 1004;
+ break L1170;
+ }
+ i93 = ___muldi3(i90, i91, i41, i40) | 0;
+ i91 = tempRet0;
+ i90 = ___muldi3(i94, i95, i43, i42) | 0;
+ i95 = _i64Add(i90, tempRet0, i93, i91) | 0;
+ i91 = tempRet0;
+ i93 = ___muldi3(i92, i96, i30, i38) | 0;
+ i96 = _i64Add(i95, i91, i93, tempRet0) | 0;
+ i93 = tempRet0;
+ i91 = Math_imul(i61, i27) | 0;
+ i61 = (Math_imul(i83, i29) | 0) + i91 | 0;
+ i91 = i61 + (Math_imul(i59, i2) | 0) | 0;
+ i59 = i91;
+ i61 = (i91 | 0) < 0 ? -1 : 0;
+ i83 = i60 - i54 | 0;
+ i60 = i63 - i62 | 0;
+ i63 = i89 - i53 | 0;
+ i89 = ___muldi3(i83, (i83 | 0) < 0 ? -1 : 0, i41, i40) | 0;
+ i83 = tempRet0;
+ i95 = ___muldi3(i60, (i60 | 0) < 0 ? -1 : 0, i43, i42) | 0;
+ i60 = _i64Add(i95, tempRet0, i89, i83) | 0;
+ i83 = tempRet0;
+ i89 = ___muldi3(i63, (i63 | 0) < 0 ? -1 : 0, i30, i38) | 0;
+ i63 = _i64Add(i60, i83, i89, tempRet0) | 0;
+ i89 = tempRet0;
+ i83 = 0;
+ if (!((i89 | 0) > (i83 | 0) | (i89 | 0) == (i83 | 0) & i63 >>> 0 > 0 >>> 0)) {
+ i88 = 1005;
+ break L1170;
+ }
+ if ((i96 | 0) == 0 & (i93 | 0) == 0) {
+ if ((i91 | 0) >= 0) {
+ i88 = 1011;
+ break L1170;
+ }
+ } else {
+ i83 = 0;
+ if (!((i93 | 0) < (i83 | 0) | (i93 | 0) == (i83 | 0) & i96 >>> 0 < 0 >>> 0)) {
+ i88 = 1009;
+ break L1170;
+ }
+ do {
+ if ((i91 | 0) > 0) {
+ HEAP32[i28 >> 2] = 1;
+ HEAP32[i49 >> 2] = i59;
+ HEAP32[i49 + 4 >> 2] = i61;
+ i99 = 1;
+ } else {
+ if ((i91 | 0) < 0) {
+ HEAP32[i28 >> 2] = -1;
+ i83 = _i64Subtract(0, 0, i59, i61) | 0;
+ HEAP32[i49 >> 2] = i83;
+ HEAP32[i49 + 4 >> 2] = tempRet0;
+ i99 = -1;
+ break;
+ } else {
+ HEAP32[i28 >> 2] = 0;
+ HEAP32[i49 >> 2] = 0;
+ HEAP32[i49 + 4 >> 2] = 0;
+ i99 = 0;
+ break;
+ }
+ }
+ } while (0);
+ i61 = 0;
+ if ((i93 | 0) > (i61 | 0) | (i93 | 0) == (i61 | 0) & i96 >>> 0 > 0 >>> 0) {
+ i100 = i93;
+ i101 = i96;
+ } else {
+ HEAP32[i28 >> 2] = -i99;
+ i61 = _i64Subtract(0, 0, i96, i93) | 0;
+ i100 = tempRet0;
+ i101 = i61;
+ }
+ HEAP32[i69 >> 2] = i101;
+ HEAP32[i69 + 4 >> 2] = i100;
+ do {
+ if ((i57 | 0) > 0) {
+ HEAP32[i67 >> 2] = 1;
+ HEAP32[i20 >> 2] = i66;
+ HEAP32[i20 + 4 >> 2] = i64;
+ i102 = 1;
+ } else {
+ if ((i57 | 0) < 0) {
+ HEAP32[i67 >> 2] = -1;
+ i61 = _i64Subtract(0, 0, i66, i64) | 0;
+ HEAP32[i20 >> 2] = i61;
+ HEAP32[i20 + 4 >> 2] = tempRet0;
+ i102 = -1;
+ break;
+ } else {
+ HEAP32[i67 >> 2] = 0;
+ HEAP32[i20 >> 2] = 0;
+ HEAP32[i20 + 4 >> 2] = 0;
+ i102 = 0;
+ break;
+ }
+ }
+ } while (0);
+ i64 = 0;
+ do {
+ if ((i50 | 0) > (i64 | 0) | (i50 | 0) == (i64 | 0) & i51 >>> 0 > 0 >>> 0) {
+ HEAP32[i25 >> 2] = i51;
+ HEAP32[i25 + 4 >> 2] = i50;
+ } else {
+ i66 = 0;
+ if ((i50 | 0) < (i66 | 0) | (i50 | 0) == (i66 | 0) & i51 >>> 0 < 0 >>> 0) {
+ HEAP32[i67 >> 2] = -i102;
+ i66 = _i64Subtract(0, 0, i51, i50) | 0;
+ HEAP32[i25 >> 2] = i66;
+ HEAP32[i25 + 4 >> 2] = tempRet0;
+ break;
+ } else {
+ HEAP32[i25 >> 2] = 0;
+ HEAP32[i25 + 4 >> 2] = 0;
+ break;
+ }
+ }
+ } while (0);
+ if ((__ZNK20btConvexHullInternal10Rational647compareERKS0_(i11, i12) | 0) <= 0) {
+ i88 = 1006;
+ break L1170;
+ }
+ }
+ HEAP32[i5 >> 2] = i65;
+ i64 = HEAP32[i58 >> 2] | 0;
+ i50 = i89;
+ i51 = i63;
+ i55 = HEAP32[i64 + 88 >> 2] | 0;
+ i52 = HEAP32[i64 + 92 >> 2] | 0;
+ i19 = HEAP32[i64 + 96 >> 2] | 0;
+ }
+ i51 = i55 - i80 | 0;
+ i50 = i52 - i81 | 0;
+ i64 = i19 - i82 | 0;
+ i66 = ___muldi3(i51, (i51 | 0) < 0 ? -1 : 0, i41, i40) | 0;
+ i51 = tempRet0;
+ i57 = ___muldi3(i50, (i50 | 0) < 0 ? -1 : 0, i43, i42) | 0;
+ i50 = _i64Add(i57, tempRet0, i66, i51) | 0;
+ i51 = tempRet0;
+ i66 = ___muldi3(i64, (i64 | 0) < 0 ? -1 : 0, i30, i38) | 0;
+ i64 = _i64Add(i50, i51, i66, tempRet0) | 0;
+ HEAP32[i4 >> 2] = (i78 | 0) == (i17 | 0) ? 0 : i79;
+ i71 = tempRet0;
+ i68 = i64;
+ i23 = i55;
+ i39 = i52;
+ i56 = i19;
+ i54 = i80;
+ i62 = i81;
+ i53 = i82;
+ }
+ if ((i88 | 0) == 1004) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1005) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1006) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1008) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1009) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1010) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1011) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1019) {
+ STACKTOP = i8;
+ return;
+ }
+ }
+ i82 = 0;
+ if (!((i44 | 0) < (i82 | 0) | (i44 | 0) == (i82 | 0) & i37 >>> 0 < 0 >>> 0)) {
+ STACKTOP = i8;
+ return;
+ }
+ i82 = i1 + 100 | 0;
+ i1 = _i64Subtract(0, 0, i31, i32) | 0;
+ i32 = tempRet0;
+ i31 = i15 + 16 | 0;
+ i53 = i15 | 0;
+ i81 = i15 + 8 | 0;
+ i62 = i16 + 16 | 0;
+ i80 = i16 | 0;
+ i54 = i16 + 8 | 0;
+ i56 = i13 + 16 | 0;
+ i39 = i13 | 0;
+ i23 = i13 + 8 | 0;
+ i68 = i14 + 16 | 0;
+ i71 = i14 | 0;
+ i79 = i14 + 8 | 0;
+ i17 = i44;
+ i44 = i37;
+ i37 = i74;
+ i74 = i75;
+ i75 = i76;
+ i76 = i46;
+ i46 = i47;
+ i47 = i48;
+ i48 = i77;
+ while (1) {
+ i77 = Math_imul(i37 - i76 | 0, i27) | 0;
+ i78 = Math_imul(i74 - i46 | 0, i29) | 0;
+ i12 = i78 + (Math_imul(i75 - i47 | 0, i2) | 0) + i77 | 0;
+ i77 = i12;
+ i78 = (i12 | 0) < 0 ? -1 : 0;
+ L1257 : do {
+ if ((i48 | 0) == 0) {
+ i103 = i75;
+ i104 = i74;
+ i105 = i37;
+ i106 = i17;
+ i107 = i44;
+ i108 = i12;
+ i109 = i78;
+ i110 = i77;
+ } else {
+ i11 = i75;
+ i25 = i74;
+ i102 = i37;
+ i67 = i17;
+ i20 = i44;
+ i100 = i12;
+ i69 = i78;
+ i101 = i77;
+ i99 = i48;
+ while (1) {
+ if ((HEAP32[i99 + 12 >> 2] | 0) == (i7 | 0)) {
+ i103 = i11;
+ i104 = i25;
+ i105 = i102;
+ i106 = i67;
+ i107 = i20;
+ i108 = i100;
+ i109 = i69;
+ i110 = i101;
+ break L1257;
+ }
+ i28 = HEAP32[(HEAP32[i99 + 4 >> 2] | 0) + 8 >> 2] | 0;
+ if ((HEAP32[i28 + 20 >> 2] | 0) <= (HEAP32[i82 >> 2] | 0)) {
+ i103 = i11;
+ i104 = i25;
+ i105 = i102;
+ i106 = i67;
+ i107 = i20;
+ i108 = i100;
+ i109 = i69;
+ i110 = i101;
+ break L1257;
+ }
+ i49 = HEAP32[i28 + 12 >> 2] | 0;
+ i73 = HEAP32[i49 + 88 >> 2] | 0;
+ i72 = i73 - i102 | 0;
+ i45 = HEAP32[i49 + 92 >> 2] | 0;
+ i10 = i45 - i25 | 0;
+ i9 = HEAP32[i49 + 96 >> 2] | 0;
+ i49 = i9 - i11 | 0;
+ i70 = ___muldi3(i72, (i72 | 0) < 0 ? -1 : 0, i41, i40) | 0;
+ i87 = tempRet0;
+ i24 = ___muldi3(i10, (i10 | 0) < 0 ? -1 : 0, i43, i42) | 0;
+ i36 = _i64Add(i24, tempRet0, i70, i87) | 0;
+ i87 = tempRet0;
+ i70 = ___muldi3(i49, (i49 | 0) < 0 ? -1 : 0, i30, i38) | 0;
+ i24 = _i64Add(i36, i87, i70, tempRet0) | 0;
+ i70 = tempRet0;
+ i87 = Math_imul(i72, i27) | 0;
+ i72 = (Math_imul(i10, i29) | 0) + i87 | 0;
+ i87 = i72 + (Math_imul(i49, i2) | 0) | 0;
+ i49 = i87;
+ i72 = (i87 | 0) < 0 ? -1 : 0;
+ if ((i24 | 0) == 0 & (i70 | 0) == 0) {
+ if ((i87 | 0) <= 0) {
+ i103 = i11;
+ i104 = i25;
+ i105 = i102;
+ i106 = i67;
+ i107 = i20;
+ i108 = i100;
+ i109 = i69;
+ i110 = i101;
+ break L1257;
+ }
+ } else {
+ i10 = 0;
+ if (!((i70 | 0) < (i10 | 0) | (i70 | 0) == (i10 | 0) & i24 >>> 0 < 0 >>> 0)) {
+ i103 = i11;
+ i104 = i25;
+ i105 = i102;
+ i106 = i67;
+ i107 = i20;
+ i108 = i100;
+ i109 = i69;
+ i110 = i101;
+ break L1257;
+ }
+ do {
+ if ((i87 | 0) > 0) {
+ HEAP32[i56 >> 2] = 1;
+ HEAP32[i39 >> 2] = i49;
+ HEAP32[i39 + 4 >> 2] = i72;
+ i111 = 1;
+ } else {
+ if ((i87 | 0) < 0) {
+ HEAP32[i56 >> 2] = -1;
+ i10 = _i64Subtract(0, 0, i49, i72) | 0;
+ HEAP32[i39 >> 2] = i10;
+ HEAP32[i39 + 4 >> 2] = tempRet0;
+ i111 = -1;
+ break;
+ } else {
+ HEAP32[i56 >> 2] = 0;
+ HEAP32[i39 >> 2] = 0;
+ HEAP32[i39 + 4 >> 2] = 0;
+ i111 = 0;
+ break;
+ }
+ }
+ } while (0);
+ i72 = 0;
+ if ((i70 | 0) > (i72 | 0) | (i70 | 0) == (i72 | 0) & i24 >>> 0 > 0 >>> 0) {
+ i112 = i70;
+ i113 = i24;
+ } else {
+ HEAP32[i56 >> 2] = -i111;
+ i72 = _i64Subtract(0, 0, i24, i70) | 0;
+ i112 = tempRet0;
+ i113 = i72;
+ }
+ HEAP32[i23 >> 2] = i113;
+ HEAP32[i23 + 4 >> 2] = i112;
+ do {
+ if ((i100 | 0) > 0) {
+ HEAP32[i68 >> 2] = 1;
+ HEAP32[i71 >> 2] = i101;
+ HEAP32[i71 + 4 >> 2] = i69;
+ i114 = 1;
+ } else {
+ if ((i100 | 0) < 0) {
+ HEAP32[i68 >> 2] = -1;
+ i72 = _i64Subtract(0, 0, i101, i69) | 0;
+ HEAP32[i71 >> 2] = i72;
+ HEAP32[i71 + 4 >> 2] = tempRet0;
+ i114 = -1;
+ break;
+ } else {
+ HEAP32[i68 >> 2] = 0;
+ HEAP32[i71 >> 2] = 0;
+ HEAP32[i71 + 4 >> 2] = 0;
+ i114 = 0;
+ break;
+ }
+ }
+ } while (0);
+ i70 = 0;
+ do {
+ if ((i67 | 0) > (i70 | 0) | (i67 | 0) == (i70 | 0) & i20 >>> 0 > 0 >>> 0) {
+ HEAP32[i79 >> 2] = i20;
+ HEAP32[i79 + 4 >> 2] = i67;
+ } else {
+ i24 = 0;
+ if ((i67 | 0) < (i24 | 0) | (i67 | 0) == (i24 | 0) & i20 >>> 0 < 0 >>> 0) {
+ HEAP32[i68 >> 2] = -i114;
+ i24 = _i64Subtract(0, 0, i20, i67) | 0;
+ HEAP32[i79 >> 2] = i24;
+ HEAP32[i79 + 4 >> 2] = tempRet0;
+ break;
+ } else {
+ HEAP32[i79 >> 2] = 0;
+ HEAP32[i79 + 4 >> 2] = 0;
+ break;
+ }
+ }
+ } while (0);
+ if ((__ZNK20btConvexHullInternal10Rational647compareERKS0_(i13, i14) | 0) >= 1) {
+ i103 = i11;
+ i104 = i25;
+ i105 = i102;
+ i106 = i67;
+ i107 = i20;
+ i108 = i100;
+ i109 = i69;
+ i110 = i101;
+ break L1257;
+ }
+ }
+ i70 = i73 - i76 | 0;
+ i24 = i45 - i46 | 0;
+ i72 = i9 - i47 | 0;
+ i49 = ___muldi3(i70, (i70 | 0) < 0 ? -1 : 0, i41, i40) | 0;
+ i87 = tempRet0;
+ i10 = ___muldi3(i24, (i24 | 0) < 0 ? -1 : 0, i43, i42) | 0;
+ i36 = _i64Add(i10, tempRet0, i49, i87) | 0;
+ i87 = tempRet0;
+ i49 = ___muldi3(i72, (i72 | 0) < 0 ? -1 : 0, i30, i38) | 0;
+ i10 = _i64Add(i36, i87, i49, tempRet0) | 0;
+ i49 = tempRet0;
+ i87 = (i99 | 0) == (i18 | 0) ? 0 : i28;
+ HEAP32[i5 >> 2] = i87;
+ i36 = Math_imul(i70, i27) | 0;
+ i70 = Math_imul(i24, i29) | 0;
+ i24 = i70 + i36 + (Math_imul(i72, i2) | 0) | 0;
+ i72 = i24;
+ i36 = (i24 | 0) < 0 ? -1 : 0;
+ if ((i87 | 0) == 0) {
+ i103 = i9;
+ i104 = i45;
+ i105 = i73;
+ i106 = i49;
+ i107 = i10;
+ i108 = i24;
+ i109 = i36;
+ i110 = i72;
+ break;
+ } else {
+ i11 = i9;
+ i25 = i45;
+ i102 = i73;
+ i67 = i49;
+ i20 = i10;
+ i100 = i24;
+ i69 = i36;
+ i101 = i72;
+ i99 = i87;
+ }
+ }
+ }
+ } while (0);
+ i77 = HEAP32[i4 >> 2] | 0;
+ if ((i77 | 0) == 0) {
+ i88 = 1012;
+ break;
+ }
+ if ((HEAP32[i77 + 12 >> 2] | 0) == (i6 | 0)) {
+ i88 = 1013;
+ break;
+ }
+ i78 = HEAP32[(HEAP32[i77 + 8 >> 2] | 0) + 4 >> 2] | 0;
+ if ((HEAP32[i78 + 20 >> 2] | 0) <= (HEAP32[i82 >> 2] | 0)) {
+ i88 = 1014;
+ break;
+ }
+ i77 = i78 + 12 | 0;
+ i12 = HEAP32[i77 >> 2] | 0;
+ i19 = HEAP32[i12 + 88 >> 2] | 0;
+ i52 = i19 - i76 | 0;
+ i55 = HEAP32[i12 + 92 >> 2] | 0;
+ i99 = i55 - i46 | 0;
+ i101 = HEAP32[i12 + 96 >> 2] | 0;
+ i12 = i101 - i47 | 0;
+ i69 = i52;
+ i100 = (i52 | 0) < 0 ? -1 : 0;
+ i20 = ___muldi3(i69, i100, i3, i34) | 0;
+ i67 = tempRet0;
+ i102 = i99;
+ i25 = (i99 | 0) < 0 ? -1 : 0;
+ i11 = ___muldi3(i102, i25, i33, i35) | 0;
+ i63 = _i64Add(i11, tempRet0, i20, i67) | 0;
+ i67 = tempRet0;
+ i20 = i12;
+ i11 = (i12 | 0) < 0 ? -1 : 0;
+ i89 = ___muldi3(i20, i11, i1, i32) | 0;
+ if (!((i63 | 0) == (i89 | 0) & (i67 | 0) == (tempRet0 | 0))) {
+ i88 = 1015;
+ break;
+ }
+ i67 = ___muldi3(i69, i100, i41, i40) | 0;
+ i100 = tempRet0;
+ i69 = ___muldi3(i102, i25, i43, i42) | 0;
+ i25 = _i64Add(i69, tempRet0, i67, i100) | 0;
+ i100 = tempRet0;
+ i67 = ___muldi3(i20, i11, i30, i38) | 0;
+ i11 = _i64Add(i25, i100, i67, tempRet0) | 0;
+ i67 = tempRet0;
+ i100 = Math_imul(i52, i27) | 0;
+ i52 = (Math_imul(i99, i29) | 0) + i100 | 0;
+ i100 = i52 + (Math_imul(i12, i2) | 0) | 0;
+ i12 = i100;
+ i52 = (i100 | 0) < 0 ? -1 : 0;
+ i99 = i105 - i19 | 0;
+ i19 = i104 - i55 | 0;
+ i55 = i103 - i101 | 0;
+ i101 = ___muldi3(i99, (i99 | 0) < 0 ? -1 : 0, i41, i40) | 0;
+ i99 = tempRet0;
+ i25 = ___muldi3(i19, (i19 | 0) < 0 ? -1 : 0, i43, i42) | 0;
+ i19 = _i64Add(i25, tempRet0, i101, i99) | 0;
+ i99 = tempRet0;
+ i101 = ___muldi3(i55, (i55 | 0) < 0 ? -1 : 0, i30, i38) | 0;
+ i55 = _i64Add(i19, i99, i101, tempRet0) | 0;
+ i101 = tempRet0;
+ i99 = 0;
+ if (!((i101 | 0) < (i99 | 0) | (i101 | 0) == (i99 | 0) & i55 >>> 0 < 0 >>> 0)) {
+ i88 = 1016;
+ break;
+ }
+ if ((i11 | 0) == 0 & (i67 | 0) == 0) {
+ if ((i100 | 0) <= 0) {
+ i88 = 1017;
+ break;
+ }
+ } else {
+ i99 = 0;
+ if (!((i67 | 0) < (i99 | 0) | (i67 | 0) == (i99 | 0) & i11 >>> 0 < 0 >>> 0)) {
+ i88 = 1018;
+ break;
+ }
+ do {
+ if ((i100 | 0) > 0) {
+ HEAP32[i31 >> 2] = 1;
+ HEAP32[i53 >> 2] = i12;
+ HEAP32[i53 + 4 >> 2] = i52;
+ i115 = 1;
+ } else {
+ if ((i100 | 0) < 0) {
+ HEAP32[i31 >> 2] = -1;
+ i99 = _i64Subtract(0, 0, i12, i52) | 0;
+ HEAP32[i53 >> 2] = i99;
+ HEAP32[i53 + 4 >> 2] = tempRet0;
+ i115 = -1;
+ break;
+ } else {
+ HEAP32[i31 >> 2] = 0;
+ HEAP32[i53 >> 2] = 0;
+ HEAP32[i53 + 4 >> 2] = 0;
+ i115 = 0;
+ break;
+ }
+ }
+ } while (0);
+ i52 = 0;
+ if ((i67 | 0) > (i52 | 0) | (i67 | 0) == (i52 | 0) & i11 >>> 0 > 0 >>> 0) {
+ i116 = i67;
+ i117 = i11;
+ } else {
+ HEAP32[i31 >> 2] = -i115;
+ i52 = _i64Subtract(0, 0, i11, i67) | 0;
+ i116 = tempRet0;
+ i117 = i52;
+ }
+ HEAP32[i81 >> 2] = i117;
+ HEAP32[i81 + 4 >> 2] = i116;
+ do {
+ if ((i108 | 0) > 0) {
+ HEAP32[i62 >> 2] = 1;
+ HEAP32[i80 >> 2] = i110;
+ HEAP32[i80 + 4 >> 2] = i109;
+ i118 = 1;
+ } else {
+ if ((i108 | 0) < 0) {
+ HEAP32[i62 >> 2] = -1;
+ i52 = _i64Subtract(0, 0, i110, i109) | 0;
+ HEAP32[i80 >> 2] = i52;
+ HEAP32[i80 + 4 >> 2] = tempRet0;
+ i118 = -1;
+ break;
+ } else {
+ HEAP32[i62 >> 2] = 0;
+ HEAP32[i80 >> 2] = 0;
+ HEAP32[i80 + 4 >> 2] = 0;
+ i118 = 0;
+ break;
+ }
+ }
+ } while (0);
+ i67 = 0;
+ do {
+ if ((i106 | 0) > (i67 | 0) | (i106 | 0) == (i67 | 0) & i107 >>> 0 > 0 >>> 0) {
+ HEAP32[i54 >> 2] = i107;
+ HEAP32[i54 + 4 >> 2] = i106;
+ } else {
+ i11 = 0;
+ if ((i106 | 0) < (i11 | 0) | (i106 | 0) == (i11 | 0) & i107 >>> 0 < 0 >>> 0) {
+ HEAP32[i62 >> 2] = -i118;
+ i11 = _i64Subtract(0, 0, i107, i106) | 0;
+ HEAP32[i54 >> 2] = i11;
+ HEAP32[i54 + 4 >> 2] = tempRet0;
+ break;
+ } else {
+ HEAP32[i54 >> 2] = 0;
+ HEAP32[i54 + 4 >> 2] = 0;
+ break;
+ }
+ }
+ } while (0);
+ if ((__ZNK20btConvexHullInternal10Rational647compareERKS0_(i15, i16) | 0) >= 0) {
+ i88 = 1020;
+ break;
+ }
+ }
+ HEAP32[i4 >> 2] = i78;
+ i67 = HEAP32[i77 >> 2] | 0;
+ i17 = i101;
+ i44 = i55;
+ i37 = i105;
+ i74 = i104;
+ i75 = i103;
+ i76 = HEAP32[i67 + 88 >> 2] | 0;
+ i46 = HEAP32[i67 + 92 >> 2] | 0;
+ i47 = HEAP32[i67 + 96 >> 2] | 0;
+ i48 = HEAP32[i5 >> 2] | 0;
+ }
+ if ((i88 | 0) == 1012) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1013) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1014) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1015) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1016) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1017) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1018) {
+ STACKTOP = i8;
+ return;
+ } else if ((i88 | 0) == 1020) {
+ STACKTOP = i8;
+ return;
+ }
+}
+function __ZN23btDiscreteDynamicsWorld19debugDrawConstraintEP17btTypedConstraint(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, d44 = 0.0, d45 = 0.0, d46 = 0.0, d47 = 0.0, d48 = 0.0, d49 = 0.0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, d69 = 0.0, d70 = 0.0, d71 = 0.0, d72 = 0.0, d73 = 0.0, d74 = 0.0, d75 = 0.0, d76 = 0.0, d77 = 0.0, d78 = 0.0, d79 = 0.0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 1008 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 64 | 0;
+ i6 = i3 + 128 | 0;
+ i7 = i3 + 192 | 0;
+ i8 = i3 + 208 | 0;
+ i9 = i3 + 224 | 0;
+ i10 = i3 + 240 | 0;
+ i11 = i3 + 304 | 0;
+ i12 = i3 + 368 | 0;
+ i13 = i3 + 384 | 0;
+ i14 = i3 + 400 | 0;
+ i15 = i3 + 416 | 0;
+ i16 = i3 + 432 | 0;
+ i17 = i3 + 496 | 0;
+ i18 = i3 + 560 | 0;
+ i19 = i3 + 576 | 0;
+ i20 = i3 + 592 | 0;
+ i21 = i3 + 608 | 0;
+ i22 = i3 + 624 | 0;
+ i23 = i3 + 688 | 0;
+ i24 = i3 + 704 | 0;
+ i25 = i3 + 720 | 0;
+ i26 = i3 + 736 | 0;
+ i27 = i3 + 752 | 0;
+ i28 = i3 + 768 | 0;
+ i29 = i3 + 784 | 0;
+ i30 = i3 + 800 | 0;
+ i31 = i3 + 816 | 0;
+ i32 = i3 + 832 | 0;
+ i33 = i3 + 848 | 0;
+ i34 = i3 + 912 | 0;
+ i35 = i3 + 928 | 0;
+ i36 = i3 + 944 | 0;
+ i37 = i3 + 960 | 0;
+ i38 = i3 + 976 | 0;
+ i39 = i3 + 992 | 0;
+ i40 = i1 | 0;
+ i41 = i1;
+ i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i42 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 127](i1) | 0) >>> 11;
+ i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i43 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 127](i1) | 0) >>> 12;
+ d44 = +HEAPF32[i2 + 36 >> 2];
+ if (d44 <= 0.0) {
+ STACKTOP = i3;
+ return;
+ }
+ switch (HEAP32[i2 + 4 >> 2] | 0) {
+ case 3:
+ {
+ HEAPF32[i4 >> 2] = 1.0;
+ _memset(i4 + 4 | 0, 0, 16);
+ HEAPF32[i4 + 20 >> 2] = 1.0;
+ _memset(i4 + 24 | 0, 0, 16);
+ HEAPF32[i4 + 40 >> 2] = 1.0;
+ _memset(i4 + 44 | 0, 0, 20);
+ d45 = +HEAPF32[i2 + 292 >> 2];
+ d46 = +HEAPF32[i2 + 296 >> 2];
+ d47 = +HEAPF32[i2 + 300 >> 2];
+ i1 = HEAP32[i2 + 24 >> 2] | 0;
+ d48 = +HEAPF32[i1 + 56 >> 2] + (d45 * +HEAPF32[i1 + 20 >> 2] + d46 * +HEAPF32[i1 + 24 >> 2] + d47 * +HEAPF32[i1 + 28 >> 2]);
+ d49 = +HEAPF32[i1 + 60 >> 2] + (d45 * +HEAPF32[i1 + 36 >> 2] + d46 * +HEAPF32[i1 + 40 >> 2] + d47 * +HEAPF32[i1 + 44 >> 2]);
+ i50 = i4 + 48 | 0;
+ HEAPF32[i50 >> 2] = +HEAPF32[i1 + 52 >> 2] + (d45 * +HEAPF32[i1 + 4 >> 2] + d46 * +HEAPF32[i1 + 8 >> 2] + d47 * +HEAPF32[i1 + 12 >> 2]);
+ i1 = i4 + 52 | 0;
+ HEAPF32[i1 >> 2] = d48;
+ i51 = i4 + 56 | 0;
+ HEAPF32[i51 >> 2] = d49;
+ i52 = i4 + 60 | 0;
+ HEAPF32[i52 >> 2] = 0.0;
+ i53 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i53 >> 2] | 0) + 56 >> 2] & 3](i53, i4, d44);
+ d49 = +HEAPF32[i2 + 308 >> 2];
+ d48 = +HEAPF32[i2 + 312 >> 2];
+ d47 = +HEAPF32[i2 + 316 >> 2];
+ i53 = HEAP32[i2 + 28 >> 2] | 0;
+ d46 = +HEAPF32[i53 + 56 >> 2] + (d49 * +HEAPF32[i53 + 20 >> 2] + d48 * +HEAPF32[i53 + 24 >> 2] + d47 * +HEAPF32[i53 + 28 >> 2]);
+ d45 = +HEAPF32[i53 + 60 >> 2] + (d49 * +HEAPF32[i53 + 36 >> 2] + d48 * +HEAPF32[i53 + 40 >> 2] + d47 * +HEAPF32[i53 + 44 >> 2]);
+ HEAPF32[i50 >> 2] = +HEAPF32[i53 + 52 >> 2] + (d49 * +HEAPF32[i53 + 4 >> 2] + d48 * +HEAPF32[i53 + 8 >> 2] + d47 * +HEAPF32[i53 + 12 >> 2]);
+ HEAPF32[i1 >> 2] = d46;
+ HEAPF32[i51 >> 2] = d45;
+ HEAPF32[i52 >> 2] = 0.0;
+ if ((i42 & 1 | 0) == 0) {
+ STACKTOP = i3;
+ return;
+ }
+ i52 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i52 >> 2] | 0) + 56 >> 2] & 3](i52, i4, d44);
+ STACKTOP = i3;
+ return;
+ }
+ case 4:
+ {
+ __ZNK11btTransformmlERKS_(i5, (HEAP32[i2 + 24 >> 2] | 0) + 4 | 0, i2 + 544 | 0);
+ if ((i42 & 1 | 0) == 0) {
+ __ZNK11btTransformmlERKS_(i6, (HEAP32[i2 + 28 >> 2] | 0) + 4 | 0, i2 + 608 | 0);
+ i4 = i5;
+ i52 = i6;
+ HEAP32[i4 >> 2] = HEAP32[i52 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i52 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i52 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i52 + 12 >> 2];
+ i52 = i5 + 16 | 0;
+ i4 = i6 + 16 | 0;
+ HEAP32[i52 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i52 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i52 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i52 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i5 + 32 | 0;
+ i52 = i6 + 32 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i52 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i52 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i52 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i52 + 12 >> 2];
+ i52 = i5 + 48 | 0;
+ i4 = i6 + 48 | 0;
+ HEAP32[i52 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i52 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i52 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i52 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ } else {
+ i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i4 >> 2] | 0) + 56 >> 2] & 3](i4, i5, d44);
+ __ZNK11btTransformmlERKS_(i6, (HEAP32[i2 + 28 >> 2] | 0) + 4 | 0, i2 + 608 | 0);
+ i4 = i5;
+ i52 = i6;
+ HEAP32[i4 >> 2] = HEAP32[i52 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i52 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i52 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i52 + 12 >> 2];
+ i52 = i5 + 16 | 0;
+ i4 = i6 + 16 | 0;
+ HEAP32[i52 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i52 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i52 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i52 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i5 + 32 | 0;
+ i52 = i6 + 32 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i52 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i52 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i52 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i52 + 12 >> 2];
+ i52 = i5 + 48 | 0;
+ i4 = i6 + 48 | 0;
+ HEAP32[i52 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i52 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i52 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i52 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i4 >> 2] | 0) + 56 >> 2] & 3](i4, i5, d44);
+ }
+ i4 = i2 + 680 | 0;
+ d45 = +__ZNK14btAngularLimit6getLowEv(i4);
+ d46 = +__ZNK14btAngularLimit7getHighEv(i4);
+ if (d45 == d46) {
+ STACKTOP = i3;
+ return;
+ }
+ i4 = d45 > d46;
+ if ((i43 & 1 | 0) == 0) {
+ STACKTOP = i3;
+ return;
+ }
+ HEAPF32[i7 >> 2] = +HEAPF32[i5 + 8 >> 2];
+ HEAPF32[i7 + 4 >> 2] = +HEAPF32[i5 + 24 >> 2];
+ HEAPF32[i7 + 8 >> 2] = +HEAPF32[i5 + 40 >> 2];
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ HEAPF32[i8 >> 2] = +HEAPF32[i5 >> 2];
+ HEAPF32[i8 + 4 >> 2] = +HEAPF32[i5 + 16 >> 2];
+ HEAPF32[i8 + 8 >> 2] = +HEAPF32[i5 + 32 >> 2];
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ i52 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i6 = HEAP32[(HEAP32[i52 >> 2] | 0) + 60 >> 2] | 0;
+ _memset(i9 | 0, 0, 16);
+ FUNCTION_TABLE_viiiiffffiif[i6 & 1](i52, i5 + 48 | 0, i7, i8, d44, d44, i4 ? 0.0 : d45, i4 ? 6.2831854820251465 : d46, i9, i4 ^ 1, 10.0);
+ STACKTOP = i3;
+ return;
+ }
+ case 5:
+ {
+ i4 = i2;
+ i9 = i2 + 24 | 0;
+ i8 = i2 + 292 | 0;
+ __ZNK11btTransformmlERKS_(i10, (HEAP32[i9 >> 2] | 0) + 4 | 0, i8);
+ if ((i42 & 1 | 0) == 0) {
+ __ZNK11btTransformmlERKS_(i11, (HEAP32[i2 + 28 >> 2] | 0) + 4 | 0, i2 + 356 | 0);
+ i7 = i10;
+ i5 = i11;
+ HEAP32[i7 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i10 + 16 | 0;
+ i7 = i11 + 16 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i10 + 32 | 0;
+ i5 = i11 + 32 | 0;
+ HEAP32[i7 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i10 + 48 | 0;
+ i7 = i11 + 48 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ } else {
+ i7 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i7 >> 2] | 0) + 56 >> 2] & 3](i7, i10, d44);
+ __ZNK11btTransformmlERKS_(i11, (HEAP32[i2 + 28 >> 2] | 0) + 4 | 0, i2 + 356 | 0);
+ i7 = i10;
+ i5 = i11;
+ HEAP32[i7 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i10 + 16 | 0;
+ i7 = i11 + 16 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i10 + 32 | 0;
+ i5 = i11 + 32 | 0;
+ HEAP32[i7 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i10 + 48 | 0;
+ i7 = i11 + 48 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i7 >> 2] | 0) + 56 >> 2] & 3](i7, i10, d44);
+ }
+ if ((i43 & 1 | 0) == 0) {
+ STACKTOP = i3;
+ return;
+ }
+ __ZNK21btConeTwistConstraint16GetPointForAngleEff(i12, i4, 6.0868353843688965, d44);
+ i7 = i10 | 0;
+ i5 = i12 | 0;
+ d46 = +HEAPF32[i5 >> 2];
+ i11 = i10 + 4 | 0;
+ i52 = i12 + 4 | 0;
+ d45 = +HEAPF32[i52 >> 2];
+ i6 = i10 + 8 | 0;
+ i51 = i12 + 8 | 0;
+ d47 = +HEAPF32[i51 >> 2];
+ i1 = i10 + 48 | 0;
+ i53 = i10 + 16 | 0;
+ i50 = i10 + 20 | 0;
+ i54 = i10 + 24 | 0;
+ i55 = i10 + 52 | 0;
+ d48 = +HEAPF32[i55 >> 2] + (d46 * +HEAPF32[i53 >> 2] + d45 * +HEAPF32[i50 >> 2] + d47 * +HEAPF32[i54 >> 2]);
+ i56 = i10 + 32 | 0;
+ i57 = i10 + 36 | 0;
+ i58 = i10 + 40 | 0;
+ i59 = i10 + 56 | 0;
+ d49 = +HEAPF32[i59 >> 2] + (d46 * +HEAPF32[i56 >> 2] + d45 * +HEAPF32[i57 >> 2] + d47 * +HEAPF32[i58 >> 2]);
+ i60 = i12;
+ HEAPF32[i5 >> 2] = +HEAPF32[i1 >> 2] + (+HEAPF32[i7 >> 2] * d46 + +HEAPF32[i11 >> 2] * d45 + +HEAPF32[i6 >> 2] * d47);
+ HEAPF32[i52 >> 2] = d48;
+ HEAPF32[i51 >> 2] = d49;
+ HEAPF32[i12 + 12 >> 2] = 0.0;
+ i51 = i13 | 0;
+ i52 = i13 + 4 | 0;
+ i5 = i13 + 8 | 0;
+ i61 = i13;
+ i62 = i13 + 12 | 0;
+ i63 = i10 + 48 | 0;
+ i64 = i14;
+ i65 = i15;
+ i66 = 0;
+ do {
+ __ZNK21btConeTwistConstraint16GetPointForAngleEff(i13, i4, +(i66 | 0) * 6.283185005187988 * .03125, d44);
+ d49 = +HEAPF32[i51 >> 2];
+ d48 = +HEAPF32[i52 >> 2];
+ d47 = +HEAPF32[i5 >> 2];
+ d45 = +HEAPF32[i55 >> 2] + (d49 * +HEAPF32[i53 >> 2] + d48 * +HEAPF32[i50 >> 2] + d47 * +HEAPF32[i54 >> 2]);
+ d46 = +HEAPF32[i59 >> 2] + (d49 * +HEAPF32[i56 >> 2] + d48 * +HEAPF32[i57 >> 2] + d47 * +HEAPF32[i58 >> 2]);
+ HEAPF32[i51 >> 2] = +HEAPF32[i1 >> 2] + (+HEAPF32[i7 >> 2] * d49 + +HEAPF32[i11 >> 2] * d48 + +HEAPF32[i6 >> 2] * d47);
+ HEAPF32[i52 >> 2] = d45;
+ HEAPF32[i5 >> 2] = d46;
+ HEAPF32[i62 >> 2] = 0.0;
+ i67 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i68 = HEAP32[(HEAP32[i67 >> 2] | 0) + 8 >> 2] | 0;
+ _memset(i64 | 0, 0, 16);
+ FUNCTION_TABLE_viiii[i68 & 127](i67, i12, i13, i14);
+ if ((i66 & 3 | 0) == 0) {
+ i67 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i68 = HEAP32[(HEAP32[i67 >> 2] | 0) + 8 >> 2] | 0;
+ _memset(i65 | 0, 0, 16);
+ FUNCTION_TABLE_viiii[i68 & 127](i67, i63, i13, i15);
+ }
+ HEAP32[i60 >> 2] = HEAP32[i61 >> 2];
+ HEAP32[i60 + 4 >> 2] = HEAP32[i61 + 4 >> 2];
+ HEAP32[i60 + 8 >> 2] = HEAP32[i61 + 8 >> 2];
+ HEAP32[i60 + 12 >> 2] = HEAP32[i61 + 12 >> 2];
+ i66 = i66 + 1 | 0;
+ } while ((i66 | 0) < 32);
+ d46 = +HEAPF32[i2 + 444 >> 2];
+ d45 = +HEAPF32[i2 + 504 >> 2];
+ i66 = HEAP32[i2 + 28 >> 2] | 0;
+ if (+HEAPF32[i66 + 336 >> 2] > 0.0) {
+ __ZNK11btTransformmlERKS_(i16, i66 + 4 | 0, i2 + 356 | 0);
+ i66 = i10;
+ i61 = i16;
+ HEAP32[i66 >> 2] = HEAP32[i61 >> 2];
+ HEAP32[i66 + 4 >> 2] = HEAP32[i61 + 4 >> 2];
+ HEAP32[i66 + 8 >> 2] = HEAP32[i61 + 8 >> 2];
+ HEAP32[i66 + 12 >> 2] = HEAP32[i61 + 12 >> 2];
+ i61 = i10 + 16 | 0;
+ i66 = i16 + 16 | 0;
+ HEAP32[i61 >> 2] = HEAP32[i66 >> 2];
+ HEAP32[i61 + 4 >> 2] = HEAP32[i66 + 4 >> 2];
+ HEAP32[i61 + 8 >> 2] = HEAP32[i66 + 8 >> 2];
+ HEAP32[i61 + 12 >> 2] = HEAP32[i66 + 12 >> 2];
+ i66 = i10 + 32 | 0;
+ i61 = i16 + 32 | 0;
+ HEAP32[i66 >> 2] = HEAP32[i61 >> 2];
+ HEAP32[i66 + 4 >> 2] = HEAP32[i61 + 4 >> 2];
+ HEAP32[i66 + 8 >> 2] = HEAP32[i61 + 8 >> 2];
+ HEAP32[i66 + 12 >> 2] = HEAP32[i61 + 12 >> 2];
+ i61 = i63;
+ i66 = i16 + 48 | 0;
+ HEAP32[i61 >> 2] = HEAP32[i66 >> 2];
+ HEAP32[i61 + 4 >> 2] = HEAP32[i66 + 4 >> 2];
+ HEAP32[i61 + 8 >> 2] = HEAP32[i66 + 8 >> 2];
+ HEAP32[i61 + 12 >> 2] = HEAP32[i66 + 12 >> 2];
+ } else {
+ __ZNK11btTransformmlERKS_(i17, (HEAP32[i9 >> 2] | 0) + 4 | 0, i8);
+ i8 = i10;
+ i9 = i17;
+ HEAP32[i8 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i10 + 16 | 0;
+ i8 = i17 + 16 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i8 = i10 + 32 | 0;
+ i10 = i17 + 32 | 0;
+ HEAP32[i8 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i63;
+ i8 = i17 + 48 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ }
+ i8 = i18;
+ i10 = i63;
+ HEAP32[i8 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ HEAPF32[i19 >> 2] = +HEAPF32[i7 >> 2];
+ HEAPF32[i19 + 4 >> 2] = +HEAPF32[i53 >> 2];
+ HEAPF32[i19 + 8 >> 2] = +HEAPF32[i56 >> 2];
+ HEAPF32[i19 + 12 >> 2] = 0.0;
+ HEAPF32[i20 >> 2] = +HEAPF32[i11 >> 2];
+ HEAPF32[i20 + 4 >> 2] = +HEAPF32[i50 >> 2];
+ HEAPF32[i20 + 8 >> 2] = +HEAPF32[i57 >> 2];
+ HEAPF32[i20 + 12 >> 2] = 0.0;
+ i57 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i50 = HEAP32[(HEAP32[i57 >> 2] | 0) + 60 >> 2] | 0;
+ _memset(i21 | 0, 0, 16);
+ FUNCTION_TABLE_viiiiffffiif[i50 & 1](i57, i18, i19, i20, d44, d44, -0.0 - d45 - d46, d46 - d45, i21, 1, 10.0);
+ STACKTOP = i3;
+ return;
+ }
+ case 9:
+ case 6:
+ {
+ i21 = i2;
+ i20 = i2 + 1056 | 0;
+ i19 = i22;
+ i18 = i20;
+ HEAP32[i19 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ i57 = i22 + 16 | 0;
+ i50 = i20 + 16 | 0;
+ HEAP32[i57 >> 2] = HEAP32[i50 >> 2];
+ HEAP32[i57 + 4 >> 2] = HEAP32[i50 + 4 >> 2];
+ HEAP32[i57 + 8 >> 2] = HEAP32[i50 + 8 >> 2];
+ HEAP32[i57 + 12 >> 2] = HEAP32[i50 + 12 >> 2];
+ i11 = i22 + 32 | 0;
+ i56 = i20 + 32 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i56 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i56 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i56 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i56 + 12 >> 2];
+ i53 = i22 + 48 | 0;
+ i7 = i20 + 48 | 0;
+ HEAP32[i53 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i53 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i53 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i53 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ if ((i42 & 1 | 0) == 0) {
+ i20 = i2 + 1120 | 0;
+ HEAP32[i19 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ i20 = i2 + 1136 | 0;
+ HEAP32[i57 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i57 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i57 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i57 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ i20 = i2 + 1152 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ i20 = i2 + 1168 | 0;
+ HEAP32[i53 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i53 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i53 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i53 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ } else {
+ i20 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i20 >> 2] | 0) + 56 >> 2] & 3](i20, i22, d44);
+ i20 = i2 + 1120 | 0;
+ HEAP32[i19 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ i20 = i2 + 1136 | 0;
+ HEAP32[i57 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i57 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i57 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i57 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ i20 = i2 + 1152 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ i20 = i2 + 1168 | 0;
+ HEAP32[i53 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i53 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i53 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i53 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ i20 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i20 >> 2] | 0) + 56 >> 2] & 3](i20, i22, d44);
+ }
+ if ((i43 & 1 | 0) == 0) {
+ STACKTOP = i3;
+ return;
+ }
+ HEAP32[i19 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ HEAP32[i57 >> 2] = HEAP32[i50 >> 2];
+ HEAP32[i57 + 4 >> 2] = HEAP32[i50 + 4 >> 2];
+ HEAP32[i57 + 8 >> 2] = HEAP32[i50 + 8 >> 2];
+ HEAP32[i57 + 12 >> 2] = HEAP32[i50 + 12 >> 2];
+ HEAP32[i11 >> 2] = HEAP32[i56 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i56 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i56 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i56 + 12 >> 2];
+ HEAP32[i53 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i53 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i53 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i53 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i20 = i2 + 1168 | 0;
+ i10 = i20;
+ HEAPF32[i23 >> 2] = +HEAPF32[i22 + 8 >> 2];
+ HEAPF32[i23 + 4 >> 2] = +HEAPF32[i22 + 24 >> 2];
+ HEAPF32[i23 + 8 >> 2] = +HEAPF32[i22 + 40 >> 2];
+ HEAPF32[i23 + 12 >> 2] = 0.0;
+ i8 = i22 | 0;
+ i63 = i22 + 16 | 0;
+ i17 = i22 + 32 | 0;
+ i9 = i24 | 0;
+ HEAPF32[i9 >> 2] = +HEAPF32[i8 >> 2];
+ i66 = i24 + 4 | 0;
+ HEAPF32[i66 >> 2] = +HEAPF32[i63 >> 2];
+ i61 = i24 + 8 | 0;
+ HEAPF32[i61 >> 2] = +HEAPF32[i17 >> 2];
+ i16 = i24 + 12 | 0;
+ HEAPF32[i16 >> 2] = 0.0;
+ i60 = i2 + 924 | 0;
+ d45 = +HEAPF32[i60 >> 2];
+ d46 = +HEAPF32[i60 + 4 >> 2];
+ i60 = i2 + 988 | 0;
+ d47 = +HEAPF32[i60 >> 2];
+ d48 = +HEAPF32[i60 + 4 >> 2];
+ i60 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i15 = HEAP32[(HEAP32[i60 >> 2] | 0) + 64 >> 2] | 0;
+ _memset(i25 | 0, 0, 16);
+ FUNCTION_TABLE_viiiifffffif[i15 & 1](i60, i10, i23, i24, d44 * .8999999761581421, d45, d46, d47, d48, i25, 10.0);
+ d48 = +HEAPF32[i22 + 20 >> 2];
+ d47 = +HEAPF32[i22 + 36 >> 2];
+ HEAPF32[i9 >> 2] = +HEAPF32[i22 + 4 >> 2];
+ HEAPF32[i66 >> 2] = d48;
+ HEAPF32[i61 >> 2] = d47;
+ HEAPF32[i16 >> 2] = 0.0;
+ d47 = +__ZNK23btGeneric6DofConstraint8getAngleEi(i21, 1);
+ d48 = +__ZNK23btGeneric6DofConstraint8getAngleEi(i21, 2);
+ d46 = +Math_cos(+d47);
+ d45 = +Math_sin(+d47);
+ d47 = +Math_cos(+d48);
+ d49 = +Math_sin(+d48);
+ d48 = +HEAPF32[i9 >> 2];
+ d69 = +HEAPF32[i66 >> 2];
+ d70 = +HEAPF32[i61 >> 2];
+ HEAPF32[i26 >> 2] = d46 * d47 * d48 + d46 * d49 * d69 - d45 * d70;
+ HEAPF32[i26 + 4 >> 2] = d48 * (-0.0 - d49) + d47 * d69;
+ HEAPF32[i26 + 8 >> 2] = d45 * d47 * d48 + d45 * d49 * d69 + d46 * d70;
+ i61 = i2 + 1120 | 0;
+ HEAP32[i19 >> 2] = HEAP32[i61 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i61 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i61 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i61 + 12 >> 2];
+ i61 = i2 + 1136 | 0;
+ HEAP32[i57 >> 2] = HEAP32[i61 >> 2];
+ HEAP32[i57 + 4 >> 2] = HEAP32[i61 + 4 >> 2];
+ HEAP32[i57 + 8 >> 2] = HEAP32[i61 + 8 >> 2];
+ HEAP32[i57 + 12 >> 2] = HEAP32[i61 + 12 >> 2];
+ i61 = i2 + 1152 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i61 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i61 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i61 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i61 + 12 >> 2];
+ i61 = i20;
+ HEAP32[i53 >> 2] = HEAP32[i61 >> 2];
+ HEAP32[i53 + 4 >> 2] = HEAP32[i61 + 4 >> 2];
+ HEAP32[i53 + 8 >> 2] = HEAP32[i61 + 8 >> 2];
+ HEAP32[i53 + 12 >> 2] = HEAP32[i61 + 12 >> 2];
+ d70 = -0.0 - +HEAPF32[i63 >> 2];
+ d46 = -0.0 - +HEAPF32[i17 >> 2];
+ HEAPF32[i27 >> 2] = -0.0 - +HEAPF32[i8 >> 2];
+ HEAPF32[i27 + 4 >> 2] = d70;
+ HEAPF32[i27 + 8 >> 2] = d46;
+ HEAPF32[i27 + 12 >> 2] = 0.0;
+ i8 = i2 + 860 | 0;
+ d46 = +HEAPF32[i8 >> 2];
+ d70 = +HEAPF32[i8 + 4 >> 2];
+ do {
+ if (d46 > d70) {
+ i8 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i17 = HEAP32[(HEAP32[i8 >> 2] | 0) + 60 >> 2] | 0;
+ _memset(i28 | 0, 0, 16);
+ FUNCTION_TABLE_viiiiffffiif[i17 & 1](i8, i10, i27, i26, d44, d44, -3.1415927410125732, 3.1415927410125732, i28, 0, 10.0);
+ } else {
+ if (d46 >= d70) {
+ break;
+ }
+ i8 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i17 = HEAP32[(HEAP32[i8 >> 2] | 0) + 60 >> 2] | 0;
+ _memset(i29 | 0, 0, 16);
+ FUNCTION_TABLE_viiiiffffiif[i17 & 1](i8, i10, i27, i26, d44, d44, d46, d70, i29, 1, 10.0);
+ }
+ } while (0);
+ HEAP32[i19 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ HEAP32[i57 >> 2] = HEAP32[i50 >> 2];
+ HEAP32[i57 + 4 >> 2] = HEAP32[i50 + 4 >> 2];
+ HEAP32[i57 + 8 >> 2] = HEAP32[i50 + 8 >> 2];
+ HEAP32[i57 + 12 >> 2] = HEAP32[i50 + 12 >> 2];
+ HEAP32[i11 >> 2] = HEAP32[i56 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i56 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i56 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i56 + 12 >> 2];
+ HEAP32[i53 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i53 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i53 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i53 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i2 + 672 | 0;
+ i53 = i30;
+ i56 = i7;
+ HEAP32[i53 >> 2] = HEAP32[i56 >> 2];
+ HEAP32[i53 + 4 >> 2] = HEAP32[i56 + 4 >> 2];
+ HEAP32[i53 + 8 >> 2] = HEAP32[i56 + 8 >> 2];
+ HEAP32[i53 + 12 >> 2] = HEAP32[i56 + 12 >> 2];
+ i56 = i31;
+ i53 = i7 + 16 | 0;
+ HEAP32[i56 >> 2] = HEAP32[i53 >> 2];
+ HEAP32[i56 + 4 >> 2] = HEAP32[i53 + 4 >> 2];
+ HEAP32[i56 + 8 >> 2] = HEAP32[i53 + 8 >> 2];
+ HEAP32[i56 + 12 >> 2] = HEAP32[i53 + 12 >> 2];
+ i53 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i56 = HEAP32[(HEAP32[i53 >> 2] | 0) + 72 >> 2] | 0;
+ _memset(i32 | 0, 0, 16);
+ FUNCTION_TABLE_viiiii[i56 & 63](i53, i30, i31, i22, i32);
+ STACKTOP = i3;
+ return;
+ }
+ case 7:
+ {
+ i32 = i2 + 816 | 0;
+ i22 = i33;
+ i31 = i32;
+ HEAP32[i22 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i22 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i22 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i22 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ i31 = i33 + 16 | 0;
+ i30 = i32 + 16 | 0;
+ HEAP32[i31 >> 2] = HEAP32[i30 >> 2];
+ HEAP32[i31 + 4 >> 2] = HEAP32[i30 + 4 >> 2];
+ HEAP32[i31 + 8 >> 2] = HEAP32[i30 + 8 >> 2];
+ HEAP32[i31 + 12 >> 2] = HEAP32[i30 + 12 >> 2];
+ i30 = i33 + 32 | 0;
+ i53 = i32 + 32 | 0;
+ HEAP32[i30 >> 2] = HEAP32[i53 >> 2];
+ HEAP32[i30 + 4 >> 2] = HEAP32[i53 + 4 >> 2];
+ HEAP32[i30 + 8 >> 2] = HEAP32[i53 + 8 >> 2];
+ HEAP32[i30 + 12 >> 2] = HEAP32[i53 + 12 >> 2];
+ i53 = i33 + 48 | 0;
+ i56 = i32 + 48 | 0;
+ HEAP32[i53 >> 2] = HEAP32[i56 >> 2];
+ HEAP32[i53 + 4 >> 2] = HEAP32[i56 + 4 >> 2];
+ HEAP32[i53 + 8 >> 2] = HEAP32[i56 + 8 >> 2];
+ HEAP32[i53 + 12 >> 2] = HEAP32[i56 + 12 >> 2];
+ if ((i42 & 1 | 0) == 0) {
+ i42 = i2 + 880 | 0;
+ HEAP32[i22 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i22 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i22 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i22 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ i42 = i2 + 896 | 0;
+ HEAP32[i31 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i31 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i31 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i31 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ i42 = i2 + 912 | 0;
+ HEAP32[i30 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i30 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i30 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i30 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ i42 = i2 + 928 | 0;
+ HEAP32[i53 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i53 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i53 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i53 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ } else {
+ i42 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i42 >> 2] | 0) + 56 >> 2] & 3](i42, i33, d44);
+ i42 = i2 + 880 | 0;
+ HEAP32[i22 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i22 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i22 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i22 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ i42 = i2 + 896 | 0;
+ HEAP32[i31 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i31 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i31 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i31 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ i42 = i2 + 912 | 0;
+ HEAP32[i30 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i30 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i30 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i30 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ i42 = i2 + 928 | 0;
+ HEAP32[i53 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i53 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i53 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i53 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ i42 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i42 >> 2] | 0) + 56 >> 2] & 3](i42, i33, d44);
+ }
+ if ((i43 & 1 | 0) == 0) {
+ STACKTOP = i3;
+ return;
+ }
+ i43 = (HEAP8[i2 + 172 | 0] | 0) != 0 ? i32 : i2 + 880 | 0;
+ d70 = +HEAPF32[i43 >> 2];
+ d46 = +HEAPF32[i43 + 4 >> 2];
+ d69 = +HEAPF32[i43 + 16 >> 2];
+ d49 = +HEAPF32[i43 + 20 >> 2];
+ d45 = +HEAPF32[i43 + 32 >> 2];
+ d48 = +HEAPF32[i43 + 36 >> 2];
+ d47 = +HEAPF32[i43 + 48 >> 2];
+ d71 = +HEAPF32[i43 + 52 >> 2];
+ d72 = +HEAPF32[i43 + 56 >> 2];
+ d73 = +HEAPF32[i2 + 176 >> 2];
+ d74 = d46 * 0.0;
+ d75 = +HEAPF32[i43 + 8 >> 2] * 0.0;
+ d76 = d49 * 0.0;
+ d77 = +HEAPF32[i43 + 24 >> 2] * 0.0;
+ d78 = d48 * 0.0;
+ d79 = +HEAPF32[i43 + 40 >> 2] * 0.0;
+ HEAPF32[i34 >> 2] = d47 + (d75 + (d74 + d70 * d73));
+ HEAPF32[i34 + 4 >> 2] = d71 + (d77 + (d76 + d69 * d73));
+ HEAPF32[i34 + 8 >> 2] = d72 + (d79 + (d78 + d45 * d73));
+ HEAPF32[i34 + 12 >> 2] = 0.0;
+ d73 = +HEAPF32[i2 + 180 >> 2];
+ HEAPF32[i35 >> 2] = d47 + (d75 + (d74 + d70 * d73));
+ HEAPF32[i35 + 4 >> 2] = d71 + (d77 + (d76 + d69 * d73));
+ HEAPF32[i35 + 8 >> 2] = d72 + (d79 + (d78 + d45 * d73));
+ HEAPF32[i35 + 12 >> 2] = 0.0;
+ i43 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i32 = HEAP32[(HEAP32[i43 >> 2] | 0) + 8 >> 2] | 0;
+ _memset(i36 | 0, 0, 16);
+ FUNCTION_TABLE_viiii[i32 & 127](i43, i34, i35, i36);
+ HEAPF32[i37 >> 2] = d70;
+ HEAPF32[i37 + 4 >> 2] = d69;
+ HEAPF32[i37 + 8 >> 2] = d45;
+ HEAPF32[i37 + 12 >> 2] = 0.0;
+ HEAPF32[i38 >> 2] = d46;
+ HEAPF32[i38 + 4 >> 2] = d49;
+ HEAPF32[i38 + 8 >> 2] = d48;
+ HEAPF32[i38 + 12 >> 2] = 0.0;
+ d48 = +HEAPF32[i2 + 184 >> 2];
+ d49 = +HEAPF32[i2 + 188 >> 2];
+ i36 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i41 >> 2] | 0) + 16 >> 2] & 127](i40) | 0;
+ i40 = HEAP32[(HEAP32[i36 >> 2] | 0) + 60 >> 2] | 0;
+ _memset(i39 | 0, 0, 16);
+ FUNCTION_TABLE_viiiiffffiif[i40 & 1](i36, i2 + 928 | 0, i37, i38, d44, d44, d48, d49, i39, 1, 10.0);
+ STACKTOP = i3;
+ return;
+ }
+ default:
+ {
+ STACKTOP = i3;
+ return;
+ }
+ }
+}
+function __ZN20btConvexHullInternal5mergeERNS_16IntermediateHullES1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0, i79 = 0, i80 = 0, i81 = 0, i82 = 0, i83 = 0, i84 = 0, i85 = 0, i86 = 0, i87 = 0, i88 = 0, i89 = 0, i90 = 0, i91 = 0, i92 = 0, i93 = 0, i94 = 0, i95 = 0, i96 = 0, i97 = 0, i98 = 0, i99 = 0, i100 = 0, i101 = 0, i102 = 0, i103 = 0, i104 = 0, i105 = 0, i106 = 0, i107 = 0, i108 = 0, i109 = 0, i110 = 0, i111 = 0, i112 = 0, i113 = 0, i114 = 0, i115 = 0, i116 = 0, i117 = 0, i118 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 160 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 8 | 0;
+ i7 = i4 + 16 | 0;
+ i8 = i4 + 24 | 0;
+ i9 = i4 + 32 | 0;
+ i10 = i4 + 48 | 0;
+ i11 = i4 + 72 | 0;
+ i12 = i4 + 96 | 0;
+ i13 = i4 + 120 | 0;
+ i14 = i4 + 144 | 0;
+ i15 = i4 + 152 | 0;
+ if ((HEAP32[i3 + 4 >> 2] | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ if ((HEAP32[i2 + 4 >> 2] | 0) == 0) {
+ i16 = i2;
+ i17 = i3;
+ HEAP32[i16 >> 2] = HEAP32[i17 >> 2];
+ HEAP32[i16 + 4 >> 2] = HEAP32[i17 + 4 >> 2];
+ HEAP32[i16 + 8 >> 2] = HEAP32[i17 + 8 >> 2];
+ HEAP32[i16 + 12 >> 2] = HEAP32[i17 + 12 >> 2];
+ STACKTOP = i4;
+ return;
+ }
+ i17 = i1 + 100 | 0;
+ HEAP32[i17 >> 2] = (HEAP32[i17 >> 2] | 0) - 1;
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i6 >> 2] = 0;
+ i16 = __ZN20btConvexHullInternal15mergeProjectionERNS_16IntermediateHullES1_RPNS_6VertexES4_(0, i2, i3, i5, i6) | 0;
+ i3 = HEAP32[i6 >> 2] | 0;
+ if (i16) {
+ i16 = HEAP32[i5 >> 2] | 0;
+ i2 = HEAP32[i3 + 88 >> 2] | 0;
+ i18 = HEAP32[i16 + 88 >> 2] | 0;
+ i19 = i2 - i18 | 0;
+ i20 = HEAP32[i3 + 92 >> 2] | 0;
+ i21 = HEAP32[i16 + 92 >> 2] | 0;
+ i22 = i20 - i21 | 0;
+ i23 = HEAP32[i3 + 96 >> 2] | 0;
+ i24 = HEAP32[i16 + 96 >> 2] | 0;
+ i25 = i23 - i24 | 0;
+ i26 = i22;
+ i27 = (i22 | 0) < 0 ? -1 : 0;
+ i22 = -i19 | 0;
+ i28 = i22;
+ i29 = (i22 | 0) < 0 ? -1 : 0;
+ i22 = i25;
+ i30 = (i25 | 0) < 0 ? -1 : 0;
+ i25 = _i64Subtract(0, 0, i28, i29) | 0;
+ i31 = ___muldi3(i22, i30, i25, tempRet0) | 0;
+ i25 = tempRet0;
+ i32 = ___muldi3(i22, i30, i26, i27) | 0;
+ i30 = tempRet0;
+ i22 = ___muldi3(i19, (i19 | 0) < 0 ? -1 : 0, i28, i29) | 0;
+ i19 = tempRet0;
+ i33 = ___muldi3(i26, i27, i26, i27) | 0;
+ i34 = _i64Subtract(i22, i19, i33, tempRet0) | 0;
+ i33 = tempRet0;
+ i19 = HEAP32[i16 + 8 >> 2] | 0;
+ HEAP32[i7 >> 2] = 0;
+ if ((i19 | 0) == 0) {
+ i35 = 0;
+ } else {
+ i22 = _i64Subtract(0, 0, i26, i27) | 0;
+ i36 = tempRet0;
+ i37 = i19;
+ i38 = 0;
+ while (1) {
+ i39 = HEAP32[i37 + 12 >> 2] | 0;
+ i40 = HEAP32[i39 + 88 >> 2] | 0;
+ i41 = i40 - i18 | 0;
+ i42 = HEAP32[i39 + 92 >> 2] | 0;
+ i43 = i42 - i21 | 0;
+ i44 = i41;
+ i45 = (i41 | 0) < 0 ? -1 : 0;
+ i41 = i43;
+ i46 = (i43 | 0) < 0 ? -1 : 0;
+ i43 = ___muldi3(i41, i46, i28, i29) | 0;
+ i47 = tempRet0;
+ i48 = ___muldi3(i44, i45, i22, i36) | 0;
+ do {
+ if ((i43 | 0) == (i48 | 0) & (i47 | 0) == (tempRet0 | 0)) {
+ i49 = HEAP32[i39 + 96 >> 2] | 0;
+ i50 = i49 - i24 | 0;
+ i51 = ___muldi3(i44, i45, i31, i25) | 0;
+ i52 = tempRet0;
+ i53 = ___muldi3(i41, i46, i32, i30) | 0;
+ i54 = _i64Add(i53, tempRet0, i51, i52) | 0;
+ i52 = tempRet0;
+ i51 = ___muldi3(i50, (i50 | 0) < 0 ? -1 : 0, i34, i33) | 0;
+ i50 = _i64Add(i54, i52, i51, tempRet0) | 0;
+ i51 = tempRet0;
+ i52 = 0;
+ if (!((i51 | 0) > (i52 | 0) | (i51 | 0) == (i52 | 0) & i50 >>> 0 > 0 >>> 0)) {
+ i55 = i38;
+ break;
+ }
+ if ((i38 | 0) != 0) {
+ i50 = (HEAP32[i38 + 4 >> 2] | 0) == (i37 | 0);
+ if ((HEAP32[i38 >> 2] | 0) == (i37 | 0)) {
+ if (!i50) {
+ i55 = i38;
+ break;
+ }
+ i52 = HEAP32[i38 + 12 >> 2] | 0;
+ i51 = HEAP32[(HEAP32[i37 + 8 >> 2] | 0) + 12 >> 2] | 0;
+ i54 = HEAP32[i51 + 88 >> 2] | 0;
+ i53 = (HEAP32[i52 + 88 >> 2] | 0) - i54 | 0;
+ i56 = HEAP32[i51 + 92 >> 2] | 0;
+ i57 = HEAP32[i51 + 96 >> 2] | 0;
+ i51 = (HEAP32[i52 + 96 >> 2] | 0) - i57 | 0;
+ i58 = i49 - i57 | 0;
+ i57 = Math_imul(i58, (HEAP32[i52 + 92 >> 2] | 0) - i56 | 0) | 0;
+ i52 = i57 - (Math_imul(i51, i42 - i56 | 0) | 0) | 0;
+ i56 = Math_imul(i51, i40 - i54 | 0) | 0;
+ i54 = i56 - (Math_imul(i58, i53) | 0) | 0;
+ i53 = ___muldi3(i52, (i52 | 0) < 0 ? -1 : 0, i26, i27) | 0;
+ i52 = tempRet0;
+ i58 = ___muldi3(i54, (i54 | 0) < 0 ? -1 : 0, i28, i29) | 0;
+ i54 = _i64Add(i53, i52, i58, tempRet0) | 0;
+ i58 = tempRet0;
+ i52 = 0;
+ i59 = (i58 | 0) > (i52 | 0) | (i58 | 0) == (i52 | 0) & i54 >>> 0 > 0 >>> 0 ? 2 : 1;
+ } else {
+ i59 = i50 & 1;
+ }
+ if ((i59 | 0) != 1) {
+ i55 = i38;
+ break;
+ }
+ }
+ HEAP32[i7 >> 2] = i37;
+ i55 = i37;
+ } else {
+ i55 = i38;
+ }
+ } while (0);
+ i40 = HEAP32[i37 >> 2] | 0;
+ if ((i40 | 0) == (i19 | 0)) {
+ i35 = i55;
+ break;
+ } else {
+ i37 = i40;
+ i38 = i55;
+ }
+ }
+ }
+ i55 = HEAP32[i3 + 8 >> 2] | 0;
+ HEAP32[i8 >> 2] = 0;
+ if ((i55 | 0) == 0) {
+ i60 = 0;
+ } else {
+ i38 = _i64Subtract(0, 0, i26, i27) | 0;
+ i37 = tempRet0;
+ i19 = i55;
+ i59 = 0;
+ while (1) {
+ i24 = HEAP32[i19 + 12 >> 2] | 0;
+ i36 = HEAP32[i24 + 88 >> 2] | 0;
+ i22 = i36 - i2 | 0;
+ i21 = HEAP32[i24 + 92 >> 2] | 0;
+ i18 = i21 - i20 | 0;
+ i40 = i22;
+ i42 = (i22 | 0) < 0 ? -1 : 0;
+ i22 = i18;
+ i46 = (i18 | 0) < 0 ? -1 : 0;
+ i18 = ___muldi3(i22, i46, i28, i29) | 0;
+ i41 = tempRet0;
+ i45 = ___muldi3(i40, i42, i38, i37) | 0;
+ L958 : do {
+ if ((i18 | 0) == (i45 | 0) & (i41 | 0) == (tempRet0 | 0)) {
+ i44 = HEAP32[i24 + 96 >> 2] | 0;
+ i39 = i44 - i23 | 0;
+ i47 = ___muldi3(i40, i42, i31, i25) | 0;
+ i48 = tempRet0;
+ i43 = ___muldi3(i22, i46, i32, i30) | 0;
+ i50 = _i64Add(i43, tempRet0, i47, i48) | 0;
+ i48 = tempRet0;
+ i47 = ___muldi3(i39, (i39 | 0) < 0 ? -1 : 0, i34, i33) | 0;
+ i39 = _i64Add(i50, i48, i47, tempRet0) | 0;
+ i47 = tempRet0;
+ i48 = 0;
+ if (!((i47 | 0) > (i48 | 0) | (i47 | 0) == (i48 | 0) & i39 >>> 0 > 0 >>> 0)) {
+ i61 = i59;
+ break;
+ }
+ do {
+ if ((i59 | 0) != 0) {
+ if ((HEAP32[i59 >> 2] | 0) != (i19 | 0)) {
+ i61 = i59;
+ break L958;
+ }
+ if ((HEAP32[i59 + 4 >> 2] | 0) != (i19 | 0)) {
+ break;
+ }
+ i39 = HEAP32[i59 + 12 >> 2] | 0;
+ i48 = HEAP32[(HEAP32[i19 + 8 >> 2] | 0) + 12 >> 2] | 0;
+ i47 = HEAP32[i48 + 88 >> 2] | 0;
+ i50 = (HEAP32[i39 + 88 >> 2] | 0) - i47 | 0;
+ i43 = HEAP32[i48 + 92 >> 2] | 0;
+ i54 = HEAP32[i48 + 96 >> 2] | 0;
+ i48 = (HEAP32[i39 + 96 >> 2] | 0) - i54 | 0;
+ i52 = i44 - i54 | 0;
+ i54 = Math_imul(i52, (HEAP32[i39 + 92 >> 2] | 0) - i43 | 0) | 0;
+ i39 = i54 - (Math_imul(i48, i21 - i43 | 0) | 0) | 0;
+ i43 = Math_imul(i48, i36 - i47 | 0) | 0;
+ i47 = i43 - (Math_imul(i52, i50) | 0) | 0;
+ i50 = ___muldi3(i39, (i39 | 0) < 0 ? -1 : 0, i26, i27) | 0;
+ i39 = tempRet0;
+ i52 = ___muldi3(i47, (i47 | 0) < 0 ? -1 : 0, i28, i29) | 0;
+ i47 = _i64Add(i50, i39, i52, tempRet0) | 0;
+ i52 = tempRet0;
+ i39 = 0;
+ if (!((i52 | 0) > (i39 | 0) | (i52 | 0) == (i39 | 0) & i47 >>> 0 > 0 >>> 0)) {
+ i61 = i59;
+ break L958;
+ }
+ }
+ } while (0);
+ HEAP32[i8 >> 2] = i19;
+ i61 = i19;
+ } else {
+ i61 = i59;
+ }
+ } while (0);
+ i36 = HEAP32[i19 >> 2] | 0;
+ if ((i36 | 0) == (i55 | 0)) {
+ i60 = i61;
+ break;
+ } else {
+ i19 = i36;
+ i59 = i61;
+ }
+ }
+ }
+ do {
+ if ((i35 | 0) == 0 & (i60 | 0) == 0) {
+ i62 = i16;
+ i63 = i3;
+ } else {
+ __ZN20btConvexHullInternal24findEdgeForCoplanarFacesEPNS_6VertexES1_RPNS_4EdgeES4_S1_S1_(i1, i16, i3, i7, i8, 0, 0);
+ i61 = HEAP32[i7 >> 2] | 0;
+ if ((i61 | 0) == 0) {
+ i64 = i16;
+ } else {
+ i59 = HEAP32[i61 + 12 >> 2] | 0;
+ HEAP32[i5 >> 2] = i59;
+ i64 = i59;
+ }
+ i59 = HEAP32[i8 >> 2] | 0;
+ if ((i59 | 0) == 0) {
+ i62 = i64;
+ i63 = i3;
+ break;
+ }
+ i61 = HEAP32[i59 + 12 >> 2] | 0;
+ HEAP32[i6 >> 2] = i61;
+ i62 = i64;
+ i63 = i61;
+ }
+ } while (0);
+ i65 = HEAP32[i63 + 88 >> 2] | 0;
+ i66 = (HEAP32[i63 + 96 >> 2] | 0) + 1 | 0;
+ i67 = i62;
+ i68 = i63;
+ } else {
+ i65 = (HEAP32[i3 + 88 >> 2] | 0) + 1 | 0;
+ i66 = HEAP32[i3 + 96 >> 2] | 0;
+ i67 = HEAP32[i5 >> 2] | 0;
+ i68 = i3;
+ }
+ i3 = HEAP32[i68 + 92 >> 2] | 0;
+ i63 = i9 | 0;
+ i62 = i9 + 4 | 0;
+ i64 = i9 + 8 | 0;
+ i8 = i9 + 12 | 0;
+ i16 = i10 | 0;
+ i7 = i10 + 8 | 0;
+ i60 = i10 + 16 | 0;
+ i35 = i11 | 0;
+ i61 = i11 + 8 | 0;
+ i59 = i11 + 16 | 0;
+ i19 = i12 + 16 | 0;
+ i55 = i12 + 8 | 0;
+ i29 = i13 + 16 | 0;
+ i28 = i13 + 8 | 0;
+ i27 = i1 + 48 | 0;
+ i26 = i1 + 116 | 0;
+ i33 = i1 + 120 | 0;
+ i34 = i1 + 56 | 0;
+ i30 = i12;
+ i32 = i13;
+ i25 = 0;
+ i31 = 0;
+ i23 = 0;
+ i37 = 0;
+ i38 = 1;
+ i20 = 0;
+ i2 = 0;
+ i36 = 0;
+ i21 = 0;
+ i46 = i65;
+ i65 = i3;
+ i22 = i66;
+ i66 = i68;
+ i42 = i67;
+ i40 = i3;
+ while (1) {
+ i3 = i42 + 88 | 0;
+ i24 = (HEAP32[i66 + 88 >> 2] | 0) - (HEAP32[i3 >> 2] | 0) | 0;
+ i41 = i42 + 92 | 0;
+ i45 = i40 - (HEAP32[i41 >> 2] | 0) | 0;
+ i18 = i42 + 96 | 0;
+ i44 = (HEAP32[i66 + 96 >> 2] | 0) - (HEAP32[i18 >> 2] | 0) | 0;
+ HEAP32[i63 >> 2] = i24;
+ HEAP32[i62 >> 2] = i45;
+ HEAP32[i64 >> 2] = i44;
+ HEAP32[i8 >> 2] = -1;
+ i47 = i46 - (HEAP32[i3 >> 2] | 0) | 0;
+ i3 = i65 - (HEAP32[i41 >> 2] | 0) | 0;
+ i41 = i22 - (HEAP32[i18 >> 2] | 0) | 0;
+ i18 = Math_imul(i3, i44) | 0;
+ i39 = i18 - (Math_imul(i41, i45) | 0) | 0;
+ i18 = i39;
+ i52 = (i39 | 0) < 0 ? -1 : 0;
+ i39 = Math_imul(i41, i24) | 0;
+ i41 = i39 - (Math_imul(i47, i44) | 0) | 0;
+ i39 = i41;
+ i50 = (i41 | 0) < 0 ? -1 : 0;
+ i41 = Math_imul(i47, i45) | 0;
+ i47 = i41 - (Math_imul(i3, i24) | 0) | 0;
+ i3 = i47;
+ i41 = (i47 | 0) < 0 ? -1 : 0;
+ HEAP32[i16 >> 2] = i18;
+ HEAP32[i16 + 4 >> 2] = i52;
+ HEAP32[i7 >> 2] = i39;
+ HEAP32[i7 + 4 >> 2] = i50;
+ HEAP32[i60 >> 2] = i3;
+ HEAP32[i60 + 4 >> 2] = i41;
+ i47 = i45;
+ i43 = (i45 | 0) < 0 ? -1 : 0;
+ i45 = ___muldi3(i3, i41, i47, i43) | 0;
+ i48 = tempRet0;
+ i54 = i44;
+ i58 = (i44 | 0) < 0 ? -1 : 0;
+ i44 = ___muldi3(i39, i50, i54, i58) | 0;
+ i53 = _i64Subtract(i45, i48, i44, tempRet0) | 0;
+ i44 = tempRet0;
+ i48 = ___muldi3(i18, i52, i54, i58) | 0;
+ i58 = tempRet0;
+ i54 = i24;
+ i45 = (i24 | 0) < 0 ? -1 : 0;
+ i24 = ___muldi3(i3, i41, i54, i45) | 0;
+ i41 = _i64Subtract(i48, i58, i24, tempRet0) | 0;
+ i24 = tempRet0;
+ i58 = ___muldi3(i39, i50, i54, i45) | 0;
+ i45 = tempRet0;
+ i54 = ___muldi3(i18, i52, i47, i43) | 0;
+ i43 = _i64Subtract(i58, i45, i54, tempRet0) | 0;
+ HEAP32[i35 >> 2] = i53;
+ HEAP32[i35 + 4 >> 2] = i44;
+ HEAP32[i61 >> 2] = i41;
+ HEAP32[i61 + 4 >> 2] = i24;
+ HEAP32[i59 >> 2] = i43;
+ HEAP32[i59 + 4 >> 2] = tempRet0;
+ _memset(i30 | 0, 0, 20);
+ i43 = __ZN20btConvexHullInternal12findMaxAngleEbPKNS_6VertexERKNS_7Point32ERKNS_7Point64ES8_RNS_10Rational64E(i1, 0, i42, i9, i10, i11, i12) | 0;
+ _memset(i32 | 0, 0, 20);
+ i69 = HEAP32[i6 >> 2] | 0;
+ i24 = __ZN20btConvexHullInternal12findMaxAngleEbPKNS_6VertexERKNS_7Point32ERKNS_7Point64ES8_RNS_10Rational64E(i1, 1, i69, i9, i10, i11, i13) | 0;
+ i41 = (i43 | 0) != 0;
+ i44 = i41 ^ 1;
+ i53 = (i24 | 0) == 0;
+ if (i53 & i44) {
+ i70 = 753;
+ break;
+ }
+ if (i53 | i44) {
+ i71 = i41 ? -1 : 1;
+ } else {
+ i71 = __ZNK20btConvexHullInternal10Rational647compareERKS0_(i12, i13) | 0;
+ }
+ do {
+ if (i38) {
+ i70 = 765;
+ } else {
+ if ((i71 | 0) > -1) {
+ if ((HEAP32[i29 >> 2] | 0) >= 0) {
+ i70 = 765;
+ break;
+ }
+ if ((HEAP32[i28 >> 2] | 0) == 0 & (HEAP32[i28 + 4 >> 2] | 0) == 0) {
+ i72 = i23;
+ i73 = i37;
+ i74 = i36;
+ i75 = i21;
+ i70 = 772;
+ break;
+ } else {
+ i70 = 765;
+ break;
+ }
+ }
+ if ((HEAP32[i19 >> 2] | 0) >= 0) {
+ i70 = 765;
+ break;
+ }
+ if (!((HEAP32[i55 >> 2] | 0) == 0 & (HEAP32[i55 + 4 >> 2] | 0) == 0)) {
+ i70 = 765;
+ break;
+ }
+ HEAP32[i14 >> 2] = i43;
+ HEAP32[i15 >> 2] = i24;
+ i76 = i22;
+ i77 = i65;
+ i78 = i46;
+ i79 = i21;
+ i80 = i36;
+ i81 = i2;
+ i82 = i20;
+ i83 = i43;
+ i84 = i37;
+ i85 = i23;
+ i70 = 794;
+ }
+ } while (0);
+ if ((i70 | 0) == 765) {
+ i70 = 0;
+ i41 = HEAP32[i5 >> 2] | 0;
+ i44 = __ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(i27) | 0;
+ i53 = __ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(i27) | 0;
+ i54 = i44 + 8 | 0;
+ HEAP32[i54 >> 2] = i53;
+ HEAP32[i53 + 8 >> 2] = i44;
+ HEAP32[i44 + 20 >> 2] = HEAP32[i17 >> 2];
+ HEAP32[i53 + 20 >> 2] = HEAP32[i17 >> 2];
+ HEAP32[i44 + 12 >> 2] = i69;
+ HEAP32[i53 + 12 >> 2] = i41;
+ HEAP32[i44 + 16 >> 2] = 0;
+ HEAP32[i53 + 16 >> 2] = 0;
+ i53 = (HEAP32[i26 >> 2] | 0) + 1 | 0;
+ HEAP32[i26 >> 2] = i53;
+ if ((i53 | 0) > (HEAP32[i33 >> 2] | 0)) {
+ HEAP32[i33 >> 2] = i53;
+ }
+ if ((i37 | 0) == 0) {
+ i86 = i44;
+ } else {
+ HEAP32[i37 + 4 >> 2] = i44;
+ i86 = i23;
+ }
+ HEAP32[i44 >> 2] = i37;
+ i53 = HEAP32[i54 >> 2] | 0;
+ if ((i21 | 0) == 0) {
+ i87 = i53;
+ } else {
+ HEAP32[i21 >> 2] = i53;
+ i87 = i36;
+ }
+ HEAP32[i53 + 4 >> 2] = i21;
+ i72 = i86;
+ i73 = i44;
+ i74 = i87;
+ i75 = i53;
+ i70 = 772;
+ }
+ do {
+ if ((i70 | 0) == 772) {
+ i70 = 0;
+ HEAP32[i14 >> 2] = i43;
+ HEAP32[i15 >> 2] = i24;
+ if ((i71 | 0) == 0) {
+ __ZN20btConvexHullInternal24findEdgeForCoplanarFacesEPNS_6VertexES1_RPNS_4EdgeES4_S1_S1_(i1, HEAP32[i5 >> 2] | 0, HEAP32[i6 >> 2] | 0, i14, i15, 0, 0);
+ i88 = HEAP32[i15 >> 2] | 0;
+ } else {
+ if ((i71 | 0) > -1) {
+ i88 = i24;
+ } else {
+ i76 = i22;
+ i77 = i65;
+ i78 = i46;
+ i79 = i75;
+ i80 = i74;
+ i81 = i2;
+ i82 = i20;
+ i83 = i43;
+ i84 = i73;
+ i85 = i72;
+ i70 = 794;
+ break;
+ }
+ }
+ if ((i88 | 0) == 0) {
+ i89 = i20;
+ i90 = i2;
+ i91 = i74;
+ i92 = i75;
+ i93 = i46;
+ i94 = i65;
+ i95 = i22;
+ } else {
+ i53 = (i20 | 0) != 0;
+ do {
+ if (i53) {
+ i44 = HEAP32[i20 >> 2] | 0;
+ if ((i44 | 0) == (i24 | 0)) {
+ break;
+ } else {
+ i96 = i44;
+ }
+ while (1) {
+ i44 = i96 | 0;
+ i54 = HEAP32[i44 >> 2] | 0;
+ i41 = HEAP32[i96 + 8 >> 2] | 0;
+ if ((i54 | 0) == (i96 | 0)) {
+ HEAP32[(HEAP32[i41 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i45 = i96 + 4 | 0;
+ HEAP32[i54 + 4 >> 2] = HEAP32[i45 >> 2];
+ HEAP32[HEAP32[i45 >> 2] >> 2] = i54;
+ HEAP32[(HEAP32[i41 + 12 >> 2] | 0) + 8 >> 2] = i54;
+ }
+ i45 = i41 | 0;
+ i58 = HEAP32[i45 >> 2] | 0;
+ if ((i58 | 0) == (i41 | 0)) {
+ HEAP32[(HEAP32[i96 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i47 = i41 + 4 | 0;
+ HEAP32[i58 + 4 >> 2] = HEAP32[i47 >> 2];
+ HEAP32[HEAP32[i47 >> 2] >> 2] = i58;
+ HEAP32[(HEAP32[i96 + 12 >> 2] | 0) + 8 >> 2] = i58;
+ }
+ _memset(i96 | 0, 0, 20);
+ HEAP32[i44 >> 2] = HEAP32[i34 >> 2];
+ HEAP32[i34 >> 2] = i96;
+ _memset(i41 | 0, 0, 20);
+ HEAP32[i45 >> 2] = HEAP32[i34 >> 2];
+ HEAP32[i34 >> 2] = i41;
+ HEAP32[i26 >> 2] = (HEAP32[i26 >> 2] | 0) - 1;
+ if ((i54 | 0) == (i24 | 0)) {
+ break;
+ } else {
+ i96 = i54;
+ }
+ }
+ }
+ } while (0);
+ if ((i75 | 0) == 0) {
+ i97 = i53 ? i2 : i24;
+ i98 = i74;
+ i99 = i88;
+ } else {
+ if (i53) {
+ HEAP32[i20 >> 2] = i74;
+ HEAP32[i74 + 4 >> 2] = i20;
+ i100 = i2;
+ i101 = i24 + 4 | 0;
+ } else {
+ i54 = i24 + 4 | 0;
+ i41 = HEAP32[i54 >> 2] | 0;
+ HEAP32[i41 >> 2] = i74;
+ HEAP32[i74 + 4 >> 2] = i41;
+ i100 = i74;
+ i101 = i54;
+ }
+ HEAP32[i75 >> 2] = i24;
+ HEAP32[i101 >> 2] = i75;
+ i97 = i100;
+ i98 = 0;
+ i99 = HEAP32[i15 >> 2] | 0;
+ }
+ i54 = HEAP32[i6 >> 2] | 0;
+ i41 = HEAP32[i54 + 88 >> 2] | 0;
+ i45 = HEAP32[i54 + 92 >> 2] | 0;
+ i44 = HEAP32[i54 + 96 >> 2] | 0;
+ HEAP32[i6 >> 2] = HEAP32[i99 + 12 >> 2];
+ i89 = HEAP32[i99 + 8 >> 2] | 0;
+ i90 = i97;
+ i91 = i98;
+ i92 = 0;
+ i93 = i41;
+ i94 = i45;
+ i95 = i44;
+ }
+ if ((i71 | 0) >= 1) {
+ i102 = i25;
+ i103 = i31;
+ i104 = i72;
+ i105 = i73;
+ i106 = i93;
+ i107 = i94;
+ i108 = i95;
+ i109 = i92;
+ i110 = i91;
+ i111 = i90;
+ i112 = i89;
+ break;
+ }
+ i76 = i95;
+ i77 = i94;
+ i78 = i93;
+ i79 = i92;
+ i80 = i91;
+ i81 = i90;
+ i82 = i89;
+ i83 = HEAP32[i14 >> 2] | 0;
+ i84 = i73;
+ i85 = i72;
+ i70 = 794;
+ }
+ } while (0);
+ do {
+ if ((i70 | 0) == 794) {
+ i70 = 0;
+ if ((i83 | 0) == 0) {
+ i102 = i25;
+ i103 = i31;
+ i104 = i85;
+ i105 = i84;
+ i106 = i78;
+ i107 = i77;
+ i108 = i76;
+ i109 = i79;
+ i110 = i80;
+ i111 = i81;
+ i112 = i82;
+ break;
+ }
+ i24 = (i25 | 0) != 0;
+ do {
+ if (i24) {
+ i44 = HEAP32[i25 + 4 >> 2] | 0;
+ if ((i44 | 0) == (i43 | 0)) {
+ break;
+ } else {
+ i113 = i44;
+ }
+ while (1) {
+ i44 = i113 + 4 | 0;
+ i45 = HEAP32[i44 >> 2] | 0;
+ i41 = i113 | 0;
+ i54 = HEAP32[i41 >> 2] | 0;
+ i58 = HEAP32[i113 + 8 >> 2] | 0;
+ if ((i54 | 0) == (i113 | 0)) {
+ HEAP32[(HEAP32[i58 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ HEAP32[i54 + 4 >> 2] = i45;
+ HEAP32[HEAP32[i44 >> 2] >> 2] = i54;
+ HEAP32[(HEAP32[i58 + 12 >> 2] | 0) + 8 >> 2] = i54;
+ }
+ i54 = i58 | 0;
+ i44 = HEAP32[i54 >> 2] | 0;
+ if ((i44 | 0) == (i58 | 0)) {
+ HEAP32[(HEAP32[i113 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i47 = i58 + 4 | 0;
+ HEAP32[i44 + 4 >> 2] = HEAP32[i47 >> 2];
+ HEAP32[HEAP32[i47 >> 2] >> 2] = i44;
+ HEAP32[(HEAP32[i113 + 12 >> 2] | 0) + 8 >> 2] = i44;
+ }
+ _memset(i113 | 0, 0, 20);
+ HEAP32[i41 >> 2] = HEAP32[i34 >> 2];
+ HEAP32[i34 >> 2] = i113;
+ _memset(i58 | 0, 0, 20);
+ HEAP32[i54 >> 2] = HEAP32[i34 >> 2];
+ HEAP32[i34 >> 2] = i58;
+ HEAP32[i26 >> 2] = (HEAP32[i26 >> 2] | 0) - 1;
+ if ((i45 | 0) == (i43 | 0)) {
+ break;
+ } else {
+ i113 = i45;
+ }
+ }
+ }
+ } while (0);
+ if ((i84 | 0) == 0) {
+ i114 = i24 ? i31 : i43;
+ i115 = i85;
+ i116 = i83;
+ } else {
+ if (i24) {
+ HEAP32[i85 >> 2] = i25;
+ HEAP32[i25 + 4 >> 2] = i85;
+ i117 = i31;
+ i118 = i43 | 0;
+ } else {
+ i53 = i43 | 0;
+ i45 = HEAP32[i53 >> 2] | 0;
+ HEAP32[i85 >> 2] = i45;
+ HEAP32[i45 + 4 >> 2] = i85;
+ i117 = i85;
+ i118 = i53;
+ }
+ HEAP32[i118 >> 2] = i84;
+ HEAP32[i84 + 4 >> 2] = i43;
+ i114 = i117;
+ i115 = 0;
+ i116 = HEAP32[i14 >> 2] | 0;
+ }
+ i53 = HEAP32[i5 >> 2] | 0;
+ i45 = HEAP32[i53 + 88 >> 2] | 0;
+ i58 = HEAP32[i53 + 92 >> 2] | 0;
+ i54 = HEAP32[i53 + 96 >> 2] | 0;
+ HEAP32[i5 >> 2] = HEAP32[i116 + 12 >> 2];
+ i102 = HEAP32[i116 + 8 >> 2] | 0;
+ i103 = i114;
+ i104 = i115;
+ i105 = 0;
+ i106 = i45;
+ i107 = i58;
+ i108 = i54;
+ i109 = i79;
+ i110 = i80;
+ i111 = i81;
+ i112 = i82;
+ }
+ } while (0);
+ i43 = HEAP32[i5 >> 2] | 0;
+ i54 = HEAP32[i6 >> 2] | 0;
+ if ((i43 | 0) == (i67 | 0) & (i54 | 0) == (i68 | 0)) {
+ break;
+ }
+ i25 = i102;
+ i31 = i103;
+ i23 = i104;
+ i37 = i105;
+ i38 = 0;
+ i20 = i112;
+ i2 = i111;
+ i36 = i110;
+ i21 = i109;
+ i46 = i106;
+ i65 = i107;
+ i22 = i108;
+ i66 = i54;
+ i42 = i43;
+ i40 = HEAP32[i54 + 92 >> 2] | 0;
+ }
+ if ((i70 | 0) == 753) {
+ i70 = HEAP32[i5 >> 2] | 0;
+ i40 = __ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(i27) | 0;
+ i42 = __ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(i27) | 0;
+ i27 = i40 + 8 | 0;
+ HEAP32[i27 >> 2] = i42;
+ HEAP32[i42 + 8 >> 2] = i40;
+ HEAP32[i40 + 20 >> 2] = HEAP32[i17 >> 2];
+ HEAP32[i42 + 20 >> 2] = HEAP32[i17 >> 2];
+ HEAP32[i40 + 12 >> 2] = i69;
+ HEAP32[i42 + 12 >> 2] = i70;
+ HEAP32[i40 + 16 >> 2] = 0;
+ HEAP32[i42 + 16 >> 2] = 0;
+ i42 = (HEAP32[i26 >> 2] | 0) + 1 | 0;
+ HEAP32[i26 >> 2] = i42;
+ if ((i42 | 0) > (HEAP32[i33 >> 2] | 0)) {
+ HEAP32[i33 >> 2] = i42;
+ }
+ HEAP32[i40 >> 2] = i40;
+ HEAP32[i40 + 4 >> 2] = i40;
+ HEAP32[i70 + 8 >> 2] = i40;
+ i40 = HEAP32[i27 >> 2] | 0;
+ HEAP32[i40 >> 2] = i40;
+ HEAP32[i40 + 4 >> 2] = i40;
+ HEAP32[i69 + 8 >> 2] = i40;
+ STACKTOP = i4;
+ return;
+ }
+ do {
+ if ((i102 | 0) == 0) {
+ HEAP32[i104 >> 2] = i105;
+ HEAP32[i105 + 4 >> 2] = i104;
+ HEAP32[(HEAP32[i5 >> 2] | 0) + 8 >> 2] = i105;
+ } else {
+ i40 = i102 + 4 | 0;
+ i69 = HEAP32[i40 >> 2] | 0;
+ if ((i69 | 0) != (i103 | 0)) {
+ i27 = i69;
+ while (1) {
+ i69 = i27 + 4 | 0;
+ i70 = HEAP32[i69 >> 2] | 0;
+ i42 = i27 | 0;
+ i33 = HEAP32[i42 >> 2] | 0;
+ i17 = HEAP32[i27 + 8 >> 2] | 0;
+ if ((i33 | 0) == (i27 | 0)) {
+ HEAP32[(HEAP32[i17 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ HEAP32[i33 + 4 >> 2] = i70;
+ HEAP32[HEAP32[i69 >> 2] >> 2] = i33;
+ HEAP32[(HEAP32[i17 + 12 >> 2] | 0) + 8 >> 2] = i33;
+ }
+ i33 = i17 | 0;
+ i69 = HEAP32[i33 >> 2] | 0;
+ if ((i69 | 0) == (i17 | 0)) {
+ HEAP32[(HEAP32[i27 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i66 = i17 + 4 | 0;
+ HEAP32[i69 + 4 >> 2] = HEAP32[i66 >> 2];
+ HEAP32[HEAP32[i66 >> 2] >> 2] = i69;
+ HEAP32[(HEAP32[i27 + 12 >> 2] | 0) + 8 >> 2] = i69;
+ }
+ _memset(i27 | 0, 0, 20);
+ HEAP32[i42 >> 2] = HEAP32[i34 >> 2];
+ HEAP32[i34 >> 2] = i27;
+ _memset(i17 | 0, 0, 20);
+ HEAP32[i33 >> 2] = HEAP32[i34 >> 2];
+ HEAP32[i34 >> 2] = i17;
+ HEAP32[i26 >> 2] = (HEAP32[i26 >> 2] | 0) - 1;
+ if ((i70 | 0) == (i103 | 0)) {
+ break;
+ } else {
+ i27 = i70;
+ }
+ }
+ }
+ if ((i105 | 0) == 0) {
+ break;
+ }
+ HEAP32[i104 >> 2] = i102;
+ HEAP32[i40 >> 2] = i104;
+ HEAP32[i103 >> 2] = i105;
+ HEAP32[i105 + 4 >> 2] = i103;
+ }
+ } while (0);
+ if ((i112 | 0) == 0) {
+ HEAP32[i109 >> 2] = i110;
+ HEAP32[i110 + 4 >> 2] = i109;
+ HEAP32[(HEAP32[i6 >> 2] | 0) + 8 >> 2] = i109;
+ STACKTOP = i4;
+ return;
+ }
+ i6 = i112 | 0;
+ i103 = HEAP32[i6 >> 2] | 0;
+ if ((i103 | 0) != (i111 | 0)) {
+ i105 = i103;
+ while (1) {
+ i103 = i105 | 0;
+ i104 = HEAP32[i103 >> 2] | 0;
+ i102 = HEAP32[i105 + 8 >> 2] | 0;
+ if ((i104 | 0) == (i105 | 0)) {
+ HEAP32[(HEAP32[i102 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i5 = i105 + 4 | 0;
+ HEAP32[i104 + 4 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[HEAP32[i5 >> 2] >> 2] = i104;
+ HEAP32[(HEAP32[i102 + 12 >> 2] | 0) + 8 >> 2] = i104;
+ }
+ i5 = i102 | 0;
+ i27 = HEAP32[i5 >> 2] | 0;
+ if ((i27 | 0) == (i102 | 0)) {
+ HEAP32[(HEAP32[i105 + 12 >> 2] | 0) + 8 >> 2] = 0;
+ } else {
+ i70 = i102 + 4 | 0;
+ HEAP32[i27 + 4 >> 2] = HEAP32[i70 >> 2];
+ HEAP32[HEAP32[i70 >> 2] >> 2] = i27;
+ HEAP32[(HEAP32[i105 + 12 >> 2] | 0) + 8 >> 2] = i27;
+ }
+ _memset(i105 | 0, 0, 20);
+ HEAP32[i103 >> 2] = HEAP32[i34 >> 2];
+ HEAP32[i34 >> 2] = i105;
+ _memset(i102 | 0, 0, 20);
+ HEAP32[i5 >> 2] = HEAP32[i34 >> 2];
+ HEAP32[i34 >> 2] = i102;
+ HEAP32[i26 >> 2] = (HEAP32[i26 >> 2] | 0) - 1;
+ if ((i104 | 0) == (i111 | 0)) {
+ break;
+ } else {
+ i105 = i104;
+ }
+ }
+ }
+ if ((i109 | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ HEAP32[i6 >> 2] = i110;
+ HEAP32[i110 + 4 >> 2] = i112;
+ HEAP32[i109 >> 2] = i111;
+ HEAP32[i111 + 4 >> 2] = i109;
+ STACKTOP = i4;
+ return;
+}
+function __ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, i37 = 0, d38 = 0.0, i39 = 0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, i45 = 0, d46 = 0.0, i47 = 0, d48 = 0.0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0, i79 = 0, i80 = 0, i81 = 0, i82 = 0, i83 = 0, i84 = 0, i85 = 0, i86 = 0, i87 = 0, i88 = 0, i89 = 0, i90 = 0, i91 = 0, i92 = 0, i93 = 0, i94 = 0, i95 = 0, i96 = 0, i97 = 0, i98 = 0, i99 = 0, i100 = 0, i101 = 0, i102 = 0, i103 = 0, i104 = 0, i105 = 0, i106 = 0, i107 = 0, i108 = 0, i109 = 0, i110 = 0, i111 = 0, i112 = 0, i113 = 0, i114 = 0, i115 = 0, i116 = 0, i117 = 0, i118 = 0, i119 = 0, i120 = 0, i121 = 0, i122 = 0, i123 = 0, i124 = 0, i125 = 0, d126 = 0.0, d127 = 0.0, d128 = 0.0, d129 = 0.0, d130 = 0.0, d131 = 0.0, d132 = 0.0, d133 = 0.0, d134 = 0.0, d135 = 0.0, d136 = 0.0, d137 = 0.0, d138 = 0.0, d139 = 0.0, i140 = 0, d141 = 0.0, d142 = 0.0, d143 = 0.0, d144 = 0.0, d145 = 0.0, d146 = 0.0, i147 = 0, d148 = 0.0, i149 = 0, d150 = 0.0, d151 = 0.0, d152 = 0.0, d153 = 0.0, i154 = 0, d155 = 0.0, d156 = 0.0, d157 = 0.0, d158 = 0.0, d159 = 0.0, d160 = 0.0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 352 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 16 | 0;
+ i8 = i5 + 32 | 0;
+ i9 = i5 + 48 | 0;
+ i10 = i5 + 112 | 0;
+ i11 = i5 + 176 | 0;
+ i12 = i5 + 192 | 0;
+ i13 = i5 + 208 | 0;
+ i14 = i5 + 224 | 0;
+ i15 = i5 + 240 | 0;
+ i16 = i5 + 256 | 0;
+ i17 = i5 + 272 | 0;
+ i18 = i5 + 288 | 0;
+ i19 = i5 + 304 | 0;
+ i20 = i5 + 320 | 0;
+ i21 = i5 + 336 | 0;
+ i22 = i1 + 56 | 0;
+ HEAPF32[i22 >> 2] = 0.0;
+ i23 = i6 | 0;
+ i24 = i6 + 4 | 0;
+ i25 = i6 + 8 | 0;
+ i26 = i6 + 12 | 0;
+ i27 = i9;
+ i28 = i2;
+ i29 = i6;
+ _memset(i29 | 0, 0, 16);
+ HEAP32[i27 >> 2] = HEAP32[i28 >> 2];
+ HEAP32[i27 + 4 >> 2] = HEAP32[i28 + 4 >> 2];
+ HEAP32[i27 + 8 >> 2] = HEAP32[i28 + 8 >> 2];
+ HEAP32[i27 + 12 >> 2] = HEAP32[i28 + 12 >> 2];
+ i28 = i9 + 16 | 0;
+ i27 = i2 + 16 | 0;
+ HEAP32[i28 >> 2] = HEAP32[i27 >> 2];
+ HEAP32[i28 + 4 >> 2] = HEAP32[i27 + 4 >> 2];
+ HEAP32[i28 + 8 >> 2] = HEAP32[i27 + 8 >> 2];
+ HEAP32[i28 + 12 >> 2] = HEAP32[i27 + 12 >> 2];
+ i27 = i9 + 32 | 0;
+ i28 = i2 + 32 | 0;
+ HEAP32[i27 >> 2] = HEAP32[i28 >> 2];
+ HEAP32[i27 + 4 >> 2] = HEAP32[i28 + 4 >> 2];
+ HEAP32[i27 + 8 >> 2] = HEAP32[i28 + 8 >> 2];
+ HEAP32[i27 + 12 >> 2] = HEAP32[i28 + 12 >> 2];
+ i28 = i9 + 48 | 0;
+ i27 = i28;
+ i30 = i2 + 48 | 0;
+ HEAP32[i27 >> 2] = HEAP32[i30 >> 2];
+ HEAP32[i27 + 4 >> 2] = HEAP32[i30 + 4 >> 2];
+ HEAP32[i27 + 8 >> 2] = HEAP32[i30 + 8 >> 2];
+ HEAP32[i27 + 12 >> 2] = HEAP32[i30 + 12 >> 2];
+ i30 = i2 + 64 | 0;
+ i27 = i10;
+ i31 = i30;
+ HEAP32[i27 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i27 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i27 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i27 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ i31 = i10 + 16 | 0;
+ i27 = i2 + 80 | 0;
+ HEAP32[i31 >> 2] = HEAP32[i27 >> 2];
+ HEAP32[i31 + 4 >> 2] = HEAP32[i27 + 4 >> 2];
+ HEAP32[i31 + 8 >> 2] = HEAP32[i27 + 8 >> 2];
+ HEAP32[i31 + 12 >> 2] = HEAP32[i27 + 12 >> 2];
+ i27 = i10 + 32 | 0;
+ i31 = i2 + 96 | 0;
+ HEAP32[i27 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i27 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i27 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i27 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ i31 = i10 + 48 | 0;
+ i27 = i31;
+ i32 = i2 + 112 | 0;
+ HEAP32[i27 >> 2] = HEAP32[i32 >> 2];
+ HEAP32[i27 + 4 >> 2] = HEAP32[i32 + 4 >> 2];
+ HEAP32[i27 + 8 >> 2] = HEAP32[i32 + 8 >> 2];
+ HEAP32[i27 + 12 >> 2] = HEAP32[i32 + 12 >> 2];
+ i32 = i28 | 0;
+ d33 = +HEAPF32[i32 >> 2];
+ i28 = i31 | 0;
+ d34 = +HEAPF32[i28 >> 2];
+ i31 = i9 + 52 | 0;
+ d35 = +HEAPF32[i31 >> 2];
+ i27 = i10 + 52 | 0;
+ d36 = +HEAPF32[i27 >> 2];
+ i37 = i9 + 56 | 0;
+ d38 = +HEAPF32[i37 >> 2];
+ i39 = i10 + 56 | 0;
+ d40 = +HEAPF32[i39 >> 2];
+ d41 = (d33 + d34) * .5;
+ d42 = (d35 + d36) * .5;
+ d43 = (d38 + d40) * .5;
+ d44 = d33 - d41;
+ HEAPF32[i32 >> 2] = d44;
+ d33 = d35 - d42;
+ HEAPF32[i31 >> 2] = d33;
+ d35 = d38 - d43;
+ HEAPF32[i37 >> 2] = d35;
+ d38 = d34 - d41;
+ HEAPF32[i28 >> 2] = d38;
+ d34 = d36 - d42;
+ HEAPF32[i27 >> 2] = d34;
+ d36 = d40 - d43;
+ HEAPF32[i39 >> 2] = d36;
+ i28 = i1 + 28 | 0;
+ i32 = i1 + 32 | 0;
+ if (((HEAP32[(HEAP32[i28 >> 2] | 0) + 4 >> 2] | 0) - 17 | 0) >>> 0 < 2) {
+ i45 = ((HEAP32[(HEAP32[i32 >> 2] | 0) + 4 >> 2] | 0) - 17 | 0) >>> 0 < 2;
+ } else {
+ i45 = 0;
+ }
+ d40 = +HEAPF32[i1 + 44 >> 2];
+ d46 = +HEAPF32[i1 + 48 >> 2];
+ HEAP32[2992] = (HEAP32[2992] | 0) + 1;
+ i47 = (HEAP8[i1 + 52 | 0] | 0) == 0;
+ d48 = i47 ? d40 : 0.0;
+ d40 = i47 ? d46 : 0.0;
+ i47 = i1 + 64 | 0;
+ HEAP32[i47 >> 2] = 0;
+ i49 = i1 + 4 | 0;
+ i50 = i49 | 0;
+ HEAPF32[i50 >> 2] = 0.0;
+ i51 = i1 + 8 | 0;
+ HEAPF32[i51 >> 2] = 1.0;
+ i52 = i1 + 12 | 0;
+ HEAPF32[i52 >> 2] = 0.0;
+ i53 = i1 + 16 | 0;
+ HEAPF32[i53 >> 2] = 0.0;
+ i54 = i1 + 68 | 0;
+ HEAP32[i54 >> 2] = 0;
+ i55 = i1 + 60 | 0;
+ HEAP32[i55 >> 2] = -1;
+ d46 = d48 + d40;
+ i56 = i1 + 24 | 0;
+ __ZN22btVoronoiSimplexSolver5resetEv(HEAP32[i56 >> 2] | 0);
+ i57 = i2 | 0;
+ i58 = i2 + 16 | 0;
+ i59 = i2 + 32 | 0;
+ i60 = i2 + 4 | 0;
+ i61 = i2 + 20 | 0;
+ i62 = i2 + 36 | 0;
+ i63 = i2 + 8 | 0;
+ i64 = i2 + 24 | 0;
+ i65 = i2 + 40 | 0;
+ i66 = i11 | 0;
+ i67 = i11 + 4 | 0;
+ i68 = i11 + 8 | 0;
+ i69 = i11 + 12 | 0;
+ i70 = i30 | 0;
+ i30 = i2 + 80 | 0;
+ i71 = i2 + 96 | 0;
+ i72 = i2 + 68 | 0;
+ i73 = i2 + 84 | 0;
+ i74 = i2 + 100 | 0;
+ i75 = i2 + 72 | 0;
+ i76 = i2 + 88 | 0;
+ i77 = i2 + 104 | 0;
+ i78 = i12 | 0;
+ i79 = i12 + 4 | 0;
+ i80 = i12 + 8 | 0;
+ i81 = i12 + 12 | 0;
+ i82 = i9 | 0;
+ i83 = i13 | 0;
+ i84 = i9 + 4 | 0;
+ i85 = i13 + 4 | 0;
+ i86 = i9 + 8 | 0;
+ i87 = i13 + 8 | 0;
+ i88 = i9 + 48 | 0;
+ i89 = i9 + 16 | 0;
+ i90 = i9 + 20 | 0;
+ i91 = i9 + 24 | 0;
+ i92 = i9 + 32 | 0;
+ i93 = i9 + 36 | 0;
+ i94 = i9 + 40 | 0;
+ i95 = i15 | 0;
+ i96 = i15 + 4 | 0;
+ i97 = i15 + 8 | 0;
+ i98 = i15 + 12 | 0;
+ i99 = i10 | 0;
+ i100 = i14 | 0;
+ i101 = i10 + 4 | 0;
+ i102 = i14 + 4 | 0;
+ i103 = i10 + 8 | 0;
+ i104 = i14 + 8 | 0;
+ i105 = i10 + 48 | 0;
+ i106 = i10 + 16 | 0;
+ i107 = i10 + 20 | 0;
+ i108 = i10 + 24 | 0;
+ i109 = i10 + 32 | 0;
+ i110 = i10 + 36 | 0;
+ i111 = i10 + 40 | 0;
+ i112 = i16 | 0;
+ i113 = i16 + 4 | 0;
+ i114 = i16 + 8 | 0;
+ i115 = i16 + 12 | 0;
+ i116 = i17 | 0;
+ i117 = i17 + 4 | 0;
+ i118 = i17 + 8 | 0;
+ i119 = i17 + 12 | 0;
+ i120 = i2 + 128 | 0;
+ i121 = i18 | 0;
+ i122 = i18 + 4 | 0;
+ i123 = i18 + 8 | 0;
+ i124 = i49;
+ i125 = i18;
+ L1498 : do {
+ if (i45) {
+ d126 = 999999984306749400.0;
+ d127 = d44;
+ d128 = d33;
+ d129 = d38;
+ d130 = d34;
+ while (1) {
+ d131 = +HEAPF32[i50 >> 2];
+ d132 = -0.0 - d131;
+ d133 = +HEAPF32[i51 >> 2];
+ d134 = -0.0 - d133;
+ d135 = +HEAPF32[i52 >> 2];
+ d136 = -0.0 - d135;
+ d137 = +HEAPF32[i60 >> 2] * d132 + +HEAPF32[i61 >> 2] * d134 + +HEAPF32[i62 >> 2] * d136;
+ d138 = +HEAPF32[i63 >> 2] * d132 + +HEAPF32[i64 >> 2] * d134 + +HEAPF32[i65 >> 2] * d136;
+ HEAPF32[i66 >> 2] = +HEAPF32[i57 >> 2] * d132 + +HEAPF32[i58 >> 2] * d134 + +HEAPF32[i59 >> 2] * d136;
+ HEAPF32[i67 >> 2] = d137;
+ HEAPF32[i68 >> 2] = d138;
+ HEAPF32[i69 >> 2] = 0.0;
+ d138 = d131 * +HEAPF32[i72 >> 2] + d133 * +HEAPF32[i73 >> 2] + d135 * +HEAPF32[i74 >> 2];
+ d137 = d131 * +HEAPF32[i75 >> 2] + d133 * +HEAPF32[i76 >> 2] + d135 * +HEAPF32[i77 >> 2];
+ HEAPF32[i78 >> 2] = d131 * +HEAPF32[i70 >> 2] + d133 * +HEAPF32[i30 >> 2] + d135 * +HEAPF32[i71 >> 2];
+ HEAPF32[i79 >> 2] = d138;
+ HEAPF32[i80 >> 2] = d137;
+ HEAPF32[i81 >> 2] = 0.0;
+ __ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3(i13, HEAP32[i28 >> 2] | 0, i11);
+ __ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3(i14, HEAP32[i32 >> 2] | 0, i12);
+ d137 = +HEAPF32[i83 >> 2];
+ d138 = +HEAPF32[i85 >> 2];
+ d135 = +HEAPF32[i87 >> 2];
+ d133 = d127 + (+HEAPF32[i82 >> 2] * d137 + +HEAPF32[i84 >> 2] * d138 + +HEAPF32[i86 >> 2] * d135);
+ d131 = d128 + (d137 * +HEAPF32[i89 >> 2] + d138 * +HEAPF32[i90 >> 2] + d135 * +HEAPF32[i91 >> 2]);
+ HEAPF32[i95 >> 2] = d133;
+ HEAPF32[i96 >> 2] = d131;
+ HEAPF32[i98 >> 2] = 0.0;
+ d135 = +HEAPF32[i100 >> 2];
+ d138 = +HEAPF32[i102 >> 2];
+ d137 = +HEAPF32[i104 >> 2];
+ d136 = d129 + (+HEAPF32[i99 >> 2] * d135 + +HEAPF32[i101 >> 2] * d138 + +HEAPF32[i103 >> 2] * d137);
+ d134 = d130 + (d135 * +HEAPF32[i106 >> 2] + d138 * +HEAPF32[i107 >> 2] + d137 * +HEAPF32[i108 >> 2]);
+ HEAPF32[i112 >> 2] = d136;
+ HEAPF32[i113 >> 2] = d134;
+ HEAPF32[i115 >> 2] = 0.0;
+ HEAPF32[i97 >> 2] = 0.0;
+ HEAPF32[i114 >> 2] = 0.0;
+ d137 = d133 - d136;
+ d136 = d131 - d134;
+ HEAPF32[i116 >> 2] = d137;
+ HEAPF32[i117 >> 2] = d136;
+ HEAPF32[i118 >> 2] = 0.0;
+ HEAPF32[i119 >> 2] = 0.0;
+ d134 = d137 * +HEAPF32[i50 >> 2] + d136 * +HEAPF32[i51 >> 2] + +HEAPF32[i52 >> 2] * 0.0;
+ if (d134 > 0.0) {
+ if (d134 * d134 > d126 * +HEAPF32[i120 >> 2]) {
+ d139 = d126;
+ i140 = 1318;
+ break L1498;
+ }
+ }
+ if (__ZN22btVoronoiSimplexSolver9inSimplexERK9btVector3(HEAP32[i56 >> 2] | 0, i17) | 0) {
+ d141 = d126;
+ i140 = 1320;
+ break L1498;
+ }
+ d136 = d126 - d134;
+ if (d136 <= d126 * 9.999999974752427e-7) {
+ d142 = d126;
+ d143 = d136;
+ i140 = 1322;
+ break L1498;
+ }
+ __ZN22btVoronoiSimplexSolver9addVertexERK9btVector3S2_S2_(HEAP32[i56 >> 2] | 0, i17, i15, i16);
+ if (!(__ZN22btVoronoiSimplexSolver7closestER9btVector3(HEAP32[i56 >> 2] | 0, i18) | 0)) {
+ d144 = d126;
+ i140 = 1324;
+ break L1498;
+ }
+ d136 = +HEAPF32[i121 >> 2];
+ d134 = +HEAPF32[i122 >> 2];
+ d137 = +HEAPF32[i123 >> 2];
+ d131 = d136 * d136 + d134 * d134 + d137 * d137;
+ if (d131 < 9.999999974752427e-7) {
+ d145 = d126;
+ i140 = 1326;
+ break L1498;
+ }
+ if (d126 - d131 <= d126 * 1.1920928955078125e-7) {
+ d146 = d131;
+ i140 = 1328;
+ break L1498;
+ }
+ HEAP32[i124 >> 2] = HEAP32[i125 >> 2];
+ HEAP32[i124 + 4 >> 2] = HEAP32[i125 + 4 >> 2];
+ HEAP32[i124 + 8 >> 2] = HEAP32[i125 + 8 >> 2];
+ HEAP32[i124 + 12 >> 2] = HEAP32[i125 + 12 >> 2];
+ i147 = HEAP32[i47 >> 2] | 0;
+ HEAP32[i47 >> 2] = i147 + 1;
+ if ((i147 | 0) > 1e3) {
+ d148 = 0.0;
+ i149 = 0;
+ break L1498;
+ }
+ if ((HEAP32[HEAP32[i56 >> 2] >> 2] | 0) == 4) {
+ i140 = 1332;
+ break L1498;
+ }
+ d126 = d131;
+ d127 = +HEAPF32[i88 >> 2];
+ d128 = +HEAPF32[i31 >> 2];
+ d129 = +HEAPF32[i105 >> 2];
+ d130 = +HEAPF32[i27 >> 2];
+ }
+ } else {
+ d130 = 999999984306749400.0;
+ d129 = d44;
+ d128 = d33;
+ d127 = d35;
+ d126 = d38;
+ d131 = d34;
+ d137 = d36;
+ while (1) {
+ d134 = +HEAPF32[i50 >> 2];
+ d136 = -0.0 - d134;
+ d133 = +HEAPF32[i51 >> 2];
+ d138 = -0.0 - d133;
+ d135 = +HEAPF32[i52 >> 2];
+ d132 = -0.0 - d135;
+ d150 = +HEAPF32[i60 >> 2] * d136 + +HEAPF32[i61 >> 2] * d138 + +HEAPF32[i62 >> 2] * d132;
+ d151 = +HEAPF32[i63 >> 2] * d136 + +HEAPF32[i64 >> 2] * d138 + +HEAPF32[i65 >> 2] * d132;
+ HEAPF32[i66 >> 2] = +HEAPF32[i57 >> 2] * d136 + +HEAPF32[i58 >> 2] * d138 + +HEAPF32[i59 >> 2] * d132;
+ HEAPF32[i67 >> 2] = d150;
+ HEAPF32[i68 >> 2] = d151;
+ HEAPF32[i69 >> 2] = 0.0;
+ d151 = d134 * +HEAPF32[i72 >> 2] + d133 * +HEAPF32[i73 >> 2] + d135 * +HEAPF32[i74 >> 2];
+ d150 = d134 * +HEAPF32[i75 >> 2] + d133 * +HEAPF32[i76 >> 2] + d135 * +HEAPF32[i77 >> 2];
+ HEAPF32[i78 >> 2] = d134 * +HEAPF32[i70 >> 2] + d133 * +HEAPF32[i30 >> 2] + d135 * +HEAPF32[i71 >> 2];
+ HEAPF32[i79 >> 2] = d151;
+ HEAPF32[i80 >> 2] = d150;
+ HEAPF32[i81 >> 2] = 0.0;
+ __ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3(i13, HEAP32[i28 >> 2] | 0, i11);
+ __ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3(i14, HEAP32[i32 >> 2] | 0, i12);
+ d150 = +HEAPF32[i83 >> 2];
+ d151 = +HEAPF32[i85 >> 2];
+ d135 = +HEAPF32[i87 >> 2];
+ d133 = d129 + (+HEAPF32[i82 >> 2] * d150 + +HEAPF32[i84 >> 2] * d151 + +HEAPF32[i86 >> 2] * d135);
+ d134 = d128 + (d150 * +HEAPF32[i89 >> 2] + d151 * +HEAPF32[i90 >> 2] + d135 * +HEAPF32[i91 >> 2]);
+ d132 = d127 + (d150 * +HEAPF32[i92 >> 2] + d151 * +HEAPF32[i93 >> 2] + d135 * +HEAPF32[i94 >> 2]);
+ HEAPF32[i95 >> 2] = d133;
+ HEAPF32[i96 >> 2] = d134;
+ HEAPF32[i97 >> 2] = d132;
+ HEAPF32[i98 >> 2] = 0.0;
+ d135 = +HEAPF32[i100 >> 2];
+ d151 = +HEAPF32[i102 >> 2];
+ d150 = +HEAPF32[i104 >> 2];
+ d138 = d126 + (+HEAPF32[i99 >> 2] * d135 + +HEAPF32[i101 >> 2] * d151 + +HEAPF32[i103 >> 2] * d150);
+ d136 = d131 + (d135 * +HEAPF32[i106 >> 2] + d151 * +HEAPF32[i107 >> 2] + d150 * +HEAPF32[i108 >> 2]);
+ d152 = d137 + (d135 * +HEAPF32[i109 >> 2] + d151 * +HEAPF32[i110 >> 2] + d150 * +HEAPF32[i111 >> 2]);
+ HEAPF32[i112 >> 2] = d138;
+ HEAPF32[i113 >> 2] = d136;
+ HEAPF32[i114 >> 2] = d152;
+ HEAPF32[i115 >> 2] = 0.0;
+ d150 = d133 - d138;
+ d138 = d134 - d136;
+ d136 = d132 - d152;
+ HEAPF32[i116 >> 2] = d150;
+ HEAPF32[i117 >> 2] = d138;
+ HEAPF32[i118 >> 2] = d136;
+ HEAPF32[i119 >> 2] = 0.0;
+ d152 = d150 * +HEAPF32[i50 >> 2] + d138 * +HEAPF32[i51 >> 2] + d136 * +HEAPF32[i52 >> 2];
+ if (d152 > 0.0) {
+ if (d152 * d152 > d130 * +HEAPF32[i120 >> 2]) {
+ d139 = d130;
+ i140 = 1318;
+ break L1498;
+ }
+ }
+ if (__ZN22btVoronoiSimplexSolver9inSimplexERK9btVector3(HEAP32[i56 >> 2] | 0, i17) | 0) {
+ d141 = d130;
+ i140 = 1320;
+ break L1498;
+ }
+ d136 = d130 - d152;
+ if (d136 <= d130 * 9.999999974752427e-7) {
+ d142 = d130;
+ d143 = d136;
+ i140 = 1322;
+ break L1498;
+ }
+ __ZN22btVoronoiSimplexSolver9addVertexERK9btVector3S2_S2_(HEAP32[i56 >> 2] | 0, i17, i15, i16);
+ if (!(__ZN22btVoronoiSimplexSolver7closestER9btVector3(HEAP32[i56 >> 2] | 0, i18) | 0)) {
+ d144 = d130;
+ i140 = 1324;
+ break L1498;
+ }
+ d136 = +HEAPF32[i121 >> 2];
+ d152 = +HEAPF32[i122 >> 2];
+ d138 = +HEAPF32[i123 >> 2];
+ d150 = d136 * d136 + d152 * d152 + d138 * d138;
+ if (d150 < 9.999999974752427e-7) {
+ d145 = d130;
+ i140 = 1326;
+ break L1498;
+ }
+ if (d130 - d150 <= d130 * 1.1920928955078125e-7) {
+ d146 = d150;
+ i140 = 1328;
+ break L1498;
+ }
+ HEAP32[i124 >> 2] = HEAP32[i125 >> 2];
+ HEAP32[i124 + 4 >> 2] = HEAP32[i125 + 4 >> 2];
+ HEAP32[i124 + 8 >> 2] = HEAP32[i125 + 8 >> 2];
+ HEAP32[i124 + 12 >> 2] = HEAP32[i125 + 12 >> 2];
+ i147 = HEAP32[i47 >> 2] | 0;
+ HEAP32[i47 >> 2] = i147 + 1;
+ if ((i147 | 0) > 1e3) {
+ d148 = 0.0;
+ i149 = 0;
+ break L1498;
+ }
+ if ((HEAP32[HEAP32[i56 >> 2] >> 2] | 0) == 4) {
+ i140 = 1332;
+ break L1498;
+ }
+ d130 = d150;
+ d129 = +HEAPF32[i88 >> 2];
+ d128 = +HEAPF32[i31 >> 2];
+ d127 = +HEAPF32[i37 >> 2];
+ d126 = +HEAPF32[i105 >> 2];
+ d131 = +HEAPF32[i27 >> 2];
+ d137 = +HEAPF32[i39 >> 2];
+ }
+ }
+ } while (0);
+ if ((i140 | 0) == 1326) {
+ HEAP32[i124 >> 2] = HEAP32[i125 >> 2];
+ HEAP32[i124 + 4 >> 2] = HEAP32[i125 + 4 >> 2];
+ HEAP32[i124 + 8 >> 2] = HEAP32[i125 + 8 >> 2];
+ HEAP32[i124 + 12 >> 2] = HEAP32[i125 + 12 >> 2];
+ HEAP32[i54 >> 2] = 6;
+ d153 = d145;
+ i140 = 1333;
+ } else if ((i140 | 0) == 1328) {
+ HEAP32[i54 >> 2] = 12;
+ d153 = d146;
+ i140 = 1333;
+ } else if ((i140 | 0) == 1322) {
+ HEAP32[i54 >> 2] = d143 > 0.0 ? 11 : 2;
+ d153 = d142;
+ i140 = 1333;
+ } else if ((i140 | 0) == 1318) {
+ HEAP32[i54 >> 2] = 10;
+ d153 = d139;
+ i140 = 1333;
+ } else if ((i140 | 0) == 1320) {
+ HEAP32[i54 >> 2] = 1;
+ d153 = d141;
+ i140 = 1333;
+ } else if ((i140 | 0) == 1324) {
+ HEAP32[i54 >> 2] = 3;
+ d153 = d144;
+ i140 = 1333;
+ } else if ((i140 | 0) == 1332) {
+ HEAP32[i54 >> 2] = 13;
+ d148 = 0.0;
+ i149 = 0;
+ }
+ do {
+ if ((i140 | 0) == 1333) {
+ __ZN22btVoronoiSimplexSolver14compute_pointsER9btVector3S1_(HEAP32[i56 >> 2] | 0, i7, i8);
+ HEAP32[i29 >> 2] = HEAP32[i124 >> 2];
+ HEAP32[i29 + 4 >> 2] = HEAP32[i124 + 4 >> 2];
+ HEAP32[i29 + 8 >> 2] = HEAP32[i124 + 8 >> 2];
+ HEAP32[i29 + 12 >> 2] = HEAP32[i124 + 12 >> 2];
+ d144 = +HEAPF32[i50 >> 2];
+ d141 = +HEAPF32[i51 >> 2];
+ d139 = +HEAPF32[i52 >> 2];
+ d142 = d144 * d144 + d141 * d141 + d139 * d139;
+ if (d142 < 1.0e-4) {
+ HEAP32[i54 >> 2] = 5;
+ }
+ if (d142 > 1.4210854715202004e-14) {
+ d143 = 1.0 / +Math_sqrt(+d142);
+ HEAPF32[i23 >> 2] = d143 * +HEAPF32[i23 >> 2];
+ HEAPF32[i24 >> 2] = d143 * +HEAPF32[i24 >> 2];
+ HEAPF32[i25 >> 2] = d143 * +HEAPF32[i25 >> 2];
+ d142 = +Math_sqrt(+d153);
+ d146 = d48 / d142;
+ i125 = i7 | 0;
+ HEAPF32[i125 >> 2] = +HEAPF32[i125 >> 2] - d144 * d146;
+ i125 = i7 + 4 | 0;
+ HEAPF32[i125 >> 2] = +HEAPF32[i125 >> 2] - d141 * d146;
+ i125 = i7 + 8 | 0;
+ HEAPF32[i125 >> 2] = +HEAPF32[i125 >> 2] - d139 * d146;
+ d146 = d40 / d142;
+ i125 = i8 | 0;
+ HEAPF32[i125 >> 2] = d144 * d146 + +HEAPF32[i125 >> 2];
+ i125 = i8 + 4 | 0;
+ HEAPF32[i125 >> 2] = d141 * d146 + +HEAPF32[i125 >> 2];
+ i125 = i8 + 8 | 0;
+ HEAPF32[i125 >> 2] = d139 * d146 + +HEAPF32[i125 >> 2];
+ HEAP32[i55 >> 2] = 1;
+ d148 = 1.0 / d143 - d46;
+ i149 = 1;
+ break;
+ } else {
+ HEAP32[i55 >> 2] = 2;
+ d148 = 0.0;
+ i149 = 0;
+ break;
+ }
+ }
+ } while (0);
+ do {
+ if ((HEAP32[i1 + 72 >> 2] | 0) == 0) {
+ i154 = 0;
+ } else {
+ if ((HEAP32[i1 + 20 >> 2] | 0) == 0) {
+ i154 = 0;
+ break;
+ }
+ if ((HEAP32[i54 >> 2] | 0) == 0) {
+ i154 = 0;
+ break;
+ }
+ i154 = d46 + d148 < .01;
+ }
+ } while (0);
+ i54 = i149 ^ 1;
+ do {
+ if (i154 | i54) {
+ i125 = HEAP32[i1 + 20 >> 2] | 0;
+ if ((i125 | 0) == 0) {
+ i140 = 1356;
+ break;
+ }
+ HEAP32[2994] = (HEAP32[2994] | 0) + 1;
+ _memset(i124 | 0, 0, 16);
+ if (!(FUNCTION_TABLE_iiiiiiiiiiii[HEAP32[(HEAP32[i125 >> 2] | 0) + 8 >> 2] & 7](i125, HEAP32[i56 >> 2] | 0, HEAP32[i28 >> 2] | 0, HEAP32[i32 >> 2] | 0, i9, i10, i49, i19, i20, i4, HEAP32[i2 + 132 >> 2] | 0) | 0)) {
+ d153 = +HEAPF32[i50 >> 2];
+ d143 = +HEAPF32[i51 >> 2];
+ d146 = +HEAPF32[i52 >> 2];
+ if (d153 * d153 + d143 * d143 + d146 * d146 <= 0.0) {
+ i140 = 1356;
+ break;
+ }
+ d139 = +HEAPF32[i19 >> 2] - +HEAPF32[i20 >> 2];
+ d141 = +HEAPF32[i19 + 4 >> 2] - +HEAPF32[i20 + 4 >> 2];
+ d144 = +HEAPF32[i19 + 8 >> 2] - +HEAPF32[i20 + 8 >> 2];
+ d142 = +Math_sqrt(+(d139 * d139 + d141 * d141 + d144 * d144)) - d46;
+ if (d142 < d148 | i54) {
+ i125 = i7;
+ i39 = i19;
+ HEAP32[i125 >> 2] = HEAP32[i39 >> 2];
+ HEAP32[i125 + 4 >> 2] = HEAP32[i39 + 4 >> 2];
+ HEAP32[i125 + 8 >> 2] = HEAP32[i39 + 8 >> 2];
+ HEAP32[i125 + 12 >> 2] = HEAP32[i39 + 12 >> 2];
+ i39 = i8;
+ i125 = i20;
+ HEAP32[i39 >> 2] = HEAP32[i125 >> 2];
+ HEAP32[i39 + 4 >> 2] = HEAP32[i125 + 4 >> 2];
+ HEAP32[i39 + 8 >> 2] = HEAP32[i125 + 8 >> 2];
+ HEAP32[i39 + 12 >> 2] = HEAP32[i125 + 12 >> 2];
+ i125 = i7 | 0;
+ HEAPF32[i125 >> 2] = +HEAPF32[i125 >> 2] - d48 * d153;
+ i125 = i7 + 4 | 0;
+ HEAPF32[i125 >> 2] = +HEAPF32[i125 >> 2] - d48 * d143;
+ i125 = i7 + 8 | 0;
+ HEAPF32[i125 >> 2] = +HEAPF32[i125 >> 2] - d48 * d146;
+ i125 = i8 | 0;
+ HEAPF32[i125 >> 2] = d40 * d153 + +HEAPF32[i125 >> 2];
+ i125 = i8 + 4 | 0;
+ HEAPF32[i125 >> 2] = d40 * d143 + +HEAPF32[i125 >> 2];
+ i125 = i8 + 8 | 0;
+ HEAPF32[i125 >> 2] = d40 * d146 + +HEAPF32[i125 >> 2];
+ HEAP32[i29 >> 2] = HEAP32[i124 >> 2];
+ HEAP32[i29 + 4 >> 2] = HEAP32[i124 + 4 >> 2];
+ HEAP32[i29 + 8 >> 2] = HEAP32[i124 + 8 >> 2];
+ HEAP32[i29 + 12 >> 2] = HEAP32[i124 + 12 >> 2];
+ d146 = +HEAPF32[i23 >> 2];
+ d143 = +HEAPF32[i24 >> 2];
+ d153 = +HEAPF32[i25 >> 2];
+ d144 = 1.0 / +Math_sqrt(+(d146 * d146 + d143 * d143 + d153 * d153));
+ HEAPF32[i23 >> 2] = d146 * d144;
+ HEAPF32[i24 >> 2] = d143 * d144;
+ HEAPF32[i25 >> 2] = d153 * d144;
+ HEAP32[i55 >> 2] = 6;
+ d155 = d142;
+ break;
+ }
+ HEAP32[i55 >> 2] = 5;
+ if (i149) {
+ d155 = d148;
+ break;
+ }
+ STACKTOP = i5;
+ return;
+ }
+ d142 = +HEAPF32[i20 >> 2];
+ d144 = +HEAPF32[i19 >> 2];
+ d153 = d142 - d144;
+ d143 = +HEAPF32[i20 + 4 >> 2];
+ d146 = +HEAPF32[i19 + 4 >> 2];
+ d141 = d143 - d146;
+ d139 = +HEAPF32[i20 + 8 >> 2];
+ d145 = +HEAPF32[i19 + 8 >> 2];
+ d36 = d139 - d145;
+ d34 = d153 * d153 + d141 * d141 + d36 * d36;
+ if (d34 > 1.4210854715202004e-14) {
+ d156 = d34;
+ d157 = d153;
+ d158 = d141;
+ d159 = d36;
+ d160 = 0.0;
+ } else {
+ d36 = +HEAPF32[i1 + 4 >> 2];
+ d141 = +HEAPF32[i51 >> 2];
+ d153 = +HEAPF32[i52 >> 2];
+ d156 = d36 * d36 + d141 * d141 + d153 * d153;
+ d157 = d36;
+ d158 = d141;
+ d159 = d153;
+ d160 = +HEAPF32[i53 >> 2];
+ }
+ if (d156 <= 1.4210854715202004e-14) {
+ HEAP32[i55 >> 2] = 9;
+ if (i149) {
+ d155 = d148;
+ break;
+ }
+ STACKTOP = i5;
+ return;
+ }
+ d153 = 1.0 / +Math_sqrt(+d156);
+ d141 = d144 - d142;
+ d142 = d146 - d143;
+ d143 = d145 - d139;
+ d139 = -0.0 - +Math_sqrt(+(d141 * d141 + d142 * d142 + d143 * d143));
+ if (d148 > d139 | i54) {
+ i125 = i7;
+ i39 = i19;
+ HEAP32[i125 >> 2] = HEAP32[i39 >> 2];
+ HEAP32[i125 + 4 >> 2] = HEAP32[i39 + 4 >> 2];
+ HEAP32[i125 + 8 >> 2] = HEAP32[i39 + 8 >> 2];
+ HEAP32[i125 + 12 >> 2] = HEAP32[i39 + 12 >> 2];
+ i39 = i8;
+ i125 = i20;
+ HEAP32[i39 >> 2] = HEAP32[i125 >> 2];
+ HEAP32[i39 + 4 >> 2] = HEAP32[i125 + 4 >> 2];
+ HEAP32[i39 + 8 >> 2] = HEAP32[i125 + 8 >> 2];
+ HEAP32[i39 + 12 >> 2] = HEAP32[i125 + 12 >> 2];
+ HEAPF32[i23 >> 2] = d157 * d153;
+ HEAPF32[i24 >> 2] = d158 * d153;
+ HEAPF32[i25 >> 2] = d159 * d153;
+ HEAPF32[i26 >> 2] = d160;
+ HEAP32[i55 >> 2] = 3;
+ d155 = d139;
+ break;
+ }
+ HEAP32[i55 >> 2] = 8;
+ if (i149) {
+ d155 = d148;
+ break;
+ }
+ STACKTOP = i5;
+ return;
+ } else {
+ i140 = 1356;
+ }
+ } while (0);
+ do {
+ if ((i140 | 0) == 1356) {
+ if (i149) {
+ d155 = d148;
+ break;
+ }
+ STACKTOP = i5;
+ return;
+ }
+ } while (0);
+ do {
+ if (d155 >= 0.0) {
+ if (d155 * d155 < +HEAPF32[i120 >> 2]) {
+ break;
+ }
+ STACKTOP = i5;
+ return;
+ }
+ } while (0);
+ HEAP32[i124 >> 2] = HEAP32[i29 >> 2];
+ HEAP32[i124 + 4 >> 2] = HEAP32[i29 + 4 >> 2];
+ HEAP32[i124 + 8 >> 2] = HEAP32[i29 + 8 >> 2];
+ HEAP32[i124 + 12 >> 2] = HEAP32[i29 + 12 >> 2];
+ HEAPF32[i22 >> 2] = d155;
+ i22 = HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] | 0;
+ d148 = d42 + +HEAPF32[i8 + 4 >> 2];
+ d42 = d43 + +HEAPF32[i8 + 8 >> 2];
+ HEAPF32[i21 >> 2] = d41 + +HEAPF32[i8 >> 2];
+ HEAPF32[i21 + 4 >> 2] = d148;
+ HEAPF32[i21 + 8 >> 2] = d42;
+ HEAPF32[i21 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[i22 & 15](i3, i6, i21, d155);
+ STACKTOP = i5;
+ return;
+}
+function __ZN16btCollisionWorld15debugDrawObjectERK11btTransformPK16btCollisionShapeRK9btVector3(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, d61 = 0.0, d62 = 0.0, d63 = 0.0, d64 = 0.0, d65 = 0.0, d66 = 0.0, d67 = 0.0, d68 = 0.0, d69 = 0.0, d70 = 0.0, d71 = 0.0, d72 = 0.0, i73 = 0, d74 = 0.0, d75 = 0.0, d76 = 0.0, d77 = 0.0, d78 = 0.0, d79 = 0.0, d80 = 0.0, d81 = 0.0, d82 = 0.0, d83 = 0.0, d84 = 0.0, d85 = 0.0, d86 = 0.0, i87 = 0, i88 = 0, d89 = 0.0, d90 = 0.0, d91 = 0.0, i92 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 576 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 64 | 0;
+ i8 = i5 + 80 | 0;
+ i9 = i5 + 96 | 0;
+ i10 = i5 + 160 | 0;
+ i11 = i5 + 176 | 0;
+ i12 = i5 + 192 | 0;
+ i13 = i5 + 208 | 0;
+ i14 = i5 + 304 | 0;
+ i15 = i5 + 320 | 0;
+ i16 = i5 + 336 | 0;
+ i17 = i5 + 432 | 0;
+ i18 = i5 + 448 | 0;
+ i19 = i5 + 464 | 0;
+ i20 = i5 + 480 | 0;
+ i21 = i5 + 496 | 0;
+ i22 = i5 + 512 | 0;
+ i23 = i5 + 528 | 0;
+ i24 = i5 + 544 | 0;
+ i25 = i5 + 560 | 0;
+ i26 = i1;
+ i27 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i27 >> 2] | 0) + 56 >> 2] & 3](i27, i2, 1.0);
+ i27 = i3 + 4 | 0;
+ i28 = HEAP32[i27 >> 2] | 0;
+ switch (i28 | 0) {
+ case 31:
+ {
+ i29 = HEAP32[i3 + 16 >> 2] | 0;
+ if ((i29 | 0) <= 0) {
+ STACKTOP = i5;
+ return;
+ }
+ i30 = i3 + 24 | 0;
+ i31 = i1;
+ i32 = i2 | 0;
+ i33 = i2 + 4 | 0;
+ i34 = i2 + 8 | 0;
+ i35 = i2 + 16 | 0;
+ i36 = i2 + 20 | 0;
+ i37 = i2 + 24 | 0;
+ i38 = i2 + 32 | 0;
+ i39 = i2 + 36 | 0;
+ i40 = i2 + 40 | 0;
+ i41 = i2 + 48 | 0;
+ i42 = i2 + 52 | 0;
+ i43 = i2 + 56 | 0;
+ i44 = i6 | 0;
+ i45 = i6 + 4 | 0;
+ i46 = i6 + 8 | 0;
+ i47 = i6 + 12 | 0;
+ i48 = i6 + 16 | 0;
+ i49 = i6 + 20 | 0;
+ i50 = i6 + 24 | 0;
+ i51 = i6 + 28 | 0;
+ i52 = i6 + 32 | 0;
+ i53 = i6 + 36 | 0;
+ i54 = i6 + 40 | 0;
+ i55 = i6 + 44 | 0;
+ i56 = i6 + 48 | 0;
+ i57 = i6 + 52 | 0;
+ i58 = i6 + 56 | 0;
+ i59 = i6 + 60 | 0;
+ i60 = i29;
+ do {
+ i60 = i60 - 1 | 0;
+ i29 = HEAP32[i30 >> 2] | 0;
+ d61 = +HEAPF32[i29 + (i60 * 80 | 0) >> 2];
+ d62 = +HEAPF32[i29 + (i60 * 80 | 0) + 4 >> 2];
+ d63 = +HEAPF32[i29 + (i60 * 80 | 0) + 8 >> 2];
+ d64 = +HEAPF32[i29 + (i60 * 80 | 0) + 16 >> 2];
+ d65 = +HEAPF32[i29 + (i60 * 80 | 0) + 20 >> 2];
+ d66 = +HEAPF32[i29 + (i60 * 80 | 0) + 24 >> 2];
+ d67 = +HEAPF32[i29 + (i60 * 80 | 0) + 32 >> 2];
+ d68 = +HEAPF32[i29 + (i60 * 80 | 0) + 36 >> 2];
+ d69 = +HEAPF32[i29 + (i60 * 80 | 0) + 40 >> 2];
+ d70 = +HEAPF32[i29 + (i60 * 80 | 0) + 48 >> 2];
+ d71 = +HEAPF32[i29 + (i60 * 80 | 0) + 52 >> 2];
+ d72 = +HEAPF32[i29 + (i60 * 80 | 0) + 56 >> 2];
+ i73 = HEAP32[i29 + (i60 * 80 | 0) + 64 >> 2] | 0;
+ i29 = HEAP32[(HEAP32[i31 >> 2] | 0) + 24 >> 2] | 0;
+ d74 = +HEAPF32[i32 >> 2];
+ d75 = +HEAPF32[i33 >> 2];
+ d76 = +HEAPF32[i34 >> 2];
+ d77 = +HEAPF32[i35 >> 2];
+ d78 = +HEAPF32[i36 >> 2];
+ d79 = +HEAPF32[i37 >> 2];
+ d80 = +HEAPF32[i38 >> 2];
+ d81 = +HEAPF32[i39 >> 2];
+ d82 = +HEAPF32[i40 >> 2];
+ d83 = d70 * d74 + d71 * d75 + d72 * d76 + +HEAPF32[i41 >> 2];
+ d84 = d70 * d77 + d71 * d78 + d72 * d79 + +HEAPF32[i42 >> 2];
+ d85 = d70 * d80 + d71 * d81 + d72 * d82 + +HEAPF32[i43 >> 2];
+ HEAPF32[i44 >> 2] = d61 * d74 + d64 * d75 + d67 * d76;
+ HEAPF32[i45 >> 2] = d62 * d74 + d65 * d75 + d68 * d76;
+ HEAPF32[i46 >> 2] = d63 * d74 + d66 * d75 + d69 * d76;
+ HEAPF32[i47 >> 2] = 0.0;
+ HEAPF32[i48 >> 2] = d61 * d77 + d64 * d78 + d67 * d79;
+ HEAPF32[i49 >> 2] = d62 * d77 + d65 * d78 + d68 * d79;
+ HEAPF32[i50 >> 2] = d63 * d77 + d66 * d78 + d69 * d79;
+ HEAPF32[i51 >> 2] = 0.0;
+ HEAPF32[i52 >> 2] = d61 * d80 + d64 * d81 + d67 * d82;
+ HEAPF32[i53 >> 2] = d62 * d80 + d65 * d81 + d68 * d82;
+ HEAPF32[i54 >> 2] = d63 * d80 + d66 * d81 + d69 * d82;
+ HEAPF32[i55 >> 2] = 0.0;
+ HEAPF32[i56 >> 2] = d83;
+ HEAPF32[i57 >> 2] = d84;
+ HEAPF32[i58 >> 2] = d85;
+ HEAPF32[i59 >> 2] = 0.0;
+ FUNCTION_TABLE_viiii[i29 & 127](i1, i6, i73, i4);
+ } while ((i60 | 0) > 0);
+ STACKTOP = i5;
+ return;
+ }
+ case 0:
+ {
+ i60 = i7;
+ i6 = i3 + 28 | 0;
+ HEAP32[i60 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i60 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i60 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i60 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i6 = i3;
+ i60 = i3;
+ d85 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i60 >> 2] | 0) + 44 >> 2] & 7](i6);
+ d84 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i60 >> 2] | 0) + 44 >> 2] & 7](i6);
+ d83 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i60 >> 2] | 0) + 44 >> 2] & 7](i6);
+ i6 = i7 | 0;
+ d82 = d85 + +HEAPF32[i6 >> 2];
+ HEAPF32[i6 >> 2] = d82;
+ i6 = i7 + 4 | 0;
+ d85 = d84 + +HEAPF32[i6 >> 2];
+ HEAPF32[i6 >> 2] = d85;
+ i6 = i7 + 8 | 0;
+ d84 = d83 + +HEAPF32[i6 >> 2];
+ HEAPF32[i6 >> 2] = d84;
+ i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ i60 = HEAP32[(HEAP32[i6 >> 2] | 0) + 72 >> 2] | 0;
+ HEAPF32[i8 >> 2] = -0.0 - d82;
+ HEAPF32[i8 + 4 >> 2] = -0.0 - d85;
+ HEAPF32[i8 + 8 >> 2] = -0.0 - d84;
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiiii[i60 & 63](i6, i8, i7, i2, i4);
+ STACKTOP = i5;
+ return;
+ }
+ case 8:
+ {
+ d84 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i3 >> 2] | 0) + 44 >> 2] & 7](i3);
+ i7 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ FUNCTION_TABLE_vifii[HEAP32[(HEAP32[i7 >> 2] | 0) + 16 >> 2] & 1](i7, d84, i2, i4);
+ STACKTOP = i5;
+ return;
+ }
+ case 9:
+ {
+ i7 = HEAP32[i3 + 92 >> 2] | 0;
+ if ((i7 | 0) <= 0) {
+ STACKTOP = i5;
+ return;
+ }
+ i8 = i3 + 100 | 0;
+ i6 = i3 + 120 | 0;
+ i60 = i2 | 0;
+ i59 = i2 + 4 | 0;
+ i58 = i2 + 8 | 0;
+ i57 = i2 + 16 | 0;
+ i56 = i2 + 20 | 0;
+ i55 = i2 + 24 | 0;
+ i54 = i2 + 32 | 0;
+ i53 = i2 + 36 | 0;
+ i52 = i2 + 40 | 0;
+ i51 = i2 + 48 | 0;
+ i50 = i2 + 52 | 0;
+ i49 = i2 + 56 | 0;
+ i48 = i9 | 0;
+ i47 = i9 + 4 | 0;
+ i46 = i9 + 8 | 0;
+ i45 = i9 + 12 | 0;
+ i44 = i9 + 16 | 0;
+ i43 = i9 + 20 | 0;
+ i42 = i9 + 24 | 0;
+ i41 = i9 + 28 | 0;
+ i40 = i9 + 32 | 0;
+ i39 = i9 + 36 | 0;
+ i38 = i9 + 40 | 0;
+ i37 = i9 + 44 | 0;
+ i36 = i9 + 48 | 0;
+ i35 = i9 + 52 | 0;
+ i34 = i9 + 56 | 0;
+ i33 = i9 + 60 | 0;
+ i32 = i7;
+ do {
+ i32 = i32 - 1 | 0;
+ i7 = HEAP32[i8 >> 2] | 0;
+ d84 = +HEAPF32[i7 + (i32 << 4) >> 2];
+ d85 = +HEAPF32[i7 + (i32 << 4) + 4 >> 2];
+ d82 = +HEAPF32[i7 + (i32 << 4) + 8 >> 2];
+ i7 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ i31 = HEAP32[(HEAP32[i7 >> 2] | 0) + 16 >> 2] | 0;
+ d83 = +HEAPF32[(HEAP32[i6 >> 2] | 0) + (i32 << 2) >> 2];
+ d69 = +HEAPF32[i60 >> 2];
+ d81 = +HEAPF32[i59 >> 2];
+ d66 = d81 * 0.0;
+ d80 = +HEAPF32[i58 >> 2];
+ d63 = d80 * 0.0;
+ d68 = d69 * 0.0;
+ d65 = +HEAPF32[i57 >> 2];
+ d62 = +HEAPF32[i56 >> 2];
+ d67 = d62 * 0.0;
+ d64 = +HEAPF32[i55 >> 2];
+ d61 = d64 * 0.0;
+ d79 = d65 * 0.0;
+ d78 = +HEAPF32[i54 >> 2];
+ d77 = +HEAPF32[i53 >> 2];
+ d76 = d77 * 0.0;
+ d75 = +HEAPF32[i52 >> 2];
+ d74 = d75 * 0.0;
+ d72 = d78 * 0.0;
+ d71 = d84 * d69 + d85 * d81 + d82 * d80 + +HEAPF32[i51 >> 2];
+ d70 = d84 * d65 + d85 * d62 + d82 * d64 + +HEAPF32[i50 >> 2];
+ d86 = d84 * d78 + d85 * d77 + d82 * d75 + +HEAPF32[i49 >> 2];
+ HEAPF32[i48 >> 2] = d69 + d66 + d63;
+ HEAPF32[i47 >> 2] = d68 + d81 + d63;
+ HEAPF32[i46 >> 2] = d80 + (d68 + d66);
+ HEAPF32[i45 >> 2] = 0.0;
+ HEAPF32[i44 >> 2] = d65 + d67 + d61;
+ HEAPF32[i43 >> 2] = d79 + d62 + d61;
+ HEAPF32[i42 >> 2] = d64 + (d79 + d67);
+ HEAPF32[i41 >> 2] = 0.0;
+ HEAPF32[i40 >> 2] = d78 + d76 + d74;
+ HEAPF32[i39 >> 2] = d72 + d77 + d74;
+ HEAPF32[i38 >> 2] = d75 + (d72 + d76);
+ HEAPF32[i37 >> 2] = 0.0;
+ HEAPF32[i36 >> 2] = d71;
+ HEAPF32[i35 >> 2] = d70;
+ HEAPF32[i34 >> 2] = d86;
+ HEAPF32[i33 >> 2] = 0.0;
+ FUNCTION_TABLE_vifii[i31 & 1](i7, d83, i9, i4);
+ } while ((i32 | 0) > 0);
+ STACKTOP = i5;
+ return;
+ }
+ case 11:
+ {
+ d83 = +HEAPF32[i3 + 56 >> 2];
+ d86 = +HEAPF32[i3 + 60 >> 2];
+ i32 = HEAP32[i3 + 68 >> 2] | 0;
+ i9 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ FUNCTION_TABLE_viffiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 84 >> 2] & 1](i9, d83, d86, i32, i2, i4);
+ STACKTOP = i5;
+ return;
+ }
+ case 10:
+ {
+ i32 = i3;
+ i9 = HEAP32[i3 + 52 >> 2] | 0;
+ d86 = +HEAPF32[i32 + 28 + (((i9 + 2 | 0) % 3 | 0) << 2) >> 2];
+ d83 = +HEAPF32[i32 + 28 + (i9 << 2) >> 2];
+ i32 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ FUNCTION_TABLE_viffiii[HEAP32[(HEAP32[i32 >> 2] | 0) + 76 >> 2] & 1](i32, d86, d83, i9, i2, i4);
+ STACKTOP = i5;
+ return;
+ }
+ case 13:
+ {
+ i9 = HEAP32[i3 + 52 >> 2] | 0;
+ d83 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i3 >> 2] | 0) + 84 >> 2] & 7](i3);
+ i32 = i10;
+ i33 = i3 + 28 | 0;
+ HEAP32[i32 >> 2] = HEAP32[i33 >> 2];
+ HEAP32[i32 + 4 >> 2] = HEAP32[i33 + 4 >> 2];
+ HEAP32[i32 + 8 >> 2] = HEAP32[i33 + 8 >> 2];
+ HEAP32[i32 + 12 >> 2] = HEAP32[i33 + 12 >> 2];
+ i33 = i3;
+ i32 = i3;
+ d86 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i32 >> 2] | 0) + 44 >> 2] & 7](i33);
+ d70 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i32 >> 2] | 0) + 44 >> 2] & 7](i33);
+ d71 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i32 >> 2] | 0) + 44 >> 2] & 7](i33);
+ i33 = i10 | 0;
+ HEAPF32[i33 >> 2] = d86 + +HEAPF32[i33 >> 2];
+ i33 = i10 + 4 | 0;
+ HEAPF32[i33 >> 2] = d70 + +HEAPF32[i33 >> 2];
+ i33 = i10 + 8 | 0;
+ HEAPF32[i33 >> 2] = d71 + +HEAPF32[i33 >> 2];
+ d71 = +HEAPF32[i10 + (i9 << 2) >> 2];
+ i10 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ FUNCTION_TABLE_viffiii[HEAP32[(HEAP32[i10 >> 2] | 0) + 80 >> 2] & 1](i10, d83, d71, i9, i2, i4);
+ STACKTOP = i5;
+ return;
+ }
+ case 28:
+ {
+ d71 = +HEAPF32[i3 + 64 >> 2];
+ i9 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ FUNCTION_TABLE_viifii[HEAP32[(HEAP32[i9 >> 2] | 0) + 88 >> 2] & 1](i9, i3 + 48 | 0, d71, i2, i4);
+ STACKTOP = i5;
+ return;
+ }
+ default:
+ {
+ if ((i28 - 21 | 0) >>> 0 < 9) {
+ HEAPF32[i11 >> 2] = 999999984306749400.0;
+ HEAPF32[i11 + 4 >> 2] = 999999984306749400.0;
+ HEAPF32[i11 + 8 >> 2] = 999999984306749400.0;
+ HEAPF32[i11 + 12 >> 2] = 0.0;
+ HEAPF32[i12 >> 2] = -999999984306749400.0;
+ HEAPF32[i12 + 4 >> 2] = -999999984306749400.0;
+ HEAPF32[i12 + 8 >> 2] = -999999984306749400.0;
+ HEAPF32[i12 + 12 >> 2] = 0.0;
+ i9 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ HEAP32[i13 >> 2] = 4216;
+ HEAP32[i13 + 4 >> 2] = 4240;
+ HEAP32[i13 + 8 >> 2] = i9;
+ i9 = i13 + 12 | 0;
+ i10 = i4;
+ HEAP32[i9 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i13 + 28 | 0;
+ i9 = i2;
+ HEAP32[i10 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i13 + 44 | 0;
+ i10 = i2 + 16 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i13 + 60 | 0;
+ i9 = i2 + 32 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i13 + 76 | 0;
+ i10 = i2 + 48 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i13 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i3 >> 2] | 0) + 60 >> 2] & 127](i3, i10, i12, i11);
+ __ZN31btInternalTriangleIndexCallbackD2Ev(i13 + 4 | 0);
+ __ZN18btTriangleCallbackD2Ev(i10);
+ i87 = HEAP32[i27 >> 2] | 0;
+ } else {
+ i87 = i28;
+ }
+ if ((i87 | 0) == 3) {
+ HEAPF32[i14 >> 2] = 999999984306749400.0;
+ HEAPF32[i14 + 4 >> 2] = 999999984306749400.0;
+ HEAPF32[i14 + 8 >> 2] = 999999984306749400.0;
+ HEAPF32[i14 + 12 >> 2] = 0.0;
+ HEAPF32[i15 >> 2] = -999999984306749400.0;
+ HEAPF32[i15 + 4 >> 2] = -999999984306749400.0;
+ HEAPF32[i15 + 8 >> 2] = -999999984306749400.0;
+ HEAPF32[i15 + 12 >> 2] = 0.0;
+ i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ HEAP32[i16 >> 2] = 4216;
+ HEAP32[i16 + 4 >> 2] = 4240;
+ HEAP32[i16 + 8 >> 2] = i28;
+ i28 = i16 + 12 | 0;
+ i10 = i4;
+ HEAP32[i28 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i28 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i28 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i28 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i16 + 28 | 0;
+ i28 = i2;
+ HEAP32[i10 >> 2] = HEAP32[i28 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i28 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i28 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i28 + 12 >> 2];
+ i28 = i16 + 44 | 0;
+ i10 = i2 + 16 | 0;
+ HEAP32[i28 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i28 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i28 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i28 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i16 + 60 | 0;
+ i28 = i2 + 32 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i28 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i28 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i28 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i28 + 12 >> 2];
+ i28 = i16 + 76 | 0;
+ i10 = i2 + 48 | 0;
+ HEAP32[i28 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i28 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i28 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i28 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = HEAP32[i3 + 92 >> 2] | 0;
+ i28 = i16 + 4 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i10 >> 2] | 0) + 8 >> 2] & 127](i10, i28, i15, i14);
+ __ZN31btInternalTriangleIndexCallbackD2Ev(i28);
+ __ZN18btTriangleCallbackD2Ev(i16 | 0);
+ i88 = HEAP32[i27 >> 2] | 0;
+ } else {
+ i88 = i87;
+ }
+ if ((i88 | 0) >= 7) {
+ STACKTOP = i5;
+ return;
+ }
+ i88 = i3;
+ i87 = HEAP32[i3 + 52 >> 2] | 0;
+ if ((i87 | 0) == 0) {
+ i27 = i3;
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i27 >> 2] | 0) + 92 >> 2] & 127](i88) | 0) <= 0) {
+ STACKTOP = i5;
+ return;
+ }
+ i16 = i3;
+ i3 = i2 | 0;
+ i28 = i22 | 0;
+ i14 = i2 + 4 | 0;
+ i15 = i22 + 4 | 0;
+ i10 = i2 + 8 | 0;
+ i13 = i22 + 8 | 0;
+ i11 = i2 + 48 | 0;
+ i12 = i2 + 16 | 0;
+ i9 = i2 + 20 | 0;
+ i33 = i2 + 24 | 0;
+ i32 = i2 + 52 | 0;
+ i34 = i2 + 32 | 0;
+ i35 = i2 + 36 | 0;
+ i36 = i2 + 40 | 0;
+ i37 = i2 + 56 | 0;
+ i38 = i24 | 0;
+ i39 = i24 + 4 | 0;
+ i40 = i24 + 8 | 0;
+ i41 = i24 + 12 | 0;
+ i42 = i23 | 0;
+ i43 = i23 + 4 | 0;
+ i44 = i23 + 8 | 0;
+ i45 = i25 | 0;
+ i46 = i25 + 4 | 0;
+ i47 = i25 + 8 | 0;
+ i48 = i25 + 12 | 0;
+ i49 = 0;
+ do {
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i16 >> 2] | 0) + 96 >> 2] & 127](i88, i49, i22, i23);
+ d71 = +HEAPF32[i3 >> 2];
+ d83 = +HEAPF32[i28 >> 2];
+ d70 = +HEAPF32[i14 >> 2];
+ d86 = +HEAPF32[i15 >> 2];
+ d76 = +HEAPF32[i10 >> 2];
+ d72 = +HEAPF32[i13 >> 2];
+ d75 = +HEAPF32[i11 >> 2];
+ d74 = +HEAPF32[i12 >> 2];
+ d77 = +HEAPF32[i9 >> 2];
+ d78 = +HEAPF32[i33 >> 2];
+ d67 = +HEAPF32[i32 >> 2];
+ d79 = +HEAPF32[i34 >> 2];
+ d64 = +HEAPF32[i35 >> 2];
+ d61 = +HEAPF32[i36 >> 2];
+ d62 = +HEAPF32[i37 >> 2];
+ HEAPF32[i38 >> 2] = d75 + (d71 * d83 + d70 * d86 + d76 * d72);
+ HEAPF32[i39 >> 2] = d67 + (d83 * d74 + d86 * d77 + d72 * d78);
+ HEAPF32[i40 >> 2] = d62 + (d83 * d79 + d86 * d64 + d72 * d61);
+ HEAPF32[i41 >> 2] = 0.0;
+ d72 = +HEAPF32[i42 >> 2];
+ d86 = +HEAPF32[i43 >> 2];
+ d83 = +HEAPF32[i44 >> 2];
+ HEAPF32[i45 >> 2] = d75 + (d71 * d72 + d70 * d86 + d76 * d83);
+ HEAPF32[i46 >> 2] = d67 + (d74 * d72 + d77 * d86 + d78 * d83);
+ HEAPF32[i47 >> 2] = d62 + (d79 * d72 + d64 * d86 + d61 * d83);
+ HEAPF32[i48 >> 2] = 0.0;
+ i50 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i50 >> 2] | 0) + 8 >> 2] & 127](i50, i24, i25, i4);
+ i49 = i49 + 1 | 0;
+ } while ((i49 | 0) < (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i27 >> 2] | 0) + 92 >> 2] & 127](i88) | 0));
+ STACKTOP = i5;
+ return;
+ }
+ i88 = i87 + 28 | 0;
+ if ((HEAP32[i88 >> 2] | 0) <= 0) {
+ STACKTOP = i5;
+ return;
+ }
+ i27 = i87 + 36 | 0;
+ i49 = i19 | 0;
+ i25 = i19 + 4 | 0;
+ i24 = i19 + 8 | 0;
+ i48 = i19 + 12 | 0;
+ i47 = i2 | 0;
+ i46 = i2 + 4 | 0;
+ i45 = i2 + 8 | 0;
+ i44 = i2 + 48 | 0;
+ i43 = i2 + 16 | 0;
+ i42 = i2 + 20 | 0;
+ i41 = i2 + 24 | 0;
+ i40 = i2 + 52 | 0;
+ i39 = i2 + 32 | 0;
+ i38 = i2 + 36 | 0;
+ i37 = i2 + 40 | 0;
+ i36 = i2 + 56 | 0;
+ i2 = i20 | 0;
+ i35 = i20 + 4 | 0;
+ i34 = i20 + 8 | 0;
+ i32 = i20 + 12 | 0;
+ i33 = i21 | 0;
+ i9 = i21 + 4 | 0;
+ i12 = i21 + 8 | 0;
+ i11 = i21 + 12 | 0;
+ i13 = i87 + 16 | 0;
+ i87 = i17 | 0;
+ i10 = i17 + 4 | 0;
+ i15 = i17 + 8 | 0;
+ i14 = i17 + 12 | 0;
+ i28 = i18 | 0;
+ i3 = i18 + 4 | 0;
+ i23 = i18 + 8 | 0;
+ i22 = i18 + 12 | 0;
+ i16 = 0;
+ do {
+ i50 = HEAP32[i27 >> 2] | 0;
+ i51 = HEAP32[i50 + (i16 * 56 | 0) + 4 >> 2] | 0;
+ L252 : do {
+ if ((i51 | 0) > 0) {
+ i52 = HEAP32[i50 + (i16 * 56 | 0) + 12 >> 2] | 0;
+ d83 = 0.0;
+ d61 = 0.0;
+ d86 = 0.0;
+ i53 = HEAP32[i52 + (i51 - 1 << 2) >> 2] | 0;
+ i54 = 0;
+ i55 = i52;
+ while (1) {
+ i52 = HEAP32[i55 + (i54 << 2) >> 2] | 0;
+ i56 = HEAP32[i13 >> 2] | 0;
+ d64 = d86 + +HEAPF32[i56 + (i52 << 4) >> 2];
+ d72 = d61 + +HEAPF32[i56 + (i52 << 4) + 4 >> 2];
+ d79 = d83 + +HEAPF32[i56 + (i52 << 4) + 8 >> 2];
+ i56 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ i57 = HEAP32[(HEAP32[i56 >> 2] | 0) + 8 >> 2] | 0;
+ i58 = HEAP32[i13 >> 2] | 0;
+ d62 = +HEAPF32[i47 >> 2];
+ d78 = +HEAPF32[i58 + (i53 << 4) >> 2];
+ d77 = +HEAPF32[i46 >> 2];
+ d74 = +HEAPF32[i58 + (i53 << 4) + 4 >> 2];
+ d67 = +HEAPF32[i45 >> 2];
+ d76 = +HEAPF32[i58 + (i53 << 4) + 8 >> 2];
+ d70 = +HEAPF32[i44 >> 2];
+ d71 = +HEAPF32[i43 >> 2];
+ d75 = +HEAPF32[i42 >> 2];
+ d65 = +HEAPF32[i41 >> 2];
+ d66 = +HEAPF32[i40 >> 2];
+ d68 = +HEAPF32[i39 >> 2];
+ d80 = +HEAPF32[i38 >> 2];
+ d63 = +HEAPF32[i37 >> 2];
+ d81 = +HEAPF32[i36 >> 2];
+ HEAPF32[i87 >> 2] = d70 + (d62 * d78 + d77 * d74 + d67 * d76);
+ HEAPF32[i10 >> 2] = d66 + (d78 * d71 + d74 * d75 + d76 * d65);
+ HEAPF32[i15 >> 2] = d81 + (d78 * d68 + d74 * d80 + d76 * d63);
+ HEAPF32[i14 >> 2] = 0.0;
+ d76 = +HEAPF32[i58 + (i52 << 4) >> 2];
+ d74 = +HEAPF32[i58 + (i52 << 4) + 4 >> 2];
+ d78 = +HEAPF32[i58 + (i52 << 4) + 8 >> 2];
+ HEAPF32[i28 >> 2] = d70 + (d62 * d76 + d77 * d74 + d67 * d78);
+ HEAPF32[i3 >> 2] = d66 + (d71 * d76 + d75 * d74 + d65 * d78);
+ HEAPF32[i23 >> 2] = d81 + (d68 * d76 + d80 * d74 + d63 * d78);
+ HEAPF32[i22 >> 2] = 0.0;
+ FUNCTION_TABLE_viiii[i57 & 127](i56, i17, i18, i4);
+ i56 = i54 + 1 | 0;
+ i57 = HEAP32[i27 >> 2] | 0;
+ if ((i56 | 0) >= (HEAP32[i57 + (i16 * 56 | 0) + 4 >> 2] | 0)) {
+ d89 = d64;
+ d90 = d72;
+ d91 = d79;
+ i92 = i57;
+ break L252;
+ }
+ d83 = d79;
+ d61 = d72;
+ d86 = d64;
+ i53 = i52;
+ i54 = i56;
+ i55 = HEAP32[i57 + (i16 * 56 | 0) + 12 >> 2] | 0;
+ }
+ } else {
+ d89 = 0.0;
+ d90 = 0.0;
+ d91 = 0.0;
+ i92 = i50;
+ }
+ } while (0);
+ d86 = 1.0 / +(i51 | 0);
+ d61 = d89 * d86;
+ d83 = d90 * d86;
+ d64 = d91 * d86;
+ HEAPF32[i49 >> 2] = 1.0;
+ HEAPF32[i25 >> 2] = 1.0;
+ HEAPF32[i24 >> 2] = 0.0;
+ HEAPF32[i48 >> 2] = 0.0;
+ d86 = +HEAPF32[i92 + (i16 * 56 | 0) + 40 >> 2];
+ d72 = +HEAPF32[i92 + (i16 * 56 | 0) + 44 >> 2];
+ d79 = +HEAPF32[i92 + (i16 * 56 | 0) + 48 >> 2];
+ i50 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i26 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ i55 = HEAP32[(HEAP32[i50 >> 2] | 0) + 8 >> 2] | 0;
+ d78 = +HEAPF32[i47 >> 2];
+ d63 = +HEAPF32[i46 >> 2];
+ d74 = +HEAPF32[i45 >> 2];
+ d80 = +HEAPF32[i44 >> 2];
+ d76 = +HEAPF32[i43 >> 2];
+ d68 = +HEAPF32[i42 >> 2];
+ d81 = +HEAPF32[i41 >> 2];
+ d65 = +HEAPF32[i40 >> 2];
+ d75 = +HEAPF32[i39 >> 2];
+ d71 = +HEAPF32[i38 >> 2];
+ d66 = +HEAPF32[i37 >> 2];
+ d67 = +HEAPF32[i36 >> 2];
+ HEAPF32[i2 >> 2] = d80 + (d61 * d78 + d83 * d63 + d64 * d74);
+ HEAPF32[i35 >> 2] = d65 + (d61 * d76 + d83 * d68 + d64 * d81);
+ HEAPF32[i34 >> 2] = d67 + (d61 * d75 + d83 * d71 + d64 * d66);
+ HEAPF32[i32 >> 2] = 0.0;
+ d77 = d61 + d86;
+ d86 = d83 + d72;
+ d72 = d64 + d79;
+ HEAPF32[i33 >> 2] = d80 + (d77 * d78 + d86 * d63 + d72 * d74);
+ HEAPF32[i9 >> 2] = d65 + (d77 * d76 + d86 * d68 + d72 * d81);
+ HEAPF32[i12 >> 2] = d67 + (d77 * d75 + d86 * d71 + d72 * d66);
+ HEAPF32[i11 >> 2] = 0.0;
+ FUNCTION_TABLE_viiii[i55 & 127](i50, i20, i21, i19);
+ i16 = i16 + 1 | 0;
+ } while ((i16 | 0) < (HEAP32[i88 >> 2] | 0));
+ STACKTOP = i5;
+ return;
+ }
+ }
+}
+function __ZN20btConvexHullInternal6shrinkEff(i1, d2, d3) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ d3 = +d3;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, d15 = 0.0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0, i79 = 0, i80 = 0, i81 = 0, i82 = 0, i83 = 0, i84 = 0, i85 = 0, i86 = 0, i87 = 0, i88 = 0, i89 = 0, i90 = 0, i91 = 0, i92 = 0, i93 = 0, i94 = 0, i95 = 0, i96 = 0, i97 = 0, i98 = 0, i99 = 0, i100 = 0, i101 = 0, i102 = 0, i103 = 0, i104 = 0, i105 = 0, i106 = 0, i107 = 0, i108 = 0, i109 = 0, i110 = 0, i111 = 0, i112 = 0, i113 = 0, i114 = 0, i115 = 0, i116 = 0, i117 = 0, i118 = 0, i119 = 0, i120 = 0, i121 = 0, i122 = 0, i123 = 0, i124 = 0, i125 = 0, i126 = 0, i127 = 0, i128 = 0, i129 = 0, i130 = 0, i131 = 0, i132 = 0, i133 = 0, i134 = 0, i135 = 0, i136 = 0, i137 = 0, i138 = 0, i139 = 0, i140 = 0, i141 = 0, i142 = 0, i143 = 0, i144 = 0, i145 = 0, i146 = 0, i147 = 0, i148 = 0, i149 = 0, i150 = 0, i151 = 0, i152 = 0, i153 = 0, i154 = 0, i155 = 0, i156 = 0, i157 = 0, i158 = 0, i159 = 0, i160 = 0, i161 = 0, i162 = 0, i163 = 0, i164 = 0, i165 = 0, i166 = 0, i167 = 0, i168 = 0, i169 = 0, i170 = 0, i171 = 0, i172 = 0, d173 = 0.0, d174 = 0.0, d175 = 0.0, d176 = 0.0, d177 = 0.0, d178 = 0.0, d179 = 0.0, d180 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 136 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 16 | 0;
+ i7 = i4 + 32 | 0;
+ i8 = i4 + 48 | 0;
+ i9 = i4 + 64 | 0;
+ i10 = i4 + 80 | 0;
+ i11 = i4 + 96 | 0;
+ i12 = i4 + 112 | 0;
+ i13 = i1 + 124 | 0;
+ i14 = HEAP32[i13 >> 2] | 0;
+ if ((i14 | 0) == 0) {
+ d15 = 0.0;
+ STACKTOP = i4;
+ return +d15;
+ }
+ i16 = i1 + 100 | 0;
+ i17 = (HEAP32[i16 >> 2] | 0) - 1 | 0;
+ HEAP32[i16 >> 2] = i17;
+ HEAP32[i14 + 104 >> 2] = i17;
+ i14 = __Z22btAlignedAllocInternalji(4, 16) | 0;
+ i16 = i14;
+ if ((i14 | 0) != 0) {
+ HEAP32[i16 >> 2] = HEAP32[i13 >> 2];
+ }
+ i14 = HEAP32[i13 >> 2] | 0;
+ i13 = HEAP32[i14 + 88 >> 2] | 0;
+ i18 = HEAP32[i14 + 92 >> 2] | 0;
+ i19 = HEAP32[i14 + 96 >> 2] | 0;
+ i14 = i6 | 0;
+ i20 = i6 + 8 | 0;
+ i21 = i7 | 0;
+ _memset(i6 | 0, 0, 16);
+ i22 = i7 + 8 | 0;
+ i23 = i8 | 0;
+ _memset(i7 | 0, 0, 16);
+ i24 = i8 + 8 | 0;
+ i25 = i9 | 0;
+ _memset(i8 | 0, 0, 16);
+ i26 = i9 + 8 | 0;
+ i27 = i1 + 64 | 0;
+ _memset(i9 | 0, 0, 16);
+ i28 = 0;
+ i29 = 0;
+ i30 = 0;
+ i31 = 1;
+ i32 = 1;
+ i33 = i16;
+ i16 = 0;
+ i34 = 0;
+ i35 = 0;
+ i36 = 0;
+ i37 = 0;
+ i38 = 0;
+ i39 = 0;
+ i40 = 0;
+ i41 = 0;
+ i42 = 0;
+ i43 = 0;
+ i44 = 0;
+ i45 = 0;
+ i46 = 0;
+ i47 = 0;
+ i48 = 0;
+ L1498 : while (1) {
+ i49 = i31;
+ while (1) {
+ if ((i49 | 0) <= 0) {
+ break L1498;
+ }
+ i50 = i49 - 1 | 0;
+ i51 = HEAP32[i33 + (i50 << 2) >> 2] | 0;
+ i52 = i51 + 8 | 0;
+ i53 = HEAP32[i52 >> 2] | 0;
+ if ((i53 | 0) == 0) {
+ i49 = i50;
+ } else {
+ break;
+ }
+ }
+ i54 = i51 + 88 | 0;
+ i55 = i51 + 92 | 0;
+ i56 = i51 + 96 | 0;
+ i57 = i53;
+ i58 = i28;
+ i59 = i29;
+ i60 = i30;
+ i61 = i50;
+ i62 = i32;
+ i63 = i33;
+ i64 = i16;
+ i65 = i34;
+ i66 = i35;
+ i67 = i36;
+ i68 = i37;
+ i69 = i38;
+ i70 = i39;
+ i71 = i40;
+ i72 = i41;
+ i73 = i42;
+ i74 = i43;
+ i75 = i44;
+ i76 = i45;
+ i77 = i46;
+ i78 = i47;
+ i79 = i48;
+ while (1) {
+ i80 = i57 + 12 | 0;
+ i81 = (HEAP32[i80 >> 2] | 0) + 104 | 0;
+ if ((HEAP32[i81 >> 2] | 0) == (i17 | 0)) {
+ i82 = i61;
+ i83 = i62;
+ i84 = i63;
+ } else {
+ HEAP32[i81 >> 2] = i17;
+ do {
+ if ((i61 | 0) == (i62 | 0)) {
+ i81 = (i62 | 0) == 0 ? 1 : i62 << 1;
+ if ((i62 | 0) >= (i81 | 0)) {
+ i85 = i62;
+ i86 = i63;
+ break;
+ }
+ if ((i81 | 0) == 0) {
+ i87 = 0;
+ } else {
+ i87 = __Z22btAlignedAllocInternalji(i81 << 2, 16) | 0;
+ }
+ if ((i62 | 0) > 0) {
+ i88 = 0;
+ do {
+ i89 = i87 + (i88 << 2) | 0;
+ if ((i89 | 0) != 0) {
+ HEAP32[i89 >> 2] = HEAP32[i63 + (i88 << 2) >> 2];
+ }
+ i88 = i88 + 1 | 0;
+ } while ((i88 | 0) < (i62 | 0));
+ }
+ if ((i63 | 0) == 0) {
+ i85 = i81;
+ i86 = i87;
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i63);
+ i85 = i81;
+ i86 = i87;
+ } else {
+ i85 = i62;
+ i86 = i63;
+ }
+ } while (0);
+ i88 = i86 + (i61 << 2) | 0;
+ if ((i88 | 0) != 0) {
+ HEAP32[i88 >> 2] = HEAP32[i80 >> 2];
+ }
+ i82 = i61 + 1 | 0;
+ i83 = i85;
+ i84 = i86;
+ }
+ if ((HEAP32[i57 + 20 >> 2] | 0) == (i17 | 0)) {
+ i90 = i58;
+ i91 = i59;
+ i92 = i60;
+ i93 = i64;
+ i94 = i65;
+ i95 = i66;
+ i96 = i67;
+ i97 = i68;
+ i98 = i69;
+ i99 = i70;
+ i100 = i71;
+ i101 = i72;
+ i102 = i73;
+ i103 = i74;
+ i104 = i75;
+ i105 = i76;
+ i106 = i77;
+ i107 = i78;
+ i108 = i79;
+ } else {
+ i88 = __ZN20btConvexHullInternal4PoolINS_4FaceEE9newObjectEv(i27) | 0;
+ i89 = HEAP32[i80 >> 2] | 0;
+ i109 = HEAP32[(HEAP32[(HEAP32[i57 + 8 >> 2] | 0) + 4 >> 2] | 0) + 12 >> 2] | 0;
+ HEAP32[i88 + 4 >> 2] = i89;
+ i110 = i88 + 12 | 0;
+ i111 = i89 + 88 | 0;
+ HEAP32[i110 >> 2] = HEAP32[i111 >> 2];
+ HEAP32[i110 + 4 >> 2] = HEAP32[i111 + 4 >> 2];
+ HEAP32[i110 + 8 >> 2] = HEAP32[i111 + 8 >> 2];
+ HEAP32[i110 + 12 >> 2] = HEAP32[i111 + 12 >> 2];
+ i111 = i89 + 88 | 0;
+ i110 = i89 + 92 | 0;
+ i112 = (HEAP32[i109 + 92 >> 2] | 0) - (HEAP32[i110 >> 2] | 0) | 0;
+ i113 = i89 + 96 | 0;
+ i114 = (HEAP32[i109 + 96 >> 2] | 0) - (HEAP32[i113 >> 2] | 0) | 0;
+ HEAP32[i88 + 28 >> 2] = (HEAP32[i109 + 88 >> 2] | 0) - (HEAP32[i111 >> 2] | 0);
+ HEAP32[i88 + 32 >> 2] = i112;
+ HEAP32[i88 + 36 >> 2] = i114;
+ HEAP32[i88 + 40 >> 2] = -1;
+ i114 = (HEAP32[i55 >> 2] | 0) - (HEAP32[i110 >> 2] | 0) | 0;
+ i110 = (HEAP32[i56 >> 2] | 0) - (HEAP32[i113 >> 2] | 0) | 0;
+ HEAP32[i88 + 44 >> 2] = (HEAP32[i54 >> 2] | 0) - (HEAP32[i111 >> 2] | 0);
+ HEAP32[i88 + 48 >> 2] = i114;
+ HEAP32[i88 + 52 >> 2] = i110;
+ HEAP32[i88 + 56 >> 2] = -1;
+ i110 = i89 + 16 | 0;
+ i114 = HEAP32[i110 >> 2] | 0;
+ if ((i114 | 0) == 0) {
+ HEAP32[i89 + 12 >> 2] = i88;
+ } else {
+ HEAP32[i114 + 8 >> 2] = i88;
+ }
+ HEAP32[i110 >> 2] = i88;
+ do {
+ if ((i58 | 0) == (i59 | 0)) {
+ i110 = (i59 | 0) == 0 ? 1 : i59 << 1;
+ if ((i59 | 0) >= (i110 | 0)) {
+ i115 = i59;
+ i116 = i60;
+ break;
+ }
+ if ((i110 | 0) == 0) {
+ i117 = 0;
+ } else {
+ i117 = __Z22btAlignedAllocInternalji(i110 << 2, 16) | 0;
+ }
+ if ((i59 | 0) > 0) {
+ i114 = 0;
+ do {
+ i89 = i117 + (i114 << 2) | 0;
+ if ((i89 | 0) != 0) {
+ HEAP32[i89 >> 2] = HEAP32[i60 + (i114 << 2) >> 2];
+ }
+ i114 = i114 + 1 | 0;
+ } while ((i114 | 0) < (i59 | 0));
+ }
+ if ((i60 | 0) == 0) {
+ i115 = i110;
+ i116 = i117;
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i60);
+ i115 = i110;
+ i116 = i117;
+ } else {
+ i115 = i59;
+ i116 = i60;
+ }
+ } while (0);
+ i80 = i116 + (i58 << 2) | 0;
+ if ((i80 | 0) == 0) {
+ i118 = 0;
+ i119 = 0;
+ i120 = i57;
+ i121 = i64;
+ i122 = i65;
+ i123 = i66;
+ i124 = i67;
+ i125 = i68;
+ i126 = i69;
+ i127 = i70;
+ i128 = i71;
+ i129 = i72;
+ i130 = i73;
+ i131 = i74;
+ i132 = i75;
+ i133 = i76;
+ i134 = i77;
+ i135 = i78;
+ i136 = i79;
+ } else {
+ HEAP32[i80 >> 2] = i88;
+ i118 = 0;
+ i119 = 0;
+ i120 = i57;
+ i121 = i64;
+ i122 = i65;
+ i123 = i66;
+ i124 = i67;
+ i125 = i68;
+ i126 = i69;
+ i127 = i70;
+ i128 = i71;
+ i129 = i72;
+ i130 = i73;
+ i131 = i74;
+ i132 = i75;
+ i133 = i76;
+ i134 = i77;
+ i135 = i78;
+ i136 = i79;
+ }
+ while (1) {
+ if ((i119 | 0) == 0 | (i118 | 0) == 0) {
+ i137 = i121;
+ i138 = i122;
+ i139 = i123;
+ i140 = i124;
+ i141 = i125;
+ i142 = i126;
+ i143 = i127;
+ i144 = i128;
+ i145 = i129;
+ i146 = i130;
+ i147 = i131;
+ i148 = i132;
+ i149 = i133;
+ i150 = i134;
+ i151 = i135;
+ i152 = i136;
+ } else {
+ i80 = HEAP32[i54 >> 2] | 0;
+ i114 = i80 - i13 | 0;
+ i81 = HEAP32[i55 >> 2] | 0;
+ i89 = i81 - i18 | 0;
+ i111 = HEAP32[i56 >> 2] | 0;
+ i113 = i111 - i19 | 0;
+ i112 = HEAP32[i119 + 88 >> 2] | 0;
+ i109 = i112 - i13 | 0;
+ i153 = HEAP32[i119 + 92 >> 2] | 0;
+ i154 = i153 - i18 | 0;
+ i155 = HEAP32[i119 + 96 >> 2] | 0;
+ i156 = i155 - i19 | 0;
+ i157 = HEAP32[i118 + 88 >> 2] | 0;
+ i158 = i157 - i13 | 0;
+ i159 = HEAP32[i118 + 92 >> 2] | 0;
+ i160 = i159 - i18 | 0;
+ i161 = HEAP32[i118 + 96 >> 2] | 0;
+ i162 = i161 - i19 | 0;
+ i163 = Math_imul(i162, i154) | 0;
+ i164 = i163 - (Math_imul(i160, i156) | 0) | 0;
+ i163 = Math_imul(i158, i156) | 0;
+ i156 = i163 - (Math_imul(i162, i109) | 0) | 0;
+ i162 = Math_imul(i160, i109) | 0;
+ i109 = i162 - (Math_imul(i158, i154) | 0) | 0;
+ i154 = ___muldi3(i164, (i164 | 0) < 0 ? -1 : 0, i114, (i114 | 0) < 0 ? -1 : 0) | 0;
+ i114 = tempRet0;
+ i164 = ___muldi3(i156, (i156 | 0) < 0 ? -1 : 0, i89, (i89 | 0) < 0 ? -1 : 0) | 0;
+ i89 = tempRet0;
+ i156 = ___muldi3(i109, (i109 | 0) < 0 ? -1 : 0, i113, (i113 | 0) < 0 ? -1 : 0) | 0;
+ i113 = _i64Add(i154, i114, i156, tempRet0) | 0;
+ i156 = _i64Add(i113, tempRet0, i164, i89) | 0;
+ i89 = tempRet0;
+ i164 = i80 + i13 + i112 + i157 | 0;
+ i157 = i81 + i18 + i153 + i159 | 0;
+ i159 = i111 + i19 + i155 + i161 | 0;
+ i161 = ___muldi3(i156, i89, i164, (i164 | 0) < 0 ? -1 : 0) | 0;
+ i164 = tempRet0;
+ i155 = _llvm_uadd_with_overflow_i64(i122 | 0, i121 | 0, i161 | 0, i164 | 0) | 0;
+ i161 = i155;
+ i155 = tempRet0;
+ if (tempRet1) {
+ i111 = _i64Add(i124, i123, 1, 0) | 0;
+ i153 = tempRet0;
+ HEAP32[i20 >> 2] = i111;
+ HEAP32[i20 + 4 >> 2] = i153;
+ i165 = i153;
+ i166 = i111;
+ } else {
+ i165 = i123;
+ i166 = i124;
+ }
+ HEAP32[i14 >> 2] = i161;
+ HEAP32[i14 + 4 >> 2] = i155;
+ i111 = _i64Add(i166, i165, i164 >> 31 | ((i164 | 0) < 0 ? -1 : 0) << 1, ((i164 | 0) < 0 ? -1 : 0) >> 31 | ((i164 | 0) < 0 ? -1 : 0) << 1) | 0;
+ i164 = tempRet0;
+ HEAP32[i20 >> 2] = i111;
+ HEAP32[i20 + 4 >> 2] = i164;
+ i153 = ___muldi3(i156, i89, i157, (i157 | 0) < 0 ? -1 : 0) | 0;
+ i157 = tempRet0;
+ i81 = _llvm_uadd_with_overflow_i64(i126 | 0, i125 | 0, i153 | 0, i157 | 0) | 0;
+ i153 = i81;
+ i81 = tempRet0;
+ if (tempRet1) {
+ i112 = _i64Add(i128, i127, 1, 0) | 0;
+ i80 = tempRet0;
+ HEAP32[i22 >> 2] = i112;
+ HEAP32[i22 + 4 >> 2] = i80;
+ i167 = i80;
+ i168 = i112;
+ } else {
+ i167 = i127;
+ i168 = i128;
+ }
+ HEAP32[i21 >> 2] = i153;
+ HEAP32[i21 + 4 >> 2] = i81;
+ i112 = _i64Add(i168, i167, i157 >> 31 | ((i157 | 0) < 0 ? -1 : 0) << 1, ((i157 | 0) < 0 ? -1 : 0) >> 31 | ((i157 | 0) < 0 ? -1 : 0) << 1) | 0;
+ i157 = tempRet0;
+ HEAP32[i22 >> 2] = i112;
+ HEAP32[i22 + 4 >> 2] = i157;
+ i80 = ___muldi3(i156, i89, i159, (i159 | 0) < 0 ? -1 : 0) | 0;
+ i159 = tempRet0;
+ i113 = _llvm_uadd_with_overflow_i64(i130 | 0, i129 | 0, i80 | 0, i159 | 0) | 0;
+ i80 = i113;
+ i113 = tempRet0;
+ if (tempRet1) {
+ i114 = _i64Add(i132, i131, 1, 0) | 0;
+ i154 = tempRet0;
+ HEAP32[i24 >> 2] = i114;
+ HEAP32[i24 + 4 >> 2] = i154;
+ i169 = i154;
+ i170 = i114;
+ } else {
+ i169 = i131;
+ i170 = i132;
+ }
+ HEAP32[i23 >> 2] = i80;
+ HEAP32[i23 + 4 >> 2] = i113;
+ i114 = _i64Add(i170, i169, i159 >> 31 | ((i159 | 0) < 0 ? -1 : 0) << 1, ((i159 | 0) < 0 ? -1 : 0) >> 31 | ((i159 | 0) < 0 ? -1 : 0) << 1) | 0;
+ i159 = tempRet0;
+ HEAP32[i24 >> 2] = i114;
+ HEAP32[i24 + 4 >> 2] = i159;
+ i154 = _llvm_uadd_with_overflow_i64(i134 | 0, i133 | 0, i156 | 0, i89 | 0) | 0;
+ i156 = i154;
+ i154 = tempRet0;
+ if (tempRet1) {
+ i109 = _i64Add(i136, i135, 1, 0) | 0;
+ i158 = tempRet0;
+ HEAP32[i26 >> 2] = i109;
+ HEAP32[i26 + 4 >> 2] = i158;
+ i171 = i158;
+ i172 = i109;
+ } else {
+ i171 = i135;
+ i172 = i136;
+ }
+ HEAP32[i25 >> 2] = i156;
+ HEAP32[i25 + 4 >> 2] = i154;
+ i109 = _i64Add(i172, i171, i89 >> 31 | ((i89 | 0) < 0 ? -1 : 0) << 1, ((i89 | 0) < 0 ? -1 : 0) >> 31 | ((i89 | 0) < 0 ? -1 : 0) << 1) | 0;
+ i89 = tempRet0;
+ HEAP32[i26 >> 2] = i109;
+ HEAP32[i26 + 4 >> 2] = i89;
+ i137 = i155;
+ i138 = i161;
+ i139 = i164;
+ i140 = i111;
+ i141 = i81;
+ i142 = i153;
+ i143 = i157;
+ i144 = i112;
+ i145 = i113;
+ i146 = i80;
+ i147 = i159;
+ i148 = i114;
+ i149 = i154;
+ i150 = i156;
+ i151 = i89;
+ i152 = i109;
+ }
+ HEAP32[i120 + 20 >> 2] = i17;
+ HEAP32[i120 + 16 >> 2] = i88;
+ i109 = HEAP32[(HEAP32[i120 + 8 >> 2] | 0) + 4 >> 2] | 0;
+ if ((i109 | 0) == (i57 | 0)) {
+ break;
+ } else {
+ i119 = i118;
+ i118 = HEAP32[i120 + 12 >> 2] | 0;
+ i120 = i109;
+ i121 = i137;
+ i122 = i138;
+ i123 = i139;
+ i124 = i140;
+ i125 = i141;
+ i126 = i142;
+ i127 = i143;
+ i128 = i144;
+ i129 = i145;
+ i130 = i146;
+ i131 = i147;
+ i132 = i148;
+ i133 = i149;
+ i134 = i150;
+ i135 = i151;
+ i136 = i152;
+ }
+ }
+ i90 = i58 + 1 | 0;
+ i91 = i115;
+ i92 = i116;
+ i93 = i137;
+ i94 = i138;
+ i95 = i139;
+ i96 = i140;
+ i97 = i141;
+ i98 = i142;
+ i99 = i143;
+ i100 = i144;
+ i101 = i145;
+ i102 = i146;
+ i103 = i147;
+ i104 = i148;
+ i105 = i149;
+ i106 = i150;
+ i107 = i151;
+ i108 = i152;
+ }
+ i88 = HEAP32[i57 >> 2] | 0;
+ if ((i88 | 0) == (HEAP32[i52 >> 2] | 0)) {
+ i28 = i90;
+ i29 = i91;
+ i30 = i92;
+ i31 = i82;
+ i32 = i83;
+ i33 = i84;
+ i16 = i93;
+ i34 = i94;
+ i35 = i95;
+ i36 = i96;
+ i37 = i97;
+ i38 = i98;
+ i39 = i99;
+ i40 = i100;
+ i41 = i101;
+ i42 = i102;
+ i43 = i103;
+ i44 = i104;
+ i45 = i105;
+ i46 = i106;
+ i47 = i107;
+ i48 = i108;
+ continue L1498;
+ } else {
+ i57 = i88;
+ i58 = i90;
+ i59 = i91;
+ i60 = i92;
+ i61 = i82;
+ i62 = i83;
+ i63 = i84;
+ i64 = i93;
+ i65 = i94;
+ i66 = i95;
+ i67 = i96;
+ i68 = i97;
+ i69 = i98;
+ i70 = i99;
+ i71 = i100;
+ i72 = i101;
+ i73 = i102;
+ i74 = i103;
+ i75 = i104;
+ i76 = i105;
+ i77 = i106;
+ i78 = i107;
+ i79 = i108;
+ }
+ }
+ }
+ i108 = 0;
+ L1573 : do {
+ if ((i47 | 0) < (i108 | 0) | (i47 | 0) == (i108 | 0) & i48 >>> 0 < 0 >>> 0) {
+ d173 = 0.0;
+ } else {
+ if ((i46 | i48 | 0) == 0 & (i45 | i47 | 0) == 0) {
+ d173 = 0.0;
+ break;
+ }
+ d174 = +__ZNK20btConvexHullInternal6Int1288toScalarEv(i6);
+ i107 = i1 + 108 | 0;
+ i106 = i10 | 0;
+ HEAPF32[i10 + (HEAP32[i107 >> 2] << 2) >> 2] = d174;
+ d174 = +__ZNK20btConvexHullInternal6Int1288toScalarEv(i7);
+ i105 = i1 + 112 | 0;
+ HEAPF32[i10 + (HEAP32[i105 >> 2] << 2) >> 2] = d174;
+ d174 = +__ZNK20btConvexHullInternal6Int1288toScalarEv(i8);
+ i104 = i1 + 104 | 0;
+ HEAPF32[i10 + (HEAP32[i104 >> 2] << 2) >> 2] = d174;
+ d174 = 1.0 / (+__ZNK20btConvexHullInternal6Int1288toScalarEv(i9) * 4.0);
+ i103 = i10 + 4 | 0;
+ d175 = d174 * +HEAPF32[i103 >> 2];
+ i102 = i10 + 8 | 0;
+ d176 = d174 * +HEAPF32[i102 >> 2];
+ i101 = i1 | 0;
+ d177 = d174 * +HEAPF32[i106 >> 2] * +HEAPF32[i101 >> 2];
+ HEAPF32[i106 >> 2] = d177;
+ i106 = i1 + 4 | 0;
+ d174 = d175 * +HEAPF32[i106 >> 2];
+ HEAPF32[i103 >> 2] = d174;
+ i103 = i1 + 8 | 0;
+ d175 = d176 * +HEAPF32[i103 >> 2];
+ HEAPF32[i102 >> 2] = d175;
+ if (d3 > 0.0) {
+ if ((i28 | 0) > 0) {
+ i102 = i5 | 0;
+ i100 = i5 + 4 | 0;
+ i99 = i5 + 8 | 0;
+ i98 = i11 | 0;
+ i97 = i11 + 4 | 0;
+ i96 = i11 + 8 | 0;
+ d176 = 3.4028234663852886e+38;
+ i95 = 0;
+ do {
+ i94 = i30 + (i95 << 2) | 0;
+ __ZN20btConvexHullInternal11getBtNormalEPNS_4FaceE(i11, i1, HEAP32[i94 >> 2] | 0);
+ i93 = HEAP32[i94 >> 2] | 0;
+ HEAPF32[i5 + (HEAP32[i107 >> 2] << 2) >> 2] = +(HEAP32[i93 + 12 >> 2] | 0);
+ HEAPF32[i5 + (HEAP32[i105 >> 2] << 2) >> 2] = +(HEAP32[i93 + 16 >> 2] | 0);
+ HEAPF32[i5 + (HEAP32[i104 >> 2] << 2) >> 2] = +(HEAP32[i93 + 20 >> 2] | 0);
+ d178 = (+HEAPF32[i102 >> 2] * +HEAPF32[i101 >> 2] - d177) * +HEAPF32[i98 >> 2] + (+HEAPF32[i100 >> 2] * +HEAPF32[i106 >> 2] - d174) * +HEAPF32[i97 >> 2] + (+HEAPF32[i99 >> 2] * +HEAPF32[i103 >> 2] - d175) * +HEAPF32[i96 >> 2];
+ d176 = d178 < d176 ? d178 : d176;
+ i95 = i95 + 1 | 0;
+ } while ((i95 | 0) < (i28 | 0));
+ if (d176 > 0.0) {
+ d179 = d176;
+ } else {
+ d173 = 0.0;
+ break;
+ }
+ } else {
+ d179 = 3.4028234663852886e+38;
+ }
+ d175 = d179 * d3;
+ d180 = d175 > d2 ? d2 : d175;
+ } else {
+ d180 = d2;
+ }
+ if ((i28 | 0) > 0) {
+ i95 = 243703;
+ i96 = 0;
+ do {
+ i103 = i30 + (i96 << 2) | 0;
+ i99 = i30 + (((i95 >>> 0) % (i28 >>> 0) | 0) << 2) | 0;
+ i97 = HEAP32[i103 >> 2] | 0;
+ HEAP32[i103 >> 2] = HEAP32[i99 >> 2];
+ HEAP32[i99 >> 2] = i97;
+ i96 = i96 + 1 | 0;
+ i95 = (Math_imul(i95, 1664525) | 0) + 1013904223 | 0;
+ } while ((i96 | 0) < (i28 | 0));
+ }
+ i96 = i12 + 16 | 0;
+ i95 = i12 + 12 | 0;
+ i97 = i12 + 4 | 0;
+ i99 = i12 + 8 | 0;
+ i103 = 0;
+ while (1) {
+ if ((i103 | 0) >= (i28 | 0)) {
+ d173 = d180;
+ break L1573;
+ }
+ i106 = HEAP32[i30 + (i103 << 2) >> 2] | 0;
+ HEAP8[i96] = 1;
+ HEAP32[i95 >> 2] = 0;
+ HEAP32[i99 >> 2] = 0;
+ HEAP32[i97 >> 2] = i49;
+ i100 = __ZN20btConvexHullInternal9shiftFaceEPNS_4FaceEf20btAlignedObjectArrayIPNS_6VertexEE(i1, i106, d180, i12) | 0;
+ i106 = HEAP32[i95 >> 2] | 0;
+ if ((i106 | 0) != 0) {
+ if ((HEAP8[i96] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i106);
+ }
+ HEAP32[i95 >> 2] = 0;
+ }
+ HEAP8[i96] = 1;
+ HEAP32[i95 >> 2] = 0;
+ HEAP32[i97 >> 2] = 0;
+ HEAP32[i99 >> 2] = 0;
+ if (i100) {
+ i103 = i103 + 1 | 0;
+ } else {
+ break;
+ }
+ }
+ d173 = -0.0 - d180;
+ }
+ } while (0);
+ if ((i30 | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i30);
+ }
+ if ((i33 | 0) == 0) {
+ d15 = d173;
+ STACKTOP = i4;
+ return +d15;
+ }
+ __Z21btAlignedFreeInternalPv(i33);
+ d15 = d173;
+ STACKTOP = i4;
+ return +d15;
+}
+function __ZN20btConvexHullComputer7computeEPKvbiiff(i1, i2, i3, i4, i5, d6, d7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ d6 = +d6;
+ d7 = +d7;
+ var i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, d19 = 0.0, d20 = 0.0, d21 = 0.0, i22 = 0, d23 = 0.0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0, i79 = 0, i80 = 0, i81 = 0, i82 = 0, i83 = 0, i84 = 0, i85 = 0, i86 = 0, i87 = 0;
+ i8 = STACKTOP;
+ STACKTOP = STACKTOP + 208 | 0;
+ i9 = i8 | 0;
+ i10 = i8 + 128 | 0;
+ i11 = i8 + 144 | 0;
+ i12 = i8 + 160 | 0;
+ i13 = i8 + 176 | 0;
+ i14 = i8 + 192 | 0;
+ if ((i5 | 0) < 1) {
+ i15 = i1 + 4 | 0;
+ i16 = i1 + 12 | 0;
+ i17 = HEAP32[i16 >> 2] | 0;
+ i18 = i1 + 16 | 0;
+ if ((i17 | 0) != 0) {
+ if ((HEAP8[i18] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i17);
+ }
+ HEAP32[i16 >> 2] = 0;
+ }
+ HEAP8[i18] = 1;
+ HEAP32[i16 >> 2] = 0;
+ HEAP32[i15 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = 0;
+ i15 = i1 + 24 | 0;
+ i16 = i1 + 32 | 0;
+ i18 = HEAP32[i16 >> 2] | 0;
+ i17 = i1 + 36 | 0;
+ if ((i18 | 0) != 0) {
+ if ((HEAP8[i17] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i18);
+ }
+ HEAP32[i16 >> 2] = 0;
+ }
+ HEAP8[i17] = 1;
+ HEAP32[i16 >> 2] = 0;
+ HEAP32[i15 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ i15 = i1 + 44 | 0;
+ i16 = i1 + 52 | 0;
+ i17 = HEAP32[i16 >> 2] | 0;
+ i18 = i1 + 56 | 0;
+ if ((i17 | 0) != 0) {
+ if ((HEAP8[i18] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i17);
+ }
+ HEAP32[i16 >> 2] = 0;
+ }
+ HEAP8[i18] = 1;
+ HEAP32[i16 >> 2] = 0;
+ HEAP32[i15 >> 2] = 0;
+ HEAP32[i1 + 48 >> 2] = 0;
+ d19 = 0.0;
+ STACKTOP = i8;
+ return +d19;
+ }
+ HEAP32[i9 + 32 >> 2] = 0;
+ HEAP32[i9 + 36 >> 2] = 0;
+ HEAP32[i9 + 40 >> 2] = 0;
+ HEAP32[i9 + 44 >> 2] = 256;
+ HEAP32[i9 + 48 >> 2] = 0;
+ HEAP32[i9 + 52 >> 2] = 0;
+ HEAP32[i9 + 56 >> 2] = 0;
+ HEAP32[i9 + 60 >> 2] = 256;
+ HEAP32[i9 + 64 >> 2] = 0;
+ HEAP32[i9 + 68 >> 2] = 0;
+ HEAP32[i9 + 72 >> 2] = 0;
+ HEAP32[i9 + 76 >> 2] = 256;
+ HEAP8[i9 + 96 | 0] = 1;
+ HEAP32[i9 + 92 >> 2] = 0;
+ HEAP32[i9 + 84 >> 2] = 0;
+ HEAP32[i9 + 88 >> 2] = 0;
+ __ZN20btConvexHullInternal7computeEPKvbii(i9, i2, i3, i4, i5);
+ do {
+ if (d6 > 0.0) {
+ d20 = +__ZN20btConvexHullInternal6shrinkEff(i9, d6, d7);
+ if (d20 >= 0.0) {
+ d21 = d20;
+ i22 = 1689;
+ break;
+ }
+ i5 = i1 + 4 | 0;
+ i4 = i1 + 12 | 0;
+ i3 = HEAP32[i4 >> 2] | 0;
+ i2 = i1 + 16 | 0;
+ if ((i3 | 0) != 0) {
+ if ((HEAP8[i2] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i3);
+ }
+ HEAP32[i4 >> 2] = 0;
+ }
+ HEAP8[i2] = 1;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = 0;
+ i5 = i1 + 24 | 0;
+ i4 = i1 + 32 | 0;
+ i2 = HEAP32[i4 >> 2] | 0;
+ i3 = i1 + 36 | 0;
+ if ((i2 | 0) != 0) {
+ if ((HEAP8[i3] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i2);
+ }
+ HEAP32[i4 >> 2] = 0;
+ }
+ HEAP8[i3] = 1;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ i5 = i1 + 44 | 0;
+ i4 = i1 + 52 | 0;
+ i3 = HEAP32[i4 >> 2] | 0;
+ i2 = i1 + 56 | 0;
+ if ((i3 | 0) != 0) {
+ if ((HEAP8[i2] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i3);
+ }
+ HEAP32[i4 >> 2] = 0;
+ }
+ HEAP8[i2] = 1;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i1 + 48 >> 2] = 0;
+ d23 = d20;
+ } else {
+ d21 = 0.0;
+ i22 = 1689;
+ }
+ } while (0);
+ do {
+ if ((i22 | 0) == 1689) {
+ i5 = i1 + 4 | 0;
+ i4 = HEAP32[i5 >> 2] | 0;
+ if ((i4 | 0) < 0) {
+ i2 = i1 + 8 | 0;
+ i3 = i1 + 12 | 0;
+ if ((HEAP32[i2 >> 2] | 0) < 0) {
+ i15 = HEAP32[i3 >> 2] | 0;
+ i16 = i1 + 16 | 0;
+ if ((i15 | 0) != 0) {
+ if ((HEAP8[i16] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i15);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i16] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ }
+ i2 = i10;
+ i16 = i4;
+ do {
+ i4 = (HEAP32[i3 >> 2] | 0) + (i16 << 4) | 0;
+ if ((i4 | 0) != 0) {
+ i15 = i4;
+ HEAP32[i15 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i15 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i15 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i15 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ }
+ i16 = i16 + 1 | 0;
+ } while ((i16 | 0) < 0);
+ }
+ HEAP32[i5 >> 2] = 0;
+ i16 = i11;
+ _memset(i16 | 0, 0, 12);
+ i2 = i1 + 24 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ if ((i3 | 0) < 0) {
+ i15 = i1 + 28 | 0;
+ i4 = i1 + 32 | 0;
+ if ((HEAP32[i15 >> 2] | 0) < 0) {
+ i18 = HEAP32[i4 >> 2] | 0;
+ i17 = i1 + 36 | 0;
+ if ((i18 | 0) != 0) {
+ if ((HEAP8[i17] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i18);
+ }
+ HEAP32[i4 >> 2] = 0;
+ }
+ HEAP8[i17] = 1;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i15 >> 2] = 0;
+ i24 = i3;
+ } else {
+ i24 = i3;
+ }
+ do {
+ i3 = (HEAP32[i4 >> 2] | 0) + (i24 * 12 | 0) | 0;
+ if ((i3 | 0) != 0) {
+ i15 = i3;
+ HEAP32[i15 >> 2] = HEAP32[i16 >> 2];
+ HEAP32[i15 + 4 >> 2] = HEAP32[i16 + 4 >> 2];
+ HEAP32[i15 + 8 >> 2] = HEAP32[i16 + 8 >> 2];
+ }
+ i24 = i24 + 1 | 0;
+ } while ((i24 | 0) < 0);
+ }
+ HEAP32[i2 >> 2] = 0;
+ i16 = i1 + 44 | 0;
+ i4 = HEAP32[i16 >> 2] | 0;
+ if ((i4 | 0) < 0) {
+ i15 = i1 + 48 | 0;
+ i3 = i1 + 52 | 0;
+ i17 = HEAP32[i3 >> 2] | 0;
+ if ((HEAP32[i15 >> 2] | 0) < 0) {
+ i18 = i1 + 56 | 0;
+ if ((i17 | 0) != 0) {
+ if ((HEAP8[i18] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i17);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i18] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i15 >> 2] = 0;
+ i25 = 0;
+ } else {
+ i25 = i17;
+ }
+ i17 = i4;
+ do {
+ i4 = i25 + (i17 << 2) | 0;
+ if ((i4 | 0) != 0) {
+ HEAP32[i4 >> 2] = 0;
+ }
+ i17 = i17 + 1 | 0;
+ } while ((i17 | 0) < 0);
+ }
+ HEAP32[i16 >> 2] = 0;
+ i17 = HEAP32[i9 + 124 >> 2] | 0;
+ i4 = i17 + 104 | 0;
+ if ((HEAP32[i4 >> 2] | 0) >= 0) {
+ d23 = d21;
+ break;
+ }
+ HEAP32[i4 >> 2] = 0;
+ i4 = __Z22btAlignedAllocInternalji(4, 16) | 0;
+ i15 = i4;
+ if ((i4 | 0) != 0) {
+ HEAP32[i15 >> 2] = i17;
+ }
+ i17 = i1 + 8 | 0;
+ i4 = i1 + 12 | 0;
+ i3 = i1 + 16 | 0;
+ i18 = i13;
+ i26 = i1 + 28 | 0;
+ i27 = i1 + 32 | 0;
+ i28 = i1 + 36 | 0;
+ i29 = i14;
+ i30 = i12;
+ i31 = i15;
+ i15 = 1;
+ i32 = 1;
+ i33 = 0;
+ while (1) {
+ i34 = HEAP32[i31 + (i33 << 2) >> 2] | 0;
+ __ZN20btConvexHullInternal14getCoordinatesEPKNS_6VertexE(i12, i9, i34);
+ i35 = HEAP32[i5 >> 2] | 0;
+ do {
+ if ((i35 | 0) == (HEAP32[i17 >> 2] | 0)) {
+ i36 = (i35 | 0) == 0 ? 1 : i35 << 1;
+ if ((i35 | 0) >= (i36 | 0)) {
+ i37 = i35;
+ break;
+ }
+ if ((i36 | 0) == 0) {
+ i38 = 0;
+ i39 = i35;
+ } else {
+ i40 = __Z22btAlignedAllocInternalji(i36 << 4, 16) | 0;
+ i38 = i40;
+ i39 = HEAP32[i5 >> 2] | 0;
+ }
+ if ((i39 | 0) > 0) {
+ i40 = 0;
+ do {
+ i41 = i38 + (i40 << 4) | 0;
+ if ((i41 | 0) != 0) {
+ i42 = i41;
+ i41 = (HEAP32[i4 >> 2] | 0) + (i40 << 4) | 0;
+ HEAP32[i42 >> 2] = HEAP32[i41 >> 2];
+ HEAP32[i42 + 4 >> 2] = HEAP32[i41 + 4 >> 2];
+ HEAP32[i42 + 8 >> 2] = HEAP32[i41 + 8 >> 2];
+ HEAP32[i42 + 12 >> 2] = HEAP32[i41 + 12 >> 2];
+ }
+ i40 = i40 + 1 | 0;
+ } while ((i40 | 0) < (i39 | 0));
+ }
+ i40 = HEAP32[i4 >> 2] | 0;
+ if ((i40 | 0) != 0) {
+ if ((HEAP8[i3] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i40);
+ }
+ HEAP32[i4 >> 2] = 0;
+ }
+ HEAP8[i3] = 1;
+ HEAP32[i4 >> 2] = i38;
+ HEAP32[i17 >> 2] = i36;
+ i37 = HEAP32[i5 >> 2] | 0;
+ } else {
+ i37 = i35;
+ }
+ } while (0);
+ i35 = (HEAP32[i4 >> 2] | 0) + (i37 << 4) | 0;
+ if ((i35 | 0) == 0) {
+ i43 = i37;
+ } else {
+ i40 = i35;
+ HEAP32[i40 >> 2] = HEAP32[i30 >> 2];
+ HEAP32[i40 + 4 >> 2] = HEAP32[i30 + 4 >> 2];
+ HEAP32[i40 + 8 >> 2] = HEAP32[i30 + 8 >> 2];
+ HEAP32[i40 + 12 >> 2] = HEAP32[i30 + 12 >> 2];
+ i43 = HEAP32[i5 >> 2] | 0;
+ }
+ HEAP32[i5 >> 2] = i43 + 1;
+ i40 = HEAP32[i34 + 8 >> 2] | 0;
+ if ((i40 | 0) == 0) {
+ i44 = i32;
+ i45 = i15;
+ i46 = i31;
+ } else {
+ i35 = i40;
+ i41 = -1;
+ i42 = -1;
+ i47 = i32;
+ i48 = i15;
+ i49 = i31;
+ while (1) {
+ i50 = i35 + 20 | 0;
+ i51 = HEAP32[i50 >> 2] | 0;
+ if ((i51 | 0) < 0) {
+ i52 = HEAP32[i2 >> 2] | 0;
+ _memset(i18 | 0, 0, 12);
+ i53 = HEAP32[i26 >> 2] | 0;
+ do {
+ if ((i52 | 0) == (i53 | 0)) {
+ i54 = (i52 | 0) == 0 ? 1 : i52 << 1;
+ if ((i52 | 0) >= (i54 | 0)) {
+ i55 = i52;
+ i56 = i52;
+ break;
+ }
+ if ((i54 | 0) == 0) {
+ i57 = 0;
+ i58 = i52;
+ } else {
+ i59 = __Z22btAlignedAllocInternalji(i54 * 12 | 0, 16) | 0;
+ i57 = i59;
+ i58 = HEAP32[i2 >> 2] | 0;
+ }
+ if ((i58 | 0) > 0) {
+ i59 = 0;
+ do {
+ i60 = i57 + (i59 * 12 | 0) | 0;
+ if ((i60 | 0) != 0) {
+ i61 = i60;
+ i60 = (HEAP32[i27 >> 2] | 0) + (i59 * 12 | 0) | 0;
+ HEAP32[i61 >> 2] = HEAP32[i60 >> 2];
+ HEAP32[i61 + 4 >> 2] = HEAP32[i60 + 4 >> 2];
+ HEAP32[i61 + 8 >> 2] = HEAP32[i60 + 8 >> 2];
+ }
+ i59 = i59 + 1 | 0;
+ } while ((i59 | 0) < (i58 | 0));
+ }
+ i59 = HEAP32[i27 >> 2] | 0;
+ if ((i59 | 0) != 0) {
+ if ((HEAP8[i28] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i59);
+ }
+ HEAP32[i27 >> 2] = 0;
+ }
+ HEAP8[i28] = 1;
+ HEAP32[i27 >> 2] = i57;
+ HEAP32[i26 >> 2] = i54;
+ i55 = HEAP32[i2 >> 2] | 0;
+ i56 = i54;
+ } else {
+ i55 = i52;
+ i56 = i53;
+ }
+ } while (0);
+ i53 = (HEAP32[i27 >> 2] | 0) + (i55 * 12 | 0) | 0;
+ if ((i53 | 0) == 0) {
+ i62 = i55;
+ i63 = i56;
+ } else {
+ i36 = i53;
+ HEAP32[i36 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i36 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i36 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ i62 = HEAP32[i2 >> 2] | 0;
+ i63 = HEAP32[i26 >> 2] | 0;
+ }
+ i36 = i62 + 1 | 0;
+ HEAP32[i2 >> 2] = i36;
+ _memset(i29 | 0, 0, 12);
+ do {
+ if ((i36 | 0) == (i63 | 0)) {
+ i53 = (i63 | 0) == 0 ? 1 : i63 << 1;
+ if ((i63 | 0) >= (i53 | 0)) {
+ i64 = i63;
+ break;
+ }
+ if ((i53 | 0) == 0) {
+ i65 = 0;
+ i66 = i63;
+ } else {
+ i59 = __Z22btAlignedAllocInternalji(i53 * 12 | 0, 16) | 0;
+ i65 = i59;
+ i66 = HEAP32[i2 >> 2] | 0;
+ }
+ if ((i66 | 0) > 0) {
+ i59 = 0;
+ do {
+ i60 = i65 + (i59 * 12 | 0) | 0;
+ if ((i60 | 0) != 0) {
+ i61 = i60;
+ i60 = (HEAP32[i27 >> 2] | 0) + (i59 * 12 | 0) | 0;
+ HEAP32[i61 >> 2] = HEAP32[i60 >> 2];
+ HEAP32[i61 + 4 >> 2] = HEAP32[i60 + 4 >> 2];
+ HEAP32[i61 + 8 >> 2] = HEAP32[i60 + 8 >> 2];
+ }
+ i59 = i59 + 1 | 0;
+ } while ((i59 | 0) < (i66 | 0));
+ }
+ i59 = HEAP32[i27 >> 2] | 0;
+ if ((i59 | 0) != 0) {
+ if ((HEAP8[i28] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i59);
+ }
+ HEAP32[i27 >> 2] = 0;
+ }
+ HEAP8[i28] = 1;
+ HEAP32[i27 >> 2] = i65;
+ HEAP32[i26 >> 2] = i53;
+ i64 = HEAP32[i2 >> 2] | 0;
+ } else {
+ i64 = i36;
+ }
+ } while (0);
+ i36 = HEAP32[i27 >> 2] | 0;
+ i59 = i36 + (i64 * 12 | 0) | 0;
+ if ((i59 | 0) == 0) {
+ i67 = i64;
+ i68 = i36;
+ } else {
+ i36 = i59;
+ HEAP32[i36 >> 2] = HEAP32[i29 >> 2];
+ HEAP32[i36 + 4 >> 2] = HEAP32[i29 + 4 >> 2];
+ HEAP32[i36 + 8 >> 2] = HEAP32[i29 + 8 >> 2];
+ i67 = HEAP32[i2 >> 2] | 0;
+ i68 = HEAP32[i27 >> 2] | 0;
+ }
+ HEAP32[i2 >> 2] = i67 + 1;
+ i36 = i52 + 1 | 0;
+ HEAP32[i50 >> 2] = i52;
+ HEAP32[(HEAP32[i35 + 8 >> 2] | 0) + 20 >> 2] = i36;
+ HEAP32[i68 + (i52 * 12 | 0) + 4 >> 2] = 1;
+ HEAP32[i68 + (i36 * 12 | 0) + 4 >> 2] = -1;
+ i59 = HEAP32[i35 + 12 >> 2] | 0;
+ i54 = i59 + 104 | 0;
+ i60 = HEAP32[i54 >> 2] | 0;
+ if ((i60 | 0) < 0) {
+ HEAP32[i54 >> 2] = i47;
+ do {
+ if ((i47 | 0) == (i48 | 0)) {
+ i54 = (i48 | 0) == 0 ? 1 : i48 << 1;
+ if ((i48 | 0) >= (i54 | 0)) {
+ i69 = i48;
+ i70 = i49;
+ break;
+ }
+ if ((i54 | 0) == 0) {
+ i71 = 0;
+ } else {
+ i71 = __Z22btAlignedAllocInternalji(i54 << 2, 16) | 0;
+ }
+ if ((i48 | 0) > 0) {
+ i61 = 0;
+ do {
+ i72 = i71 + (i61 << 2) | 0;
+ if ((i72 | 0) != 0) {
+ HEAP32[i72 >> 2] = HEAP32[i49 + (i61 << 2) >> 2];
+ }
+ i61 = i61 + 1 | 0;
+ } while ((i61 | 0) < (i48 | 0));
+ }
+ if ((i49 | 0) == 0) {
+ i69 = i54;
+ i70 = i71;
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i49);
+ i69 = i54;
+ i70 = i71;
+ } else {
+ i69 = i48;
+ i70 = i49;
+ }
+ } while (0);
+ i61 = i70 + (i47 << 2) | 0;
+ if ((i61 | 0) != 0) {
+ HEAP32[i61 >> 2] = i59;
+ }
+ i73 = i47;
+ i74 = i47 + 1 | 0;
+ i75 = i69;
+ i76 = i70;
+ } else {
+ i73 = i60;
+ i74 = i47;
+ i75 = i48;
+ i76 = i49;
+ }
+ HEAP32[i68 + (i52 * 12 | 0) + 8 >> 2] = i73;
+ HEAP32[i68 + (i36 * 12 | 0) + 8 >> 2] = i33;
+ i77 = i74;
+ i78 = i75;
+ i79 = i76;
+ i80 = HEAP32[i50 >> 2] | 0;
+ } else {
+ i77 = i47;
+ i78 = i48;
+ i79 = i49;
+ i80 = i51;
+ }
+ if ((i41 | 0) > -1) {
+ HEAP32[(HEAP32[i27 >> 2] | 0) + (i80 * 12 | 0) >> 2] = i41 - i80;
+ i81 = i42;
+ i82 = HEAP32[i50 >> 2] | 0;
+ } else {
+ i81 = i80;
+ i82 = i80;
+ }
+ i61 = HEAP32[i35 >> 2] | 0;
+ if ((i61 | 0) == (i40 | 0)) {
+ break;
+ } else {
+ i35 = i61;
+ i41 = i82;
+ i42 = i81;
+ i47 = i77;
+ i48 = i78;
+ i49 = i79;
+ }
+ }
+ HEAP32[(HEAP32[i27 >> 2] | 0) + (i81 * 12 | 0) >> 2] = i82 - i81;
+ i44 = i77;
+ i45 = i78;
+ i46 = i79;
+ }
+ i83 = i33 + 1 | 0;
+ if ((i83 | 0) < (i44 | 0)) {
+ i31 = i46;
+ i15 = i45;
+ i32 = i44;
+ i33 = i83;
+ } else {
+ break;
+ }
+ }
+ if ((i83 | 0) > 0) {
+ i33 = i1 + 48 | 0;
+ i32 = i1 + 52 | 0;
+ i15 = i1 + 56 | 0;
+ i31 = 0;
+ do {
+ i27 = HEAP32[(HEAP32[i46 + (i31 << 2) >> 2] | 0) + 8 >> 2] | 0;
+ if ((i27 | 0) != 0) {
+ i2 = i27;
+ do {
+ i29 = i2 + 20 | 0;
+ if ((HEAP32[i29 >> 2] | 0) > -1) {
+ i26 = HEAP32[i16 >> 2] | 0;
+ do {
+ if ((i26 | 0) == (HEAP32[i33 >> 2] | 0)) {
+ i28 = (i26 | 0) == 0 ? 1 : i26 << 1;
+ if ((i26 | 0) >= (i28 | 0)) {
+ i84 = i26;
+ break;
+ }
+ if ((i28 | 0) == 0) {
+ i85 = 0;
+ i86 = i26;
+ } else {
+ i18 = __Z22btAlignedAllocInternalji(i28 << 2, 16) | 0;
+ i85 = i18;
+ i86 = HEAP32[i16 >> 2] | 0;
+ }
+ if ((i86 | 0) > 0) {
+ i18 = 0;
+ do {
+ i5 = i85 + (i18 << 2) | 0;
+ if ((i5 | 0) != 0) {
+ HEAP32[i5 >> 2] = HEAP32[(HEAP32[i32 >> 2] | 0) + (i18 << 2) >> 2];
+ }
+ i18 = i18 + 1 | 0;
+ } while ((i18 | 0) < (i86 | 0));
+ }
+ i18 = HEAP32[i32 >> 2] | 0;
+ if ((i18 | 0) != 0) {
+ if ((HEAP8[i15] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i18);
+ }
+ HEAP32[i32 >> 2] = 0;
+ }
+ HEAP8[i15] = 1;
+ HEAP32[i32 >> 2] = i85;
+ HEAP32[i33 >> 2] = i28;
+ i84 = HEAP32[i16 >> 2] | 0;
+ } else {
+ i84 = i26;
+ }
+ } while (0);
+ i26 = (HEAP32[i32 >> 2] | 0) + (i84 << 2) | 0;
+ if ((i26 | 0) == 0) {
+ i87 = i84;
+ } else {
+ HEAP32[i26 >> 2] = HEAP32[i29 >> 2];
+ i87 = HEAP32[i16 >> 2] | 0;
+ }
+ HEAP32[i16 >> 2] = i87 + 1;
+ i26 = i2;
+ do {
+ HEAP32[i26 + 20 >> 2] = -1;
+ i26 = HEAP32[(HEAP32[i26 + 8 >> 2] | 0) + 4 >> 2] | 0;
+ } while ((i26 | 0) != (i2 | 0));
+ }
+ i2 = HEAP32[i2 >> 2] | 0;
+ } while ((i2 | 0) != (i27 | 0));
+ }
+ i31 = i31 + 1 | 0;
+ } while ((i31 | 0) < (i83 | 0));
+ }
+ if ((i46 | 0) == 0) {
+ d23 = d21;
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i46);
+ d23 = d21;
+ }
+ } while (0);
+ __ZN20btConvexHullInternalD2Ev(i9);
+ d19 = d23;
+ STACKTOP = i8;
+ return +d19;
+}
+function __ZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEf(i1, i2, i3, i4, i5, i6, i7, d8) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ d8 = +d8;
+ var i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, d36 = 0.0, i37 = 0, d38 = 0.0, i39 = 0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, d75 = 0.0, d76 = 0.0, d77 = 0.0, d78 = 0.0, d79 = 0.0, d80 = 0.0, i81 = 0, d82 = 0.0, d83 = 0.0, d84 = 0.0, d85 = 0.0, d86 = 0.0, d87 = 0.0, d88 = 0.0, d89 = 0.0, d90 = 0.0, d91 = 0.0, d92 = 0.0, d93 = 0.0, d94 = 0.0, d95 = 0.0, d96 = 0.0, d97 = 0.0, d98 = 0.0, d99 = 0.0;
+ i9 = STACKTOP;
+ STACKTOP = STACKTOP + 1656 | 0;
+ i10 = i9 | 0;
+ i11 = i9 + 176 | 0;
+ i12 = i9 + 536 | 0;
+ i13 = i9 + 544 | 0;
+ i14 = i9 + 568 | 0;
+ i15 = i9 + 616 | 0;
+ i16 = i9 + 632 | 0;
+ i17 = i9 + 648 | 0;
+ i18 = i9 + 712 | 0;
+ i19 = i9 + 936 | 0;
+ i20 = i9 + 952 | 0;
+ i21 = i9 + 968 | 0;
+ i22 = i9 + 1144 | 0;
+ i23 = i9 + 1168 | 0;
+ i24 = i9 + 1216 | 0;
+ i25 = i9 + 1280 | 0;
+ i26 = i9 + 1504 | 0;
+ i27 = i9 + 1520 | 0;
+ i28 = i9 + 1536 | 0;
+ i29 = i9 + 1552 | 0;
+ i30 = i9 + 1568 | 0;
+ i31 = i9 + 1632 | 0;
+ i32 = HEAP32[i5 + 4 >> 2] | 0;
+ if ((i32 | 0) < 20) {
+ HEAP32[i10 >> 2] = 2280;
+ i33 = i10 + 164 | 0;
+ HEAP32[i10 + 168 >> 2] = 0;
+ HEAPF32[i10 + 172 >> 2] = d8;
+ i34 = i7 + 4 | 0;
+ HEAPF32[i33 >> 2] = +HEAPF32[i34 >> 2];
+ HEAPF32[i11 + 308 >> 2] = 9999999747378752.0e-20;
+ HEAP16[i11 + 332 >> 1] = 0;
+ HEAP32[i12 >> 2] = 2696;
+ __ZN27btContinuousConvexCollisionC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i13, i1, i5, i11, i12 | 0);
+ i12 = i13 | 0;
+ do {
+ if (FUNCTION_TABLE_iiiiiii[HEAP32[(HEAP32[i13 >> 2] | 0) + 8 >> 2] & 7](i12, i2, i3, i6, i6, i10) | 0) {
+ i11 = i10 + 132 | 0;
+ i35 = i11 | 0;
+ d36 = +HEAPF32[i35 >> 2];
+ i37 = i10 + 136 | 0;
+ d38 = +HEAPF32[i37 >> 2];
+ i39 = i10 + 140 | 0;
+ d40 = +HEAPF32[i39 >> 2];
+ d41 = d36 * d36 + d38 * d38 + d40 * d40;
+ if (d41 <= 9999999747378752.0e-20) {
+ break;
+ }
+ d42 = +HEAPF32[i33 >> 2];
+ if (d42 >= +HEAPF32[i34 >> 2]) {
+ break;
+ }
+ d43 = 1.0 / +Math_sqrt(+d41);
+ HEAPF32[i35 >> 2] = d36 * d43;
+ HEAPF32[i37 >> 2] = d38 * d43;
+ HEAPF32[i39 >> 2] = d40 * d43;
+ HEAP32[i14 >> 2] = i4;
+ HEAP32[i14 + 4 >> 2] = 0;
+ i39 = i14 + 8 | 0;
+ i37 = i11;
+ HEAP32[i39 >> 2] = HEAP32[i37 >> 2];
+ HEAP32[i39 + 4 >> 2] = HEAP32[i37 + 4 >> 2];
+ HEAP32[i39 + 8 >> 2] = HEAP32[i37 + 8 >> 2];
+ HEAP32[i39 + 12 >> 2] = HEAP32[i37 + 12 >> 2];
+ i37 = i14 + 24 | 0;
+ i39 = i10 + 148 | 0;
+ HEAP32[i37 >> 2] = HEAP32[i39 >> 2];
+ HEAP32[i37 + 4 >> 2] = HEAP32[i39 + 4 >> 2];
+ HEAP32[i37 + 8 >> 2] = HEAP32[i39 + 8 >> 2];
+ HEAP32[i37 + 12 >> 2] = HEAP32[i39 + 12 >> 2];
+ HEAPF32[i14 + 40 >> 2] = d42;
+ i39 = HEAP32[(HEAP32[i7 >> 2] | 0) + 12 >> 2] | 0;
+ +FUNCTION_TABLE_fiii[i39 & 15](i7, i14, 1);
+ }
+ } while (0);
+ __ZN12btConvexCastD2Ev(i12);
+ STACKTOP = i9;
+ return;
+ }
+ if ((i32 - 21 | 0) >>> 0 >= 9) {
+ if ((i32 | 0) != 31) {
+ STACKTOP = i9;
+ return;
+ }
+ __ZN15CProfileManager13Start_ProfileEPKc(96);
+ i12 = i5 + 16 | 0;
+ if ((HEAP32[i12 >> 2] | 0) > 0) {
+ i14 = i5 + 24 | 0;
+ i10 = i6 | 0;
+ i34 = i6 + 4 | 0;
+ i33 = i6 + 8 | 0;
+ i13 = i6 + 16 | 0;
+ i39 = i6 + 20 | 0;
+ i37 = i6 + 24 | 0;
+ i11 = i6 + 32 | 0;
+ i35 = i6 + 36 | 0;
+ i44 = i6 + 40 | 0;
+ i45 = i6 + 48 | 0;
+ i46 = i6 + 52 | 0;
+ i47 = i6 + 56 | 0;
+ i48 = i30 | 0;
+ i49 = i30 + 4 | 0;
+ i50 = i30 + 8 | 0;
+ i51 = i30 + 12 | 0;
+ i52 = i30 + 16 | 0;
+ i53 = i30 + 20 | 0;
+ i54 = i30 + 24 | 0;
+ i55 = i30 + 28 | 0;
+ i56 = i30 + 32 | 0;
+ i57 = i30 + 36 | 0;
+ i58 = i30 + 40 | 0;
+ i59 = i30 + 44 | 0;
+ i60 = i30 + 48 | 0;
+ i61 = i30 + 52 | 0;
+ i62 = i30 + 56 | 0;
+ i63 = i30 + 60 | 0;
+ i64 = i4 + 192 | 0;
+ i65 = i31 | 0;
+ i66 = i31 + 4 | 0;
+ i67 = i31 + 8 | 0;
+ i68 = i31 + 10 | 0;
+ i69 = i31 + 12 | 0;
+ i70 = i31 + 16 | 0;
+ i71 = i7 + 4 | 0;
+ i72 = i31 | 0;
+ i31 = HEAP32[i64 >> 2] | 0;
+ i73 = 0;
+ do {
+ i74 = HEAP32[i14 >> 2] | 0;
+ d42 = +HEAPF32[i74 + (i73 * 80 | 0) >> 2];
+ d43 = +HEAPF32[i74 + (i73 * 80 | 0) + 4 >> 2];
+ d40 = +HEAPF32[i74 + (i73 * 80 | 0) + 8 >> 2];
+ d38 = +HEAPF32[i74 + (i73 * 80 | 0) + 16 >> 2];
+ d36 = +HEAPF32[i74 + (i73 * 80 | 0) + 20 >> 2];
+ d41 = +HEAPF32[i74 + (i73 * 80 | 0) + 24 >> 2];
+ d75 = +HEAPF32[i74 + (i73 * 80 | 0) + 32 >> 2];
+ d76 = +HEAPF32[i74 + (i73 * 80 | 0) + 36 >> 2];
+ d77 = +HEAPF32[i74 + (i73 * 80 | 0) + 40 >> 2];
+ d78 = +HEAPF32[i74 + (i73 * 80 | 0) + 48 >> 2];
+ d79 = +HEAPF32[i74 + (i73 * 80 | 0) + 52 >> 2];
+ d80 = +HEAPF32[i74 + (i73 * 80 | 0) + 56 >> 2];
+ i81 = HEAP32[i74 + (i73 * 80 | 0) + 64 >> 2] | 0;
+ d82 = +HEAPF32[i10 >> 2];
+ d83 = +HEAPF32[i34 >> 2];
+ d84 = +HEAPF32[i33 >> 2];
+ d85 = +HEAPF32[i13 >> 2];
+ d86 = +HEAPF32[i39 >> 2];
+ d87 = +HEAPF32[i37 >> 2];
+ d88 = +HEAPF32[i11 >> 2];
+ d89 = +HEAPF32[i35 >> 2];
+ d90 = +HEAPF32[i44 >> 2];
+ d91 = d78 * d82 + d79 * d83 + d80 * d84 + +HEAPF32[i45 >> 2];
+ d92 = d78 * d85 + d79 * d86 + d80 * d87 + +HEAPF32[i46 >> 2];
+ d93 = d78 * d88 + d79 * d89 + d80 * d90 + +HEAPF32[i47 >> 2];
+ HEAPF32[i48 >> 2] = d42 * d82 + d38 * d83 + d75 * d84;
+ HEAPF32[i49 >> 2] = d43 * d82 + d36 * d83 + d76 * d84;
+ HEAPF32[i50 >> 2] = d40 * d82 + d41 * d83 + d77 * d84;
+ HEAPF32[i51 >> 2] = 0.0;
+ HEAPF32[i52 >> 2] = d42 * d85 + d38 * d86 + d75 * d87;
+ HEAPF32[i53 >> 2] = d43 * d85 + d36 * d86 + d76 * d87;
+ HEAPF32[i54 >> 2] = d40 * d85 + d41 * d86 + d77 * d87;
+ HEAPF32[i55 >> 2] = 0.0;
+ HEAPF32[i56 >> 2] = d42 * d88 + d38 * d89 + d75 * d90;
+ HEAPF32[i57 >> 2] = d43 * d88 + d36 * d89 + d76 * d90;
+ HEAPF32[i58 >> 2] = d40 * d88 + d41 * d89 + d77 * d90;
+ HEAPF32[i59 >> 2] = 0.0;
+ HEAPF32[i60 >> 2] = d91;
+ HEAPF32[i61 >> 2] = d92;
+ HEAPF32[i62 >> 2] = d93;
+ HEAPF32[i63 >> 2] = 0.0;
+ HEAP32[i64 >> 2] = i81;
+ HEAP16[i67 >> 1] = 1;
+ HEAP16[i68 >> 1] = -1;
+ HEAP32[i65 >> 2] = 1720;
+ HEAP32[i69 >> 2] = i7;
+ HEAP32[i70 >> 2] = i73;
+ HEAPF32[i66 >> 2] = +HEAPF32[i71 >> 2];
+ __ZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEf(i1, i2, i3, i4, i81, i30, i72, d8);
+ HEAP32[i64 >> 2] = i31;
+ i73 = i73 + 1 | 0;
+ } while ((i73 | 0) < (HEAP32[i12 >> 2] | 0));
+ }
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i9;
+ return;
+ }
+ if ((i32 | 0) == 21) {
+ d93 = +HEAPF32[i6 >> 2];
+ d92 = +HEAPF32[i6 + 16 >> 2];
+ d91 = +HEAPF32[i6 + 32 >> 2];
+ d90 = +HEAPF32[i6 + 4 >> 2];
+ d77 = +HEAPF32[i6 + 20 >> 2];
+ d89 = +HEAPF32[i6 + 36 >> 2];
+ d41 = +HEAPF32[i6 + 8 >> 2];
+ d88 = +HEAPF32[i6 + 24 >> 2];
+ d40 = +HEAPF32[i6 + 40 >> 2];
+ d76 = -0.0 - +HEAPF32[i6 + 48 >> 2];
+ d36 = -0.0 - +HEAPF32[i6 + 52 >> 2];
+ d43 = -0.0 - +HEAPF32[i6 + 56 >> 2];
+ d75 = d93 * d76 + d92 * d36 + d91 * d43;
+ d38 = d90 * d76 + d77 * d36 + d89 * d43;
+ d42 = d41 * d76 + d88 * d36 + d40 * d43;
+ d43 = +HEAPF32[i2 + 48 >> 2];
+ d36 = +HEAPF32[i2 + 52 >> 2];
+ d76 = +HEAPF32[i2 + 56 >> 2];
+ HEAPF32[i15 >> 2] = d75 + (d93 * d43 + d92 * d36 + d91 * d76);
+ HEAPF32[i15 + 4 >> 2] = d38 + (d90 * d43 + d77 * d36 + d89 * d76);
+ HEAPF32[i15 + 8 >> 2] = d42 + (d41 * d43 + d88 * d36 + d40 * d76);
+ HEAPF32[i15 + 12 >> 2] = 0.0;
+ d76 = +HEAPF32[i3 + 48 >> 2];
+ d36 = +HEAPF32[i3 + 52 >> 2];
+ d43 = +HEAPF32[i3 + 56 >> 2];
+ HEAPF32[i16 >> 2] = d75 + (d93 * d76 + d92 * d36 + d91 * d43);
+ HEAPF32[i16 + 4 >> 2] = d38 + (d90 * d76 + d77 * d36 + d89 * d43);
+ HEAPF32[i16 + 8 >> 2] = d42 + (d41 * d76 + d88 * d36 + d40 * d43);
+ HEAPF32[i16 + 12 >> 2] = 0.0;
+ d43 = +HEAPF32[i3 >> 2];
+ d36 = +HEAPF32[i3 + 16 >> 2];
+ d76 = +HEAPF32[i3 + 32 >> 2];
+ d42 = +HEAPF32[i3 + 4 >> 2];
+ d38 = +HEAPF32[i3 + 20 >> 2];
+ d75 = +HEAPF32[i3 + 36 >> 2];
+ d87 = +HEAPF32[i3 + 8 >> 2];
+ d86 = +HEAPF32[i3 + 24 >> 2];
+ d85 = +HEAPF32[i3 + 40 >> 2];
+ HEAPF32[i17 >> 2] = d93 * d43 + d92 * d36 + d91 * d76;
+ HEAPF32[i17 + 4 >> 2] = d93 * d42 + d92 * d38 + d91 * d75;
+ HEAPF32[i17 + 8 >> 2] = d93 * d87 + d92 * d86 + d91 * d85;
+ HEAPF32[i17 + 12 >> 2] = 0.0;
+ HEAPF32[i17 + 16 >> 2] = d90 * d43 + d77 * d36 + d89 * d76;
+ HEAPF32[i17 + 20 >> 2] = d90 * d42 + d77 * d38 + d89 * d75;
+ HEAPF32[i17 + 24 >> 2] = d90 * d87 + d77 * d86 + d89 * d85;
+ HEAPF32[i17 + 28 >> 2] = 0.0;
+ HEAPF32[i17 + 32 >> 2] = d41 * d43 + d88 * d36 + d40 * d76;
+ HEAPF32[i17 + 36 >> 2] = d41 * d42 + d88 * d38 + d40 * d75;
+ HEAPF32[i17 + 40 >> 2] = d41 * d87 + d88 * d86 + d40 * d85;
+ _memset(i17 + 44 | 0, 0, 20);
+ __ZN28btTriangleConvexcastCallbackC2EPK13btConvexShapeRK11btTransformS5_S5_f(i18 | 0, i1, i2, i3, i6, +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i5 >> 2] | 0) + 44 >> 2] & 7](i5));
+ HEAP32[i18 >> 2] = 1688;
+ HEAP32[i18 + 212 >> 2] = i7;
+ HEAP32[i18 + 216 >> 2] = i4;
+ HEAP32[i18 + 220 >> 2] = i5;
+ HEAPF32[i18 + 200 >> 2] = +HEAPF32[i7 + 4 >> 2];
+ HEAPF32[i18 + 208 >> 2] = d8;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 127](i1, i17, i19, i20);
+ i17 = i18 | 0;
+ __ZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_(i5, i17, i15, i16, i19, i20);
+ __ZN18btTriangleCallbackD2Ev(i17);
+ STACKTOP = i9;
+ return;
+ } else if ((i32 | 0) == 28) {
+ HEAP32[i21 >> 2] = 2280;
+ i32 = i21 + 164 | 0;
+ HEAP32[i21 + 168 >> 2] = 0;
+ HEAPF32[i21 + 172 >> 2] = d8;
+ i17 = i7 + 4 | 0;
+ HEAPF32[i32 >> 2] = +HEAPF32[i17 >> 2];
+ __ZN27btContinuousConvexCollisionC2EPK13btConvexShapePK18btStaticPlaneShape(i22, i1, i5);
+ i20 = i22 | 0;
+ do {
+ if (FUNCTION_TABLE_iiiiiii[HEAP32[(HEAP32[i22 >> 2] | 0) + 8 >> 2] & 7](i20, i2, i3, i6, i6, i21) | 0) {
+ i19 = i21 + 132 | 0;
+ i16 = i19 | 0;
+ d85 = +HEAPF32[i16 >> 2];
+ i15 = i21 + 136 | 0;
+ d40 = +HEAPF32[i15 >> 2];
+ i18 = i21 + 140 | 0;
+ d86 = +HEAPF32[i18 >> 2];
+ d88 = d85 * d85 + d40 * d40 + d86 * d86;
+ if (d88 <= 9999999747378752.0e-20) {
+ break;
+ }
+ d87 = +HEAPF32[i32 >> 2];
+ if (d87 >= +HEAPF32[i17 >> 2]) {
+ break;
+ }
+ d41 = 1.0 / +Math_sqrt(+d88);
+ HEAPF32[i16 >> 2] = d85 * d41;
+ HEAPF32[i15 >> 2] = d40 * d41;
+ HEAPF32[i18 >> 2] = d86 * d41;
+ HEAP32[i23 >> 2] = i4;
+ HEAP32[i23 + 4 >> 2] = 0;
+ i18 = i23 + 8 | 0;
+ i15 = i19;
+ HEAP32[i18 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i18 + 4 >> 2] = HEAP32[i15 + 4 >> 2];
+ HEAP32[i18 + 8 >> 2] = HEAP32[i15 + 8 >> 2];
+ HEAP32[i18 + 12 >> 2] = HEAP32[i15 + 12 >> 2];
+ i15 = i23 + 24 | 0;
+ i18 = i21 + 148 | 0;
+ HEAP32[i15 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i15 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i15 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i15 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ HEAPF32[i23 + 40 >> 2] = d87;
+ i18 = HEAP32[(HEAP32[i7 >> 2] | 0) + 12 >> 2] | 0;
+ +FUNCTION_TABLE_fiii[i18 & 15](i7, i23, 1);
+ }
+ } while (0);
+ __ZN12btConvexCastD2Ev(i20);
+ STACKTOP = i9;
+ return;
+ } else {
+ i20 = i5;
+ d87 = +HEAPF32[i6 >> 2];
+ d41 = +HEAPF32[i6 + 16 >> 2];
+ d86 = +HEAPF32[i6 + 32 >> 2];
+ d40 = +HEAPF32[i6 + 4 >> 2];
+ d85 = +HEAPF32[i6 + 20 >> 2];
+ d88 = +HEAPF32[i6 + 36 >> 2];
+ d75 = +HEAPF32[i6 + 8 >> 2];
+ d38 = +HEAPF32[i6 + 24 >> 2];
+ d42 = +HEAPF32[i6 + 40 >> 2];
+ d76 = -0.0 - +HEAPF32[i6 + 48 >> 2];
+ d36 = -0.0 - +HEAPF32[i6 + 52 >> 2];
+ d43 = -0.0 - +HEAPF32[i6 + 56 >> 2];
+ d89 = d87 * d76 + d41 * d36 + d86 * d43;
+ d77 = d40 * d76 + d85 * d36 + d88 * d43;
+ d90 = d75 * d76 + d38 * d36 + d42 * d43;
+ d43 = +HEAPF32[i2 + 48 >> 2];
+ d36 = +HEAPF32[i2 + 52 >> 2];
+ d76 = +HEAPF32[i2 + 56 >> 2];
+ d91 = d89 + (d87 * d43 + d41 * d36 + d86 * d76);
+ d92 = d77 + (d40 * d43 + d85 * d36 + d88 * d76);
+ d93 = d90 + (d75 * d43 + d38 * d36 + d42 * d76);
+ d76 = +HEAPF32[i3 + 48 >> 2];
+ d36 = +HEAPF32[i3 + 52 >> 2];
+ d43 = +HEAPF32[i3 + 56 >> 2];
+ d84 = d89 + (d87 * d76 + d41 * d36 + d86 * d43);
+ d89 = d77 + (d40 * d76 + d85 * d36 + d88 * d43);
+ d77 = d90 + (d75 * d76 + d38 * d36 + d42 * d43);
+ d43 = +HEAPF32[i3 >> 2];
+ d36 = +HEAPF32[i3 + 16 >> 2];
+ d76 = +HEAPF32[i3 + 32 >> 2];
+ d90 = +HEAPF32[i3 + 4 >> 2];
+ d83 = +HEAPF32[i3 + 20 >> 2];
+ d82 = +HEAPF32[i3 + 36 >> 2];
+ d80 = +HEAPF32[i3 + 8 >> 2];
+ d79 = +HEAPF32[i3 + 24 >> 2];
+ d78 = +HEAPF32[i3 + 40 >> 2];
+ HEAPF32[i24 >> 2] = d87 * d43 + d41 * d36 + d86 * d76;
+ HEAPF32[i24 + 4 >> 2] = d87 * d90 + d41 * d83 + d86 * d82;
+ HEAPF32[i24 + 8 >> 2] = d87 * d80 + d41 * d79 + d86 * d78;
+ HEAPF32[i24 + 12 >> 2] = 0.0;
+ HEAPF32[i24 + 16 >> 2] = d40 * d43 + d85 * d36 + d88 * d76;
+ HEAPF32[i24 + 20 >> 2] = d40 * d90 + d85 * d83 + d88 * d82;
+ HEAPF32[i24 + 24 >> 2] = d40 * d80 + d85 * d79 + d88 * d78;
+ HEAPF32[i24 + 28 >> 2] = 0.0;
+ HEAPF32[i24 + 32 >> 2] = d75 * d43 + d38 * d36 + d42 * d76;
+ HEAPF32[i24 + 36 >> 2] = d75 * d90 + d38 * d83 + d42 * d82;
+ HEAPF32[i24 + 40 >> 2] = d75 * d80 + d38 * d79 + d42 * d78;
+ _memset(i24 + 44 | 0, 0, 20);
+ __ZN28btTriangleConvexcastCallbackC2EPK13btConvexShapeRK11btTransformS5_S5_f(i25 | 0, i1, i2, i3, i6, +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i5 >> 2] | 0) + 44 >> 2] & 7](i20));
+ HEAP32[i25 >> 2] = 1656;
+ HEAP32[i25 + 212 >> 2] = i7;
+ HEAP32[i25 + 216 >> 2] = i4;
+ HEAP32[i25 + 220 >> 2] = i20;
+ HEAPF32[i25 + 200 >> 2] = +HEAPF32[i7 + 4 >> 2];
+ HEAPF32[i25 + 208 >> 2] = d8;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 127](i1, i24, i26, i27);
+ i24 = i28 | 0;
+ HEAPF32[i24 >> 2] = d91;
+ i1 = i28 + 4 | 0;
+ HEAPF32[i1 >> 2] = d92;
+ i7 = i28 + 8 | 0;
+ HEAPF32[i7 >> 2] = d93;
+ HEAPF32[i28 + 12 >> 2] = 0.0;
+ if (d84 < d91) {
+ HEAPF32[i24 >> 2] = d84;
+ d94 = d84;
+ } else {
+ d94 = d91;
+ }
+ if (d89 < d92) {
+ HEAPF32[i1 >> 2] = d89;
+ d95 = d89;
+ } else {
+ d95 = d92;
+ }
+ if (d77 < d93) {
+ HEAPF32[i7 >> 2] = d77;
+ d96 = d77;
+ } else {
+ d96 = d93;
+ }
+ i4 = i29 | 0;
+ HEAPF32[i4 >> 2] = d91;
+ i6 = i29 + 4 | 0;
+ HEAPF32[i6 >> 2] = d92;
+ i3 = i29 + 8 | 0;
+ HEAPF32[i3 >> 2] = d93;
+ HEAPF32[i29 + 12 >> 2] = 0.0;
+ if (d91 < d84) {
+ HEAPF32[i4 >> 2] = d84;
+ d97 = d84;
+ } else {
+ d97 = d91;
+ }
+ if (d92 < d89) {
+ HEAPF32[i6 >> 2] = d89;
+ d98 = d89;
+ } else {
+ d98 = d92;
+ }
+ if (d93 < d77) {
+ HEAPF32[i3 >> 2] = d77;
+ d99 = d77;
+ } else {
+ d99 = d93;
+ }
+ HEAPF32[i24 >> 2] = d94 + +HEAPF32[i26 >> 2];
+ HEAPF32[i1 >> 2] = d95 + +HEAPF32[i26 + 4 >> 2];
+ HEAPF32[i7 >> 2] = d96 + +HEAPF32[i26 + 8 >> 2];
+ HEAPF32[i4 >> 2] = d97 + +HEAPF32[i27 >> 2];
+ HEAPF32[i6 >> 2] = d98 + +HEAPF32[i27 + 4 >> 2];
+ HEAPF32[i3 >> 2] = d99 + +HEAPF32[i27 + 8 >> 2];
+ i27 = i25 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i5 >> 2] | 0) + 60 >> 2] & 127](i20, i27, i28, i29);
+ __ZN18btTriangleCallbackD2Ev(i27);
+ STACKTOP = i9;
+ return;
+ }
+}
+function __ZN35btSequentialImpulseConstraintSolver28solveGroupCacheFriendlySetupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ var i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, d46 = 0.0, d47 = 0.0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0, i79 = 0, i80 = 0, d81 = 0.0, d82 = 0.0, d83 = 0.0, d84 = 0.0, d85 = 0.0, d86 = 0.0, d87 = 0.0, d88 = 0.0, d89 = 0.0, d90 = 0.0, d91 = 0.0, i92 = 0, i93 = 0, i94 = 0, i95 = 0, i96 = 0, i97 = 0;
+ i10 = STACKTOP;
+ STACKTOP = STACKTOP + 192 | 0;
+ i9 = i10 | 0;
+ i11 = i10 + 136 | 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(408);
+ if ((i7 | 0) == (-i5 | 0)) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i10;
+ return +0.0;
+ }
+ i12 = (i3 | 0) > 0;
+ do {
+ if ((HEAP32[i8 + 44 >> 2] | 0) == 0) {
+ if (i12) {
+ i13 = 0;
+ } else {
+ break;
+ }
+ do {
+ i14 = HEAP32[i2 + (i13 << 2) >> 2] | 0;
+ if (!((HEAP32[i14 + 232 >> 2] & 2 | 0) == 0 | (i14 | 0) == 0)) {
+ _memset(i14 + 504 | 0, 0, 32);
+ }
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i3 | 0));
+ } else {
+ if (i12) {
+ i15 = 0;
+ } else {
+ break;
+ }
+ do {
+ i14 = HEAP32[i2 + (i15 << 2) >> 2] | 0;
+ if (!((HEAP32[i14 + 232 >> 2] & 2 | 0) == 0 | (i14 | 0) == 0)) {
+ _memset(i14 + 504 | 0, 0, 32);
+ _memset(i14 + 568 | 0, 0, 32);
+ }
+ i15 = i15 + 1 | 0;
+ } while ((i15 | 0) < (i3 | 0));
+ }
+ } while (0);
+ i3 = (i7 | 0) > 0;
+ if (i3) {
+ i15 = 0;
+ do {
+ i2 = HEAP32[i6 + (i15 << 2) >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i2 >> 2] | 0) + 8 >> 2] & 511](i2);
+ HEAPF32[i2 + 32 >> 2] = 0.0;
+ i15 = i15 + 1 | 0;
+ } while ((i15 | 0) < (i7 | 0));
+ }
+ i15 = i1 + 108 | 0;
+ i2 = HEAP32[i15 >> 2] | 0;
+ if ((i2 | 0) < (i7 | 0)) {
+ i12 = i1 + 112 | 0;
+ if ((HEAP32[i12 >> 2] | 0) < (i7 | 0)) {
+ if ((i7 | 0) == 0) {
+ i16 = 0;
+ i17 = i2;
+ } else {
+ i13 = __Z22btAlignedAllocInternalji(i7 << 3, 16) | 0;
+ i16 = i13;
+ i17 = HEAP32[i15 >> 2] | 0;
+ }
+ i13 = i1 + 116 | 0;
+ if ((i17 | 0) > 0) {
+ i14 = 0;
+ do {
+ i18 = i16 + (i14 << 3) | 0;
+ if ((i18 | 0) != 0) {
+ i19 = (HEAP32[i13 >> 2] | 0) + (i14 << 3) | 0;
+ i20 = i18;
+ i18 = HEAP32[i19 + 4 >> 2] | 0;
+ HEAP32[i20 >> 2] = HEAP32[i19 >> 2];
+ HEAP32[i20 + 4 >> 2] = i18;
+ }
+ i14 = i14 + 1 | 0;
+ } while ((i14 | 0) < (i17 | 0));
+ }
+ i17 = HEAP32[i13 >> 2] | 0;
+ i14 = i1 + 120 | 0;
+ if ((i17 | 0) != 0) {
+ if ((HEAP8[i14] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i17);
+ }
+ HEAP32[i13 >> 2] = 0;
+ }
+ HEAP8[i14] = 1;
+ HEAP32[i13 >> 2] = i16;
+ HEAP32[i12 >> 2] = i7;
+ i21 = i13;
+ } else {
+ i21 = i1 + 116 | 0;
+ }
+ i13 = i2;
+ do {
+ i2 = (HEAP32[i21 >> 2] | 0) + (i13 << 3) | 0;
+ if ((i2 | 0) != 0) {
+ i12 = i2;
+ HEAP32[i12 >> 2] = 0;
+ HEAP32[i12 + 4 >> 2] = 0;
+ }
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i7 | 0));
+ }
+ HEAP32[i15 >> 2] = i7;
+ if (i3) {
+ i15 = i1 + 116 | 0;
+ i13 = 0;
+ i21 = 0;
+ while (1) {
+ i12 = HEAP32[i15 >> 2] | 0;
+ i2 = i12 + (i13 << 3) | 0;
+ i16 = HEAP32[i6 + (i13 << 2) >> 2] | 0;
+ if ((HEAP8[i16 + 20 | 0] | 0) == 0) {
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i12 + (i13 << 3) + 4 >> 2] = 0;
+ i22 = 0;
+ } else {
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i16 >> 2] | 0) + 16 >> 2] & 127](i16, i2);
+ i22 = HEAP32[i2 >> 2] | 0;
+ }
+ i2 = i22 + i21 | 0;
+ i16 = i13 + 1 | 0;
+ if ((i16 | 0) < (i7 | 0)) {
+ i13 = i16;
+ i21 = i2;
+ } else {
+ i23 = i2;
+ break;
+ }
+ }
+ } else {
+ i23 = 0;
+ }
+ i21 = i9;
+ _memset(i21 | 0, 0, 136);
+ i9 = i1 + 28 | 0;
+ i13 = HEAP32[i9 >> 2] | 0;
+ if ((i13 | 0) < (i23 | 0)) {
+ i22 = i1 + 32 | 0;
+ if ((HEAP32[i22 >> 2] | 0) < (i23 | 0)) {
+ if ((i23 | 0) == 0) {
+ i24 = 0;
+ i25 = i13;
+ } else {
+ i15 = __Z22btAlignedAllocInternalji(i23 * 136 | 0, 16) | 0;
+ i24 = i15;
+ i25 = HEAP32[i9 >> 2] | 0;
+ }
+ i15 = i1 + 36 | 0;
+ if ((i25 | 0) > 0) {
+ i2 = 0;
+ do {
+ i16 = i24 + (i2 * 136 | 0) | 0;
+ i12 = (HEAP32[i15 >> 2] | 0) + (i2 * 136 | 0) | 0;
+ _memcpy(i16 | 0, i12 | 0, 136) | 0;
+ i2 = i2 + 1 | 0;
+ } while ((i2 | 0) < (i25 | 0));
+ }
+ i25 = HEAP32[i15 >> 2] | 0;
+ i2 = i1 + 40 | 0;
+ if ((i25 | 0) != 0) {
+ if ((HEAP8[i2] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i25);
+ }
+ HEAP32[i15 >> 2] = 0;
+ }
+ HEAP8[i2] = 1;
+ HEAP32[i15 >> 2] = i24;
+ HEAP32[i22 >> 2] = i23;
+ i26 = i15;
+ } else {
+ i26 = i1 + 36 | 0;
+ }
+ i15 = i13;
+ do {
+ i13 = (HEAP32[i26 >> 2] | 0) + (i15 * 136 | 0) | 0;
+ _memcpy(i13 | 0, i21 | 0, 136) | 0;
+ i15 = i15 + 1 | 0;
+ } while ((i15 | 0) < (i23 | 0));
+ }
+ HEAP32[i9 >> 2] = i23;
+ if (i3) {
+ i3 = i1 + 116 | 0;
+ i23 = i1 + 36 | 0;
+ i9 = i8 + 12 | 0;
+ i15 = i11 | 0;
+ i21 = i8 + 32 | 0;
+ i26 = i11 + 4 | 0;
+ i13 = i11 + 8 | 0;
+ i22 = i11 + 12 | 0;
+ i24 = i11 + 16 | 0;
+ i2 = i11 + 20 | 0;
+ i25 = i11 + 24 | 0;
+ i12 = i11 + 28 | 0;
+ i16 = i8 + 40 | 0;
+ i14 = i8 + 4 | 0;
+ i17 = i11 + 52 | 0;
+ i18 = i11 + 32 | 0;
+ i20 = i11 + 36 | 0;
+ i19 = i11 + 40 | 0;
+ i27 = i8 + 20 | 0;
+ i28 = i11 + 48 | 0;
+ i29 = 0;
+ i30 = 0;
+ i31 = HEAP32[i3 >> 2] | 0;
+ while (1) {
+ i32 = i31 + (i30 << 3) | 0;
+ i33 = HEAP32[i32 >> 2] | 0;
+ if ((i33 | 0) == 0) {
+ i34 = i31;
+ i35 = 0;
+ } else {
+ i36 = HEAP32[i23 >> 2] | 0;
+ i37 = i6 + (i30 << 2) | 0;
+ i38 = HEAP32[i37 >> 2] | 0;
+ i39 = i38 + 24 | 0;
+ i40 = HEAP32[i39 >> 2] | 0;
+ i41 = i38 + 28 | 0;
+ i42 = HEAP32[i41 >> 2] | 0;
+ if ((i33 | 0) > 0) {
+ i33 = 0;
+ do {
+ i43 = i33 + i29 | 0;
+ _memset(i36 + (i43 * 136 | 0) | 0, 0, 136);
+ HEAPF32[i36 + (i43 * 136 | 0) + 124 >> 2] = -3.4028234663852886e+38;
+ HEAPF32[i36 + (i43 * 136 | 0) + 128 >> 2] = 3.4028234663852886e+38;
+ HEAPF32[i36 + (i43 * 136 | 0) + 84 >> 2] = 0.0;
+ HEAPF32[i36 + (i43 * 136 | 0) + 80 >> 2] = 0.0;
+ HEAP32[i36 + (i43 * 136 | 0) + 104 >> 2] = i40;
+ HEAP32[i36 + (i43 * 136 | 0) + 108 >> 2] = i42;
+ i33 = i33 + 1 | 0;
+ } while ((i33 | 0) < (HEAP32[i32 >> 2] | 0));
+ i44 = HEAP32[i37 >> 2] | 0;
+ } else {
+ i44 = i38;
+ }
+ _memset(i40 + 504 | 0, 0, 32);
+ _memset(i42 + 504 | 0, 0, 32);
+ HEAPF32[i15 >> 2] = 1.0 / +HEAPF32[i9 >> 2];
+ HEAPF32[i26 >> 2] = +HEAPF32[i21 >> 2];
+ HEAP32[i13 >> 2] = i36 + (i29 * 136 | 0) + 16;
+ HEAP32[i22 >> 2] = i36 + (i29 * 136 | 0);
+ HEAP32[i24 >> 2] = 0;
+ HEAP32[i2 >> 2] = i36 + (i29 * 136 | 0) + 32;
+ HEAP32[i25 >> 2] = 34;
+ HEAP32[i12 >> 2] = i36 + (i29 * 136 | 0) + 116;
+ i33 = i36 + (i29 * 136 | 0) + 120 | 0;
+ HEAPF32[i33 >> 2] = +HEAPF32[i16 >> 2];
+ HEAPF32[i17 >> 2] = +HEAPF32[i14 >> 2];
+ HEAP32[i18 >> 2] = i33;
+ i33 = i36 + (i29 * 136 | 0) + 124 | 0;
+ HEAP32[i20 >> 2] = i33;
+ i43 = i36 + (i29 * 136 | 0) + 128 | 0;
+ HEAP32[i19 >> 2] = i43;
+ HEAP32[i28 >> 2] = HEAP32[i27 >> 2];
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i44 >> 2] | 0) + 20 >> 2] & 127](i44, i11);
+ i45 = (HEAP32[i37 >> 2] | 0) + 16 | 0;
+ d46 = +HEAPF32[i45 >> 2];
+ if (+HEAPF32[i43 >> 2] > d46) {
+ HEAPF32[i43 >> 2] = d46;
+ d47 = +HEAPF32[i45 >> 2];
+ } else {
+ d47 = d46;
+ }
+ d46 = -0.0 - d47;
+ if (+HEAPF32[i33 >> 2] < d46) {
+ HEAPF32[i33 >> 2] = d46;
+ }
+ if ((HEAP32[i32 >> 2] | 0) > 0) {
+ i33 = i38;
+ i45 = i40 + 336 | 0;
+ i43 = i40 + 256 | 0;
+ i48 = i40 + 260 | 0;
+ i49 = i40 + 264 | 0;
+ i50 = i40 + 272 | 0;
+ i51 = i40 + 276 | 0;
+ i52 = i40 + 280 | 0;
+ i53 = i40 + 288 | 0;
+ i54 = i40 + 292 | 0;
+ i55 = i40 + 296 | 0;
+ i56 = i42 + 336 | 0;
+ i57 = i42 + 256 | 0;
+ i58 = i42 + 260 | 0;
+ i59 = i42 + 264 | 0;
+ i60 = i42 + 272 | 0;
+ i61 = i42 + 276 | 0;
+ i62 = i42 + 280 | 0;
+ i63 = i42 + 288 | 0;
+ i64 = i42 + 292 | 0;
+ i65 = i42 + 296 | 0;
+ i66 = i40 + 304 | 0;
+ i67 = i40 + 308 | 0;
+ i68 = i40 + 312 | 0;
+ i69 = i40 + 320 | 0;
+ i70 = i40 + 324 | 0;
+ i71 = i40 + 328 | 0;
+ i72 = i42 + 304 | 0;
+ i73 = i42 + 308 | 0;
+ i74 = i42 + 312 | 0;
+ i75 = i42 + 320 | 0;
+ i76 = i42 + 324 | 0;
+ i77 = i42 + 328 | 0;
+ i78 = 0;
+ do {
+ i79 = i78 + i29 | 0;
+ HEAP32[i36 + (i79 * 136 | 0) + 112 >> 2] = i33;
+ i80 = HEAP32[i39 >> 2] | 0;
+ d46 = +HEAPF32[i36 + (i79 * 136 | 0) >> 2];
+ d81 = +HEAPF32[i36 + (i79 * 136 | 0) + 4 >> 2];
+ d82 = +HEAPF32[i36 + (i79 * 136 | 0) + 8 >> 2];
+ d83 = (d46 * +HEAPF32[i80 + 272 >> 2] + d81 * +HEAPF32[i80 + 276 >> 2] + d82 * +HEAPF32[i80 + 280 >> 2]) * +HEAPF32[i80 + 540 >> 2];
+ d84 = (d46 * +HEAPF32[i80 + 288 >> 2] + d81 * +HEAPF32[i80 + 292 >> 2] + d82 * +HEAPF32[i80 + 296 >> 2]) * +HEAPF32[i80 + 544 >> 2];
+ HEAPF32[i36 + (i79 * 136 | 0) + 48 >> 2] = (+HEAPF32[i80 + 256 >> 2] * d46 + +HEAPF32[i80 + 260 >> 2] * d81 + +HEAPF32[i80 + 264 >> 2] * d82) * +HEAPF32[i80 + 536 >> 2];
+ HEAPF32[i36 + (i79 * 136 | 0) + 52 >> 2] = d83;
+ HEAPF32[i36 + (i79 * 136 | 0) + 56 >> 2] = d84;
+ HEAPF32[i36 + (i79 * 136 | 0) + 60 >> 2] = 0.0;
+ i80 = HEAP32[i41 >> 2] | 0;
+ d84 = +HEAPF32[i36 + (i79 * 136 | 0) + 32 >> 2];
+ d83 = +HEAPF32[i36 + (i79 * 136 | 0) + 36 >> 2];
+ d85 = +HEAPF32[i36 + (i79 * 136 | 0) + 40 >> 2];
+ d86 = (d84 * +HEAPF32[i80 + 272 >> 2] + d83 * +HEAPF32[i80 + 276 >> 2] + d85 * +HEAPF32[i80 + 280 >> 2]) * +HEAPF32[i80 + 540 >> 2];
+ d87 = (d84 * +HEAPF32[i80 + 288 >> 2] + d83 * +HEAPF32[i80 + 292 >> 2] + d85 * +HEAPF32[i80 + 296 >> 2]) * +HEAPF32[i80 + 544 >> 2];
+ HEAPF32[i36 + (i79 * 136 | 0) + 64 >> 2] = (+HEAPF32[i80 + 256 >> 2] * d84 + +HEAPF32[i80 + 260 >> 2] * d83 + +HEAPF32[i80 + 264 >> 2] * d85) * +HEAPF32[i80 + 536 >> 2];
+ HEAPF32[i36 + (i79 * 136 | 0) + 68 >> 2] = d86;
+ HEAPF32[i36 + (i79 * 136 | 0) + 72 >> 2] = d87;
+ HEAPF32[i36 + (i79 * 136 | 0) + 76 >> 2] = 0.0;
+ d87 = +HEAPF32[i45 >> 2];
+ d86 = +HEAPF32[i36 + (i79 * 136 | 0) + 16 >> 2];
+ d88 = +HEAPF32[i36 + (i79 * 136 | 0) + 20 >> 2];
+ d89 = +HEAPF32[i36 + (i79 * 136 | 0) + 24 >> 2];
+ d90 = +HEAPF32[i56 >> 2];
+ d91 = 1.0 / (d86 * d87 * d86 + d88 * d87 * d88 + d89 * d87 * d89 + (d46 * (d46 * +HEAPF32[i43 >> 2] + d81 * +HEAPF32[i48 >> 2] + d82 * +HEAPF32[i49 >> 2]) + d81 * (d46 * +HEAPF32[i50 >> 2] + d81 * +HEAPF32[i51 >> 2] + d82 * +HEAPF32[i52 >> 2]) + d82 * (d46 * +HEAPF32[i53 >> 2] + d81 * +HEAPF32[i54 >> 2] + d82 * +HEAPF32[i55 >> 2])) + (d89 * d89 * d90 + (d86 * d86 * d90 + d88 * d88 * d90)) + (d84 * (d84 * +HEAPF32[i57 >> 2] + d83 * +HEAPF32[i58 >> 2] + d85 * +HEAPF32[i59 >> 2]) + d83 * (d84 * +HEAPF32[i60 >> 2] + d83 * +HEAPF32[i61 >> 2] + d85 * +HEAPF32[i62 >> 2]) + d85 * (d84 * +HEAPF32[i63 >> 2] + d83 * +HEAPF32[i64 >> 2] + d85 * +HEAPF32[i65 >> 2])));
+ HEAPF32[i36 + (i79 * 136 | 0) + 92 >> 2] = d91;
+ i80 = i36 + (i79 * 136 | 0) + 116 | 0;
+ HEAPF32[i80 >> 2] = d91 * +HEAPF32[i80 >> 2] + d91 * (0.0 - +HEAPF32[i17 >> 2] * (d86 * +HEAPF32[i66 >> 2] + d88 * +HEAPF32[i67 >> 2] + d89 * +HEAPF32[i68 >> 2] + (d46 * +HEAPF32[i69 >> 2] + d81 * +HEAPF32[i70 >> 2] + d82 * +HEAPF32[i71 >> 2]) + (d84 * +HEAPF32[i75 >> 2] + d83 * +HEAPF32[i76 >> 2] + d85 * +HEAPF32[i77 >> 2] - (d86 * +HEAPF32[i72 >> 2] + d88 * +HEAPF32[i73 >> 2] + d89 * +HEAPF32[i74 >> 2]))));
+ HEAPF32[i36 + (i79 * 136 | 0) + 84 >> 2] = 0.0;
+ i78 = i78 + 1 | 0;
+ } while ((i78 | 0) < (HEAP32[i32 >> 2] | 0));
+ }
+ i32 = HEAP32[i3 >> 2] | 0;
+ i34 = i32;
+ i35 = HEAP32[i32 + (i30 << 3) >> 2] | 0;
+ }
+ i32 = i30 + 1 | 0;
+ if ((i32 | 0) < (i7 | 0)) {
+ i29 = i35 + i29 | 0;
+ i30 = i32;
+ i31 = i34;
+ } else {
+ break;
+ }
+ }
+ }
+ if ((i5 | 0) > 0) {
+ i34 = 0;
+ do {
+ __ZN35btSequentialImpulseConstraintSolver14convertContactEP20btPersistentManifoldRK19btContactSolverInfo(i1, HEAP32[i4 + (i34 << 2) >> 2] | 0, i8);
+ i34 = i34 + 1 | 0;
+ } while ((i34 | 0) < (i5 | 0));
+ }
+ i5 = HEAP32[i1 + 8 >> 2] | 0;
+ i34 = HEAP32[i1 + 48 >> 2] | 0;
+ i8 = i1 + 68 | 0;
+ i4 = HEAP32[i8 >> 2] | 0;
+ if ((i4 | 0) < (i5 | 0)) {
+ i31 = i1 + 72 | 0;
+ if ((HEAP32[i31 >> 2] | 0) < (i5 | 0)) {
+ if ((i5 | 0) == 0) {
+ i92 = 0;
+ i93 = i4;
+ } else {
+ i30 = __Z22btAlignedAllocInternalji(i5 << 2, 16) | 0;
+ i92 = i30;
+ i93 = HEAP32[i8 >> 2] | 0;
+ }
+ i30 = i1 + 76 | 0;
+ if ((i93 | 0) > 0) {
+ i29 = 0;
+ do {
+ i35 = i92 + (i29 << 2) | 0;
+ if ((i35 | 0) != 0) {
+ HEAP32[i35 >> 2] = HEAP32[(HEAP32[i30 >> 2] | 0) + (i29 << 2) >> 2];
+ }
+ i29 = i29 + 1 | 0;
+ } while ((i29 | 0) < (i93 | 0));
+ }
+ i93 = HEAP32[i30 >> 2] | 0;
+ i29 = i1 + 80 | 0;
+ if ((i93 | 0) != 0) {
+ if ((HEAP8[i29] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i93);
+ }
+ HEAP32[i30 >> 2] = 0;
+ }
+ HEAP8[i29] = 1;
+ HEAP32[i30 >> 2] = i92;
+ HEAP32[i31 >> 2] = i5;
+ i94 = i92;
+ } else {
+ i94 = HEAP32[i1 + 76 >> 2] | 0;
+ }
+ i92 = i4;
+ do {
+ i4 = i94 + (i92 << 2) | 0;
+ if ((i4 | 0) != 0) {
+ HEAP32[i4 >> 2] = 0;
+ }
+ i92 = i92 + 1 | 0;
+ } while ((i92 | 0) < (i5 | 0));
+ }
+ HEAP32[i8 >> 2] = i5;
+ i8 = i1 + 88 | 0;
+ i92 = HEAP32[i8 >> 2] | 0;
+ if ((i92 | 0) < (i34 | 0)) {
+ i94 = i1 + 92 | 0;
+ if ((HEAP32[i94 >> 2] | 0) < (i34 | 0)) {
+ if ((i34 | 0) == 0) {
+ i95 = 0;
+ i96 = i92;
+ } else {
+ i4 = __Z22btAlignedAllocInternalji(i34 << 2, 16) | 0;
+ i95 = i4;
+ i96 = HEAP32[i8 >> 2] | 0;
+ }
+ i4 = i1 + 96 | 0;
+ if ((i96 | 0) > 0) {
+ i31 = 0;
+ do {
+ i30 = i95 + (i31 << 2) | 0;
+ if ((i30 | 0) != 0) {
+ HEAP32[i30 >> 2] = HEAP32[(HEAP32[i4 >> 2] | 0) + (i31 << 2) >> 2];
+ }
+ i31 = i31 + 1 | 0;
+ } while ((i31 | 0) < (i96 | 0));
+ }
+ i96 = HEAP32[i4 >> 2] | 0;
+ i31 = i1 + 100 | 0;
+ if ((i96 | 0) != 0) {
+ if ((HEAP8[i31] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i96);
+ }
+ HEAP32[i4 >> 2] = 0;
+ }
+ HEAP8[i31] = 1;
+ HEAP32[i4 >> 2] = i95;
+ HEAP32[i94 >> 2] = i34;
+ i97 = i95;
+ } else {
+ i97 = HEAP32[i1 + 96 >> 2] | 0;
+ }
+ i95 = i92;
+ do {
+ i92 = i97 + (i95 << 2) | 0;
+ if ((i92 | 0) != 0) {
+ HEAP32[i92 >> 2] = 0;
+ }
+ i95 = i95 + 1 | 0;
+ } while ((i95 | 0) < (i34 | 0));
+ }
+ HEAP32[i8 >> 2] = i34;
+ if ((i5 | 0) > 0) {
+ i8 = HEAP32[i1 + 76 >> 2] | 0;
+ i95 = 0;
+ do {
+ HEAP32[i8 + (i95 << 2) >> 2] = i95;
+ i95 = i95 + 1 | 0;
+ } while ((i95 | 0) < (i5 | 0));
+ }
+ if ((i34 | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i10;
+ return +0.0;
+ }
+ i5 = HEAP32[i1 + 96 >> 2] | 0;
+ i1 = 0;
+ do {
+ HEAP32[i5 + (i1 << 2) >> 2] = i1;
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i34 | 0));
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i10;
+ return +0.0;
+}
+function __ZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAlloc(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ var i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, d42 = 0.0, d43 = 0.0, d44 = 0.0, d45 = 0.0, d46 = 0.0, d47 = 0.0, d48 = 0.0, d49 = 0.0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, d63 = 0.0, d64 = 0.0, d65 = 0.0, d66 = 0.0, d67 = 0.0, d68 = 0.0, d69 = 0.0, d70 = 0.0, d71 = 0.0, d72 = 0.0, d73 = 0.0, d74 = 0.0, d75 = 0.0, d76 = 0.0, d77 = 0.0, d78 = 0.0, d79 = 0.0, d80 = 0.0, d81 = 0.0, d82 = 0.0, i83 = 0;
+ i11 = STACKTOP;
+ STACKTOP = STACKTOP + 4264 | 0;
+ i1 = i11 | 0;
+ i12 = i11 + 992 | 0;
+ i13 = i11 + 1984 | 0;
+ i14 = i11 + 2976 | 0;
+ i15 = i11 + 3968 | 0;
+ i16 = i11 + 3984 | 0;
+ i17 = i11 + 4e3 | 0;
+ i18 = i11 + 4080 | 0;
+ i19 = i11 + 4216 | 0;
+ if (((HEAP32[i3 + 4 >> 2] | 0) - 17 | 0) >>> 0 < 2) {
+ i20 = ((HEAP32[i4 + 4 >> 2] | 0) - 17 | 0) >>> 0 < 2;
+ } else {
+ i20 = 0;
+ }
+ i21 = i1 | 0;
+ i22 = i13 | 0;
+ i23 = i5 | 0;
+ i24 = i5 + 16 | 0;
+ i25 = i5 + 32 | 0;
+ i26 = i5 + 4 | 0;
+ i27 = i5 + 20 | 0;
+ i28 = i5 + 36 | 0;
+ i29 = i5 + 8 | 0;
+ i30 = i5 + 24 | 0;
+ i31 = i5 + 40 | 0;
+ i32 = i6 | 0;
+ i33 = i6 + 16 | 0;
+ i34 = i6 + 32 | 0;
+ i35 = i6 + 4 | 0;
+ i36 = i6 + 20 | 0;
+ i37 = i6 + 36 | 0;
+ i38 = i6 + 8 | 0;
+ i39 = i6 + 24 | 0;
+ i40 = i6 + 40 | 0;
+ i41 = 0;
+ do {
+ __ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv() | 0;
+ d42 = +HEAPF32[13144 + (i41 << 4) >> 2];
+ d43 = +HEAPF32[13148 + (i41 << 4) >> 2];
+ d44 = +HEAPF32[13152 + (i41 << 4) >> 2];
+ d45 = -0.0 - d42;
+ d46 = -0.0 - d43;
+ d47 = -0.0 - d44;
+ d48 = +HEAPF32[i26 >> 2] * d45 + +HEAPF32[i27 >> 2] * d46 + +HEAPF32[i28 >> 2] * d47;
+ d49 = +HEAPF32[i29 >> 2] * d45 + +HEAPF32[i30 >> 2] * d46 + +HEAPF32[i31 >> 2] * d47;
+ HEAPF32[i13 + (i41 << 4) >> 2] = +HEAPF32[i23 >> 2] * d45 + +HEAPF32[i24 >> 2] * d46 + +HEAPF32[i25 >> 2] * d47;
+ HEAPF32[i13 + (i41 << 4) + 4 >> 2] = d48;
+ HEAPF32[i13 + (i41 << 4) + 8 >> 2] = d49;
+ HEAPF32[i13 + (i41 << 4) + 12 >> 2] = 0.0;
+ d49 = d42 * +HEAPF32[i35 >> 2] + d43 * +HEAPF32[i36 >> 2] + d44 * +HEAPF32[i37 >> 2];
+ d48 = d42 * +HEAPF32[i38 >> 2] + d43 * +HEAPF32[i39 >> 2] + d44 * +HEAPF32[i40 >> 2];
+ HEAPF32[i14 + (i41 << 4) >> 2] = d42 * +HEAPF32[i32 >> 2] + d43 * +HEAPF32[i33 >> 2] + d44 * +HEAPF32[i34 >> 2];
+ HEAPF32[i14 + (i41 << 4) + 4 >> 2] = d49;
+ HEAPF32[i14 + (i41 << 4) + 8 >> 2] = d48;
+ HEAPF32[i14 + (i41 << 4) + 12 >> 2] = 0.0;
+ i41 = i41 + 1 | 0;
+ } while ((i41 | 0) < 42);
+ i41 = i12 | 0;
+ i50 = i14 | 0;
+ i51 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 76 >> 2] & 127](i3) | 0;
+ if ((i51 | 0) > 0) {
+ i52 = i3;
+ i53 = i15 | 0;
+ i54 = i15 + 4 | 0;
+ i55 = i15 + 8 | 0;
+ i56 = i15;
+ i57 = i15 + 12 | 0;
+ i58 = 0;
+ i59 = 42;
+ while (1) {
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i52 >> 2] | 0) + 80 >> 2] & 127](i3, i58, i15);
+ d48 = +HEAPF32[i53 >> 2];
+ d49 = +HEAPF32[i54 >> 2];
+ d44 = +HEAPF32[i55 >> 2];
+ d43 = d48 * +HEAPF32[i24 >> 2] + d49 * +HEAPF32[i27 >> 2] + d44 * +HEAPF32[i30 >> 2];
+ d42 = d48 * +HEAPF32[i25 >> 2] + d49 * +HEAPF32[i28 >> 2] + d44 * +HEAPF32[i31 >> 2];
+ HEAPF32[i53 >> 2] = +HEAPF32[i23 >> 2] * d48 + +HEAPF32[i26 >> 2] * d49 + +HEAPF32[i29 >> 2] * d44;
+ HEAPF32[i54 >> 2] = d43;
+ HEAPF32[i55 >> 2] = d42;
+ HEAPF32[i57 >> 2] = 0.0;
+ __ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv() | 0;
+ i60 = 13144 + (i59 << 4) | 0;
+ HEAP32[i60 >> 2] = HEAP32[i56 >> 2];
+ HEAP32[i60 + 4 >> 2] = HEAP32[i56 + 4 >> 2];
+ HEAP32[i60 + 8 >> 2] = HEAP32[i56 + 8 >> 2];
+ HEAP32[i60 + 12 >> 2] = HEAP32[i56 + 12 >> 2];
+ d42 = +HEAPF32[i53 >> 2];
+ d43 = -0.0 - d42;
+ d44 = +HEAPF32[i54 >> 2];
+ d49 = -0.0 - d44;
+ d48 = +HEAPF32[i55 >> 2];
+ d47 = -0.0 - d48;
+ d46 = +HEAPF32[i26 >> 2] * d43 + +HEAPF32[i27 >> 2] * d49 + +HEAPF32[i28 >> 2] * d47;
+ d45 = +HEAPF32[i29 >> 2] * d43 + +HEAPF32[i30 >> 2] * d49 + +HEAPF32[i31 >> 2] * d47;
+ HEAPF32[i13 + (i59 << 4) >> 2] = +HEAPF32[i23 >> 2] * d43 + +HEAPF32[i24 >> 2] * d49 + +HEAPF32[i25 >> 2] * d47;
+ HEAPF32[i13 + (i59 << 4) + 4 >> 2] = d46;
+ HEAPF32[i13 + (i59 << 4) + 8 >> 2] = d45;
+ HEAPF32[i13 + (i59 << 4) + 12 >> 2] = 0.0;
+ d45 = d42 * +HEAPF32[i35 >> 2] + d44 * +HEAPF32[i36 >> 2] + d48 * +HEAPF32[i37 >> 2];
+ d46 = d42 * +HEAPF32[i38 >> 2] + d44 * +HEAPF32[i39 >> 2] + d48 * +HEAPF32[i40 >> 2];
+ HEAPF32[i14 + (i59 << 4) >> 2] = d42 * +HEAPF32[i32 >> 2] + d44 * +HEAPF32[i33 >> 2] + d48 * +HEAPF32[i34 >> 2];
+ HEAPF32[i14 + (i59 << 4) + 4 >> 2] = d45;
+ HEAPF32[i14 + (i59 << 4) + 8 >> 2] = d46;
+ HEAPF32[i14 + (i59 << 4) + 12 >> 2] = 0.0;
+ i60 = i58 + 1 | 0;
+ if ((i60 | 0) < (i51 | 0)) {
+ i58 = i60;
+ i59 = i59 + 1 | 0;
+ } else {
+ break;
+ }
+ }
+ i61 = i51 + 42 | 0;
+ } else {
+ i61 = 42;
+ }
+ i51 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 76 >> 2] & 127](i4) | 0;
+ if ((i51 | 0) > 0) {
+ i59 = i4;
+ i58 = i16 | 0;
+ i55 = i16 + 4 | 0;
+ i54 = i16 + 8 | 0;
+ i53 = i16;
+ i56 = i16 + 12 | 0;
+ i57 = i61;
+ i15 = 0;
+ while (1) {
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i59 >> 2] | 0) + 80 >> 2] & 127](i4, i15, i16);
+ d46 = +HEAPF32[i58 >> 2];
+ d45 = +HEAPF32[i55 >> 2];
+ d48 = +HEAPF32[i54 >> 2];
+ d44 = d46 * +HEAPF32[i33 >> 2] + d45 * +HEAPF32[i36 >> 2] + d48 * +HEAPF32[i39 >> 2];
+ d42 = d46 * +HEAPF32[i34 >> 2] + d45 * +HEAPF32[i37 >> 2] + d48 * +HEAPF32[i40 >> 2];
+ HEAPF32[i58 >> 2] = +HEAPF32[i32 >> 2] * d46 + +HEAPF32[i35 >> 2] * d45 + +HEAPF32[i38 >> 2] * d48;
+ HEAPF32[i55 >> 2] = d44;
+ HEAPF32[i54 >> 2] = d42;
+ HEAPF32[i56 >> 2] = 0.0;
+ __ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv() | 0;
+ i52 = 13144 + (i57 << 4) | 0;
+ HEAP32[i52 >> 2] = HEAP32[i53 >> 2];
+ HEAP32[i52 + 4 >> 2] = HEAP32[i53 + 4 >> 2];
+ HEAP32[i52 + 8 >> 2] = HEAP32[i53 + 8 >> 2];
+ HEAP32[i52 + 12 >> 2] = HEAP32[i53 + 12 >> 2];
+ d42 = +HEAPF32[i58 >> 2];
+ d44 = -0.0 - d42;
+ d48 = +HEAPF32[i55 >> 2];
+ d45 = -0.0 - d48;
+ d46 = +HEAPF32[i54 >> 2];
+ d47 = -0.0 - d46;
+ d49 = +HEAPF32[i26 >> 2] * d44 + +HEAPF32[i27 >> 2] * d45 + +HEAPF32[i28 >> 2] * d47;
+ d43 = +HEAPF32[i29 >> 2] * d44 + +HEAPF32[i30 >> 2] * d45 + +HEAPF32[i31 >> 2] * d47;
+ HEAPF32[i13 + (i57 << 4) >> 2] = +HEAPF32[i23 >> 2] * d44 + +HEAPF32[i24 >> 2] * d45 + +HEAPF32[i25 >> 2] * d47;
+ HEAPF32[i13 + (i57 << 4) + 4 >> 2] = d49;
+ HEAPF32[i13 + (i57 << 4) + 8 >> 2] = d43;
+ HEAPF32[i13 + (i57 << 4) + 12 >> 2] = 0.0;
+ d43 = d42 * +HEAPF32[i35 >> 2] + d48 * +HEAPF32[i36 >> 2] + d46 * +HEAPF32[i37 >> 2];
+ d49 = d42 * +HEAPF32[i38 >> 2] + d48 * +HEAPF32[i39 >> 2] + d46 * +HEAPF32[i40 >> 2];
+ HEAPF32[i14 + (i57 << 4) >> 2] = d42 * +HEAPF32[i32 >> 2] + d48 * +HEAPF32[i33 >> 2] + d46 * +HEAPF32[i34 >> 2];
+ HEAPF32[i14 + (i57 << 4) + 4 >> 2] = d43;
+ HEAPF32[i14 + (i57 << 4) + 8 >> 2] = d49;
+ HEAPF32[i14 + (i57 << 4) + 12 >> 2] = 0.0;
+ i52 = i15 + 1 | 0;
+ if ((i52 | 0) < (i51 | 0)) {
+ i57 = i57 + 1 | 0;
+ i15 = i52;
+ } else {
+ break;
+ }
+ }
+ i62 = i51 + i61 | 0;
+ } else {
+ i62 = i61;
+ }
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i3 >> 2] | 0) + 68 >> 2] & 127](i3, i22, i21, i62);
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i4 >> 2] | 0) + 68 >> 2] & 127](i4, i50, i41, i62);
+ if ((i62 | 0) > 0) {
+ i41 = i5 + 48 | 0;
+ i50 = i5 + 52 | 0;
+ i21 = i5 + 56 | 0;
+ i22 = i6 + 48 | 0;
+ i61 = i6 + 52 | 0;
+ i51 = i6 + 56 | 0;
+ if (i20) {
+ d49 = 0.0;
+ d43 = 0.0;
+ d46 = 0.0;
+ i20 = 0;
+ d48 = 999999984306749400.0;
+ while (1) {
+ __ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv() | 0;
+ d42 = +HEAPF32[13144 + (i20 << 4) >> 2];
+ d47 = +HEAPF32[13148 + (i20 << 4) >> 2];
+ d45 = +HEAPF32[13156 + (i20 << 4) >> 2];
+ do {
+ if (d42 * d42 + d47 * d47 + 0.0 > .01) {
+ d44 = +HEAPF32[i1 + (i20 << 4) >> 2];
+ d63 = +HEAPF32[i1 + (i20 << 4) + 4 >> 2];
+ d64 = +HEAPF32[i1 + (i20 << 4) + 8 >> 2];
+ d65 = +HEAPF32[i12 + (i20 << 4) >> 2];
+ d66 = +HEAPF32[i12 + (i20 << 4) + 4 >> 2];
+ d67 = +HEAPF32[i12 + (i20 << 4) + 8 >> 2];
+ d68 = d42 * (+HEAPF32[i22 >> 2] + (d65 * +HEAPF32[i32 >> 2] + d66 * +HEAPF32[i35 >> 2] + d67 * +HEAPF32[i38 >> 2]) - (+HEAPF32[i41 >> 2] + (d44 * +HEAPF32[i23 >> 2] + d63 * +HEAPF32[i26 >> 2] + d64 * +HEAPF32[i29 >> 2]))) + d47 * (+HEAPF32[i61 >> 2] + (d65 * +HEAPF32[i33 >> 2] + d66 * +HEAPF32[i36 >> 2] + d67 * +HEAPF32[i39 >> 2]) - (+HEAPF32[i50 >> 2] + (d44 * +HEAPF32[i24 >> 2] + d63 * +HEAPF32[i27 >> 2] + d64 * +HEAPF32[i30 >> 2]))) + 0.0;
+ if (d68 >= d48) {
+ d69 = d48;
+ d70 = d46;
+ d71 = d43;
+ d72 = d49;
+ break;
+ }
+ d69 = d68;
+ d70 = d42;
+ d71 = d47;
+ d72 = d45;
+ } else {
+ d69 = d48;
+ d70 = d46;
+ d71 = d43;
+ d72 = d49;
+ }
+ } while (0);
+ i15 = i20 + 1 | 0;
+ if ((i15 | 0) < (i62 | 0)) {
+ d49 = d72;
+ d43 = d71;
+ d46 = d70;
+ i20 = i15;
+ d48 = d69;
+ } else {
+ d73 = d72;
+ d74 = 0.0;
+ d75 = d71;
+ d76 = d70;
+ d77 = d69;
+ break;
+ }
+ }
+ } else {
+ d69 = 0.0;
+ d70 = 0.0;
+ d71 = 0.0;
+ d72 = 0.0;
+ i20 = 0;
+ d48 = 999999984306749400.0;
+ while (1) {
+ __ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv() | 0;
+ d46 = +HEAPF32[13144 + (i20 << 4) >> 2];
+ d43 = +HEAPF32[13148 + (i20 << 4) >> 2];
+ d49 = +HEAPF32[13152 + (i20 << 4) >> 2];
+ d45 = +HEAPF32[13156 + (i20 << 4) >> 2];
+ do {
+ if (d46 * d46 + d43 * d43 + d49 * d49 > .01) {
+ d47 = +HEAPF32[i1 + (i20 << 4) >> 2];
+ d42 = +HEAPF32[i1 + (i20 << 4) + 4 >> 2];
+ d68 = +HEAPF32[i1 + (i20 << 4) + 8 >> 2];
+ d64 = +HEAPF32[i12 + (i20 << 4) >> 2];
+ d63 = +HEAPF32[i12 + (i20 << 4) + 4 >> 2];
+ d44 = +HEAPF32[i12 + (i20 << 4) + 8 >> 2];
+ d67 = d46 * (+HEAPF32[i22 >> 2] + (d64 * +HEAPF32[i32 >> 2] + d63 * +HEAPF32[i35 >> 2] + d44 * +HEAPF32[i38 >> 2]) - (+HEAPF32[i41 >> 2] + (d47 * +HEAPF32[i23 >> 2] + d42 * +HEAPF32[i26 >> 2] + d68 * +HEAPF32[i29 >> 2]))) + d43 * (+HEAPF32[i61 >> 2] + (d64 * +HEAPF32[i33 >> 2] + d63 * +HEAPF32[i36 >> 2] + d44 * +HEAPF32[i39 >> 2]) - (+HEAPF32[i50 >> 2] + (d47 * +HEAPF32[i24 >> 2] + d42 * +HEAPF32[i27 >> 2] + d68 * +HEAPF32[i30 >> 2]))) + d49 * (+HEAPF32[i51 >> 2] + (d64 * +HEAPF32[i34 >> 2] + d63 * +HEAPF32[i37 >> 2] + d44 * +HEAPF32[i40 >> 2]) - (+HEAPF32[i21 >> 2] + (d47 * +HEAPF32[i25 >> 2] + d42 * +HEAPF32[i28 >> 2] + d68 * +HEAPF32[i31 >> 2])));
+ if (d67 >= d48) {
+ d78 = d48;
+ d79 = d72;
+ d80 = d71;
+ d81 = d70;
+ d82 = d69;
+ break;
+ }
+ d78 = d67;
+ d79 = d46;
+ d80 = d43;
+ d81 = d49;
+ d82 = d45;
+ } else {
+ d78 = d48;
+ d79 = d72;
+ d80 = d71;
+ d81 = d70;
+ d82 = d69;
+ }
+ } while (0);
+ i15 = i20 + 1 | 0;
+ if ((i15 | 0) < (i62 | 0)) {
+ d69 = d82;
+ d70 = d81;
+ d71 = d80;
+ d72 = d79;
+ i20 = i15;
+ d48 = d78;
+ } else {
+ d73 = d82;
+ d74 = d81;
+ d75 = d80;
+ d76 = d79;
+ d77 = d78;
+ break;
+ }
+ }
+ }
+ } else {
+ d73 = 0.0;
+ d74 = 0.0;
+ d75 = 0.0;
+ d76 = 0.0;
+ d77 = 999999984306749400.0;
+ }
+ +__ZNK13btConvexShape19getMarginNonVirtualEv(i3);
+ +__ZNK13btConvexShape19getMarginNonVirtualEv(i4);
+ if (d77 < 0.0) {
+ i83 = 0;
+ STACKTOP = i11;
+ return i83 | 0;
+ }
+ d78 = +__ZNK13btConvexShape19getMarginNonVirtualEv(i3);
+ d79 = d77 + (d78 + +__ZNK13btConvexShape19getMarginNonVirtualEv(i4) + .5);
+ __ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i17, i3, i4, i2, 0);
+ HEAP32[i18 + 132 >> 2] = 0;
+ d78 = +HEAPF32[i5 + 48 >> 2] + d76 * d79;
+ d77 = +HEAPF32[i5 + 52 >> 2] + d75 * d79;
+ d80 = +HEAPF32[i5 + 56 >> 2] + d74 * d79;
+ i2 = i5;
+ i4 = i18;
+ HEAP32[i4 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i5 + 16 | 0;
+ i4 = i5 + 32 | 0;
+ i5 = i18 + 16 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i18 + 32 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ HEAPF32[i18 + 48 >> 2] = d78;
+ HEAPF32[i18 + 52 >> 2] = d77;
+ HEAPF32[i18 + 56 >> 2] = d80;
+ HEAPF32[i18 + 60 >> 2] = 0.0;
+ i4 = i18 + 64 | 0;
+ i2 = i6;
+ HEAP32[i4 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i18 + 80 | 0;
+ i4 = i6 + 16 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i18 + 96 | 0;
+ i2 = i6 + 32 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i18 + 112 | 0;
+ i4 = i6 + 48 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ HEAPF32[i18 + 128 >> 2] = 999999984306749400.0;
+ HEAP32[i19 >> 2] = 1384;
+ i4 = i19 + 40 | 0;
+ HEAP8[i4] = 0;
+ HEAPF32[i17 + 4 >> 2] = -0.0 - d76;
+ HEAPF32[i17 + 8 >> 2] = -0.0 - d75;
+ HEAPF32[i17 + 12 >> 2] = -0.0 - d74;
+ HEAPF32[i17 + 16 >> 2] = 0.0;
+ __ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i17, i18, i19 | 0, i10, 0);
+ d80 = d79 - +HEAPF32[i19 + 36 >> 2];
+ i10 = HEAP8[i4] | 0;
+ if (i10 << 24 >> 24 != 0) {
+ i4 = i19 + 20 | 0;
+ d79 = +HEAPF32[i19 + 24 >> 2] - d75 * d80;
+ d77 = +HEAPF32[i19 + 28 >> 2] - d74 * d80;
+ HEAPF32[i8 >> 2] = +HEAPF32[i4 >> 2] - d76 * d80;
+ HEAPF32[i8 + 4 >> 2] = d79;
+ HEAPF32[i8 + 8 >> 2] = d77;
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ i8 = i9;
+ i9 = i4;
+ HEAP32[i8 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ HEAPF32[i7 >> 2] = d76;
+ HEAPF32[i7 + 4 >> 2] = d75;
+ HEAPF32[i7 + 8 >> 2] = d74;
+ HEAPF32[i7 + 12 >> 2] = d73;
+ }
+ i83 = i10 << 24 >> 24 != 0;
+ STACKTOP = i11;
+ return i83 | 0;
+}
+function _main(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 80 | 0;
+ i1 = i2 | 0;
+ i3 = i2 + 32 | 0;
+ i4 = i2 + 48 | 0;
+ i5 = i2 + 64 | 0;
+ i6 = i5 | 0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 136 | 0;
+ i8 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i9 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i10 = i9 | 0;
+ i11 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i12 = STACKTOP;
+ STACKTOP = STACKTOP + 136 | 0;
+ i13 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i14 = __Znwj(88) | 0;
+ i15 = i14;
+ HEAP32[i1 >> 2] = 0;
+ HEAP32[i1 + 4 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = 0;
+ HEAP32[i1 + 12 >> 2] = 4096;
+ HEAP32[i1 + 16 >> 2] = 4096;
+ HEAP32[i1 + 20 >> 2] = 0;
+ HEAP32[i1 + 24 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 1;
+ __ZN31btDefaultCollisionConfigurationC2ERK34btDefaultCollisionConstructionInfo(i15, i1);
+ i1 = __Znwj(5388) | 0;
+ i16 = i1;
+ i17 = i14;
+ __ZN21btCollisionDispatcherC2EP24btCollisionConfiguration(i16, i17);
+ i18 = __Znwj(156) | 0;
+ __ZN16btDbvtBroadphaseC2EP22btOverlappingPairCache(i18, 0);
+ i19 = i18;
+ i20 = __Znwj(128) | 0;
+ i21 = i20;
+ __ZN35btSequentialImpulseConstraintSolverC2Ev(i21);
+ i22 = __Znwj(268) | 0;
+ i23 = i22;
+ __ZN23btDiscreteDynamicsWorldC2EP12btDispatcherP21btBroadphaseInterfaceP18btConstraintSolverP24btCollisionConfiguration(i23, i1, i19, i20, i17);
+ i17 = HEAP32[(HEAP32[i22 >> 2] | 0) + 68 >> 2] | 0;
+ HEAPF32[i3 >> 2] = 0.0;
+ HEAPF32[i3 + 4 >> 2] = -10.0;
+ HEAPF32[i3 + 8 >> 2] = 0.0;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_vii[i17 & 127](i23, i3);
+ i3 = __Z22btAlignedAllocInternalji(56, 16) | 0;
+ __ZN23btPolyhedralConvexShapeC2Ev(i3);
+ HEAP32[i3 >> 2] = 4984;
+ HEAP32[i3 + 4 >> 2] = 0;
+ i17 = i3;
+ i24 = i3;
+ d25 = +FUNCTION_TABLE_fi[HEAP32[1257] & 7](i17);
+ d26 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i24 >> 2] | 0) + 44 >> 2] & 7](i17);
+ d27 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i24 >> 2] | 0) + 44 >> 2] & 7](i17);
+ d28 = +HEAPF32[i3 + 16 >> 2] * 50.0 - d26;
+ d26 = +HEAPF32[i3 + 20 >> 2] * 50.0 - d27;
+ HEAPF32[i3 + 28 >> 2] = +HEAPF32[i3 + 12 >> 2] * 50.0 - d25;
+ HEAPF32[i3 + 32 >> 2] = d28;
+ HEAPF32[i3 + 36 >> 2] = d26;
+ HEAPF32[i3 + 40 >> 2] = 0.0;
+ i17 = i3;
+ i3 = __Z22btAlignedAllocInternalji(4, 16) | 0;
+ i24 = i3;
+ i29 = (i3 | 0) == 0;
+ if (!i29) {
+ HEAP32[i24 >> 2] = i17;
+ }
+ i30 = i4 | 0;
+ _memset(i30 | 0, 0, 16);
+ _memset(i5 | 0, 0, 16);
+ i31 = __Znwj(200) | 0;
+ do {
+ if ((HEAP8[14344] | 0) == 0) {
+ if ((___cxa_guard_acquire(14344) | 0) == 0) {
+ break;
+ }
+ do {
+ if ((HEAP8[14352] | 0) == 0) {
+ if ((___cxa_guard_acquire(14352) | 0) == 0) {
+ break;
+ }
+ HEAPF32[3550] = 1.0;
+ _memset(14204, 0, 16);
+ HEAPF32[3555] = 1.0;
+ _memset(14224, 0, 16);
+ HEAPF32[3560] = 1.0;
+ HEAPF32[3561] = 0.0;
+ }
+ } while (0);
+ HEAP32[3534] = HEAP32[3550];
+ HEAP32[3535] = HEAP32[3551];
+ HEAP32[3536] = HEAP32[3552];
+ HEAP32[3537] = HEAP32[3553];
+ HEAP32[3538] = HEAP32[3554];
+ HEAP32[14156 >> 2] = HEAP32[14220 >> 2];
+ HEAP32[14160 >> 2] = HEAP32[14224 >> 2];
+ HEAP32[14164 >> 2] = HEAP32[14228 >> 2];
+ HEAP32[3542] = HEAP32[3558];
+ HEAP32[14172 >> 2] = HEAP32[14236 >> 2];
+ HEAP32[14176 >> 2] = HEAP32[14240 >> 2];
+ HEAP32[14180 >> 2] = HEAP32[14244 >> 2];
+ _memset(14184, 0, 16);
+ }
+ } while (0);
+ HEAP32[i31 >> 2] = 3864;
+ HEAPF32[i31 + 4 >> 2] = 1.0;
+ i32 = i31 + 8 | 0;
+ HEAP32[i32 >> 2] = HEAP32[i30 >> 2];
+ HEAP32[i32 + 4 >> 2] = HEAP32[i30 + 4 >> 2];
+ HEAP32[i32 + 8 >> 2] = HEAP32[i30 + 8 >> 2];
+ i32 = HEAP32[i4 + 12 >> 2] | 0;
+ HEAP32[i31 + 20 >> 2] = i32;
+ HEAPF32[i31 + 24 >> 2] = 1.0;
+ i4 = i31 + 28 | 0;
+ i33 = HEAP32[i6 >> 2] | 0;
+ i34 = HEAP32[i6 + 4 >> 2] | 0;
+ HEAP32[i4 >> 2] = i33;
+ HEAP32[i4 + 4 >> 2] = i34;
+ i4 = i5 + 8 | 0;
+ i5 = i31 + 36 | 0;
+ i6 = HEAP32[i4 >> 2] | 0;
+ i35 = HEAP32[i4 + 4 >> 2] | 0;
+ HEAP32[i5 >> 2] = i6;
+ HEAP32[i5 + 4 >> 2] = i35;
+ HEAPF32[i31 + 44 >> 2] = 1.0;
+ HEAPF32[i31 + 48 >> 2] = 0.0;
+ HEAPF32[i31 + 52 >> 2] = 0.0;
+ HEAPF32[i31 + 56 >> 2] = -56.0;
+ HEAPF32[i31 + 60 >> 2] = 0.0;
+ HEAPF32[i31 + 64 >> 2] = 0.0;
+ i5 = i31 + 68 | 0;
+ HEAP32[i5 >> 2] = HEAP32[3534];
+ HEAP32[i5 + 4 >> 2] = HEAP32[3535];
+ HEAP32[i5 + 8 >> 2] = HEAP32[3536];
+ HEAP32[i5 + 12 >> 2] = HEAP32[3537];
+ i5 = i31 + 84 | 0;
+ HEAP32[i5 >> 2] = HEAP32[3538];
+ HEAP32[i5 + 4 >> 2] = HEAP32[14156 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[14160 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[14164 >> 2];
+ i5 = i31 + 100 | 0;
+ HEAP32[i5 >> 2] = HEAP32[3542];
+ HEAP32[i5 + 4 >> 2] = HEAP32[14172 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[14176 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[14180 >> 2];
+ i5 = i31 + 116 | 0;
+ HEAP32[i5 >> 2] = HEAP32[3546];
+ HEAP32[i5 + 4 >> 2] = HEAP32[14188 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[14192 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[14196 >> 2];
+ HEAPF32[i31 + 132 >> 2] = 1.0;
+ i5 = i31 + 136 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i30 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i30 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i30 + 8 >> 2];
+ HEAP32[i31 + 148 >> 2] = i32;
+ HEAPF32[i31 + 152 >> 2] = 1.0;
+ i32 = i31 + 156 | 0;
+ HEAP32[i32 >> 2] = i33;
+ HEAP32[i32 + 4 >> 2] = i34;
+ i34 = i31 + 164 | 0;
+ HEAP32[i34 >> 2] = i6;
+ HEAP32[i34 + 4 >> 2] = i35;
+ HEAPF32[i31 + 172 >> 2] = 1.0;
+ HEAPF32[i31 + 176 >> 2] = 0.0;
+ HEAPF32[i31 + 180 >> 2] = 0.0;
+ HEAPF32[i31 + 184 >> 2] = -56.0;
+ HEAPF32[i31 + 188 >> 2] = 0.0;
+ HEAPF32[i31 + 192 >> 2] = 0.0;
+ HEAP32[i31 + 196 >> 2] = 0;
+ HEAPF32[i7 >> 2] = 0.0;
+ HEAP32[i7 + 4 >> 2] = i31;
+ HEAP32[i7 + 72 >> 2] = i17;
+ _memset(i7 + 76 | 0, 0, 24);
+ HEAPF32[i7 + 100 >> 2] = .5;
+ HEAPF32[i7 + 104 >> 2] = 0.0;
+ HEAPF32[i7 + 108 >> 2] = .800000011920929;
+ HEAPF32[i7 + 112 >> 2] = 1.0;
+ HEAP8[i7 + 116 | 0] = 0;
+ HEAPF32[i7 + 120 >> 2] = .004999999888241291;
+ HEAPF32[i7 + 124 >> 2] = .009999999776482582;
+ HEAPF32[i7 + 128 >> 2] = .009999999776482582;
+ HEAPF32[i7 + 132 >> 2] = .009999999776482582;
+ HEAPF32[i7 + 8 >> 2] = 1.0;
+ _memset(i7 + 12 | 0, 0, 16);
+ HEAPF32[i7 + 28 >> 2] = 1.0;
+ _memset(i7 + 32 | 0, 0, 16);
+ HEAPF32[i7 + 48 >> 2] = 1.0;
+ _memset(i7 + 52 | 0, 0, 20);
+ i17 = __Z22btAlignedAllocInternalji(608, 16) | 0;
+ __ZN11btRigidBodyC2ERKNS_27btRigidBodyConstructionInfoE(i17, i7);
+ i7 = i22;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i7 >> 2] | 0) + 80 >> 2] & 127](i23, i17);
+ i17 = __Z22btAlignedAllocInternalji(52, 16) | 0;
+ __ZN21btConvexInternalShapeC2Ev(i17);
+ HEAP32[i17 >> 2] = 4728;
+ HEAP32[i17 + 4 >> 2] = 8;
+ HEAPF32[i17 + 28 >> 2] = 1.0;
+ HEAPF32[i17 + 44 >> 2] = 1.0;
+ i31 = i17;
+ i35 = __Z22btAlignedAllocInternalji(8, 16) | 0;
+ i34 = i35;
+ if ((i35 | 0) != 0) {
+ HEAP32[i34 >> 2] = HEAP32[i24 >> 2];
+ }
+ if (!i29) {
+ __Z21btAlignedFreeInternalPv(i3);
+ }
+ i3 = i35 + 4 | 0;
+ if ((i3 | 0) != 0) {
+ HEAP32[i3 >> 2] = i31;
+ }
+ i3 = i8 | 0;
+ _memset(i3 | 0, 0, 16);
+ _memset(i9 | 0, 0, 16);
+ _memset(i11 | 0, 0, 16);
+ FUNCTION_TABLE_vifi[HEAP32[(HEAP32[i17 >> 2] | 0) + 32 >> 2] & 15](i31, 1.0, i11);
+ i17 = __Znwj(200) | 0;
+ do {
+ if ((HEAP8[14344] | 0) == 0) {
+ if ((___cxa_guard_acquire(14344) | 0) == 0) {
+ break;
+ }
+ do {
+ if ((HEAP8[14352] | 0) == 0) {
+ if ((___cxa_guard_acquire(14352) | 0) == 0) {
+ break;
+ }
+ HEAPF32[3550] = 1.0;
+ _memset(14204, 0, 16);
+ HEAPF32[3555] = 1.0;
+ _memset(14224, 0, 16);
+ HEAPF32[3560] = 1.0;
+ HEAPF32[3561] = 0.0;
+ }
+ } while (0);
+ HEAP32[3534] = HEAP32[3550];
+ HEAP32[3535] = HEAP32[3551];
+ HEAP32[3536] = HEAP32[3552];
+ HEAP32[3537] = HEAP32[3553];
+ HEAP32[3538] = HEAP32[3554];
+ HEAP32[14156 >> 2] = HEAP32[14220 >> 2];
+ HEAP32[14160 >> 2] = HEAP32[14224 >> 2];
+ HEAP32[14164 >> 2] = HEAP32[14228 >> 2];
+ HEAP32[3542] = HEAP32[3558];
+ HEAP32[14172 >> 2] = HEAP32[14236 >> 2];
+ HEAP32[14176 >> 2] = HEAP32[14240 >> 2];
+ HEAP32[14180 >> 2] = HEAP32[14244 >> 2];
+ _memset(14184, 0, 16);
+ }
+ } while (0);
+ HEAP32[i17 >> 2] = 3864;
+ HEAPF32[i17 + 4 >> 2] = 1.0;
+ i29 = i17 + 8 | 0;
+ HEAP32[i29 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i29 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i29 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ i29 = HEAP32[i8 + 12 >> 2] | 0;
+ HEAP32[i17 + 20 >> 2] = i29;
+ HEAPF32[i17 + 24 >> 2] = 1.0;
+ i8 = i17 + 28 | 0;
+ i24 = HEAP32[i10 >> 2] | 0;
+ i6 = HEAP32[i10 + 4 >> 2] | 0;
+ HEAP32[i8 >> 2] = i24;
+ HEAP32[i8 + 4 >> 2] = i6;
+ i8 = i9 + 8 | 0;
+ i9 = i17 + 36 | 0;
+ i10 = HEAP32[i8 >> 2] | 0;
+ i32 = HEAP32[i8 + 4 >> 2] | 0;
+ HEAP32[i9 >> 2] = i10;
+ HEAP32[i9 + 4 >> 2] = i32;
+ HEAPF32[i17 + 44 >> 2] = 1.0;
+ HEAPF32[i17 + 48 >> 2] = 0.0;
+ HEAPF32[i17 + 52 >> 2] = 2.0;
+ HEAPF32[i17 + 56 >> 2] = 10.0;
+ HEAPF32[i17 + 60 >> 2] = 0.0;
+ HEAPF32[i17 + 64 >> 2] = 0.0;
+ i9 = i17 + 68 | 0;
+ HEAP32[i9 >> 2] = HEAP32[3534];
+ HEAP32[i9 + 4 >> 2] = HEAP32[3535];
+ HEAP32[i9 + 8 >> 2] = HEAP32[3536];
+ HEAP32[i9 + 12 >> 2] = HEAP32[3537];
+ i9 = i17 + 84 | 0;
+ HEAP32[i9 >> 2] = HEAP32[3538];
+ HEAP32[i9 + 4 >> 2] = HEAP32[14156 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[14160 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[14164 >> 2];
+ i9 = i17 + 100 | 0;
+ HEAP32[i9 >> 2] = HEAP32[3542];
+ HEAP32[i9 + 4 >> 2] = HEAP32[14172 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[14176 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[14180 >> 2];
+ i9 = i17 + 116 | 0;
+ HEAP32[i9 >> 2] = HEAP32[3546];
+ HEAP32[i9 + 4 >> 2] = HEAP32[14188 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[14192 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[14196 >> 2];
+ HEAPF32[i17 + 132 >> 2] = 1.0;
+ i9 = i17 + 136 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i17 + 148 >> 2] = i29;
+ HEAPF32[i17 + 152 >> 2] = 1.0;
+ i29 = i17 + 156 | 0;
+ HEAP32[i29 >> 2] = i24;
+ HEAP32[i29 + 4 >> 2] = i6;
+ i6 = i17 + 164 | 0;
+ HEAP32[i6 >> 2] = i10;
+ HEAP32[i6 + 4 >> 2] = i32;
+ HEAPF32[i17 + 172 >> 2] = 1.0;
+ HEAPF32[i17 + 176 >> 2] = 0.0;
+ HEAPF32[i17 + 180 >> 2] = 2.0;
+ HEAPF32[i17 + 184 >> 2] = 10.0;
+ HEAPF32[i17 + 188 >> 2] = 0.0;
+ HEAPF32[i17 + 192 >> 2] = 0.0;
+ HEAP32[i17 + 196 >> 2] = 0;
+ HEAPF32[i12 >> 2] = 1.0;
+ HEAP32[i12 + 4 >> 2] = i17;
+ HEAP32[i12 + 72 >> 2] = i31;
+ i31 = i12 + 76 | 0;
+ i17 = i11;
+ HEAP32[i31 >> 2] = HEAP32[i17 >> 2];
+ HEAP32[i31 + 4 >> 2] = HEAP32[i17 + 4 >> 2];
+ HEAP32[i31 + 8 >> 2] = HEAP32[i17 + 8 >> 2];
+ HEAP32[i31 + 12 >> 2] = HEAP32[i17 + 12 >> 2];
+ HEAPF32[i12 + 92 >> 2] = 0.0;
+ HEAPF32[i12 + 96 >> 2] = 0.0;
+ HEAPF32[i12 + 100 >> 2] = .5;
+ HEAPF32[i12 + 104 >> 2] = 0.0;
+ HEAPF32[i12 + 108 >> 2] = .800000011920929;
+ HEAPF32[i12 + 112 >> 2] = 1.0;
+ HEAP8[i12 + 116 | 0] = 0;
+ HEAPF32[i12 + 120 >> 2] = .004999999888241291;
+ HEAPF32[i12 + 124 >> 2] = .009999999776482582;
+ HEAPF32[i12 + 128 >> 2] = .009999999776482582;
+ HEAPF32[i12 + 132 >> 2] = .009999999776482582;
+ HEAPF32[i12 + 8 >> 2] = 1.0;
+ _memset(i12 + 12 | 0, 0, 16);
+ HEAPF32[i12 + 28 >> 2] = 1.0;
+ _memset(i12 + 32 | 0, 0, 16);
+ HEAPF32[i12 + 48 >> 2] = 1.0;
+ _memset(i12 + 52 | 0, 0, 20);
+ i17 = __Z22btAlignedAllocInternalji(608, 16) | 0;
+ __ZN11btRigidBodyC2ERKNS_27btRigidBodyConstructionInfoE(i17, i12);
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i7 >> 2] | 0) + 80 >> 2] & 127](i23, i17);
+ i17 = i22;
+ i7 = i22 + 8 | 0;
+ i12 = i22 + 16 | 0;
+ i31 = i13 + 48 | 0;
+ i11 = i13 + 52 | 0;
+ i32 = i13 + 56 | 0;
+ i6 = 0;
+ do {
+ FUNCTION_TABLE_iifif[HEAP32[(HEAP32[i17 >> 2] | 0) + 48 >> 2] & 3](i23, .01666666753590107, 10, .01666666753590107) | 0;
+ i10 = HEAP32[i7 >> 2] | 0;
+ if ((i10 | 0) > 0) {
+ i29 = i10;
+ do {
+ i29 = i29 - 1 | 0;
+ i10 = HEAP32[(HEAP32[i12 >> 2] | 0) + (i29 << 2) >> 2] | 0;
+ do {
+ if (!((HEAP32[i10 + 232 >> 2] & 2 | 0) == 0 | (i10 | 0) == 0)) {
+ i24 = HEAP32[i10 + 472 >> 2] | 0;
+ if ((i24 | 0) == 0) {
+ break;
+ }
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i24 >> 2] | 0) + 8 >> 2] & 127](i24, i13);
+ d26 = +HEAPF32[i31 >> 2];
+ d28 = +HEAPF32[i11 >> 2];
+ d25 = +HEAPF32[i32 >> 2];
+ _printf(1128, (i24 = STACKTOP, STACKTOP = STACKTOP + 24 | 0, HEAPF64[i24 >> 3] = d26, HEAPF64[i24 + 8 >> 3] = d28, HEAPF64[i24 + 16 >> 3] = d25, i24) | 0) | 0;
+ STACKTOP = i24;
+ }
+ } while (0);
+ } while ((i29 | 0) > 0);
+ }
+ i6 = i6 + 1 | 0;
+ } while ((i6 | 0) < 135);
+ i6 = HEAP32[i7 >> 2] | 0;
+ if ((i6 | 0) > 0) {
+ i7 = i22;
+ i32 = i6;
+ do {
+ i32 = i32 - 1 | 0;
+ i6 = HEAP32[(HEAP32[i12 >> 2] | 0) + (i32 << 2) >> 2] | 0;
+ i11 = (i6 | 0) == 0;
+ do {
+ if (!((HEAP32[i6 + 232 >> 2] & 2 | 0) == 0 | i11)) {
+ i31 = HEAP32[i6 + 472 >> 2] | 0;
+ if ((i31 | 0) == 0) {
+ break;
+ }
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i31 >> 2] | 0) + 4 >> 2] & 511](i31);
+ }
+ } while (0);
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i23, i6);
+ if (!i11) {
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i6 >> 2] | 0) + 8 >> 2] & 511](i6);
+ }
+ } while ((i32 | 0) > 0);
+ }
+ i32 = HEAP32[i34 >> 2] | 0;
+ HEAP32[i34 >> 2] = 0;
+ if ((i32 | 0) != 0) {
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i32 >> 2] | 0) + 4 >> 2] & 511](i32);
+ }
+ i32 = i35 + 4 | 0;
+ i34 = HEAP32[i32 >> 2] | 0;
+ HEAP32[i32 >> 2] = 0;
+ if ((i34 | 0) != 0) {
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i34 >> 2] | 0) + 4 >> 2] & 511](i34);
+ }
+ if ((i22 | 0) != 0) {
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i22 >> 2] | 0) + 4 >> 2] & 511](i23);
+ }
+ if ((i20 | 0) != 0) {
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i20 >> 2] | 0) + 4 >> 2] & 511](i21);
+ }
+ if ((i18 | 0) != 0) {
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i18 >> 2] | 0) + 4 >> 2] & 511](i19);
+ }
+ if ((i1 | 0) != 0) {
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 4 >> 2] & 511](i16);
+ }
+ if ((i14 | 0) != 0) {
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i14 >> 2] | 0) + 4 >> 2] & 511](i15);
+ }
+ if ((i35 | 0) == 0) {
+ STACKTOP = i2;
+ return 0;
+ }
+ __Z21btAlignedFreeInternalPv(i35);
+ STACKTOP = i2;
+ return 0;
+}
+function __ZN23btPolyhedralConvexShape28initializePolyhedralFeaturesEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, i45 = 0, d46 = 0.0, d47 = 0.0, d48 = 0.0, d49 = 0.0, i50 = 0, i51 = 0, d52 = 0.0, i53 = 0, i54 = 0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 248 | 0;
+ i3 = i2 + 16 | 0;
+ i4 = i2 + 80 | 0;
+ i5 = i2 + 96 | 0;
+ i6 = i2 + 152 | 0;
+ i7 = i2 + 168 | 0;
+ i8 = i2 + 216 | 0;
+ i9 = i2 + 232 | 0;
+ i10 = i1 + 52 | 0;
+ i11 = HEAP32[i10 >> 2] | 0;
+ if ((i11 | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i11);
+ }
+ i11 = __Z22btAlignedAllocInternalji(80, 16) | 0;
+ if ((i11 | 0) == 0) {
+ i12 = 0;
+ } else {
+ i13 = i11;
+ __ZN18btConvexPolyhedronC2Ev(i13);
+ i12 = i13;
+ }
+ HEAP32[i10 >> 2] = i12;
+ i12 = i1;
+ i13 = i1;
+ i11 = i2 | 0;
+ i14 = 0;
+ i15 = 0;
+ i16 = 0;
+ while (1) {
+ if ((i14 | 0) >= (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i12 >> 2] | 0) + 88 >> 2] & 127](i1) | 0)) {
+ break;
+ }
+ do {
+ if ((i14 | 0) == (i15 | 0)) {
+ i17 = (i15 | 0) == 0 ? 1 : i15 << 1;
+ if ((i15 | 0) >= (i17 | 0)) {
+ i18 = i15;
+ i19 = i16;
+ break;
+ }
+ if ((i17 | 0) == 0) {
+ i20 = 0;
+ } else {
+ i20 = __Z22btAlignedAllocInternalji(i17 << 4, 16) | 0;
+ }
+ if ((i15 | 0) > 0) {
+ i21 = 0;
+ do {
+ i22 = i20 + (i21 << 4) | 0;
+ if ((i22 | 0) != 0) {
+ i23 = i22;
+ i22 = i16 + (i21 << 4) | 0;
+ HEAP32[i23 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i23 + 4 >> 2] = HEAP32[i22 + 4 >> 2];
+ HEAP32[i23 + 8 >> 2] = HEAP32[i22 + 8 >> 2];
+ HEAP32[i23 + 12 >> 2] = HEAP32[i22 + 12 >> 2];
+ }
+ i21 = i21 + 1 | 0;
+ } while ((i21 | 0) < (i15 | 0));
+ }
+ if ((i16 | 0) == 0) {
+ i18 = i17;
+ i19 = i20;
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i16);
+ i18 = i17;
+ i19 = i20;
+ } else {
+ i18 = i15;
+ i19 = i16;
+ }
+ } while (0);
+ i21 = i19 + (i14 << 4) | 0;
+ if ((i21 | 0) != 0) {
+ i22 = i21;
+ HEAP32[i22 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i22 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i22 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ HEAP32[i22 + 12 >> 2] = HEAP32[i11 + 12 >> 2];
+ }
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i13 >> 2] | 0) + 100 >> 2] & 127](i1, i14, i21);
+ i14 = i14 + 1 | 0;
+ i15 = i18;
+ i16 = i19;
+ }
+ HEAP8[i3 + 16 | 0] = 1;
+ i19 = i3 + 12 | 0;
+ HEAP32[i19 >> 2] = 0;
+ i18 = i3 + 4 | 0;
+ HEAP32[i18 >> 2] = 0;
+ HEAP32[i3 + 8 >> 2] = 0;
+ HEAP8[i3 + 36 | 0] = 1;
+ i15 = i3 + 32 | 0;
+ HEAP32[i15 >> 2] = 0;
+ HEAP32[i3 + 24 >> 2] = 0;
+ HEAP32[i3 + 28 >> 2] = 0;
+ HEAP8[i3 + 56 | 0] = 1;
+ i13 = i3 + 52 | 0;
+ HEAP32[i13 >> 2] = 0;
+ i11 = i3 + 44 | 0;
+ HEAP32[i11 >> 2] = 0;
+ HEAP32[i3 + 48 >> 2] = 0;
+ i20 = i16;
+ +__ZN20btConvexHullComputer7computeEPKvbiiff(i3, i20, 0, 16, i14, 0.0, 0.0);
+ i14 = HEAP32[i11 >> 2] | 0;
+ i11 = (i14 | 0) > 0;
+ if (i11) {
+ i12 = __Z22btAlignedAllocInternalji(i14 << 4, 16) | 0;
+ i21 = i4;
+ i4 = 0;
+ while (1) {
+ i22 = i12 + (i4 << 4) | 0;
+ if ((i22 | 0) != 0) {
+ i23 = i22;
+ HEAP32[i23 >> 2] = HEAP32[i21 >> 2];
+ HEAP32[i23 + 4 >> 2] = HEAP32[i21 + 4 >> 2];
+ HEAP32[i23 + 8 >> 2] = HEAP32[i21 + 8 >> 2];
+ HEAP32[i23 + 12 >> 2] = HEAP32[i21 + 12 >> 2];
+ }
+ i23 = i4 + 1 | 0;
+ if ((i23 | 0) < (i14 | 0)) {
+ i4 = i23;
+ } else {
+ i24 = i12;
+ break;
+ }
+ }
+ } else {
+ i24 = 0;
+ }
+ i12 = HEAP32[i10 >> 2] | 0;
+ _memset(i5 | 0, 0, 56);
+ i4 = i5 + 16 | 0;
+ HEAP8[i4] = 1;
+ i21 = i5 + 12 | 0;
+ HEAP32[i21 >> 2] = 0;
+ i23 = i5 + 4 | 0;
+ HEAP32[i23 >> 2] = 0;
+ i22 = i5 + 8 | 0;
+ HEAP32[i22 >> 2] = 0;
+ i25 = i5 + 36 | 0;
+ HEAP8[i25] = 1;
+ i26 = i5 + 32 | 0;
+ HEAP32[i26 >> 2] = 0;
+ i27 = i5 + 24 | 0;
+ HEAP32[i27 >> 2] = 0;
+ i28 = i5 + 28 | 0;
+ HEAP32[i28 >> 2] = 0;
+ __ZN20btAlignedObjectArrayI6btFaceE6resizeEiRKS0_(i12 + 24 | 0, i14, i5);
+ i5 = HEAP32[i26 >> 2] | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i25] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i26 >> 2] = 0;
+ }
+ HEAP8[i25] = 1;
+ HEAP32[i26 >> 2] = 0;
+ HEAP32[i27 >> 2] = 0;
+ HEAP32[i28 >> 2] = 0;
+ i28 = HEAP32[i21 >> 2] | 0;
+ if ((i28 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i28);
+ }
+ HEAP32[i21 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i21 >> 2] = 0;
+ HEAP32[i23 >> 2] = 0;
+ HEAP32[i22 >> 2] = 0;
+ i22 = HEAP32[i18 >> 2] | 0;
+ i23 = HEAP32[i10 >> 2] | 0;
+ i21 = i23 + 8 | 0;
+ i4 = HEAP32[i21 >> 2] | 0;
+ if ((i4 | 0) < (i22 | 0)) {
+ i28 = i23 + 12 | 0;
+ if ((HEAP32[i28 >> 2] | 0) < (i22 | 0)) {
+ if ((i22 | 0) == 0) {
+ i29 = 0;
+ i30 = i4;
+ } else {
+ i27 = __Z22btAlignedAllocInternalji(i22 << 4, 16) | 0;
+ i29 = i27;
+ i30 = HEAP32[i21 >> 2] | 0;
+ }
+ i27 = i23 + 16 | 0;
+ if ((i30 | 0) > 0) {
+ i26 = 0;
+ do {
+ i25 = i29 + (i26 << 4) | 0;
+ if ((i25 | 0) != 0) {
+ i5 = i25;
+ i25 = (HEAP32[i27 >> 2] | 0) + (i26 << 4) | 0;
+ HEAP32[i5 >> 2] = HEAP32[i25 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i25 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i25 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i25 + 12 >> 2];
+ }
+ i26 = i26 + 1 | 0;
+ } while ((i26 | 0) < (i30 | 0));
+ }
+ i30 = HEAP32[i27 >> 2] | 0;
+ i26 = i23 + 20 | 0;
+ if ((i30 | 0) != 0) {
+ if ((HEAP8[i26] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i30);
+ }
+ HEAP32[i27 >> 2] = 0;
+ }
+ HEAP8[i26] = 1;
+ HEAP32[i27 >> 2] = i29;
+ HEAP32[i28 >> 2] = i22;
+ i31 = i27;
+ } else {
+ i31 = i23 + 16 | 0;
+ }
+ i23 = i6;
+ i6 = i4;
+ do {
+ i4 = (HEAP32[i31 >> 2] | 0) + (i6 << 4) | 0;
+ if ((i4 | 0) != 0) {
+ i27 = i4;
+ HEAP32[i27 >> 2] = HEAP32[i23 >> 2];
+ HEAP32[i27 + 4 >> 2] = HEAP32[i23 + 4 >> 2];
+ HEAP32[i27 + 8 >> 2] = HEAP32[i23 + 8 >> 2];
+ HEAP32[i27 + 12 >> 2] = HEAP32[i23 + 12 >> 2];
+ }
+ i6 = i6 + 1 | 0;
+ } while ((i6 | 0) < (i22 | 0));
+ }
+ HEAP32[i21 >> 2] = i22;
+ if ((i22 | 0) > 0) {
+ i21 = 0;
+ do {
+ i6 = (HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] | 0) + (i21 << 4) | 0;
+ i23 = (HEAP32[i19 >> 2] | 0) + (i21 << 4) | 0;
+ HEAP32[i6 >> 2] = HEAP32[i23 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i23 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i23 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i23 + 12 >> 2];
+ i21 = i21 + 1 | 0;
+ } while ((i21 | 0) < (i22 | 0));
+ }
+ if (i11) {
+ i11 = i7 + 4 | 0;
+ i22 = i7 + 24 | 0;
+ i21 = i7 + 8 | 0;
+ i23 = i7 + 20 | 0;
+ i6 = i7 + 16 | 0;
+ i31 = i7 | 0;
+ i27 = 0;
+ while (1) {
+ i4 = (HEAP32[i15 >> 2] | 0) + ((HEAP32[(HEAP32[i13 >> 2] | 0) + (i27 << 2) >> 2] | 0) * 12 | 0) | 0;
+ i28 = i4;
+ i29 = 0;
+ while (1) {
+ i26 = i28 + 4 | 0;
+ i30 = HEAP32[i28 + ((HEAP32[i26 >> 2] | 0) * 12 | 0) + 8 >> 2] | 0;
+ i25 = HEAP32[(HEAP32[i10 >> 2] | 0) + 36 >> 2] | 0;
+ i5 = i25 + (i27 * 56 | 0) + 4 | 0;
+ i12 = HEAP32[i5 >> 2] | 0;
+ i32 = i25 + (i27 * 56 | 0) + 8 | 0;
+ do {
+ if ((i12 | 0) == (HEAP32[i32 >> 2] | 0)) {
+ i33 = (i12 | 0) == 0 ? 1 : i12 << 1;
+ if ((i12 | 0) >= (i33 | 0)) {
+ i34 = i12;
+ break;
+ }
+ if ((i33 | 0) == 0) {
+ i35 = 0;
+ i36 = i12;
+ } else {
+ i37 = __Z22btAlignedAllocInternalji(i33 << 2, 16) | 0;
+ i35 = i37;
+ i36 = HEAP32[i5 >> 2] | 0;
+ }
+ i37 = i25 + (i27 * 56 | 0) + 12 | 0;
+ if ((i36 | 0) > 0) {
+ i38 = 0;
+ do {
+ i39 = i35 + (i38 << 2) | 0;
+ if ((i39 | 0) != 0) {
+ HEAP32[i39 >> 2] = HEAP32[(HEAP32[i37 >> 2] | 0) + (i38 << 2) >> 2];
+ }
+ i38 = i38 + 1 | 0;
+ } while ((i38 | 0) < (i36 | 0));
+ }
+ i38 = HEAP32[i37 >> 2] | 0;
+ i39 = i25 + (i27 * 56 | 0) + 16 | 0;
+ if ((i38 | 0) != 0) {
+ if ((HEAP8[i39] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i38);
+ }
+ HEAP32[i37 >> 2] = 0;
+ }
+ HEAP8[i39] = 1;
+ HEAP32[i37 >> 2] = i35;
+ HEAP32[i32 >> 2] = i33;
+ i34 = HEAP32[i5 >> 2] | 0;
+ } else {
+ i34 = i12;
+ }
+ } while (0);
+ i12 = (HEAP32[i25 + (i27 * 56 | 0) + 12 >> 2] | 0) + (i34 << 2) | 0;
+ if ((i12 | 0) == 0) {
+ i40 = i34;
+ } else {
+ HEAP32[i12 >> 2] = i30;
+ i40 = HEAP32[i5 >> 2] | 0;
+ }
+ HEAP32[i5 >> 2] = i40 + 1;
+ i12 = HEAP32[i28 + 8 >> 2] | 0;
+ i32 = HEAP32[i19 >> 2] | 0;
+ d41 = +HEAPF32[i32 + (i12 << 4) >> 2] - +HEAPF32[i32 + (i30 << 4) >> 2];
+ d42 = +HEAPF32[i32 + (i12 << 4) + 4 >> 2] - +HEAPF32[i32 + (i30 << 4) + 4 >> 2];
+ d43 = +HEAPF32[i32 + (i12 << 4) + 8 >> 2] - +HEAPF32[i32 + (i30 << 4) + 8 >> 2];
+ d44 = 1.0 / +Math_sqrt(+(d41 * d41 + d42 * d42 + d43 * d43));
+ if ((i29 | 0) < 2) {
+ HEAPF32[i7 + (i29 << 4) >> 2] = d41 * d44;
+ HEAPF32[i7 + (i29 << 4) + 4 >> 2] = d42 * d44;
+ HEAPF32[i7 + (i29 << 4) + 8 >> 2] = d43 * d44;
+ HEAPF32[i7 + (i29 << 4) + 12 >> 2] = 0.0;
+ i45 = i29 + 1 | 0;
+ } else {
+ i45 = i29;
+ }
+ i32 = HEAP32[i26 >> 2] | 0;
+ i12 = i28 + (((HEAP32[i28 + (i32 * 12 | 0) >> 2] | 0) + i32 | 0) * 12 | 0) | 0;
+ if ((i12 | 0) == (i4 | 0)) {
+ break;
+ } else {
+ i28 = i12;
+ i29 = i45;
+ }
+ }
+ i29 = i24 + (i27 << 4) | 0;
+ if ((i45 | 0) == 2) {
+ d44 = +HEAPF32[i11 >> 2];
+ d43 = +HEAPF32[i22 >> 2];
+ d42 = +HEAPF32[i21 >> 2];
+ d41 = +HEAPF32[i23 >> 2];
+ d46 = d44 * d43 - d42 * d41;
+ d47 = +HEAPF32[i6 >> 2];
+ d48 = +HEAPF32[i31 >> 2];
+ d49 = d42 * d47 - d43 * d48;
+ d43 = d41 * d48 - d44 * d47;
+ i28 = i24 + (i27 << 4) + 4 | 0;
+ i4 = i24 + (i27 << 4) + 8 | 0;
+ HEAPF32[i24 + (i27 << 4) + 12 >> 2] = 0.0;
+ d47 = 1.0 / +Math_sqrt(+(d43 * d43 + (d46 * d46 + d49 * d49)));
+ d44 = d46 * d47;
+ HEAPF32[i29 >> 2] = d44;
+ HEAPF32[i28 >> 2] = d49 * d47;
+ HEAPF32[i4 >> 2] = d43 * d47;
+ i12 = HEAP32[i10 >> 2] | 0;
+ i32 = HEAP32[i12 + 36 >> 2] | 0;
+ HEAPF32[i32 + (i27 * 56 | 0) + 40 >> 2] = -0.0 - d44;
+ HEAPF32[i32 + (i27 * 56 | 0) + 44 >> 2] = -0.0 - +HEAPF32[i28 >> 2];
+ HEAPF32[i32 + (i27 * 56 | 0) + 48 >> 2] = -0.0 - +HEAPF32[i4 >> 2];
+ HEAPF32[i32 + (i27 * 56 | 0) + 52 >> 2] = 1.0000000150474662e+30;
+ i50 = i12;
+ i51 = i32;
+ } else {
+ _memset(i29 | 0, 0, 16);
+ i32 = HEAP32[i10 >> 2] | 0;
+ i50 = i32;
+ i51 = HEAP32[i32 + 36 >> 2] | 0;
+ }
+ i32 = HEAP32[i51 + (i27 * 56 | 0) + 4 >> 2] | 0;
+ if ((i32 | 0) > 0) {
+ d44 = +HEAPF32[i29 >> 2];
+ d47 = +HEAPF32[i24 + (i27 << 4) + 4 >> 2];
+ d43 = +HEAPF32[i24 + (i27 << 4) + 8 >> 2];
+ i29 = HEAP32[i51 + (i27 * 56 | 0) + 12 >> 2] | 0;
+ i12 = HEAP32[i50 + 16 >> 2] | 0;
+ d49 = 1.0000000150474662e+30;
+ i4 = 0;
+ while (1) {
+ i28 = HEAP32[i29 + (i4 << 2) >> 2] | 0;
+ d46 = d44 * +HEAPF32[i12 + (i28 << 4) >> 2] + d47 * +HEAPF32[i12 + (i28 << 4) + 4 >> 2] + d43 * +HEAPF32[i12 + (i28 << 4) + 8 >> 2];
+ d48 = d49 > d46 ? d46 : d49;
+ i28 = i4 + 1 | 0;
+ if ((i28 | 0) < (i32 | 0)) {
+ d49 = d48;
+ i4 = i28;
+ } else {
+ d52 = d48;
+ break;
+ }
+ }
+ } else {
+ d52 = 1.0000000150474662e+30;
+ }
+ HEAPF32[i51 + (i27 * 56 | 0) + 52 >> 2] = d52;
+ i4 = i27 + 1 | 0;
+ if ((i4 | 0) < (i14 | 0)) {
+ i27 = i4;
+ } else {
+ i53 = i50;
+ break;
+ }
+ }
+ } else {
+ i53 = HEAP32[i10 >> 2] | 0;
+ }
+ i50 = HEAP32[i53 + 28 >> 2] | 0;
+ do {
+ if ((i50 | 0) == 0) {
+ i54 = i53;
+ } else {
+ if (!((HEAP32[i18 >> 2] | 0) != 0 & (i50 | 0) > 0)) {
+ i54 = i53;
+ break;
+ }
+ i27 = i1;
+ i14 = i9 | 0;
+ i51 = i9 + 4 | 0;
+ i31 = i9 + 8 | 0;
+ i6 = i9 + 12 | 0;
+ i23 = i1 | 0;
+ i21 = i8 | 0;
+ i22 = i8 + 4 | 0;
+ i11 = i8 + 8 | 0;
+ i45 = 0;
+ i7 = i53;
+ while (1) {
+ i19 = HEAP32[i7 + 36 >> 2] | 0;
+ d52 = +HEAPF32[i19 + (i45 * 56 | 0) + 40 >> 2];
+ d49 = +HEAPF32[i19 + (i45 * 56 | 0) + 44 >> 2];
+ d43 = +HEAPF32[i19 + (i45 * 56 | 0) + 48 >> 2];
+ d47 = +HEAPF32[i19 + (i45 * 56 | 0) + 52 >> 2];
+ i19 = HEAP32[(HEAP32[i27 >> 2] | 0) + 60 >> 2] | 0;
+ HEAPF32[i14 >> 2] = -0.0 - d52;
+ HEAPF32[i51 >> 2] = -0.0 - d49;
+ HEAPF32[i31 >> 2] = -0.0 - d43;
+ HEAPF32[i6 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i19 & 127](i8, i23, i9);
+ i19 = HEAP32[i10 >> 2] | 0;
+ do {
+ if (d52 * +HEAPF32[i21 >> 2] + d49 * +HEAPF32[i22 >> 2] + d43 * +HEAPF32[i11 >> 2] < d47) {
+ i40 = HEAP32[i19 + 36 >> 2] | 0;
+ i34 = i40 + (i45 * 56 | 0) + 40 | 0;
+ HEAPF32[i34 >> 2] = +HEAPF32[i34 >> 2] * -1.0;
+ i34 = i40 + (i45 * 56 | 0) + 44 | 0;
+ HEAPF32[i34 >> 2] = +HEAPF32[i34 >> 2] * -1.0;
+ i34 = i40 + (i45 * 56 | 0) + 48 | 0;
+ HEAPF32[i34 >> 2] = +HEAPF32[i34 >> 2] * -1.0;
+ i34 = i40 + (i45 * 56 | 0) + 52 | 0;
+ HEAPF32[i34 >> 2] = +HEAPF32[i34 >> 2] * -1.0;
+ i34 = HEAP32[i40 + (i45 * 56 | 0) + 4 >> 2] | 0;
+ i35 = (i34 | 0) / 2 | 0;
+ if ((i34 | 0) <= 1) {
+ break;
+ }
+ i36 = HEAP32[i40 + (i45 * 56 | 0) + 12 >> 2] | 0;
+ i40 = i34 - 1 | 0;
+ i34 = 0;
+ do {
+ i13 = i36 + (i34 << 2) | 0;
+ i15 = i36 + (i40 - i34 << 2) | 0;
+ i4 = HEAP32[i13 >> 2] | 0;
+ HEAP32[i13 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i15 >> 2] = i4;
+ i34 = i34 + 1 | 0;
+ } while ((i34 | 0) < (i35 | 0));
+ }
+ } while (0);
+ i26 = i45 + 1 | 0;
+ if ((i26 | 0) < (HEAP32[i19 + 28 >> 2] | 0)) {
+ i45 = i26;
+ i7 = i19;
+ } else {
+ i54 = i19;
+ break;
+ }
+ }
+ }
+ } while (0);
+ __ZN18btConvexPolyhedron10initializeEv(i54);
+ if ((i24 | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i24);
+ }
+ __ZN20btConvexHullComputerD2Ev(i3);
+ if ((i16 | 0) == 0) {
+ STACKTOP = i2;
+ return 1;
+ }
+ __Z21btAlignedFreeInternalPv(i20);
+ STACKTOP = i2;
+ return 1;
+}
+function __ZN18btConvexPolyhedron10initializeEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, d49 = 0.0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, d68 = 0.0, d69 = 0.0, d70 = 0.0, d71 = 0.0, d72 = 0.0, d73 = 0.0, d74 = 0.0, d75 = 0.0, d76 = 0.0, d77 = 0.0, d78 = 0.0, d79 = 0.0, d80 = 0.0, d81 = 0.0, d82 = 0.0, d83 = 0.0, d84 = 0.0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 96 | 0;
+ i3 = i2 | 0;
+ i4 = i2 + 80 | 0;
+ i5 = i2 + 88 | 0;
+ HEAP8[i3 + 16 | 0] = 1;
+ i6 = i3 + 12 | 0;
+ HEAP32[i6 >> 2] = 0;
+ i7 = i3 + 4 | 0;
+ HEAP32[i7 >> 2] = 0;
+ HEAP32[i3 + 8 >> 2] = 0;
+ HEAP8[i3 + 36 | 0] = 1;
+ i8 = i3 + 32 | 0;
+ HEAP32[i8 >> 2] = 0;
+ HEAP32[i3 + 24 >> 2] = 0;
+ HEAP32[i3 + 28 >> 2] = 0;
+ HEAP8[i3 + 56 | 0] = 1;
+ i9 = i3 + 52 | 0;
+ HEAP32[i9 >> 2] = 0;
+ HEAP32[i3 + 44 >> 2] = 0;
+ i10 = i3 + 48 | 0;
+ HEAP32[i10 >> 2] = 0;
+ HEAP8[i3 + 76 | 0] = 1;
+ i11 = i3 + 72 | 0;
+ HEAP32[i11 >> 2] = 0;
+ HEAP32[i3 + 64 >> 2] = 0;
+ HEAP32[i3 + 68 >> 2] = 0;
+ i12 = i1 + 64 | 0;
+ i13 = i1 + 68 | 0;
+ i14 = i1 + 72 | 0;
+ i15 = i1 + 28 | 0;
+ _memset(i12 | 0, 0, 16);
+ i16 = HEAP32[i15 >> 2] | 0;
+ if ((i16 | 0) <= 0) {
+ d17 = 0.0;
+ d18 = 1.0 / d17;
+ d19 = +HEAPF32[i12 >> 2];
+ d20 = d18 * d19;
+ HEAPF32[i12 >> 2] = d20;
+ d21 = +HEAPF32[i13 >> 2];
+ d22 = d18 * d21;
+ HEAPF32[i13 >> 2] = d22;
+ d23 = +HEAPF32[i14 >> 2];
+ d24 = d18 * d23;
+ HEAPF32[i14 >> 2] = d24;
+ __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeED2Ev(i3);
+ STACKTOP = i2;
+ return;
+ }
+ i25 = i1 + 36 | 0;
+ i26 = i4 | 0;
+ i27 = i4 + 2 | 0;
+ i28 = i1 + 16 | 0;
+ i29 = i1 + 48 | 0;
+ i30 = i5 | 0;
+ i31 = i5 + 2 | 0;
+ i32 = i1 + 52 | 0;
+ i33 = i1 + 56 | 0;
+ i34 = i1 + 60 | 0;
+ i1 = 0;
+ i35 = i16;
+ while (1) {
+ i16 = HEAP32[i25 >> 2] | 0;
+ i36 = HEAP32[i16 + (i1 * 56 | 0) + 4 >> 2] | 0;
+ if ((i36 | 0) > 0) {
+ i37 = i1 & 65535;
+ i38 = 0;
+ i39 = i16;
+ while (1) {
+ i16 = i38 + 1 | 0;
+ i40 = HEAP32[i39 + (i1 * 56 | 0) + 12 >> 2] | 0;
+ i41 = HEAP32[i40 + (i38 << 2) >> 2] & 65535;
+ i42 = HEAP32[i40 + (((i16 | 0) == (i36 | 0) ? 0 : i16) << 2) >> 2] & 65535;
+ HEAP16[i26 >> 1] = i41;
+ HEAP16[i27 >> 1] = i42;
+ if (i41 << 16 >> 16 < i42 << 16 >> 16) {
+ HEAP16[i26 >> 1] = i42;
+ HEAP16[i27 >> 1] = i41;
+ i43 = i42;
+ i44 = i41;
+ } else {
+ i43 = i41;
+ i44 = i42;
+ }
+ i42 = i43 << 16 >> 16;
+ i41 = ((i44 & 65535) << 16) + i42 & (HEAP32[i10 >> 2] | 0) - 1;
+ L1973 : do {
+ if (i41 >>> 0 < (HEAP32[i7 >> 2] | 0) >>> 0) {
+ i40 = HEAP32[(HEAP32[i6 >> 2] | 0) + (i41 << 2) >> 2] | 0;
+ if ((i40 | 0) == -1) {
+ i45 = 0;
+ break;
+ }
+ i46 = HEAP32[i11 >> 2] | 0;
+ i47 = HEAP32[i8 >> 2] | 0;
+ i48 = i40;
+ while (1) {
+ if (i43 << 16 >> 16 == (HEAP16[i46 + (i48 << 2) >> 1] | 0)) {
+ if (i44 << 16 >> 16 == (HEAP16[i46 + (i48 << 2) + 2 >> 1] | 0)) {
+ break;
+ }
+ }
+ i40 = HEAP32[i47 + (i48 << 2) >> 2] | 0;
+ if ((i40 | 0) == -1) {
+ i45 = 0;
+ break L1973;
+ } else {
+ i48 = i40;
+ }
+ }
+ if ((i48 | 0) == -1) {
+ i45 = 0;
+ break;
+ }
+ i45 = (HEAP32[i9 >> 2] | 0) + (i48 << 2) | 0;
+ } else {
+ i45 = 0;
+ }
+ } while (0);
+ i41 = i44 << 16 >> 16;
+ i47 = HEAP32[i28 >> 2] | 0;
+ d49 = +HEAPF32[i47 + (i41 << 4) >> 2] - +HEAPF32[i47 + (i42 << 4) >> 2];
+ d50 = +HEAPF32[i47 + (i41 << 4) + 4 >> 2] - +HEAPF32[i47 + (i42 << 4) + 4 >> 2];
+ d51 = +HEAPF32[i47 + (i41 << 4) + 8 >> 2] - +HEAPF32[i47 + (i42 << 4) + 8 >> 2];
+ d52 = 1.0 / +Math_sqrt(+(d49 * d49 + d50 * d50 + d51 * d51));
+ d53 = d49 * d52;
+ d49 = d50 * d52;
+ d50 = d51 * d52;
+ i47 = HEAP32[i29 >> 2] | 0;
+ L1984 : do {
+ if ((i47 | 0) > 0) {
+ i41 = HEAP32[i33 >> 2] | 0;
+ i46 = 0;
+ while (1) {
+ d52 = +HEAPF32[i41 + (i46 << 4) >> 2];
+ d51 = +HEAPF32[i41 + (i46 << 4) + 8 >> 2];
+ d54 = d51 - d50;
+ do {
+ if (+Math_abs(+(d52 - d53)) <= 1.0e-6) {
+ if (+Math_abs(+(+HEAPF32[i41 + (i46 << 4) + 4 >> 2] - d49)) > 1.0e-6) {
+ break;
+ }
+ if (+Math_abs(+d54) <= 1.0e-6) {
+ break L1984;
+ }
+ }
+ } while (0);
+ d54 = d50 + d51;
+ do {
+ if (+Math_abs(+(d53 + d52)) <= 1.0e-6) {
+ if (+Math_abs(+(d49 + +HEAPF32[i41 + (i46 << 4) + 4 >> 2])) > 1.0e-6) {
+ break;
+ }
+ if (+Math_abs(+d54) <= 1.0e-6) {
+ break L1984;
+ }
+ }
+ } while (0);
+ i40 = i46 + 1 | 0;
+ if ((i40 | 0) < (i47 | 0)) {
+ i46 = i40;
+ } else {
+ i55 = 1714;
+ break;
+ }
+ }
+ } else {
+ i55 = 1714;
+ }
+ } while (0);
+ if ((i55 | 0) == 1714) {
+ i55 = 0;
+ do {
+ if ((i47 | 0) == (HEAP32[i32 >> 2] | 0)) {
+ i42 = (i47 | 0) == 0 ? 1 : i47 << 1;
+ if ((i47 | 0) >= (i42 | 0)) {
+ i56 = i47;
+ break;
+ }
+ if ((i42 | 0) == 0) {
+ i57 = 0;
+ i58 = i47;
+ } else {
+ i46 = __Z22btAlignedAllocInternalji(i42 << 4, 16) | 0;
+ i57 = i46;
+ i58 = HEAP32[i29 >> 2] | 0;
+ }
+ if ((i58 | 0) > 0) {
+ i46 = 0;
+ do {
+ i41 = i57 + (i46 << 4) | 0;
+ if ((i41 | 0) != 0) {
+ i48 = i41;
+ i41 = (HEAP32[i33 >> 2] | 0) + (i46 << 4) | 0;
+ HEAP32[i48 >> 2] = HEAP32[i41 >> 2];
+ HEAP32[i48 + 4 >> 2] = HEAP32[i41 + 4 >> 2];
+ HEAP32[i48 + 8 >> 2] = HEAP32[i41 + 8 >> 2];
+ HEAP32[i48 + 12 >> 2] = HEAP32[i41 + 12 >> 2];
+ }
+ i46 = i46 + 1 | 0;
+ } while ((i46 | 0) < (i58 | 0));
+ }
+ i46 = HEAP32[i33 >> 2] | 0;
+ if ((i46 | 0) != 0) {
+ if ((HEAP8[i34] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i46);
+ }
+ HEAP32[i33 >> 2] = 0;
+ }
+ HEAP8[i34] = 1;
+ HEAP32[i33 >> 2] = i57;
+ HEAP32[i32 >> 2] = i42;
+ i56 = HEAP32[i29 >> 2] | 0;
+ } else {
+ i56 = i47;
+ }
+ } while (0);
+ i47 = HEAP32[i33 >> 2] | 0;
+ i46 = i47 + (i56 << 4) | 0;
+ if ((i46 | 0) == 0) {
+ i59 = i56;
+ } else {
+ HEAPF32[i46 >> 2] = d53;
+ HEAPF32[i47 + (i56 << 4) + 4 >> 2] = d49;
+ HEAPF32[i47 + (i56 << 4) + 8 >> 2] = d50;
+ HEAPF32[i47 + (i56 << 4) + 12 >> 2] = 0.0;
+ i59 = HEAP32[i29 >> 2] | 0;
+ }
+ HEAP32[i29 >> 2] = i59 + 1;
+ }
+ if ((i45 | 0) == 0) {
+ HEAP16[i31 >> 1] = -1;
+ HEAP16[i30 >> 1] = i37;
+ __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeE6insertERKS0_RKS1_(i3, i4, i5);
+ } else {
+ HEAP16[i45 + 2 >> 1] = i37;
+ }
+ if ((i16 | 0) >= (i36 | 0)) {
+ break;
+ }
+ i38 = i16;
+ i39 = HEAP32[i25 >> 2] | 0;
+ }
+ i60 = HEAP32[i15 >> 2] | 0;
+ } else {
+ i60 = i35;
+ }
+ i39 = i1 + 1 | 0;
+ if ((i39 | 0) < (i60 | 0)) {
+ i1 = i39;
+ i35 = i60;
+ } else {
+ break;
+ }
+ }
+ if ((i60 | 0) <= 0) {
+ d17 = 0.0;
+ d18 = 1.0 / d17;
+ d19 = +HEAPF32[i12 >> 2];
+ d20 = d18 * d19;
+ HEAPF32[i12 >> 2] = d20;
+ d21 = +HEAPF32[i13 >> 2];
+ d22 = d18 * d21;
+ HEAPF32[i13 >> 2] = d22;
+ d23 = +HEAPF32[i14 >> 2];
+ d24 = d18 * d23;
+ HEAPF32[i14 >> 2] = d24;
+ __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeED2Ev(i3);
+ STACKTOP = i2;
+ return;
+ }
+ i60 = (HEAP32[i10 >> 2] | 0) - 1 | 0;
+ i10 = HEAP32[i7 >> 2] | 0;
+ i7 = HEAP32[i6 >> 2] | 0;
+ i6 = HEAP32[i11 >> 2] | 0;
+ i11 = HEAP32[i8 >> 2] | 0;
+ i8 = HEAP32[i9 >> 2] | 0;
+ i9 = 0;
+ do {
+ i35 = HEAP32[i25 >> 2] | 0;
+ i1 = HEAP32[i35 + (i9 * 56 | 0) + 4 >> 2] | 0;
+ i45 = i35 + (i9 * 56 | 0) + 24 | 0;
+ i5 = HEAP32[i45 >> 2] | 0;
+ if ((i5 | 0) < (i1 | 0)) {
+ i4 = i35 + (i9 * 56 | 0) + 28 | 0;
+ if ((HEAP32[i4 >> 2] | 0) < (i1 | 0)) {
+ if ((i1 | 0) == 0) {
+ i61 = 0;
+ i62 = i5;
+ } else {
+ i30 = __Z22btAlignedAllocInternalji(i1 << 2, 16) | 0;
+ i61 = i30;
+ i62 = HEAP32[i45 >> 2] | 0;
+ }
+ i30 = i35 + (i9 * 56 | 0) + 32 | 0;
+ if ((i62 | 0) > 0) {
+ i31 = 0;
+ do {
+ i59 = i61 + (i31 << 2) | 0;
+ if ((i59 | 0) != 0) {
+ HEAP32[i59 >> 2] = HEAP32[(HEAP32[i30 >> 2] | 0) + (i31 << 2) >> 2];
+ }
+ i31 = i31 + 1 | 0;
+ } while ((i31 | 0) < (i62 | 0));
+ }
+ i31 = HEAP32[i30 >> 2] | 0;
+ i59 = i35 + (i9 * 56 | 0) + 36 | 0;
+ if ((i31 | 0) != 0) {
+ if ((HEAP8[i59] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i31);
+ }
+ HEAP32[i30 >> 2] = 0;
+ }
+ HEAP8[i59] = 1;
+ HEAP32[i30 >> 2] = i61;
+ HEAP32[i4 >> 2] = i1;
+ i63 = i61;
+ } else {
+ i63 = HEAP32[i35 + (i9 * 56 | 0) + 32 >> 2] | 0;
+ }
+ i59 = i5;
+ do {
+ i31 = i63 + (i59 << 2) | 0;
+ if ((i31 | 0) != 0) {
+ HEAP32[i31 >> 2] = 0;
+ }
+ i59 = i59 + 1 | 0;
+ } while ((i59 | 0) < (i1 | 0));
+ }
+ HEAP32[i45 >> 2] = i1;
+ if ((i1 | 0) > 0) {
+ i59 = HEAP32[i25 >> 2] | 0;
+ i5 = HEAP32[i59 + (i9 * 56 | 0) + 12 >> 2] | 0;
+ i35 = i59 + (i9 * 56 | 0) + 32 | 0;
+ i59 = 0;
+ while (1) {
+ i4 = i59 + 1 | 0;
+ i30 = HEAP32[i5 + (i59 << 2) >> 2] & 65535;
+ i31 = HEAP32[i5 + (((i4 | 0) == (i1 | 0) ? 0 : i4) << 2) >> 2] & 65535;
+ i29 = i30 << 16 >> 16 < i31 << 16 >> 16;
+ i56 = i29 ? i30 : i31;
+ i33 = i29 ? i31 : i30;
+ i30 = ((i56 & 65535) << 16) + (i33 << 16 >> 16) & i60;
+ L2069 : do {
+ if (i30 >>> 0 < i10 >>> 0) {
+ i31 = HEAP32[i7 + (i30 << 2) >> 2] | 0;
+ if ((i31 | 0) == -1) {
+ i64 = 0;
+ break;
+ } else {
+ i65 = i31;
+ }
+ while (1) {
+ if (i33 << 16 >> 16 == (HEAP16[i6 + (i65 << 2) >> 1] | 0)) {
+ if (i56 << 16 >> 16 == (HEAP16[i6 + (i65 << 2) + 2 >> 1] | 0)) {
+ break;
+ }
+ }
+ i31 = HEAP32[i11 + (i65 << 2) >> 2] | 0;
+ if ((i31 | 0) == -1) {
+ i64 = 0;
+ break L2069;
+ } else {
+ i65 = i31;
+ }
+ }
+ if ((i65 | 0) == -1) {
+ i64 = 0;
+ break;
+ }
+ i64 = i8 + (i65 << 2) | 0;
+ } else {
+ i64 = 0;
+ }
+ } while (0);
+ i56 = HEAP16[i64 >> 1] | 0;
+ if ((i56 << 16 >> 16 | 0) == (i9 | 0)) {
+ i66 = HEAP16[i64 + 2 >> 1] | 0;
+ } else {
+ i66 = i56;
+ }
+ HEAP32[(HEAP32[i35 >> 2] | 0) + (i59 << 2) >> 2] = i66 << 16 >> 16;
+ if ((i4 | 0) < (i1 | 0)) {
+ i59 = i4;
+ } else {
+ break;
+ }
+ }
+ }
+ i9 = i9 + 1 | 0;
+ i67 = HEAP32[i15 >> 2] | 0;
+ } while ((i9 | 0) < (i67 | 0));
+ if ((i67 | 0) <= 0) {
+ d17 = 0.0;
+ d18 = 1.0 / d17;
+ d19 = +HEAPF32[i12 >> 2];
+ d20 = d18 * d19;
+ HEAPF32[i12 >> 2] = d20;
+ d21 = +HEAPF32[i13 >> 2];
+ d22 = d18 * d21;
+ HEAPF32[i13 >> 2] = d22;
+ d23 = +HEAPF32[i14 >> 2];
+ d24 = d18 * d23;
+ HEAPF32[i14 >> 2] = d24;
+ __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeED2Ev(i3);
+ STACKTOP = i2;
+ return;
+ }
+ i9 = HEAP32[i25 >> 2] | 0;
+ i25 = HEAP32[i28 >> 2] | 0;
+ d50 = 0.0;
+ i28 = 0;
+ while (1) {
+ i15 = HEAP32[i9 + (i28 * 56 | 0) + 4 >> 2] | 0;
+ i66 = i15 - 2 | 0;
+ i64 = HEAP32[i9 + (i28 * 56 | 0) + 12 >> 2] | 0;
+ i65 = HEAP32[i64 >> 2] | 0;
+ if ((i66 | 0) < 1) {
+ d68 = d50;
+ } else {
+ i8 = i25 + (i65 << 4) | 0;
+ i11 = i25 + (i65 << 4) + 4 | 0;
+ i6 = i25 + (i65 << 4) + 8 | 0;
+ d49 = d50;
+ i65 = 1;
+ d53 = +HEAPF32[i12 >> 2];
+ d54 = +HEAPF32[i13 >> 2];
+ d52 = +HEAPF32[i14 >> 2];
+ while (1) {
+ i7 = i65 + 1 | 0;
+ i10 = HEAP32[i64 + (i65 << 2) >> 2] | 0;
+ i60 = HEAP32[i64 + (((i7 | 0) % (i15 | 0) | 0) << 2) >> 2] | 0;
+ d51 = +HEAPF32[i8 >> 2];
+ d69 = +HEAPF32[i25 + (i10 << 4) >> 2];
+ d70 = d51 - d69;
+ d71 = +HEAPF32[i11 >> 2];
+ d72 = +HEAPF32[i25 + (i10 << 4) + 4 >> 2];
+ d73 = d71 - d72;
+ d74 = +HEAPF32[i6 >> 2];
+ d75 = +HEAPF32[i25 + (i10 << 4) + 8 >> 2];
+ d76 = d74 - d75;
+ d77 = +HEAPF32[i25 + (i60 << 4) >> 2];
+ d78 = d51 - d77;
+ d79 = +HEAPF32[i25 + (i60 << 4) + 4 >> 2];
+ d80 = d71 - d79;
+ d81 = +HEAPF32[i25 + (i60 << 4) + 8 >> 2];
+ d82 = d74 - d81;
+ d83 = d73 * d82 - d76 * d80;
+ d84 = d76 * d78 - d70 * d82;
+ d82 = d70 * d80 - d73 * d78;
+ d78 = +Math_sqrt(+(d82 * d82 + (d83 * d83 + d84 * d84))) * .5;
+ d84 = d53 + (d51 + d69 + d77) * .3333333432674408 * d78;
+ HEAPF32[i12 >> 2] = d84;
+ d77 = d54 + (d71 + d72 + d79) * .3333333432674408 * d78;
+ HEAPF32[i13 >> 2] = d77;
+ d79 = d52 + d78 * (d74 + d75 + d81) * .3333333432674408;
+ HEAPF32[i14 >> 2] = d79;
+ d81 = d49 + d78;
+ if ((i7 | 0) > (i66 | 0)) {
+ d68 = d81;
+ break;
+ } else {
+ d49 = d81;
+ i65 = i7;
+ d53 = d84;
+ d54 = d77;
+ d52 = d79;
+ }
+ }
+ }
+ i65 = i28 + 1 | 0;
+ if ((i65 | 0) < (i67 | 0)) {
+ d50 = d68;
+ i28 = i65;
+ } else {
+ d17 = d68;
+ break;
+ }
+ }
+ d18 = 1.0 / d17;
+ d19 = +HEAPF32[i12 >> 2];
+ d20 = d18 * d19;
+ HEAPF32[i12 >> 2] = d20;
+ d21 = +HEAPF32[i13 >> 2];
+ d22 = d18 * d21;
+ HEAPF32[i13 >> 2] = d22;
+ d23 = +HEAPF32[i14 >> 2];
+ d24 = d18 * d23;
+ HEAPF32[i14 >> 2] = d24;
+ __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeED2Ev(i3);
+ STACKTOP = i2;
+ return;
+}
+function __ZN12gjkepa2_impl3EPA8EvaluateERNS_3GJKERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, i24 = 0, d25 = 0.0, d26 = 0.0, d27 = 0.0, i28 = 0, i29 = 0, d30 = 0.0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, d36 = 0.0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, d62 = 0.0, d63 = 0.0, d64 = 0.0, d65 = 0.0, d66 = 0.0, i67 = 0, d68 = 0.0, d69 = 0.0, d70 = 0.0, d71 = 0.0, d72 = 0.0, d73 = 0.0, d74 = 0.0, i75 = 0, d76 = 0.0, d77 = 0.0, d78 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i5 = i4 | 0;
+ i6 = HEAP32[i2 + 372 >> 2] | 0;
+ do {
+ if ((HEAP32[i6 + 32 >> 2] | 0) >>> 0 > 1) {
+ if (!(__ZN12gjkepa2_impl3GJK13EncloseOriginEv(i2) | 0)) {
+ break;
+ }
+ i7 = i1 + 9792 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ if ((i8 | 0) != 0) {
+ i9 = i1 + 9796 | 0;
+ i10 = i1 + 9800 | 0;
+ i11 = i1 + 9804 | 0;
+ i12 = i8;
+ i8 = HEAP32[i9 >> 2] | 0;
+ i13 = HEAP32[i11 >> 2] | 0;
+ do {
+ i14 = i12 + 52 | 0;
+ i15 = HEAP32[i14 >> 2] | 0;
+ i16 = i12 + 48 | 0;
+ if ((i15 | 0) != 0) {
+ HEAP32[i15 + 48 >> 2] = HEAP32[i16 >> 2];
+ }
+ i15 = HEAP32[i16 >> 2] | 0;
+ if ((i15 | 0) != 0) {
+ HEAP32[i15 + 52 >> 2] = HEAP32[i14 >> 2];
+ }
+ if ((HEAP32[i7 >> 2] | 0) == (i12 | 0)) {
+ HEAP32[i7 >> 2] = HEAP32[i14 >> 2];
+ }
+ i8 = i8 - 1 | 0;
+ HEAP32[i16 >> 2] = 0;
+ HEAP32[i14 >> 2] = HEAP32[i10 >> 2];
+ i14 = HEAP32[i10 >> 2] | 0;
+ if ((i14 | 0) != 0) {
+ HEAP32[i14 + 48 >> 2] = i12;
+ }
+ HEAP32[i10 >> 2] = i12;
+ i13 = i13 + 1 | 0;
+ i12 = HEAP32[i7 >> 2] | 0;
+ } while ((i12 | 0) != 0);
+ HEAP32[i9 >> 2] = i8;
+ HEAP32[i11 >> 2] = i13;
+ }
+ i12 = i1 | 0;
+ HEAP32[i12 >> 2] = 0;
+ i10 = i1 + 9788 | 0;
+ HEAP32[i10 >> 2] = 0;
+ i14 = i6 | 0;
+ i16 = HEAP32[i14 >> 2] | 0;
+ i15 = i6 + 12 | 0;
+ i17 = HEAP32[i15 >> 2] | 0;
+ d18 = +HEAPF32[i17 + 16 >> 2];
+ d19 = +HEAPF32[i16 + 16 >> 2] - d18;
+ d20 = +HEAPF32[i17 + 20 >> 2];
+ d21 = +HEAPF32[i16 + 20 >> 2] - d20;
+ d22 = +HEAPF32[i17 + 24 >> 2];
+ d23 = +HEAPF32[i16 + 24 >> 2] - d22;
+ i17 = i6 + 4 | 0;
+ i24 = HEAP32[i17 >> 2] | 0;
+ d25 = +HEAPF32[i24 + 16 >> 2] - d18;
+ d26 = +HEAPF32[i24 + 20 >> 2] - d20;
+ d27 = +HEAPF32[i24 + 24 >> 2] - d22;
+ i28 = i6 + 8 | 0;
+ i29 = HEAP32[i28 >> 2] | 0;
+ d30 = +HEAPF32[i29 + 16 >> 2] - d18;
+ d18 = +HEAPF32[i29 + 20 >> 2] - d20;
+ d20 = +HEAPF32[i29 + 24 >> 2] - d22;
+ if (d19 * d26 * d20 + (d21 * d27 * d30 + d23 * d25 * d18 - d19 * d27 * d18 - d21 * d25 * d20) - d23 * d26 * d30 < 0.0) {
+ HEAP32[i14 >> 2] = i24;
+ HEAP32[i17 >> 2] = i16;
+ i31 = i6 + 16 | 0;
+ i32 = i6 + 20 | 0;
+ d30 = +HEAPF32[i31 >> 2];
+ HEAPF32[i31 >> 2] = +HEAPF32[i32 >> 2];
+ HEAPF32[i32 >> 2] = d30;
+ i33 = i24;
+ i34 = i16;
+ } else {
+ i33 = i16;
+ i34 = i24;
+ }
+ i24 = __ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(i1, i33, i34, i29, 1) | 0;
+ i29 = __ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(i1, HEAP32[i17 >> 2] | 0, HEAP32[i14 >> 2] | 0, HEAP32[i15 >> 2] | 0, 1) | 0;
+ i16 = __ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(i1, HEAP32[i28 >> 2] | 0, HEAP32[i17 >> 2] | 0, HEAP32[i15 >> 2] | 0, 1) | 0;
+ i17 = __ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(i1, HEAP32[i14 >> 2] | 0, HEAP32[i28 >> 2] | 0, HEAP32[i15 >> 2] | 0, 1) | 0;
+ i15 = i1 + 9796 | 0;
+ if ((HEAP32[i15 >> 2] | 0) != 4) {
+ break;
+ }
+ i28 = HEAP32[i7 >> 2] | 0;
+ d30 = +HEAPF32[i28 + 16 >> 2];
+ i14 = HEAP32[i28 + 52 >> 2] | 0;
+ if ((i14 | 0) == 0) {
+ i35 = i28;
+ d36 = d30;
+ } else {
+ d26 = d30 * d30;
+ d30 = +HEAPF32[i28 + 20 >> 2];
+ i32 = i28;
+ i28 = i14;
+ while (1) {
+ d23 = +HEAPF32[i28 + 16 >> 2];
+ d20 = d23 * d23;
+ d23 = +HEAPF32[i28 + 20 >> 2];
+ i14 = d23 >= d30 & d20 < d26;
+ i37 = i14 ? i28 : i32;
+ i31 = HEAP32[i28 + 52 >> 2] | 0;
+ if ((i31 | 0) == 0) {
+ break;
+ } else {
+ d26 = i14 ? d20 : d26;
+ d30 = i14 ? d23 : d30;
+ i32 = i37;
+ i28 = i31;
+ }
+ }
+ i35 = i37;
+ d36 = +HEAPF32[i37 + 16 >> 2];
+ }
+ d30 = +HEAPF32[i35 >> 2];
+ d26 = +HEAPF32[i35 + 4 >> 2];
+ d23 = +HEAPF32[i35 + 8 >> 2];
+ d20 = +HEAPF32[i35 + 12 >> 2];
+ d25 = +HEAPF32[i35 + 20 >> 2];
+ i28 = HEAP32[i35 + 24 >> 2] | 0;
+ i32 = HEAP32[i35 + 28 >> 2] | 0;
+ i13 = HEAP32[i35 + 32 >> 2] | 0;
+ HEAP8[i24 + 56 | 0] = 0;
+ HEAP32[i24 + 36 >> 2] = i29;
+ HEAP8[i29 + 56 | 0] = 0;
+ HEAP32[i29 + 36 >> 2] = i24;
+ HEAP8[i24 + 57 | 0] = 0;
+ HEAP32[i24 + 40 >> 2] = i16;
+ HEAP8[i16 + 56 | 0] = 1;
+ HEAP32[i16 + 36 >> 2] = i24;
+ HEAP8[i24 + 58 | 0] = 0;
+ HEAP32[i24 + 44 >> 2] = i17;
+ HEAP8[i17 + 56 | 0] = 2;
+ HEAP32[i17 + 36 >> 2] = i24;
+ HEAP8[i29 + 57 | 0] = 2;
+ HEAP32[i29 + 40 >> 2] = i17;
+ HEAP8[i17 + 58 | 0] = 1;
+ HEAP32[i17 + 44 >> 2] = i29;
+ HEAP8[i29 + 58 | 0] = 1;
+ HEAP32[i29 + 44 >> 2] = i16;
+ HEAP8[i16 + 57 | 0] = 2;
+ HEAP32[i16 + 40 >> 2] = i29;
+ HEAP8[i16 + 58 | 0] = 1;
+ HEAP32[i16 + 44 >> 2] = i17;
+ HEAP8[i17 + 57 | 0] = 2;
+ HEAP32[i17 + 40 >> 2] = i16;
+ HEAP32[i12 >> 2] = 0;
+ i11 = i5 | 0;
+ i8 = i5 + 4 | 0;
+ i9 = i5 + 8 | 0;
+ i31 = i1 + 9800 | 0;
+ i14 = i1 + 9804 | 0;
+ i38 = i13;
+ i13 = i32;
+ i32 = i28;
+ d21 = d25;
+ d25 = d36;
+ d18 = d20;
+ d20 = d23;
+ d23 = d26;
+ d26 = d30;
+ i28 = 0;
+ i39 = 1;
+ i40 = i35;
+ while (1) {
+ i41 = HEAP32[i10 >> 2] | 0;
+ if (i41 >>> 0 >= 64) {
+ i42 = 114;
+ break;
+ }
+ HEAP32[i11 >> 2] = 0;
+ HEAP32[i8 >> 2] = 0;
+ HEAP32[i9 >> 2] = 0;
+ HEAP32[i10 >> 2] = i41 + 1;
+ i43 = i1 + 60 + (i41 << 5) | 0;
+ HEAP8[i40 + 59 | 0] = i39 & 255;
+ __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i2, i40 | 0, i43);
+ if (+HEAPF32[i40 >> 2] * +HEAPF32[i1 + 60 + (i41 << 5) + 16 >> 2] + +HEAPF32[i40 + 4 >> 2] * +HEAPF32[i1 + 60 + (i41 << 5) + 20 >> 2] + +HEAPF32[i40 + 8 >> 2] * +HEAPF32[i1 + 60 + (i41 << 5) + 24 >> 2] - +HEAPF32[i40 + 16 >> 2] > 9999999747378752.0e-20) {
+ i44 = 1;
+ i45 = 0;
+ } else {
+ i42 = 113;
+ break;
+ }
+ do {
+ i44 = i44 & (__ZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonE(i1, i39, i43, HEAP32[i40 + 36 + (i45 << 2) >> 2] | 0, HEAPU8[i40 + 56 + i45 | 0] | 0, i5) | 0);
+ i45 = i45 + 1 | 0;
+ } while (!(i45 >>> 0 > 2 | i44 ^ 1));
+ if (!i44) {
+ i42 = 112;
+ break;
+ }
+ if ((HEAP32[i9 >> 2] | 0) >>> 0 <= 2) {
+ i42 = 112;
+ break;
+ }
+ i43 = HEAP32[i11 >> 2] | 0;
+ i41 = HEAP32[i8 >> 2] | 0;
+ HEAP8[i43 + 57 | 0] = 2;
+ HEAP32[i43 + 40 >> 2] = i41;
+ HEAP8[i41 + 58 | 0] = 1;
+ HEAP32[i41 + 44 >> 2] = i43;
+ i43 = i40 + 52 | 0;
+ i41 = HEAP32[i43 >> 2] | 0;
+ i46 = i40 + 48 | 0;
+ if ((i41 | 0) != 0) {
+ HEAP32[i41 + 48 >> 2] = HEAP32[i46 >> 2];
+ }
+ i41 = HEAP32[i46 >> 2] | 0;
+ if ((i41 | 0) != 0) {
+ HEAP32[i41 + 52 >> 2] = HEAP32[i43 >> 2];
+ }
+ if ((HEAP32[i7 >> 2] | 0) == (i40 | 0)) {
+ HEAP32[i7 >> 2] = HEAP32[i43 >> 2];
+ }
+ HEAP32[i15 >> 2] = (HEAP32[i15 >> 2] | 0) - 1;
+ HEAP32[i46 >> 2] = 0;
+ HEAP32[i43 >> 2] = HEAP32[i31 >> 2];
+ i43 = HEAP32[i31 >> 2] | 0;
+ if ((i43 | 0) != 0) {
+ HEAP32[i43 + 48 >> 2] = i40;
+ }
+ HEAP32[i31 >> 2] = i40;
+ HEAP32[i14 >> 2] = (HEAP32[i14 >> 2] | 0) + 1;
+ i43 = HEAP32[i7 >> 2] | 0;
+ d30 = +HEAPF32[i43 + 16 >> 2];
+ i46 = HEAP32[i43 + 52 >> 2] | 0;
+ if ((i46 | 0) == 0) {
+ i47 = i43;
+ } else {
+ d27 = d30 * d30;
+ d30 = +HEAPF32[i43 + 20 >> 2];
+ i41 = i43;
+ i43 = i46;
+ while (1) {
+ d19 = +HEAPF32[i43 + 16 >> 2];
+ d22 = d19 * d19;
+ d19 = +HEAPF32[i43 + 20 >> 2];
+ i46 = d19 >= d30 & d22 < d27;
+ i48 = i46 ? i43 : i41;
+ i49 = HEAP32[i43 + 52 >> 2] | 0;
+ if ((i49 | 0) == 0) {
+ i47 = i48;
+ break;
+ } else {
+ d27 = i46 ? d22 : d27;
+ d30 = i46 ? d19 : d30;
+ i41 = i48;
+ i43 = i49;
+ }
+ }
+ }
+ d30 = +HEAPF32[i47 + 20 >> 2];
+ if (d30 < d21) {
+ d50 = d26;
+ d51 = d23;
+ d52 = d20;
+ d53 = d18;
+ d54 = d25;
+ d55 = d21;
+ i56 = i32;
+ i57 = i13;
+ i58 = i38;
+ } else {
+ d50 = +HEAPF32[i47 >> 2];
+ d51 = +HEAPF32[i47 + 4 >> 2];
+ d52 = +HEAPF32[i47 + 8 >> 2];
+ d53 = +HEAPF32[i47 + 12 >> 2];
+ d54 = +HEAPF32[i47 + 16 >> 2];
+ d55 = d30;
+ i56 = HEAP32[i47 + 24 >> 2] | 0;
+ i57 = HEAP32[i47 + 28 >> 2] | 0;
+ i58 = HEAP32[i47 + 32 >> 2] | 0;
+ }
+ i43 = i28 + 1 | 0;
+ if (i43 >>> 0 < 255) {
+ i38 = i58;
+ i13 = i57;
+ i32 = i56;
+ d21 = d55;
+ d25 = d54;
+ d18 = d53;
+ d20 = d52;
+ d23 = d51;
+ d26 = d50;
+ i28 = i43;
+ i39 = i39 + 1 | 0;
+ i40 = i47;
+ } else {
+ i42 = 116;
+ break;
+ }
+ }
+ if ((i42 | 0) == 112) {
+ HEAP32[i12 >> 2] = 4;
+ i59 = i38;
+ i60 = i13;
+ i61 = i32;
+ d62 = d25;
+ d63 = d18;
+ d64 = d20;
+ d65 = d23;
+ d66 = d26;
+ i67 = 4;
+ } else if ((i42 | 0) == 113) {
+ HEAP32[i12 >> 2] = 7;
+ i59 = i38;
+ i60 = i13;
+ i61 = i32;
+ d62 = d25;
+ d63 = d18;
+ d64 = d20;
+ d65 = d23;
+ d66 = d26;
+ i67 = 7;
+ } else if ((i42 | 0) == 114) {
+ HEAP32[i12 >> 2] = 6;
+ i59 = i38;
+ i60 = i13;
+ i61 = i32;
+ d62 = d25;
+ d63 = d18;
+ d64 = d20;
+ d65 = d23;
+ d66 = d26;
+ i67 = 6;
+ } else if ((i42 | 0) == 116) {
+ i59 = i58;
+ i60 = i57;
+ i61 = i56;
+ d62 = d54;
+ d63 = d53;
+ d64 = d52;
+ d65 = d51;
+ d66 = d50;
+ i67 = HEAP32[i12 >> 2] | 0;
+ }
+ d21 = d66 * d62;
+ d30 = d65 * d62;
+ d27 = d64 * d62;
+ HEAPF32[i1 + 40 >> 2] = d66;
+ HEAPF32[i1 + 44 >> 2] = d65;
+ HEAPF32[i1 + 48 >> 2] = d64;
+ HEAPF32[i1 + 52 >> 2] = d63;
+ HEAPF32[i1 + 56 >> 2] = d62;
+ HEAP32[i1 + 36 >> 2] = 3;
+ HEAP32[i1 + 4 >> 2] = i61;
+ HEAP32[i1 + 8 >> 2] = i60;
+ HEAP32[i1 + 12 >> 2] = i59;
+ i40 = i60 + 16 | 0;
+ d19 = +HEAPF32[i40 >> 2] - d21;
+ i39 = i60 + 20 | 0;
+ d22 = +HEAPF32[i39 >> 2] - d30;
+ i28 = i60 + 24 | 0;
+ d68 = +HEAPF32[i28 >> 2] - d27;
+ i7 = i59 + 16 | 0;
+ d69 = +HEAPF32[i7 >> 2] - d21;
+ i14 = i59 + 20 | 0;
+ d70 = +HEAPF32[i14 >> 2] - d30;
+ i31 = i59 + 24 | 0;
+ d71 = +HEAPF32[i31 >> 2] - d27;
+ d72 = d22 * d71 - d68 * d70;
+ d73 = d68 * d69 - d19 * d71;
+ d71 = d19 * d70 - d22 * d69;
+ d69 = +Math_sqrt(+(d71 * d71 + (d72 * d72 + d73 * d73)));
+ i15 = i1 + 20 | 0;
+ HEAPF32[i15 >> 2] = d69;
+ d73 = +HEAPF32[i7 >> 2] - d21;
+ d72 = +HEAPF32[i14 >> 2] - d30;
+ d71 = +HEAPF32[i31 >> 2] - d27;
+ i31 = i61 + 16 | 0;
+ d22 = +HEAPF32[i31 >> 2] - d21;
+ i14 = i61 + 20 | 0;
+ d70 = +HEAPF32[i14 >> 2] - d30;
+ i7 = i61 + 24 | 0;
+ d19 = +HEAPF32[i7 >> 2] - d27;
+ d68 = d72 * d19 - d71 * d70;
+ d74 = d71 * d22 - d73 * d19;
+ d19 = d73 * d70 - d72 * d22;
+ d22 = +Math_sqrt(+(d19 * d19 + (d68 * d68 + d74 * d74)));
+ i8 = i1 + 24 | 0;
+ HEAPF32[i8 >> 2] = d22;
+ d74 = +HEAPF32[i31 >> 2] - d21;
+ d68 = +HEAPF32[i14 >> 2] - d30;
+ d19 = +HEAPF32[i7 >> 2] - d27;
+ d72 = +HEAPF32[i40 >> 2] - d21;
+ d21 = +HEAPF32[i39 >> 2] - d30;
+ d30 = +HEAPF32[i28 >> 2] - d27;
+ d27 = d68 * d30 - d19 * d21;
+ d70 = d19 * d72 - d74 * d30;
+ d30 = d74 * d21 - d68 * d72;
+ d72 = +Math_sqrt(+(d30 * d30 + (d27 * d27 + d70 * d70)));
+ d70 = d69 + d22 + d72;
+ HEAPF32[i15 >> 2] = d69 / d70;
+ HEAPF32[i8 >> 2] = d22 / d70;
+ HEAPF32[i1 + 28 >> 2] = d72 / d70;
+ i75 = i67;
+ STACKTOP = i4;
+ return i75 | 0;
+ }
+ } while (0);
+ HEAP32[i1 >> 2] = 8;
+ d62 = +HEAPF32[i3 >> 2];
+ d63 = -0.0 - d62;
+ d64 = +HEAPF32[i3 + 4 >> 2];
+ d65 = -0.0 - d64;
+ d66 = +HEAPF32[i3 + 8 >> 2];
+ d50 = -0.0 - d66;
+ i3 = i1 + 40 | 0;
+ HEAPF32[i3 >> 2] = d63;
+ i67 = i1 + 44 | 0;
+ HEAPF32[i67 >> 2] = d65;
+ i61 = i1 + 48 | 0;
+ HEAPF32[i61 >> 2] = d50;
+ i59 = i1 + 52 | 0;
+ HEAPF32[i59 >> 2] = 0.0;
+ d51 = +Math_sqrt(+(d62 * d62 + d64 * d64 + d66 * d66));
+ if (d51 > 0.0) {
+ d66 = 1.0 / d51;
+ d76 = d66 * d50;
+ d77 = d66 * d65;
+ d78 = d66 * d63;
+ } else {
+ d76 = 0.0;
+ d77 = 0.0;
+ d78 = 1.0;
+ }
+ HEAPF32[i3 >> 2] = d78;
+ HEAPF32[i67 >> 2] = d77;
+ HEAPF32[i61 >> 2] = d76;
+ HEAPF32[i59 >> 2] = 0.0;
+ HEAPF32[i1 + 56 >> 2] = 0.0;
+ HEAP32[i1 + 36 >> 2] = 1;
+ HEAP32[i1 + 4 >> 2] = HEAP32[i6 >> 2];
+ HEAPF32[i1 + 20 >> 2] = 1.0;
+ i75 = 8;
+ STACKTOP = i4;
+ return i75 | 0;
+}
+function _free(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0;
+ if ((i1 | 0) == 0) {
+ return;
+ }
+ i2 = i1 - 8 | 0;
+ i3 = i2;
+ i4 = HEAP32[3020] | 0;
+ if (i2 >>> 0 < i4 >>> 0) {
+ _abort();
+ }
+ i5 = HEAP32[i1 - 4 >> 2] | 0;
+ i6 = i5 & 3;
+ if ((i6 | 0) == 1) {
+ _abort();
+ }
+ i7 = i5 & -8;
+ i8 = i1 + (i7 - 8) | 0;
+ i9 = i8;
+ L527 : do {
+ if ((i5 & 1 | 0) == 0) {
+ i10 = HEAP32[i2 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ return;
+ }
+ i11 = -8 - i10 | 0;
+ i12 = i1 + i11 | 0;
+ i13 = i12;
+ i14 = i10 + i7 | 0;
+ if (i12 >>> 0 < i4 >>> 0) {
+ _abort();
+ }
+ if ((i13 | 0) == (HEAP32[3021] | 0)) {
+ i15 = i1 + (i7 - 4) | 0;
+ if ((HEAP32[i15 >> 2] & 3 | 0) != 3) {
+ i16 = i13;
+ i17 = i14;
+ break;
+ }
+ HEAP32[3018] = i14;
+ HEAP32[i15 >> 2] = HEAP32[i15 >> 2] & -2;
+ HEAP32[i1 + (i11 + 4) >> 2] = i14 | 1;
+ HEAP32[i8 >> 2] = i14;
+ return;
+ }
+ i15 = i10 >>> 3;
+ if (i10 >>> 0 < 256) {
+ i10 = HEAP32[i1 + (i11 + 8) >> 2] | 0;
+ i18 = HEAP32[i1 + (i11 + 12) >> 2] | 0;
+ i19 = 12104 + (i15 << 1 << 2) | 0;
+ do {
+ if ((i10 | 0) != (i19 | 0)) {
+ if (i10 >>> 0 < i4 >>> 0) {
+ _abort();
+ }
+ if ((HEAP32[i10 + 12 >> 2] | 0) == (i13 | 0)) {
+ break;
+ }
+ _abort();
+ }
+ } while (0);
+ if ((i18 | 0) == (i10 | 0)) {
+ HEAP32[3016] = HEAP32[3016] & ~(1 << i15);
+ i16 = i13;
+ i17 = i14;
+ break;
+ }
+ do {
+ if ((i18 | 0) == (i19 | 0)) {
+ i20 = i18 + 8 | 0;
+ } else {
+ if (i18 >>> 0 < i4 >>> 0) {
+ _abort();
+ }
+ i21 = i18 + 8 | 0;
+ if ((HEAP32[i21 >> 2] | 0) == (i13 | 0)) {
+ i20 = i21;
+ break;
+ }
+ _abort();
+ }
+ } while (0);
+ HEAP32[i10 + 12 >> 2] = i18;
+ HEAP32[i20 >> 2] = i10;
+ i16 = i13;
+ i17 = i14;
+ break;
+ }
+ i19 = i12;
+ i15 = HEAP32[i1 + (i11 + 24) >> 2] | 0;
+ i21 = HEAP32[i1 + (i11 + 12) >> 2] | 0;
+ do {
+ if ((i21 | 0) == (i19 | 0)) {
+ i22 = i1 + (i11 + 20) | 0;
+ i23 = HEAP32[i22 >> 2] | 0;
+ if ((i23 | 0) == 0) {
+ i24 = i1 + (i11 + 16) | 0;
+ i25 = HEAP32[i24 >> 2] | 0;
+ if ((i25 | 0) == 0) {
+ i26 = 0;
+ break;
+ } else {
+ i27 = i25;
+ i28 = i24;
+ }
+ } else {
+ i27 = i23;
+ i28 = i22;
+ }
+ while (1) {
+ i22 = i27 + 20 | 0;
+ i23 = HEAP32[i22 >> 2] | 0;
+ if ((i23 | 0) != 0) {
+ i27 = i23;
+ i28 = i22;
+ continue;
+ }
+ i22 = i27 + 16 | 0;
+ i23 = HEAP32[i22 >> 2] | 0;
+ if ((i23 | 0) == 0) {
+ break;
+ } else {
+ i27 = i23;
+ i28 = i22;
+ }
+ }
+ if (i28 >>> 0 < i4 >>> 0) {
+ _abort();
+ } else {
+ HEAP32[i28 >> 2] = 0;
+ i26 = i27;
+ break;
+ }
+ } else {
+ i22 = HEAP32[i1 + (i11 + 8) >> 2] | 0;
+ if (i22 >>> 0 < i4 >>> 0) {
+ _abort();
+ }
+ i23 = i22 + 12 | 0;
+ if ((HEAP32[i23 >> 2] | 0) != (i19 | 0)) {
+ _abort();
+ }
+ i24 = i21 + 8 | 0;
+ if ((HEAP32[i24 >> 2] | 0) == (i19 | 0)) {
+ HEAP32[i23 >> 2] = i21;
+ HEAP32[i24 >> 2] = i22;
+ i26 = i21;
+ break;
+ } else {
+ _abort();
+ }
+ }
+ } while (0);
+ if ((i15 | 0) == 0) {
+ i16 = i13;
+ i17 = i14;
+ break;
+ }
+ i21 = i1 + (i11 + 28) | 0;
+ i12 = 12368 + (HEAP32[i21 >> 2] << 2) | 0;
+ do {
+ if ((i19 | 0) == (HEAP32[i12 >> 2] | 0)) {
+ HEAP32[i12 >> 2] = i26;
+ if ((i26 | 0) != 0) {
+ break;
+ }
+ HEAP32[3017] = HEAP32[3017] & ~(1 << HEAP32[i21 >> 2]);
+ i16 = i13;
+ i17 = i14;
+ break L527;
+ } else {
+ if (i15 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ }
+ i10 = i15 + 16 | 0;
+ if ((HEAP32[i10 >> 2] | 0) == (i19 | 0)) {
+ HEAP32[i10 >> 2] = i26;
+ } else {
+ HEAP32[i15 + 20 >> 2] = i26;
+ }
+ if ((i26 | 0) == 0) {
+ i16 = i13;
+ i17 = i14;
+ break L527;
+ }
+ }
+ } while (0);
+ if (i26 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ }
+ HEAP32[i26 + 24 >> 2] = i15;
+ i19 = HEAP32[i1 + (i11 + 16) >> 2] | 0;
+ do {
+ if ((i19 | 0) != 0) {
+ if (i19 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ } else {
+ HEAP32[i26 + 16 >> 2] = i19;
+ HEAP32[i19 + 24 >> 2] = i26;
+ break;
+ }
+ }
+ } while (0);
+ i19 = HEAP32[i1 + (i11 + 20) >> 2] | 0;
+ if ((i19 | 0) == 0) {
+ i16 = i13;
+ i17 = i14;
+ break;
+ }
+ if (i19 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ } else {
+ HEAP32[i26 + 20 >> 2] = i19;
+ HEAP32[i19 + 24 >> 2] = i26;
+ i16 = i13;
+ i17 = i14;
+ break;
+ }
+ } else {
+ i16 = i3;
+ i17 = i7;
+ }
+ } while (0);
+ i3 = i16;
+ if (i3 >>> 0 >= i8 >>> 0) {
+ _abort();
+ }
+ i26 = i1 + (i7 - 4) | 0;
+ i4 = HEAP32[i26 >> 2] | 0;
+ if ((i4 & 1 | 0) == 0) {
+ _abort();
+ }
+ do {
+ if ((i4 & 2 | 0) == 0) {
+ if ((i9 | 0) == (HEAP32[3022] | 0)) {
+ i27 = (HEAP32[3019] | 0) + i17 | 0;
+ HEAP32[3019] = i27;
+ HEAP32[3022] = i16;
+ HEAP32[i16 + 4 >> 2] = i27 | 1;
+ if ((i16 | 0) != (HEAP32[3021] | 0)) {
+ return;
+ }
+ HEAP32[3021] = 0;
+ HEAP32[3018] = 0;
+ return;
+ }
+ if ((i9 | 0) == (HEAP32[3021] | 0)) {
+ i27 = (HEAP32[3018] | 0) + i17 | 0;
+ HEAP32[3018] = i27;
+ HEAP32[3021] = i16;
+ HEAP32[i16 + 4 >> 2] = i27 | 1;
+ HEAP32[i3 + i27 >> 2] = i27;
+ return;
+ }
+ i27 = (i4 & -8) + i17 | 0;
+ i28 = i4 >>> 3;
+ L630 : do {
+ if (i4 >>> 0 < 256) {
+ i20 = HEAP32[i1 + i7 >> 2] | 0;
+ i6 = HEAP32[i1 + (i7 | 4) >> 2] | 0;
+ i2 = 12104 + (i28 << 1 << 2) | 0;
+ do {
+ if ((i20 | 0) != (i2 | 0)) {
+ if (i20 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ }
+ if ((HEAP32[i20 + 12 >> 2] | 0) == (i9 | 0)) {
+ break;
+ }
+ _abort();
+ }
+ } while (0);
+ if ((i6 | 0) == (i20 | 0)) {
+ HEAP32[3016] = HEAP32[3016] & ~(1 << i28);
+ break;
+ }
+ do {
+ if ((i6 | 0) == (i2 | 0)) {
+ i29 = i6 + 8 | 0;
+ } else {
+ if (i6 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ }
+ i5 = i6 + 8 | 0;
+ if ((HEAP32[i5 >> 2] | 0) == (i9 | 0)) {
+ i29 = i5;
+ break;
+ }
+ _abort();
+ }
+ } while (0);
+ HEAP32[i20 + 12 >> 2] = i6;
+ HEAP32[i29 >> 2] = i20;
+ } else {
+ i2 = i8;
+ i5 = HEAP32[i1 + (i7 + 16) >> 2] | 0;
+ i19 = HEAP32[i1 + (i7 | 4) >> 2] | 0;
+ do {
+ if ((i19 | 0) == (i2 | 0)) {
+ i15 = i1 + (i7 + 12) | 0;
+ i21 = HEAP32[i15 >> 2] | 0;
+ if ((i21 | 0) == 0) {
+ i12 = i1 + (i7 + 8) | 0;
+ i10 = HEAP32[i12 >> 2] | 0;
+ if ((i10 | 0) == 0) {
+ i30 = 0;
+ break;
+ } else {
+ i31 = i10;
+ i32 = i12;
+ }
+ } else {
+ i31 = i21;
+ i32 = i15;
+ }
+ while (1) {
+ i15 = i31 + 20 | 0;
+ i21 = HEAP32[i15 >> 2] | 0;
+ if ((i21 | 0) != 0) {
+ i31 = i21;
+ i32 = i15;
+ continue;
+ }
+ i15 = i31 + 16 | 0;
+ i21 = HEAP32[i15 >> 2] | 0;
+ if ((i21 | 0) == 0) {
+ break;
+ } else {
+ i31 = i21;
+ i32 = i15;
+ }
+ }
+ if (i32 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ } else {
+ HEAP32[i32 >> 2] = 0;
+ i30 = i31;
+ break;
+ }
+ } else {
+ i15 = HEAP32[i1 + i7 >> 2] | 0;
+ if (i15 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ }
+ i21 = i15 + 12 | 0;
+ if ((HEAP32[i21 >> 2] | 0) != (i2 | 0)) {
+ _abort();
+ }
+ i12 = i19 + 8 | 0;
+ if ((HEAP32[i12 >> 2] | 0) == (i2 | 0)) {
+ HEAP32[i21 >> 2] = i19;
+ HEAP32[i12 >> 2] = i15;
+ i30 = i19;
+ break;
+ } else {
+ _abort();
+ }
+ }
+ } while (0);
+ if ((i5 | 0) == 0) {
+ break;
+ }
+ i19 = i1 + (i7 + 20) | 0;
+ i20 = 12368 + (HEAP32[i19 >> 2] << 2) | 0;
+ do {
+ if ((i2 | 0) == (HEAP32[i20 >> 2] | 0)) {
+ HEAP32[i20 >> 2] = i30;
+ if ((i30 | 0) != 0) {
+ break;
+ }
+ HEAP32[3017] = HEAP32[3017] & ~(1 << HEAP32[i19 >> 2]);
+ break L630;
+ } else {
+ if (i5 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ }
+ i6 = i5 + 16 | 0;
+ if ((HEAP32[i6 >> 2] | 0) == (i2 | 0)) {
+ HEAP32[i6 >> 2] = i30;
+ } else {
+ HEAP32[i5 + 20 >> 2] = i30;
+ }
+ if ((i30 | 0) == 0) {
+ break L630;
+ }
+ }
+ } while (0);
+ if (i30 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ }
+ HEAP32[i30 + 24 >> 2] = i5;
+ i2 = HEAP32[i1 + (i7 + 8) >> 2] | 0;
+ do {
+ if ((i2 | 0) != 0) {
+ if (i2 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ } else {
+ HEAP32[i30 + 16 >> 2] = i2;
+ HEAP32[i2 + 24 >> 2] = i30;
+ break;
+ }
+ }
+ } while (0);
+ i2 = HEAP32[i1 + (i7 + 12) >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ break;
+ }
+ if (i2 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ } else {
+ HEAP32[i30 + 20 >> 2] = i2;
+ HEAP32[i2 + 24 >> 2] = i30;
+ break;
+ }
+ }
+ } while (0);
+ HEAP32[i16 + 4 >> 2] = i27 | 1;
+ HEAP32[i3 + i27 >> 2] = i27;
+ if ((i16 | 0) != (HEAP32[3021] | 0)) {
+ i33 = i27;
+ break;
+ }
+ HEAP32[3018] = i27;
+ return;
+ } else {
+ HEAP32[i26 >> 2] = i4 & -2;
+ HEAP32[i16 + 4 >> 2] = i17 | 1;
+ HEAP32[i3 + i17 >> 2] = i17;
+ i33 = i17;
+ }
+ } while (0);
+ i17 = i33 >>> 3;
+ if (i33 >>> 0 < 256) {
+ i3 = i17 << 1;
+ i4 = 12104 + (i3 << 2) | 0;
+ i26 = HEAP32[3016] | 0;
+ i30 = 1 << i17;
+ do {
+ if ((i26 & i30 | 0) == 0) {
+ HEAP32[3016] = i26 | i30;
+ i34 = i4;
+ i35 = 12104 + (i3 + 2 << 2) | 0;
+ } else {
+ i17 = 12104 + (i3 + 2 << 2) | 0;
+ i7 = HEAP32[i17 >> 2] | 0;
+ if (i7 >>> 0 >= (HEAP32[3020] | 0) >>> 0) {
+ i34 = i7;
+ i35 = i17;
+ break;
+ }
+ _abort();
+ }
+ } while (0);
+ HEAP32[i35 >> 2] = i16;
+ HEAP32[i34 + 12 >> 2] = i16;
+ HEAP32[i16 + 8 >> 2] = i34;
+ HEAP32[i16 + 12 >> 2] = i4;
+ return;
+ }
+ i4 = i16;
+ i34 = i33 >>> 8;
+ do {
+ if ((i34 | 0) == 0) {
+ i36 = 0;
+ } else {
+ if (i33 >>> 0 > 16777215) {
+ i36 = 31;
+ break;
+ }
+ i35 = (i34 + 1048320 | 0) >>> 16 & 8;
+ i3 = i34 << i35;
+ i30 = (i3 + 520192 | 0) >>> 16 & 4;
+ i26 = i3 << i30;
+ i3 = (i26 + 245760 | 0) >>> 16 & 2;
+ i17 = 14 - (i30 | i35 | i3) + (i26 << i3 >>> 15) | 0;
+ i36 = i33 >>> ((i17 + 7 | 0) >>> 0) & 1 | i17 << 1;
+ }
+ } while (0);
+ i34 = 12368 + (i36 << 2) | 0;
+ HEAP32[i16 + 28 >> 2] = i36;
+ HEAP32[i16 + 20 >> 2] = 0;
+ HEAP32[i16 + 16 >> 2] = 0;
+ i17 = HEAP32[3017] | 0;
+ i3 = 1 << i36;
+ do {
+ if ((i17 & i3 | 0) == 0) {
+ HEAP32[3017] = i17 | i3;
+ HEAP32[i34 >> 2] = i4;
+ HEAP32[i16 + 24 >> 2] = i34;
+ HEAP32[i16 + 12 >> 2] = i16;
+ HEAP32[i16 + 8 >> 2] = i16;
+ } else {
+ if ((i36 | 0) == 31) {
+ i37 = 0;
+ } else {
+ i37 = 25 - (i36 >>> 1) | 0;
+ }
+ i26 = i33 << i37;
+ i35 = HEAP32[i34 >> 2] | 0;
+ while (1) {
+ if ((HEAP32[i35 + 4 >> 2] & -8 | 0) == (i33 | 0)) {
+ break;
+ }
+ i38 = i35 + 16 + (i26 >>> 31 << 2) | 0;
+ i30 = HEAP32[i38 >> 2] | 0;
+ if ((i30 | 0) == 0) {
+ i39 = 508;
+ break;
+ } else {
+ i26 = i26 << 1;
+ i35 = i30;
+ }
+ }
+ if ((i39 | 0) == 508) {
+ if (i38 >>> 0 < (HEAP32[3020] | 0) >>> 0) {
+ _abort();
+ } else {
+ HEAP32[i38 >> 2] = i4;
+ HEAP32[i16 + 24 >> 2] = i35;
+ HEAP32[i16 + 12 >> 2] = i16;
+ HEAP32[i16 + 8 >> 2] = i16;
+ break;
+ }
+ }
+ i26 = i35 + 8 | 0;
+ i27 = HEAP32[i26 >> 2] | 0;
+ i30 = HEAP32[3020] | 0;
+ if (i35 >>> 0 < i30 >>> 0) {
+ _abort();
+ }
+ if (i27 >>> 0 < i30 >>> 0) {
+ _abort();
+ } else {
+ HEAP32[i27 + 12 >> 2] = i4;
+ HEAP32[i26 >> 2] = i4;
+ HEAP32[i16 + 8 >> 2] = i27;
+ HEAP32[i16 + 12 >> 2] = i35;
+ HEAP32[i16 + 24 >> 2] = 0;
+ break;
+ }
+ }
+ } while (0);
+ i16 = (HEAP32[3024] | 0) - 1 | 0;
+ HEAP32[3024] = i16;
+ if ((i16 | 0) == 0) {
+ i40 = 12520;
+ } else {
+ return;
+ }
+ while (1) {
+ i16 = HEAP32[i40 >> 2] | 0;
+ if ((i16 | 0) == 0) {
+ break;
+ } else {
+ i40 = i16 + 8 | 0;
+ }
+ }
+ HEAP32[3024] = -1;
+ return;
+}
+function __ZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackE(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, d32 = 0.0, i33 = 0, d34 = 0.0, i35 = 0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, d48 = 0.0, d49 = 0.0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 1264 | 0;
+ i8 = i7 | 0;
+ i9 = i7 + 64 | 0;
+ i10 = i7 + 96 | 0;
+ i11 = i7 + 152 | 0;
+ i12 = i7 + 328 | 0;
+ i13 = i7 + 688 | 0;
+ i14 = i7 + 704 | 0;
+ i15 = i7 + 736 | 0;
+ i16 = i7 + 752 | 0;
+ i17 = i7 + 768 | 0;
+ i18 = i7 + 888 | 0;
+ i19 = i7 + 904 | 0;
+ i20 = i7 + 920 | 0;
+ i21 = i7 + 1040 | 0;
+ i22 = i7 + 1056 | 0;
+ i23 = i7 + 1072 | 0;
+ i24 = i7 + 1104 | 0;
+ i25 = i7 + 1120 | 0;
+ i26 = i7 + 1184 | 0;
+ i27 = i7 + 1200 | 0;
+ __ZN21btConvexInternalShapeC2Ev(i10 | 0);
+ HEAP32[i10 >> 2] = 4728;
+ HEAP32[i10 + 4 >> 2] = 8;
+ HEAPF32[i10 + 28 >> 2] = 0.0;
+ HEAPF32[i10 + 44 >> 2] = 0.0;
+ i28 = i10 | 0;
+ i10 = HEAP32[i4 + 4 >> 2] | 0;
+ if ((i10 | 0) < 20) {
+ HEAP32[i11 >> 2] = 2280;
+ i29 = i11 + 164 | 0;
+ HEAP32[i11 + 168 >> 2] = 0;
+ HEAPF32[i11 + 172 >> 2] = 0.0;
+ i30 = i6 + 4 | 0;
+ HEAPF32[i29 >> 2] = +HEAPF32[i30 >> 2];
+ HEAPF32[i12 + 308 >> 2] = 9999999747378752.0e-20;
+ HEAP16[i12 + 332 >> 1] = 0;
+ __ZN22btSubsimplexConvexCastC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolver(i13, i28, i4, i12);
+ do {
+ if (__ZN22btSubsimplexConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(i13, i1, i2, i5, i5, i11) | 0) {
+ i12 = i11 + 132 | 0;
+ i31 = i12 | 0;
+ d32 = +HEAPF32[i31 >> 2];
+ i33 = i11 + 136 | 0;
+ d34 = +HEAPF32[i33 >> 2];
+ i35 = i11 + 140 | 0;
+ d36 = +HEAPF32[i35 >> 2];
+ if (d32 * d32 + d34 * d34 + d36 * d36 <= 9999999747378752.0e-20) {
+ break;
+ }
+ d37 = +HEAPF32[i29 >> 2];
+ if (d37 >= +HEAPF32[i30 >> 2]) {
+ break;
+ }
+ d38 = d32 * +HEAPF32[i1 >> 2] + d34 * +HEAPF32[i1 + 4 >> 2] + d36 * +HEAPF32[i1 + 8 >> 2];
+ d39 = d32 * +HEAPF32[i1 + 16 >> 2] + d34 * +HEAPF32[i1 + 20 >> 2] + d36 * +HEAPF32[i1 + 24 >> 2];
+ d40 = d32 * +HEAPF32[i1 + 32 >> 2] + d34 * +HEAPF32[i1 + 36 >> 2] + d36 * +HEAPF32[i1 + 40 >> 2];
+ HEAPF32[i11 + 144 >> 2] = 0.0;
+ d36 = 1.0 / +Math_sqrt(+(d38 * d38 + d39 * d39 + d40 * d40));
+ HEAPF32[i31 >> 2] = d38 * d36;
+ HEAPF32[i33 >> 2] = d39 * d36;
+ HEAPF32[i35 >> 2] = d40 * d36;
+ HEAP32[i14 >> 2] = i3;
+ HEAP32[i14 + 4 >> 2] = 0;
+ i35 = i14 + 8 | 0;
+ i33 = i12;
+ HEAP32[i35 >> 2] = HEAP32[i33 >> 2];
+ HEAP32[i35 + 4 >> 2] = HEAP32[i33 + 4 >> 2];
+ HEAP32[i35 + 8 >> 2] = HEAP32[i33 + 8 >> 2];
+ HEAP32[i35 + 12 >> 2] = HEAP32[i33 + 12 >> 2];
+ HEAPF32[i14 + 24 >> 2] = d37;
+ i33 = HEAP32[(HEAP32[i6 >> 2] | 0) + 12 >> 2] | 0;
+ +FUNCTION_TABLE_fiii[i33 & 15](i6, i14, 1);
+ }
+ } while (0);
+ __ZN12btConvexCastD2Ev(i13 | 0);
+ __ZN13btConvexShapeD2Ev(i28);
+ STACKTOP = i7;
+ return;
+ }
+ if ((i10 - 21 | 0) >>> 0 >= 9) {
+ if ((i10 | 0) != 31) {
+ __ZN13btConvexShapeD2Ev(i28);
+ STACKTOP = i7;
+ return;
+ }
+ i13 = i4;
+ i14 = HEAP32[i4 + 64 >> 2] | 0;
+ HEAP32[i23 >> 2] = 1752;
+ i11 = i23 + 4 | 0;
+ HEAP32[i11 >> 2] = i3;
+ i30 = i23 + 8 | 0;
+ HEAP32[i30 >> 2] = i13;
+ i29 = i23 + 12 | 0;
+ HEAP32[i29 >> 2] = i5;
+ i33 = i23 + 16 | 0;
+ HEAP32[i33 >> 2] = i1;
+ i35 = i23 + 20 | 0;
+ HEAP32[i35 >> 2] = i2;
+ i12 = i23 + 24 | 0;
+ HEAP32[i12 >> 2] = i6;
+ if ((i14 | 0) != 0) {
+ __ZNK11btTransform12inverseTimesERKS_(i25, i5, i1);
+ i31 = i24;
+ i41 = i25 + 48 | 0;
+ HEAP32[i31 >> 2] = HEAP32[i41 >> 2];
+ HEAP32[i31 + 4 >> 2] = HEAP32[i41 + 4 >> 2];
+ HEAP32[i31 + 8 >> 2] = HEAP32[i41 + 8 >> 2];
+ HEAP32[i31 + 12 >> 2] = HEAP32[i41 + 12 >> 2];
+ __ZNK11btTransform12inverseTimesERKS_(i27, i5, i2);
+ i41 = i26;
+ i31 = i27 + 48 | 0;
+ HEAP32[i41 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i41 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i41 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i41 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ __ZN6btDbvt7rayTestEPK10btDbvtNodeRK9btVector3S5_RNS_8ICollideE(HEAP32[i14 >> 2] | 0, i24, i26, i23 | 0);
+ __ZN13btConvexShapeD2Ev(i28);
+ STACKTOP = i7;
+ return;
+ }
+ i23 = HEAP32[i4 + 16 >> 2] | 0;
+ if ((i23 | 0) <= 0) {
+ __ZN13btConvexShapeD2Ev(i28);
+ STACKTOP = i7;
+ return;
+ }
+ i26 = i9 | 0;
+ i24 = i9 + 4 | 0;
+ i14 = i9 + 8 | 0;
+ i31 = i9 + 12 | 0;
+ i41 = i9 + 14 | 0;
+ i27 = i9 + 16 | 0;
+ i25 = i9 + 20 | 0;
+ i42 = i9 + 24 | 0;
+ i43 = i9 | 0;
+ i9 = 0;
+ i44 = i13;
+ i13 = i5;
+ while (1) {
+ i45 = HEAP32[i44 + 24 >> 2] | 0;
+ i46 = HEAP32[i45 + (i9 * 80 | 0) + 64 >> 2] | 0;
+ __ZNK11btTransformmlERKS_(i8, i13, i45 + (i9 * 80 | 0) | 0);
+ i45 = (HEAP32[i11 >> 2] | 0) + 192 | 0;
+ i47 = HEAP32[i45 >> 2] | 0;
+ HEAP32[i45 >> 2] = i46;
+ i45 = HEAP32[i12 >> 2] | 0;
+ HEAPF32[i24 >> 2] = 1.0;
+ HEAP32[i14 >> 2] = 0;
+ HEAP16[i31 >> 1] = 1;
+ HEAP16[i41 >> 1] = -1;
+ HEAP32[i27 >> 2] = 0;
+ HEAP32[i26 >> 2] = 1864;
+ HEAP32[i25 >> 2] = i45;
+ HEAP32[i42 >> 2] = i9;
+ HEAPF32[i24 >> 2] = +HEAPF32[i45 + 4 >> 2];
+ __ZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackE(HEAP32[i33 >> 2] | 0, HEAP32[i35 >> 2] | 0, HEAP32[i11 >> 2] | 0, i46, i8, i43);
+ HEAP32[(HEAP32[i11 >> 2] | 0) + 192 >> 2] = i47;
+ i47 = i9 + 1 | 0;
+ if ((i47 | 0) >= (i23 | 0)) {
+ break;
+ }
+ i9 = i47;
+ i44 = HEAP32[i30 >> 2] | 0;
+ i13 = HEAP32[i29 >> 2] | 0;
+ }
+ __ZN13btConvexShapeD2Ev(i28);
+ STACKTOP = i7;
+ return;
+ }
+ if ((i10 | 0) == 21) {
+ d37 = +HEAPF32[i5 >> 2];
+ d36 = +HEAPF32[i5 + 16 >> 2];
+ d40 = +HEAPF32[i5 + 32 >> 2];
+ d39 = +HEAPF32[i5 + 4 >> 2];
+ d38 = +HEAPF32[i5 + 20 >> 2];
+ d34 = +HEAPF32[i5 + 36 >> 2];
+ d32 = +HEAPF32[i5 + 8 >> 2];
+ d48 = +HEAPF32[i5 + 24 >> 2];
+ d49 = +HEAPF32[i5 + 40 >> 2];
+ d50 = -0.0 - +HEAPF32[i5 + 48 >> 2];
+ d51 = -0.0 - +HEAPF32[i5 + 52 >> 2];
+ d52 = -0.0 - +HEAPF32[i5 + 56 >> 2];
+ d53 = d37 * d50 + d36 * d51 + d40 * d52;
+ d54 = d39 * d50 + d38 * d51 + d34 * d52;
+ d55 = d32 * d50 + d48 * d51 + d49 * d52;
+ d52 = +HEAPF32[i1 + 48 >> 2];
+ d51 = +HEAPF32[i1 + 52 >> 2];
+ d50 = +HEAPF32[i1 + 56 >> 2];
+ HEAPF32[i15 >> 2] = d53 + (d37 * d52 + d36 * d51 + d40 * d50);
+ HEAPF32[i15 + 4 >> 2] = d54 + (d39 * d52 + d38 * d51 + d34 * d50);
+ HEAPF32[i15 + 8 >> 2] = d55 + (d32 * d52 + d48 * d51 + d49 * d50);
+ HEAPF32[i15 + 12 >> 2] = 0.0;
+ d50 = +HEAPF32[i2 + 48 >> 2];
+ d51 = +HEAPF32[i2 + 52 >> 2];
+ d52 = +HEAPF32[i2 + 56 >> 2];
+ HEAPF32[i16 >> 2] = d53 + (d37 * d50 + d36 * d51 + d40 * d52);
+ HEAPF32[i16 + 4 >> 2] = d54 + (d39 * d50 + d38 * d51 + d34 * d52);
+ HEAPF32[i16 + 8 >> 2] = d55 + (d32 * d50 + d48 * d51 + d49 * d52);
+ HEAPF32[i16 + 12 >> 2] = 0.0;
+ __ZN25btTriangleRaycastCallbackC2ERK9btVector3S2_j(i17 | 0, i15, i16, HEAP32[i6 + 16 >> 2] | 0);
+ HEAP32[i17 >> 2] = 1832;
+ HEAP32[i17 + 44 >> 2] = i6;
+ HEAP32[i17 + 48 >> 2] = i3;
+ HEAP32[i17 + 52 >> 2] = i4;
+ i10 = i17 + 56 | 0;
+ i29 = i5;
+ HEAP32[i10 >> 2] = HEAP32[i29 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i29 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i29 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i29 + 12 >> 2];
+ i29 = i17 + 72 | 0;
+ i10 = i5 + 16 | 0;
+ HEAP32[i29 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i29 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i29 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i29 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i17 + 88 | 0;
+ i29 = i5 + 32 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i29 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i29 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i29 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i29 + 12 >> 2];
+ i29 = i17 + 104 | 0;
+ i10 = i5 + 48 | 0;
+ HEAP32[i29 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i29 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i29 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i29 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ HEAPF32[i17 + 40 >> 2] = +HEAPF32[i6 + 4 >> 2];
+ i10 = i17 | 0;
+ __ZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_(i4, i10, i15, i16);
+ __ZN18btTriangleCallbackD2Ev(i10);
+ __ZN13btConvexShapeD2Ev(i28);
+ STACKTOP = i7;
+ return;
+ }
+ i10 = i4;
+ d52 = +HEAPF32[i5 >> 2];
+ d49 = +HEAPF32[i5 + 16 >> 2];
+ d51 = +HEAPF32[i5 + 32 >> 2];
+ d48 = +HEAPF32[i5 + 4 >> 2];
+ d50 = +HEAPF32[i5 + 20 >> 2];
+ d32 = +HEAPF32[i5 + 36 >> 2];
+ d55 = +HEAPF32[i5 + 8 >> 2];
+ d34 = +HEAPF32[i5 + 24 >> 2];
+ d38 = +HEAPF32[i5 + 40 >> 2];
+ d39 = -0.0 - +HEAPF32[i5 + 48 >> 2];
+ d54 = -0.0 - +HEAPF32[i5 + 52 >> 2];
+ d40 = -0.0 - +HEAPF32[i5 + 56 >> 2];
+ d36 = d52 * d39 + d49 * d54 + d51 * d40;
+ d37 = d48 * d39 + d50 * d54 + d32 * d40;
+ d53 = d55 * d39 + d34 * d54 + d38 * d40;
+ d40 = +HEAPF32[i1 + 48 >> 2];
+ d54 = +HEAPF32[i1 + 52 >> 2];
+ d39 = +HEAPF32[i1 + 56 >> 2];
+ HEAPF32[i18 >> 2] = d36 + (d52 * d40 + d49 * d54 + d51 * d39);
+ HEAPF32[i18 + 4 >> 2] = d37 + (d48 * d40 + d50 * d54 + d32 * d39);
+ HEAPF32[i18 + 8 >> 2] = d53 + (d55 * d40 + d34 * d54 + d38 * d39);
+ HEAPF32[i18 + 12 >> 2] = 0.0;
+ d39 = +HEAPF32[i2 + 48 >> 2];
+ d54 = +HEAPF32[i2 + 52 >> 2];
+ d40 = +HEAPF32[i2 + 56 >> 2];
+ i2 = i19 | 0;
+ HEAPF32[i2 >> 2] = d36 + (d52 * d39 + d49 * d54 + d51 * d40);
+ i1 = i19 + 4 | 0;
+ HEAPF32[i1 >> 2] = d37 + (d48 * d39 + d50 * d54 + d32 * d40);
+ i16 = i19 + 8 | 0;
+ HEAPF32[i16 >> 2] = d53 + (d55 * d39 + d34 * d54 + d38 * d40);
+ i15 = i19 + 12 | 0;
+ HEAPF32[i15 >> 2] = 0.0;
+ __ZN25btTriangleRaycastCallbackC2ERK9btVector3S2_j(i20 | 0, i18, i19, HEAP32[i6 + 16 >> 2] | 0);
+ HEAP32[i20 >> 2] = 1800;
+ HEAP32[i20 + 44 >> 2] = i6;
+ HEAP32[i20 + 48 >> 2] = i3;
+ HEAP32[i20 + 52 >> 2] = i10;
+ i3 = i20 + 56 | 0;
+ i19 = i5;
+ HEAP32[i3 >> 2] = HEAP32[i19 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i19 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i19 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i19 + 12 >> 2];
+ i19 = i20 + 72 | 0;
+ i3 = i5 + 16 | 0;
+ HEAP32[i19 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ i3 = i20 + 88 | 0;
+ i19 = i5 + 32 | 0;
+ HEAP32[i3 >> 2] = HEAP32[i19 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i19 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i19 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i19 + 12 >> 2];
+ i19 = i20 + 104 | 0;
+ i3 = i5 + 48 | 0;
+ HEAP32[i19 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ HEAPF32[i20 + 40 >> 2] = +HEAPF32[i6 + 4 >> 2];
+ i6 = i21;
+ i3 = i18;
+ HEAP32[i6 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ i6 = i21 | 0;
+ d40 = +HEAPF32[i2 >> 2];
+ if (d40 < +HEAPF32[i6 >> 2]) {
+ HEAPF32[i6 >> 2] = d40;
+ }
+ i6 = i21 + 4 | 0;
+ d38 = +HEAPF32[i1 >> 2];
+ if (d38 < +HEAPF32[i6 >> 2]) {
+ HEAPF32[i6 >> 2] = d38;
+ }
+ i6 = i21 + 8 | 0;
+ d54 = +HEAPF32[i16 >> 2];
+ if (d54 < +HEAPF32[i6 >> 2]) {
+ HEAPF32[i6 >> 2] = d54;
+ }
+ i6 = i21 + 12 | 0;
+ d34 = +HEAPF32[i15 >> 2];
+ if (d34 < +HEAPF32[i6 >> 2]) {
+ HEAPF32[i6 >> 2] = d34;
+ }
+ i6 = i22;
+ HEAP32[i6 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ i3 = i22 | 0;
+ if (+HEAPF32[i3 >> 2] < d40) {
+ HEAPF32[i3 >> 2] = d40;
+ }
+ i3 = i22 + 4 | 0;
+ if (+HEAPF32[i3 >> 2] < d38) {
+ HEAPF32[i3 >> 2] = d38;
+ }
+ i3 = i22 + 8 | 0;
+ if (+HEAPF32[i3 >> 2] < d54) {
+ HEAPF32[i3 >> 2] = d54;
+ }
+ i3 = i22 + 12 | 0;
+ if (+HEAPF32[i3 >> 2] < d34) {
+ HEAPF32[i3 >> 2] = d34;
+ }
+ i3 = i20 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i4 >> 2] | 0) + 60 >> 2] & 127](i10, i3, i21, i22);
+ __ZN18btTriangleCallbackD2Ev(i3);
+ __ZN13btConvexShapeD2Ev(i28);
+ STACKTOP = i7;
+ return;
+}
+function __ZN28btCompoundCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, d42 = 0.0, d43 = 0.0, d44 = 0.0, d45 = 0.0, d46 = 0.0, d47 = 0.0, d48 = 0.0, d49 = 0.0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, d58 = 0.0, d59 = 0.0, d60 = 0.0, d61 = 0.0, d62 = 0.0, d63 = 0.0, d64 = 0.0, d65 = 0.0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0, i79 = 0, i80 = 0, i81 = 0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 312 | 0;
+ i7 = i6 | 0;
+ i8 = i6 + 32 | 0;
+ i9 = i6 + 56 | 0;
+ i10 = i6 + 72 | 0;
+ i11 = i6 + 88 | 0;
+ i12 = i6 + 152 | 0;
+ i13 = i6 + 184 | 0;
+ i14 = i6 + 248 | 0;
+ i15 = i6 + 264 | 0;
+ i16 = i6 + 280 | 0;
+ i17 = i6 + 296 | 0;
+ i18 = (HEAP8[i1 + 28 | 0] | 0) != 0;
+ i19 = i18 ? i3 : i2;
+ i20 = i18 ? i2 : i3;
+ i18 = HEAP32[i19 + 192 >> 2] | 0;
+ i21 = i1 + 12 | 0;
+ if ((HEAP32[i18 + 68 >> 2] | 0) != (HEAP32[i1 + 40 >> 2] | 0)) {
+ i22 = HEAP32[i21 >> 2] | 0;
+ if ((i22 | 0) > 0) {
+ i23 = i1 + 20 | 0;
+ i24 = i1 + 4 | 0;
+ i25 = 0;
+ do {
+ i26 = HEAP32[(HEAP32[i23 >> 2] | 0) + (i25 << 2) >> 2] | 0;
+ if ((i26 | 0) != 0) {
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i26 >> 2] >> 2] & 511](i26);
+ i26 = HEAP32[i24 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i26 >> 2] | 0) + 60 >> 2] & 127](i26, HEAP32[(HEAP32[i23 >> 2] | 0) + (i25 << 2) >> 2] | 0);
+ }
+ i25 = i25 + 1 | 0;
+ } while ((i25 | 0) < (i22 | 0));
+ }
+ __ZN28btCompoundCollisionAlgorithm26preallocateChildAlgorithmsEP17btCollisionObjectS1_(i1, i2, i3);
+ }
+ i3 = HEAP32[i18 + 64 >> 2] | 0;
+ i2 = i1 + 4 | 0;
+ i22 = HEAP32[i2 >> 2] | 0;
+ i25 = i1 + 20 | 0;
+ i23 = HEAP32[i25 >> 2] | 0;
+ i24 = HEAP32[i1 + 32 >> 2] | 0;
+ HEAP32[i7 >> 2] = 3568;
+ HEAP32[i7 + 4 >> 2] = i19;
+ HEAP32[i7 + 8 >> 2] = i20;
+ HEAP32[i7 + 12 >> 2] = i22;
+ HEAP32[i7 + 16 >> 2] = i4;
+ HEAP32[i7 + 20 >> 2] = i5;
+ HEAP32[i7 + 24 >> 2] = i23;
+ HEAP32[i7 + 28 >> 2] = i24;
+ i24 = i8 + 16 | 0;
+ HEAP8[i24] = 1;
+ i4 = i8 + 12 | 0;
+ HEAP32[i4 >> 2] = 0;
+ i22 = i8 + 4 | 0;
+ HEAP32[i22 >> 2] = 0;
+ i1 = i8 + 8 | 0;
+ HEAP32[i1 >> 2] = 0;
+ i26 = HEAP32[i21 >> 2] | 0;
+ do {
+ if ((i26 | 0) > 0) {
+ i27 = i5 + 4 | 0;
+ i28 = i5 + 136 | 0;
+ i29 = i5 + 8 | 0;
+ i30 = i5 + 72 | 0;
+ i31 = 0;
+ i32 = i26;
+ i33 = i23;
+ while (1) {
+ i34 = HEAP32[i33 + (i31 << 2) >> 2] | 0;
+ if ((i34 | 0) == 0) {
+ i35 = i32;
+ } else {
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i34 >> 2] | 0) + 16 >> 2] & 127](i34, i8);
+ i34 = HEAP32[i22 >> 2] | 0;
+ if ((i34 | 0) > 0) {
+ i36 = 0;
+ i37 = i34;
+ while (1) {
+ i38 = HEAP32[(HEAP32[i4 >> 2] | 0) + (i36 << 2) >> 2] | 0;
+ if ((HEAP32[i38 + 1116 >> 2] | 0) == 0) {
+ i39 = i37;
+ } else {
+ HEAP32[i27 >> 2] = i38;
+ if ((HEAP32[i38 + 1108 >> 2] | 0) == (HEAP32[i28 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i38, i29, i30);
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i38, i30, i29);
+ }
+ HEAP32[i27 >> 2] = 0;
+ i39 = HEAP32[i22 >> 2] | 0;
+ }
+ i38 = i36 + 1 | 0;
+ if ((i38 | 0) < (i39 | 0)) {
+ i36 = i38;
+ i37 = i39;
+ } else {
+ i40 = i39;
+ break;
+ }
+ }
+ } else {
+ i40 = i34;
+ }
+ if ((i40 | 0) < 0) {
+ if ((HEAP32[i1 >> 2] | 0) < 0) {
+ i37 = HEAP32[i4 >> 2] | 0;
+ if ((i40 | 0) > 0) {
+ i36 = 0;
+ do {
+ if ((i36 | 0) != 0) {
+ HEAP32[i36 << 2 >> 2] = HEAP32[i37 + (i36 << 2) >> 2];
+ }
+ i36 = i36 + 1 | 0;
+ } while ((i36 | 0) < (i40 | 0));
+ }
+ if ((i37 | 0) != 0) {
+ if ((HEAP8[i24] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i37);
+ }
+ HEAP32[i4 >> 2] = 0;
+ }
+ HEAP8[i24] = 1;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i1 >> 2] = 0;
+ i41 = i40;
+ } else {
+ i41 = i40;
+ }
+ do {
+ i36 = (HEAP32[i4 >> 2] | 0) + (i41 << 2) | 0;
+ if ((i36 | 0) != 0) {
+ HEAP32[i36 >> 2] = 0;
+ }
+ i41 = i41 + 1 | 0;
+ } while ((i41 | 0) < 0);
+ }
+ HEAP32[i22 >> 2] = 0;
+ i35 = HEAP32[i21 >> 2] | 0;
+ }
+ i37 = i31 + 1 | 0;
+ if ((i37 | 0) >= (i35 | 0)) {
+ break;
+ }
+ i31 = i37;
+ i32 = i35;
+ i33 = HEAP32[i25 >> 2] | 0;
+ }
+ i33 = HEAP32[i4 >> 2] | 0;
+ if ((i33 | 0) == 0) {
+ break;
+ }
+ if ((HEAP8[i24] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i33);
+ }
+ HEAP32[i4 >> 2] = 0;
+ }
+ } while (0);
+ HEAP8[i24] = 1;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i22 >> 2] = 0;
+ HEAP32[i1 >> 2] = 0;
+ if ((i3 | 0) == 0) {
+ i1 = HEAP32[i21 >> 2] | 0;
+ if ((i1 | 0) <= 0) {
+ STACKTOP = i6;
+ return;
+ }
+ i22 = i18 + 24 | 0;
+ i4 = 0;
+ do {
+ __ZN22btCompoundLeafCallback17ProcessChildShapeEP16btCollisionShapei(i7, HEAP32[(HEAP32[i22 >> 2] | 0) + (i4 * 80 | 0) + 64 >> 2] | 0, i4);
+ i4 = i4 + 1 | 0;
+ } while ((i4 | 0) < (i1 | 0));
+ } else {
+ d42 = +HEAPF32[i19 + 4 >> 2];
+ d43 = +HEAPF32[i19 + 20 >> 2];
+ d44 = +HEAPF32[i19 + 36 >> 2];
+ d45 = +HEAPF32[i19 + 8 >> 2];
+ d46 = +HEAPF32[i19 + 24 >> 2];
+ d47 = +HEAPF32[i19 + 40 >> 2];
+ d48 = +HEAPF32[i19 + 12 >> 2];
+ d49 = +HEAPF32[i19 + 28 >> 2];
+ d50 = +HEAPF32[i19 + 44 >> 2];
+ d51 = -0.0 - +HEAPF32[i19 + 52 >> 2];
+ d52 = -0.0 - +HEAPF32[i19 + 56 >> 2];
+ d53 = -0.0 - +HEAPF32[i19 + 60 >> 2];
+ d54 = +HEAPF32[i20 + 4 >> 2];
+ d55 = +HEAPF32[i20 + 20 >> 2];
+ d56 = +HEAPF32[i20 + 36 >> 2];
+ d57 = +HEAPF32[i20 + 8 >> 2];
+ d58 = +HEAPF32[i20 + 24 >> 2];
+ d59 = +HEAPF32[i20 + 40 >> 2];
+ d60 = +HEAPF32[i20 + 12 >> 2];
+ d61 = +HEAPF32[i20 + 28 >> 2];
+ d62 = +HEAPF32[i20 + 44 >> 2];
+ d63 = +HEAPF32[i20 + 52 >> 2];
+ d64 = +HEAPF32[i20 + 56 >> 2];
+ d65 = +HEAPF32[i20 + 60 >> 2];
+ HEAPF32[i11 >> 2] = d42 * d54 + d43 * d55 + d44 * d56;
+ HEAPF32[i11 + 4 >> 2] = d42 * d57 + d43 * d58 + d44 * d59;
+ HEAPF32[i11 + 8 >> 2] = d42 * d60 + d43 * d61 + d44 * d62;
+ HEAPF32[i11 + 12 >> 2] = 0.0;
+ HEAPF32[i11 + 16 >> 2] = d45 * d54 + d46 * d55 + d47 * d56;
+ HEAPF32[i11 + 20 >> 2] = d45 * d57 + d46 * d58 + d47 * d59;
+ HEAPF32[i11 + 24 >> 2] = d45 * d60 + d46 * d61 + d47 * d62;
+ HEAPF32[i11 + 28 >> 2] = 0.0;
+ HEAPF32[i11 + 32 >> 2] = d48 * d54 + d49 * d55 + d50 * d56;
+ HEAPF32[i11 + 36 >> 2] = d48 * d57 + d49 * d58 + d50 * d59;
+ HEAPF32[i11 + 40 >> 2] = d48 * d60 + d49 * d61 + d50 * d62;
+ HEAPF32[i11 + 44 >> 2] = 0.0;
+ HEAPF32[i11 + 48 >> 2] = d42 * d51 + d43 * d52 + d44 * d53 + (d42 * d63 + d43 * d64 + d44 * d65);
+ HEAPF32[i11 + 52 >> 2] = d45 * d51 + d46 * d52 + d47 * d53 + (d45 * d63 + d46 * d64 + d47 * d65);
+ HEAPF32[i11 + 56 >> 2] = d48 * d51 + d49 * d52 + d50 * d53 + (d48 * d63 + d49 * d64 + d50 * d65);
+ HEAPF32[i11 + 60 >> 2] = 0.0;
+ i1 = HEAP32[i20 + 192 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 127](i1, i11, i9, i10);
+ i11 = i12;
+ i1 = i9;
+ HEAP32[i11 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ i1 = i12 + 16 | 0;
+ i11 = i10;
+ HEAP32[i1 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i11 + 12 >> 2];
+ __ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(0, HEAP32[i3 >> 2] | 0, i12, i7 | 0);
+ }
+ i7 = HEAP32[i21 >> 2] | 0;
+ if ((i7 | 0) <= 0) {
+ STACKTOP = i6;
+ return;
+ }
+ i21 = i18 + 24 | 0;
+ i18 = i19 + 4 | 0;
+ i12 = i19 + 8 | 0;
+ i3 = i19 + 12 | 0;
+ i11 = i19 + 20 | 0;
+ i1 = i19 + 24 | 0;
+ i10 = i19 + 28 | 0;
+ i9 = i19 + 36 | 0;
+ i4 = i19 + 40 | 0;
+ i22 = i19 + 44 | 0;
+ i24 = i19 + 52 | 0;
+ i35 = i19 + 56 | 0;
+ i41 = i19 + 60 | 0;
+ i19 = i13 | 0;
+ i40 = i13 + 4 | 0;
+ i39 = i13 + 8 | 0;
+ i8 = i13 + 12 | 0;
+ i23 = i13 + 16 | 0;
+ i26 = i13 + 20 | 0;
+ i5 = i13 + 24 | 0;
+ i33 = i13 + 28 | 0;
+ i32 = i13 + 32 | 0;
+ i31 = i13 + 36 | 0;
+ i27 = i13 + 40 | 0;
+ i29 = i13 + 44 | 0;
+ i30 = i13 + 48 | 0;
+ i28 = i13 + 52 | 0;
+ i37 = i13 + 56 | 0;
+ i36 = i13 + 60 | 0;
+ i34 = i20 + 192 | 0;
+ i38 = i20 + 4 | 0;
+ i20 = i14 | 0;
+ i66 = i17 | 0;
+ i67 = i14 + 8 | 0;
+ i68 = i17 + 8 | 0;
+ i69 = i14 + 4 | 0;
+ i70 = i17 + 4 | 0;
+ i71 = i15 + 4 | 0;
+ i72 = i16 + 4 | 0;
+ i73 = i15 + 8 | 0;
+ i74 = i16 + 8 | 0;
+ i75 = i15 | 0;
+ i76 = i16 | 0;
+ i77 = 0;
+ do {
+ do {
+ if ((HEAP32[(HEAP32[i25 >> 2] | 0) + (i77 << 2) >> 2] | 0) != 0) {
+ i78 = HEAP32[i21 >> 2] | 0;
+ i79 = HEAP32[i78 + (i77 * 80 | 0) + 64 >> 2] | 0;
+ d65 = +HEAPF32[i18 >> 2];
+ d50 = +HEAPF32[i12 >> 2];
+ d64 = +HEAPF32[i3 >> 2];
+ d49 = +HEAPF32[i11 >> 2];
+ d63 = +HEAPF32[i1 >> 2];
+ d48 = +HEAPF32[i10 >> 2];
+ d53 = +HEAPF32[i9 >> 2];
+ d52 = +HEAPF32[i4 >> 2];
+ d51 = +HEAPF32[i22 >> 2];
+ d47 = +HEAPF32[i78 + (i77 * 80 | 0) >> 2];
+ d46 = +HEAPF32[i78 + (i77 * 80 | 0) + 16 >> 2];
+ d45 = +HEAPF32[i78 + (i77 * 80 | 0) + 32 >> 2];
+ d44 = +HEAPF32[i78 + (i77 * 80 | 0) + 4 >> 2];
+ d43 = +HEAPF32[i78 + (i77 * 80 | 0) + 20 >> 2];
+ d42 = +HEAPF32[i78 + (i77 * 80 | 0) + 36 >> 2];
+ d62 = +HEAPF32[i78 + (i77 * 80 | 0) + 8 >> 2];
+ d61 = +HEAPF32[i78 + (i77 * 80 | 0) + 24 >> 2];
+ d60 = +HEAPF32[i78 + (i77 * 80 | 0) + 40 >> 2];
+ d59 = +HEAPF32[i78 + (i77 * 80 | 0) + 48 >> 2];
+ d58 = +HEAPF32[i78 + (i77 * 80 | 0) + 52 >> 2];
+ d57 = +HEAPF32[i78 + (i77 * 80 | 0) + 56 >> 2];
+ d56 = +HEAPF32[i24 >> 2] + (d65 * d59 + d50 * d58 + d64 * d57);
+ d55 = +HEAPF32[i35 >> 2] + (d49 * d59 + d63 * d58 + d48 * d57);
+ d54 = +HEAPF32[i41 >> 2] + (d53 * d59 + d52 * d58 + d51 * d57);
+ HEAPF32[i19 >> 2] = d65 * d47 + d50 * d46 + d64 * d45;
+ HEAPF32[i40 >> 2] = d65 * d44 + d50 * d43 + d64 * d42;
+ HEAPF32[i39 >> 2] = d65 * d62 + d50 * d61 + d64 * d60;
+ HEAPF32[i8 >> 2] = 0.0;
+ HEAPF32[i23 >> 2] = d49 * d47 + d63 * d46 + d48 * d45;
+ HEAPF32[i26 >> 2] = d49 * d44 + d63 * d43 + d48 * d42;
+ HEAPF32[i5 >> 2] = d49 * d62 + d63 * d61 + d48 * d60;
+ HEAPF32[i33 >> 2] = 0.0;
+ HEAPF32[i32 >> 2] = d53 * d47 + d52 * d46 + d51 * d45;
+ HEAPF32[i31 >> 2] = d53 * d44 + d52 * d43 + d51 * d42;
+ HEAPF32[i27 >> 2] = d53 * d62 + d52 * d61 + d51 * d60;
+ HEAPF32[i29 >> 2] = 0.0;
+ HEAPF32[i30 >> 2] = d56;
+ HEAPF32[i28 >> 2] = d55;
+ HEAPF32[i37 >> 2] = d54;
+ HEAPF32[i36 >> 2] = 0.0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i79 >> 2] | 0) + 8 >> 2] & 127](i79, i13, i14, i15);
+ i79 = HEAP32[i34 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i79 >> 2] | 0) + 8 >> 2] & 127](i79, i38, i16, i17);
+ do {
+ if (+HEAPF32[i20 >> 2] > +HEAPF32[i66 >> 2]) {
+ i80 = 0;
+ } else {
+ if (+HEAPF32[i75 >> 2] < +HEAPF32[i76 >> 2]) {
+ i80 = 0;
+ break;
+ }
+ i80 = 1;
+ }
+ } while (0);
+ do {
+ if (+HEAPF32[i67 >> 2] > +HEAPF32[i68 >> 2]) {
+ i81 = 0;
+ } else {
+ if (+HEAPF32[i73 >> 2] < +HEAPF32[i74 >> 2]) {
+ i81 = 0;
+ break;
+ }
+ i81 = i80;
+ }
+ } while (0);
+ if (+HEAPF32[i69 >> 2] <= +HEAPF32[i70 >> 2]) {
+ if (!(+HEAPF32[i71 >> 2] < +HEAPF32[i72 >> 2] | i81 ^ 1)) {
+ break;
+ }
+ }
+ i79 = HEAP32[(HEAP32[i25 >> 2] | 0) + (i77 << 2) >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i79 >> 2] >> 2] & 511](i79);
+ i79 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i79 >> 2] | 0) + 60 >> 2] & 127](i79, HEAP32[(HEAP32[i25 >> 2] | 0) + (i77 << 2) >> 2] | 0);
+ HEAP32[(HEAP32[i25 >> 2] | 0) + (i77 << 2) >> 2] = 0;
+ }
+ } while (0);
+ i77 = i77 + 1 | 0;
+ } while ((i77 | 0) < (i7 | 0));
+ STACKTOP = i6;
+ return;
+}
+function __ZN22btSubsimplexConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, d25 = 0.0, i26 = 0, i27 = 0, d28 = 0.0, i29 = 0, d30 = 0.0, i31 = 0, i32 = 0, d33 = 0.0, i34 = 0, i35 = 0, d36 = 0.0, i37 = 0, d38 = 0.0, i39 = 0, d40 = 0.0, i41 = 0, d42 = 0.0, i43 = 0, d44 = 0.0, i45 = 0, d46 = 0.0, i47 = 0, d48 = 0.0, i49 = 0, d50 = 0.0, i51 = 0, d52 = 0.0, i53 = 0, d54 = 0.0, i55 = 0, d56 = 0.0, d57 = 0.0, i58 = 0, d59 = 0.0, i60 = 0, d61 = 0.0, i62 = 0, d63 = 0.0, i64 = 0, d65 = 0.0, i66 = 0, d67 = 0.0, i68 = 0, d69 = 0.0, i70 = 0, d71 = 0.0, i72 = 0, d73 = 0.0, d74 = 0.0, d75 = 0.0, d76 = 0.0, i77 = 0, i78 = 0, d79 = 0.0, d80 = 0.0, d81 = 0.0, d82 = 0.0, d83 = 0.0, d84 = 0.0, d85 = 0.0, d86 = 0.0, d87 = 0.0, i88 = 0, i89 = 0, i90 = 0, i91 = 0, i92 = 0, d93 = 0.0, d94 = 0.0, d95 = 0.0, i96 = 0, d97 = 0.0, d98 = 0.0, d99 = 0.0, d100 = 0.0, i101 = 0, d102 = 0.0, d103 = 0.0, d104 = 0.0, d105 = 0.0, i106 = 0, i107 = 0, d108 = 0.0, d109 = 0.0, d110 = 0.0, d111 = 0.0, d112 = 0.0, d113 = 0.0, d114 = 0.0, d115 = 0.0, d116 = 0.0, i117 = 0, i118 = 0, d119 = 0.0, d120 = 0.0, d121 = 0.0, d122 = 0.0, d123 = 0.0, d124 = 0.0, d125 = 0.0, d126 = 0.0, d127 = 0.0, d128 = 0.0, d129 = 0.0, d130 = 0.0, d131 = 0.0, d132 = 0.0, d133 = 0.0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 224 | 0;
+ i8 = i7 | 0;
+ i9 = i7 + 16 | 0;
+ i10 = i7 + 32 | 0;
+ i11 = i7 + 48 | 0;
+ i12 = i7 + 64 | 0;
+ i13 = i7 + 80 | 0;
+ i14 = i7 + 96 | 0;
+ i15 = i7 + 112 | 0;
+ i16 = i7 + 128 | 0;
+ i17 = i7 + 144 | 0;
+ i18 = i7 + 160 | 0;
+ i19 = i7 + 176 | 0;
+ i20 = i7 + 192 | 0;
+ i21 = i7 + 208 | 0;
+ i22 = i1 + 4 | 0;
+ __ZN22btVoronoiSimplexSolver5resetEv(HEAP32[i22 >> 2] | 0);
+ i23 = i3 + 48 | 0;
+ i24 = i2 + 48 | 0;
+ d25 = +HEAPF32[i24 >> 2];
+ i26 = i3 + 52 | 0;
+ i27 = i2 + 52 | 0;
+ d28 = +HEAPF32[i27 >> 2];
+ i29 = i3 + 56 | 0;
+ i3 = i2 + 56 | 0;
+ d30 = +HEAPF32[i3 >> 2];
+ i31 = i5 + 48 | 0;
+ i32 = i4 + 48 | 0;
+ d33 = +HEAPF32[i32 >> 2];
+ i34 = i5 + 52 | 0;
+ i35 = i4 + 52 | 0;
+ d36 = +HEAPF32[i35 >> 2];
+ i37 = i5 + 56 | 0;
+ i5 = i4 + 56 | 0;
+ d38 = +HEAPF32[i5 >> 2];
+ i39 = i2 | 0;
+ d40 = +HEAPF32[i39 >> 2];
+ i41 = i2 + 4 | 0;
+ d42 = +HEAPF32[i41 >> 2];
+ i43 = i2 + 8 | 0;
+ d44 = +HEAPF32[i43 >> 2];
+ i45 = i2 + 16 | 0;
+ d46 = +HEAPF32[i45 >> 2];
+ i47 = i2 + 20 | 0;
+ d48 = +HEAPF32[i47 >> 2];
+ i49 = i2 + 24 | 0;
+ d50 = +HEAPF32[i49 >> 2];
+ i51 = i2 + 32 | 0;
+ d52 = +HEAPF32[i51 >> 2];
+ i53 = i2 + 36 | 0;
+ d54 = +HEAPF32[i53 >> 2];
+ i55 = i2 + 40 | 0;
+ d56 = +HEAPF32[i55 >> 2];
+ i2 = i4 | 0;
+ d57 = +HEAPF32[i2 >> 2];
+ i58 = i4 + 4 | 0;
+ d59 = +HEAPF32[i58 >> 2];
+ i60 = i4 + 8 | 0;
+ d61 = +HEAPF32[i60 >> 2];
+ i62 = i4 + 16 | 0;
+ d63 = +HEAPF32[i62 >> 2];
+ i64 = i4 + 20 | 0;
+ d65 = +HEAPF32[i64 >> 2];
+ i66 = i4 + 24 | 0;
+ d67 = +HEAPF32[i66 >> 2];
+ i68 = i4 + 32 | 0;
+ d69 = +HEAPF32[i68 >> 2];
+ i70 = i4 + 36 | 0;
+ d71 = +HEAPF32[i70 >> 2];
+ i72 = i4 + 40 | 0;
+ d73 = +HEAPF32[i72 >> 2];
+ d74 = +HEAPF32[i23 >> 2] - d25 - (+HEAPF32[i31 >> 2] - d33);
+ d75 = +HEAPF32[i26 >> 2] - d28 - (+HEAPF32[i34 >> 2] - d36);
+ d76 = +HEAPF32[i29 >> 2] - d30 - (+HEAPF32[i37 >> 2] - d38);
+ i4 = i1 + 8 | 0;
+ i77 = HEAP32[i4 >> 2] | 0;
+ i78 = HEAP32[(HEAP32[i77 >> 2] | 0) + 60 >> 2] | 0;
+ d79 = -0.0 - d74;
+ d80 = -0.0 - d75;
+ d81 = -0.0 - d76;
+ HEAPF32[i11 >> 2] = d40 * d79 + d46 * d80 + d52 * d81;
+ HEAPF32[i11 + 4 >> 2] = d42 * d79 + d48 * d80 + d54 * d81;
+ HEAPF32[i11 + 8 >> 2] = d44 * d79 + d50 * d80 + d56 * d81;
+ HEAPF32[i11 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i78 & 127](i10, i77, i11);
+ d81 = +HEAPF32[i10 >> 2];
+ d80 = +HEAPF32[i10 + 4 >> 2];
+ d79 = +HEAPF32[i10 + 8 >> 2];
+ d82 = +HEAPF32[i24 >> 2] + (+HEAPF32[i39 >> 2] * d81 + +HEAPF32[i41 >> 2] * d80 + +HEAPF32[i43 >> 2] * d79);
+ d83 = +HEAPF32[i27 >> 2] + (d81 * +HEAPF32[i45 >> 2] + d80 * +HEAPF32[i47 >> 2] + d79 * +HEAPF32[i49 >> 2]);
+ d84 = +HEAPF32[i3 >> 2] + (d81 * +HEAPF32[i51 >> 2] + d80 * +HEAPF32[i53 >> 2] + d79 * +HEAPF32[i55 >> 2]);
+ i55 = i9 | 0;
+ HEAPF32[i55 >> 2] = d82;
+ i53 = i9 + 4 | 0;
+ HEAPF32[i53 >> 2] = d83;
+ i51 = i9 + 8 | 0;
+ HEAPF32[i51 >> 2] = d84;
+ i49 = i9 + 12 | 0;
+ HEAPF32[i49 >> 2] = 0.0;
+ i47 = i1 + 12 | 0;
+ i1 = HEAP32[i47 >> 2] | 0;
+ i45 = HEAP32[(HEAP32[i1 >> 2] | 0) + 60 >> 2] | 0;
+ d79 = d74 * +HEAPF32[i58 >> 2] + d75 * +HEAPF32[i64 >> 2] + d76 * +HEAPF32[i70 >> 2];
+ d80 = d74 * +HEAPF32[i60 >> 2] + d75 * +HEAPF32[i66 >> 2] + d76 * +HEAPF32[i72 >> 2];
+ HEAPF32[i14 >> 2] = d74 * +HEAPF32[i2 >> 2] + d75 * +HEAPF32[i62 >> 2] + d76 * +HEAPF32[i68 >> 2];
+ HEAPF32[i14 + 4 >> 2] = d79;
+ HEAPF32[i14 + 8 >> 2] = d80;
+ HEAPF32[i14 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i45 & 127](i13, i1, i14);
+ d80 = +HEAPF32[i13 >> 2];
+ d79 = +HEAPF32[i13 + 4 >> 2];
+ d81 = +HEAPF32[i13 + 8 >> 2];
+ d85 = +HEAPF32[i32 >> 2] + (+HEAPF32[i2 >> 2] * d80 + +HEAPF32[i58 >> 2] * d79 + +HEAPF32[i60 >> 2] * d81);
+ d86 = +HEAPF32[i35 >> 2] + (d80 * +HEAPF32[i62 >> 2] + d79 * +HEAPF32[i64 >> 2] + d81 * +HEAPF32[i66 >> 2]);
+ d87 = +HEAPF32[i5 >> 2] + (d80 * +HEAPF32[i68 >> 2] + d79 * +HEAPF32[i70 >> 2] + d81 * +HEAPF32[i72 >> 2]);
+ i72 = i12 | 0;
+ HEAPF32[i72 >> 2] = d85;
+ i70 = i12 + 4 | 0;
+ HEAPF32[i70 >> 2] = d86;
+ i68 = i12 + 8 | 0;
+ HEAPF32[i68 >> 2] = d87;
+ i66 = i12 + 12 | 0;
+ HEAPF32[i66 >> 2] = 0.0;
+ d81 = d82 - d85;
+ d85 = d83 - d86;
+ d86 = d84 - d87;
+ i64 = i8 | 0;
+ HEAPF32[i64 >> 2] = d81;
+ i62 = i8 + 4 | 0;
+ HEAPF32[i62 >> 2] = d85;
+ i60 = i8 + 8 | 0;
+ HEAPF32[i60 >> 2] = d86;
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ L561 : do {
+ if (d81 * d81 + d85 * d85 + d86 * d86 > 9999999747378752.0e-20) {
+ i58 = i17 | 0;
+ i2 = i17 + 4 | 0;
+ i13 = i17 + 8 | 0;
+ i14 = i17 + 12 | 0;
+ i1 = i16 | 0;
+ i45 = i16 + 4 | 0;
+ i43 = i16 + 8 | 0;
+ i41 = i19 | 0;
+ i39 = i19 + 4 | 0;
+ i10 = i19 + 8 | 0;
+ i11 = i19 + 12 | 0;
+ i77 = i18 | 0;
+ i78 = i18 + 4 | 0;
+ i88 = i18 + 8 | 0;
+ i89 = i15 | 0;
+ i90 = i15 + 4 | 0;
+ i91 = i15 + 8 | 0;
+ i92 = i15 + 12 | 0;
+ d87 = d30;
+ d84 = d28;
+ d83 = d25;
+ d82 = d38;
+ d79 = d36;
+ d80 = d33;
+ d93 = 0.0;
+ d94 = 0.0;
+ d95 = 0.0;
+ i96 = 32;
+ d97 = 0.0;
+ d98 = d81;
+ d99 = d85;
+ d100 = d86;
+ while (1) {
+ i101 = i96 - 1 | 0;
+ if ((i96 | 0) == 0) {
+ d102 = d93;
+ d103 = d94;
+ d104 = d95;
+ d105 = d97;
+ break L561;
+ }
+ i106 = HEAP32[i4 >> 2] | 0;
+ i107 = HEAP32[(HEAP32[i106 >> 2] | 0) + 60 >> 2] | 0;
+ d108 = -0.0 - d98;
+ d109 = -0.0 - d99;
+ d110 = -0.0 - d100;
+ HEAPF32[i58 >> 2] = d40 * d108 + d46 * d109 + d52 * d110;
+ HEAPF32[i2 >> 2] = d42 * d108 + d48 * d109 + d54 * d110;
+ HEAPF32[i13 >> 2] = d44 * d108 + d50 * d109 + d56 * d110;
+ HEAPF32[i14 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i107 & 127](i16, i106, i17);
+ d110 = +HEAPF32[i1 >> 2];
+ d109 = +HEAPF32[i45 >> 2];
+ d108 = +HEAPF32[i43 >> 2];
+ d111 = d83 + (d40 * d110 + d42 * d109 + d44 * d108);
+ d112 = d84 + (d46 * d110 + d48 * d109 + d50 * d108);
+ d113 = d87 + (d52 * d110 + d54 * d109 + d56 * d108);
+ HEAPF32[i55 >> 2] = d111;
+ HEAPF32[i53 >> 2] = d112;
+ HEAPF32[i51 >> 2] = d113;
+ HEAPF32[i49 >> 2] = 0.0;
+ i106 = HEAP32[i47 >> 2] | 0;
+ i107 = HEAP32[(HEAP32[i106 >> 2] | 0) + 60 >> 2] | 0;
+ HEAPF32[i41 >> 2] = d57 * d98 + d63 * d99 + d69 * d100;
+ HEAPF32[i39 >> 2] = d59 * d98 + d65 * d99 + d71 * d100;
+ HEAPF32[i10 >> 2] = d61 * d98 + d67 * d99 + d73 * d100;
+ HEAPF32[i11 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i107 & 127](i18, i106, i19);
+ d108 = +HEAPF32[i77 >> 2];
+ d109 = +HEAPF32[i78 >> 2];
+ d110 = +HEAPF32[i88 >> 2];
+ d114 = d80 + (d57 * d108 + d59 * d109 + d61 * d110);
+ d115 = d79 + (d63 * d108 + d65 * d109 + d67 * d110);
+ d116 = d82 + (d69 * d108 + d71 * d109 + d73 * d110);
+ HEAPF32[i72 >> 2] = d114;
+ HEAPF32[i70 >> 2] = d115;
+ HEAPF32[i68 >> 2] = d116;
+ HEAPF32[i66 >> 2] = 0.0;
+ d110 = d111 - d114;
+ d114 = d112 - d115;
+ d115 = d113 - d116;
+ HEAPF32[i89 >> 2] = d110;
+ HEAPF32[i90 >> 2] = d114;
+ HEAPF32[i91 >> 2] = d115;
+ HEAPF32[i92 >> 2] = 0.0;
+ d116 = d100 * d115 + (d98 * d110 + d99 * d114);
+ if (d97 > 1.0) {
+ i117 = 0;
+ i118 = 511;
+ break;
+ }
+ if (d116 > 0.0) {
+ d113 = d74 * d98 + d75 * d99 + d76 * d100;
+ if (d113 >= -1.4210854715202004e-14) {
+ i117 = 0;
+ i118 = 513;
+ break;
+ }
+ d112 = d97 - d116 / d113;
+ d113 = 1.0 - d112;
+ d116 = +HEAPF32[i24 >> 2] * d113 + d112 * +HEAPF32[i23 >> 2];
+ d111 = d113 * +HEAPF32[i27 >> 2] + d112 * +HEAPF32[i26 >> 2];
+ d109 = d113 * +HEAPF32[i3 >> 2] + d112 * +HEAPF32[i29 >> 2];
+ d108 = d113 * +HEAPF32[i32 >> 2] + d112 * +HEAPF32[i31 >> 2];
+ d119 = d113 * +HEAPF32[i35 >> 2] + d112 * +HEAPF32[i34 >> 2];
+ d120 = d113 * +HEAPF32[i5 >> 2] + d112 * +HEAPF32[i37 >> 2];
+ HEAPF32[i89 >> 2] = d110;
+ HEAPF32[i90 >> 2] = d114;
+ HEAPF32[i91 >> 2] = d115;
+ HEAPF32[i92 >> 2] = 0.0;
+ d121 = d112;
+ d122 = d98;
+ d123 = d99;
+ d124 = d100;
+ d125 = d108;
+ d126 = d119;
+ d127 = d120;
+ d128 = d116;
+ d129 = d111;
+ d130 = d109;
+ } else {
+ d121 = d97;
+ d122 = d95;
+ d123 = d94;
+ d124 = d93;
+ d125 = d80;
+ d126 = d79;
+ d127 = d82;
+ d128 = d83;
+ d129 = d84;
+ d130 = d87;
+ }
+ if (!(__ZN22btVoronoiSimplexSolver9inSimplexERK9btVector3(HEAP32[i22 >> 2] | 0, i15) | 0)) {
+ __ZN22btVoronoiSimplexSolver9addVertexERK9btVector3S2_S2_(HEAP32[i22 >> 2] | 0, i15, i9, i12);
+ }
+ if (!(__ZN22btVoronoiSimplexSolver7closestER9btVector3(HEAP32[i22 >> 2] | 0, i8) | 0)) {
+ d102 = d124;
+ d103 = d123;
+ d104 = d122;
+ d105 = d121;
+ break L561;
+ }
+ d109 = +HEAPF32[i64 >> 2];
+ d111 = +HEAPF32[i62 >> 2];
+ d116 = +HEAPF32[i60 >> 2];
+ if (d109 * d109 + d111 * d111 + d116 * d116 > 9999999747378752.0e-20) {
+ d87 = d130;
+ d84 = d129;
+ d83 = d128;
+ d82 = d127;
+ d79 = d126;
+ d80 = d125;
+ d93 = d124;
+ d94 = d123;
+ d95 = d122;
+ i96 = i101;
+ d97 = d121;
+ d98 = d109;
+ d99 = d111;
+ d100 = d116;
+ } else {
+ d102 = d124;
+ d103 = d123;
+ d104 = d122;
+ d105 = d121;
+ break L561;
+ }
+ }
+ if ((i118 | 0) == 511) {
+ STACKTOP = i7;
+ return i117 | 0;
+ } else if ((i118 | 0) == 513) {
+ STACKTOP = i7;
+ return i117 | 0;
+ }
+ } else {
+ d102 = 0.0;
+ d103 = 0.0;
+ d104 = 0.0;
+ d105 = 0.0;
+ }
+ } while (0);
+ HEAPF32[i6 + 164 >> 2] = d105;
+ d105 = d102 * d102 + (d104 * d104 + d103 * d103);
+ if (d105 < 1.4210854715202004e-14) {
+ _memset(i6 + 132 | 0, 0, 16);
+ d131 = 0.0;
+ d132 = 0.0;
+ d133 = 0.0;
+ } else {
+ d121 = 1.0 / +Math_sqrt(+d105);
+ d105 = d104 * d121;
+ d104 = d103 * d121;
+ d103 = d102 * d121;
+ HEAPF32[i6 + 132 >> 2] = d105;
+ HEAPF32[i6 + 136 >> 2] = d104;
+ HEAPF32[i6 + 140 >> 2] = d103;
+ HEAPF32[i6 + 144 >> 2] = 0.0;
+ d131 = d105;
+ d132 = d104;
+ d133 = d103;
+ }
+ if (d76 * d133 + (d75 * d132 + d74 * d131) >= -0.0 - +HEAPF32[i6 + 172 >> 2]) {
+ i117 = 0;
+ STACKTOP = i7;
+ return i117 | 0;
+ }
+ __ZN22btVoronoiSimplexSolver14compute_pointsER9btVector3S1_(HEAP32[i22 >> 2] | 0, i20, i21);
+ i20 = i6 + 148 | 0;
+ i6 = i21;
+ HEAP32[i20 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i20 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i20 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i20 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i117 = 1;
+ STACKTOP = i7;
+ return i117 | 0;
+}
+function __ZN12gjkepa2_impl3GJK8EvaluateERKNS_13MinkowskiDiffERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, i22 = 0, i23 = 0, d24 = 0.0, i25 = 0, d26 = 0.0, i27 = 0, d28 = 0.0, i29 = 0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, d44 = 0.0, d45 = 0.0, d46 = 0.0, i47 = 0, d48 = 0.0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, d54 = 0.0, d55 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 120 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 64 | 0;
+ i7 = i4 + 80 | 0;
+ i8 = i4 + 96 | 0;
+ i9 = i4 + 112 | 0;
+ HEAP32[i1 + 348 >> 2] = i1 + 220;
+ HEAP32[i1 + 352 >> 2] = i1 + 252;
+ HEAP32[i1 + 356 >> 2] = i1 + 284;
+ i10 = i1 + 316 | 0;
+ HEAP32[i1 + 360 >> 2] = i10;
+ i11 = i1 + 364 | 0;
+ HEAP32[i11 >> 2] = 4;
+ i12 = i1 + 368 | 0;
+ HEAP32[i12 >> 2] = 0;
+ i13 = i1 + 376 | 0;
+ HEAP32[i13 >> 2] = 0;
+ i14 = i2;
+ i15 = i1;
+ i16 = HEAP32[i14 + 4 >> 2] | 0;
+ HEAP32[i15 >> 2] = HEAP32[i14 >> 2];
+ HEAP32[i15 + 4 >> 2] = i16;
+ i16 = i1 + 8 | 0;
+ i15 = i2 + 8 | 0;
+ HEAP32[i16 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i16 + 4 >> 2] = HEAP32[i15 + 4 >> 2];
+ HEAP32[i16 + 8 >> 2] = HEAP32[i15 + 8 >> 2];
+ HEAP32[i16 + 12 >> 2] = HEAP32[i15 + 12 >> 2];
+ i15 = i1 + 24 | 0;
+ i16 = i2 + 24 | 0;
+ HEAP32[i15 >> 2] = HEAP32[i16 >> 2];
+ HEAP32[i15 + 4 >> 2] = HEAP32[i16 + 4 >> 2];
+ HEAP32[i15 + 8 >> 2] = HEAP32[i16 + 8 >> 2];
+ HEAP32[i15 + 12 >> 2] = HEAP32[i16 + 12 >> 2];
+ i16 = i1 + 40 | 0;
+ i15 = i2 + 40 | 0;
+ HEAP32[i16 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i16 + 4 >> 2] = HEAP32[i15 + 4 >> 2];
+ HEAP32[i16 + 8 >> 2] = HEAP32[i15 + 8 >> 2];
+ HEAP32[i16 + 12 >> 2] = HEAP32[i15 + 12 >> 2];
+ i15 = i1 + 56 | 0;
+ i16 = i2 + 56 | 0;
+ HEAP32[i15 >> 2] = HEAP32[i16 >> 2];
+ HEAP32[i15 + 4 >> 2] = HEAP32[i16 + 4 >> 2];
+ HEAP32[i15 + 8 >> 2] = HEAP32[i16 + 8 >> 2];
+ HEAP32[i15 + 12 >> 2] = HEAP32[i16 + 12 >> 2];
+ i16 = i1 + 72 | 0;
+ i15 = i2 + 72 | 0;
+ HEAP32[i16 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i16 + 4 >> 2] = HEAP32[i15 + 4 >> 2];
+ HEAP32[i16 + 8 >> 2] = HEAP32[i15 + 8 >> 2];
+ HEAP32[i16 + 12 >> 2] = HEAP32[i15 + 12 >> 2];
+ i15 = i1 + 88 | 0;
+ i16 = i2 + 88 | 0;
+ HEAP32[i15 >> 2] = HEAP32[i16 >> 2];
+ HEAP32[i15 + 4 >> 2] = HEAP32[i16 + 4 >> 2];
+ HEAP32[i15 + 8 >> 2] = HEAP32[i16 + 8 >> 2];
+ HEAP32[i15 + 12 >> 2] = HEAP32[i16 + 12 >> 2];
+ i16 = i1 + 104 | 0;
+ i15 = i2 + 104 | 0;
+ HEAP32[i16 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i16 + 4 >> 2] = HEAP32[i15 + 4 >> 2];
+ HEAP32[i16 + 8 >> 2] = HEAP32[i15 + 8 >> 2];
+ HEAP32[i16 + 12 >> 2] = HEAP32[i15 + 12 >> 2];
+ i15 = i2 + 120 | 0;
+ i2 = HEAP32[i15 + 4 >> 2] | 0;
+ i16 = i1 + 120 | 0;
+ HEAP32[i16 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i16 + 4 >> 2] = i2;
+ i2 = i1 + 144 | 0;
+ HEAPF32[i2 >> 2] = 0.0;
+ i16 = i1 + 180 | 0;
+ HEAP32[i16 >> 2] = 0;
+ i15 = i1 + 128 | 0;
+ i14 = i15;
+ i17 = i3;
+ HEAP32[i14 >> 2] = HEAP32[i17 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i17 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i17 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i17 + 12 >> 2];
+ i17 = i15 | 0;
+ d18 = +HEAPF32[i17 >> 2];
+ i15 = i1 + 132 | 0;
+ d19 = +HEAPF32[i15 >> 2];
+ i3 = i1 + 136 | 0;
+ d20 = +HEAPF32[i3 >> 2];
+ d21 = d18 * d18 + d19 * d19 + d20 * d20;
+ if (d21 > 0.0) {
+ HEAPF32[i6 >> 2] = -0.0 - d18;
+ HEAPF32[i6 + 4 >> 2] = -0.0 - d19;
+ HEAPF32[i6 + 8 >> 2] = -0.0 - d20;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ } else {
+ HEAPF32[i6 >> 2] = 1.0;
+ HEAPF32[i6 + 4 >> 2] = 0.0;
+ HEAPF32[i6 + 8 >> 2] = 0.0;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ }
+ i22 = i1 + 164 | 0;
+ HEAPF32[i22 >> 2] = 0.0;
+ HEAP32[i11 >> 2] = 3;
+ i23 = i1 + 148 | 0;
+ HEAP32[i23 >> 2] = i10;
+ HEAP32[i16 >> 2] = 1;
+ __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i1, i6, i10);
+ HEAPF32[i22 >> 2] = 1.0;
+ i22 = (HEAP32[i23 >> 2] | 0) + 16 | 0;
+ HEAP32[i14 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i22 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i22 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i22 + 12 >> 2];
+ i14 = i5 + 48 | 0;
+ HEAP32[i14 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i22 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i22 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i22 + 12 >> 2];
+ i14 = i5 + 32 | 0;
+ HEAP32[i14 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i22 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i22 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i22 + 12 >> 2];
+ i14 = i5 + 16 | 0;
+ HEAP32[i14 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i22 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i22 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i22 + 12 >> 2];
+ i14 = i5;
+ HEAP32[i14 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i22 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i22 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i22 + 12 >> 2];
+ i22 = i7 | 0;
+ i14 = i7 + 4 | 0;
+ i23 = i7 + 8 | 0;
+ i10 = i7 + 12 | 0;
+ i6 = i8 | 0;
+ d20 = +HEAPF32[i17 >> 2];
+ d19 = +HEAPF32[i15 >> 2];
+ d18 = +HEAPF32[i3 >> 2];
+ d24 = +Math_sqrt(+(d20 * d20 + d19 * d19 + d18 * d18));
+ L24 : do {
+ if (d24 < 9999999747378752.0e-20) {
+ i25 = 21;
+ } else {
+ i16 = i1 + 128 | 0;
+ d26 = 0.0;
+ i27 = 1;
+ d28 = d21;
+ i29 = 1;
+ d30 = d20;
+ d31 = d19;
+ d32 = d18;
+ d33 = d24;
+ L26 : while (1) {
+ i34 = HEAP32[i12 >> 2] | 0;
+ i35 = 1 - i34 | 0;
+ i36 = i1 + 148 + (i34 * 36 | 0) | 0;
+ HEAPF32[i22 >> 2] = -0.0 - d30;
+ HEAPF32[i14 >> 2] = -0.0 - d31;
+ HEAPF32[i23 >> 2] = -0.0 - d32;
+ HEAPF32[i10 >> 2] = 0.0;
+ i37 = i1 + 148 + (i34 * 36 | 0) + 32 | 0;
+ HEAPF32[i1 + 148 + (i34 * 36 | 0) + 16 + (HEAP32[i37 >> 2] << 2) >> 2] = 0.0;
+ i38 = (HEAP32[i11 >> 2] | 0) - 1 | 0;
+ HEAP32[i11 >> 2] = i38;
+ HEAP32[i1 + 148 + (i34 * 36 | 0) + (HEAP32[i37 >> 2] << 2) >> 2] = HEAP32[i1 + 348 + (i38 << 2) >> 2];
+ i38 = HEAP32[i37 >> 2] | 0;
+ HEAP32[i37 >> 2] = i38 + 1;
+ __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i1, i7, HEAP32[i1 + 148 + (i34 * 36 | 0) + (i38 << 2) >> 2] | 0);
+ i38 = HEAP32[i37 >> 2] | 0;
+ i39 = HEAP32[i1 + 148 + (i34 * 36 | 0) + (i38 - 1 << 2) >> 2] | 0;
+ i40 = i39 + 16 | 0;
+ i41 = i40 | 0;
+ i42 = i39 + 20 | 0;
+ i43 = i39 + 24 | 0;
+ i39 = 0;
+ while (1) {
+ if (i39 >>> 0 >= 4) {
+ break;
+ }
+ d44 = +HEAPF32[i41 >> 2] - +HEAPF32[i5 + (i39 << 4) >> 2];
+ d45 = +HEAPF32[i42 >> 2] - +HEAPF32[i5 + (i39 << 4) + 4 >> 2];
+ d46 = +HEAPF32[i43 >> 2] - +HEAPF32[i5 + (i39 << 4) + 8 >> 2];
+ if (d44 * d44 + d45 * d45 + d46 * d46 < 9999999747378752.0e-20) {
+ i25 = 25;
+ break L26;
+ } else {
+ i39 = i39 + 1 | 0;
+ }
+ }
+ i39 = i5 + (i27 << 4) | 0;
+ i47 = i40;
+ HEAP32[i39 >> 2] = HEAP32[i47 >> 2];
+ HEAP32[i39 + 4 >> 2] = HEAP32[i47 + 4 >> 2];
+ HEAP32[i39 + 8 >> 2] = HEAP32[i47 + 8 >> 2];
+ HEAP32[i39 + 12 >> 2] = HEAP32[i47 + 12 >> 2];
+ d46 = (+HEAPF32[i17 >> 2] * +HEAPF32[i41 >> 2] + +HEAPF32[i15 >> 2] * +HEAPF32[i42 >> 2] + +HEAPF32[i3 >> 2] * +HEAPF32[i43 >> 2]) / d33;
+ d45 = d46 > d26 ? d46 : d26;
+ if (d33 - d45 - d33 * 9999999747378752.0e-20 <= 0.0) {
+ i25 = 27;
+ break;
+ }
+ HEAP32[i9 >> 2] = 0;
+ if ((i38 | 0) == 2) {
+ d48 = +__ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_PfRj((HEAP32[i36 >> 2] | 0) + 16 | 0, (HEAP32[i1 + 148 + (i34 * 36 | 0) + 4 >> 2] | 0) + 16 | 0, i6, i9);
+ } else if ((i38 | 0) == 3) {
+ d48 = +__ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_PfRj((HEAP32[i36 >> 2] | 0) + 16 | 0, (HEAP32[i1 + 148 + (i34 * 36 | 0) + 4 >> 2] | 0) + 16 | 0, (HEAP32[i1 + 148 + (i34 * 36 | 0) + 8 >> 2] | 0) + 16 | 0, i6, i9);
+ } else if ((i38 | 0) == 4) {
+ d48 = +__ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_S3_PfRj((HEAP32[i36 >> 2] | 0) + 16 | 0, (HEAP32[i1 + 148 + (i34 * 36 | 0) + 4 >> 2] | 0) + 16 | 0, (HEAP32[i1 + 148 + (i34 * 36 | 0) + 8 >> 2] | 0) + 16 | 0, (HEAP32[i1 + 148 + (i34 * 36 | 0) + 12 >> 2] | 0) + 16 | 0, i6, i9);
+ } else {
+ d48 = d28;
+ }
+ if (d48 < 0.0) {
+ i25 = 40;
+ break;
+ }
+ i47 = i1 + 148 + (i35 * 36 | 0) + 32 | 0;
+ HEAP32[i47 >> 2] = 0;
+ _memset(i16 | 0, 0, 16);
+ HEAP32[i12 >> 2] = i35;
+ i39 = HEAP32[i37 >> 2] | 0;
+ i49 = HEAP32[i9 >> 2] | 0;
+ if ((i39 | 0) != 0) {
+ i50 = 0;
+ do {
+ i51 = i1 + 148 + (i34 * 36 | 0) + (i50 << 2) | 0;
+ i52 = HEAP32[i51 >> 2] | 0;
+ if ((1 << i50 & i49 | 0) == 0) {
+ i53 = HEAP32[i11 >> 2] | 0;
+ HEAP32[i11 >> 2] = i53 + 1;
+ HEAP32[i1 + 348 + (i53 << 2) >> 2] = i52;
+ } else {
+ HEAP32[i1 + 148 + (i35 * 36 | 0) + (HEAP32[i47 >> 2] << 2) >> 2] = i52;
+ d46 = +HEAPF32[i8 + (i50 << 2) >> 2];
+ i52 = HEAP32[i47 >> 2] | 0;
+ HEAP32[i47 >> 2] = i52 + 1;
+ HEAPF32[i1 + 148 + (i35 * 36 | 0) + 16 + (i52 << 2) >> 2] = d46;
+ i52 = HEAP32[i51 >> 2] | 0;
+ d44 = d46 * +HEAPF32[i52 + 20 >> 2];
+ d54 = d46 * +HEAPF32[i52 + 24 >> 2];
+ HEAPF32[i17 >> 2] = d46 * +HEAPF32[i52 + 16 >> 2] + +HEAPF32[i17 >> 2];
+ HEAPF32[i15 >> 2] = d44 + +HEAPF32[i15 >> 2];
+ HEAPF32[i3 >> 2] = d54 + +HEAPF32[i3 >> 2];
+ }
+ i50 = i50 + 1 | 0;
+ } while (i50 >>> 0 < i39 >>> 0);
+ }
+ if ((i49 | 0) == 15) {
+ HEAP32[i13 >> 2] = 1;
+ }
+ if (i29 >>> 0 >= 128) {
+ i25 = 42;
+ break;
+ }
+ if ((HEAP32[i13 >> 2] | 0) != 0) {
+ break L24;
+ }
+ d54 = +HEAPF32[i17 >> 2];
+ d44 = +HEAPF32[i15 >> 2];
+ d46 = +HEAPF32[i3 >> 2];
+ d55 = +Math_sqrt(+(d54 * d54 + d44 * d44 + d46 * d46));
+ if (d55 < 9999999747378752.0e-20) {
+ i25 = 21;
+ break L24;
+ } else {
+ d26 = d45;
+ i27 = i27 + 1 & 3;
+ d28 = d48;
+ i29 = i29 + 1 | 0;
+ d30 = d54;
+ d31 = d44;
+ d32 = d46;
+ d33 = d55;
+ }
+ }
+ if ((i25 | 0) == 25) {
+ i29 = HEAP32[i12 >> 2] | 0;
+ i27 = i1 + 148 + (i29 * 36 | 0) + 32 | 0;
+ i16 = (HEAP32[i27 >> 2] | 0) - 1 | 0;
+ HEAP32[i27 >> 2] = i16;
+ i27 = HEAP32[i1 + 148 + (i29 * 36 | 0) + (i16 << 2) >> 2] | 0;
+ i16 = HEAP32[i11 >> 2] | 0;
+ HEAP32[i11 >> 2] = i16 + 1;
+ HEAP32[i1 + 348 + (i16 << 2) >> 2] = i27;
+ break;
+ } else if ((i25 | 0) == 27) {
+ i27 = HEAP32[i12 >> 2] | 0;
+ i16 = i1 + 148 + (i27 * 36 | 0) + 32 | 0;
+ i29 = (HEAP32[i16 >> 2] | 0) - 1 | 0;
+ HEAP32[i16 >> 2] = i29;
+ i16 = HEAP32[i1 + 148 + (i27 * 36 | 0) + (i29 << 2) >> 2] | 0;
+ i29 = HEAP32[i11 >> 2] | 0;
+ HEAP32[i11 >> 2] = i29 + 1;
+ HEAP32[i1 + 348 + (i29 << 2) >> 2] = i16;
+ break;
+ } else if ((i25 | 0) == 40) {
+ i16 = HEAP32[i12 >> 2] | 0;
+ i29 = i1 + 148 + (i16 * 36 | 0) + 32 | 0;
+ i27 = (HEAP32[i29 >> 2] | 0) - 1 | 0;
+ HEAP32[i29 >> 2] = i27;
+ i29 = HEAP32[i1 + 148 + (i16 * 36 | 0) + (i27 << 2) >> 2] | 0;
+ i27 = HEAP32[i11 >> 2] | 0;
+ HEAP32[i11 >> 2] = i27 + 1;
+ HEAP32[i1 + 348 + (i27 << 2) >> 2] = i29;
+ break;
+ } else if ((i25 | 0) == 42) {
+ HEAP32[i13 >> 2] = 2;
+ break;
+ }
+ }
+ } while (0);
+ if ((i25 | 0) == 21) {
+ HEAP32[i13 >> 2] = 1;
+ }
+ HEAP32[i1 + 372 >> 2] = i1 + 148 + ((HEAP32[i12 >> 2] | 0) * 36 | 0);
+ i12 = HEAP32[i13 >> 2] | 0;
+ if ((i12 | 0) == 0) {
+ d48 = +HEAPF32[i17 >> 2];
+ d24 = +HEAPF32[i15 >> 2];
+ d18 = +HEAPF32[i3 >> 2];
+ HEAPF32[i2 >> 2] = +Math_sqrt(+(d48 * d48 + d24 * d24 + d18 * d18));
+ STACKTOP = i4;
+ return i12 | 0;
+ } else if ((i12 | 0) == 1) {
+ HEAPF32[i2 >> 2] = 0.0;
+ STACKTOP = i4;
+ return i12 | 0;
+ } else {
+ STACKTOP = i4;
+ return i12 | 0;
+ }
+ return 0;
+}
+function __ZN35btSequentialImpulseConstraintSolver22setupContactConstraintER18btSolverConstraintP17btCollisionObjectS3_R15btManifoldPointRK19btContactSolverInfoR9btVector3RfSB_SA_SA_(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ var i12 = 0, i13 = 0, d14 = 0.0, d15 = 0.0, i16 = 0, i17 = 0, i18 = 0, d19 = 0.0, i20 = 0, d21 = 0.0, d22 = 0.0, i23 = 0, d24 = 0.0, d25 = 0.0, d26 = 0.0, i27 = 0, d28 = 0.0, d29 = 0.0, d30 = 0.0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, d35 = 0.0, d36 = 0.0, d37 = 0.0, i38 = 0, i39 = 0, i40 = 0, d41 = 0.0, d42 = 0.0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, d49 = 0.0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, d58 = 0.0, d59 = 0.0, d60 = 0.0, d61 = 0.0, d62 = 0.0, d63 = 0.0, d64 = 0.0, d65 = 0.0, d66 = 0.0, d67 = 0.0, i68 = 0, i69 = 0, i70 = 0;
+ if ((HEAP32[i3 + 232 >> 2] & 2 | 0) == 0) {
+ i12 = 0;
+ } else {
+ i12 = i3;
+ }
+ if ((HEAP32[i4 + 232 >> 2] & 2 | 0) == 0) {
+ i13 = 0;
+ } else {
+ i13 = i4;
+ }
+ d14 = +HEAPF32[i5 + 52 >> 2] - +HEAPF32[i3 + 56 >> 2];
+ d15 = +HEAPF32[i5 + 56 >> 2] - +HEAPF32[i3 + 60 >> 2];
+ i1 = i10 | 0;
+ HEAPF32[i1 >> 2] = +HEAPF32[i5 + 48 >> 2] - +HEAPF32[i3 + 52 >> 2];
+ i3 = i10 + 4 | 0;
+ HEAPF32[i3 >> 2] = d14;
+ i16 = i10 + 8 | 0;
+ HEAPF32[i16 >> 2] = d15;
+ HEAPF32[i10 + 12 >> 2] = 0.0;
+ d15 = +HEAPF32[i5 + 36 >> 2] - +HEAPF32[i4 + 56 >> 2];
+ d14 = +HEAPF32[i5 + 40 >> 2] - +HEAPF32[i4 + 60 >> 2];
+ i10 = i11 | 0;
+ HEAPF32[i10 >> 2] = +HEAPF32[i5 + 32 >> 2] - +HEAPF32[i4 + 52 >> 2];
+ i4 = i11 + 4 | 0;
+ HEAPF32[i4 >> 2] = d15;
+ i17 = i11 + 8 | 0;
+ HEAPF32[i17 >> 2] = d14;
+ HEAPF32[i11 + 12 >> 2] = 0.0;
+ HEAPF32[i9 >> 2] = 1.0;
+ i11 = i5 + 64 | 0;
+ d14 = +HEAPF32[i3 >> 2];
+ i18 = i5 + 72 | 0;
+ d15 = +HEAPF32[i18 >> 2];
+ d19 = +HEAPF32[i16 >> 2];
+ i20 = i5 + 68 | 0;
+ d21 = +HEAPF32[i20 >> 2];
+ d22 = d14 * d15 - d19 * d21;
+ i23 = i11 | 0;
+ d24 = +HEAPF32[i23 >> 2];
+ d25 = +HEAPF32[i1 >> 2];
+ d26 = d19 * d24 - d15 * d25;
+ d15 = d21 * d25 - d14 * d24;
+ i27 = (i12 | 0) != 0;
+ if (i27) {
+ d28 = (d22 * +HEAPF32[i12 + 256 >> 2] + d26 * +HEAPF32[i12 + 260 >> 2] + d15 * +HEAPF32[i12 + 264 >> 2]) * +HEAPF32[i12 + 536 >> 2];
+ d29 = (d22 * +HEAPF32[i12 + 272 >> 2] + d26 * +HEAPF32[i12 + 276 >> 2] + d15 * +HEAPF32[i12 + 280 >> 2]) * +HEAPF32[i12 + 540 >> 2];
+ d30 = (d22 * +HEAPF32[i12 + 288 >> 2] + d26 * +HEAPF32[i12 + 292 >> 2] + d15 * +HEAPF32[i12 + 296 >> 2]) * +HEAPF32[i12 + 544 >> 2];
+ } else {
+ d28 = 0.0;
+ d29 = 0.0;
+ d30 = 0.0;
+ }
+ i31 = i2 + 48 | 0;
+ HEAPF32[i31 >> 2] = d28;
+ i32 = i2 + 52 | 0;
+ HEAPF32[i32 >> 2] = d29;
+ i33 = i2 + 56 | 0;
+ HEAPF32[i33 >> 2] = d30;
+ HEAPF32[i2 + 60 >> 2] = 0.0;
+ d15 = +HEAPF32[i4 >> 2];
+ d26 = +HEAPF32[i18 >> 2];
+ d22 = +HEAPF32[i17 >> 2];
+ d24 = +HEAPF32[i20 >> 2];
+ d14 = +HEAPF32[i23 >> 2];
+ d25 = +HEAPF32[i10 >> 2];
+ i34 = (i13 | 0) != 0;
+ if (i34) {
+ d21 = -0.0 - (d15 * d26 - d22 * d24);
+ d19 = -0.0 - (d22 * d14 - d26 * d25);
+ d26 = -0.0 - (d24 * d25 - d15 * d14);
+ d35 = (+HEAPF32[i13 + 256 >> 2] * d21 + +HEAPF32[i13 + 260 >> 2] * d19 + +HEAPF32[i13 + 264 >> 2] * d26) * +HEAPF32[i13 + 536 >> 2];
+ d36 = (+HEAPF32[i13 + 272 >> 2] * d21 + +HEAPF32[i13 + 276 >> 2] * d19 + +HEAPF32[i13 + 280 >> 2] * d26) * +HEAPF32[i13 + 540 >> 2];
+ d37 = (+HEAPF32[i13 + 288 >> 2] * d21 + +HEAPF32[i13 + 292 >> 2] * d19 + +HEAPF32[i13 + 296 >> 2] * d26) * +HEAPF32[i13 + 544 >> 2];
+ } else {
+ d35 = 0.0;
+ d36 = 0.0;
+ d37 = 0.0;
+ }
+ i38 = i2 + 64 | 0;
+ HEAPF32[i38 >> 2] = d35;
+ i39 = i2 + 68 | 0;
+ HEAPF32[i39 >> 2] = d36;
+ i40 = i2 + 72 | 0;
+ HEAPF32[i40 >> 2] = d37;
+ HEAPF32[i2 + 76 >> 2] = 0.0;
+ if (i27) {
+ d26 = +HEAPF32[i16 >> 2];
+ d19 = +HEAPF32[i3 >> 2];
+ d21 = +HEAPF32[i1 >> 2];
+ d41 = +HEAPF32[i12 + 336 >> 2] + ((d29 * d26 - d30 * d19) * +HEAPF32[i23 >> 2] + (d30 * d21 - d28 * d26) * +HEAPF32[i20 >> 2] + (d28 * d19 - d29 * d21) * +HEAPF32[i18 >> 2]);
+ } else {
+ d41 = 0.0;
+ }
+ if (i34) {
+ d21 = -0.0 - d35;
+ d35 = -0.0 - d36;
+ d36 = -0.0 - d37;
+ d37 = +HEAPF32[i17 >> 2];
+ d29 = +HEAPF32[i4 >> 2];
+ d19 = +HEAPF32[i10 >> 2];
+ d42 = +HEAPF32[i13 + 336 >> 2] + ((d37 * d35 - d29 * d36) * +HEAPF32[i23 >> 2] + (d19 * d36 - d37 * d21) * +HEAPF32[i20 >> 2] + (d29 * d21 - d19 * d35) * +HEAPF32[i18 >> 2]);
+ } else {
+ d42 = 0.0;
+ }
+ i43 = i2 + 92 | 0;
+ HEAPF32[i43 >> 2] = +HEAPF32[i9 >> 2] / (d41 + d42);
+ i9 = i2 + 16 | 0;
+ i44 = i9;
+ i45 = i11;
+ HEAP32[i44 >> 2] = HEAP32[i45 >> 2];
+ HEAP32[i44 + 4 >> 2] = HEAP32[i45 + 4 >> 2];
+ HEAP32[i44 + 8 >> 2] = HEAP32[i45 + 8 >> 2];
+ HEAP32[i44 + 12 >> 2] = HEAP32[i45 + 12 >> 2];
+ d42 = +HEAPF32[i3 >> 2];
+ d41 = +HEAPF32[i18 >> 2];
+ d35 = +HEAPF32[i16 >> 2];
+ d19 = +HEAPF32[i20 >> 2];
+ d21 = +HEAPF32[i23 >> 2];
+ d29 = +HEAPF32[i1 >> 2];
+ i45 = i2 | 0;
+ HEAPF32[i45 >> 2] = d42 * d41 - d35 * d19;
+ i44 = i2 + 4 | 0;
+ HEAPF32[i44 >> 2] = d35 * d21 - d41 * d29;
+ i11 = i2 + 8 | 0;
+ HEAPF32[i11 >> 2] = d19 * d29 - d42 * d21;
+ HEAPF32[i2 + 12 >> 2] = 0.0;
+ d21 = -0.0 - +HEAPF32[i23 >> 2];
+ d42 = -0.0 - +HEAPF32[i20 >> 2];
+ d29 = -0.0 - +HEAPF32[i18 >> 2];
+ d19 = +HEAPF32[i4 >> 2];
+ d41 = +HEAPF32[i17 >> 2];
+ d35 = +HEAPF32[i10 >> 2];
+ i46 = i2 + 32 | 0;
+ HEAPF32[i46 >> 2] = d19 * d29 - d41 * d42;
+ i47 = i2 + 36 | 0;
+ HEAPF32[i47 >> 2] = d41 * d21 - d35 * d29;
+ i48 = i2 + 40 | 0;
+ HEAPF32[i48 >> 2] = d35 * d42 - d19 * d21;
+ HEAPF32[i2 + 44 >> 2] = 0.0;
+ if (i27) {
+ d21 = +HEAPF32[i12 + 324 >> 2];
+ d19 = +HEAPF32[i16 >> 2];
+ d42 = +HEAPF32[i12 + 328 >> 2];
+ d35 = +HEAPF32[i3 >> 2];
+ d29 = +HEAPF32[i1 >> 2];
+ d41 = +HEAPF32[i12 + 320 >> 2];
+ d49 = d21 * d19 - d42 * d35 + +HEAPF32[i12 + 304 >> 2];
+ d50 = +HEAPF32[i12 + 308 >> 2] + (d42 * d29 - d19 * d41);
+ d51 = d35 * d41 - d21 * d29 + +HEAPF32[i12 + 312 >> 2];
+ } else {
+ d49 = 0.0;
+ d50 = 0.0;
+ d51 = 0.0;
+ }
+ if (i34) {
+ d29 = +HEAPF32[i13 + 324 >> 2];
+ d21 = +HEAPF32[i17 >> 2];
+ d41 = +HEAPF32[i13 + 328 >> 2];
+ d35 = +HEAPF32[i4 >> 2];
+ d19 = +HEAPF32[i10 >> 2];
+ d42 = +HEAPF32[i13 + 320 >> 2];
+ d52 = d29 * d21 - d41 * d35 + +HEAPF32[i13 + 304 >> 2];
+ d53 = +HEAPF32[i13 + 308 >> 2] + (d41 * d19 - d21 * d42);
+ d54 = d35 * d42 - d29 * d19 + +HEAPF32[i13 + 312 >> 2];
+ } else {
+ d52 = 0.0;
+ d53 = 0.0;
+ d54 = 0.0;
+ }
+ d19 = d49 - d52;
+ d52 = d50 - d53;
+ d53 = d51 - d54;
+ HEAPF32[i7 >> 2] = d19;
+ HEAPF32[i7 + 4 >> 2] = d52;
+ HEAPF32[i7 + 8 >> 2] = d53;
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ HEAPF32[i8 >> 2] = +HEAPF32[i23 >> 2] * d19 + d52 * +HEAPF32[i20 >> 2] + d53 * +HEAPF32[i18 >> 2];
+ d53 = +HEAPF32[i5 + 80 >> 2] + +HEAPF32[i6 + 52 >> 2];
+ HEAPF32[i2 + 88 >> 2] = +HEAPF32[i5 + 84 >> 2];
+ do {
+ if ((HEAP32[i5 + 144 >> 2] | 0) > (HEAP32[i6 + 64 >> 2] | 0)) {
+ d55 = 0.0;
+ } else {
+ d52 = +HEAPF32[i5 + 88 >> 2] * (-0.0 - +HEAPF32[i8 >> 2]);
+ if (d52 > 0.0) {
+ d55 = d52;
+ break;
+ }
+ d55 = 0.0;
+ }
+ } while (0);
+ do {
+ if ((HEAP32[i6 + 60 >> 2] & 4 | 0) == 0) {
+ HEAPF32[i2 + 84 >> 2] = 0.0;
+ } else {
+ d52 = +HEAPF32[i5 + 112 >> 2] * +HEAPF32[i6 + 56 >> 2];
+ i8 = i2 + 84 | 0;
+ HEAPF32[i8 >> 2] = d52;
+ do {
+ if (i27) {
+ d19 = +HEAPF32[i12 + 336 >> 2];
+ if (d19 == 0.0) {
+ break;
+ }
+ d54 = d52 * d19 * +HEAPF32[i2 + 20 >> 2] * +HEAPF32[i12 + 344 >> 2];
+ d51 = d52 * d19 * +HEAPF32[i2 + 24 >> 2] * +HEAPF32[i12 + 348 >> 2];
+ i18 = i12 + 504 | 0;
+ HEAPF32[i18 >> 2] = +HEAPF32[i18 >> 2] + d52 * d19 * +HEAPF32[i9 >> 2] * +HEAPF32[i12 + 340 >> 2];
+ i18 = i12 + 508 | 0;
+ HEAPF32[i18 >> 2] = d54 + +HEAPF32[i18 >> 2];
+ i18 = i12 + 512 | 0;
+ HEAPF32[i18 >> 2] = d51 + +HEAPF32[i18 >> 2];
+ d51 = d52 * +HEAPF32[i12 + 540 >> 2] * +HEAPF32[i32 >> 2];
+ d54 = d52 * +HEAPF32[i12 + 544 >> 2] * +HEAPF32[i33 >> 2];
+ i18 = i12 + 520 | 0;
+ HEAPF32[i18 >> 2] = d52 * +HEAPF32[i12 + 536 >> 2] * +HEAPF32[i31 >> 2] + +HEAPF32[i18 >> 2];
+ i18 = i12 + 524 | 0;
+ HEAPF32[i18 >> 2] = d51 + +HEAPF32[i18 >> 2];
+ i18 = i12 + 528 | 0;
+ HEAPF32[i18 >> 2] = d54 + +HEAPF32[i18 >> 2];
+ }
+ } while (0);
+ if (!i34) {
+ break;
+ }
+ d52 = +HEAPF32[i13 + 336 >> 2];
+ d54 = -0.0 - +HEAPF32[i8 >> 2];
+ if (d52 == 0.0) {
+ break;
+ }
+ d51 = -0.0 - +HEAPF32[i40 >> 2];
+ d19 = -0.0 - +HEAPF32[i39 >> 2];
+ d50 = -0.0 - +HEAPF32[i38 >> 2];
+ d49 = d52 * +HEAPF32[i2 + 20 >> 2] * +HEAPF32[i13 + 344 >> 2] * d54;
+ d29 = d52 * +HEAPF32[i2 + 24 >> 2] * +HEAPF32[i13 + 348 >> 2] * d54;
+ i18 = i13 + 504 | 0;
+ HEAPF32[i18 >> 2] = +HEAPF32[i18 >> 2] + d52 * +HEAPF32[i9 >> 2] * +HEAPF32[i13 + 340 >> 2] * d54;
+ i18 = i13 + 508 | 0;
+ HEAPF32[i18 >> 2] = d49 + +HEAPF32[i18 >> 2];
+ i18 = i13 + 512 | 0;
+ HEAPF32[i18 >> 2] = d29 + +HEAPF32[i18 >> 2];
+ d29 = +HEAPF32[i13 + 540 >> 2] * d54 * d19;
+ d19 = +HEAPF32[i13 + 544 >> 2] * d54 * d51;
+ i18 = i13 + 520 | 0;
+ HEAPF32[i18 >> 2] = +HEAPF32[i13 + 536 >> 2] * d54 * d50 + +HEAPF32[i18 >> 2];
+ i18 = i13 + 524 | 0;
+ HEAPF32[i18 >> 2] = d29 + +HEAPF32[i18 >> 2];
+ i18 = i13 + 528 | 0;
+ HEAPF32[i18 >> 2] = d19 + +HEAPF32[i18 >> 2];
+ }
+ } while (0);
+ HEAPF32[i2 + 80 >> 2] = 0.0;
+ if (i27) {
+ d56 = +HEAPF32[i12 + 304 >> 2];
+ d57 = +HEAPF32[i12 + 308 >> 2];
+ d58 = +HEAPF32[i12 + 312 >> 2];
+ } else {
+ d56 = 0.0;
+ d57 = 0.0;
+ d58 = 0.0;
+ }
+ d19 = +HEAPF32[i9 >> 2];
+ d29 = +HEAPF32[i2 + 20 >> 2];
+ d50 = +HEAPF32[i2 + 24 >> 2];
+ if (i27) {
+ d59 = +HEAPF32[i12 + 320 >> 2];
+ d60 = +HEAPF32[i12 + 324 >> 2];
+ d61 = +HEAPF32[i12 + 328 >> 2];
+ } else {
+ d59 = 0.0;
+ d60 = 0.0;
+ d61 = 0.0;
+ }
+ if (i34) {
+ d62 = +HEAPF32[i13 + 320 >> 2];
+ d63 = +HEAPF32[i13 + 324 >> 2];
+ d64 = +HEAPF32[i13 + 328 >> 2];
+ d65 = d19 * +HEAPF32[i13 + 304 >> 2] + d29 * +HEAPF32[i13 + 308 >> 2] + d50 * +HEAPF32[i13 + 312 >> 2];
+ } else {
+ d62 = 0.0;
+ d63 = 0.0;
+ d64 = 0.0;
+ d65 = d19 * 0.0 + d29 * 0.0 + d50 * 0.0;
+ }
+ d54 = d55 - (d56 * d19 + d57 * d29 + d58 * d50 + (d59 * +HEAPF32[i45 >> 2] + d60 * +HEAPF32[i44 >> 2] + d61 * +HEAPF32[i11 >> 2]) + (d62 * +HEAPF32[i46 >> 2] + d63 * +HEAPF32[i47 >> 2] + d64 * +HEAPF32[i48 >> 2] - d65));
+ if (d53 > 0.0) {
+ d66 = d54 - d53 / +HEAPF32[i6 + 12 >> 2];
+ d67 = 0.0;
+ } else {
+ d66 = d54;
+ d67 = +HEAPF32[i6 + 32 >> 2] * (-0.0 - d53) / +HEAPF32[i6 + 12 >> 2];
+ }
+ d54 = +HEAPF32[i43 >> 2];
+ d65 = d67 * d54;
+ d67 = d66 * d54;
+ do {
+ if ((HEAP32[i6 + 44 >> 2] | 0) != 0) {
+ if (d53 > +HEAPF32[i6 + 48 >> 2]) {
+ break;
+ }
+ HEAPF32[i2 + 116 >> 2] = d67;
+ HEAPF32[i2 + 132 >> 2] = d65;
+ i68 = i2 + 120 | 0;
+ HEAPF32[i68 >> 2] = 0.0;
+ i69 = i2 + 124 | 0;
+ HEAPF32[i69 >> 2] = 0.0;
+ i70 = i2 + 128 | 0;
+ HEAPF32[i70 >> 2] = 1.0e10;
+ return;
+ }
+ } while (0);
+ HEAPF32[i2 + 116 >> 2] = d65 + d67;
+ HEAPF32[i2 + 132 >> 2] = 0.0;
+ i68 = i2 + 120 | 0;
+ HEAPF32[i68 >> 2] = 0.0;
+ i69 = i2 + 124 | 0;
+ HEAPF32[i69 >> 2] = 0.0;
+ i70 = i2 + 128 | 0;
+ HEAPF32[i70 >> 2] = 1.0e10;
+ return;
+}
+function __ZN20btConvexHullInternal15mergeProjectionERNS_16IntermediateHullES1_RPNS_6VertexES4_(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0;
+ i1 = i2 + 12 | 0;
+ i6 = HEAP32[i1 >> 2] | 0;
+ i7 = HEAP32[i3 + 8 >> 2] | 0;
+ L791 : do {
+ if ((HEAP32[i6 + 88 >> 2] | 0) == (HEAP32[i7 + 88 >> 2] | 0)) {
+ if ((HEAP32[i6 + 92 >> 2] | 0) != (HEAP32[i7 + 92 >> 2] | 0)) {
+ break;
+ }
+ i8 = HEAP32[i7 + 4 >> 2] | 0;
+ if ((i8 | 0) == (i7 | 0)) {
+ HEAP32[i4 >> 2] = i6;
+ i9 = HEAP32[i7 + 8 >> 2] | 0;
+ if ((i9 | 0) == 0) {
+ i10 = 0;
+ i11 = i7;
+ HEAP32[i5 >> 2] = i11;
+ return i10 | 0;
+ }
+ i10 = 0;
+ i11 = HEAP32[i9 + 12 >> 2] | 0;
+ HEAP32[i5 >> 2] = i11;
+ return i10 | 0;
+ }
+ i9 = HEAP32[i7 >> 2] | 0;
+ HEAP32[i8 >> 2] = i9;
+ HEAP32[i9 + 4 >> 2] = i8;
+ i12 = i3 | 0;
+ L801 : do {
+ if ((i7 | 0) == (HEAP32[i12 >> 2] | 0)) {
+ i13 = HEAP32[i9 + 88 >> 2] | 0;
+ i14 = HEAP32[i8 + 88 >> 2] | 0;
+ do {
+ if ((i13 | 0) >= (i14 | 0)) {
+ if ((i13 | 0) == (i14 | 0)) {
+ if ((HEAP32[i9 + 92 >> 2] | 0) < (HEAP32[i8 + 92 >> 2] | 0)) {
+ break;
+ }
+ }
+ HEAP32[i12 >> 2] = i8;
+ break L801;
+ }
+ } while (0);
+ HEAP32[i12 >> 2] = i9;
+ }
+ } while (0);
+ i12 = i3 + 4 | 0;
+ if ((i7 | 0) != (HEAP32[i12 >> 2] | 0)) {
+ break;
+ }
+ i14 = HEAP32[i9 + 88 >> 2] | 0;
+ i13 = HEAP32[i8 + 88 >> 2] | 0;
+ do {
+ if ((i14 | 0) <= (i13 | 0)) {
+ if ((i14 | 0) == (i13 | 0)) {
+ if ((HEAP32[i9 + 92 >> 2] | 0) > (HEAP32[i8 + 92 >> 2] | 0)) {
+ break;
+ }
+ }
+ HEAP32[i12 >> 2] = i8;
+ break L791;
+ }
+ } while (0);
+ HEAP32[i12 >> 2] = i9;
+ }
+ } while (0);
+ i7 = i2 + 4 | 0;
+ i6 = i3 + 4 | 0;
+ i8 = i2 | 0;
+ i2 = i3 | 0;
+ i13 = 0;
+ i14 = 1;
+ i15 = 0;
+ i16 = 0;
+ i17 = i6;
+ i18 = i7;
+ L818 : while (1) {
+ i19 = i13;
+ i20 = HEAP32[i17 >> 2] | 0;
+ i21 = HEAP32[i18 >> 2] | 0;
+ while (1) {
+ i22 = HEAP32[i21 + 88 >> 2] | 0;
+ i23 = Math_imul((HEAP32[i20 + 88 >> 2] | 0) - i22 | 0, i14) | 0;
+ L822 : do {
+ if ((i23 | 0) > 0) {
+ i24 = (i19 | 0) != 0;
+ i25 = i21;
+ i26 = i20;
+ i27 = i23;
+ i28 = HEAP32[i20 + 92 >> 2] | 0;
+ while (1) {
+ i29 = i26 + 88 | 0;
+ i30 = i25 + 88 | 0;
+ i31 = HEAP32[i25 + 92 >> 2] | 0;
+ i32 = i28 - i31 | 0;
+ i33 = HEAP32[(i24 ? i25 | 0 : i25 + 4 | 0) >> 2] | 0;
+ L864 : do {
+ if ((i33 | 0) == (i25 | 0)) {
+ i34 = i27;
+ i35 = i25;
+ i36 = i30;
+ i37 = i32;
+ } else {
+ i38 = i29 | 0;
+ i39 = i27;
+ i40 = i25;
+ i41 = i30;
+ i42 = i31;
+ i43 = i32;
+ i44 = i33;
+ while (1) {
+ i45 = HEAP32[i44 + 88 >> 2] | 0;
+ i46 = Math_imul(i45 - (HEAP32[i41 >> 2] | 0) | 0, i14) | 0;
+ i47 = HEAP32[i44 + 92 >> 2] | 0;
+ i48 = i47 - i42 | 0;
+ if ((i48 | 0) >= 1) {
+ i34 = i39;
+ i35 = i40;
+ i36 = i41;
+ i37 = i43;
+ break L864;
+ }
+ if ((i46 | 0) != 0) {
+ if ((i46 | 0) >= 0) {
+ i34 = i39;
+ i35 = i40;
+ i36 = i41;
+ i37 = i43;
+ break L864;
+ }
+ i49 = Math_imul(i48, i39) | 0;
+ if ((i49 | 0) > (Math_imul(i46, i43) | 0)) {
+ i34 = i39;
+ i35 = i40;
+ i36 = i41;
+ i37 = i43;
+ break L864;
+ }
+ }
+ i46 = Math_imul((HEAP32[i38 >> 2] | 0) - i45 | 0, i14) | 0;
+ i45 = i44 + 88 | 0;
+ i49 = i28 - i47 | 0;
+ i48 = HEAP32[(i24 ? i44 | 0 : i44 + 4 | 0) >> 2] | 0;
+ if ((i48 | 0) == (i44 | 0)) {
+ i34 = i46;
+ i35 = i44;
+ i36 = i45;
+ i37 = i49;
+ break;
+ } else {
+ i39 = i46;
+ i40 = i44;
+ i41 = i45;
+ i42 = i47;
+ i43 = i49;
+ i44 = i48;
+ }
+ }
+ }
+ } while (0);
+ i33 = HEAP32[(i24 ? i26 | 0 : i26 + 4 | 0) >> 2] | 0;
+ if ((i33 | 0) == (i26 | 0)) {
+ i50 = i35;
+ i51 = i26;
+ break L822;
+ }
+ i32 = HEAP32[i33 + 88 >> 2] | 0;
+ i31 = Math_imul(i32 - (HEAP32[i29 >> 2] | 0) | 0, i14) | 0;
+ i30 = HEAP32[i33 + 92 >> 2] | 0;
+ i44 = i30 - i28 | 0;
+ i43 = Math_imul(i32 - (HEAP32[i36 >> 2] | 0) | 0, i14) | 0;
+ if (!((i43 | 0) > 0 & (i44 | 0) < 0)) {
+ i50 = i35;
+ i51 = i26;
+ break L822;
+ }
+ if ((i31 | 0) == 0) {
+ i25 = i35;
+ i26 = i33;
+ i27 = i43;
+ i28 = i30;
+ continue;
+ }
+ if ((i31 | 0) >= 0) {
+ i50 = i35;
+ i51 = i26;
+ break L822;
+ }
+ i32 = Math_imul(i44, i34) | 0;
+ if ((i32 | 0) < (Math_imul(i31, i37) | 0)) {
+ i25 = i35;
+ i26 = i33;
+ i27 = i43;
+ i28 = i30;
+ } else {
+ i50 = i35;
+ i51 = i26;
+ break;
+ }
+ }
+ } else {
+ if ((i23 | 0) < 0) {
+ i26 = (i19 | 0) != 0;
+ i28 = i21;
+ i27 = i20;
+ i25 = i23;
+ i24 = HEAP32[i20 + 92 >> 2] | 0;
+ i30 = HEAP32[i21 + 92 >> 2] | 0;
+ while (1) {
+ i43 = HEAP32[(i26 ? i27 + 4 | 0 : i27 | 0) >> 2] | 0;
+ i33 = (i43 | 0) == (i27 | 0);
+ i31 = i27 + 88 | 0;
+ i32 = i43 + 88 | 0;
+ i44 = i43 + 92 | 0;
+ i42 = i28;
+ i41 = i25;
+ i40 = i30;
+ L828 : while (1) {
+ i52 = i42 + 88 | 0;
+ i39 = i24 - i40 | 0;
+ do {
+ if (!i33) {
+ i53 = HEAP32[i32 >> 2] | 0;
+ i38 = Math_imul(i53 - (HEAP32[i31 >> 2] | 0) | 0, i14) | 0;
+ i54 = HEAP32[i44 >> 2] | 0;
+ i48 = i54 - i24 | 0;
+ if ((i48 | 0) <= -1) {
+ break;
+ }
+ if ((i38 | 0) == 0) {
+ break L828;
+ }
+ if ((i38 | 0) >= 0) {
+ break;
+ }
+ i49 = Math_imul(i48, i41) | 0;
+ if ((i49 | 0) <= (Math_imul(i38, i39) | 0)) {
+ break L828;
+ }
+ }
+ } while (0);
+ i38 = HEAP32[(i26 ? i42 + 4 | 0 : i42 | 0) >> 2] | 0;
+ if ((i38 | 0) == (i42 | 0)) {
+ i50 = i42;
+ i51 = i27;
+ break L822;
+ }
+ i49 = HEAP32[i38 + 88 >> 2] | 0;
+ i48 = Math_imul(i49 - (HEAP32[i52 >> 2] | 0) | 0, i14) | 0;
+ i47 = HEAP32[i38 + 92 >> 2] | 0;
+ i45 = i47 - i40 | 0;
+ i46 = Math_imul((HEAP32[i31 >> 2] | 0) - i49 | 0, i14) | 0;
+ if (!((i46 | 0) < 0 & (i45 | 0) > 0)) {
+ i50 = i42;
+ i51 = i27;
+ break L822;
+ }
+ if ((i48 | 0) == 0) {
+ i42 = i38;
+ i41 = i46;
+ i40 = i47;
+ continue;
+ }
+ if ((i48 | 0) >= 0) {
+ i50 = i42;
+ i51 = i27;
+ break L822;
+ }
+ i49 = Math_imul(i45, i41) | 0;
+ if ((i49 | 0) < (Math_imul(i48, i39) | 0)) {
+ i42 = i38;
+ i41 = i46;
+ i40 = i47;
+ } else {
+ i50 = i42;
+ i51 = i27;
+ break L822;
+ }
+ }
+ i28 = i42;
+ i27 = i43;
+ i25 = Math_imul(i53 - (HEAP32[i52 >> 2] | 0) | 0, i14) | 0;
+ i24 = i54;
+ i30 = i40;
+ }
+ }
+ i30 = HEAP32[i21 + 92 >> 2] | 0;
+ i24 = (i19 | 0) != 0;
+ L842 : do {
+ if (i24) {
+ i25 = i21;
+ i27 = i30;
+ while (1) {
+ i28 = HEAP32[i25 >> 2] | 0;
+ if ((i28 | 0) == (i21 | 0)) {
+ i55 = i25;
+ break L842;
+ }
+ if ((HEAP32[i28 + 88 >> 2] | 0) != (i22 | 0)) {
+ i55 = i25;
+ break L842;
+ }
+ i26 = HEAP32[i28 + 92 >> 2] | 0;
+ if ((i26 | 0) > (i27 | 0)) {
+ i55 = i25;
+ break;
+ } else {
+ i25 = i28;
+ i27 = i26;
+ }
+ }
+ } else {
+ i27 = i21;
+ i25 = i30;
+ while (1) {
+ i40 = HEAP32[i27 + 4 >> 2] | 0;
+ if ((i40 | 0) == (i21 | 0)) {
+ i55 = i27;
+ break L842;
+ }
+ if ((HEAP32[i40 + 88 >> 2] | 0) != (i22 | 0)) {
+ i55 = i27;
+ break L842;
+ }
+ i43 = HEAP32[i40 + 92 >> 2] | 0;
+ if ((i43 | 0) > (i25 | 0)) {
+ i55 = i27;
+ break;
+ } else {
+ i27 = i40;
+ i25 = i43;
+ }
+ }
+ }
+ } while (0);
+ i30 = HEAP32[i20 + 92 >> 2] | 0;
+ if (i24) {
+ i25 = i20;
+ i27 = i30;
+ while (1) {
+ i43 = HEAP32[i25 + 4 >> 2] | 0;
+ if ((i43 | 0) == (i20 | 0)) {
+ i50 = i55;
+ i51 = i25;
+ break L822;
+ }
+ if ((HEAP32[i43 + 88 >> 2] | 0) != (i22 | 0)) {
+ i50 = i55;
+ i51 = i25;
+ break L822;
+ }
+ i40 = HEAP32[i43 + 92 >> 2] | 0;
+ if ((i40 | 0) < (i27 | 0)) {
+ i50 = i55;
+ i51 = i25;
+ break;
+ } else {
+ i25 = i43;
+ i27 = i40;
+ }
+ }
+ } else {
+ i27 = i20;
+ i25 = i30;
+ while (1) {
+ i24 = HEAP32[i27 >> 2] | 0;
+ if ((i24 | 0) == (i20 | 0)) {
+ i50 = i55;
+ i51 = i27;
+ break L822;
+ }
+ if ((HEAP32[i24 + 88 >> 2] | 0) != (i22 | 0)) {
+ i50 = i55;
+ i51 = i27;
+ break L822;
+ }
+ i40 = HEAP32[i24 + 92 >> 2] | 0;
+ if ((i40 | 0) < (i25 | 0)) {
+ i50 = i55;
+ i51 = i27;
+ break;
+ } else {
+ i27 = i24;
+ i25 = i40;
+ }
+ }
+ }
+ }
+ } while (0);
+ if ((i19 | 0) == 0) {
+ i13 = 1;
+ i14 = -1;
+ i15 = i51;
+ i16 = i50;
+ i17 = i2;
+ i18 = i8;
+ continue L818;
+ }
+ i22 = i19 + 1 | 0;
+ if ((i22 | 0) < 2) {
+ i19 = i22;
+ i20 = i51;
+ i21 = i50;
+ } else {
+ break L818;
+ }
+ }
+ }
+ HEAP32[i50 + 4 >> 2] = i51;
+ HEAP32[i51 >> 2] = i50;
+ HEAP32[i16 >> 2] = i15;
+ HEAP32[i15 + 4 >> 2] = i16;
+ i50 = HEAP32[i2 >> 2] | 0;
+ if ((HEAP32[i50 + 88 >> 2] | 0) < (HEAP32[(HEAP32[i8 >> 2] | 0) + 88 >> 2] | 0)) {
+ HEAP32[i8 >> 2] = i50;
+ }
+ i50 = HEAP32[i6 >> 2] | 0;
+ if ((HEAP32[i50 + 88 >> 2] | 0) >= (HEAP32[(HEAP32[i7 >> 2] | 0) + 88 >> 2] | 0)) {
+ HEAP32[i7 >> 2] = i50;
+ }
+ HEAP32[i1 >> 2] = HEAP32[i3 + 12 >> 2];
+ HEAP32[i4 >> 2] = i16;
+ i10 = 1;
+ i11 = i15;
+ HEAP32[i5 >> 2] = i11;
+ return i10 | 0;
+}
+function __ZN20btConvexHullInternal7computeEPKvbii(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, i19 = 0, i20 = 0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, i34 = 0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, d47 = 0.0, d48 = 0.0, d49 = 0.0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 88 | 0;
+ i7 = i6 | 0;
+ i8 = i6 + 24 | 0;
+ i9 = i6 + 40 | 0;
+ i10 = i6 + 56 | 0;
+ i11 = i6 + 72 | 0;
+ i12 = (i5 | 0) > 0;
+ do {
+ if (i3) {
+ if (i12) {
+ d13 = 1.0000000150474662e+30;
+ d14 = 1.0000000150474662e+30;
+ d15 = 1.0000000150474662e+30;
+ d16 = -1.0000000150474662e+30;
+ d17 = -1.0000000150474662e+30;
+ d18 = -1.0000000150474662e+30;
+ i19 = 0;
+ i20 = i2;
+ } else {
+ d21 = -1.0000000150474662e+30;
+ d22 = -1.0000000150474662e+30;
+ d23 = -1.0000000150474662e+30;
+ d24 = 1.0000000150474662e+30;
+ d25 = 1.0000000150474662e+30;
+ d26 = 1.0000000150474662e+30;
+ break;
+ }
+ while (1) {
+ d27 = +HEAPF64[i20 >> 3];
+ d28 = +HEAPF64[i20 + 8 >> 3];
+ d29 = +HEAPF64[i20 + 16 >> 3];
+ d30 = d27 < d15 ? d27 : d15;
+ d31 = d28 < d14 ? d28 : d14;
+ d32 = d29 < d13 ? d29 : d13;
+ d33 = d18 < d27 ? d27 : d18;
+ d27 = d17 < d28 ? d28 : d17;
+ d28 = d16 < d29 ? d29 : d16;
+ i34 = i19 + 1 | 0;
+ if ((i34 | 0) < (i5 | 0)) {
+ d13 = d32;
+ d14 = d31;
+ d15 = d30;
+ d16 = d28;
+ d17 = d27;
+ d18 = d33;
+ i19 = i34;
+ i20 = i20 + i4 | 0;
+ } else {
+ d21 = d33;
+ d22 = d27;
+ d23 = d28;
+ d24 = d30;
+ d25 = d31;
+ d26 = d32;
+ break;
+ }
+ }
+ } else {
+ if (i12) {
+ d35 = 1.0000000150474662e+30;
+ d36 = 1.0000000150474662e+30;
+ d37 = 1.0000000150474662e+30;
+ d38 = -1.0000000150474662e+30;
+ d39 = -1.0000000150474662e+30;
+ d40 = -1.0000000150474662e+30;
+ i41 = 0;
+ i42 = i2;
+ } else {
+ d21 = -1.0000000150474662e+30;
+ d22 = -1.0000000150474662e+30;
+ d23 = -1.0000000150474662e+30;
+ d24 = 1.0000000150474662e+30;
+ d25 = 1.0000000150474662e+30;
+ d26 = 1.0000000150474662e+30;
+ break;
+ }
+ while (1) {
+ d32 = +HEAPF32[i42 >> 2];
+ d31 = +HEAPF32[i42 + 4 >> 2];
+ d30 = +HEAPF32[i42 + 8 >> 2];
+ d28 = d32 < d37 ? d32 : d37;
+ d27 = d31 < d36 ? d31 : d36;
+ d33 = d30 < d35 ? d30 : d35;
+ d29 = d40 < d32 ? d32 : d40;
+ d32 = d39 < d31 ? d31 : d39;
+ d31 = d38 < d30 ? d30 : d38;
+ i34 = i41 + 1 | 0;
+ if ((i34 | 0) < (i5 | 0)) {
+ d35 = d33;
+ d36 = d27;
+ d37 = d28;
+ d38 = d31;
+ d39 = d32;
+ d40 = d29;
+ i41 = i34;
+ i42 = i42 + i4 | 0;
+ } else {
+ d21 = d29;
+ d22 = d32;
+ d23 = d31;
+ d24 = d28;
+ d25 = d27;
+ d26 = d33;
+ break;
+ }
+ }
+ }
+ } while (0);
+ d40 = d21 - d24;
+ d39 = d22 - d25;
+ d38 = d23 - d26;
+ if (d40 < d39) {
+ i42 = i1 + 112 | 0;
+ HEAP32[i42 >> 2] = d39 < d38 ? 2 : 1;
+ i43 = d40 < d38 ? 0 : 2;
+ i44 = i42;
+ } else {
+ i42 = i1 + 112 | 0;
+ HEAP32[i42 >> 2] = d40 < d38 ? 2 : 0;
+ i43 = d39 < d38 ? 1 : 2;
+ i44 = i42;
+ }
+ i42 = i1 + 104 | 0;
+ HEAP32[i42 >> 2] = i43;
+ i41 = HEAP32[i44 >> 2] | 0;
+ if ((i43 | 0) == (i41 | 0)) {
+ i20 = ((i43 + 1 | 0) >>> 0) % 3 | 0;
+ HEAP32[i42 >> 2] = i20;
+ i45 = HEAP32[i44 >> 2] | 0;
+ i46 = i20;
+ } else {
+ i45 = i41;
+ i46 = i43;
+ }
+ i43 = i1 + 108 | 0;
+ HEAP32[i43 >> 2] = 3 - i46 - i45;
+ d37 = d40 * 9788566967472434.0e-20;
+ d40 = d39 * 9788566967472434.0e-20;
+ d39 = d38 * 9788566967472434.0e-20;
+ HEAPF32[i1 >> 2] = d37;
+ HEAPF32[i1 + 4 >> 2] = d40;
+ HEAPF32[i1 + 8 >> 2] = d39;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ if (d37 > 0.0) {
+ d47 = 1.0 / d37;
+ } else {
+ d47 = d37;
+ }
+ if (d40 > 0.0) {
+ d48 = 1.0 / d40;
+ } else {
+ d48 = d40;
+ }
+ if (d39 > 0.0) {
+ d49 = 1.0 / d39;
+ } else {
+ d49 = d39;
+ }
+ i45 = i1 + 16 | 0;
+ HEAPF32[i1 + 16 >> 2] = (d24 + d21) * .5;
+ i46 = i1 + 20 | 0;
+ HEAPF32[i46 >> 2] = (d25 + d22) * .5;
+ i41 = i1 + 24 | 0;
+ HEAPF32[i41 >> 2] = (d26 + d23) * .5;
+ HEAPF32[i1 + 28 >> 2] = 0.0;
+ i20 = i7 + 16 | 0;
+ HEAP8[i20] = 1;
+ i19 = i7 + 12 | 0;
+ HEAP32[i19 >> 2] = 0;
+ i34 = i7 + 4 | 0;
+ HEAP32[i34 >> 2] = 0;
+ i50 = i7 + 8 | 0;
+ HEAP32[i50 >> 2] = 0;
+ L1398 : do {
+ if (i12) {
+ i51 = __Z22btAlignedAllocInternalji(i5 << 4, 16) | 0;
+ i52 = HEAP32[i34 >> 2] | 0;
+ if ((i52 | 0) > 0) {
+ i53 = 0;
+ do {
+ i54 = i51 + (i53 << 4) | 0;
+ if ((i54 | 0) != 0) {
+ i55 = i54;
+ i54 = (HEAP32[i19 >> 2] | 0) + (i53 << 4) | 0;
+ HEAP32[i55 >> 2] = HEAP32[i54 >> 2];
+ HEAP32[i55 + 4 >> 2] = HEAP32[i54 + 4 >> 2];
+ HEAP32[i55 + 8 >> 2] = HEAP32[i54 + 8 >> 2];
+ HEAP32[i55 + 12 >> 2] = HEAP32[i54 + 12 >> 2];
+ }
+ i53 = i53 + 1 | 0;
+ } while ((i53 | 0) < (i52 | 0));
+ }
+ i52 = HEAP32[i19 >> 2] | 0;
+ if ((i52 | 0) != 0) {
+ if ((HEAP8[i20] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i52);
+ }
+ HEAP32[i19 >> 2] = 0;
+ }
+ HEAP8[i20] = 1;
+ HEAP32[i19 >> 2] = i51;
+ HEAP32[i50 >> 2] = i5;
+ i52 = i8;
+ i53 = 0;
+ i54 = i51;
+ while (1) {
+ i55 = i54 + (i53 << 4) | 0;
+ if ((i55 | 0) != 0) {
+ i56 = i55;
+ HEAP32[i56 >> 2] = HEAP32[i52 >> 2];
+ HEAP32[i56 + 4 >> 2] = HEAP32[i52 + 4 >> 2];
+ HEAP32[i56 + 8 >> 2] = HEAP32[i52 + 8 >> 2];
+ HEAP32[i56 + 12 >> 2] = HEAP32[i52 + 12 >> 2];
+ }
+ i56 = i53 + 1 | 0;
+ if ((i56 | 0) >= (i5 | 0)) {
+ break L1398;
+ }
+ i53 = i56;
+ i54 = HEAP32[i19 >> 2] | 0;
+ }
+ }
+ } while (0);
+ HEAP32[i34 >> 2] = i5;
+ L1421 : do {
+ if (i3) {
+ if (!i12) {
+ break;
+ }
+ i8 = i9 | 0;
+ i54 = i9 + 4 | 0;
+ i53 = i9 + 8 | 0;
+ i52 = i9 + 12 | 0;
+ i51 = HEAP32[i19 >> 2] | 0;
+ d23 = +HEAPF32[i45 >> 2];
+ d26 = +HEAPF32[i46 >> 2];
+ d22 = +HEAPF32[i41 >> 2];
+ i56 = 0;
+ i55 = i2;
+ while (1) {
+ d25 = d48 * (+HEAPF64[i55 + 8 >> 3] - d26);
+ d21 = d49 * (+HEAPF64[i55 + 16 >> 3] - d22);
+ HEAPF32[i8 >> 2] = d47 * (+HEAPF64[i55 >> 3] - d23);
+ HEAPF32[i54 >> 2] = d25;
+ HEAPF32[i53 >> 2] = d21;
+ HEAPF32[i52 >> 2] = 0.0;
+ HEAP32[i51 + (i56 << 4) >> 2] = ~~+HEAPF32[i9 + (HEAP32[i43 >> 2] << 2) >> 2];
+ HEAP32[i51 + (i56 << 4) + 4 >> 2] = ~~+HEAPF32[i9 + (HEAP32[i44 >> 2] << 2) >> 2];
+ HEAP32[i51 + (i56 << 4) + 8 >> 2] = ~~+HEAPF32[i9 + (HEAP32[i42 >> 2] << 2) >> 2];
+ HEAP32[i51 + (i56 << 4) + 12 >> 2] = i56;
+ i57 = i56 + 1 | 0;
+ if ((i57 | 0) >= (i5 | 0)) {
+ break L1421;
+ }
+ i56 = i57;
+ i55 = i55 + i4 | 0;
+ }
+ } else {
+ if (!i12) {
+ break;
+ }
+ i55 = i10 | 0;
+ i56 = i10 + 4 | 0;
+ i51 = i10 + 8 | 0;
+ i52 = i10 + 12 | 0;
+ i53 = HEAP32[i19 >> 2] | 0;
+ d23 = +HEAPF32[i45 >> 2];
+ d22 = +HEAPF32[i46 >> 2];
+ d26 = +HEAPF32[i41 >> 2];
+ i54 = 0;
+ i8 = i2;
+ while (1) {
+ d21 = +HEAPF32[i8 >> 2];
+ HEAPF32[i55 >> 2] = d21;
+ d25 = +HEAPF32[i8 + 4 >> 2];
+ HEAPF32[i56 >> 2] = d25;
+ d24 = d49 * (+HEAPF32[i8 + 8 >> 2] - d26);
+ HEAPF32[i55 >> 2] = d47 * (d21 - d23);
+ HEAPF32[i56 >> 2] = d48 * (d25 - d22);
+ HEAPF32[i51 >> 2] = d24;
+ HEAPF32[i52 >> 2] = 0.0;
+ HEAP32[i53 + (i54 << 4) >> 2] = ~~+HEAPF32[i10 + (HEAP32[i43 >> 2] << 2) >> 2];
+ HEAP32[i53 + (i54 << 4) + 4 >> 2] = ~~+HEAPF32[i10 + (HEAP32[i44 >> 2] << 2) >> 2];
+ HEAP32[i53 + (i54 << 4) + 8 >> 2] = ~~+HEAPF32[i10 + (HEAP32[i42 >> 2] << 2) >> 2];
+ HEAP32[i53 + (i54 << 4) + 12 >> 2] = i54;
+ i57 = i54 + 1 | 0;
+ if ((i57 | 0) >= (i5 | 0)) {
+ break L1421;
+ }
+ i54 = i57;
+ i8 = i8 + i4 | 0;
+ }
+ }
+ } while (0);
+ i4 = HEAP32[i34 >> 2] | 0;
+ if ((i4 | 0) > 1) {
+ __ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE17quickSortInternalIPFbRKS1_S5_EEEvT_ii(i7, 14, 0, i4 - 1 | 0);
+ }
+ i4 = i1 + 32 | 0;
+ HEAP32[i1 + 36 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i1 + 40 >> 2] = 0;
+ HEAP32[i1 + 44 >> 2] = i5;
+ i7 = i1 + 84 | 0;
+ i42 = HEAP32[i7 >> 2] | 0;
+ if ((i42 | 0) < (i5 | 0)) {
+ i10 = i1 + 88 | 0;
+ if ((HEAP32[i10 >> 2] | 0) < (i5 | 0)) {
+ if ((i5 | 0) == 0) {
+ i58 = 0;
+ i59 = i42;
+ } else {
+ i44 = __Z22btAlignedAllocInternalji(i5 << 2, 16) | 0;
+ i58 = i44;
+ i59 = HEAP32[i7 >> 2] | 0;
+ }
+ i44 = i1 + 92 | 0;
+ if ((i59 | 0) > 0) {
+ i43 = 0;
+ do {
+ i2 = i58 + (i43 << 2) | 0;
+ if ((i2 | 0) != 0) {
+ HEAP32[i2 >> 2] = HEAP32[(HEAP32[i44 >> 2] | 0) + (i43 << 2) >> 2];
+ }
+ i43 = i43 + 1 | 0;
+ } while ((i43 | 0) < (i59 | 0));
+ }
+ i59 = HEAP32[i44 >> 2] | 0;
+ i43 = i1 + 96 | 0;
+ if ((i59 | 0) != 0) {
+ if ((HEAP8[i43] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i59);
+ }
+ HEAP32[i44 >> 2] = 0;
+ }
+ HEAP8[i43] = 1;
+ HEAP32[i44 >> 2] = i58;
+ HEAP32[i10 >> 2] = i5;
+ i60 = i44;
+ } else {
+ i60 = i1 + 92 | 0;
+ }
+ i44 = i42;
+ do {
+ i42 = (HEAP32[i60 >> 2] | 0) + (i44 << 2) | 0;
+ if ((i42 | 0) != 0) {
+ HEAP32[i42 >> 2] = 0;
+ }
+ i44 = i44 + 1 | 0;
+ } while ((i44 | 0) < (i5 | 0));
+ }
+ HEAP32[i7 >> 2] = i5;
+ if (i12) {
+ i12 = i1 + 92 | 0;
+ i7 = 0;
+ do {
+ i44 = __ZN20btConvexHullInternal4PoolINS_6VertexEE9newObjectEv(i4) | 0;
+ HEAP32[i44 + 8 >> 2] = 0;
+ i60 = i44 + 88 | 0;
+ i42 = (HEAP32[i19 >> 2] | 0) + (i7 << 4) | 0;
+ HEAP32[i60 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i60 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i60 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i60 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ HEAP32[i44 + 104 >> 2] = -1;
+ HEAP32[(HEAP32[i12 >> 2] | 0) + (i7 << 2) >> 2] = i44;
+ i7 = i7 + 1 | 0;
+ } while ((i7 | 0) < (i5 | 0));
+ }
+ i7 = HEAP32[i19 >> 2] | 0;
+ if ((i7 | 0) != 0) {
+ if ((HEAP8[i20] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i7);
+ }
+ HEAP32[i19 >> 2] = 0;
+ }
+ HEAP8[i20] = 1;
+ HEAP32[i19 >> 2] = 0;
+ HEAP32[i34 >> 2] = 0;
+ HEAP32[i50 >> 2] = 0;
+ HEAP32[i1 + 52 >> 2] = HEAP32[i1 + 48 >> 2];
+ HEAP32[i1 + 56 >> 2] = 0;
+ HEAP32[i1 + 60 >> 2] = i5 * 6 | 0;
+ HEAP32[i1 + 116 >> 2] = 0;
+ HEAP32[i1 + 120 >> 2] = 0;
+ HEAP32[i1 + 100 >> 2] = -3;
+ _memset(i11 | 0, 0, 16);
+ __ZN20btConvexHullInternal15computeInternalEiiRNS_16IntermediateHullE(i1, 0, i5, i11);
+ HEAP32[i1 + 124 >> 2] = HEAP32[i11 >> 2];
+ i11 = HEAP32[i19 >> 2] | 0;
+ if ((i11 | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ if ((HEAP8[i20] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i11);
+ }
+ HEAP32[i19 >> 2] = 0;
+ STACKTOP = i6;
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolver14convertContactEP20btPersistentManifoldRK19btContactSolverInfo(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, d58 = 0.0, i59 = 0, i60 = 0, i61 = 0, d62 = 0.0, d63 = 0.0, i64 = 0, d65 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 128 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 16 | 0;
+ i7 = i4 + 32 | 0;
+ i8 = i4 + 48 | 0;
+ i9 = i4 + 64 | 0;
+ i10 = i4 + 80 | 0;
+ i11 = i4 + 96 | 0;
+ i12 = i4 + 104 | 0;
+ i13 = i4 + 112 | 0;
+ i14 = HEAP32[i2 + 1108 >> 2] | 0;
+ i15 = i14;
+ i16 = HEAP32[i2 + 1112 >> 2] | 0;
+ i17 = i16;
+ i18 = i14 + 232 | 0;
+ if ((HEAP32[i18 >> 2] & 2 | 0) == 0) {
+ i19 = 0;
+ } else {
+ i19 = i14;
+ }
+ i20 = i16 + 232 | 0;
+ if ((HEAP32[i20 >> 2] & 2 | 0) == 0) {
+ i21 = 0;
+ } else {
+ i21 = i16;
+ }
+ if ((i19 | 0) == 0) {
+ i22 = 1360;
+ } else {
+ if (+HEAPF32[i19 + 336 >> 2] == 0.0) {
+ i22 = 1360;
+ }
+ }
+ do {
+ if ((i22 | 0) == 1360) {
+ if ((i21 | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ if (+HEAPF32[i21 + 336 >> 2] != 0.0) {
+ break;
+ }
+ STACKTOP = i4;
+ return;
+ }
+ } while (0);
+ i21 = i2 + 1116 | 0;
+ i19 = HEAP32[i21 >> 2] | 0;
+ if ((i19 | 0) <= 0) {
+ STACKTOP = i4;
+ return;
+ }
+ i23 = i2 + 1124 | 0;
+ i24 = i1 + 8 | 0;
+ i25 = i1 + 12 | 0;
+ i26 = i1 + 16 | 0;
+ i27 = i1 + 20 | 0;
+ i28 = i1 + 48 | 0;
+ i29 = i3 + 60 | 0;
+ i30 = i13 | 0;
+ i31 = i13 + 4 | 0;
+ i32 = i13 + 8 | 0;
+ i33 = i16;
+ i16 = i14;
+ i14 = i7;
+ i34 = i8;
+ i35 = i5;
+ i36 = i6;
+ i37 = 0;
+ i38 = i19;
+ while (1) {
+ i19 = i2 + 4 + (i37 * 276 | 0) | 0;
+ if (+HEAPF32[i2 + 4 + (i37 * 276 | 0) + 80 >> 2] > +HEAPF32[i23 >> 2]) {
+ i39 = i38;
+ } else {
+ i40 = HEAP32[i24 >> 2] | 0;
+ do {
+ if ((i40 | 0) == (HEAP32[i25 >> 2] | 0)) {
+ i41 = (i40 | 0) == 0 ? 1 : i40 << 1;
+ if ((i40 | 0) >= (i41 | 0)) {
+ i42 = i40;
+ break;
+ }
+ if ((i41 | 0) == 0) {
+ i43 = 0;
+ i44 = i40;
+ } else {
+ i45 = __Z22btAlignedAllocInternalji(i41 * 136 | 0, 16) | 0;
+ i43 = i45;
+ i44 = HEAP32[i24 >> 2] | 0;
+ }
+ if ((i44 | 0) > 0) {
+ i45 = 0;
+ do {
+ i46 = i43 + (i45 * 136 | 0) | 0;
+ i47 = (HEAP32[i26 >> 2] | 0) + (i45 * 136 | 0) | 0;
+ _memcpy(i46 | 0, i47 | 0, 136) | 0;
+ i45 = i45 + 1 | 0;
+ } while ((i45 | 0) < (i44 | 0));
+ }
+ i45 = HEAP32[i26 >> 2] | 0;
+ if ((i45 | 0) != 0) {
+ if ((HEAP8[i27] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i45);
+ }
+ HEAP32[i26 >> 2] = 0;
+ }
+ HEAP8[i27] = 1;
+ HEAP32[i26 >> 2] = i43;
+ HEAP32[i25 >> 2] = i41;
+ i42 = HEAP32[i24 >> 2] | 0;
+ } else {
+ i42 = i40;
+ }
+ } while (0);
+ HEAP32[i24 >> 2] = i42 + 1;
+ i45 = HEAP32[i26 >> 2] | 0;
+ i47 = i45 + (i40 * 136 | 0) | 0;
+ i46 = (HEAP32[i18 >> 2] & 2 | 0) == 0 ? 0 : i16;
+ i48 = (HEAP32[i20 >> 2] & 2 | 0) == 0 ? 0 : i33;
+ if ((i46 | 0) == 0) {
+ do {
+ if ((HEAP8[14328] | 0) == 0) {
+ if ((___cxa_guard_acquire(14328) | 0) == 0) {
+ break;
+ }
+ _memset(i14 | 0, 0, 16);
+ __ZN11btRigidBodyC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(12536, 0.0, 0, 0, i7);
+ _atexit(268, 12536, ___dso_handle | 0) | 0;
+ }
+ } while (0);
+ _memset(i34 | 0, 0, 16);
+ __ZN11btRigidBody12setMassPropsEfRK9btVector3(12536, 0.0, i8);
+ i49 = 12536;
+ } else {
+ i49 = i46;
+ }
+ HEAP32[i45 + (i40 * 136 | 0) + 104 >> 2] = i49;
+ if ((i48 | 0) == 0) {
+ do {
+ if ((HEAP8[14328] | 0) == 0) {
+ if ((___cxa_guard_acquire(14328) | 0) == 0) {
+ break;
+ }
+ _memset(i35 | 0, 0, 16);
+ __ZN11btRigidBodyC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(12536, 0.0, 0, 0, i5);
+ _atexit(268, 12536, ___dso_handle | 0) | 0;
+ }
+ } while (0);
+ _memset(i36 | 0, 0, 16);
+ __ZN11btRigidBody12setMassPropsEfRK9btVector3(12536, 0.0, i6);
+ i50 = 12536;
+ } else {
+ i50 = i48;
+ }
+ HEAP32[i45 + (i40 * 136 | 0) + 108 >> 2] = i50;
+ HEAP32[i45 + (i40 * 136 | 0) + 112 >> 2] = i19;
+ __ZN35btSequentialImpulseConstraintSolver22setupContactConstraintER18btSolverConstraintP17btCollisionObjectS3_R15btManifoldPointRK19btContactSolverInfoR9btVector3RfSB_SA_SA_(0, i47, i15, i17, i19, i3, i13, i12, i11, i9, i10);
+ HEAP32[i45 + (i40 * 136 | 0) + 100 >> 2] = HEAP32[i28 >> 2];
+ do {
+ if ((HEAP32[i29 >> 2] & 32 | 0) == 0) {
+ i22 = 1392;
+ } else {
+ if ((HEAP8[i2 + 4 + (i37 * 276 | 0) + 116 | 0] | 0) == 0) {
+ i22 = 1392;
+ break;
+ }
+ i51 = i2 + 4 + (i37 * 276 | 0) + 148 | 0;
+ d52 = +HEAPF32[i11 >> 2];
+ d53 = +HEAPF32[i2 + 4 + (i37 * 276 | 0) + 128 >> 2];
+ d54 = +HEAPF32[i2 + 4 + (i37 * 276 | 0) + 136 >> 2];
+ __ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(i1, i51, 0, 0, i40, i19, i9, i10, i15, i17, d52, d53, d54) | 0;
+ if ((HEAP32[i29 >> 2] & 16 | 0) == 0) {
+ break;
+ }
+ i51 = i2 + 4 + (i37 * 276 | 0) + 164 | 0;
+ d54 = +HEAPF32[i2 + 4 + (i37 * 276 | 0) + 132 >> 2];
+ d53 = +HEAPF32[i2 + 4 + (i37 * 276 | 0) + 140 >> 2];
+ __ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(i1, i51, 0, 0, i40, i19, i9, i10, i15, i17, d52, d54, d53) | 0;
+ }
+ } while (0);
+ do {
+ if ((i22 | 0) == 1392) {
+ i22 = 0;
+ i45 = i2 + 4 + (i37 * 276 | 0) + 148 | 0;
+ d53 = +HEAPF32[i2 + 4 + (i37 * 276 | 0) + 64 >> 2];
+ d54 = +HEAPF32[i12 >> 2];
+ d52 = +HEAPF32[i2 + 4 + (i37 * 276 | 0) + 68 >> 2];
+ d55 = +HEAPF32[i2 + 4 + (i37 * 276 | 0) + 72 >> 2];
+ d56 = +HEAPF32[i30 >> 2] - d53 * d54;
+ d57 = +HEAPF32[i31 >> 2] - d54 * d52;
+ d58 = +HEAPF32[i32 >> 2] - d54 * d55;
+ HEAPF32[i2 + 4 + (i37 * 276 | 0) + 148 >> 2] = d56;
+ i51 = i2 + 4 + (i37 * 276 | 0) + 152 | 0;
+ HEAPF32[i51 >> 2] = d57;
+ i59 = i2 + 4 + (i37 * 276 | 0) + 156 | 0;
+ HEAPF32[i59 >> 2] = d58;
+ HEAPF32[i2 + 4 + (i37 * 276 | 0) + 160 >> 2] = 0.0;
+ i60 = i45 | 0;
+ d54 = d56 * d56 + d57 * d57 + d58 * d58;
+ i61 = HEAP32[i29 >> 2] | 0;
+ if ((i61 & 64 | 0) == 0 & d54 > 1.1920928955078125e-7) {
+ d62 = 1.0 / +Math_sqrt(+d54);
+ d54 = d56 * d62;
+ HEAPF32[i60 >> 2] = d54;
+ d56 = d57 * d62;
+ HEAPF32[i51 >> 2] = d56;
+ d57 = d58 * d62;
+ HEAPF32[i59 >> 2] = d57;
+ if ((i61 & 16 | 0) == 0) {
+ d63 = +HEAPF32[i11 >> 2];
+ } else {
+ i64 = i2 + 4 + (i37 * 276 | 0) + 164 | 0;
+ d62 = d55 * d56 - d52 * d57;
+ d58 = d53 * d57 - d55 * d54;
+ d57 = d52 * d54 - d53 * d56;
+ HEAPF32[i2 + 4 + (i37 * 276 | 0) + 164 >> 2] = d62;
+ HEAPF32[i2 + 4 + (i37 * 276 | 0) + 176 >> 2] = 0.0;
+ d56 = 1.0 / +Math_sqrt(+(d57 * d57 + (d62 * d62 + d58 * d58)));
+ HEAPF32[i64 >> 2] = d62 * d56;
+ HEAPF32[i2 + 4 + (i37 * 276 | 0) + 168 >> 2] = d58 * d56;
+ HEAPF32[i2 + 4 + (i37 * 276 | 0) + 172 >> 2] = d57 * d56;
+ __Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(i15, i64);
+ __Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(i17, i64);
+ d56 = +HEAPF32[i11 >> 2];
+ __ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(i1, i64, 0, 0, i40, i19, i9, i10, i15, i17, d56, 0.0, 0.0) | 0;
+ d63 = d56;
+ }
+ __Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(i15, i45);
+ __Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(i17, i45);
+ __ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(i1, i45, 0, 0, i40, i19, i9, i10, i15, i17, d63, 0.0, 0.0) | 0;
+ HEAP8[i2 + 4 + (i37 * 276 | 0) + 116 | 0] = 1;
+ break;
+ }
+ i64 = i2 + 4 + (i37 * 276 | 0) + 164 | 0;
+ if (+Math_abs(+d55) > .7071067690849304) {
+ d56 = d52 * d52 + d55 * d55;
+ d57 = 1.0 / +Math_sqrt(+d56);
+ HEAPF32[i60 >> 2] = 0.0;
+ d58 = d57 * (-0.0 - d55);
+ HEAPF32[i51 >> 2] = d58;
+ d62 = d52 * d57;
+ HEAPF32[i59 >> 2] = d62;
+ HEAPF32[i64 >> 2] = d56 * d57;
+ HEAPF32[i2 + 4 + (i37 * 276 | 0) + 168 >> 2] = d62 * (-0.0 - d53);
+ HEAPF32[i2 + 4 + (i37 * 276 | 0) + 172 >> 2] = d53 * d58;
+ } else {
+ d58 = d53 * d53 + d52 * d52;
+ d62 = 1.0 / +Math_sqrt(+d58);
+ d57 = d62 * (-0.0 - d52);
+ HEAPF32[i60 >> 2] = d57;
+ d52 = d53 * d62;
+ HEAPF32[i51 >> 2] = d52;
+ HEAPF32[i59 >> 2] = 0.0;
+ HEAPF32[i64 >> 2] = d52 * (-0.0 - d55);
+ HEAPF32[i2 + 4 + (i37 * 276 | 0) + 168 >> 2] = d55 * d57;
+ HEAPF32[i2 + 4 + (i37 * 276 | 0) + 172 >> 2] = d58 * d62;
+ }
+ if ((i61 & 16 | 0) == 0) {
+ d65 = +HEAPF32[i11 >> 2];
+ } else {
+ __Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(i15, i64);
+ __Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(i17, i64);
+ d62 = +HEAPF32[i11 >> 2];
+ __ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(i1, i64, 0, 0, i40, i19, i9, i10, i15, i17, d62, 0.0, 0.0) | 0;
+ d65 = d62;
+ }
+ __Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(i15, i45);
+ __Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(i17, i45);
+ __ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(i1, i45, 0, 0, i40, i19, i9, i10, i15, i17, d65, 0.0, 0.0) | 0;
+ HEAP8[i2 + 4 + (i37 * 276 | 0) + 116 | 0] = 1;
+ }
+ } while (0);
+ __ZN35btSequentialImpulseConstraintSolver28setFrictionConstraintImpulseER18btSolverConstraintP11btRigidBodyS3_R15btManifoldPointRK19btContactSolverInfo(i1, i47, i46, i48, i19, i3);
+ i39 = HEAP32[i21 >> 2] | 0;
+ }
+ i40 = i37 + 1 | 0;
+ if ((i40 | 0) < (i39 | 0)) {
+ i37 = i40;
+ i38 = i39;
+ } else {
+ break;
+ }
+ }
+ STACKTOP = i4;
+ return;
+}
+function __ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0;
+ if ((HEAP32[i2 + 100 >> 2] | 0) > -1) {
+ i4 = HEAP32[i2 + 88 >> 2] | 0;
+ i5 = i3 | 0;
+ i6 = ___muldi3(i4, (i4 | 0) < 0 ? -1 : 0, HEAP32[i5 >> 2] | 0, HEAP32[i5 + 4 >> 2] | 0) | 0;
+ i5 = tempRet0;
+ i4 = HEAP32[i2 + 92 >> 2] | 0;
+ i7 = i3 + 8 | 0;
+ i8 = ___muldi3(i4, (i4 | 0) < 0 ? -1 : 0, HEAP32[i7 >> 2] | 0, HEAP32[i7 + 4 >> 2] | 0) | 0;
+ i7 = _i64Add(i8, tempRet0, i6, i5) | 0;
+ i5 = tempRet0;
+ i6 = HEAP32[i2 + 96 >> 2] | 0;
+ i8 = i3 + 16 | 0;
+ i4 = ___muldi3(i6, (i6 | 0) < 0 ? -1 : 0, HEAP32[i8 >> 2] | 0, HEAP32[i8 + 4 >> 2] | 0) | 0;
+ i8 = _i64Add(i7, i5, i4, tempRet0) | 0;
+ i4 = tempRet0;
+ i5 = 0;
+ do {
+ if ((i4 | 0) > (i5 | 0) | (i4 | 0) == (i5 | 0) & i8 >>> 0 > 0 >>> 0) {
+ HEAP32[i1 + 32 >> 2] = 1;
+ i7 = i1 | 0;
+ HEAP32[i7 >> 2] = i8;
+ HEAP32[i7 + 4 >> 2] = i4;
+ i7 = i1 + 8 | 0;
+ HEAP32[i7 >> 2] = i4 >> 31 | ((i4 | 0) < 0 ? -1 : 0) << 1;
+ HEAP32[i7 + 4 >> 2] = ((i4 | 0) < 0 ? -1 : 0) >> 31 | ((i4 | 0) < 0 ? -1 : 0) << 1;
+ } else {
+ i7 = 0;
+ i6 = i1 + 32 | 0;
+ if ((i4 | 0) < (i7 | 0) | (i4 | 0) == (i7 | 0) & i8 >>> 0 < 0 >>> 0) {
+ HEAP32[i6 >> 2] = -1;
+ i7 = _i64Subtract(0, 0, i8, i4) | 0;
+ i9 = tempRet0;
+ i10 = i1 | 0;
+ HEAP32[i10 >> 2] = i7;
+ HEAP32[i10 + 4 >> 2] = i9;
+ i10 = i1 + 8 | 0;
+ HEAP32[i10 >> 2] = i9 >> 31 | ((i9 | 0) < 0 ? -1 : 0) << 1;
+ HEAP32[i10 + 4 >> 2] = ((i9 | 0) < 0 ? -1 : 0) >> 31 | ((i9 | 0) < 0 ? -1 : 0) << 1;
+ break;
+ } else {
+ HEAP32[i6 >> 2] = 0;
+ _memset(i1 | 0, 0, 16);
+ break;
+ }
+ }
+ } while (0);
+ i4 = i1 + 16 | 0;
+ HEAP32[i4 >> 2] = 1;
+ HEAP32[i4 + 4 >> 2] = 0;
+ i4 = i1 + 24 | 0;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i4 + 4 >> 2] = 0;
+ HEAP8[i1 + 36 | 0] = 1;
+ return;
+ }
+ i4 = i3 | 0;
+ i8 = HEAP32[i4 >> 2] | 0;
+ i5 = HEAP32[i4 + 4 >> 2] | 0;
+ i4 = i2 + 32 | 0;
+ i6 = HEAP32[i4 >> 2] | 0;
+ i9 = HEAP32[i4 + 4 >> 2] | 0;
+ i4 = 0;
+ i10 = (i9 | 0) < (i4 | 0) | (i9 | 0) == (i4 | 0) & i6 >>> 0 < 0 >>> 0;
+ i4 = i2 + 24 | 0;
+ i7 = HEAP32[i4 >> 2] | 0;
+ i11 = HEAP32[i4 + 4 >> 2] | 0;
+ if (i10) {
+ i4 = _i64Subtract(0, 0, i7, i11) | 0;
+ i12 = tempRet0;
+ i13 = _i64Add((i7 | 0) == 0 & (i11 | 0) == 0 & 1, 0, ~i6, ~i9) | 0;
+ i14 = i12;
+ i15 = i4;
+ i16 = tempRet0;
+ i17 = i13;
+ } else {
+ i14 = i11;
+ i15 = i7;
+ i16 = i9;
+ i17 = i6;
+ }
+ i6 = 0;
+ if ((i5 | 0) < (i6 | 0) | (i5 | 0) == (i6 | 0) & i8 >>> 0 < 0 >>> 0) {
+ i6 = _i64Subtract(0, 0, i8, i5) | 0;
+ i18 = i10 ^ 1;
+ i19 = tempRet0;
+ i20 = i6;
+ } else {
+ i18 = i10;
+ i19 = i5;
+ i20 = i8;
+ }
+ i8 = i15 | 0;
+ i15 = i14 & 0;
+ i5 = i20 | 0;
+ i10 = i19 & 0;
+ i6 = ___muldi3(i5, i10, i8, i15) | 0;
+ i9 = tempRet0;
+ i7 = i19;
+ i11 = 0;
+ i13 = ___muldi3(i7, i11, i8, i15) | 0;
+ i15 = tempRet0;
+ i8 = i14;
+ i14 = 0;
+ i4 = ___muldi3(i5, i10, i8, i14) | 0;
+ i10 = tempRet0;
+ i5 = ___muldi3(i7, i11, i8, i14) | 0;
+ i14 = tempRet0;
+ i8 = _i64Add(i13 | 0, i15 & 0, i4 | 0, i10 & 0) | 0;
+ i4 = tempRet0;
+ i13 = _llvm_uadd_with_overflow_i64(i6 | 0, i9 | 0, 0, i8 | 0) | 0;
+ i8 = i13;
+ i13 = tempRet0;
+ i9 = tempRet1 & 1;
+ i6 = ___muldi3(i20, i19, i17, i16) | 0;
+ i16 = _i64Add(i5, i14, i6, tempRet0) | 0;
+ i6 = _i64Add(i16, tempRet0, i15, 0) | 0;
+ i15 = _i64Add(i6, tempRet0, i10, 0) | 0;
+ i10 = _i64Add(i15, tempRet0, i9, 0) | 0;
+ i9 = _i64Add(i10, tempRet0, i4, 0) | 0;
+ i4 = tempRet0;
+ if (i18) {
+ i18 = _i64Subtract(0, 0, i8, i13) | 0;
+ i10 = tempRet0;
+ i15 = _i64Add((i8 | 0) == 0 & (i13 | 0) == 0 & 1, 0, ~i9, ~i4) | 0;
+ i21 = i10;
+ i22 = i18;
+ i23 = tempRet0;
+ i24 = i15;
+ } else {
+ i21 = i13;
+ i22 = i8;
+ i23 = i4;
+ i24 = i9;
+ }
+ i9 = i3 + 8 | 0;
+ i4 = HEAP32[i9 >> 2] | 0;
+ i8 = HEAP32[i9 + 4 >> 2] | 0;
+ i9 = i2 + 48 | 0;
+ i13 = HEAP32[i9 >> 2] | 0;
+ i15 = HEAP32[i9 + 4 >> 2] | 0;
+ i9 = 0;
+ i18 = (i15 | 0) < (i9 | 0) | (i15 | 0) == (i9 | 0) & i13 >>> 0 < 0 >>> 0;
+ i9 = i2 + 40 | 0;
+ i10 = HEAP32[i9 >> 2] | 0;
+ i6 = HEAP32[i9 + 4 >> 2] | 0;
+ if (i18) {
+ i9 = _i64Subtract(0, 0, i10, i6) | 0;
+ i16 = tempRet0;
+ i14 = _i64Add((i10 | 0) == 0 & (i6 | 0) == 0 & 1, 0, ~i13, ~i15) | 0;
+ i25 = i16;
+ i26 = i9;
+ i27 = tempRet0;
+ i28 = i14;
+ } else {
+ i25 = i6;
+ i26 = i10;
+ i27 = i15;
+ i28 = i13;
+ }
+ i13 = 0;
+ if ((i8 | 0) < (i13 | 0) | (i8 | 0) == (i13 | 0) & i4 >>> 0 < 0 >>> 0) {
+ i13 = _i64Subtract(0, 0, i4, i8) | 0;
+ i29 = i18 ^ 1;
+ i30 = tempRet0;
+ i31 = i13;
+ } else {
+ i29 = i18;
+ i30 = i8;
+ i31 = i4;
+ }
+ i4 = i26 | 0;
+ i26 = i25 & 0;
+ i8 = i31 | 0;
+ i18 = i30 & 0;
+ i13 = ___muldi3(i8, i18, i4, i26) | 0;
+ i15 = tempRet0;
+ i10 = i30;
+ i6 = 0;
+ i14 = ___muldi3(i10, i6, i4, i26) | 0;
+ i26 = tempRet0;
+ i4 = i25;
+ i25 = 0;
+ i9 = ___muldi3(i8, i18, i4, i25) | 0;
+ i18 = tempRet0;
+ i8 = ___muldi3(i10, i6, i4, i25) | 0;
+ i25 = tempRet0;
+ i4 = _i64Add(i14 | 0, i26 & 0, i9 | 0, i18 & 0) | 0;
+ i9 = tempRet0;
+ i14 = _llvm_uadd_with_overflow_i64(i13 | 0, i15 | 0, 0, i4 | 0) | 0;
+ i4 = i14;
+ i14 = tempRet0;
+ i15 = tempRet1 & 1;
+ i13 = ___muldi3(i31, i30, i28, i27) | 0;
+ i27 = _i64Add(i8, i25, i13, tempRet0) | 0;
+ i13 = _i64Add(i27, tempRet0, i26, 0) | 0;
+ i26 = _i64Add(i13, tempRet0, i18, 0) | 0;
+ i18 = _i64Add(i26, tempRet0, i15, 0) | 0;
+ i15 = _i64Add(i18, tempRet0, i9, 0) | 0;
+ i9 = tempRet0;
+ if (i29) {
+ i29 = _i64Subtract(0, 0, i4, i14) | 0;
+ i18 = tempRet0;
+ i26 = _i64Add((i4 | 0) == 0 & (i14 | 0) == 0 & 1, 0, ~i15, ~i9) | 0;
+ i32 = i18;
+ i33 = i29;
+ i34 = tempRet0;
+ i35 = i26;
+ } else {
+ i32 = i14;
+ i33 = i4;
+ i34 = i9;
+ i35 = i15;
+ }
+ i15 = _llvm_uadd_with_overflow_i64(i22 | 0, i21 | 0, i33 | 0, i32 | 0) | 0;
+ i32 = tempRet1;
+ i33 = tempRet0;
+ i21 = _i64Add(i35, i34, i24, i23) | 0;
+ i23 = _i64Add(i21, tempRet0, i32 & 1, 0) | 0;
+ i32 = tempRet0;
+ i21 = i3 + 16 | 0;
+ i3 = HEAP32[i21 >> 2] | 0;
+ i24 = HEAP32[i21 + 4 >> 2] | 0;
+ i21 = i2 + 64 | 0;
+ i34 = HEAP32[i21 >> 2] | 0;
+ i35 = HEAP32[i21 + 4 >> 2] | 0;
+ i21 = 0;
+ i22 = (i35 | 0) < (i21 | 0) | (i35 | 0) == (i21 | 0) & i34 >>> 0 < 0 >>> 0;
+ i21 = i2 + 56 | 0;
+ i9 = HEAP32[i21 >> 2] | 0;
+ i4 = HEAP32[i21 + 4 >> 2] | 0;
+ if (i22) {
+ i21 = _i64Subtract(0, 0, i9, i4) | 0;
+ i14 = tempRet0;
+ i26 = _i64Add((i9 | 0) == 0 & (i4 | 0) == 0 & 1, 0, ~i34, ~i35) | 0;
+ i36 = i14;
+ i37 = i21;
+ i38 = tempRet0;
+ i39 = i26;
+ } else {
+ i36 = i4;
+ i37 = i9;
+ i38 = i35;
+ i39 = i34;
+ }
+ i34 = 0;
+ if ((i24 | 0) < (i34 | 0) | (i24 | 0) == (i34 | 0) & i3 >>> 0 < 0 >>> 0) {
+ i34 = _i64Subtract(0, 0, i3, i24) | 0;
+ i40 = i22 ^ 1;
+ i41 = tempRet0;
+ i42 = i34;
+ } else {
+ i40 = i22;
+ i41 = i24;
+ i42 = i3;
+ }
+ i3 = i37 | 0;
+ i37 = i36 & 0;
+ i24 = i42 | 0;
+ i22 = i41 & 0;
+ i34 = ___muldi3(i24, i22, i3, i37) | 0;
+ i35 = tempRet0;
+ i9 = i41;
+ i4 = 0;
+ i26 = ___muldi3(i9, i4, i3, i37) | 0;
+ i37 = tempRet0;
+ i3 = i36;
+ i36 = 0;
+ i21 = ___muldi3(i24, i22, i3, i36) | 0;
+ i22 = tempRet0;
+ i24 = ___muldi3(i9, i4, i3, i36) | 0;
+ i36 = tempRet0;
+ i3 = _i64Add(i26 | 0, i37 & 0, i21 | 0, i22 & 0) | 0;
+ i21 = tempRet0;
+ i26 = _llvm_uadd_with_overflow_i64(i34 | 0, i35 | 0, 0, i3 | 0) | 0;
+ i3 = i26;
+ i26 = tempRet0;
+ i35 = tempRet1 & 1;
+ i34 = ___muldi3(i42, i41, i39, i38) | 0;
+ i38 = _i64Add(i24, i36, i34, tempRet0) | 0;
+ i34 = _i64Add(i38, tempRet0, i37, 0) | 0;
+ i37 = _i64Add(i34, tempRet0, i22, 0) | 0;
+ i22 = _i64Add(i37, tempRet0, i35, 0) | 0;
+ i35 = _i64Add(i22, tempRet0, i21, 0) | 0;
+ i21 = tempRet0;
+ if (i40) {
+ i40 = _i64Subtract(0, 0, i3, i26) | 0;
+ i22 = tempRet0;
+ i37 = _i64Add((i3 | 0) == 0 & (i26 | 0) == 0 & 1, 0, ~i35, ~i21) | 0;
+ i43 = i22;
+ i44 = i40;
+ i45 = tempRet0;
+ i46 = i37;
+ } else {
+ i43 = i26;
+ i44 = i3;
+ i45 = i21;
+ i46 = i35;
+ }
+ i35 = _llvm_uadd_with_overflow_i64(i15 | 0, i33 | 0, i44 | 0, i43 | 0) | 0;
+ i43 = tempRet1;
+ i44 = i35;
+ i35 = tempRet0;
+ i33 = _i64Add(i23, i32, i46, i45) | 0;
+ i45 = _i64Add(i33, tempRet0, i43 & 1, 0) | 0;
+ i43 = tempRet0;
+ i33 = i2 + 72 | 0;
+ i46 = i1 + 16 | 0;
+ i32 = 0;
+ if ((i43 | 0) < (i32 | 0) | (i43 | 0) == (i32 | 0) & i45 >>> 0 < 0 >>> 0) {
+ i32 = i1 + 32 | 0;
+ HEAP32[i32 >> 2] = -1;
+ i23 = _i64Subtract(0, 0, i44, i35) | 0;
+ i15 = tempRet0;
+ i21 = _i64Add((i44 | 0) == 0 & (i35 | 0) == 0 & 1, 0, ~i45, ~i43) | 0;
+ i3 = i1 | 0;
+ HEAP32[i3 >> 2] = i23;
+ HEAP32[i3 + 4 >> 2] = i15;
+ i15 = i1 + 8 | 0;
+ HEAP32[i15 >> 2] = i21;
+ HEAP32[i15 + 4 >> 2] = tempRet0;
+ i47 = i32;
+ i48 = -1;
+ } else {
+ if ((i45 | 0) == 0 & (i43 | 0) == 0) {
+ i49 = ((i44 | 0) != 0 | (i35 | 0) != 0) & 1;
+ } else {
+ i49 = 1;
+ }
+ i32 = i1 + 32 | 0;
+ HEAP32[i32 >> 2] = i49;
+ i15 = i1 | 0;
+ HEAP32[i15 >> 2] = i44;
+ HEAP32[i15 + 4 >> 2] = i35;
+ i35 = i1 + 8 | 0;
+ HEAP32[i35 >> 2] = i45;
+ HEAP32[i35 + 4 >> 2] = i43;
+ i47 = i32;
+ i48 = i49;
+ }
+ i49 = i2 + 80 | 0;
+ i2 = HEAP32[i49 >> 2] | 0;
+ i32 = HEAP32[i49 + 4 >> 2] | 0;
+ i49 = 0;
+ if ((i32 | 0) < (i49 | 0) | (i32 | 0) == (i49 | 0) & i2 >>> 0 < 0 >>> 0) {
+ HEAP32[i47 >> 2] = -i48;
+ i48 = i33 | 0;
+ i47 = HEAP32[i48 >> 2] | 0;
+ i49 = HEAP32[i48 + 4 >> 2] | 0;
+ i48 = _i64Subtract(0, 0, i47, i49) | 0;
+ i43 = tempRet0;
+ i35 = _i64Add((i47 | 0) == 0 & (i49 | 0) == 0 & 1, 0, ~i2, ~i32) | 0;
+ i32 = i1 + 16 | 0;
+ HEAP32[i32 >> 2] = i48;
+ HEAP32[i32 + 4 >> 2] = i43;
+ i43 = i1 + 24 | 0;
+ HEAP32[i43 >> 2] = i35;
+ HEAP32[i43 + 4 >> 2] = tempRet0;
+ } else {
+ i43 = i46;
+ i46 = i33;
+ HEAP32[i43 >> 2] = HEAP32[i46 >> 2];
+ HEAP32[i43 + 4 >> 2] = HEAP32[i46 + 4 >> 2];
+ HEAP32[i43 + 8 >> 2] = HEAP32[i46 + 8 >> 2];
+ HEAP32[i43 + 12 >> 2] = HEAP32[i46 + 12 >> 2];
+ }
+ HEAP8[i1 + 36 | 0] = 0;
+ return;
+}
+function __ZN12gjkepa2_impl3GJK13EncloseOriginEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, d16 = 0.0, d17 = 0.0, d18 = 0.0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, d41 = 0.0, d42 = 0.0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 112 | 0;
+ i3 = i2 | 0;
+ i4 = i2 + 16 | 0;
+ i5 = i2 + 32 | 0;
+ i6 = i2 + 48 | 0;
+ i7 = i2 + 64 | 0;
+ i8 = i2 + 80 | 0;
+ i9 = i2 + 96 | 0;
+ i10 = i1 + 372 | 0;
+ i11 = HEAP32[i10 >> 2] | 0;
+ i12 = i11 + 32 | 0;
+ i13 = HEAP32[i12 >> 2] | 0;
+ L165 : do {
+ if ((i13 | 0) == 2) {
+ i14 = HEAP32[i11 + 4 >> 2] | 0;
+ i15 = HEAP32[i11 >> 2] | 0;
+ d16 = +HEAPF32[i14 + 16 >> 2] - +HEAPF32[i15 + 16 >> 2];
+ d17 = +HEAPF32[i14 + 20 >> 2] - +HEAPF32[i15 + 20 >> 2];
+ d18 = +HEAPF32[i14 + 24 >> 2] - +HEAPF32[i15 + 24 >> 2];
+ i15 = i5 | 0;
+ i14 = i5 + 4 | 0;
+ i19 = i5 + 8 | 0;
+ i20 = i6 | 0;
+ i21 = i6 + 4 | 0;
+ i22 = i6 + 8 | 0;
+ i23 = i6 + 12 | 0;
+ i24 = i1 + 364 | 0;
+ i25 = i7 | 0;
+ i26 = i7 + 4 | 0;
+ i27 = i7 + 8 | 0;
+ i28 = i7 + 12 | 0;
+ i29 = i5;
+ i30 = 0;
+ while (1) {
+ _memset(i29 | 0, 0, 16);
+ HEAPF32[i5 + (i30 << 2) >> 2] = 1.0;
+ d31 = +HEAPF32[i19 >> 2];
+ d32 = +HEAPF32[i14 >> 2];
+ d33 = d17 * d31 - d18 * d32;
+ d34 = +HEAPF32[i15 >> 2];
+ d35 = d18 * d34 - d16 * d31;
+ d31 = d16 * d32 - d17 * d34;
+ HEAPF32[i20 >> 2] = d33;
+ HEAPF32[i21 >> 2] = d35;
+ HEAPF32[i22 >> 2] = d31;
+ HEAPF32[i23 >> 2] = 0.0;
+ if (d31 * d31 + (d33 * d33 + d35 * d35) > 0.0) {
+ i36 = HEAP32[i10 >> 2] | 0;
+ i37 = i36 + 32 | 0;
+ HEAPF32[i36 + 16 + (HEAP32[i37 >> 2] << 2) >> 2] = 0.0;
+ i38 = (HEAP32[i24 >> 2] | 0) - 1 | 0;
+ HEAP32[i24 >> 2] = i38;
+ HEAP32[i36 + (HEAP32[i37 >> 2] << 2) >> 2] = HEAP32[i1 + 348 + (i38 << 2) >> 2];
+ i38 = HEAP32[i37 >> 2] | 0;
+ HEAP32[i37 >> 2] = i38 + 1;
+ __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i1, i6, HEAP32[i36 + (i38 << 2) >> 2] | 0);
+ if (__ZN12gjkepa2_impl3GJK13EncloseOriginEv(i1) | 0) {
+ i39 = 1;
+ i40 = 143;
+ break;
+ }
+ i38 = HEAP32[i10 >> 2] | 0;
+ i36 = i38 + 32 | 0;
+ i37 = (HEAP32[i36 >> 2] | 0) - 1 | 0;
+ HEAP32[i36 >> 2] = i37;
+ i36 = HEAP32[i38 + (i37 << 2) >> 2] | 0;
+ i37 = HEAP32[i24 >> 2] | 0;
+ HEAP32[i24 >> 2] = i37 + 1;
+ HEAP32[i1 + 348 + (i37 << 2) >> 2] = i36;
+ i36 = HEAP32[i10 >> 2] | 0;
+ d35 = -0.0 - +HEAPF32[i21 >> 2];
+ d33 = -0.0 - +HEAPF32[i22 >> 2];
+ HEAPF32[i25 >> 2] = -0.0 - +HEAPF32[i20 >> 2];
+ HEAPF32[i26 >> 2] = d35;
+ HEAPF32[i27 >> 2] = d33;
+ HEAPF32[i28 >> 2] = 0.0;
+ i37 = i36 + 32 | 0;
+ HEAPF32[i36 + 16 + (HEAP32[i37 >> 2] << 2) >> 2] = 0.0;
+ i38 = (HEAP32[i24 >> 2] | 0) - 1 | 0;
+ HEAP32[i24 >> 2] = i38;
+ HEAP32[i36 + (HEAP32[i37 >> 2] << 2) >> 2] = HEAP32[i1 + 348 + (i38 << 2) >> 2];
+ i38 = HEAP32[i37 >> 2] | 0;
+ HEAP32[i37 >> 2] = i38 + 1;
+ __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i1, i7, HEAP32[i36 + (i38 << 2) >> 2] | 0);
+ if (__ZN12gjkepa2_impl3GJK13EncloseOriginEv(i1) | 0) {
+ i39 = 1;
+ i40 = 144;
+ break;
+ }
+ i38 = HEAP32[i10 >> 2] | 0;
+ i36 = i38 + 32 | 0;
+ i37 = (HEAP32[i36 >> 2] | 0) - 1 | 0;
+ HEAP32[i36 >> 2] = i37;
+ i36 = HEAP32[i38 + (i37 << 2) >> 2] | 0;
+ i37 = HEAP32[i24 >> 2] | 0;
+ HEAP32[i24 >> 2] = i37 + 1;
+ HEAP32[i1 + 348 + (i37 << 2) >> 2] = i36;
+ }
+ i30 = i30 + 1 | 0;
+ if (i30 >>> 0 >= 3) {
+ break L165;
+ }
+ }
+ if ((i40 | 0) == 143) {
+ STACKTOP = i2;
+ return i39 | 0;
+ } else if ((i40 | 0) == 144) {
+ STACKTOP = i2;
+ return i39 | 0;
+ }
+ } else if ((i13 | 0) == 3) {
+ i30 = HEAP32[i11 + 4 >> 2] | 0;
+ i24 = HEAP32[i11 >> 2] | 0;
+ d17 = +HEAPF32[i24 + 16 >> 2];
+ d16 = +HEAPF32[i30 + 16 >> 2] - d17;
+ d18 = +HEAPF32[i24 + 20 >> 2];
+ d33 = +HEAPF32[i30 + 20 >> 2] - d18;
+ d35 = +HEAPF32[i24 + 24 >> 2];
+ d31 = +HEAPF32[i30 + 24 >> 2] - d35;
+ i30 = HEAP32[i11 + 8 >> 2] | 0;
+ d34 = +HEAPF32[i30 + 16 >> 2] - d17;
+ d17 = +HEAPF32[i30 + 20 >> 2] - d18;
+ d18 = +HEAPF32[i30 + 24 >> 2] - d35;
+ d35 = d33 * d18 - d31 * d17;
+ d32 = d31 * d34 - d16 * d18;
+ d18 = d16 * d17 - d33 * d34;
+ i30 = i8 | 0;
+ HEAPF32[i30 >> 2] = d35;
+ i24 = i8 + 4 | 0;
+ HEAPF32[i24 >> 2] = d32;
+ i28 = i8 + 8 | 0;
+ HEAPF32[i28 >> 2] = d18;
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ if (d18 * d18 + (d35 * d35 + d32 * d32) <= 0.0) {
+ break;
+ }
+ HEAPF32[i11 + 28 >> 2] = 0.0;
+ i27 = i1 + 364 | 0;
+ i26 = (HEAP32[i27 >> 2] | 0) - 1 | 0;
+ HEAP32[i27 >> 2] = i26;
+ HEAP32[i11 + (HEAP32[i12 >> 2] << 2) >> 2] = HEAP32[i1 + 348 + (i26 << 2) >> 2];
+ i26 = HEAP32[i12 >> 2] | 0;
+ HEAP32[i12 >> 2] = i26 + 1;
+ __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i1, i8, HEAP32[i11 + (i26 << 2) >> 2] | 0);
+ if (__ZN12gjkepa2_impl3GJK13EncloseOriginEv(i1) | 0) {
+ i39 = 1;
+ STACKTOP = i2;
+ return i39 | 0;
+ }
+ i26 = HEAP32[i10 >> 2] | 0;
+ i20 = i26 + 32 | 0;
+ i25 = (HEAP32[i20 >> 2] | 0) - 1 | 0;
+ HEAP32[i20 >> 2] = i25;
+ i20 = HEAP32[i26 + (i25 << 2) >> 2] | 0;
+ i25 = HEAP32[i27 >> 2] | 0;
+ HEAP32[i27 >> 2] = i25 + 1;
+ HEAP32[i1 + 348 + (i25 << 2) >> 2] = i20;
+ i20 = HEAP32[i10 >> 2] | 0;
+ d32 = -0.0 - +HEAPF32[i24 >> 2];
+ d35 = -0.0 - +HEAPF32[i28 >> 2];
+ HEAPF32[i9 >> 2] = -0.0 - +HEAPF32[i30 >> 2];
+ HEAPF32[i9 + 4 >> 2] = d32;
+ HEAPF32[i9 + 8 >> 2] = d35;
+ HEAPF32[i9 + 12 >> 2] = 0.0;
+ i30 = i20 + 32 | 0;
+ HEAPF32[i20 + 16 + (HEAP32[i30 >> 2] << 2) >> 2] = 0.0;
+ i28 = (HEAP32[i27 >> 2] | 0) - 1 | 0;
+ HEAP32[i27 >> 2] = i28;
+ HEAP32[i20 + (HEAP32[i30 >> 2] << 2) >> 2] = HEAP32[i1 + 348 + (i28 << 2) >> 2];
+ i28 = HEAP32[i30 >> 2] | 0;
+ HEAP32[i30 >> 2] = i28 + 1;
+ __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i1, i9, HEAP32[i20 + (i28 << 2) >> 2] | 0);
+ if (__ZN12gjkepa2_impl3GJK13EncloseOriginEv(i1) | 0) {
+ i39 = 1;
+ STACKTOP = i2;
+ return i39 | 0;
+ } else {
+ i28 = HEAP32[i10 >> 2] | 0;
+ i20 = i28 + 32 | 0;
+ i30 = (HEAP32[i20 >> 2] | 0) - 1 | 0;
+ HEAP32[i20 >> 2] = i30;
+ i20 = HEAP32[i28 + (i30 << 2) >> 2] | 0;
+ i30 = HEAP32[i27 >> 2] | 0;
+ HEAP32[i27 >> 2] = i30 + 1;
+ HEAP32[i1 + 348 + (i30 << 2) >> 2] = i20;
+ break;
+ }
+ } else if ((i13 | 0) == 4) {
+ i20 = HEAP32[i11 >> 2] | 0;
+ i30 = HEAP32[i11 + 12 >> 2] | 0;
+ d35 = +HEAPF32[i30 + 16 >> 2];
+ d32 = +HEAPF32[i20 + 16 >> 2] - d35;
+ d18 = +HEAPF32[i30 + 20 >> 2];
+ d34 = +HEAPF32[i20 + 20 >> 2] - d18;
+ d33 = +HEAPF32[i30 + 24 >> 2];
+ d17 = +HEAPF32[i20 + 24 >> 2] - d33;
+ i20 = HEAP32[i11 + 4 >> 2] | 0;
+ d16 = +HEAPF32[i20 + 16 >> 2] - d35;
+ d31 = +HEAPF32[i20 + 20 >> 2] - d18;
+ d41 = +HEAPF32[i20 + 24 >> 2] - d33;
+ i20 = HEAP32[i11 + 8 >> 2] | 0;
+ d42 = +HEAPF32[i20 + 16 >> 2] - d35;
+ d35 = +HEAPF32[i20 + 20 >> 2] - d18;
+ d18 = +HEAPF32[i20 + 24 >> 2] - d33;
+ if (d32 * d31 * d18 + (d34 * d41 * d42 + d17 * d16 * d35 - d32 * d41 * d35 - d34 * d16 * d18) - d17 * d31 * d42 == 0.0) {
+ break;
+ } else {
+ i39 = 1;
+ }
+ STACKTOP = i2;
+ return i39 | 0;
+ } else if ((i13 | 0) == 1) {
+ i20 = i3 | 0;
+ i30 = i3 + 4 | 0;
+ i27 = i3 + 8 | 0;
+ i28 = i1 + 364 | 0;
+ i24 = i4 | 0;
+ i25 = i4 + 4 | 0;
+ i26 = i4 + 8 | 0;
+ i22 = i4 + 12 | 0;
+ i21 = i3;
+ i23 = 0;
+ i15 = i11;
+ i14 = 1;
+ while (1) {
+ _memset(i21 | 0, 0, 16);
+ HEAPF32[i3 + (i23 << 2) >> 2] = 1.0;
+ i19 = i15 + 32 | 0;
+ HEAPF32[i15 + 16 + (i14 << 2) >> 2] = 0.0;
+ i29 = (HEAP32[i28 >> 2] | 0) - 1 | 0;
+ HEAP32[i28 >> 2] = i29;
+ HEAP32[i15 + (HEAP32[i19 >> 2] << 2) >> 2] = HEAP32[i1 + 348 + (i29 << 2) >> 2];
+ i29 = HEAP32[i19 >> 2] | 0;
+ HEAP32[i19 >> 2] = i29 + 1;
+ __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i1, i3, HEAP32[i15 + (i29 << 2) >> 2] | 0);
+ if (__ZN12gjkepa2_impl3GJK13EncloseOriginEv(i1) | 0) {
+ i39 = 1;
+ i40 = 149;
+ break;
+ }
+ i29 = HEAP32[i10 >> 2] | 0;
+ i19 = i29 + 32 | 0;
+ i36 = (HEAP32[i19 >> 2] | 0) - 1 | 0;
+ HEAP32[i19 >> 2] = i36;
+ i19 = HEAP32[i29 + (i36 << 2) >> 2] | 0;
+ i36 = HEAP32[i28 >> 2] | 0;
+ HEAP32[i28 >> 2] = i36 + 1;
+ HEAP32[i1 + 348 + (i36 << 2) >> 2] = i19;
+ i19 = HEAP32[i10 >> 2] | 0;
+ d42 = -0.0 - +HEAPF32[i30 >> 2];
+ d31 = -0.0 - +HEAPF32[i27 >> 2];
+ HEAPF32[i24 >> 2] = -0.0 - +HEAPF32[i20 >> 2];
+ HEAPF32[i25 >> 2] = d42;
+ HEAPF32[i26 >> 2] = d31;
+ HEAPF32[i22 >> 2] = 0.0;
+ i36 = i19 + 32 | 0;
+ HEAPF32[i19 + 16 + (HEAP32[i36 >> 2] << 2) >> 2] = 0.0;
+ i29 = (HEAP32[i28 >> 2] | 0) - 1 | 0;
+ HEAP32[i28 >> 2] = i29;
+ HEAP32[i19 + (HEAP32[i36 >> 2] << 2) >> 2] = HEAP32[i1 + 348 + (i29 << 2) >> 2];
+ i29 = HEAP32[i36 >> 2] | 0;
+ HEAP32[i36 >> 2] = i29 + 1;
+ __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i1, i4, HEAP32[i19 + (i29 << 2) >> 2] | 0);
+ if (__ZN12gjkepa2_impl3GJK13EncloseOriginEv(i1) | 0) {
+ i39 = 1;
+ i40 = 150;
+ break;
+ }
+ i29 = HEAP32[i10 >> 2] | 0;
+ i19 = i29 + 32 | 0;
+ i36 = (HEAP32[i19 >> 2] | 0) - 1 | 0;
+ HEAP32[i19 >> 2] = i36;
+ i19 = HEAP32[i29 + (i36 << 2) >> 2] | 0;
+ i36 = HEAP32[i28 >> 2] | 0;
+ HEAP32[i28 >> 2] = i36 + 1;
+ HEAP32[i1 + 348 + (i36 << 2) >> 2] = i19;
+ i19 = i23 + 1 | 0;
+ if (i19 >>> 0 >= 3) {
+ break L165;
+ }
+ i36 = HEAP32[i10 >> 2] | 0;
+ i23 = i19;
+ i15 = i36;
+ i14 = HEAP32[i36 + 32 >> 2] | 0;
+ }
+ if ((i40 | 0) == 149) {
+ STACKTOP = i2;
+ return i39 | 0;
+ } else if ((i40 | 0) == 150) {
+ STACKTOP = i2;
+ return i39 | 0;
+ }
+ }
+ } while (0);
+ i39 = 0;
+ STACKTOP = i2;
+ return i39 | 0;
+}
+function __ZN22btCompoundLeafCallback17ProcessChildShapeEP16btCollisionShapei(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, d45 = 0.0, d46 = 0.0, i47 = 0, i48 = 0, i49 = 0, i50 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 224 | 0;
+ i5 = i4 + 64 | 0;
+ i6 = i4 + 128 | 0;
+ i7 = i4 + 144 | 0;
+ i8 = i4 + 160 | 0;
+ i9 = i4 + 176 | 0;
+ i10 = i4 + 192 | 0;
+ i11 = i4 + 208 | 0;
+ i12 = i1 + 4 | 0;
+ i13 = HEAP32[i12 >> 2] | 0;
+ i14 = HEAP32[i13 + 192 >> 2] | 0;
+ d15 = +HEAPF32[i13 + 4 >> 2];
+ d16 = +HEAPF32[i13 + 8 >> 2];
+ d17 = +HEAPF32[i13 + 12 >> 2];
+ d18 = +HEAPF32[i13 + 16 >> 2];
+ d19 = +HEAPF32[i13 + 20 >> 2];
+ d20 = +HEAPF32[i13 + 24 >> 2];
+ d21 = +HEAPF32[i13 + 28 >> 2];
+ d22 = +HEAPF32[i13 + 32 >> 2];
+ d23 = +HEAPF32[i13 + 36 >> 2];
+ d24 = +HEAPF32[i13 + 40 >> 2];
+ d25 = +HEAPF32[i13 + 44 >> 2];
+ d26 = +HEAPF32[i13 + 48 >> 2];
+ d27 = +HEAPF32[i13 + 52 >> 2];
+ d28 = +HEAPF32[i13 + 56 >> 2];
+ d29 = +HEAPF32[i13 + 60 >> 2];
+ d30 = +HEAPF32[i13 + 64 >> 2];
+ i31 = i13 + 68 | 0;
+ i32 = i4 | 0;
+ HEAP32[i32 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i32 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i32 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i32 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ i31 = i13 + 84 | 0;
+ i33 = i4 + 16 | 0;
+ HEAP32[i33 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i33 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i33 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i33 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ i31 = i13 + 100 | 0;
+ i34 = i4 + 32 | 0;
+ HEAP32[i34 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i34 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i34 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i34 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ i31 = i13 + 116 | 0;
+ i13 = i4 + 48 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ i31 = HEAP32[i14 + 24 >> 2] | 0;
+ d35 = +HEAPF32[i31 + (i3 * 80 | 0) >> 2];
+ d36 = +HEAPF32[i31 + (i3 * 80 | 0) + 16 >> 2];
+ d37 = +HEAPF32[i31 + (i3 * 80 | 0) + 32 >> 2];
+ d38 = +HEAPF32[i31 + (i3 * 80 | 0) + 4 >> 2];
+ d39 = +HEAPF32[i31 + (i3 * 80 | 0) + 20 >> 2];
+ d40 = +HEAPF32[i31 + (i3 * 80 | 0) + 36 >> 2];
+ d41 = +HEAPF32[i31 + (i3 * 80 | 0) + 8 >> 2];
+ d42 = +HEAPF32[i31 + (i3 * 80 | 0) + 24 >> 2];
+ d43 = +HEAPF32[i31 + (i3 * 80 | 0) + 40 >> 2];
+ d44 = +HEAPF32[i31 + (i3 * 80 | 0) + 48 >> 2];
+ d45 = +HEAPF32[i31 + (i3 * 80 | 0) + 52 >> 2];
+ d46 = +HEAPF32[i31 + (i3 * 80 | 0) + 56 >> 2];
+ HEAPF32[i5 >> 2] = d15 * d35 + d16 * d36 + d17 * d37;
+ HEAPF32[i5 + 4 >> 2] = d15 * d38 + d16 * d39 + d17 * d40;
+ HEAPF32[i5 + 8 >> 2] = d15 * d41 + d16 * d42 + d17 * d43;
+ HEAPF32[i5 + 12 >> 2] = 0.0;
+ HEAPF32[i5 + 16 >> 2] = d19 * d35 + d20 * d36 + d21 * d37;
+ HEAPF32[i5 + 20 >> 2] = d19 * d38 + d20 * d39 + d21 * d40;
+ HEAPF32[i5 + 24 >> 2] = d19 * d41 + d20 * d42 + d21 * d43;
+ HEAPF32[i5 + 28 >> 2] = 0.0;
+ HEAPF32[i5 + 32 >> 2] = d23 * d35 + d24 * d36 + d25 * d37;
+ HEAPF32[i5 + 36 >> 2] = d23 * d38 + d24 * d39 + d25 * d40;
+ HEAPF32[i5 + 40 >> 2] = d23 * d41 + d24 * d42 + d25 * d43;
+ HEAPF32[i5 + 44 >> 2] = 0.0;
+ HEAPF32[i5 + 48 >> 2] = d27 + (d15 * d44 + d16 * d45 + d17 * d46);
+ HEAPF32[i5 + 52 >> 2] = d28 + (d19 * d44 + d20 * d45 + d21 * d46);
+ HEAPF32[i5 + 56 >> 2] = d29 + (d23 * d44 + d24 * d45 + d25 * d46);
+ HEAPF32[i5 + 60 >> 2] = 0.0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 8 >> 2] & 127](i2, i5, i6, i7);
+ i31 = i1 + 8 | 0;
+ i14 = HEAP32[i31 >> 2] | 0;
+ i47 = HEAP32[i14 + 192 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i47 >> 2] | 0) + 8 >> 2] & 127](i47, i14 + 4 | 0, i8, i9);
+ do {
+ if (+HEAPF32[i6 >> 2] > +HEAPF32[i9 >> 2]) {
+ i48 = 0;
+ } else {
+ if (+HEAPF32[i7 >> 2] < +HEAPF32[i8 >> 2]) {
+ i48 = 0;
+ break;
+ }
+ i48 = 1;
+ }
+ } while (0);
+ do {
+ if (+HEAPF32[i6 + 8 >> 2] > +HEAPF32[i9 + 8 >> 2]) {
+ i49 = 0;
+ } else {
+ if (+HEAPF32[i7 + 8 >> 2] < +HEAPF32[i8 + 8 >> 2]) {
+ i49 = 0;
+ break;
+ }
+ i49 = i48;
+ }
+ } while (0);
+ if (+HEAPF32[i6 + 4 >> 2] > +HEAPF32[i9 + 4 >> 2]) {
+ STACKTOP = i4;
+ return;
+ }
+ if (+HEAPF32[i7 + 4 >> 2] < +HEAPF32[i8 + 4 >> 2] | i49 ^ 1) {
+ STACKTOP = i4;
+ return;
+ }
+ i49 = HEAP32[i12 >> 2] | 0;
+ i48 = i49 + 4 | 0;
+ i14 = i5;
+ HEAP32[i48 >> 2] = HEAP32[i14 >> 2];
+ HEAP32[i48 + 4 >> 2] = HEAP32[i14 + 4 >> 2];
+ HEAP32[i48 + 8 >> 2] = HEAP32[i14 + 8 >> 2];
+ HEAP32[i48 + 12 >> 2] = HEAP32[i14 + 12 >> 2];
+ i48 = i49 + 20 | 0;
+ i47 = i5 + 16 | 0;
+ HEAP32[i48 >> 2] = HEAP32[i47 >> 2];
+ HEAP32[i48 + 4 >> 2] = HEAP32[i47 + 4 >> 2];
+ HEAP32[i48 + 8 >> 2] = HEAP32[i47 + 8 >> 2];
+ HEAP32[i48 + 12 >> 2] = HEAP32[i47 + 12 >> 2];
+ i48 = i49 + 36 | 0;
+ i50 = i5 + 32 | 0;
+ HEAP32[i48 >> 2] = HEAP32[i50 >> 2];
+ HEAP32[i48 + 4 >> 2] = HEAP32[i50 + 4 >> 2];
+ HEAP32[i48 + 8 >> 2] = HEAP32[i50 + 8 >> 2];
+ HEAP32[i48 + 12 >> 2] = HEAP32[i50 + 12 >> 2];
+ i48 = i49 + 52 | 0;
+ i49 = i5 + 48 | 0;
+ HEAP32[i48 >> 2] = HEAP32[i49 >> 2];
+ HEAP32[i48 + 4 >> 2] = HEAP32[i49 + 4 >> 2];
+ HEAP32[i48 + 8 >> 2] = HEAP32[i49 + 8 >> 2];
+ HEAP32[i48 + 12 >> 2] = HEAP32[i49 + 12 >> 2];
+ i48 = HEAP32[i12 >> 2] | 0;
+ i5 = i48 + 68 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i14 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i14 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i14 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i14 + 12 >> 2];
+ i14 = i48 + 84 | 0;
+ HEAP32[i14 >> 2] = HEAP32[i47 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i47 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i47 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i47 + 12 >> 2];
+ i47 = i48 + 100 | 0;
+ HEAP32[i47 >> 2] = HEAP32[i50 >> 2];
+ HEAP32[i47 + 4 >> 2] = HEAP32[i50 + 4 >> 2];
+ HEAP32[i47 + 8 >> 2] = HEAP32[i50 + 8 >> 2];
+ HEAP32[i47 + 12 >> 2] = HEAP32[i50 + 12 >> 2];
+ i50 = i48 + 116 | 0;
+ HEAP32[i50 >> 2] = HEAP32[i49 >> 2];
+ HEAP32[i50 + 4 >> 2] = HEAP32[i49 + 4 >> 2];
+ HEAP32[i50 + 8 >> 2] = HEAP32[i49 + 8 >> 2];
+ HEAP32[i50 + 12 >> 2] = HEAP32[i49 + 12 >> 2];
+ i49 = (HEAP32[i12 >> 2] | 0) + 192 | 0;
+ i50 = HEAP32[i49 >> 2] | 0;
+ HEAP32[i49 >> 2] = i2;
+ i2 = i1 + 24 | 0;
+ if ((HEAP32[(HEAP32[i2 >> 2] | 0) + (i3 << 2) >> 2] | 0) == 0) {
+ i49 = HEAP32[i1 + 12 >> 2] | 0;
+ i48 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i49 >> 2] | 0) + 8 >> 2] & 31](i49, HEAP32[i12 >> 2] | 0, HEAP32[i31 >> 2] | 0, HEAP32[i1 + 28 >> 2] | 0) | 0;
+ HEAP32[(HEAP32[i2 >> 2] | 0) + (i3 << 2) >> 2] = i48;
+ }
+ i48 = i1 + 20 | 0;
+ i49 = HEAP32[i48 >> 2] | 0;
+ i47 = HEAP32[i49 >> 2] | 0;
+ if ((HEAP32[i49 + 136 >> 2] | 0) == (HEAP32[i12 >> 2] | 0)) {
+ FUNCTION_TABLE_viii[HEAP32[i47 + 8 >> 2] & 127](i49, -1, i3);
+ } else {
+ FUNCTION_TABLE_viii[HEAP32[i47 + 12 >> 2] & 127](i49, -1, i3);
+ }
+ i49 = HEAP32[(HEAP32[i2 >> 2] | 0) + (i3 << 2) >> 2] | 0;
+ i3 = i1 + 16 | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i49 >> 2] | 0) + 8 >> 2] & 63](i49, HEAP32[i12 >> 2] | 0, HEAP32[i31 >> 2] | 0, HEAP32[i3 >> 2] | 0, HEAP32[i48 >> 2] | 0);
+ i48 = HEAP32[(HEAP32[i3 >> 2] | 0) + 20 >> 2] | 0;
+ do {
+ if ((i48 | 0) != 0) {
+ if (((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i48 >> 2] | 0) + 48 >> 2] & 127](i48) | 0) & 2 | 0) == 0) {
+ break;
+ }
+ i31 = HEAP32[(HEAP32[i3 >> 2] | 0) + 20 >> 2] | 0;
+ i49 = HEAP32[(HEAP32[i31 >> 2] | 0) + 52 >> 2] | 0;
+ HEAPF32[i10 >> 2] = 1.0;
+ HEAPF32[i10 + 4 >> 2] = 1.0;
+ HEAPF32[i10 + 8 >> 2] = 1.0;
+ HEAPF32[i10 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiii[i49 & 127](i31, i6, i7, i10);
+ i31 = HEAP32[(HEAP32[i3 >> 2] | 0) + 20 >> 2] | 0;
+ i49 = HEAP32[(HEAP32[i31 >> 2] | 0) + 52 >> 2] | 0;
+ HEAPF32[i11 >> 2] = 1.0;
+ HEAPF32[i11 + 4 >> 2] = 1.0;
+ HEAPF32[i11 + 8 >> 2] = 1.0;
+ HEAPF32[i11 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiii[i49 & 127](i31, i8, i9, i11);
+ }
+ } while (0);
+ HEAP32[(HEAP32[i12 >> 2] | 0) + 192 >> 2] = i50;
+ i50 = HEAP32[i12 >> 2] | 0;
+ HEAPF32[i50 + 4 >> 2] = d15;
+ HEAPF32[i50 + 8 >> 2] = d16;
+ HEAPF32[i50 + 12 >> 2] = d17;
+ HEAPF32[i50 + 16 >> 2] = d18;
+ HEAPF32[i50 + 20 >> 2] = d19;
+ HEAPF32[i50 + 24 >> 2] = d20;
+ HEAPF32[i50 + 28 >> 2] = d21;
+ HEAPF32[i50 + 32 >> 2] = d22;
+ HEAPF32[i50 + 36 >> 2] = d23;
+ HEAPF32[i50 + 40 >> 2] = d24;
+ HEAPF32[i50 + 44 >> 2] = d25;
+ HEAPF32[i50 + 48 >> 2] = d26;
+ HEAPF32[i50 + 52 >> 2] = d27;
+ HEAPF32[i50 + 56 >> 2] = d28;
+ HEAPF32[i50 + 60 >> 2] = d29;
+ HEAPF32[i50 + 64 >> 2] = d30;
+ i50 = HEAP32[i12 >> 2] | 0;
+ i12 = i50 + 68 | 0;
+ HEAP32[i12 >> 2] = HEAP32[i32 >> 2];
+ HEAP32[i12 + 4 >> 2] = HEAP32[i32 + 4 >> 2];
+ HEAP32[i12 + 8 >> 2] = HEAP32[i32 + 8 >> 2];
+ HEAP32[i12 + 12 >> 2] = HEAP32[i32 + 12 >> 2];
+ i32 = i50 + 84 | 0;
+ HEAP32[i32 >> 2] = HEAP32[i33 >> 2];
+ HEAP32[i32 + 4 >> 2] = HEAP32[i33 + 4 >> 2];
+ HEAP32[i32 + 8 >> 2] = HEAP32[i33 + 8 >> 2];
+ HEAP32[i32 + 12 >> 2] = HEAP32[i33 + 12 >> 2];
+ i33 = i50 + 100 | 0;
+ HEAP32[i33 >> 2] = HEAP32[i34 >> 2];
+ HEAP32[i33 + 4 >> 2] = HEAP32[i34 + 4 >> 2];
+ HEAP32[i33 + 8 >> 2] = HEAP32[i34 + 8 >> 2];
+ HEAP32[i33 + 12 >> 2] = HEAP32[i34 + 12 >> 2];
+ i34 = i50 + 116 | 0;
+ HEAP32[i34 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i34 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i34 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i34 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ STACKTOP = i4;
+ return;
+}
+function __ZN27btPolyhedralContactClipping8clipFaceERK20btAlignedObjectArrayI9btVector3ERS2_RKS1_f(i1, i2, i3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ var i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, d9 = 0.0, d10 = 0.0, i11 = 0, i12 = 0, d13 = 0.0, d14 = 0.0, d15 = 0.0, i16 = 0, i17 = 0, i18 = 0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, i23 = 0, d24 = 0.0, d25 = 0.0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, d44 = 0.0, d45 = 0.0, d46 = 0.0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0;
+ i5 = HEAP32[i1 + 4 >> 2] | 0;
+ if ((i5 | 0) < 2) {
+ return;
+ }
+ i6 = i5 - 1 | 0;
+ i7 = i1 + 12 | 0;
+ i1 = HEAP32[i7 >> 2] | 0;
+ d8 = +HEAPF32[i1 + (i6 << 4) >> 2];
+ d9 = +HEAPF32[i1 + (i6 << 4) + 4 >> 2];
+ d10 = +HEAPF32[i1 + (i6 << 4) + 8 >> 2];
+ i6 = i3 | 0;
+ i11 = i3 + 4 | 0;
+ i12 = i3 + 8 | 0;
+ d13 = +HEAPF32[i11 >> 2];
+ d14 = +HEAPF32[i6 >> 2];
+ d15 = +HEAPF32[i12 >> 2];
+ i3 = i2 + 4 | 0;
+ i16 = i2 + 8 | 0;
+ i17 = i2 + 12 | 0;
+ i18 = i2 + 16 | 0;
+ d19 = d10;
+ d20 = d9;
+ d21 = d8;
+ d22 = d9 * d13 + d8 * d14 + d10 * d15 + d4;
+ i2 = 0;
+ i23 = i1;
+ d10 = d14;
+ d14 = d13;
+ d13 = d15;
+ while (1) {
+ d15 = +HEAPF32[i23 + (i2 << 4) >> 2];
+ d8 = +HEAPF32[i23 + (i2 << 4) + 4 >> 2];
+ d9 = +HEAPF32[i23 + (i2 << 4) + 8 >> 2];
+ d24 = +HEAPF32[i23 + (i2 << 4) + 12 >> 2];
+ d25 = d10 * d15 + d14 * d8 + d13 * d9 + d4;
+ i1 = d25 < 0.0;
+ do {
+ if (d22 < 0.0) {
+ if (i1) {
+ i26 = HEAP32[i3 >> 2] | 0;
+ do {
+ if ((i26 | 0) == (HEAP32[i16 >> 2] | 0)) {
+ i27 = (i26 | 0) == 0 ? 1 : i26 << 1;
+ if ((i26 | 0) >= (i27 | 0)) {
+ i28 = i26;
+ break;
+ }
+ if ((i27 | 0) == 0) {
+ i29 = 0;
+ i30 = i26;
+ } else {
+ i31 = __Z22btAlignedAllocInternalji(i27 << 4, 16) | 0;
+ i29 = i31;
+ i30 = HEAP32[i3 >> 2] | 0;
+ }
+ if ((i30 | 0) > 0) {
+ i31 = 0;
+ do {
+ i32 = i29 + (i31 << 4) | 0;
+ if ((i32 | 0) != 0) {
+ i33 = i32;
+ i32 = (HEAP32[i17 >> 2] | 0) + (i31 << 4) | 0;
+ HEAP32[i33 >> 2] = HEAP32[i32 >> 2];
+ HEAP32[i33 + 4 >> 2] = HEAP32[i32 + 4 >> 2];
+ HEAP32[i33 + 8 >> 2] = HEAP32[i32 + 8 >> 2];
+ HEAP32[i33 + 12 >> 2] = HEAP32[i32 + 12 >> 2];
+ }
+ i31 = i31 + 1 | 0;
+ } while ((i31 | 0) < (i30 | 0));
+ }
+ i31 = HEAP32[i17 >> 2] | 0;
+ if ((i31 | 0) != 0) {
+ if ((HEAP8[i18] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i31);
+ }
+ HEAP32[i17 >> 2] = 0;
+ }
+ HEAP8[i18] = 1;
+ HEAP32[i17 >> 2] = i29;
+ HEAP32[i16 >> 2] = i27;
+ i28 = HEAP32[i3 >> 2] | 0;
+ } else {
+ i28 = i26;
+ }
+ } while (0);
+ i26 = HEAP32[i17 >> 2] | 0;
+ i31 = i26 + (i28 << 4) | 0;
+ if ((i31 | 0) == 0) {
+ i34 = i28;
+ } else {
+ HEAPF32[i31 >> 2] = d15;
+ HEAPF32[i26 + (i28 << 4) + 4 >> 2] = d8;
+ HEAPF32[i26 + (i28 << 4) + 8 >> 2] = d9;
+ HEAPF32[i26 + (i28 << 4) + 12 >> 2] = d24;
+ i34 = HEAP32[i3 >> 2] | 0;
+ }
+ HEAP32[i3 >> 2] = i34 + 1;
+ break;
+ } else {
+ d35 = d22 / (d22 - d25);
+ d36 = d21 + (d15 - d21) * d35;
+ d37 = d20 + (d8 - d20) * d35;
+ d38 = d19 + (d9 - d19) * d35;
+ i26 = HEAP32[i3 >> 2] | 0;
+ do {
+ if ((i26 | 0) == (HEAP32[i16 >> 2] | 0)) {
+ i31 = (i26 | 0) == 0 ? 1 : i26 << 1;
+ if ((i26 | 0) >= (i31 | 0)) {
+ i39 = i26;
+ break;
+ }
+ if ((i31 | 0) == 0) {
+ i40 = 0;
+ i41 = i26;
+ } else {
+ i32 = __Z22btAlignedAllocInternalji(i31 << 4, 16) | 0;
+ i40 = i32;
+ i41 = HEAP32[i3 >> 2] | 0;
+ }
+ if ((i41 | 0) > 0) {
+ i32 = 0;
+ do {
+ i33 = i40 + (i32 << 4) | 0;
+ if ((i33 | 0) != 0) {
+ i42 = i33;
+ i33 = (HEAP32[i17 >> 2] | 0) + (i32 << 4) | 0;
+ HEAP32[i42 >> 2] = HEAP32[i33 >> 2];
+ HEAP32[i42 + 4 >> 2] = HEAP32[i33 + 4 >> 2];
+ HEAP32[i42 + 8 >> 2] = HEAP32[i33 + 8 >> 2];
+ HEAP32[i42 + 12 >> 2] = HEAP32[i33 + 12 >> 2];
+ }
+ i32 = i32 + 1 | 0;
+ } while ((i32 | 0) < (i41 | 0));
+ }
+ i32 = HEAP32[i17 >> 2] | 0;
+ if ((i32 | 0) != 0) {
+ if ((HEAP8[i18] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i32);
+ }
+ HEAP32[i17 >> 2] = 0;
+ }
+ HEAP8[i18] = 1;
+ HEAP32[i17 >> 2] = i40;
+ HEAP32[i16 >> 2] = i31;
+ i39 = HEAP32[i3 >> 2] | 0;
+ } else {
+ i39 = i26;
+ }
+ } while (0);
+ i26 = HEAP32[i17 >> 2] | 0;
+ i32 = i26 + (i39 << 4) | 0;
+ if ((i32 | 0) == 0) {
+ i43 = i39;
+ } else {
+ HEAPF32[i32 >> 2] = d36;
+ HEAPF32[i26 + (i39 << 4) + 4 >> 2] = d37;
+ HEAPF32[i26 + (i39 << 4) + 8 >> 2] = d38;
+ HEAPF32[i26 + (i39 << 4) + 12 >> 2] = 0.0;
+ i43 = HEAP32[i3 >> 2] | 0;
+ }
+ HEAP32[i3 >> 2] = i43 + 1;
+ break;
+ }
+ } else {
+ if (!i1) {
+ break;
+ }
+ d35 = d22 / (d22 - d25);
+ d44 = d21 + (d15 - d21) * d35;
+ d45 = d20 + (d8 - d20) * d35;
+ d46 = d19 + (d9 - d19) * d35;
+ i26 = HEAP32[i3 >> 2] | 0;
+ i32 = HEAP32[i16 >> 2] | 0;
+ do {
+ if ((i26 | 0) == (i32 | 0)) {
+ i27 = (i26 | 0) == 0 ? 1 : i26 << 1;
+ if ((i26 | 0) >= (i27 | 0)) {
+ i47 = i26;
+ i48 = i26;
+ break;
+ }
+ if ((i27 | 0) == 0) {
+ i49 = 0;
+ i50 = i26;
+ } else {
+ i33 = __Z22btAlignedAllocInternalji(i27 << 4, 16) | 0;
+ i49 = i33;
+ i50 = HEAP32[i3 >> 2] | 0;
+ }
+ if ((i50 | 0) > 0) {
+ i33 = 0;
+ do {
+ i42 = i49 + (i33 << 4) | 0;
+ if ((i42 | 0) != 0) {
+ i51 = i42;
+ i42 = (HEAP32[i17 >> 2] | 0) + (i33 << 4) | 0;
+ HEAP32[i51 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i51 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i51 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i51 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ }
+ i33 = i33 + 1 | 0;
+ } while ((i33 | 0) < (i50 | 0));
+ }
+ i33 = HEAP32[i17 >> 2] | 0;
+ if ((i33 | 0) != 0) {
+ if ((HEAP8[i18] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i33);
+ }
+ HEAP32[i17 >> 2] = 0;
+ }
+ HEAP8[i18] = 1;
+ HEAP32[i17 >> 2] = i49;
+ HEAP32[i16 >> 2] = i27;
+ i47 = HEAP32[i3 >> 2] | 0;
+ i48 = i27;
+ } else {
+ i47 = i26;
+ i48 = i32;
+ }
+ } while (0);
+ i32 = HEAP32[i17 >> 2] | 0;
+ i26 = i32 + (i47 << 4) | 0;
+ if ((i26 | 0) == 0) {
+ i52 = i47;
+ i53 = i48;
+ } else {
+ HEAPF32[i26 >> 2] = d44;
+ HEAPF32[i32 + (i47 << 4) + 4 >> 2] = d45;
+ HEAPF32[i32 + (i47 << 4) + 8 >> 2] = d46;
+ HEAPF32[i32 + (i47 << 4) + 12 >> 2] = 0.0;
+ i52 = HEAP32[i3 >> 2] | 0;
+ i53 = HEAP32[i16 >> 2] | 0;
+ }
+ i32 = i52 + 1 | 0;
+ HEAP32[i3 >> 2] = i32;
+ do {
+ if ((i32 | 0) == (i53 | 0)) {
+ i26 = (i53 | 0) == 0 ? 1 : i53 << 1;
+ if ((i53 | 0) >= (i26 | 0)) {
+ i54 = i53;
+ break;
+ }
+ if ((i26 | 0) == 0) {
+ i55 = 0;
+ i56 = i53;
+ } else {
+ i33 = __Z22btAlignedAllocInternalji(i26 << 4, 16) | 0;
+ i55 = i33;
+ i56 = HEAP32[i3 >> 2] | 0;
+ }
+ if ((i56 | 0) > 0) {
+ i33 = 0;
+ do {
+ i31 = i55 + (i33 << 4) | 0;
+ if ((i31 | 0) != 0) {
+ i42 = i31;
+ i31 = (HEAP32[i17 >> 2] | 0) + (i33 << 4) | 0;
+ HEAP32[i42 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i42 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i42 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i42 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ }
+ i33 = i33 + 1 | 0;
+ } while ((i33 | 0) < (i56 | 0));
+ }
+ i33 = HEAP32[i17 >> 2] | 0;
+ if ((i33 | 0) != 0) {
+ if ((HEAP8[i18] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i33);
+ }
+ HEAP32[i17 >> 2] = 0;
+ }
+ HEAP8[i18] = 1;
+ HEAP32[i17 >> 2] = i55;
+ HEAP32[i16 >> 2] = i26;
+ i54 = HEAP32[i3 >> 2] | 0;
+ } else {
+ i54 = i32;
+ }
+ } while (0);
+ i32 = HEAP32[i17 >> 2] | 0;
+ i33 = i32 + (i54 << 4) | 0;
+ if ((i33 | 0) == 0) {
+ i57 = i54;
+ } else {
+ HEAPF32[i33 >> 2] = d15;
+ HEAPF32[i32 + (i54 << 4) + 4 >> 2] = d8;
+ HEAPF32[i32 + (i54 << 4) + 8 >> 2] = d9;
+ HEAPF32[i32 + (i54 << 4) + 12 >> 2] = d24;
+ i57 = HEAP32[i3 >> 2] | 0;
+ }
+ HEAP32[i3 >> 2] = i57 + 1;
+ }
+ } while (0);
+ i1 = i2 + 1 | 0;
+ if ((i1 | 0) >= (i5 | 0)) {
+ break;
+ }
+ d19 = d9;
+ d20 = d8;
+ d21 = d15;
+ d22 = d25;
+ i2 = i1;
+ i23 = HEAP32[i7 >> 2] | 0;
+ d10 = +HEAPF32[i6 >> 2];
+ d14 = +HEAPF32[i11 >> 2];
+ d13 = +HEAPF32[i12 >> 2];
+ }
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld22addSpeculativeContactsEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, d71 = 0.0, i72 = 0, d73 = 0.0, i74 = 0, d75 = 0.0, d76 = 0.0, d77 = 0.0, i78 = 0, i79 = 0, i80 = 0, d81 = 0.0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 496 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 64 | 0;
+ i6 = i3 + 160 | 0;
+ i7 = i3 + 216 | 0;
+ i8 = i3 + 280 | 0;
+ i9 = i3 + 304 | 0;
+ i10 = i3 + 464 | 0;
+ i11 = i3 + 480 | 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(1088);
+ i12 = i1 + 204 | 0;
+ if ((HEAP32[i12 >> 2] | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i3;
+ return;
+ }
+ i13 = i1 + 212 | 0;
+ i14 = i4 + 48 | 0;
+ i15 = i14 | 0;
+ i16 = i4 + 52 | 0;
+ i17 = i4 + 56 | 0;
+ i18 = i1 | 0;
+ i19 = i1 + 76 | 0;
+ i20 = i1 + 24 | 0;
+ i1 = i5 | 0;
+ i21 = i5 + 4 | 0;
+ i22 = i5 + 8 | 0;
+ i23 = i5 + 10 | 0;
+ i24 = i5 + 12 | 0;
+ i25 = i5 + 28 | 0;
+ i26 = i14;
+ i14 = i5 + 76 | 0;
+ i27 = i5 + 80 | 0;
+ i28 = i5 + 84 | 0;
+ i29 = i5 + 88 | 0;
+ i30 = i5 + 92 | 0;
+ i31 = i6 | 0;
+ i32 = i6 | 0;
+ i33 = i6 + 4 | 0;
+ i34 = i6 + 28 | 0;
+ i35 = i6 + 44 | 0;
+ i36 = i5 | 0;
+ i37 = i7;
+ i38 = i4;
+ i39 = i7 + 16 | 0;
+ i40 = i4 + 16 | 0;
+ i41 = i7 + 32 | 0;
+ i42 = i4 + 32 | 0;
+ i43 = i7 + 48 | 0;
+ i44 = i43;
+ i45 = i6 | 0;
+ i6 = i8 + 16 | 0;
+ i46 = i8 + 12 | 0;
+ i47 = i8 + 4 | 0;
+ i48 = i8 + 8 | 0;
+ i49 = i9 + 4 | 0;
+ i50 = i43 | 0;
+ i43 = i7 + 52 | 0;
+ i51 = i7 + 56 | 0;
+ i52 = i10;
+ i53 = i5 + 60 | 0;
+ i54 = i10 | 0;
+ i55 = i10 + 4 | 0;
+ i56 = i10 + 8 | 0;
+ i57 = i5 + 44 | 0;
+ i58 = i57 | 0;
+ i59 = i5 + 48 | 0;
+ i60 = i5 + 52 | 0;
+ i5 = i11 | 0;
+ i61 = i11 + 4 | 0;
+ i62 = i11 + 8 | 0;
+ i63 = i11 + 12 | 0;
+ i64 = 0;
+ do {
+ i65 = HEAP32[(HEAP32[i13 >> 2] | 0) + (i64 << 2) >> 2] | 0;
+ i66 = i65 | 0;
+ HEAPF32[i65 + 240 >> 2] = 1.0;
+ i67 = HEAP32[i65 + 216 >> 2] | 0;
+ do {
+ if (!((i67 | 0) == 5 | (i67 | 0) == 2)) {
+ if ((HEAP32[i65 + 204 >> 2] & 3 | 0) != 0) {
+ break;
+ }
+ __ZN11btRigidBody26predictIntegratedTransformEfR11btTransform(i65, d2, i4);
+ i68 = i65 + 4 | 0;
+ i69 = i65 + 52 | 0;
+ i70 = i69 | 0;
+ d71 = +HEAPF32[i15 >> 2] - +HEAPF32[i70 >> 2];
+ i72 = i65 + 56 | 0;
+ d73 = +HEAPF32[i16 >> 2] - +HEAPF32[i72 >> 2];
+ i74 = i65 + 60 | 0;
+ d75 = +HEAPF32[i17 >> 2] - +HEAPF32[i74 >> 2];
+ d76 = +HEAPF32[i65 + 248 >> 2];
+ d77 = d76 * d76;
+ if (!(d77 != 0.0 & d77 < d71 * d71 + d73 * d73 + d75 * d75)) {
+ break;
+ }
+ __ZN15CProfileManager13Start_ProfileEPKc(1032);
+ if ((HEAP32[(HEAP32[i65 + 192 >> 2] | 0) + 4 >> 2] | 0) < 20) {
+ HEAP32[2996] = (HEAP32[2996] | 0) + 1;
+ i78 = HEAP32[i19 >> 2] | 0;
+ i79 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i78 >> 2] | 0) + 36 >> 2] & 127](i78) | 0;
+ i78 = HEAP32[i20 >> 2] | 0;
+ HEAPF32[i21 >> 2] = 1.0;
+ HEAP16[i22 >> 1] = 1;
+ HEAP16[i23 >> 1] = -1;
+ HEAP32[i1 >> 2] = 2248;
+ i80 = i69;
+ HEAP32[i24 >> 2] = HEAP32[i80 >> 2];
+ HEAP32[i24 + 4 >> 2] = HEAP32[i80 + 4 >> 2];
+ HEAP32[i24 + 8 >> 2] = HEAP32[i80 + 8 >> 2];
+ HEAP32[i24 + 12 >> 2] = HEAP32[i80 + 12 >> 2];
+ HEAP32[i25 >> 2] = HEAP32[i26 >> 2];
+ HEAP32[i25 + 4 >> 2] = HEAP32[i26 + 4 >> 2];
+ HEAP32[i25 + 8 >> 2] = HEAP32[i26 + 8 >> 2];
+ HEAP32[i25 + 12 >> 2] = HEAP32[i26 + 12 >> 2];
+ HEAP32[i14 >> 2] = 0;
+ HEAP32[i1 >> 2] = 2464;
+ HEAP32[i27 >> 2] = i66;
+ HEAPF32[i28 >> 2] = 0.0;
+ HEAP32[i29 >> 2] = i79;
+ HEAP32[i30 >> 2] = i78;
+ d75 = +HEAPF32[i65 + 244 >> 2];
+ __ZN21btConvexInternalShapeC2Ev(i31);
+ HEAP32[i32 >> 2] = 4728;
+ HEAP32[i33 >> 2] = 8;
+ HEAPF32[i34 >> 2] = d75;
+ HEAPF32[i35 >> 2] = d75;
+ i78 = i65 + 188 | 0;
+ i79 = HEAP32[i78 >> 2] | 0;
+ HEAP16[i22 >> 1] = HEAP16[i79 + 4 >> 1] | 0;
+ HEAP16[i23 >> 1] = HEAP16[i79 + 6 >> 1] | 0;
+ HEAP32[i37 >> 2] = HEAP32[i38 >> 2];
+ HEAP32[i37 + 4 >> 2] = HEAP32[i38 + 4 >> 2];
+ HEAP32[i37 + 8 >> 2] = HEAP32[i38 + 8 >> 2];
+ HEAP32[i37 + 12 >> 2] = HEAP32[i38 + 12 >> 2];
+ HEAP32[i39 >> 2] = HEAP32[i40 >> 2];
+ HEAP32[i39 + 4 >> 2] = HEAP32[i40 + 4 >> 2];
+ HEAP32[i39 + 8 >> 2] = HEAP32[i40 + 8 >> 2];
+ HEAP32[i39 + 12 >> 2] = HEAP32[i40 + 12 >> 2];
+ HEAP32[i41 >> 2] = HEAP32[i42 >> 2];
+ HEAP32[i41 + 4 >> 2] = HEAP32[i42 + 4 >> 2];
+ HEAP32[i41 + 8 >> 2] = HEAP32[i42 + 8 >> 2];
+ HEAP32[i41 + 12 >> 2] = HEAP32[i42 + 12 >> 2];
+ HEAP32[i44 >> 2] = HEAP32[i26 >> 2];
+ HEAP32[i44 + 4 >> 2] = HEAP32[i26 + 4 >> 2];
+ HEAP32[i44 + 8 >> 2] = HEAP32[i26 + 8 >> 2];
+ HEAP32[i44 + 12 >> 2] = HEAP32[i26 + 12 >> 2];
+ i79 = i68;
+ HEAP32[i37 >> 2] = HEAP32[i79 >> 2];
+ HEAP32[i37 + 4 >> 2] = HEAP32[i79 + 4 >> 2];
+ HEAP32[i37 + 8 >> 2] = HEAP32[i79 + 8 >> 2];
+ HEAP32[i37 + 12 >> 2] = HEAP32[i79 + 12 >> 2];
+ i79 = i65 + 20 | 0;
+ HEAP32[i39 >> 2] = HEAP32[i79 >> 2];
+ HEAP32[i39 + 4 >> 2] = HEAP32[i79 + 4 >> 2];
+ HEAP32[i39 + 8 >> 2] = HEAP32[i79 + 8 >> 2];
+ HEAP32[i39 + 12 >> 2] = HEAP32[i79 + 12 >> 2];
+ i79 = i65 + 36 | 0;
+ HEAP32[i41 >> 2] = HEAP32[i79 >> 2];
+ HEAP32[i41 + 4 >> 2] = HEAP32[i79 + 4 >> 2];
+ HEAP32[i41 + 8 >> 2] = HEAP32[i79 + 8 >> 2];
+ HEAP32[i41 + 12 >> 2] = HEAP32[i79 + 12 >> 2];
+ __ZNK16btCollisionWorld15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RNS_20ConvexResultCallbackEf(i18, i45, i68, i7, i36, 0.0);
+ do {
+ if (+HEAPF32[i21 >> 2] < 1.0) {
+ i68 = HEAP32[i29 >> 2] | 0;
+ i79 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i68 >> 2] | 0) + 52 >> 2] & 31](i68, HEAP32[i78 >> 2] | 0, HEAP32[(HEAP32[i14 >> 2] | 0) + 188 >> 2] | 0) | 0;
+ if ((i79 | 0) == 0) {
+ break;
+ }
+ i68 = i79 + 8 | 0;
+ if ((HEAP32[i68 >> 2] | 0) == 0) {
+ break;
+ }
+ HEAP8[i6] = 1;
+ HEAP32[i46 >> 2] = 0;
+ HEAP32[i47 >> 2] = 0;
+ HEAP32[i48 >> 2] = 0;
+ i79 = HEAP32[i68 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i79 >> 2] | 0) + 16 >> 2] & 127](i79, i8);
+ do {
+ if ((HEAP32[i47 >> 2] | 0) != 0) {
+ __ZN16btManifoldResultC2EP17btCollisionObjectS1_(i9, i66, HEAP32[i14 >> 2] | 0);
+ i79 = HEAP32[i46 >> 2] | 0;
+ HEAP32[i49 >> 2] = HEAP32[i79 >> 2];
+ d75 = +HEAPF32[i21 >> 2];
+ d73 = (+HEAPF32[i50 >> 2] - +HEAPF32[i70 >> 2]) * d75;
+ d71 = (+HEAPF32[i43 >> 2] - +HEAPF32[i72 >> 2]) * d75;
+ d77 = d75 * (+HEAPF32[i51 >> 2] - +HEAPF32[i74 >> 2]);
+ d75 = d77 * d77 + (d73 * d73 + d71 * d71);
+ HEAP32[i52 >> 2] = HEAP32[i53 >> 2];
+ HEAP32[i52 + 4 >> 2] = HEAP32[i53 + 4 >> 2];
+ HEAP32[i52 + 8 >> 2] = HEAP32[i53 + 8 >> 2];
+ HEAP32[i52 + 12 >> 2] = HEAP32[i53 + 12 >> 2];
+ if (d75 > 1.1920928955078125e-7) {
+ d76 = +Math_sqrt(+d75);
+ HEAPF32[i54 >> 2] = +HEAPF32[i54 >> 2] - d73;
+ HEAPF32[i55 >> 2] = +HEAPF32[i55 >> 2] - d71;
+ HEAPF32[i56 >> 2] = +HEAPF32[i56 >> 2] - d77;
+ d81 = d76;
+ } else {
+ d81 = 0.0;
+ }
+ if ((HEAP32[(HEAP32[i79 >> 2] | 0) + 1108 >> 2] | 0) == (i65 | 0)) {
+ __ZN16btManifoldResult15addContactPointERK9btVector3S2_f(i9, i57, i10, d81);
+ break;
+ } else {
+ d76 = -0.0 - +HEAPF32[i59 >> 2];
+ d77 = -0.0 - +HEAPF32[i60 >> 2];
+ HEAPF32[i5 >> 2] = -0.0 - +HEAPF32[i58 >> 2];
+ HEAPF32[i61 >> 2] = d76;
+ HEAPF32[i62 >> 2] = d77;
+ HEAPF32[i63 >> 2] = 0.0;
+ __ZN16btManifoldResult15addContactPointERK9btVector3S2_f(i9, i11, i10, d81);
+ break;
+ }
+ }
+ } while (0);
+ i79 = HEAP32[i46 >> 2] | 0;
+ if ((i79 | 0) != 0) {
+ if ((HEAP8[i6] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i79);
+ }
+ HEAP32[i46 >> 2] = 0;
+ }
+ HEAP8[i6] = 1;
+ HEAP32[i46 >> 2] = 0;
+ HEAP32[i47 >> 2] = 0;
+ HEAP32[i48 >> 2] = 0;
+ }
+ } while (0);
+ __ZN13btConvexShapeD2Ev(i45);
+ }
+ __ZN15CProfileManager12Stop_ProfileEv();
+ }
+ } while (0);
+ i64 = i64 + 1 | 0;
+ } while ((i64 | 0) < (HEAP32[i12 >> 2] | 0));
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i3;
+ return;
+}
+function __ZN22btVoronoiSimplexSolver28updateClosestVectorAndPointsEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, d14 = 0.0, d15 = 0.0, d16 = 0.0, i17 = 0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, i25 = 0, d26 = 0.0, i27 = 0, i28 = 0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i3 = i2 | 0;
+ i4 = i2 + 16 | 0;
+ i5 = i1 + 356 | 0;
+ if ((HEAP8[i5] | 0) == 0) {
+ i6 = HEAP8[i1 + 312 | 0] | 0;
+ i7 = i6 << 24 >> 24 != 0;
+ STACKTOP = i2;
+ return i7 | 0;
+ }
+ i8 = i1 + 316 | 0;
+ i9 = i1 + 336 | 0;
+ i10 = i1 + 332 | 0;
+ i11 = i10;
+ i12 = i9;
+ _memset(i12 | 0, 0, 17);
+ i13 = HEAP16[i11 >> 1] & -16;
+ HEAP16[i11 >> 1] = i13;
+ HEAP8[i5] = 0;
+ switch (HEAP32[i1 >> 2] | 0) {
+ case 4:
+ {
+ _memset(i4 | 0, 0, 16);
+ if (!(__ZN22btVoronoiSimplexSolver25closestPtPointTetrahedronERK9btVector3S2_S2_S2_S2_R25btSubSimplexClosestResult(0, i4, i1 + 4 | 0, i1 + 20 | 0, i1 + 36 | 0, i1 + 52 | 0, i8) | 0)) {
+ i4 = i1 + 312 | 0;
+ if ((HEAP8[i1 + 352 | 0] | 0) == 0) {
+ HEAP8[i4] = 1;
+ _memset(i1 + 276 | 0, 0, 16);
+ i6 = 1;
+ i7 = i6 << 24 >> 24 != 0;
+ STACKTOP = i2;
+ return i7 | 0;
+ } else {
+ HEAP8[i4] = 0;
+ i6 = 0;
+ i7 = i6 << 24 >> 24 != 0;
+ STACKTOP = i2;
+ return i7 | 0;
+ }
+ }
+ d14 = +HEAPF32[i9 >> 2];
+ i4 = i1 + 340 | 0;
+ d15 = +HEAPF32[i4 >> 2];
+ i5 = i1 + 344 | 0;
+ d16 = +HEAPF32[i5 >> 2];
+ i17 = i1 + 348 | 0;
+ d18 = +HEAPF32[i17 >> 2];
+ d19 = +HEAPF32[i1 + 84 >> 2] * d14 + +HEAPF32[i1 + 100 >> 2] * d15 + +HEAPF32[i1 + 116 >> 2] * d16 + +HEAPF32[i1 + 132 >> 2] * d18;
+ d20 = d14 * +HEAPF32[i1 + 88 >> 2] + d15 * +HEAPF32[i1 + 104 >> 2] + d16 * +HEAPF32[i1 + 120 >> 2] + d18 * +HEAPF32[i1 + 136 >> 2];
+ d21 = d14 * +HEAPF32[i1 + 92 >> 2] + d15 * +HEAPF32[i1 + 108 >> 2] + d16 * +HEAPF32[i1 + 124 >> 2] + d18 * +HEAPF32[i1 + 140 >> 2];
+ HEAPF32[i1 + 244 >> 2] = d19;
+ HEAPF32[i1 + 248 >> 2] = d20;
+ HEAPF32[i1 + 252 >> 2] = d21;
+ HEAPF32[i1 + 256 >> 2] = 0.0;
+ d22 = d14 * +HEAPF32[i1 + 164 >> 2] + d15 * +HEAPF32[i1 + 180 >> 2] + d16 * +HEAPF32[i1 + 196 >> 2] + d18 * +HEAPF32[i1 + 212 >> 2];
+ d23 = d14 * +HEAPF32[i1 + 168 >> 2] + d15 * +HEAPF32[i1 + 184 >> 2] + d16 * +HEAPF32[i1 + 200 >> 2] + d18 * +HEAPF32[i1 + 216 >> 2];
+ d24 = d14 * +HEAPF32[i1 + 172 >> 2] + d15 * +HEAPF32[i1 + 188 >> 2] + d16 * +HEAPF32[i1 + 204 >> 2] + d18 * +HEAPF32[i1 + 220 >> 2];
+ HEAPF32[i1 + 260 >> 2] = d22;
+ HEAPF32[i1 + 264 >> 2] = d23;
+ HEAPF32[i1 + 268 >> 2] = d24;
+ HEAPF32[i1 + 272 >> 2] = 0.0;
+ HEAPF32[i1 + 276 >> 2] = d19 - d22;
+ HEAPF32[i1 + 280 >> 2] = d20 - d23;
+ HEAPF32[i1 + 284 >> 2] = d21 - d24;
+ HEAPF32[i1 + 288 >> 2] = 0.0;
+ __ZN22btVoronoiSimplexSolver14reduceVerticesERK15btUsageBitfield(i1, i10);
+ do {
+ if (+HEAPF32[i9 >> 2] < 0.0) {
+ i25 = 0;
+ } else {
+ if (+HEAPF32[i4 >> 2] < 0.0) {
+ i25 = 0;
+ break;
+ }
+ if (+HEAPF32[i5 >> 2] < 0.0) {
+ i25 = 0;
+ break;
+ }
+ i25 = +HEAPF32[i17 >> 2] >= 0.0 | 0;
+ }
+ } while (0);
+ HEAP8[i1 + 312 | 0] = i25;
+ i6 = i25;
+ i7 = i6 << 24 >> 24 != 0;
+ STACKTOP = i2;
+ return i7 | 0;
+ }
+ case 0:
+ {
+ HEAP8[i1 + 312 | 0] = 0;
+ i6 = 0;
+ i7 = i6 << 24 >> 24 != 0;
+ STACKTOP = i2;
+ return i7 | 0;
+ }
+ case 1:
+ {
+ i25 = i1 + 244 | 0;
+ i17 = i25;
+ i5 = i1 + 84 | 0;
+ HEAP32[i17 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i17 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i17 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i17 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 260 | 0;
+ i17 = i5;
+ i4 = i1 + 164 | 0;
+ HEAP32[i17 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i17 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i17 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i17 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ d24 = +HEAPF32[i1 + 248 >> 2] - +HEAPF32[i1 + 264 >> 2];
+ d21 = +HEAPF32[i1 + 252 >> 2] - +HEAPF32[i1 + 268 >> 2];
+ HEAPF32[i1 + 276 >> 2] = +HEAPF32[i25 >> 2] - +HEAPF32[i5 >> 2];
+ HEAPF32[i1 + 280 >> 2] = d24;
+ HEAPF32[i1 + 284 >> 2] = d21;
+ HEAPF32[i1 + 288 >> 2] = 0.0;
+ _memset(i12 | 0, 0, 17);
+ HEAP16[i11 >> 1] = i13;
+ HEAPF32[i9 >> 2] = 1.0;
+ HEAPF32[i1 + 340 >> 2] = 0.0;
+ HEAPF32[i1 + 344 >> 2] = 0.0;
+ HEAPF32[i1 + 348 >> 2] = 0.0;
+ HEAP8[i1 + 312 | 0] = 1;
+ i6 = 1;
+ i7 = i6 << 24 >> 24 != 0;
+ STACKTOP = i2;
+ return i7 | 0;
+ }
+ case 2:
+ {
+ d21 = +HEAPF32[i1 + 4 >> 2];
+ d24 = +HEAPF32[i1 + 8 >> 2];
+ d23 = +HEAPF32[i1 + 12 >> 2];
+ d20 = +HEAPF32[i1 + 20 >> 2] - d21;
+ d22 = +HEAPF32[i1 + 24 >> 2] - d24;
+ d19 = +HEAPF32[i1 + 28 >> 2] - d23;
+ d18 = (0.0 - d21) * d20 + (0.0 - d24) * d22 + (0.0 - d23) * d19;
+ do {
+ if (d18 > 0.0) {
+ d23 = d20 * d20 + d22 * d22 + d19 * d19;
+ if (d18 < d23) {
+ HEAP16[i11 >> 1] = i13 | 3;
+ d26 = d18 / d23;
+ break;
+ } else {
+ HEAP16[i11 >> 1] = i13 | 2;
+ d26 = 1.0;
+ break;
+ }
+ } else {
+ HEAP16[i11 >> 1] = i13 | 1;
+ d26 = 0.0;
+ }
+ } while (0);
+ HEAPF32[i9 >> 2] = 1.0 - d26;
+ i13 = i1 + 340 | 0;
+ HEAPF32[i13 >> 2] = d26;
+ i11 = i1 + 344 | 0;
+ HEAPF32[i11 >> 2] = 0.0;
+ i12 = i1 + 348 | 0;
+ HEAPF32[i12 >> 2] = 0.0;
+ d18 = +HEAPF32[i1 + 84 >> 2];
+ d19 = +HEAPF32[i1 + 88 >> 2];
+ d22 = +HEAPF32[i1 + 92 >> 2];
+ d20 = d18 + d26 * (+HEAPF32[i1 + 100 >> 2] - d18);
+ d18 = d19 + d26 * (+HEAPF32[i1 + 104 >> 2] - d19);
+ d19 = d22 + d26 * (+HEAPF32[i1 + 108 >> 2] - d22);
+ HEAPF32[i1 + 244 >> 2] = d20;
+ HEAPF32[i1 + 248 >> 2] = d18;
+ HEAPF32[i1 + 252 >> 2] = d19;
+ HEAPF32[i1 + 256 >> 2] = 0.0;
+ d22 = +HEAPF32[i1 + 164 >> 2];
+ d23 = +HEAPF32[i1 + 168 >> 2];
+ d24 = +HEAPF32[i1 + 172 >> 2];
+ d21 = d22 + d26 * (+HEAPF32[i1 + 180 >> 2] - d22);
+ d22 = d23 + d26 * (+HEAPF32[i1 + 184 >> 2] - d23);
+ d23 = d24 + d26 * (+HEAPF32[i1 + 188 >> 2] - d24);
+ HEAPF32[i1 + 260 >> 2] = d21;
+ HEAPF32[i1 + 264 >> 2] = d22;
+ HEAPF32[i1 + 268 >> 2] = d23;
+ HEAPF32[i1 + 272 >> 2] = 0.0;
+ HEAPF32[i1 + 276 >> 2] = d20 - d21;
+ HEAPF32[i1 + 280 >> 2] = d18 - d22;
+ HEAPF32[i1 + 284 >> 2] = d19 - d23;
+ HEAPF32[i1 + 288 >> 2] = 0.0;
+ __ZN22btVoronoiSimplexSolver14reduceVerticesERK15btUsageBitfield(i1, i10);
+ do {
+ if (+HEAPF32[i9 >> 2] < 0.0) {
+ i27 = 0;
+ } else {
+ if (+HEAPF32[i13 >> 2] < 0.0) {
+ i27 = 0;
+ break;
+ }
+ if (+HEAPF32[i11 >> 2] < 0.0) {
+ i27 = 0;
+ break;
+ }
+ i27 = +HEAPF32[i12 >> 2] >= 0.0 | 0;
+ }
+ } while (0);
+ HEAP8[i1 + 312 | 0] = i27;
+ i6 = i27;
+ i7 = i6 << 24 >> 24 != 0;
+ STACKTOP = i2;
+ return i7 | 0;
+ }
+ case 3:
+ {
+ _memset(i3 | 0, 0, 16);
+ __ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(0, i3, i1 + 4 | 0, i1 + 20 | 0, i1 + 36 | 0, i8) | 0;
+ d23 = +HEAPF32[i9 >> 2];
+ i8 = i1 + 340 | 0;
+ d19 = +HEAPF32[i8 >> 2];
+ i3 = i1 + 344 | 0;
+ d22 = +HEAPF32[i3 >> 2];
+ d18 = +HEAPF32[i1 + 84 >> 2] * d23 + +HEAPF32[i1 + 100 >> 2] * d19 + +HEAPF32[i1 + 116 >> 2] * d22;
+ d21 = d23 * +HEAPF32[i1 + 88 >> 2] + d19 * +HEAPF32[i1 + 104 >> 2] + d22 * +HEAPF32[i1 + 120 >> 2];
+ d20 = d23 * +HEAPF32[i1 + 92 >> 2] + d19 * +HEAPF32[i1 + 108 >> 2] + d22 * +HEAPF32[i1 + 124 >> 2];
+ HEAPF32[i1 + 244 >> 2] = d18;
+ HEAPF32[i1 + 248 >> 2] = d21;
+ HEAPF32[i1 + 252 >> 2] = d20;
+ HEAPF32[i1 + 256 >> 2] = 0.0;
+ d24 = d23 * +HEAPF32[i1 + 164 >> 2] + d19 * +HEAPF32[i1 + 180 >> 2] + d22 * +HEAPF32[i1 + 196 >> 2];
+ d26 = d23 * +HEAPF32[i1 + 168 >> 2] + d19 * +HEAPF32[i1 + 184 >> 2] + d22 * +HEAPF32[i1 + 200 >> 2];
+ d16 = d23 * +HEAPF32[i1 + 172 >> 2] + d19 * +HEAPF32[i1 + 188 >> 2] + d22 * +HEAPF32[i1 + 204 >> 2];
+ HEAPF32[i1 + 260 >> 2] = d24;
+ HEAPF32[i1 + 264 >> 2] = d26;
+ HEAPF32[i1 + 268 >> 2] = d16;
+ HEAPF32[i1 + 272 >> 2] = 0.0;
+ HEAPF32[i1 + 276 >> 2] = d18 - d24;
+ HEAPF32[i1 + 280 >> 2] = d21 - d26;
+ HEAPF32[i1 + 284 >> 2] = d20 - d16;
+ HEAPF32[i1 + 288 >> 2] = 0.0;
+ __ZN22btVoronoiSimplexSolver14reduceVerticesERK15btUsageBitfield(i1, i10);
+ do {
+ if (+HEAPF32[i9 >> 2] < 0.0) {
+ i28 = 0;
+ } else {
+ if (+HEAPF32[i8 >> 2] < 0.0) {
+ i28 = 0;
+ break;
+ }
+ if (+HEAPF32[i3 >> 2] < 0.0) {
+ i28 = 0;
+ break;
+ }
+ i28 = +HEAPF32[i1 + 348 >> 2] >= 0.0 | 0;
+ }
+ } while (0);
+ HEAP8[i1 + 312 | 0] = i28;
+ i6 = i28;
+ i7 = i6 << 24 >> 24 != 0;
+ STACKTOP = i2;
+ return i7 | 0;
+ }
+ default:
+ {
+ HEAP8[i1 + 312 | 0] = 0;
+ i6 = 0;
+ i7 = i6 << 24 >> 24 != 0;
+ STACKTOP = i2;
+ return i7 | 0;
+ }
+ }
+ return 0;
+}
+function __ZN15btGjkEpaSolver28DistanceEPK13btConvexShapeRK11btTransformS2_S5_RK9btVector3RNS_8sResultsE(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, d16 = 0.0, d17 = 0.0, d18 = 0.0, i19 = 0, d20 = 0.0, d21 = 0.0, i22 = 0, d23 = 0.0, d24 = 0.0, i25 = 0, d26 = 0.0, i27 = 0, d28 = 0.0, i29 = 0, d30 = 0.0, d31 = 0.0, i32 = 0, d33 = 0.0, i34 = 0, d35 = 0.0, i36 = 0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, d71 = 0.0, d72 = 0.0, d73 = 0.0, d74 = 0.0, d75 = 0.0, d76 = 0.0, i77 = 0, i78 = 0, i79 = 0, i80 = 0, i81 = 0, i82 = 0, i83 = 0, i84 = 0, i85 = 0, i86 = 0, i87 = 0, i88 = 0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 560 | 0;
+ i8 = i7 | 0;
+ i9 = i7 + 16 | 0;
+ i10 = i7 + 32 | 0;
+ i11 = i7 + 160 | 0;
+ i12 = i7 + 544 | 0;
+ i13 = i6 + 20 | 0;
+ i14 = i6 + 20 | 0;
+ i15 = i6 + 4 | 0;
+ _memset(i14 | 0, 0, 16);
+ HEAP32[i15 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i15 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i15 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i15 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i6 | 0;
+ HEAP32[i13 >> 2] = 0;
+ i15 = i10 | 0;
+ HEAP32[i15 >> 2] = i1;
+ i1 = i10 + 4 | 0;
+ HEAP32[i1 >> 2] = i3;
+ d16 = +HEAPF32[i4 >> 2];
+ i3 = i2 | 0;
+ d17 = +HEAPF32[i3 >> 2];
+ d18 = +HEAPF32[i4 + 16 >> 2];
+ i19 = i2 + 16 | 0;
+ d20 = +HEAPF32[i19 >> 2];
+ d21 = +HEAPF32[i4 + 32 >> 2];
+ i22 = i2 + 32 | 0;
+ d23 = +HEAPF32[i22 >> 2];
+ d24 = d16 * d17 + d18 * d20 + d21 * d23;
+ i25 = i2 + 4 | 0;
+ d26 = +HEAPF32[i25 >> 2];
+ i27 = i2 + 20 | 0;
+ d28 = +HEAPF32[i27 >> 2];
+ i29 = i2 + 36 | 0;
+ d30 = +HEAPF32[i29 >> 2];
+ d31 = d16 * d26 + d18 * d28 + d21 * d30;
+ i32 = i2 + 8 | 0;
+ d33 = +HEAPF32[i32 >> 2];
+ i34 = i2 + 24 | 0;
+ d35 = +HEAPF32[i34 >> 2];
+ i36 = i2 + 40 | 0;
+ d37 = +HEAPF32[i36 >> 2];
+ d38 = d16 * d33 + d18 * d35 + d21 * d37;
+ d21 = +HEAPF32[i4 + 4 >> 2];
+ d18 = +HEAPF32[i4 + 20 >> 2];
+ d16 = +HEAPF32[i4 + 36 >> 2];
+ d39 = d17 * d21 + d20 * d18 + d23 * d16;
+ d40 = d26 * d21 + d28 * d18 + d30 * d16;
+ d41 = d33 * d21 + d35 * d18 + d37 * d16;
+ d16 = +HEAPF32[i4 + 8 >> 2];
+ d18 = +HEAPF32[i4 + 24 >> 2];
+ d21 = +HEAPF32[i4 + 40 >> 2];
+ d42 = d17 * d16 + d20 * d18 + d23 * d21;
+ d43 = d26 * d16 + d28 * d18 + d30 * d21;
+ d44 = d33 * d16 + d35 * d18 + d37 * d21;
+ i45 = i10 + 8 | 0;
+ HEAPF32[i45 >> 2] = d24;
+ i46 = i10 + 12 | 0;
+ HEAPF32[i46 >> 2] = d31;
+ i47 = i10 + 16 | 0;
+ HEAPF32[i47 >> 2] = d38;
+ HEAPF32[i10 + 20 >> 2] = 0.0;
+ i48 = i10 + 24 | 0;
+ HEAPF32[i48 >> 2] = d39;
+ i49 = i10 + 28 | 0;
+ HEAPF32[i49 >> 2] = d40;
+ i50 = i10 + 32 | 0;
+ HEAPF32[i50 >> 2] = d41;
+ HEAPF32[i10 + 36 >> 2] = 0.0;
+ i51 = i10 + 40 | 0;
+ HEAPF32[i51 >> 2] = d42;
+ i52 = i10 + 44 | 0;
+ HEAPF32[i52 >> 2] = d43;
+ i53 = i10 + 48 | 0;
+ HEAPF32[i53 >> 2] = d44;
+ HEAPF32[i10 + 52 >> 2] = 0.0;
+ i54 = i2 + 48 | 0;
+ d21 = +HEAPF32[i4 + 48 >> 2] - +HEAPF32[i54 >> 2];
+ i55 = i2 + 52 | 0;
+ d18 = +HEAPF32[i4 + 52 >> 2] - +HEAPF32[i55 >> 2];
+ i56 = i2 + 56 | 0;
+ d16 = +HEAPF32[i4 + 56 >> 2] - +HEAPF32[i56 >> 2];
+ i4 = i10 + 56 | 0;
+ HEAPF32[i4 >> 2] = d24;
+ i2 = i10 + 60 | 0;
+ HEAPF32[i2 >> 2] = d39;
+ i57 = i10 + 64 | 0;
+ HEAPF32[i57 >> 2] = d42;
+ HEAPF32[i10 + 68 >> 2] = 0.0;
+ i58 = i10 + 72 | 0;
+ HEAPF32[i58 >> 2] = d31;
+ i59 = i10 + 76 | 0;
+ HEAPF32[i59 >> 2] = d40;
+ i60 = i10 + 80 | 0;
+ HEAPF32[i60 >> 2] = d43;
+ HEAPF32[i10 + 84 >> 2] = 0.0;
+ i61 = i10 + 88 | 0;
+ HEAPF32[i61 >> 2] = d38;
+ i62 = i10 + 92 | 0;
+ HEAPF32[i62 >> 2] = d41;
+ i63 = i10 + 96 | 0;
+ HEAPF32[i63 >> 2] = d44;
+ HEAPF32[i10 + 100 >> 2] = 0.0;
+ i64 = i10 + 104 | 0;
+ HEAPF32[i64 >> 2] = d17 * d21 + d20 * d18 + d23 * d16;
+ i65 = i10 + 108 | 0;
+ HEAPF32[i65 >> 2] = d26 * d21 + d28 * d18 + d30 * d16;
+ i66 = i10 + 112 | 0;
+ HEAPF32[i66 >> 2] = d33 * d21 + d35 * d18 + d37 * d16;
+ HEAPF32[i10 + 116 >> 2] = 0.0;
+ i67 = i10 + 120 | 0;
+ HEAP32[i67 >> 2] = 82;
+ i68 = i10 + 124 | 0;
+ HEAP32[i68 >> 2] = 0;
+ HEAP32[i11 + 364 >> 2] = 0;
+ _memset(i11 + 128 | 0, 0, 16);
+ HEAP32[i11 + 376 >> 2] = 2;
+ HEAP32[i11 + 368 >> 2] = 0;
+ HEAPF32[i11 + 144 >> 2] = 0.0;
+ i69 = __ZN12gjkepa2_impl3GJK8EvaluateERKNS_13MinkowskiDiffERK9btVector3(i11, i10, i5) | 0;
+ if ((i69 | 0) != 0) {
+ HEAP32[i13 >> 2] = (i69 | 0) == 1 ? 1 : 2;
+ i70 = 0;
+ STACKTOP = i7;
+ return i70 | 0;
+ }
+ i69 = i11 + 372 | 0;
+ i11 = HEAP32[i69 >> 2] | 0;
+ if ((HEAP32[i11 + 32 >> 2] | 0) == 0) {
+ d71 = 0.0;
+ d72 = 0.0;
+ d73 = 0.0;
+ d74 = 0.0;
+ d75 = 0.0;
+ d76 = 0.0;
+ } else {
+ i13 = i12 | 0;
+ i5 = i12 + 4 | 0;
+ i10 = i12 + 8 | 0;
+ i77 = i9 | 0;
+ i78 = i9 + 4 | 0;
+ i79 = i9 + 8 | 0;
+ i80 = i9 + 12 | 0;
+ i81 = i8 | 0;
+ i82 = i8 + 4 | 0;
+ i83 = i8 + 8 | 0;
+ d16 = 0.0;
+ d37 = 0.0;
+ d18 = 0.0;
+ d35 = 0.0;
+ d21 = 0.0;
+ d33 = 0.0;
+ i84 = 0;
+ i85 = i11;
+ while (1) {
+ d30 = +HEAPF32[i85 + 16 + (i84 << 2) >> 2];
+ i11 = HEAP32[i67 >> 2] | 0;
+ i86 = (HEAP32[i15 >> 2] | 0) + (HEAP32[i68 >> 2] | 0) | 0;
+ if ((i11 & 1 | 0) == 0) {
+ i87 = i11;
+ } else {
+ i87 = HEAP32[(HEAP32[i86 >> 2] | 0) + (i11 - 1) >> 2] | 0;
+ }
+ FUNCTION_TABLE_viii[i87 & 127](i12, i86, HEAP32[i85 + (i84 << 2) >> 2] | 0);
+ d28 = d18 + d30 * +HEAPF32[i13 >> 2];
+ d26 = d37 + d30 * +HEAPF32[i5 >> 2];
+ d23 = d16 + d30 * +HEAPF32[i10 >> 2];
+ i86 = HEAP32[(HEAP32[i69 >> 2] | 0) + (i84 << 2) >> 2] | 0;
+ d20 = -0.0 - +HEAPF32[i86 >> 2];
+ d17 = -0.0 - +HEAPF32[i86 + 4 >> 2];
+ d44 = -0.0 - +HEAPF32[i86 + 8 >> 2];
+ i86 = HEAP32[i67 >> 2] | 0;
+ i11 = (HEAP32[i1 >> 2] | 0) + (HEAP32[i68 >> 2] | 0) | 0;
+ if ((i86 & 1 | 0) == 0) {
+ i88 = i86;
+ } else {
+ i88 = HEAP32[(HEAP32[i11 >> 2] | 0) + (i86 - 1) >> 2] | 0;
+ }
+ d41 = +HEAPF32[i48 >> 2] * d20 + +HEAPF32[i49 >> 2] * d17 + +HEAPF32[i50 >> 2] * d44;
+ d38 = +HEAPF32[i51 >> 2] * d20 + +HEAPF32[i52 >> 2] * d17 + +HEAPF32[i53 >> 2] * d44;
+ HEAPF32[i77 >> 2] = +HEAPF32[i45 >> 2] * d20 + +HEAPF32[i46 >> 2] * d17 + +HEAPF32[i47 >> 2] * d44;
+ HEAPF32[i78 >> 2] = d41;
+ HEAPF32[i79 >> 2] = d38;
+ HEAPF32[i80 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i88 & 127](i8, i11, i9);
+ d38 = +HEAPF32[i81 >> 2];
+ d41 = +HEAPF32[i82 >> 2];
+ d44 = +HEAPF32[i83 >> 2];
+ d17 = d33 + d30 * (+HEAPF32[i64 >> 2] + (+HEAPF32[i4 >> 2] * d38 + +HEAPF32[i2 >> 2] * d41 + +HEAPF32[i57 >> 2] * d44));
+ d20 = d21 + d30 * (+HEAPF32[i65 >> 2] + (d38 * +HEAPF32[i58 >> 2] + d41 * +HEAPF32[i59 >> 2] + d44 * +HEAPF32[i60 >> 2]));
+ d43 = d35 + d30 * (+HEAPF32[i66 >> 2] + (d38 * +HEAPF32[i61 >> 2] + d41 * +HEAPF32[i62 >> 2] + d44 * +HEAPF32[i63 >> 2]));
+ i11 = i84 + 1 | 0;
+ i86 = HEAP32[i69 >> 2] | 0;
+ if (i11 >>> 0 < (HEAP32[i86 + 32 >> 2] | 0) >>> 0) {
+ d16 = d23;
+ d37 = d26;
+ d18 = d28;
+ d35 = d43;
+ d21 = d20;
+ d33 = d17;
+ i84 = i11;
+ i85 = i86;
+ } else {
+ d71 = d23;
+ d72 = d26;
+ d73 = d28;
+ d74 = d43;
+ d75 = d20;
+ d76 = d17;
+ break;
+ }
+ }
+ }
+ d33 = +HEAPF32[i55 >> 2] + (d73 * +HEAPF32[i19 >> 2] + d72 * +HEAPF32[i27 >> 2] + d71 * +HEAPF32[i34 >> 2]);
+ d21 = +HEAPF32[i56 >> 2] + (d73 * +HEAPF32[i22 >> 2] + d72 * +HEAPF32[i29 >> 2] + d71 * +HEAPF32[i36 >> 2]);
+ HEAPF32[i6 + 4 >> 2] = +HEAPF32[i54 >> 2] + (d73 * +HEAPF32[i3 >> 2] + d72 * +HEAPF32[i25 >> 2] + d71 * +HEAPF32[i32 >> 2]);
+ HEAPF32[i6 + 8 >> 2] = d33;
+ HEAPF32[i6 + 12 >> 2] = d21;
+ HEAPF32[i6 + 16 >> 2] = 0.0;
+ d21 = +HEAPF32[i55 >> 2] + (d76 * +HEAPF32[i19 >> 2] + d75 * +HEAPF32[i27 >> 2] + d74 * +HEAPF32[i34 >> 2]);
+ d33 = +HEAPF32[i56 >> 2] + (d76 * +HEAPF32[i22 >> 2] + d75 * +HEAPF32[i29 >> 2] + d74 * +HEAPF32[i36 >> 2]);
+ HEAPF32[i14 >> 2] = +HEAPF32[i54 >> 2] + (d76 * +HEAPF32[i3 >> 2] + d75 * +HEAPF32[i25 >> 2] + d74 * +HEAPF32[i32 >> 2]);
+ HEAPF32[i6 + 24 >> 2] = d21;
+ HEAPF32[i6 + 28 >> 2] = d33;
+ HEAPF32[i6 + 32 >> 2] = 0.0;
+ d33 = d73 - d76;
+ d76 = d72 - d75;
+ d75 = d71 - d74;
+ HEAPF32[i6 + 48 >> 2] = 0.0;
+ d74 = +Math_sqrt(+(d33 * d33 + d76 * d76 + d75 * d75));
+ HEAPF32[i6 + 52 >> 2] = d74;
+ d71 = 1.0 / (d74 > 9999999747378752.0e-20 ? d74 : 1.0);
+ HEAPF32[i6 + 36 >> 2] = d33 * d71;
+ HEAPF32[i6 + 40 >> 2] = d76 * d71;
+ HEAPF32[i6 + 44 >> 2] = d75 * d71;
+ i70 = 1;
+ STACKTOP = i7;
+ return i70 | 0;
+}
+function __ZN27btPolyhedralContactClipping18findSeparatingAxisERK18btConvexPolyhedronS2_RK11btTransformS5_R9btVector3(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, d30 = 0.0, i31 = 0, i32 = 0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, i38 = 0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, d54 = 0.0, d55 = 0.0, i56 = 0, d57 = 0.0, i58 = 0, d59 = 0.0, i60 = 0, i61 = 0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 72 | 0;
+ i7 = i6 | 0;
+ i8 = i6 + 16 | 0;
+ i9 = i6 + 24 | 0;
+ i10 = i6 + 40 | 0;
+ i11 = i6 + 48 | 0;
+ i12 = i6 + 64 | 0;
+ HEAP32[3576] = (HEAP32[3576] | 0) + 1;
+ i13 = HEAP32[i1 + 28 >> 2] | 0;
+ L433 : do {
+ if ((i13 | 0) > 0) {
+ i14 = i1 + 36 | 0;
+ i15 = i3 | 0;
+ i16 = i3 + 4 | 0;
+ i17 = i3 + 8 | 0;
+ i18 = i3 + 16 | 0;
+ i19 = i3 + 20 | 0;
+ i20 = i3 + 24 | 0;
+ i21 = i3 + 32 | 0;
+ i22 = i3 + 36 | 0;
+ i23 = i3 + 40 | 0;
+ i24 = i7 | 0;
+ i25 = i7 + 4 | 0;
+ i26 = i7 + 8 | 0;
+ i27 = i7 + 12 | 0;
+ i28 = i5;
+ i29 = i7;
+ d30 = 3.4028234663852886e+38;
+ i31 = 0;
+ while (1) {
+ i32 = HEAP32[i14 >> 2] | 0;
+ d33 = +HEAPF32[i32 + (i31 * 56 | 0) + 40 >> 2];
+ d34 = +HEAPF32[i32 + (i31 * 56 | 0) + 44 >> 2];
+ d35 = +HEAPF32[i32 + (i31 * 56 | 0) + 48 >> 2];
+ d36 = d33 * +HEAPF32[i18 >> 2] + d34 * +HEAPF32[i19 >> 2] + d35 * +HEAPF32[i20 >> 2];
+ d37 = d33 * +HEAPF32[i21 >> 2] + d34 * +HEAPF32[i22 >> 2] + d35 * +HEAPF32[i23 >> 2];
+ HEAPF32[i24 >> 2] = d33 * +HEAPF32[i15 >> 2] + d34 * +HEAPF32[i16 >> 2] + d35 * +HEAPF32[i17 >> 2];
+ HEAPF32[i25 >> 2] = d36;
+ HEAPF32[i26 >> 2] = d37;
+ HEAPF32[i27 >> 2] = 0.0;
+ if (!(__ZL11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf(i1, i2, i3, i4, i7, i8) | 0)) {
+ i38 = 0;
+ break;
+ }
+ d37 = +HEAPF32[i8 >> 2];
+ if (d37 < d30) {
+ HEAP32[i28 >> 2] = HEAP32[i29 >> 2];
+ HEAP32[i28 + 4 >> 2] = HEAP32[i29 + 4 >> 2];
+ HEAP32[i28 + 8 >> 2] = HEAP32[i29 + 8 >> 2];
+ HEAP32[i28 + 12 >> 2] = HEAP32[i29 + 12 >> 2];
+ d39 = d37;
+ } else {
+ d39 = d30;
+ }
+ i32 = i31 + 1 | 0;
+ if ((i32 | 0) < (i13 | 0)) {
+ d30 = d39;
+ i31 = i32;
+ } else {
+ d40 = d39;
+ break L433;
+ }
+ }
+ STACKTOP = i6;
+ return i38 | 0;
+ } else {
+ d40 = 3.4028234663852886e+38;
+ }
+ } while (0);
+ i13 = HEAP32[i2 + 28 >> 2] | 0;
+ L443 : do {
+ if ((i13 | 0) > 0) {
+ i8 = i2 + 36 | 0;
+ i7 = i4 | 0;
+ i31 = i4 + 4 | 0;
+ i29 = i4 + 8 | 0;
+ i28 = i4 + 16 | 0;
+ i27 = i4 + 20 | 0;
+ i26 = i4 + 24 | 0;
+ i25 = i4 + 32 | 0;
+ i17 = i4 + 36 | 0;
+ i16 = i4 + 40 | 0;
+ i15 = i9 | 0;
+ i24 = i9 + 4 | 0;
+ i23 = i9 + 8 | 0;
+ i22 = i9 + 12 | 0;
+ i21 = i5;
+ i20 = i9;
+ d39 = d40;
+ i19 = 0;
+ while (1) {
+ i18 = HEAP32[i8 >> 2] | 0;
+ d30 = +HEAPF32[i18 + (i19 * 56 | 0) + 40 >> 2];
+ d37 = +HEAPF32[i18 + (i19 * 56 | 0) + 44 >> 2];
+ d36 = +HEAPF32[i18 + (i19 * 56 | 0) + 48 >> 2];
+ d35 = d30 * +HEAPF32[i28 >> 2] + d37 * +HEAPF32[i27 >> 2] + d36 * +HEAPF32[i26 >> 2];
+ d34 = d30 * +HEAPF32[i25 >> 2] + d37 * +HEAPF32[i17 >> 2] + d36 * +HEAPF32[i16 >> 2];
+ HEAPF32[i15 >> 2] = d30 * +HEAPF32[i7 >> 2] + d37 * +HEAPF32[i31 >> 2] + d36 * +HEAPF32[i29 >> 2];
+ HEAPF32[i24 >> 2] = d35;
+ HEAPF32[i23 >> 2] = d34;
+ HEAPF32[i22 >> 2] = 0.0;
+ if (!(__ZL11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf(i1, i2, i3, i4, i9, i10) | 0)) {
+ i38 = 0;
+ break;
+ }
+ d34 = +HEAPF32[i10 >> 2];
+ if (d34 < d39) {
+ HEAP32[i21 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i21 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i21 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i21 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ d41 = d34;
+ } else {
+ d41 = d39;
+ }
+ i18 = i19 + 1 | 0;
+ if ((i18 | 0) < (i13 | 0)) {
+ d39 = d41;
+ i19 = i18;
+ } else {
+ d42 = d41;
+ break L443;
+ }
+ }
+ STACKTOP = i6;
+ return i38 | 0;
+ } else {
+ d42 = d40;
+ }
+ } while (0);
+ i13 = i1 + 48 | 0;
+ i10 = HEAP32[i13 >> 2] | 0;
+ L453 : do {
+ if ((i10 | 0) > 0) {
+ i9 = i1 + 56 | 0;
+ i19 = i3 | 0;
+ i20 = i3 + 4 | 0;
+ i21 = i3 + 8 | 0;
+ i22 = i3 + 16 | 0;
+ i23 = i3 + 20 | 0;
+ i24 = i3 + 24 | 0;
+ i29 = i3 + 32 | 0;
+ i31 = i3 + 36 | 0;
+ i7 = i3 + 40 | 0;
+ i15 = i2 + 48 | 0;
+ i16 = i2 + 56 | 0;
+ i17 = i4 | 0;
+ i25 = i4 + 4 | 0;
+ i26 = i4 + 8 | 0;
+ i27 = i4 + 16 | 0;
+ i28 = i4 + 20 | 0;
+ i8 = i4 + 24 | 0;
+ i18 = i4 + 32 | 0;
+ i14 = i4 + 36 | 0;
+ i32 = i4 + 40 | 0;
+ i43 = i11 | 0;
+ i44 = i11 + 4 | 0;
+ i45 = i11 + 8 | 0;
+ i46 = i11 + 12 | 0;
+ i47 = i11;
+ i48 = i5;
+ d40 = d42;
+ i49 = 0;
+ i50 = HEAP32[i15 >> 2] | 0;
+ i51 = i10;
+ L455 : while (1) {
+ i52 = HEAP32[i9 >> 2] | 0;
+ d41 = +HEAPF32[i52 + (i49 << 4) >> 2];
+ d39 = +HEAPF32[i52 + (i49 << 4) + 4 >> 2];
+ d34 = +HEAPF32[i52 + (i49 << 4) + 8 >> 2];
+ d35 = d41 * +HEAPF32[i19 >> 2] + d39 * +HEAPF32[i20 >> 2] + d34 * +HEAPF32[i21 >> 2];
+ d36 = d41 * +HEAPF32[i22 >> 2] + d39 * +HEAPF32[i23 >> 2] + d34 * +HEAPF32[i24 >> 2];
+ d37 = d41 * +HEAPF32[i29 >> 2] + d39 * +HEAPF32[i31 >> 2] + d34 * +HEAPF32[i7 >> 2];
+ if ((i50 | 0) > 0) {
+ d34 = d40;
+ i52 = 0;
+ while (1) {
+ i53 = HEAP32[i16 >> 2] | 0;
+ d39 = +HEAPF32[i53 + (i52 << 4) >> 2];
+ d41 = +HEAPF32[i53 + (i52 << 4) + 4 >> 2];
+ d30 = +HEAPF32[i53 + (i52 << 4) + 8 >> 2];
+ d33 = d39 * +HEAPF32[i17 >> 2] + d41 * +HEAPF32[i25 >> 2] + d30 * +HEAPF32[i26 >> 2];
+ d54 = d39 * +HEAPF32[i27 >> 2] + d41 * +HEAPF32[i28 >> 2] + d30 * +HEAPF32[i8 >> 2];
+ d55 = d39 * +HEAPF32[i18 >> 2] + d41 * +HEAPF32[i14 >> 2] + d30 * +HEAPF32[i32 >> 2];
+ d30 = d36 * d55 - d37 * d54;
+ d41 = d37 * d33 - d35 * d55;
+ d55 = d35 * d54 - d36 * d33;
+ HEAPF32[i43 >> 2] = d30;
+ HEAPF32[i44 >> 2] = d41;
+ HEAPF32[i45 >> 2] = d55;
+ HEAPF32[i46 >> 2] = 0.0;
+ do {
+ if (+Math_abs(+d30) > 1.0e-6) {
+ i56 = 339;
+ } else {
+ if (+Math_abs(+d41) > 1.0e-6) {
+ i56 = 339;
+ break;
+ }
+ if (+Math_abs(+d55) > 1.0e-6) {
+ i56 = 339;
+ } else {
+ d57 = d34;
+ }
+ }
+ } while (0);
+ do {
+ if ((i56 | 0) == 339) {
+ i56 = 0;
+ d33 = 1.0 / +Math_sqrt(+(d55 * d55 + (d30 * d30 + d41 * d41)));
+ HEAPF32[i43 >> 2] = d30 * d33;
+ HEAPF32[i44 >> 2] = d41 * d33;
+ HEAPF32[i45 >> 2] = d55 * d33;
+ if (!(__ZL11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf(i1, i2, i3, i4, i11, i12) | 0)) {
+ i38 = 0;
+ break L455;
+ }
+ d33 = +HEAPF32[i12 >> 2];
+ if (d33 >= d34) {
+ d57 = d34;
+ break;
+ }
+ HEAP32[i48 >> 2] = HEAP32[i47 >> 2];
+ HEAP32[i48 + 4 >> 2] = HEAP32[i47 + 4 >> 2];
+ HEAP32[i48 + 8 >> 2] = HEAP32[i47 + 8 >> 2];
+ HEAP32[i48 + 12 >> 2] = HEAP32[i47 + 12 >> 2];
+ d57 = d33;
+ }
+ } while (0);
+ i53 = i52 + 1 | 0;
+ i58 = HEAP32[i15 >> 2] | 0;
+ if ((i53 | 0) < (i58 | 0)) {
+ d34 = d57;
+ i52 = i53;
+ } else {
+ break;
+ }
+ }
+ d59 = d57;
+ i60 = i58;
+ i61 = HEAP32[i13 >> 2] | 0;
+ } else {
+ d59 = d40;
+ i60 = i50;
+ i61 = i51;
+ }
+ i52 = i49 + 1 | 0;
+ if ((i52 | 0) < (i61 | 0)) {
+ d40 = d59;
+ i49 = i52;
+ i50 = i60;
+ i51 = i61;
+ } else {
+ break L453;
+ }
+ }
+ STACKTOP = i6;
+ return i38 | 0;
+ }
+ } while (0);
+ i61 = i5 | 0;
+ d59 = +HEAPF32[i61 >> 2];
+ i60 = i5 + 4 | 0;
+ d57 = +HEAPF32[i60 >> 2];
+ i13 = i5 + 8 | 0;
+ d42 = +HEAPF32[i13 >> 2];
+ if ((+HEAPF32[i4 + 48 >> 2] - +HEAPF32[i3 + 48 >> 2]) * d59 + (+HEAPF32[i4 + 52 >> 2] - +HEAPF32[i3 + 52 >> 2]) * d57 + (+HEAPF32[i4 + 56 >> 2] - +HEAPF32[i3 + 56 >> 2]) * d42 <= 0.0) {
+ i38 = 1;
+ STACKTOP = i6;
+ return i38 | 0;
+ }
+ HEAPF32[i61 >> 2] = -0.0 - d59;
+ HEAPF32[i60 >> 2] = -0.0 - d57;
+ HEAPF32[i13 >> 2] = -0.0 - d42;
+ HEAPF32[i5 + 12 >> 2] = 0.0;
+ i38 = 1;
+ STACKTOP = i6;
+ return i38 | 0;
+}
+function runPostSets() {
+ HEAP32[__ZTVN10__cxxabiv120__si_class_type_infoE + 8 >> 2] = 6;
+ HEAP32[__ZTVN10__cxxabiv120__si_class_type_infoE + 12 >> 2] = 192;
+ HEAP32[__ZTVN10__cxxabiv120__si_class_type_infoE + 16 >> 2] = 74;
+ HEAP32[__ZTVN10__cxxabiv120__si_class_type_infoE + 20 >> 2] = 214;
+ HEAP32[__ZTVN10__cxxabiv120__si_class_type_infoE + 24 >> 2] = 4;
+ HEAP32[__ZTVN10__cxxabiv120__si_class_type_infoE + 28 >> 2] = 4;
+ HEAP32[__ZTVN10__cxxabiv120__si_class_type_infoE + 32 >> 2] = 10;
+ HEAP32[__ZTVN10__cxxabiv120__si_class_type_infoE + 36 >> 2] = 22;
+ HEAP32[__ZTVN10__cxxabiv117__class_type_infoE + 8 >> 2] = 6;
+ HEAP32[__ZTVN10__cxxabiv117__class_type_infoE + 12 >> 2] = 348;
+ HEAP32[__ZTVN10__cxxabiv117__class_type_infoE + 16 >> 2] = 74;
+ HEAP32[__ZTVN10__cxxabiv117__class_type_infoE + 20 >> 2] = 214;
+ HEAP32[__ZTVN10__cxxabiv117__class_type_infoE + 24 >> 2] = 4;
+ HEAP32[__ZTVN10__cxxabiv117__class_type_infoE + 28 >> 2] = 10;
+ HEAP32[__ZTVN10__cxxabiv117__class_type_infoE + 32 >> 2] = 8;
+ HEAP32[__ZTVN10__cxxabiv117__class_type_infoE + 36 >> 2] = 42;
+ HEAP32[2584] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2588] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2592] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2596] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2600] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2604] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2608] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2612] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2616] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2620] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2624] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2628] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2632] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2636] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2640] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2644] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2646] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2648] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2652] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2654] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2656] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2660] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2664] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2668] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2672] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2676] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2680] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2684] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2688] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2690] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2694] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2698] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2702] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2704] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2706] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2708] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2712] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2716] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2720] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2724] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2726] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2730] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2734] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2738] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2742] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2746] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2750] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2752] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2756] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2760] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2764] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2766] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2768] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2772] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2776] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2780] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2784] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2788] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2792] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2796] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2798] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2800] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2804] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2808] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2810] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2812] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2816] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2820] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2824] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2828] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2832] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2836] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2840] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2844] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2848] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2852] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2854] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2858] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2862] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2864] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2868] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2870] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2874] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2878] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2882] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2884] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2888] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2890] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2892] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2894] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2898] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2908] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2912] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2916] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2920] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2924] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2926] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2928] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2932] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2936] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2940] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2944] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2948] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2950] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2954] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2956] = __ZTVN10__cxxabiv117__class_type_infoE + 8;
+ HEAP32[2958] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+ HEAP32[2962] = __ZTVN10__cxxabiv120__si_class_type_infoE + 8;
+}
+function __ZN27btPolyhedralContactClipping19clipFaceAgainstHullERK9btVector3RK18btConvexPolyhedronRK11btTransformR20btAlignedObjectArrayIS0_EffRN36btDiscreteCollisionDetectorInterface6ResultE(i1, i2, i3, i4, d5, d6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ d5 = +d5;
+ d6 = +d6;
+ i7 = i7 | 0;
+ var i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, d20 = 0.0, i21 = 0, d22 = 0.0, i23 = 0, d24 = 0.0, i25 = 0, d26 = 0.0, i27 = 0, d28 = 0.0, i29 = 0, d30 = 0.0, i31 = 0, d32 = 0.0, i33 = 0, d34 = 0.0, i35 = 0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, i40 = 0, d41 = 0.0, i42 = 0, d43 = 0.0, d44 = 0.0, d45 = 0.0, d46 = 0.0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, d61 = 0.0, i62 = 0, d63 = 0.0, d64 = 0.0, d65 = 0.0, d66 = 0.0, d67 = 0.0, d68 = 0.0, d69 = 0.0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0, i79 = 0, d80 = 0.0, d81 = 0.0, d82 = 0.0, d83 = 0.0, d84 = 0.0, d85 = 0.0, d86 = 0.0, d87 = 0.0, d88 = 0.0, i89 = 0;
+ i8 = STACKTOP;
+ STACKTOP = STACKTOP + 72 | 0;
+ i9 = i8 | 0;
+ i10 = i8 + 24 | 0;
+ i11 = i8 + 40 | 0;
+ i12 = i8 + 56 | 0;
+ i13 = i9 + 16 | 0;
+ HEAP8[i13] = 1;
+ i14 = i9 + 12 | 0;
+ HEAP32[i14 >> 2] = 0;
+ HEAP32[i9 + 4 >> 2] = 0;
+ i15 = i9 + 8 | 0;
+ HEAP32[i15 >> 2] = 0;
+ i16 = HEAP32[i4 + 4 >> 2] | 0;
+ if ((i16 | 0) > 0) {
+ i17 = __Z22btAlignedAllocInternalji(i16 << 4, 16) | 0;
+ HEAP8[i13] = 1;
+ HEAP32[i14 >> 2] = i17;
+ HEAP32[i15 >> 2] = i16;
+ i18 = i17;
+ } else {
+ i18 = 0;
+ }
+ i17 = HEAP32[i2 + 28 >> 2] | 0;
+ do {
+ if ((i17 | 0) > 0) {
+ i16 = i2 + 36 | 0;
+ i15 = HEAP32[i16 >> 2] | 0;
+ i19 = i3 | 0;
+ d20 = +HEAPF32[i19 >> 2];
+ i21 = i3 + 4 | 0;
+ d22 = +HEAPF32[i21 >> 2];
+ i23 = i3 + 8 | 0;
+ d24 = +HEAPF32[i23 >> 2];
+ i25 = i3 + 16 | 0;
+ d26 = +HEAPF32[i25 >> 2];
+ i27 = i3 + 20 | 0;
+ d28 = +HEAPF32[i27 >> 2];
+ i29 = i3 + 24 | 0;
+ d30 = +HEAPF32[i29 >> 2];
+ i31 = i3 + 32 | 0;
+ d32 = +HEAPF32[i31 >> 2];
+ i33 = i3 + 36 | 0;
+ d34 = +HEAPF32[i33 >> 2];
+ i35 = i3 + 40 | 0;
+ d36 = +HEAPF32[i35 >> 2];
+ d37 = +HEAPF32[i1 >> 2];
+ d38 = +HEAPF32[i1 + 4 >> 2];
+ d39 = +HEAPF32[i1 + 8 >> 2];
+ i40 = 0;
+ d41 = 3.4028234663852886e+38;
+ i42 = -1;
+ while (1) {
+ d43 = +HEAPF32[i15 + (i40 * 56 | 0) + 40 >> 2];
+ d44 = +HEAPF32[i15 + (i40 * 56 | 0) + 44 >> 2];
+ d45 = +HEAPF32[i15 + (i40 * 56 | 0) + 48 >> 2];
+ d46 = d39 * (d32 * d43 + d34 * d44 + d36 * d45) + (d37 * (d20 * d43 + d22 * d44 + d24 * d45) + d38 * (d26 * d43 + d28 * d44 + d30 * d45));
+ i47 = d46 < d41;
+ i48 = i47 ? i40 : i42;
+ i49 = i40 + 1 | 0;
+ if ((i49 | 0) < (i17 | 0)) {
+ i40 = i49;
+ d41 = i47 ? d46 : d41;
+ i42 = i48;
+ } else {
+ break;
+ }
+ }
+ if ((i48 | 0) < 0) {
+ i50 = i18;
+ break;
+ }
+ i42 = HEAP32[i15 + (i48 * 56 | 0) + 4 >> 2] | 0;
+ if ((i42 | 0) > 0) {
+ i40 = i15 + (i48 * 56 | 0) + 32 | 0;
+ i47 = i10 | 0;
+ i49 = i10 + 4 | 0;
+ i51 = i10 + 8 | 0;
+ i52 = i10 + 12 | 0;
+ i53 = i3 + 48 | 0;
+ i54 = i3 + 52 | 0;
+ i55 = i3 + 56 | 0;
+ i56 = i11;
+ i57 = i4;
+ i58 = i9;
+ i59 = 0;
+ i60 = i15;
+ d41 = d20;
+ d38 = d22;
+ d37 = d24;
+ d39 = d26;
+ d46 = d28;
+ d45 = d30;
+ d44 = d32;
+ d43 = d34;
+ d61 = d36;
+ while (1) {
+ i62 = HEAP32[(HEAP32[i40 >> 2] | 0) + (i59 << 2) >> 2] | 0;
+ d63 = +HEAPF32[i60 + (i62 * 56 | 0) + 40 >> 2];
+ d64 = +HEAPF32[i60 + (i62 * 56 | 0) + 44 >> 2];
+ d65 = +HEAPF32[i60 + (i62 * 56 | 0) + 48 >> 2];
+ d66 = +HEAPF32[i60 + (i62 * 56 | 0) + 52 >> 2];
+ d67 = d63 * d41 + d64 * d38 + d65 * d37;
+ d68 = d63 * d39 + d64 * d46 + d65 * d45;
+ d69 = d63 * d44 + d64 * d43 + d65 * d61;
+ HEAPF32[i47 >> 2] = d67;
+ HEAPF32[i49 >> 2] = d68;
+ HEAPF32[i51 >> 2] = d69;
+ HEAPF32[i52 >> 2] = 0.0;
+ __ZN27btPolyhedralContactClipping8clipFaceERK20btAlignedObjectArrayI9btVector3ERS2_RKS1_f(i57, i58, i10, d66 - (d67 * +HEAPF32[i53 >> 2] + d68 * +HEAPF32[i54 >> 2] + d69 * +HEAPF32[i55 >> 2]));
+ i62 = i57 + 4 | 0;
+ i70 = HEAP32[i62 >> 2] | 0;
+ if ((i70 | 0) < 0) {
+ i71 = i57 + 8 | 0;
+ i72 = i57 + 12 | 0;
+ if ((HEAP32[i71 >> 2] | 0) < 0) {
+ i73 = HEAP32[i72 >> 2] | 0;
+ i74 = i57 + 16 | 0;
+ if ((i73 | 0) != 0) {
+ if ((HEAP8[i74] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i73);
+ }
+ HEAP32[i72 >> 2] = 0;
+ }
+ HEAP8[i74] = 1;
+ HEAP32[i72 >> 2] = 0;
+ HEAP32[i71 >> 2] = 0;
+ i75 = i70;
+ } else {
+ i75 = i70;
+ }
+ do {
+ i70 = (HEAP32[i72 >> 2] | 0) + (i75 << 4) | 0;
+ if ((i70 | 0) != 0) {
+ i71 = i70;
+ HEAP32[i71 >> 2] = HEAP32[i56 >> 2];
+ HEAP32[i71 + 4 >> 2] = HEAP32[i56 + 4 >> 2];
+ HEAP32[i71 + 8 >> 2] = HEAP32[i56 + 8 >> 2];
+ HEAP32[i71 + 12 >> 2] = HEAP32[i56 + 12 >> 2];
+ }
+ i75 = i75 + 1 | 0;
+ } while ((i75 | 0) < 0);
+ }
+ HEAP32[i62 >> 2] = 0;
+ i72 = i59 + 1 | 0;
+ if ((i72 | 0) >= (i42 | 0)) {
+ break;
+ }
+ i71 = i57;
+ i57 = i58;
+ i59 = i72;
+ i60 = HEAP32[i16 >> 2] | 0;
+ d41 = +HEAPF32[i19 >> 2];
+ d38 = +HEAPF32[i21 >> 2];
+ d37 = +HEAPF32[i23 >> 2];
+ d39 = +HEAPF32[i25 >> 2];
+ d46 = +HEAPF32[i27 >> 2];
+ d45 = +HEAPF32[i29 >> 2];
+ d44 = +HEAPF32[i31 >> 2];
+ d43 = +HEAPF32[i33 >> 2];
+ d61 = +HEAPF32[i35 >> 2];
+ i58 = i71;
+ }
+ i76 = i58;
+ i77 = i53;
+ i78 = i54;
+ i79 = i55;
+ d80 = +HEAPF32[i19 >> 2];
+ d81 = +HEAPF32[i21 >> 2];
+ d82 = +HEAPF32[i23 >> 2];
+ d83 = +HEAPF32[i25 >> 2];
+ d84 = +HEAPF32[i27 >> 2];
+ d85 = +HEAPF32[i29 >> 2];
+ d86 = +HEAPF32[i31 >> 2];
+ d87 = +HEAPF32[i33 >> 2];
+ d88 = +HEAPF32[i35 >> 2];
+ } else {
+ i76 = i4;
+ i77 = i3 + 48 | 0;
+ i78 = i3 + 52 | 0;
+ i79 = i3 + 56 | 0;
+ d80 = d20;
+ d81 = d22;
+ d82 = d24;
+ d83 = d26;
+ d84 = d28;
+ d85 = d30;
+ d86 = d32;
+ d87 = d34;
+ d88 = d36;
+ }
+ d61 = +HEAPF32[i15 + (i48 * 56 | 0) + 40 >> 2];
+ d43 = +HEAPF32[i15 + (i48 * 56 | 0) + 44 >> 2];
+ d44 = +HEAPF32[i15 + (i48 * 56 | 0) + 48 >> 2];
+ d45 = d61 * d80 + d43 * d81 + d44 * d82;
+ d46 = d61 * d83 + d43 * d84 + d44 * d85;
+ d39 = d61 * d86 + d43 * d87 + d44 * d88;
+ d44 = +HEAPF32[i15 + (i48 * 56 | 0) + 52 >> 2] - (d45 * +HEAPF32[i77 >> 2] + d46 * +HEAPF32[i78 >> 2] + d39 * +HEAPF32[i79 >> 2]);
+ i16 = i76 + 4 | 0;
+ i60 = HEAP32[i16 >> 2] | 0;
+ if ((i60 | 0) > 0) {
+ i59 = i76 + 12 | 0;
+ i57 = i12;
+ i42 = i7;
+ i56 = 0;
+ i52 = i60;
+ while (1) {
+ i60 = HEAP32[i59 >> 2] | 0;
+ i51 = i60 + (i56 << 4) | 0;
+ d43 = d44 + (d45 * +HEAPF32[i51 >> 2] + d46 * +HEAPF32[i60 + (i56 << 4) + 4 >> 2] + d39 * +HEAPF32[i60 + (i56 << 4) + 8 >> 2]);
+ if (d43 > d6 | d43 < d5) {
+ i89 = i52;
+ } else {
+ i60 = i51;
+ HEAP32[i57 >> 2] = HEAP32[i60 >> 2];
+ HEAP32[i57 + 4 >> 2] = HEAP32[i60 + 4 >> 2];
+ HEAP32[i57 + 8 >> 2] = HEAP32[i60 + 8 >> 2];
+ HEAP32[i57 + 12 >> 2] = HEAP32[i60 + 12 >> 2];
+ FUNCTION_TABLE_viiif[HEAP32[(HEAP32[i42 >> 2] | 0) + 16 >> 2] & 15](i7, i1, i12, d43);
+ i89 = HEAP32[i16 >> 2] | 0;
+ }
+ i60 = i56 + 1 | 0;
+ if ((i60 | 0) < (i89 | 0)) {
+ i56 = i60;
+ i52 = i89;
+ } else {
+ break;
+ }
+ }
+ }
+ i50 = HEAP32[i14 >> 2] | 0;
+ } else {
+ i50 = i18;
+ }
+ } while (0);
+ if ((i50 | 0) == 0) {
+ STACKTOP = i8;
+ return;
+ }
+ if ((HEAP8[i13] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i50);
+ }
+ HEAP32[i14 >> 2] = 0;
+ STACKTOP = i8;
+ return;
+}
+function __ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, i15 = 0, d16 = 0.0, d17 = 0.0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, d22 = 0.0, d23 = 0.0, d24 = 0.0, i25 = 0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, i35 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 80 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 16 | 0;
+ i7 = i4 + 32 | 0;
+ i8 = i4 + 48 | 0;
+ i9 = i4 + 64 | 0;
+ switch (HEAP32[i2 + 4 >> 2] | 0) {
+ case 8:
+ {
+ _memset(i1 | 0, 0, 16);
+ STACKTOP = i4;
+ return;
+ }
+ case 0:
+ {
+ i10 = i2 + 28 | 0;
+ d11 = +HEAPF32[i10 >> 2];
+ d12 = +HEAPF32[i10 + 4 >> 2];
+ d13 = +HEAPF32[i3 + 4 >> 2] >= 0.0 ? d12 : -0.0 - d12;
+ d12 = +HEAPF32[i10 + 8 >> 2];
+ d14 = +HEAPF32[i3 + 8 >> 2] >= 0.0 ? d12 : -0.0 - d12;
+ HEAPF32[i1 >> 2] = +HEAPF32[i3 >> 2] >= 0.0 ? d11 : -0.0 - d11;
+ HEAPF32[i1 + 4 >> 2] = d13;
+ HEAPF32[i1 + 8 >> 2] = d14;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+ }
+ case 1:
+ {
+ d14 = +HEAPF32[i3 >> 2];
+ d13 = +HEAPF32[i3 + 4 >> 2];
+ d11 = +HEAPF32[i3 + 8 >> 2];
+ i10 = i2 + 56 | 0;
+ i15 = i10;
+ d12 = d14 * +HEAPF32[i10 >> 2] + d13 * +HEAPF32[i10 + 4 >> 2] + d11 * +HEAPF32[i10 + 8 >> 2];
+ d16 = d14 * +HEAPF32[i10 + 16 >> 2] + d13 * +HEAPF32[i10 + 20 >> 2] + d11 * +HEAPF32[i10 + 24 >> 2];
+ d17 = d14 * +HEAPF32[i10 + 32 >> 2] + d13 * +HEAPF32[i10 + 36 >> 2] + d11 * +HEAPF32[i10 + 40 >> 2];
+ if (d12 < d16) {
+ i18 = d16 < d17 ? 2 : 1;
+ } else {
+ i18 = d12 < d17 ? 2 : 0;
+ }
+ d17 = +HEAPF32[i15 + (i18 << 4) + 4 >> 2];
+ d12 = +HEAPF32[i15 + (i18 << 4) + 8 >> 2];
+ HEAPF32[i1 >> 2] = +HEAPF32[i15 + (i18 << 4) >> 2];
+ HEAPF32[i1 + 4 >> 2] = d17;
+ HEAPF32[i1 + 8 >> 2] = d12;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+ }
+ case 13:
+ {
+ i18 = i5;
+ i15 = i2 + 28 | 0;
+ HEAP32[i18 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i18 + 4 >> 2] = HEAP32[i15 + 4 >> 2];
+ HEAP32[i18 + 8 >> 2] = HEAP32[i15 + 8 >> 2];
+ HEAP32[i18 + 12 >> 2] = HEAP32[i15 + 12 >> 2];
+ HEAPF32[i6 >> 2] = +HEAPF32[i3 >> 2];
+ d12 = +HEAPF32[i3 + 4 >> 2];
+ HEAPF32[i6 + 4 >> 2] = d12;
+ d17 = +HEAPF32[i3 + 8 >> 2];
+ HEAPF32[i6 + 8 >> 2] = d17;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ i15 = HEAP32[i2 + 52 >> 2] | 0;
+ if ((i15 | 0) == 1) {
+ i19 = 0;
+ i20 = i15;
+ i21 = 2;
+ d22 = d17;
+ } else if ((i15 | 0) == 2) {
+ i19 = 0;
+ i20 = i15;
+ i21 = 1;
+ d22 = d12;
+ } else {
+ i19 = 1;
+ i20 = 0;
+ i21 = 2;
+ d22 = d17;
+ }
+ d17 = +HEAPF32[i5 + (i19 << 2) >> 2];
+ d12 = +HEAPF32[i5 + (i15 << 2) >> 2];
+ d16 = +HEAPF32[i6 + (i19 << 2) >> 2];
+ d11 = +Math_sqrt(+(d22 * d22 + d16 * d16));
+ if (d11 != 0.0) {
+ d13 = d17 / d11;
+ HEAPF32[i7 + (i19 << 2) >> 2] = d16 * d13;
+ if (+HEAPF32[i6 + (i20 << 2) >> 2] < 0.0) {
+ d23 = -0.0 - d12;
+ } else {
+ d23 = d12;
+ }
+ HEAPF32[i7 + (i20 << 2) >> 2] = d23;
+ HEAPF32[i7 + (i21 << 2) >> 2] = d22 * d13;
+ HEAPF32[i1 >> 2] = +HEAPF32[i7 >> 2];
+ HEAPF32[i1 + 4 >> 2] = +HEAPF32[i7 + 4 >> 2];
+ HEAPF32[i1 + 8 >> 2] = +HEAPF32[i7 + 8 >> 2];
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+ } else {
+ HEAPF32[i7 + (i19 << 2) >> 2] = d17;
+ if (+HEAPF32[i6 + (i20 << 2) >> 2] < 0.0) {
+ d24 = -0.0 - d12;
+ } else {
+ d24 = d12;
+ }
+ HEAPF32[i7 + (i20 << 2) >> 2] = d24;
+ HEAPF32[i7 + (i21 << 2) >> 2] = 0.0;
+ HEAPF32[i1 >> 2] = +HEAPF32[i7 >> 2];
+ HEAPF32[i1 + 4 >> 2] = +HEAPF32[i7 + 4 >> 2];
+ HEAPF32[i1 + 8 >> 2] = +HEAPF32[i7 + 8 >> 2];
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+ }
+ break;
+ }
+ case 5:
+ {
+ i7 = HEAP32[i2 + 92 >> 2] | 0;
+ i21 = HEAP32[i2 + 96 >> 2] | 0;
+ d24 = +HEAPF32[i2 + 12 >> 2];
+ d12 = +HEAPF32[i3 >> 2] * d24;
+ d17 = +HEAPF32[i2 + 16 >> 2];
+ d13 = +HEAPF32[i3 + 4 >> 2] * d17;
+ d22 = +HEAPF32[i2 + 20 >> 2];
+ d23 = +HEAPF32[i3 + 8 >> 2] * d22;
+ if ((i21 | 0) > 0) {
+ d16 = -999999984306749400.0;
+ i20 = -1;
+ i6 = 0;
+ while (1) {
+ d11 = d12 * +HEAPF32[i7 + (i6 << 4) >> 2] + d13 * +HEAPF32[i7 + (i6 << 4) + 4 >> 2] + d23 * +HEAPF32[i7 + (i6 << 4) + 8 >> 2];
+ i19 = d11 > d16;
+ i15 = i19 ? i6 : i20;
+ i5 = i6 + 1 | 0;
+ if ((i5 | 0) < (i21 | 0)) {
+ d16 = i19 ? d11 : d16;
+ i20 = i15;
+ i6 = i5;
+ } else {
+ i25 = i15;
+ break;
+ }
+ }
+ } else {
+ i25 = -1;
+ }
+ d16 = d17 * +HEAPF32[i7 + (i25 << 4) + 4 >> 2];
+ d17 = d22 * +HEAPF32[i7 + (i25 << 4) + 8 >> 2];
+ HEAPF32[i1 >> 2] = d24 * +HEAPF32[i7 + (i25 << 4) >> 2];
+ HEAPF32[i1 + 4 >> 2] = d16;
+ HEAPF32[i1 + 8 >> 2] = d17;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+ }
+ case 10:
+ {
+ d17 = +HEAPF32[i3 >> 2];
+ d16 = +HEAPF32[i3 + 4 >> 2];
+ d24 = +HEAPF32[i3 + 8 >> 2];
+ i25 = i2;
+ i7 = HEAP32[i2 + 52 >> 2] | 0;
+ d22 = +HEAPF32[i25 + 28 + (i7 << 2) >> 2];
+ d23 = +HEAPF32[i25 + 28 + (((i7 + 2 | 0) % 3 | 0) << 2) >> 2];
+ d13 = d17 * d17 + d16 * d16 + d24 * d24;
+ if (d13 < 9999999747378752.0e-20) {
+ d26 = 1.0;
+ d27 = 0.0;
+ d28 = 0.0;
+ } else {
+ d12 = 1.0 / +Math_sqrt(+d13);
+ d26 = d17 * d12;
+ d27 = d16 * d12;
+ d28 = d24 * d12;
+ }
+ _memset(i8 | 0, 0, 16);
+ HEAPF32[i8 + (i7 << 2) >> 2] = d22;
+ d12 = d23 * d26 * +HEAPF32[i2 + 12 >> 2];
+ d24 = d23 * d27 * +HEAPF32[i2 + 16 >> 2];
+ d16 = d23 * d28 * +HEAPF32[i2 + 20 >> 2];
+ d23 = +HEAPF32[i2 + 44 >> 2];
+ d17 = d26 * d23;
+ d13 = d27 * d23;
+ d11 = d28 * d23;
+ d23 = d12 + +HEAPF32[i8 >> 2] - d17;
+ d14 = d24 + +HEAPF32[i8 + 4 >> 2] - d13;
+ d29 = d16 + +HEAPF32[i8 + 8 >> 2] - d11;
+ d30 = d28 * d29 + (d26 * d23 + d27 * d14);
+ if (d30 > -999999984306749400.0) {
+ d31 = d30;
+ d32 = d23;
+ d33 = d14;
+ d34 = d29;
+ } else {
+ d31 = -999999984306749400.0;
+ d32 = 0.0;
+ d33 = 0.0;
+ d34 = 0.0;
+ }
+ _memset(i9 | 0, 0, 16);
+ HEAPF32[i9 + (i7 << 2) >> 2] = -0.0 - d22;
+ d22 = d12 + +HEAPF32[i9 >> 2] - d17;
+ d17 = d24 + +HEAPF32[i9 + 4 >> 2] - d13;
+ d13 = d16 + +HEAPF32[i9 + 8 >> 2] - d11;
+ i9 = d28 * d13 + (d26 * d22 + d27 * d17) > d31;
+ HEAPF32[i1 >> 2] = i9 ? d22 : d32;
+ HEAPF32[i1 + 4 >> 2] = i9 ? d17 : d33;
+ HEAPF32[i1 + 8 >> 2] = i9 ? d13 : d34;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+ }
+ case 4:
+ {
+ i9 = HEAP32[i2 + 104 >> 2] | 0;
+ i7 = HEAP32[i2 + 96 >> 2] | 0;
+ d34 = +HEAPF32[i2 + 12 >> 2];
+ d13 = +HEAPF32[i3 >> 2] * d34;
+ d33 = +HEAPF32[i2 + 16 >> 2];
+ d17 = +HEAPF32[i3 + 4 >> 2] * d33;
+ d32 = +HEAPF32[i2 + 20 >> 2];
+ d22 = +HEAPF32[i3 + 8 >> 2] * d32;
+ if ((i7 | 0) > 0) {
+ d31 = -999999984306749400.0;
+ i8 = -1;
+ i25 = 0;
+ while (1) {
+ d27 = d13 * +HEAPF32[i9 + (i25 << 4) >> 2] + d17 * +HEAPF32[i9 + (i25 << 4) + 4 >> 2] + d22 * +HEAPF32[i9 + (i25 << 4) + 8 >> 2];
+ i6 = d27 > d31;
+ i20 = i6 ? i25 : i8;
+ i21 = i25 + 1 | 0;
+ if ((i21 | 0) < (i7 | 0)) {
+ d31 = i6 ? d27 : d31;
+ i8 = i20;
+ i25 = i21;
+ } else {
+ i35 = i20;
+ break;
+ }
+ }
+ } else {
+ i35 = -1;
+ }
+ d31 = d33 * +HEAPF32[i9 + (i35 << 4) + 4 >> 2];
+ d33 = d32 * +HEAPF32[i9 + (i35 << 4) + 8 >> 2];
+ HEAPF32[i1 >> 2] = d34 * +HEAPF32[i9 + (i35 << 4) >> 2];
+ HEAPF32[i1 + 4 >> 2] = d31;
+ HEAPF32[i1 + 8 >> 2] = d33;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+ }
+ default:
+ {
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i2 >> 2] | 0) + 64 >> 2] & 127](i1, i2, i3);
+ STACKTOP = i4;
+ return;
+ }
+ }
+}
+function __ZN15btGjkConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, d24 = 0.0, d25 = 0.0, d26 = 0.0, i27 = 0, i28 = 0, i29 = 0, d30 = 0.0, d31 = 0.0, i32 = 0, d33 = 0.0, i34 = 0, d35 = 0.0, i36 = 0, d37 = 0.0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, d44 = 0.0, d45 = 0.0, d46 = 0.0, d47 = 0.0, i48 = 0, d49 = 0.0, i50 = 0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, d58 = 0.0, d59 = 0.0, d60 = 0.0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 280 | 0;
+ i8 = i7 + 16 | 0;
+ i9 = i7 + 64 | 0;
+ i10 = i7 + 144 | 0;
+ i11 = i1 + 4 | 0;
+ __ZN22btVoronoiSimplexSolver5resetEv(HEAP32[i11 >> 2] | 0);
+ i12 = i2 + 48 | 0;
+ i13 = i3 + 48 | 0;
+ i14 = i12 | 0;
+ i15 = i3 + 52 | 0;
+ i16 = i2 + 52 | 0;
+ i17 = i3 + 56 | 0;
+ i3 = i2 + 56 | 0;
+ i18 = i4 + 48 | 0;
+ i19 = i5 + 48 | 0;
+ i20 = i18 | 0;
+ i21 = i5 + 52 | 0;
+ i22 = i4 + 52 | 0;
+ i23 = i5 + 56 | 0;
+ i5 = i4 + 56 | 0;
+ d24 = +HEAPF32[i13 >> 2] - +HEAPF32[i14 >> 2] - (+HEAPF32[i19 >> 2] - +HEAPF32[i20 >> 2]);
+ d25 = +HEAPF32[i15 >> 2] - +HEAPF32[i16 >> 2] - (+HEAPF32[i21 >> 2] - +HEAPF32[i22 >> 2]);
+ d26 = +HEAPF32[i17 >> 2] - +HEAPF32[i3 >> 2] - (+HEAPF32[i23 >> 2] - +HEAPF32[i5 >> 2]);
+ HEAP32[i8 >> 2] = 4272;
+ i27 = i8 + 36 | 0;
+ HEAPF32[i27 >> 2] = 999999984306749400.0;
+ i28 = i8 + 40 | 0;
+ HEAP8[i28] = 0;
+ __ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i9, HEAP32[i1 + 8 >> 2] | 0, HEAP32[i1 + 12 >> 2] | 0, HEAP32[i11 >> 2] | 0, 0);
+ HEAPF32[i10 + 128 >> 2] = 999999984306749400.0;
+ HEAP32[i10 + 132 >> 2] = 0;
+ i11 = i10;
+ i1 = i2;
+ HEAP32[i11 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ i1 = i10 + 16 | 0;
+ i11 = i2 + 16 | 0;
+ HEAP32[i1 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i11 + 12 >> 2];
+ i11 = i10 + 32 | 0;
+ i1 = i2 + 32 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ i1 = i10 + 48 | 0;
+ i11 = i1;
+ i2 = i12;
+ HEAP32[i11 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i10 + 64 | 0;
+ i11 = i4;
+ HEAP32[i2 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i11 + 12 >> 2];
+ i11 = i10 + 80 | 0;
+ i2 = i4 + 16 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i10 + 96 | 0;
+ i11 = i4 + 32 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i11 + 12 >> 2];
+ i11 = i10 + 112 | 0;
+ i2 = i11;
+ i4 = i18;
+ HEAP32[i2 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i8 | 0;
+ __ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i9, i10, i4, 0, 0);
+ i2 = (HEAP8[i28] | 0) == 0;
+ i18 = i8 + 20 | 0;
+ i12 = i7 | 0;
+ HEAP32[i12 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i12 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i12 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i12 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ if (i2) {
+ i29 = 0;
+ STACKTOP = i7;
+ return i29 | 0;
+ }
+ d30 = +HEAPF32[i27 >> 2];
+ i2 = i8 + 4 | 0;
+ d31 = +HEAPF32[i2 >> 2];
+ i32 = i8 + 8 | 0;
+ d33 = +HEAPF32[i32 >> 2];
+ i34 = i8 + 12 | 0;
+ d35 = +HEAPF32[i34 >> 2];
+ i36 = i8 + 16 | 0;
+ d37 = +HEAPF32[i36 >> 2];
+ do {
+ if (d30 > .0010000000474974513) {
+ i8 = i6;
+ i38 = i1 | 0;
+ i39 = i10 + 52 | 0;
+ i40 = i10 + 56 | 0;
+ i41 = i11 | 0;
+ i42 = i10 + 116 | 0;
+ i43 = i10 + 120 | 0;
+ d44 = d35;
+ d45 = d33;
+ d46 = d31;
+ d47 = 0.0;
+ i48 = 1;
+ d49 = d30;
+ while (1) {
+ if ((i48 | 0) > 32) {
+ i29 = 0;
+ i50 = 2068;
+ break;
+ }
+ d51 = d47 - d49 / (d26 * d44 + (d24 * d46 + d25 * d45));
+ if (!(d51 >= 0.0 & d51 <= 1.0 & d51 > d47)) {
+ i29 = 0;
+ i50 = 2067;
+ break;
+ }
+ FUNCTION_TABLE_vif[HEAP32[HEAP32[i8 >> 2] >> 2] & 31](i6, d51);
+ d52 = 1.0 - d51;
+ HEAPF32[i38 >> 2] = d52 * +HEAPF32[i14 >> 2] + d51 * +HEAPF32[i13 >> 2];
+ HEAPF32[i39 >> 2] = d52 * +HEAPF32[i16 >> 2] + d51 * +HEAPF32[i15 >> 2];
+ HEAPF32[i40 >> 2] = d52 * +HEAPF32[i3 >> 2] + d51 * +HEAPF32[i17 >> 2];
+ HEAPF32[i41 >> 2] = d52 * +HEAPF32[i20 >> 2] + d51 * +HEAPF32[i19 >> 2];
+ HEAPF32[i42 >> 2] = d52 * +HEAPF32[i22 >> 2] + d51 * +HEAPF32[i21 >> 2];
+ HEAPF32[i43 >> 2] = d52 * +HEAPF32[i5 >> 2] + d51 * +HEAPF32[i23 >> 2];
+ __ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i9, i10, i4, 0, 0);
+ if ((HEAP8[i28] | 0) == 0) {
+ i29 = 0;
+ i50 = 2070;
+ break;
+ }
+ d52 = +HEAPF32[i27 >> 2];
+ if (d52 < 0.0) {
+ i50 = 2059;
+ break;
+ }
+ HEAP32[i12 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i12 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i12 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i12 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ d53 = +HEAPF32[i2 >> 2];
+ d54 = +HEAPF32[i32 >> 2];
+ d55 = +HEAPF32[i34 >> 2];
+ if (d52 > .0010000000474974513) {
+ d44 = d55;
+ d45 = d54;
+ d46 = d53;
+ d47 = d51;
+ i48 = i48 + 1 | 0;
+ d49 = d52;
+ } else {
+ i50 = 2061;
+ break;
+ }
+ }
+ if ((i50 | 0) == 2059) {
+ HEAPF32[i6 + 164 >> 2] = d51;
+ d49 = +HEAPF32[i32 >> 2];
+ d47 = +HEAPF32[i34 >> 2];
+ d46 = +HEAPF32[i36 >> 2];
+ HEAPF32[i6 + 132 >> 2] = +HEAPF32[i2 >> 2];
+ HEAPF32[i6 + 136 >> 2] = d49;
+ HEAPF32[i6 + 140 >> 2] = d47;
+ HEAPF32[i6 + 144 >> 2] = d46;
+ i48 = i6 + 148 | 0;
+ HEAP32[i48 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i48 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i48 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i48 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ i29 = 1;
+ STACKTOP = i7;
+ return i29 | 0;
+ } else if ((i50 | 0) == 2068) {
+ STACKTOP = i7;
+ return i29 | 0;
+ } else if ((i50 | 0) == 2061) {
+ d56 = +HEAPF32[i36 >> 2];
+ d57 = d55;
+ d58 = d54;
+ d59 = d53;
+ d60 = d51;
+ break;
+ } else if ((i50 | 0) == 2067) {
+ STACKTOP = i7;
+ return i29 | 0;
+ } else if ((i50 | 0) == 2070) {
+ STACKTOP = i7;
+ return i29 | 0;
+ }
+ } else {
+ d56 = d37;
+ d57 = d35;
+ d58 = d33;
+ d59 = d31;
+ d60 = 0.0;
+ }
+ } while (0);
+ if (d26 * d57 + (d24 * d59 + d25 * d58) >= -0.0 - +HEAPF32[i6 + 172 >> 2]) {
+ i29 = 0;
+ STACKTOP = i7;
+ return i29 | 0;
+ }
+ HEAPF32[i6 + 164 >> 2] = d60;
+ HEAPF32[i6 + 132 >> 2] = d59;
+ HEAPF32[i6 + 136 >> 2] = d58;
+ HEAPF32[i6 + 140 >> 2] = d57;
+ HEAPF32[i6 + 144 >> 2] = d56;
+ i50 = i6 + 148 | 0;
+ HEAP32[i50 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i50 + 4 >> 2] = HEAP32[i12 + 4 >> 2];
+ HEAP32[i50 + 8 >> 2] = HEAP32[i12 + 8 >> 2];
+ HEAP32[i50 + 12 >> 2] = HEAP32[i12 + 12 >> 2];
+ i29 = 1;
+ STACKTOP = i7;
+ return i29 | 0;
+}
+function __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallback13ProcessIslandEPP17btCollisionObjectiPP20btPersistentManifoldii(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0;
+ i7 = HEAP32[i1 + 16 >> 2] | 0;
+ if ((i6 | 0) < 0) {
+ if ((i7 | 0) == (-i5 | 0)) {
+ return;
+ }
+ i8 = HEAP32[i1 + 8 >> 2] | 0;
+ i9 = HEAP32[(HEAP32[i8 >> 2] | 0) + 12 >> 2] | 0;
+ i10 = HEAP32[i1 + 12 >> 2] | 0;
+ i11 = HEAP32[i1 + 4 >> 2] | 0;
+ i12 = HEAP32[i1 + 20 >> 2] | 0;
+ i13 = HEAP32[i1 + 24 >> 2] | 0;
+ i14 = HEAP32[i1 + 28 >> 2] | 0;
+ +FUNCTION_TABLE_fiiiiiiiiiii[i9 & 3](i8, i2, i3, i4, i5, i10, i7, i11, i12, i13, i14);
+ return;
+ }
+ i14 = i1 + 12 | 0;
+ i13 = 0;
+ while (1) {
+ if ((i13 | 0) >= (i7 | 0)) {
+ i15 = 0;
+ i16 = 0;
+ break;
+ }
+ i17 = HEAP32[i14 >> 2] | 0;
+ i18 = i17 + (i13 << 2) | 0;
+ i12 = HEAP32[i18 >> 2] | 0;
+ i11 = HEAP32[(HEAP32[i12 + 24 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i11 | 0) > -1) {
+ i19 = i11;
+ } else {
+ i19 = HEAP32[(HEAP32[i12 + 28 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ if ((i19 | 0) == (i6 | 0)) {
+ i20 = 0;
+ i21 = i13;
+ i22 = 889;
+ break;
+ } else {
+ i13 = i13 + 1 | 0;
+ }
+ }
+ if ((i22 | 0) == 889) {
+ while (1) {
+ i22 = 0;
+ i13 = HEAP32[i17 + (i21 << 2) >> 2] | 0;
+ i19 = HEAP32[(HEAP32[i13 + 24 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i19 | 0) > -1) {
+ i23 = i19;
+ } else {
+ i23 = HEAP32[(HEAP32[i13 + 28 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ i13 = ((i23 | 0) == (i6 | 0)) + i20 | 0;
+ i19 = i21 + 1 | 0;
+ if ((i19 | 0) < (i7 | 0)) {
+ i20 = i13;
+ i21 = i19;
+ i22 = 889;
+ } else {
+ i15 = i13;
+ i16 = i18;
+ break;
+ }
+ }
+ }
+ i18 = i1 + 4 | 0;
+ i22 = HEAP32[i18 >> 2] | 0;
+ if ((HEAP32[i22 + 68 >> 2] | 0) < 2) {
+ if ((i15 | 0) == (-i5 | 0)) {
+ return;
+ }
+ i21 = HEAP32[i1 + 8 >> 2] | 0;
+ i20 = HEAP32[(HEAP32[i21 >> 2] | 0) + 12 >> 2] | 0;
+ i7 = HEAP32[i1 + 20 >> 2] | 0;
+ i6 = HEAP32[i1 + 24 >> 2] | 0;
+ i23 = HEAP32[i1 + 28 >> 2] | 0;
+ +FUNCTION_TABLE_fiiiiiiiiiii[i20 & 3](i21, i2, i3, i4, i5, i16, i15, i22, i7, i6, i23);
+ return;
+ }
+ if ((i3 | 0) > 0) {
+ i23 = i1 + 36 | 0;
+ i6 = i1 + 40 | 0;
+ i7 = i1 + 44 | 0;
+ i22 = i1 + 48 | 0;
+ i21 = 0;
+ i20 = HEAP32[i23 >> 2] | 0;
+ i17 = HEAP32[i6 >> 2] | 0;
+ while (1) {
+ i13 = i2 + (i21 << 2) | 0;
+ do {
+ if ((i20 | 0) == (i17 | 0)) {
+ i19 = (i17 | 0) == 0 ? 1 : i17 << 1;
+ if ((i17 | 0) >= (i19 | 0)) {
+ i24 = i17;
+ i25 = i17;
+ break;
+ }
+ if ((i19 | 0) == 0) {
+ i26 = 0;
+ i27 = i17;
+ } else {
+ i14 = __Z22btAlignedAllocInternalji(i19 << 2, 16) | 0;
+ i26 = i14;
+ i27 = HEAP32[i23 >> 2] | 0;
+ }
+ if ((i27 | 0) > 0) {
+ i14 = 0;
+ do {
+ i12 = i26 + (i14 << 2) | 0;
+ if ((i12 | 0) != 0) {
+ HEAP32[i12 >> 2] = HEAP32[(HEAP32[i7 >> 2] | 0) + (i14 << 2) >> 2];
+ }
+ i14 = i14 + 1 | 0;
+ } while ((i14 | 0) < (i27 | 0));
+ }
+ i14 = HEAP32[i7 >> 2] | 0;
+ if ((i14 | 0) == 0) {
+ i28 = i27;
+ } else {
+ if ((HEAP8[i22] | 0) == 0) {
+ i29 = i27;
+ } else {
+ __Z21btAlignedFreeInternalPv(i14);
+ i29 = HEAP32[i23 >> 2] | 0;
+ }
+ HEAP32[i7 >> 2] = 0;
+ i28 = i29;
+ }
+ HEAP8[i22] = 1;
+ HEAP32[i7 >> 2] = i26;
+ HEAP32[i6 >> 2] = i19;
+ i24 = i28;
+ i25 = i19;
+ } else {
+ i24 = i20;
+ i25 = i17;
+ }
+ } while (0);
+ i14 = (HEAP32[i7 >> 2] | 0) + (i24 << 2) | 0;
+ if ((i14 | 0) != 0) {
+ HEAP32[i14 >> 2] = HEAP32[i13 >> 2];
+ }
+ i14 = i24 + 1 | 0;
+ HEAP32[i23 >> 2] = i14;
+ i12 = i21 + 1 | 0;
+ if ((i12 | 0) < (i3 | 0)) {
+ i21 = i12;
+ i20 = i14;
+ i17 = i25;
+ } else {
+ break;
+ }
+ }
+ }
+ if ((i5 | 0) > 0) {
+ i25 = i1 + 56 | 0;
+ i17 = i1 + 60 | 0;
+ i20 = i1 + 64 | 0;
+ i21 = i1 + 68 | 0;
+ i3 = 0;
+ i23 = HEAP32[i25 >> 2] | 0;
+ i24 = HEAP32[i17 >> 2] | 0;
+ while (1) {
+ i7 = i4 + (i3 << 2) | 0;
+ do {
+ if ((i23 | 0) == (i24 | 0)) {
+ i28 = (i24 | 0) == 0 ? 1 : i24 << 1;
+ if ((i24 | 0) >= (i28 | 0)) {
+ i30 = i24;
+ i31 = i24;
+ break;
+ }
+ if ((i28 | 0) == 0) {
+ i32 = 0;
+ i33 = i24;
+ } else {
+ i6 = __Z22btAlignedAllocInternalji(i28 << 2, 16) | 0;
+ i32 = i6;
+ i33 = HEAP32[i25 >> 2] | 0;
+ }
+ if ((i33 | 0) > 0) {
+ i6 = 0;
+ do {
+ i26 = i32 + (i6 << 2) | 0;
+ if ((i26 | 0) != 0) {
+ HEAP32[i26 >> 2] = HEAP32[(HEAP32[i20 >> 2] | 0) + (i6 << 2) >> 2];
+ }
+ i6 = i6 + 1 | 0;
+ } while ((i6 | 0) < (i33 | 0));
+ }
+ i6 = HEAP32[i20 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ i34 = i33;
+ } else {
+ if ((HEAP8[i21] | 0) == 0) {
+ i35 = i33;
+ } else {
+ __Z21btAlignedFreeInternalPv(i6);
+ i35 = HEAP32[i25 >> 2] | 0;
+ }
+ HEAP32[i20 >> 2] = 0;
+ i34 = i35;
+ }
+ HEAP8[i21] = 1;
+ HEAP32[i20 >> 2] = i32;
+ HEAP32[i17 >> 2] = i28;
+ i30 = i34;
+ i31 = i28;
+ } else {
+ i30 = i23;
+ i31 = i24;
+ }
+ } while (0);
+ i13 = (HEAP32[i20 >> 2] | 0) + (i30 << 2) | 0;
+ if ((i13 | 0) != 0) {
+ HEAP32[i13 >> 2] = HEAP32[i7 >> 2];
+ }
+ i13 = i30 + 1 | 0;
+ HEAP32[i25 >> 2] = i13;
+ i6 = i3 + 1 | 0;
+ if ((i6 | 0) < (i5 | 0)) {
+ i3 = i6;
+ i23 = i13;
+ i24 = i31;
+ } else {
+ break;
+ }
+ }
+ }
+ i31 = i1 + 76 | 0;
+ if ((i15 | 0) > 0) {
+ i24 = i1 + 80 | 0;
+ i23 = i1 + 84 | 0;
+ i3 = i1 + 88 | 0;
+ i5 = 0;
+ i25 = HEAP32[i31 >> 2] | 0;
+ i30 = HEAP32[i24 >> 2] | 0;
+ while (1) {
+ i20 = i16 + (i5 << 2) | 0;
+ do {
+ if ((i25 | 0) == (i30 | 0)) {
+ i34 = (i30 | 0) == 0 ? 1 : i30 << 1;
+ if ((i30 | 0) >= (i34 | 0)) {
+ i36 = i30;
+ i37 = i30;
+ break;
+ }
+ if ((i34 | 0) == 0) {
+ i38 = 0;
+ i39 = i30;
+ } else {
+ i17 = __Z22btAlignedAllocInternalji(i34 << 2, 16) | 0;
+ i38 = i17;
+ i39 = HEAP32[i31 >> 2] | 0;
+ }
+ if ((i39 | 0) > 0) {
+ i17 = 0;
+ do {
+ i32 = i38 + (i17 << 2) | 0;
+ if ((i32 | 0) != 0) {
+ HEAP32[i32 >> 2] = HEAP32[(HEAP32[i23 >> 2] | 0) + (i17 << 2) >> 2];
+ }
+ i17 = i17 + 1 | 0;
+ } while ((i17 | 0) < (i39 | 0));
+ }
+ i17 = HEAP32[i23 >> 2] | 0;
+ if ((i17 | 0) == 0) {
+ i40 = i39;
+ } else {
+ if ((HEAP8[i3] | 0) == 0) {
+ i41 = i39;
+ } else {
+ __Z21btAlignedFreeInternalPv(i17);
+ i41 = HEAP32[i31 >> 2] | 0;
+ }
+ HEAP32[i23 >> 2] = 0;
+ i40 = i41;
+ }
+ HEAP8[i3] = 1;
+ HEAP32[i23 >> 2] = i38;
+ HEAP32[i24 >> 2] = i34;
+ i36 = i40;
+ i37 = i34;
+ } else {
+ i36 = i25;
+ i37 = i30;
+ }
+ } while (0);
+ i7 = (HEAP32[i23 >> 2] | 0) + (i36 << 2) | 0;
+ if ((i7 | 0) != 0) {
+ HEAP32[i7 >> 2] = HEAP32[i20 >> 2];
+ }
+ i7 = i36 + 1 | 0;
+ HEAP32[i31 >> 2] = i7;
+ i17 = i5 + 1 | 0;
+ if ((i17 | 0) < (i15 | 0)) {
+ i5 = i17;
+ i25 = i7;
+ i30 = i37;
+ } else {
+ i42 = i7;
+ break;
+ }
+ }
+ } else {
+ i42 = HEAP32[i31 >> 2] | 0;
+ }
+ if (((HEAP32[i1 + 56 >> 2] | 0) + i42 | 0) <= (HEAP32[(HEAP32[i18 >> 2] | 0) + 68 >> 2] | 0)) {
+ return;
+ }
+ __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallback18processConstraintsEv(i1);
+ return;
+}
+function __ZN15btGjkEpaSolver211PenetrationEPK13btConvexShapeRK11btTransformS2_S5_RK9btVector3RNS_8sResultsEb(i1, i2, i3, i4, i5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ var i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, i23 = 0, d24 = 0.0, d25 = 0.0, i26 = 0, d27 = 0.0, i28 = 0, d29 = 0.0, i30 = 0, d31 = 0.0, d32 = 0.0, i33 = 0, d34 = 0.0, i35 = 0, d36 = 0.0, i37 = 0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, d45 = 0.0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, d55 = 0.0, d56 = 0.0, d57 = 0.0, i58 = 0;
+ i8 = STACKTOP;
+ STACKTOP = STACKTOP + 10368 | 0;
+ i9 = i8 | 0;
+ i10 = i8 + 128 | 0;
+ i11 = i8 + 512 | 0;
+ i12 = i8 + 528 | 0;
+ i13 = i8 + 10336 | 0;
+ i14 = i8 + 10352 | 0;
+ i15 = i6 + 20 | 0;
+ i16 = i6 + 20 | 0;
+ i17 = i6 + 4 | 0;
+ _memset(i16 | 0, 0, 16);
+ HEAP32[i17 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i17 + 4 >> 2] = HEAP32[i15 + 4 >> 2];
+ HEAP32[i17 + 8 >> 2] = HEAP32[i15 + 8 >> 2];
+ HEAP32[i17 + 12 >> 2] = HEAP32[i15 + 12 >> 2];
+ i15 = i6 | 0;
+ HEAP32[i15 >> 2] = 0;
+ i17 = i9 | 0;
+ HEAP32[i17 >> 2] = i1;
+ HEAP32[i9 + 4 >> 2] = i3;
+ d18 = +HEAPF32[i4 >> 2];
+ i3 = i2 | 0;
+ d19 = +HEAPF32[i3 >> 2];
+ d20 = +HEAPF32[i4 + 16 >> 2];
+ i1 = i2 + 16 | 0;
+ d21 = +HEAPF32[i1 >> 2];
+ d22 = +HEAPF32[i4 + 32 >> 2];
+ i23 = i2 + 32 | 0;
+ d24 = +HEAPF32[i23 >> 2];
+ d25 = d18 * d19 + d20 * d21 + d22 * d24;
+ i26 = i2 + 4 | 0;
+ d27 = +HEAPF32[i26 >> 2];
+ i28 = i2 + 20 | 0;
+ d29 = +HEAPF32[i28 >> 2];
+ i30 = i2 + 36 | 0;
+ d31 = +HEAPF32[i30 >> 2];
+ d32 = d18 * d27 + d20 * d29 + d22 * d31;
+ i33 = i2 + 8 | 0;
+ d34 = +HEAPF32[i33 >> 2];
+ i35 = i2 + 24 | 0;
+ d36 = +HEAPF32[i35 >> 2];
+ i37 = i2 + 40 | 0;
+ d38 = +HEAPF32[i37 >> 2];
+ d39 = d18 * d34 + d20 * d36 + d22 * d38;
+ d22 = +HEAPF32[i4 + 4 >> 2];
+ d20 = +HEAPF32[i4 + 20 >> 2];
+ d18 = +HEAPF32[i4 + 36 >> 2];
+ d40 = d19 * d22 + d21 * d20 + d24 * d18;
+ d41 = d27 * d22 + d29 * d20 + d31 * d18;
+ d42 = d34 * d22 + d36 * d20 + d38 * d18;
+ d18 = +HEAPF32[i4 + 8 >> 2];
+ d20 = +HEAPF32[i4 + 24 >> 2];
+ d22 = +HEAPF32[i4 + 40 >> 2];
+ d43 = d19 * d18 + d21 * d20 + d24 * d22;
+ d44 = d27 * d18 + d29 * d20 + d31 * d22;
+ d45 = d34 * d18 + d36 * d20 + d38 * d22;
+ HEAPF32[i9 + 8 >> 2] = d25;
+ HEAPF32[i9 + 12 >> 2] = d32;
+ HEAPF32[i9 + 16 >> 2] = d39;
+ HEAPF32[i9 + 20 >> 2] = 0.0;
+ HEAPF32[i9 + 24 >> 2] = d40;
+ HEAPF32[i9 + 28 >> 2] = d41;
+ HEAPF32[i9 + 32 >> 2] = d42;
+ HEAPF32[i9 + 36 >> 2] = 0.0;
+ HEAPF32[i9 + 40 >> 2] = d43;
+ HEAPF32[i9 + 44 >> 2] = d44;
+ HEAPF32[i9 + 48 >> 2] = d45;
+ HEAPF32[i9 + 52 >> 2] = 0.0;
+ i46 = i2 + 48 | 0;
+ d22 = +HEAPF32[i4 + 48 >> 2] - +HEAPF32[i46 >> 2];
+ i47 = i2 + 52 | 0;
+ d20 = +HEAPF32[i4 + 52 >> 2] - +HEAPF32[i47 >> 2];
+ i48 = i2 + 56 | 0;
+ d18 = +HEAPF32[i4 + 56 >> 2] - +HEAPF32[i48 >> 2];
+ HEAPF32[i9 + 56 >> 2] = d25;
+ HEAPF32[i9 + 60 >> 2] = d40;
+ HEAPF32[i9 + 64 >> 2] = d43;
+ HEAPF32[i9 + 68 >> 2] = 0.0;
+ HEAPF32[i9 + 72 >> 2] = d32;
+ HEAPF32[i9 + 76 >> 2] = d41;
+ HEAPF32[i9 + 80 >> 2] = d44;
+ HEAPF32[i9 + 84 >> 2] = 0.0;
+ HEAPF32[i9 + 88 >> 2] = d39;
+ HEAPF32[i9 + 92 >> 2] = d42;
+ HEAPF32[i9 + 96 >> 2] = d45;
+ HEAPF32[i9 + 100 >> 2] = 0.0;
+ HEAPF32[i9 + 104 >> 2] = d19 * d22 + d21 * d20 + d24 * d18;
+ HEAPF32[i9 + 108 >> 2] = d27 * d22 + d29 * d20 + d31 * d18;
+ HEAPF32[i9 + 112 >> 2] = d34 * d22 + d36 * d20 + d38 * d18;
+ HEAPF32[i9 + 116 >> 2] = 0.0;
+ i4 = i9 + 120 | 0;
+ HEAP32[i4 >> 2] = i7 ? 36 : 82;
+ i2 = i9 + 124 | 0;
+ HEAP32[i2 >> 2] = i7 ? 0 : 0;
+ HEAP32[i10 + 364 >> 2] = 0;
+ _memset(i10 + 128 | 0, 0, 16);
+ HEAP32[i10 + 376 >> 2] = 2;
+ HEAP32[i10 + 368 >> 2] = 0;
+ HEAPF32[i10 + 144 >> 2] = 0.0;
+ i7 = i5 | 0;
+ i49 = i5 + 4 | 0;
+ d18 = -0.0 - +HEAPF32[i49 >> 2];
+ i50 = i5 + 8 | 0;
+ d38 = -0.0 - +HEAPF32[i50 >> 2];
+ HEAPF32[i11 >> 2] = -0.0 - +HEAPF32[i7 >> 2];
+ HEAPF32[i11 + 4 >> 2] = d18;
+ HEAPF32[i11 + 8 >> 2] = d38;
+ HEAPF32[i11 + 12 >> 2] = 0.0;
+ i5 = __ZN12gjkepa2_impl3GJK8EvaluateERKNS_13MinkowskiDiffERK9btVector3(i10, i9, i11) | 0;
+ if ((i5 | 0) == 2) {
+ HEAP32[i15 >> 2] = 2;
+ i51 = 0;
+ STACKTOP = i8;
+ return i51 | 0;
+ } else if ((i5 | 0) == 1) {
+ i5 = i12 + 9800 | 0;
+ i11 = i12 + 9804 | 0;
+ _memset(i12 + 9792 | 0, 0, 16);
+ HEAP32[i12 >> 2] = 9;
+ i9 = i12 + 40 | 0;
+ HEAP32[i12 + 9788 >> 2] = 0;
+ _memset(i9 | 0, 0, 20);
+ i52 = 0;
+ do {
+ i53 = 128 - i52 - 1 | 0;
+ i54 = i12 + 2108 + (i53 * 60 | 0) | 0;
+ HEAP32[i12 + 2108 + (i53 * 60 | 0) + 48 >> 2] = 0;
+ HEAP32[i12 + 2108 + (i53 * 60 | 0) + 52 >> 2] = HEAP32[i5 >> 2];
+ i53 = HEAP32[i5 >> 2] | 0;
+ if ((i53 | 0) != 0) {
+ HEAP32[i53 + 48 >> 2] = i54;
+ }
+ HEAP32[i5 >> 2] = i54;
+ HEAP32[i11 >> 2] = (HEAP32[i11 >> 2] | 0) + 1;
+ i52 = i52 + 1 | 0;
+ } while (i52 >>> 0 < 128);
+ d38 = -0.0 - +HEAPF32[i49 >> 2];
+ d18 = -0.0 - +HEAPF32[i50 >> 2];
+ HEAPF32[i13 >> 2] = -0.0 - +HEAPF32[i7 >> 2];
+ HEAPF32[i13 + 4 >> 2] = d38;
+ HEAPF32[i13 + 8 >> 2] = d18;
+ HEAPF32[i13 + 12 >> 2] = 0.0;
+ if ((__ZN12gjkepa2_impl3EPA8EvaluateERNS_3GJKERK9btVector3(i12, i10, i13) | 0) == 9) {
+ HEAP32[i15 >> 2] = 3;
+ i51 = 0;
+ STACKTOP = i8;
+ return i51 | 0;
+ }
+ i13 = i12 + 36 | 0;
+ if ((HEAP32[i13 >> 2] | 0) == 0) {
+ d55 = 0.0;
+ d56 = 0.0;
+ d57 = 0.0;
+ } else {
+ i10 = i14 | 0;
+ i7 = i14 + 4 | 0;
+ i50 = i14 + 8 | 0;
+ d18 = 0.0;
+ d38 = 0.0;
+ d20 = 0.0;
+ i49 = 0;
+ while (1) {
+ i52 = HEAP32[i4 >> 2] | 0;
+ i11 = (HEAP32[i17 >> 2] | 0) + (HEAP32[i2 >> 2] | 0) | 0;
+ if ((i52 & 1 | 0) == 0) {
+ i58 = i52;
+ } else {
+ i58 = HEAP32[(HEAP32[i11 >> 2] | 0) + (i52 - 1) >> 2] | 0;
+ }
+ FUNCTION_TABLE_viii[i58 & 127](i14, i11, HEAP32[i12 + 4 + (i49 << 2) >> 2] | 0);
+ d36 = +HEAPF32[i12 + 20 + (i49 << 2) >> 2];
+ d22 = d20 + +HEAPF32[i10 >> 2] * d36;
+ d34 = d38 + d36 * +HEAPF32[i7 >> 2];
+ d31 = d18 + d36 * +HEAPF32[i50 >> 2];
+ i11 = i49 + 1 | 0;
+ if (i11 >>> 0 < (HEAP32[i13 >> 2] | 0) >>> 0) {
+ d18 = d31;
+ d38 = d34;
+ d20 = d22;
+ i49 = i11;
+ } else {
+ d55 = d31;
+ d56 = d34;
+ d57 = d22;
+ break;
+ }
+ }
+ }
+ HEAP32[i15 >> 2] = 1;
+ d20 = +HEAPF32[i47 >> 2] + (d57 * +HEAPF32[i1 >> 2] + d56 * +HEAPF32[i28 >> 2] + d55 * +HEAPF32[i35 >> 2]);
+ d38 = +HEAPF32[i48 >> 2] + (d57 * +HEAPF32[i23 >> 2] + d56 * +HEAPF32[i30 >> 2] + d55 * +HEAPF32[i37 >> 2]);
+ HEAPF32[i6 + 4 >> 2] = +HEAPF32[i46 >> 2] + (d57 * +HEAPF32[i3 >> 2] + d56 * +HEAPF32[i26 >> 2] + d55 * +HEAPF32[i33 >> 2]);
+ HEAPF32[i6 + 8 >> 2] = d20;
+ HEAPF32[i6 + 12 >> 2] = d38;
+ HEAPF32[i6 + 16 >> 2] = 0.0;
+ d38 = +HEAPF32[i9 >> 2];
+ d20 = +HEAPF32[i12 + 56 >> 2];
+ d18 = +HEAPF32[i12 + 44 >> 2];
+ d22 = +HEAPF32[i12 + 48 >> 2];
+ d34 = d57 - d38 * d20;
+ d57 = d56 - d20 * d18;
+ d56 = d55 - d20 * d22;
+ d55 = +HEAPF32[i47 >> 2] + (d34 * +HEAPF32[i1 >> 2] + d57 * +HEAPF32[i28 >> 2] + d56 * +HEAPF32[i35 >> 2]);
+ d31 = +HEAPF32[i48 >> 2] + (d34 * +HEAPF32[i23 >> 2] + d57 * +HEAPF32[i30 >> 2] + d56 * +HEAPF32[i37 >> 2]);
+ HEAPF32[i16 >> 2] = +HEAPF32[i46 >> 2] + (d34 * +HEAPF32[i3 >> 2] + d57 * +HEAPF32[i26 >> 2] + d56 * +HEAPF32[i33 >> 2]);
+ HEAPF32[i6 + 24 >> 2] = d55;
+ HEAPF32[i6 + 28 >> 2] = d31;
+ HEAPF32[i6 + 32 >> 2] = 0.0;
+ HEAPF32[i6 + 36 >> 2] = -0.0 - d38;
+ HEAPF32[i6 + 40 >> 2] = -0.0 - d18;
+ HEAPF32[i6 + 44 >> 2] = -0.0 - d22;
+ HEAPF32[i6 + 48 >> 2] = 0.0;
+ HEAPF32[i6 + 52 >> 2] = -0.0 - d20;
+ i51 = 1;
+ STACKTOP = i8;
+ return i51 | 0;
+ } else {
+ i51 = 0;
+ STACKTOP = i8;
+ return i51 | 0;
+ }
+ return 0;
+}
+function __ZN22btVoronoiSimplexSolver25closestPtPointTetrahedronERK9btVector3S2_S2_S2_S2_R25btSubSimplexClosestResult(i1, i2, i3, i4, i5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ var i8 = 0, i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, d42 = 0.0, d43 = 0.0, d44 = 0.0;
+ i1 = STACKTOP;
+ STACKTOP = STACKTOP + 40 | 0;
+ i8 = i1 | 0;
+ i9 = i8 + 16 | 0;
+ HEAP16[i9 >> 1] = 0;
+ i10 = i7;
+ i11 = i2;
+ HEAP32[i10 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i11 + 12 >> 2];
+ i11 = i7 + 16 | 0;
+ HEAP16[i11 >> 1] = HEAP16[i11 >> 1] | 15;
+ d12 = +HEAPF32[i4 >> 2];
+ d13 = +HEAPF32[i3 >> 2];
+ d14 = d12 - d13;
+ d15 = +HEAPF32[i4 + 4 >> 2];
+ d16 = +HEAPF32[i3 + 4 >> 2];
+ d17 = d15 - d16;
+ d18 = +HEAPF32[i4 + 8 >> 2];
+ d19 = +HEAPF32[i3 + 8 >> 2];
+ d20 = d18 - d19;
+ d21 = +HEAPF32[i5 >> 2];
+ d22 = d21 - d13;
+ d23 = +HEAPF32[i5 + 4 >> 2];
+ d24 = d23 - d16;
+ d25 = +HEAPF32[i5 + 8 >> 2];
+ d26 = d25 - d19;
+ d27 = d17 * d26 - d20 * d24;
+ d28 = d20 * d22 - d14 * d26;
+ d29 = d14 * d24 - d17 * d22;
+ d30 = +HEAPF32[i6 >> 2];
+ d31 = d30 - d13;
+ d32 = +HEAPF32[i6 + 4 >> 2];
+ d33 = d32 - d16;
+ d34 = +HEAPF32[i6 + 8 >> 2];
+ d35 = d34 - d19;
+ d36 = d31 * d27 + d33 * d28 + d29 * d35;
+ if (d36 * d36 < 9.99999905104687e-9) {
+ i37 = -1;
+ } else {
+ i37 = d36 * (d28 * (+HEAPF32[i2 + 4 >> 2] - d16) + d27 * (+HEAPF32[i2 >> 2] - d13) + d29 * (+HEAPF32[i2 + 8 >> 2] - d19)) < 0.0 | 0;
+ }
+ d29 = d24 * d35 - d26 * d33;
+ d27 = d26 * d31 - d22 * d35;
+ d28 = d22 * d33 - d24 * d31;
+ d36 = d14 * d29 + d17 * d27 + d28 * d20;
+ if (d36 * d36 < 9.99999905104687e-9) {
+ i38 = -1;
+ } else {
+ i38 = d36 * (d27 * (+HEAPF32[i2 + 4 >> 2] - d16) + d29 * (+HEAPF32[i2 >> 2] - d13) + d28 * (+HEAPF32[i2 + 8 >> 2] - d19)) < 0.0 | 0;
+ }
+ d28 = d33 * d20 - d35 * d17;
+ d29 = d35 * d14 - d31 * d20;
+ d20 = d31 * d17 - d33 * d14;
+ d14 = d22 * d28 + d24 * d29 + d20 * d26;
+ if (d14 * d14 < 9.99999905104687e-9) {
+ i39 = -1;
+ } else {
+ i39 = d14 * (d29 * (+HEAPF32[i2 + 4 >> 2] - d16) + d28 * (+HEAPF32[i2 >> 2] - d13) + d20 * (+HEAPF32[i2 + 8 >> 2] - d19)) < 0.0 | 0;
+ }
+ d20 = d30 - d12;
+ d30 = d32 - d15;
+ d32 = d34 - d18;
+ d34 = d21 - d12;
+ d21 = d23 - d15;
+ d23 = d25 - d18;
+ d25 = d30 * d23 - d32 * d21;
+ d28 = d32 * d34 - d20 * d23;
+ d23 = d20 * d21 - d30 * d34;
+ d34 = (d13 - d12) * d25 + (d16 - d15) * d28 + d23 * (d19 - d18);
+ if (d34 * d34 < 9.99999905104687e-9) {
+ i40 = -1;
+ } else {
+ i40 = d34 * (d28 * (+HEAPF32[i2 + 4 >> 2] - d15) + d25 * (+HEAPF32[i2 >> 2] - d12) + d23 * (+HEAPF32[i2 + 8 >> 2] - d18)) < 0.0 | 0;
+ }
+ if ((i38 | i37 | i39 | i40 | 0) < 0) {
+ HEAP8[i7 + 36 | 0] = 1;
+ i41 = 0;
+ STACKTOP = i1;
+ return i41 | 0;
+ }
+ i10 = (i37 | 0) != 0;
+ i37 = (i38 | 0) == 0;
+ i38 = (i39 | 0) == 0;
+ i39 = (i40 | 0) == 0;
+ if (i37 & (i10 ^ 1) & i38 & i39) {
+ i41 = 0;
+ STACKTOP = i1;
+ return i41 | 0;
+ }
+ do {
+ if (i10) {
+ __ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(0, i2, i3, i4, i5, i8) | 0;
+ d18 = +HEAPF32[i8 >> 2];
+ d23 = +HEAPF32[i8 + 4 >> 2];
+ d12 = +HEAPF32[i8 + 8 >> 2];
+ d25 = d18 - +HEAPF32[i2 >> 2];
+ d15 = d23 - +HEAPF32[i2 + 4 >> 2];
+ d28 = d12 - +HEAPF32[i2 + 8 >> 2];
+ d34 = d25 * d25 + d15 * d15 + d28 * d28;
+ if (d34 >= 3.4028234663852886e+38) {
+ d42 = 3.4028234663852886e+38;
+ break;
+ }
+ d28 = +HEAPF32[i8 + 12 >> 2];
+ HEAPF32[i7 >> 2] = d18;
+ HEAPF32[i7 + 4 >> 2] = d23;
+ HEAPF32[i7 + 8 >> 2] = d12;
+ HEAPF32[i7 + 12 >> 2] = d28;
+ i40 = HEAP16[i9 >> 1] | 0;
+ HEAP16[i11 >> 1] = i40 & 1 | HEAP16[i11 >> 1] & -16 | i40 & 2 | i40 & 4;
+ d28 = +HEAPF32[i8 + 24 >> 2];
+ d12 = +HEAPF32[i8 + 28 >> 2];
+ HEAPF32[i7 + 20 >> 2] = +HEAPF32[i8 + 20 >> 2];
+ HEAPF32[i7 + 24 >> 2] = d28;
+ HEAPF32[i7 + 28 >> 2] = d12;
+ HEAPF32[i7 + 32 >> 2] = 0.0;
+ d42 = d34;
+ } else {
+ d42 = 3.4028234663852886e+38;
+ }
+ } while (0);
+ do {
+ if (i37) {
+ d43 = d42;
+ } else {
+ __ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(0, i2, i3, i5, i6, i8) | 0;
+ d34 = +HEAPF32[i8 >> 2];
+ d12 = +HEAPF32[i8 + 4 >> 2];
+ d28 = +HEAPF32[i8 + 8 >> 2];
+ d23 = d34 - +HEAPF32[i2 >> 2];
+ d18 = d12 - +HEAPF32[i2 + 4 >> 2];
+ d15 = d28 - +HEAPF32[i2 + 8 >> 2];
+ d25 = d23 * d23 + d18 * d18 + d15 * d15;
+ if (d25 >= d42) {
+ d43 = d42;
+ break;
+ }
+ d15 = +HEAPF32[i8 + 12 >> 2];
+ HEAPF32[i7 >> 2] = d34;
+ HEAPF32[i7 + 4 >> 2] = d12;
+ HEAPF32[i7 + 8 >> 2] = d28;
+ HEAPF32[i7 + 12 >> 2] = d15;
+ i10 = HEAP16[i9 >> 1] | 0;
+ HEAP16[i11 >> 1] = i10 & 1 | HEAP16[i11 >> 1] & -16 | (i10 & 65535) >>> 1 << 2 & 4 | (i10 & 65535) >>> 2 << 3 & 8;
+ d15 = +HEAPF32[i8 + 24 >> 2];
+ d28 = +HEAPF32[i8 + 28 >> 2];
+ HEAPF32[i7 + 20 >> 2] = +HEAPF32[i8 + 20 >> 2];
+ HEAPF32[i7 + 24 >> 2] = 0.0;
+ HEAPF32[i7 + 28 >> 2] = d15;
+ HEAPF32[i7 + 32 >> 2] = d28;
+ d43 = d25;
+ }
+ } while (0);
+ do {
+ if (i38) {
+ d44 = d43;
+ } else {
+ __ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(0, i2, i3, i6, i4, i8) | 0;
+ d42 = +HEAPF32[i8 >> 2];
+ d25 = +HEAPF32[i8 + 4 >> 2];
+ d28 = +HEAPF32[i8 + 8 >> 2];
+ d15 = d42 - +HEAPF32[i2 >> 2];
+ d12 = d25 - +HEAPF32[i2 + 4 >> 2];
+ d34 = d28 - +HEAPF32[i2 + 8 >> 2];
+ d18 = d15 * d15 + d12 * d12 + d34 * d34;
+ if (d18 >= d43) {
+ d44 = d43;
+ break;
+ }
+ d34 = +HEAPF32[i8 + 12 >> 2];
+ HEAPF32[i7 >> 2] = d42;
+ HEAPF32[i7 + 4 >> 2] = d25;
+ HEAPF32[i7 + 8 >> 2] = d28;
+ HEAPF32[i7 + 12 >> 2] = d34;
+ i37 = HEAP16[i9 >> 1] | 0;
+ HEAP16[i11 >> 1] = i37 & 1 | HEAP16[i11 >> 1] & -16 | (i37 & 65535) >>> 2 << 1 & 2 | (i37 & 65535) >>> 1 << 3 & 8;
+ d34 = +HEAPF32[i8 + 28 >> 2];
+ d28 = +HEAPF32[i8 + 24 >> 2];
+ HEAPF32[i7 + 20 >> 2] = +HEAPF32[i8 + 20 >> 2];
+ HEAPF32[i7 + 24 >> 2] = d34;
+ HEAPF32[i7 + 28 >> 2] = 0.0;
+ HEAPF32[i7 + 32 >> 2] = d28;
+ d44 = d18;
+ }
+ } while (0);
+ if (i39) {
+ i41 = 1;
+ STACKTOP = i1;
+ return i41 | 0;
+ }
+ __ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(0, i2, i4, i6, i5, i8) | 0;
+ d43 = +HEAPF32[i8 >> 2];
+ d18 = +HEAPF32[i8 + 4 >> 2];
+ d28 = +HEAPF32[i8 + 8 >> 2];
+ d34 = d43 - +HEAPF32[i2 >> 2];
+ d25 = d18 - +HEAPF32[i2 + 4 >> 2];
+ d42 = d28 - +HEAPF32[i2 + 8 >> 2];
+ if (d34 * d34 + d25 * d25 + d42 * d42 >= d44) {
+ i41 = 1;
+ STACKTOP = i1;
+ return i41 | 0;
+ }
+ d44 = +HEAPF32[i8 + 12 >> 2];
+ HEAPF32[i7 >> 2] = d43;
+ HEAPF32[i7 + 4 >> 2] = d18;
+ HEAPF32[i7 + 8 >> 2] = d28;
+ HEAPF32[i7 + 12 >> 2] = d44;
+ i2 = HEAP16[i9 >> 1] | 0;
+ HEAP16[i11 >> 1] = i2 & 4 | HEAP16[i11 >> 1] & -16 | i2 << 1 & 2 | (i2 & 65535) >>> 1 << 3 & 8;
+ d44 = +HEAPF32[i8 + 20 >> 2];
+ d28 = +HEAPF32[i8 + 28 >> 2];
+ d18 = +HEAPF32[i8 + 24 >> 2];
+ HEAPF32[i7 + 20 >> 2] = 0.0;
+ HEAPF32[i7 + 24 >> 2] = d44;
+ HEAPF32[i7 + 28 >> 2] = d28;
+ HEAPF32[i7 + 32 >> 2] = d18;
+ i41 = 1;
+ STACKTOP = i1;
+ return i41 | 0;
+}
+function __ZN35btSequentialImpulseConstraintSolver20solveSingleIterationEiPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ var i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, d27 = 0.0, d28 = 0.0;
+ i11 = i1 + 8 | 0;
+ i10 = HEAP32[i11 >> 2] | 0;
+ i6 = i1 + 48 | 0;
+ i5 = HEAP32[i6 >> 2] | 0;
+ i4 = i9 + 60 | 0;
+ i3 = HEAP32[i4 >> 2] | 0;
+ do {
+ if ((i3 & 1 | 0) == 0) {
+ i12 = i3;
+ } else {
+ if ((i2 & 7 | 0) != 0) {
+ i12 = i3;
+ break;
+ }
+ if ((i10 | 0) > 0) {
+ i13 = HEAP32[i1 + 76 >> 2] | 0;
+ i14 = i1 + 124 | 0;
+ i15 = 0;
+ i16 = HEAP32[i14 >> 2] | 0;
+ do {
+ i17 = i13 + (i15 << 2) | 0;
+ i18 = HEAP32[i17 >> 2] | 0;
+ i15 = i15 + 1 | 0;
+ i16 = (Math_imul(i16, 1664525) | 0) + 1013904223 | 0;
+ do {
+ if (i15 >>> 0 < 65537) {
+ i19 = i16 >>> 16 ^ i16;
+ if (i15 >>> 0 >= 257) {
+ i20 = i19;
+ break;
+ }
+ i21 = i19 >>> 8 ^ i19;
+ if (i15 >>> 0 >= 17) {
+ i20 = i21;
+ break;
+ }
+ i19 = i21 >>> 4 ^ i21;
+ if (i15 >>> 0 >= 5) {
+ i20 = i19;
+ break;
+ }
+ i21 = i19 >>> 2 ^ i19;
+ if (i15 >>> 0 >= 3) {
+ i20 = i21;
+ break;
+ }
+ i20 = i21 >>> 1 ^ i21;
+ } else {
+ i20 = i16;
+ }
+ } while (0);
+ i21 = i13 + (((i20 >>> 0) % (i15 >>> 0) | 0) << 2) | 0;
+ HEAP32[i17 >> 2] = HEAP32[i21 >> 2];
+ HEAP32[i21 >> 2] = i18;
+ } while ((i15 | 0) < (i10 | 0));
+ HEAP32[i14 >> 2] = i16;
+ }
+ if ((i5 | 0) > 0) {
+ i15 = HEAP32[i1 + 96 >> 2] | 0;
+ i13 = i1 + 124 | 0;
+ i21 = 0;
+ i19 = HEAP32[i13 >> 2] | 0;
+ do {
+ i22 = i15 + (i21 << 2) | 0;
+ i23 = HEAP32[i22 >> 2] | 0;
+ i21 = i21 + 1 | 0;
+ i19 = (Math_imul(i19, 1664525) | 0) + 1013904223 | 0;
+ do {
+ if (i21 >>> 0 < 65537) {
+ i24 = i19 >>> 16 ^ i19;
+ if (i21 >>> 0 >= 257) {
+ i25 = i24;
+ break;
+ }
+ i26 = i24 >>> 8 ^ i24;
+ if (i21 >>> 0 >= 17) {
+ i25 = i26;
+ break;
+ }
+ i24 = i26 >>> 4 ^ i26;
+ if (i21 >>> 0 >= 5) {
+ i25 = i24;
+ break;
+ }
+ i26 = i24 >>> 2 ^ i24;
+ if (i21 >>> 0 >= 3) {
+ i25 = i26;
+ break;
+ }
+ i25 = i26 >>> 1 ^ i26;
+ } else {
+ i25 = i19;
+ }
+ } while (0);
+ i18 = i15 + (((i25 >>> 0) % (i21 >>> 0) | 0) << 2) | 0;
+ HEAP32[i22 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i18 >> 2] = i23;
+ } while ((i21 | 0) < (i5 | 0));
+ HEAP32[i13 >> 2] = i19;
+ }
+ i12 = HEAP32[i4 >> 2] | 0;
+ }
+ } while (0);
+ i4 = i1 + 28 | 0;
+ i5 = (HEAP32[i4 >> 2] | 0) > 0;
+ if ((i12 & 256 | 0) == 0) {
+ if (i5) {
+ i12 = i1 + 36 | 0;
+ i25 = 0;
+ do {
+ i10 = HEAP32[i12 >> 2] | 0;
+ __ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(0, HEAP32[i10 + (i25 * 136 | 0) + 104 >> 2] | 0, HEAP32[i10 + (i25 * 136 | 0) + 108 >> 2] | 0, i10 + (i25 * 136 | 0) | 0);
+ i25 = i25 + 1 | 0;
+ } while ((i25 | 0) < (HEAP32[i4 >> 2] | 0));
+ }
+ if ((i8 | 0) > 0) {
+ i25 = i9 + 12 | 0;
+ i12 = 0;
+ do {
+ i10 = HEAP32[i7 + (i12 << 2) >> 2] | 0;
+ FUNCTION_TABLE_viiif[HEAP32[(HEAP32[i10 >> 2] | 0) + 24 >> 2] & 15](i10, HEAP32[i10 + 24 >> 2] | 0, HEAP32[i10 + 28 >> 2] | 0, +HEAPF32[i25 >> 2]);
+ i12 = i12 + 1 | 0;
+ } while ((i12 | 0) < (i8 | 0));
+ }
+ i12 = HEAP32[i11 >> 2] | 0;
+ if ((i12 | 0) > 0) {
+ i25 = i1 + 76 | 0;
+ i10 = i1 + 16 | 0;
+ i20 = 0;
+ do {
+ i3 = HEAP32[(HEAP32[i25 >> 2] | 0) + (i20 << 2) >> 2] | 0;
+ i2 = HEAP32[i10 >> 2] | 0;
+ __ZN35btSequentialImpulseConstraintSolver36resolveSingleConstraintRowLowerLimitER11btRigidBodyS1_RK18btSolverConstraint(0, HEAP32[i2 + (i3 * 136 | 0) + 104 >> 2] | 0, HEAP32[i2 + (i3 * 136 | 0) + 108 >> 2] | 0, i2 + (i3 * 136 | 0) | 0);
+ i20 = i20 + 1 | 0;
+ } while ((i20 | 0) < (i12 | 0));
+ }
+ i12 = HEAP32[i6 >> 2] | 0;
+ if ((i12 | 0) <= 0) {
+ return +0.0;
+ }
+ i20 = i1 + 96 | 0;
+ i10 = i1 + 56 | 0;
+ i25 = i1 + 16 | 0;
+ i3 = 0;
+ do {
+ i2 = HEAP32[(HEAP32[i20 >> 2] | 0) + (i3 << 2) >> 2] | 0;
+ i21 = HEAP32[i10 >> 2] | 0;
+ d27 = +HEAPF32[(HEAP32[i25 >> 2] | 0) + ((HEAP32[i21 + (i2 * 136 | 0) + 100 >> 2] | 0) * 136 | 0) + 84 >> 2];
+ if (d27 > 0.0) {
+ d28 = d27 * +HEAPF32[i21 + (i2 * 136 | 0) + 88 >> 2];
+ HEAPF32[i21 + (i2 * 136 | 0) + 124 >> 2] = -0.0 - d28;
+ HEAPF32[i21 + (i2 * 136 | 0) + 128 >> 2] = d28;
+ __ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(0, HEAP32[i21 + (i2 * 136 | 0) + 104 >> 2] | 0, HEAP32[i21 + (i2 * 136 | 0) + 108 >> 2] | 0, i21 + (i2 * 136 | 0) | 0);
+ }
+ i3 = i3 + 1 | 0;
+ } while ((i3 | 0) < (i12 | 0));
+ return +0.0;
+ } else {
+ if (i5) {
+ i5 = i1 + 36 | 0;
+ i12 = 0;
+ do {
+ i3 = HEAP32[i5 >> 2] | 0;
+ __ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(0, HEAP32[i3 + (i12 * 136 | 0) + 104 >> 2] | 0, HEAP32[i3 + (i12 * 136 | 0) + 108 >> 2] | 0, i3 + (i12 * 136 | 0) | 0);
+ i12 = i12 + 1 | 0;
+ } while ((i12 | 0) < (HEAP32[i4 >> 2] | 0));
+ }
+ if ((i8 | 0) > 0) {
+ i4 = i9 + 12 | 0;
+ i9 = 0;
+ do {
+ i12 = HEAP32[i7 + (i9 << 2) >> 2] | 0;
+ FUNCTION_TABLE_viiif[HEAP32[(HEAP32[i12 >> 2] | 0) + 24 >> 2] & 15](i12, HEAP32[i12 + 24 >> 2] | 0, HEAP32[i12 + 28 >> 2] | 0, +HEAPF32[i4 >> 2]);
+ i9 = i9 + 1 | 0;
+ } while ((i9 | 0) < (i8 | 0));
+ }
+ i8 = HEAP32[i11 >> 2] | 0;
+ if ((i8 | 0) > 0) {
+ i11 = i1 + 76 | 0;
+ i9 = i1 + 16 | 0;
+ i4 = 0;
+ do {
+ i7 = HEAP32[(HEAP32[i11 >> 2] | 0) + (i4 << 2) >> 2] | 0;
+ i12 = HEAP32[i9 >> 2] | 0;
+ __ZN35btSequentialImpulseConstraintSolver36resolveSingleConstraintRowLowerLimitER11btRigidBodyS1_RK18btSolverConstraint(0, HEAP32[i12 + (i7 * 136 | 0) + 104 >> 2] | 0, HEAP32[i12 + (i7 * 136 | 0) + 108 >> 2] | 0, i12 + (i7 * 136 | 0) | 0);
+ i4 = i4 + 1 | 0;
+ } while ((i4 | 0) < (i8 | 0));
+ }
+ i8 = HEAP32[i6 >> 2] | 0;
+ if ((i8 | 0) <= 0) {
+ return +0.0;
+ }
+ i6 = i1 + 96 | 0;
+ i4 = i1 + 56 | 0;
+ i9 = i1 + 16 | 0;
+ i1 = 0;
+ do {
+ i11 = HEAP32[(HEAP32[i6 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ i7 = HEAP32[i4 >> 2] | 0;
+ d28 = +HEAPF32[(HEAP32[i9 >> 2] | 0) + ((HEAP32[i7 + (i11 * 136 | 0) + 100 >> 2] | 0) * 136 | 0) + 84 >> 2];
+ if (d28 > 0.0) {
+ d27 = d28 * +HEAPF32[i7 + (i11 * 136 | 0) + 88 >> 2];
+ HEAPF32[i7 + (i11 * 136 | 0) + 124 >> 2] = -0.0 - d27;
+ HEAPF32[i7 + (i11 * 136 | 0) + 128 >> 2] = d27;
+ __ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(0, HEAP32[i7 + (i11 * 136 | 0) + 104 >> 2] | 0, HEAP32[i7 + (i11 * 136 | 0) + 108 >> 2] | 0, i7 + (i11 * 136 | 0) | 0);
+ }
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i8 | 0));
+ return +0.0;
+ }
+ return 0.0;
+}
+function __ZN27btContinuousConvexCollision20computeClosestPointsERK11btTransformS2_R16btPointCollector(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, i45 = 0, d46 = 0.0, i47 = 0, d48 = 0.0, i49 = 0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, i58 = 0, i59 = 0, i60 = 0, i61 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 280 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 80 | 0;
+ i8 = i5 + 216 | 0;
+ i9 = i5 + 232 | 0;
+ i10 = i5 + 248 | 0;
+ i11 = i5 + 264 | 0;
+ i12 = i1 + 16 | 0;
+ if ((HEAP32[i12 >> 2] | 0) == 0) {
+ i13 = HEAP32[i1 + 12 >> 2] | 0;
+ i14 = HEAP32[i1 + 20 >> 2] | 0;
+ d15 = +HEAPF32[i2 >> 2];
+ d16 = +HEAPF32[i2 + 4 >> 2];
+ d17 = +HEAPF32[i2 + 8 >> 2];
+ d18 = +HEAPF32[i2 + 16 >> 2];
+ d19 = +HEAPF32[i2 + 20 >> 2];
+ d20 = +HEAPF32[i2 + 24 >> 2];
+ d21 = +HEAPF32[i2 + 32 >> 2];
+ d22 = +HEAPF32[i2 + 36 >> 2];
+ d23 = +HEAPF32[i2 + 40 >> 2];
+ d24 = +HEAPF32[i2 + 48 >> 2];
+ d25 = +HEAPF32[i2 + 52 >> 2];
+ d26 = +HEAPF32[i2 + 56 >> 2];
+ i27 = i3 | 0;
+ i28 = i3 + 16 | 0;
+ i29 = i3 + 32 | 0;
+ i30 = i3 + 4 | 0;
+ i31 = i3 + 20 | 0;
+ i32 = i3 + 36 | 0;
+ i33 = i3 + 8 | 0;
+ i34 = i3 + 24 | 0;
+ i35 = i3 + 40 | 0;
+ d36 = +HEAPF32[i27 >> 2];
+ d37 = +HEAPF32[i28 >> 2];
+ d38 = +HEAPF32[i29 >> 2];
+ d39 = +HEAPF32[i30 >> 2];
+ d40 = +HEAPF32[i31 >> 2];
+ d41 = +HEAPF32[i32 >> 2];
+ d42 = +HEAPF32[i33 >> 2];
+ d43 = +HEAPF32[i34 >> 2];
+ d44 = +HEAPF32[i35 >> 2];
+ i45 = i3 + 48 | 0;
+ d46 = -0.0 - +HEAPF32[i45 >> 2];
+ i47 = i3 + 52 | 0;
+ d48 = -0.0 - +HEAPF32[i47 >> 2];
+ i49 = i3 + 56 | 0;
+ d50 = -0.0 - +HEAPF32[i49 >> 2];
+ d51 = d15 * d36 + d18 * d37 + d21 * d38;
+ d52 = d16 * d36 + d19 * d37 + d22 * d38;
+ d53 = d17 * d36 + d20 * d37 + d23 * d38;
+ d54 = d15 * d39 + d18 * d40 + d21 * d41;
+ d55 = d16 * d39 + d19 * d40 + d22 * d41;
+ d56 = d17 * d39 + d20 * d40 + d23 * d41;
+ d57 = d15 * d42 + d18 * d43 + d21 * d44;
+ d21 = d16 * d42 + d19 * d43 + d22 * d44;
+ d22 = d17 * d42 + d20 * d43 + d23 * d44;
+ i58 = HEAP32[(HEAP32[i13 >> 2] | 0) + 60 >> 2] | 0;
+ i59 = i14 + 48 | 0;
+ d23 = -0.0 - +HEAPF32[i59 >> 2];
+ i60 = i14 + 52 | 0;
+ d20 = -0.0 - +HEAPF32[i60 >> 2];
+ i61 = i14 + 56 | 0;
+ d17 = -0.0 - +HEAPF32[i61 >> 2];
+ HEAPF32[i9 >> 2] = d51 * d23 + d54 * d20 + d57 * d17;
+ HEAPF32[i9 + 4 >> 2] = d52 * d23 + d55 * d20 + d21 * d17;
+ HEAPF32[i9 + 8 >> 2] = d53 * d23 + d56 * d20 + d22 * d17;
+ HEAPF32[i9 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i58 & 127](i8, i13, i9);
+ d17 = +HEAPF32[i8 >> 2];
+ d20 = +HEAPF32[i8 + 4 >> 2];
+ d23 = +HEAPF32[i8 + 8 >> 2];
+ d19 = d24 * d36 + d25 * d37 + d26 * d38 + (d36 * d46 + d37 * d48 + d38 * d50) + (d51 * d17 + d52 * d20 + d53 * d23);
+ d53 = d24 * d39 + d25 * d40 + d26 * d41 + (d39 * d46 + d40 * d48 + d41 * d50) + (d54 * d17 + d55 * d20 + d56 * d23);
+ d56 = d24 * d42 + d25 * d43 + d26 * d44 + (d42 * d46 + d43 * d48 + d44 * d50) + (d57 * d17 + d21 * d20 + d22 * d23);
+ d23 = +HEAPF32[i59 >> 2];
+ d22 = +HEAPF32[i60 >> 2];
+ d20 = +HEAPF32[i61 >> 2];
+ d21 = d20 * d56 + (d23 * d19 + d22 * d53) - +HEAPF32[i14 + 64 >> 2];
+ d17 = d19 - d23 * d21;
+ d23 = d53 - d22 * d21;
+ d22 = d56 - d20 * d21;
+ d20 = +HEAPF32[i27 >> 2];
+ d56 = +HEAPF32[i30 >> 2];
+ d53 = +HEAPF32[i33 >> 2];
+ d19 = +HEAPF32[i28 >> 2];
+ d57 = +HEAPF32[i31 >> 2];
+ d50 = +HEAPF32[i34 >> 2];
+ d44 = +HEAPF32[i47 >> 2] + (d17 * d19 + d23 * d57 + d22 * d50);
+ d48 = +HEAPF32[i29 >> 2];
+ d43 = +HEAPF32[i32 >> 2];
+ d46 = +HEAPF32[i35 >> 2];
+ d42 = +HEAPF32[i49 >> 2] + (d17 * d48 + d23 * d43 + d22 * d46);
+ HEAPF32[i10 >> 2] = +HEAPF32[i45 >> 2] + (d53 * d22 + (d20 * d17 + d56 * d23));
+ HEAPF32[i10 + 4 >> 2] = d44;
+ HEAPF32[i10 + 8 >> 2] = d42;
+ HEAPF32[i10 + 12 >> 2] = 0.0;
+ d42 = +HEAPF32[i59 >> 2];
+ d44 = +HEAPF32[i60 >> 2];
+ d23 = +HEAPF32[i61 >> 2];
+ HEAPF32[i11 >> 2] = d20 * d42 + d56 * d44 + d53 * d23;
+ HEAPF32[i11 + 4 >> 2] = d19 * d42 + d57 * d44 + d50 * d23;
+ HEAPF32[i11 + 8 >> 2] = d48 * d42 + d43 * d44 + d46 * d23;
+ HEAPF32[i11 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[HEAP32[(HEAP32[i4 >> 2] | 0) + 16 >> 2] & 15](i4, i11, i10, d21);
+ STACKTOP = i5;
+ return;
+ } else {
+ i10 = i1 + 4 | 0;
+ __ZN22btVoronoiSimplexSolver5resetEv(HEAP32[i10 >> 2] | 0);
+ i11 = HEAP32[i1 + 12 >> 2] | 0;
+ i61 = HEAP32[i12 >> 2] | 0;
+ i60 = HEAP32[i11 + 4 >> 2] | 0;
+ i59 = HEAP32[i61 + 4 >> 2] | 0;
+ d21 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i11 >> 2] | 0) + 44 >> 2] & 7](i11);
+ i45 = HEAP32[i12 >> 2] | 0;
+ d23 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i45 >> 2] | 0) + 44 >> 2] & 7](i45);
+ __ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_iiffP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i6, i11, i61, i60, i59, d21, d23, HEAP32[i10 >> 2] | 0, HEAP32[i1 + 8 >> 2] | 0);
+ HEAPF32[i7 + 128 >> 2] = 999999984306749400.0;
+ HEAP32[i7 + 132 >> 2] = 0;
+ i1 = i7;
+ i10 = i2;
+ HEAP32[i1 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i7 + 16 | 0;
+ i1 = i2 + 16 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ i1 = i7 + 32 | 0;
+ i10 = i2 + 32 | 0;
+ HEAP32[i1 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i7 + 48 | 0;
+ i1 = i2 + 48 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ i1 = i7 + 64 | 0;
+ i10 = i3;
+ HEAP32[i1 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i7 + 80 | 0;
+ i1 = i3 + 16 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ i1 = i7 + 96 | 0;
+ i10 = i3 + 32 | 0;
+ HEAP32[i1 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i7 + 112 | 0;
+ i1 = i3 + 48 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ __ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i6, i7, i4 | 0, 0, 0);
+ STACKTOP = i5;
+ return;
+ }
+}
+function __ZN16btCollisionWorld14debugDrawWorldEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, d42 = 0.0, d43 = 0.0, d44 = 0.0, d45 = 0.0, d46 = 0.0, d47 = 0.0, d48 = 0.0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 112 | 0;
+ i3 = i2 | 0;
+ i4 = i2 + 16 | 0;
+ i5 = i2 + 32 | 0;
+ i6 = i2 + 48 | 0;
+ i7 = i2 + 64 | 0;
+ i8 = i2 + 80 | 0;
+ i9 = i2 + 96 | 0;
+ i10 = i1;
+ do {
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] & 127](i1) | 0) != 0) {
+ i11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ if (((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i11 >> 2] | 0) + 48 >> 2] & 127](i11) | 0) & 8 | 0) == 0) {
+ break;
+ }
+ i11 = i1 + 24 | 0;
+ i12 = HEAP32[i11 >> 2] | 0;
+ i13 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i12 >> 2] | 0) + 36 >> 2] & 127](i12) | 0;
+ _memset(i3 | 0, 0, 16);
+ if ((i13 | 0) > 0) {
+ i14 = 0;
+ } else {
+ break;
+ }
+ do {
+ i12 = HEAP32[i11 >> 2] | 0;
+ i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 40 >> 2] & 63](i12, i14) | 0;
+ i12 = HEAP32[i15 + 1116 >> 2] | 0;
+ if ((i12 | 0) > 0) {
+ i16 = 0;
+ do {
+ i17 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ FUNCTION_TABLE_viiifii[HEAP32[(HEAP32[i17 >> 2] | 0) + 32 >> 2] & 1](i17, i15 + 4 + (i16 * 276 | 0) + 32 | 0, i15 + 4 + (i16 * 276 | 0) + 64 | 0, +HEAPF32[i15 + 4 + (i16 * 276 | 0) + 80 >> 2], HEAP32[i15 + 4 + (i16 * 276 | 0) + 144 >> 2] | 0, i3);
+ i16 = i16 + 1 | 0;
+ } while ((i16 | 0) < (i12 | 0));
+ }
+ i14 = i14 + 1 | 0;
+ } while ((i14 | 0) < (i13 | 0));
+ }
+ } while (0);
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] & 127](i1) | 0) == 0) {
+ STACKTOP = i2;
+ return;
+ }
+ i14 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ if (((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i14 >> 2] | 0) + 48 >> 2] & 127](i14) | 0) & 3 | 0) == 0) {
+ STACKTOP = i2;
+ return;
+ }
+ i14 = i1 + 8 | 0;
+ if ((HEAP32[i14 >> 2] | 0) <= 0) {
+ STACKTOP = i2;
+ return;
+ }
+ i3 = i1 + 16 | 0;
+ i13 = i1 + 80 | 0;
+ i11 = i7 | 0;
+ i12 = i7 + 4 | 0;
+ i16 = i7 + 8 | 0;
+ i15 = i7 + 12 | 0;
+ i17 = i5 | 0;
+ i18 = i5 + 4 | 0;
+ i19 = i5 + 8 | 0;
+ i20 = i6 | 0;
+ i21 = i6 + 4 | 0;
+ i22 = i6 + 8 | 0;
+ i23 = i8 | 0;
+ i24 = i8 + 4 | 0;
+ i25 = i8 + 8 | 0;
+ i26 = i9 | 0;
+ i27 = i9 + 4 | 0;
+ i28 = i9 + 8 | 0;
+ i29 = i5 + 12 | 0;
+ i30 = i8 + 12 | 0;
+ i31 = i6 + 12 | 0;
+ i32 = i9 + 12 | 0;
+ i33 = i4 | 0;
+ i34 = i4 + 4 | 0;
+ i35 = i4 + 8 | 0;
+ i36 = i4 + 12 | 0;
+ i37 = i1;
+ i38 = 0;
+ do {
+ i39 = HEAP32[(HEAP32[i3 >> 2] | 0) + (i38 << 2) >> 2] | 0;
+ do {
+ if ((HEAP32[i39 + 204 >> 2] & 32 | 0) == 0) {
+ do {
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] & 127](i1) | 0) != 0) {
+ i40 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ if (((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i40 >> 2] | 0) + 48 >> 2] & 127](i40) | 0) & 1 | 0) == 0) {
+ break;
+ }
+ HEAPF32[i33 >> 2] = 1.0;
+ HEAPF32[i34 >> 2] = 1.0;
+ HEAPF32[i35 >> 2] = 1.0;
+ HEAPF32[i36 >> 2] = 0.0;
+ switch (HEAP32[i39 + 216 >> 2] | 0) {
+ case 5:
+ {
+ HEAPF32[i33 >> 2] = 1.0;
+ HEAPF32[i34 >> 2] = 1.0;
+ HEAPF32[i35 >> 2] = 0.0;
+ HEAPF32[i36 >> 2] = 0.0;
+ break;
+ }
+ case 1:
+ {
+ HEAPF32[i33 >> 2] = 1.0;
+ HEAPF32[i34 >> 2] = 1.0;
+ HEAPF32[i35 >> 2] = 1.0;
+ HEAPF32[i36 >> 2] = 0.0;
+ break;
+ }
+ case 2:
+ {
+ HEAPF32[i33 >> 2] = 0.0;
+ HEAPF32[i34 >> 2] = 1.0;
+ HEAPF32[i35 >> 2] = 0.0;
+ HEAPF32[i36 >> 2] = 0.0;
+ break;
+ }
+ case 3:
+ {
+ HEAPF32[i33 >> 2] = 0.0;
+ HEAPF32[i34 >> 2] = 1.0;
+ HEAPF32[i35 >> 2] = 1.0;
+ HEAPF32[i36 >> 2] = 0.0;
+ break;
+ }
+ case 4:
+ {
+ HEAPF32[i33 >> 2] = 1.0;
+ HEAPF32[i34 >> 2] = 0.0;
+ HEAPF32[i35 >> 2] = 0.0;
+ HEAPF32[i36 >> 2] = 0.0;
+ break;
+ }
+ default:
+ {
+ HEAPF32[i33 >> 2] = 1.0;
+ HEAPF32[i34 >> 2] = 0.0;
+ HEAPF32[i35 >> 2] = 0.0;
+ HEAPF32[i36 >> 2] = 0.0;
+ }
+ }
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i37 >> 2] | 0) + 24 >> 2] & 127](i1, i39 + 4 | 0, HEAP32[i39 + 192 >> 2] | 0, i4);
+ }
+ } while (0);
+ i40 = HEAP32[i13 >> 2] | 0;
+ if ((i40 | 0) == 0) {
+ break;
+ }
+ if (((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i40 >> 2] | 0) + 48 >> 2] & 127](i40) | 0) & 2 | 0) == 0) {
+ break;
+ }
+ HEAPF32[i11 >> 2] = 1.0;
+ HEAPF32[i12 >> 2] = 0.0;
+ HEAPF32[i16 >> 2] = 0.0;
+ HEAPF32[i15 >> 2] = 0.0;
+ i40 = i39 + 192 | 0;
+ i41 = HEAP32[i40 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i41 >> 2] | 0) + 8 >> 2] & 127](i41, i39 + 4 | 0, i5, i6);
+ d42 = +HEAPF32[4];
+ HEAPF32[i17 >> 2] = +HEAPF32[i17 >> 2] - d42;
+ HEAPF32[i18 >> 2] = +HEAPF32[i18 >> 2] - d42;
+ HEAPF32[i19 >> 2] = +HEAPF32[i19 >> 2] - d42;
+ HEAPF32[i20 >> 2] = d42 + +HEAPF32[i20 >> 2];
+ HEAPF32[i21 >> 2] = d42 + +HEAPF32[i21 >> 2];
+ HEAPF32[i22 >> 2] = d42 + +HEAPF32[i22 >> 2];
+ do {
+ if ((HEAP32[i39 + 232 >> 2] | 0) == 2) {
+ i41 = HEAP32[i40 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i41 >> 2] | 0) + 8 >> 2] & 127](i41, i39 + 68 | 0, i8, i9);
+ d43 = +HEAPF32[i23 >> 2] - d42;
+ HEAPF32[i23 >> 2] = d43;
+ d44 = +HEAPF32[i24 >> 2] - d42;
+ HEAPF32[i24 >> 2] = d44;
+ d45 = +HEAPF32[i25 >> 2] - d42;
+ HEAPF32[i25 >> 2] = d45;
+ d46 = d42 + +HEAPF32[i26 >> 2];
+ HEAPF32[i26 >> 2] = d46;
+ d47 = d42 + +HEAPF32[i27 >> 2];
+ HEAPF32[i27 >> 2] = d47;
+ d48 = d42 + +HEAPF32[i28 >> 2];
+ HEAPF32[i28 >> 2] = d48;
+ if (d43 < +HEAPF32[i17 >> 2]) {
+ HEAPF32[i17 >> 2] = d43;
+ }
+ if (d44 < +HEAPF32[i18 >> 2]) {
+ HEAPF32[i18 >> 2] = d44;
+ }
+ if (d45 < +HEAPF32[i19 >> 2]) {
+ HEAPF32[i19 >> 2] = d45;
+ }
+ d45 = +HEAPF32[i30 >> 2];
+ if (d45 < +HEAPF32[i29 >> 2]) {
+ HEAPF32[i29 >> 2] = d45;
+ }
+ if (+HEAPF32[i20 >> 2] < d46) {
+ HEAPF32[i20 >> 2] = d46;
+ }
+ if (+HEAPF32[i21 >> 2] < d47) {
+ HEAPF32[i21 >> 2] = d47;
+ }
+ if (+HEAPF32[i22 >> 2] < d48) {
+ HEAPF32[i22 >> 2] = d48;
+ }
+ d48 = +HEAPF32[i32 >> 2];
+ if (+HEAPF32[i31 >> 2] >= d48) {
+ break;
+ }
+ HEAPF32[i31 >> 2] = d48;
+ }
+ } while (0);
+ i40 = HEAP32[i13 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i40 >> 2] | 0) + 52 >> 2] & 127](i40, i5, i6, i7);
+ }
+ } while (0);
+ i38 = i38 + 1 | 0;
+ } while ((i38 | 0) < (HEAP32[i14 >> 2] | 0));
+ STACKTOP = i2;
+ return;
+}
+function __ZN27btContinuousConvexCollision16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 384 | 0;
+ i8 = i7 | 0;
+ i9 = i7 + 16 | 0;
+ i10 = i7 + 24 | 0;
+ i11 = i7 + 40 | 0;
+ i12 = i7 + 48 | 0;
+ i13 = i7 + 64 | 0;
+ i14 = i7 + 80 | 0;
+ i15 = i7 + 96 | 0;
+ i16 = i7 + 112 | 0;
+ i17 = i7 + 128 | 0;
+ i18 = i7 + 176 | 0;
+ i19 = i7 + 192 | 0;
+ i20 = i7 + 256 | 0;
+ i21 = i7 + 320 | 0;
+ i22 = i7 + 336 | 0;
+ d23 = +HEAPF32[i3 + 48 >> 2] - +HEAPF32[i2 + 48 >> 2];
+ d24 = +HEAPF32[i3 + 52 >> 2] - +HEAPF32[i2 + 52 >> 2];
+ d25 = +HEAPF32[i3 + 56 >> 2] - +HEAPF32[i2 + 56 >> 2];
+ HEAPF32[i12 >> 2] = d23;
+ HEAPF32[i12 + 4 >> 2] = d24;
+ HEAPF32[i12 + 8 >> 2] = d25;
+ HEAPF32[i12 + 12 >> 2] = 0.0;
+ __ZN15btTransformUtil22calculateDiffAxisAngleERK11btTransformS2_R9btVector3Rf(i2, i3, i10, i11);
+ d26 = +HEAPF32[i11 >> 2];
+ d27 = +HEAPF32[i10 >> 2] * d26;
+ d28 = d26 * +HEAPF32[i10 + 4 >> 2];
+ d29 = d26 * +HEAPF32[i10 + 8 >> 2];
+ HEAPF32[i13 >> 2] = d27;
+ HEAPF32[i13 + 4 >> 2] = d28;
+ HEAPF32[i13 + 8 >> 2] = d29;
+ HEAPF32[i13 + 12 >> 2] = 0.0;
+ d26 = +HEAPF32[i5 + 48 >> 2] - +HEAPF32[i4 + 48 >> 2];
+ d30 = +HEAPF32[i5 + 52 >> 2] - +HEAPF32[i4 + 52 >> 2];
+ d31 = +HEAPF32[i5 + 56 >> 2] - +HEAPF32[i4 + 56 >> 2];
+ HEAPF32[i14 >> 2] = d26;
+ HEAPF32[i14 + 4 >> 2] = d30;
+ HEAPF32[i14 + 8 >> 2] = d31;
+ HEAPF32[i14 + 12 >> 2] = 0.0;
+ __ZN15btTransformUtil22calculateDiffAxisAngleERK11btTransformS2_R9btVector3Rf(i4, i5, i8, i9);
+ d32 = +HEAPF32[i9 >> 2];
+ d33 = +HEAPF32[i8 >> 2] * d32;
+ d34 = d32 * +HEAPF32[i8 + 4 >> 2];
+ d35 = d32 * +HEAPF32[i8 + 8 >> 2];
+ HEAPF32[i15 >> 2] = d33;
+ HEAPF32[i15 + 4 >> 2] = d34;
+ HEAPF32[i15 + 8 >> 2] = d35;
+ HEAPF32[i15 + 12 >> 2] = 0.0;
+ i8 = HEAP32[i1 + 12 >> 2] | 0;
+ d32 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 16 >> 2] & 7](i8 | 0);
+ i8 = HEAP32[i1 + 16 >> 2] | 0;
+ if ((i8 | 0) == 0) {
+ d36 = 0.0;
+ } else {
+ d36 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 16 >> 2] & 7](i8 | 0);
+ }
+ d37 = d32 * +Math_sqrt(+(d27 * d27 + d28 * d28 + d29 * d29));
+ d29 = d37 + d36 * +Math_sqrt(+(d33 * d33 + d34 * d34 + d35 * d35));
+ d35 = d26 - d23;
+ d23 = d30 - d24;
+ d24 = d31 - d25;
+ if (+Math_sqrt(+(d35 * d35 + d23 * d23 + d24 * d24)) + d29 == 0.0) {
+ i38 = 0;
+ STACKTOP = i7;
+ return i38 | 0;
+ }
+ HEAP32[i17 >> 2] = 4272;
+ i8 = i17 + 36 | 0;
+ HEAPF32[i8 >> 2] = 999999984306749400.0;
+ i9 = i17 + 40 | 0;
+ HEAP8[i9] = 0;
+ __ZN27btContinuousConvexCollision20computeClosestPointsERK11btTransformS2_R16btPointCollector(i1, i2, i4, i17);
+ i5 = (HEAP8[i9] | 0) == 0;
+ i9 = i16;
+ i10 = i17 + 20 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ if (i5) {
+ i38 = 0;
+ STACKTOP = i7;
+ return i38 | 0;
+ }
+ i5 = i6 + 172 | 0;
+ d25 = +HEAPF32[i17 + 4 >> 2];
+ d31 = +HEAPF32[i17 + 8 >> 2];
+ d30 = +HEAPF32[i17 + 12 >> 2];
+ if (d29 + (d35 * d25 + d23 * d31 + d24 * d30) <= 1.1920928955078125e-7) {
+ i38 = 0;
+ STACKTOP = i7;
+ return i38 | 0;
+ }
+ i10 = i6 + 168 | 0;
+ i11 = i6;
+ i3 = i22 | 0;
+ i39 = i22 + 36 | 0;
+ i40 = i22 + 40 | 0;
+ i41 = i22 + 20 | 0;
+ i42 = i22 + 4 | 0;
+ i43 = i22 + 8 | 0;
+ i44 = i22 + 12 | 0;
+ i45 = i22 + 16 | 0;
+ i46 = i19 + 48 | 0;
+ i47 = i21 | 0;
+ i48 = i21 + 4 | 0;
+ i49 = i21 + 8 | 0;
+ i50 = i21 + 12 | 0;
+ i51 = i18 | 0;
+ i52 = i18 + 4 | 0;
+ i53 = i18 + 8 | 0;
+ i54 = i18 + 12 | 0;
+ d26 = +HEAPF32[i5 >> 2] + +HEAPF32[i8 >> 2];
+ i8 = 0;
+ d34 = 0.0;
+ d33 = d25;
+ d25 = d31;
+ d31 = d30;
+ d30 = +HEAPF32[i17 + 16 >> 2];
+ while (1) {
+ if (d26 <= .0010000000474974513) {
+ i55 = 593;
+ break;
+ }
+ i17 = HEAP32[i10 >> 2] | 0;
+ if ((i17 | 0) != 0) {
+ i56 = HEAP32[(HEAP32[i17 >> 2] | 0) + 20 >> 2] | 0;
+ HEAPF32[i51 >> 2] = 1.0;
+ HEAPF32[i52 >> 2] = 1.0;
+ HEAPF32[i53 >> 2] = 1.0;
+ HEAPF32[i54 >> 2] = 0.0;
+ FUNCTION_TABLE_viifi[i56 & 1](i17, i16, .20000000298023224, i18);
+ }
+ d36 = d29 + (d24 * d31 + (d23 * d25 + d35 * d33));
+ if (d36 <= 1.1920928955078125e-7) {
+ i38 = 0;
+ i55 = 598;
+ break;
+ }
+ d37 = d34 + d26 / d36;
+ if (!(d37 >= 0.0 & d37 <= 1.0 & d37 > d34)) {
+ i38 = 0;
+ i55 = 599;
+ break;
+ }
+ __ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(i2, i12, i13, d37, i19);
+ __ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(i4, i14, i15, d37, i20);
+ i17 = HEAP32[i10 >> 2] | 0;
+ if ((i17 | 0) != 0) {
+ i56 = HEAP32[(HEAP32[i17 >> 2] | 0) + 20 >> 2] | 0;
+ HEAPF32[i47 >> 2] = 1.0;
+ HEAPF32[i48 >> 2] = 0.0;
+ HEAPF32[i49 >> 2] = 0.0;
+ HEAPF32[i50 >> 2] = 0.0;
+ FUNCTION_TABLE_viifi[i56 & 1](i17, i46, .20000000298023224, i21);
+ }
+ FUNCTION_TABLE_vif[HEAP32[HEAP32[i11 >> 2] >> 2] & 31](i6, d37);
+ HEAP32[i3 >> 2] = 4272;
+ HEAPF32[i39 >> 2] = 999999984306749400.0;
+ HEAP8[i40] = 0;
+ __ZN27btContinuousConvexCollision20computeClosestPointsERK11btTransformS2_R16btPointCollector(i1, i19, i20, i22);
+ if ((HEAP8[i40] | 0) == 0) {
+ i55 = 591;
+ break;
+ }
+ d36 = +HEAPF32[i39 >> 2] + +HEAPF32[i5 >> 2];
+ HEAP32[i9 >> 2] = HEAP32[i41 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i41 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i41 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i41 + 12 >> 2];
+ i57 = i8 + 1 | 0;
+ if ((i57 | 0) > 64) {
+ i55 = 592;
+ break;
+ } else {
+ d26 = d36;
+ i8 = i57;
+ d34 = d37;
+ d33 = +HEAPF32[i42 >> 2];
+ d25 = +HEAPF32[i43 >> 2];
+ d31 = +HEAPF32[i44 >> 2];
+ d30 = +HEAPF32[i45 >> 2];
+ }
+ }
+ if ((i55 | 0) == 598) {
+ STACKTOP = i7;
+ return i38 | 0;
+ } else if ((i55 | 0) == 599) {
+ STACKTOP = i7;
+ return i38 | 0;
+ } else if ((i55 | 0) == 591) {
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i6 >> 2] | 0) + 8 >> 2] & 127](i6, -1, i8);
+ i38 = 0;
+ STACKTOP = i7;
+ return i38 | 0;
+ } else if ((i55 | 0) == 592) {
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i6 >> 2] | 0) + 8 >> 2] & 127](i6, -2, i57);
+ i38 = 0;
+ STACKTOP = i7;
+ return i38 | 0;
+ } else if ((i55 | 0) == 593) {
+ HEAPF32[i6 + 164 >> 2] = d34;
+ HEAPF32[i6 + 132 >> 2] = d33;
+ HEAPF32[i6 + 136 >> 2] = d25;
+ HEAPF32[i6 + 140 >> 2] = d31;
+ HEAPF32[i6 + 144 >> 2] = d30;
+ i55 = i6 + 148 | 0;
+ HEAP32[i55 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i55 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i55 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i55 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i38 = 1;
+ STACKTOP = i7;
+ return i38 | 0;
+ }
+ return 0;
+}
+function __ZNK16btCollisionWorld15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RNS_20ConvexResultCallbackEf(i1, i2, i3, i4, i5, d6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ d6 = +d6;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 496 | 0;
+ i8 = i7 | 0;
+ i9 = i7 + 16 | 0;
+ i10 = i7 + 24 | 0;
+ i11 = i7 + 88 | 0;
+ i12 = i7 + 152 | 0;
+ i13 = i7 + 168 | 0;
+ i14 = i7 + 184 | 0;
+ i15 = i7 + 200 | 0;
+ i16 = i7 + 216 | 0;
+ i17 = i7 + 280 | 0;
+ i18 = i7 + 296 | 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(56);
+ i19 = i10;
+ i20 = i3;
+ HEAP32[i19 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ i19 = i10 + 16 | 0;
+ i21 = i3 + 16 | 0;
+ HEAP32[i19 >> 2] = HEAP32[i21 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i21 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i21 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i21 + 12 >> 2];
+ i19 = i10 + 32 | 0;
+ i22 = i3 + 32 | 0;
+ HEAP32[i19 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i22 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i22 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i22 + 12 >> 2];
+ i19 = i10 + 48 | 0;
+ i23 = i19;
+ i24 = i3 + 48 | 0;
+ HEAP32[i23 >> 2] = HEAP32[i24 >> 2];
+ HEAP32[i23 + 4 >> 2] = HEAP32[i24 + 4 >> 2];
+ HEAP32[i23 + 8 >> 2] = HEAP32[i24 + 8 >> 2];
+ HEAP32[i23 + 12 >> 2] = HEAP32[i24 + 12 >> 2];
+ i23 = i11;
+ i3 = i4;
+ HEAP32[i23 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i23 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i23 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i23 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ i23 = i11 + 16 | 0;
+ i25 = i4 + 16 | 0;
+ HEAP32[i23 >> 2] = HEAP32[i25 >> 2];
+ HEAP32[i23 + 4 >> 2] = HEAP32[i25 + 4 >> 2];
+ HEAP32[i23 + 8 >> 2] = HEAP32[i25 + 8 >> 2];
+ HEAP32[i23 + 12 >> 2] = HEAP32[i25 + 12 >> 2];
+ i23 = i11 + 32 | 0;
+ i26 = i4 + 32 | 0;
+ HEAP32[i23 >> 2] = HEAP32[i26 >> 2];
+ HEAP32[i23 + 4 >> 2] = HEAP32[i26 + 4 >> 2];
+ HEAP32[i23 + 8 >> 2] = HEAP32[i26 + 8 >> 2];
+ HEAP32[i23 + 12 >> 2] = HEAP32[i26 + 12 >> 2];
+ i23 = i11 + 48 | 0;
+ i27 = i23;
+ i28 = i4 + 48 | 0;
+ HEAP32[i27 >> 2] = HEAP32[i28 >> 2];
+ HEAP32[i27 + 4 >> 2] = HEAP32[i28 + 4 >> 2];
+ HEAP32[i27 + 8 >> 2] = HEAP32[i28 + 8 >> 2];
+ HEAP32[i27 + 12 >> 2] = HEAP32[i28 + 12 >> 2];
+ __ZN15btTransformUtil22calculateDiffAxisAngleERK11btTransformS2_R9btVector3Rf(i10, i11, i8, i9);
+ d29 = +HEAPF32[i9 >> 2];
+ d30 = d29 * +HEAPF32[i8 + 4 >> 2];
+ d31 = d29 * +HEAPF32[i8 + 8 >> 2];
+ HEAPF32[i14 >> 2] = +HEAPF32[i8 >> 2] * d29;
+ HEAPF32[i14 + 4 >> 2] = d30;
+ HEAPF32[i14 + 8 >> 2] = d31;
+ HEAPF32[i14 + 12 >> 2] = 0.0;
+ _memset(i15 | 0, 0, 16);
+ i8 = i16 + 4 | 0;
+ i9 = i8;
+ HEAP32[i9 >> 2] = 0;
+ HEAP32[i9 + 4 >> 2] = 0;
+ i9 = i16 + 24 | 0;
+ i11 = i9;
+ HEAP32[i11 >> 2] = 0;
+ HEAP32[i11 + 4 >> 2] = 0;
+ i11 = i16 + 44 | 0;
+ _memset(i11 | 0, 0, 20);
+ __ZNK11btMatrix3x311getRotationER12btQuaternion(i10 | 0, i17);
+ d31 = +HEAPF32[i17 >> 2];
+ d30 = +HEAPF32[i17 + 4 >> 2];
+ d29 = +HEAPF32[i17 + 8 >> 2];
+ d32 = +HEAPF32[i17 + 12 >> 2];
+ d33 = 2.0 / (d31 * d31 + d30 * d30 + d29 * d29 + d32 * d32);
+ d34 = d31 * d33;
+ d35 = d30 * d33;
+ d36 = d29 * d33;
+ d33 = d32 * d34;
+ d37 = d32 * d35;
+ d38 = d32 * d36;
+ d32 = d31 * d34;
+ d34 = d31 * d35;
+ d39 = d31 * d36;
+ d31 = d30 * d35;
+ d35 = d30 * d36;
+ d30 = d29 * d36;
+ HEAPF32[i16 >> 2] = 1.0 - (d31 + d30);
+ HEAPF32[i8 >> 2] = d34 - d38;
+ HEAPF32[i16 + 8 >> 2] = d39 + d37;
+ HEAPF32[i16 + 12 >> 2] = 0.0;
+ HEAPF32[i16 + 16 >> 2] = d34 + d38;
+ HEAPF32[i16 + 20 >> 2] = 1.0 - (d32 + d30);
+ HEAPF32[i9 >> 2] = d35 - d33;
+ HEAPF32[i16 + 28 >> 2] = 0.0;
+ HEAPF32[i16 + 32 >> 2] = d39 - d37;
+ HEAPF32[i16 + 36 >> 2] = d35 + d33;
+ HEAPF32[i16 + 40 >> 2] = 1.0 - (d32 + d31);
+ HEAPF32[i11 >> 2] = 0.0;
+ __ZNK16btCollisionShape21calculateTemporalAabbERK11btTransformRK9btVector3S5_fRS3_S6_(i2 | 0, i16, i15, i14, 1.0, i12, i13);
+ HEAP32[i18 >> 2] = 3648;
+ i14 = i18 + 36 | 0;
+ HEAP32[i14 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i20 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i20 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i20 + 12 >> 2];
+ i20 = i18 + 52 | 0;
+ HEAP32[i20 >> 2] = HEAP32[i21 >> 2];
+ HEAP32[i20 + 4 >> 2] = HEAP32[i21 + 4 >> 2];
+ HEAP32[i20 + 8 >> 2] = HEAP32[i21 + 8 >> 2];
+ HEAP32[i20 + 12 >> 2] = HEAP32[i21 + 12 >> 2];
+ i21 = i18 + 68 | 0;
+ HEAP32[i21 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i21 + 4 >> 2] = HEAP32[i22 + 4 >> 2];
+ HEAP32[i21 + 8 >> 2] = HEAP32[i22 + 8 >> 2];
+ HEAP32[i21 + 12 >> 2] = HEAP32[i22 + 12 >> 2];
+ i22 = i18 + 84 | 0;
+ i21 = i22;
+ HEAP32[i21 >> 2] = HEAP32[i24 >> 2];
+ HEAP32[i21 + 4 >> 2] = HEAP32[i24 + 4 >> 2];
+ HEAP32[i21 + 8 >> 2] = HEAP32[i24 + 8 >> 2];
+ HEAP32[i21 + 12 >> 2] = HEAP32[i24 + 12 >> 2];
+ i24 = i18 + 100 | 0;
+ HEAP32[i24 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i24 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i24 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i24 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ i3 = i18 + 116 | 0;
+ HEAP32[i3 >> 2] = HEAP32[i25 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i25 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i25 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i25 + 12 >> 2];
+ i25 = i18 + 132 | 0;
+ HEAP32[i25 >> 2] = HEAP32[i26 >> 2];
+ HEAP32[i25 + 4 >> 2] = HEAP32[i26 + 4 >> 2];
+ HEAP32[i25 + 8 >> 2] = HEAP32[i26 + 8 >> 2];
+ HEAP32[i25 + 12 >> 2] = HEAP32[i26 + 12 >> 2];
+ i26 = i18 + 148 | 0;
+ i25 = i26;
+ HEAP32[i25 >> 2] = HEAP32[i28 >> 2];
+ HEAP32[i25 + 4 >> 2] = HEAP32[i28 + 4 >> 2];
+ HEAP32[i25 + 8 >> 2] = HEAP32[i28 + 8 >> 2];
+ HEAP32[i25 + 12 >> 2] = HEAP32[i28 + 12 >> 2];
+ HEAP32[i18 + 180 >> 2] = i1;
+ HEAP32[i18 + 184 >> 2] = i5;
+ HEAPF32[i18 + 188 >> 2] = d6;
+ HEAP32[i18 + 192 >> 2] = i2;
+ d6 = +HEAPF32[i26 >> 2] - +HEAPF32[i22 >> 2];
+ d31 = +HEAPF32[i18 + 152 >> 2] - +HEAPF32[i18 + 88 >> 2];
+ d32 = +HEAPF32[i18 + 156 >> 2] - +HEAPF32[i18 + 92 >> 2];
+ d33 = 1.0 / +Math_sqrt(+(d6 * d6 + d31 * d31 + d32 * d32));
+ d35 = d6 * d33;
+ d37 = d31 * d33;
+ d39 = d32 * d33;
+ if (d35 == 0.0) {
+ d40 = 999999984306749400.0;
+ } else {
+ d40 = 1.0 / d35;
+ }
+ HEAPF32[i18 + 4 >> 2] = d40;
+ if (d37 == 0.0) {
+ d41 = 999999984306749400.0;
+ } else {
+ d41 = 1.0 / d37;
+ }
+ HEAPF32[i18 + 8 >> 2] = d41;
+ if (d39 == 0.0) {
+ d42 = 999999984306749400.0;
+ } else {
+ d42 = 1.0 / d39;
+ }
+ HEAPF32[i18 + 12 >> 2] = d42;
+ HEAP32[i18 + 20 >> 2] = d40 < 0.0;
+ HEAP32[i18 + 24 >> 2] = d41 < 0.0;
+ HEAP32[i18 + 28 >> 2] = d42 < 0.0;
+ HEAPF32[i18 + 32 >> 2] = d32 * d39 + (d6 * d35 + d31 * d37);
+ i22 = HEAP32[i1 + 76 >> 2] | 0;
+ FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i22 >> 2] | 0) + 24 >> 2] & 15](i22, i19, i23, i18 | 0, i12, i13);
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i7;
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolver23setupFrictionConstraintER18btSolverConstraintRK9btVector3P11btRigidBodyS6_R15btManifoldPointS4_S4_P17btCollisionObjectSA_fff(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, d11, d12, d13) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ d11 = +d11;
+ d12 = +d12;
+ d13 = +d13;
+ var i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, d45 = 0.0, d46 = 0.0, d47 = 0.0, d48 = 0.0, d49 = 0.0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, d58 = 0.0, d59 = 0.0, d60 = 0.0, i61 = 0, i62 = 0, i63 = 0, i64 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i4 = i5 | 0;
+ i1 = i5 + 16 | 0;
+ i14 = i5 + 32 | 0;
+ i15 = i5 + 48 | 0;
+ if ((HEAP32[i9 + 232 >> 2] & 2 | 0) == 0) {
+ i16 = 0;
+ } else {
+ i16 = i9;
+ }
+ if ((HEAP32[i10 + 232 >> 2] & 2 | 0) == 0) {
+ i17 = 0;
+ } else {
+ i17 = i10;
+ }
+ i10 = i2 + 16 | 0;
+ i9 = i10;
+ i18 = i3;
+ HEAP32[i9 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ i18 = (i16 | 0) != 0;
+ if (i18) {
+ i19 = i16;
+ } else {
+ i9 = i14;
+ i20 = i15;
+ do {
+ if ((HEAP8[14328] | 0) == 0) {
+ if ((___cxa_guard_acquire(14328) | 0) == 0) {
+ break;
+ }
+ _memset(i9 | 0, 0, 16);
+ __ZN11btRigidBodyC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(12536, 0.0, 0, 0, i14);
+ _atexit(268, 12536, ___dso_handle | 0) | 0;
+ }
+ } while (0);
+ _memset(i20 | 0, 0, 16);
+ __ZN11btRigidBody12setMassPropsEfRK9btVector3(12536, 0.0, i15);
+ i19 = 12536;
+ }
+ HEAP32[i2 + 104 >> 2] = i19;
+ i19 = (i17 | 0) != 0;
+ if (i19) {
+ i21 = i17;
+ } else {
+ i15 = i4;
+ i20 = i1;
+ do {
+ if ((HEAP8[14328] | 0) == 0) {
+ if ((___cxa_guard_acquire(14328) | 0) == 0) {
+ break;
+ }
+ _memset(i15 | 0, 0, 16);
+ __ZN11btRigidBodyC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(12536, 0.0, 0, 0, i4);
+ _atexit(268, 12536, ___dso_handle | 0) | 0;
+ }
+ } while (0);
+ _memset(i20 | 0, 0, 16);
+ __ZN11btRigidBody12setMassPropsEfRK9btVector3(12536, 0.0, i1);
+ i21 = 12536;
+ }
+ HEAP32[i2 + 108 >> 2] = i21;
+ HEAPF32[i2 + 88 >> 2] = +HEAPF32[i6 + 84 >> 2];
+ HEAP32[i2 + 112 >> 2] = 0;
+ HEAPF32[i2 + 84 >> 2] = 0.0;
+ HEAPF32[i2 + 80 >> 2] = 0.0;
+ i6 = i7 + 4 | 0;
+ d22 = +HEAPF32[i6 >> 2];
+ d23 = +HEAPF32[i2 + 24 >> 2];
+ i21 = i7 + 8 | 0;
+ d24 = +HEAPF32[i21 >> 2];
+ d25 = +HEAPF32[i2 + 20 >> 2];
+ d26 = d22 * d23 - d24 * d25;
+ d27 = +HEAPF32[i10 >> 2];
+ i10 = i7 | 0;
+ d28 = +HEAPF32[i10 >> 2];
+ d29 = d24 * d27 - d23 * d28;
+ d24 = d25 * d28 - d22 * d27;
+ HEAPF32[i2 >> 2] = d26;
+ HEAPF32[i2 + 4 >> 2] = d29;
+ HEAPF32[i2 + 8 >> 2] = d24;
+ HEAPF32[i2 + 12 >> 2] = 0.0;
+ if (i18) {
+ d30 = (d26 * +HEAPF32[i16 + 256 >> 2] + d29 * +HEAPF32[i16 + 260 >> 2] + d24 * +HEAPF32[i16 + 264 >> 2]) * +HEAPF32[i16 + 536 >> 2];
+ d31 = (d26 * +HEAPF32[i16 + 272 >> 2] + d29 * +HEAPF32[i16 + 276 >> 2] + d24 * +HEAPF32[i16 + 280 >> 2]) * +HEAPF32[i16 + 540 >> 2];
+ d32 = (d26 * +HEAPF32[i16 + 288 >> 2] + d29 * +HEAPF32[i16 + 292 >> 2] + d24 * +HEAPF32[i16 + 296 >> 2]) * +HEAPF32[i16 + 544 >> 2];
+ } else {
+ d30 = 0.0;
+ d31 = 0.0;
+ d32 = 0.0;
+ }
+ HEAPF32[i2 + 48 >> 2] = d30;
+ HEAPF32[i2 + 52 >> 2] = d31;
+ HEAPF32[i2 + 56 >> 2] = d32;
+ HEAPF32[i2 + 60 >> 2] = 0.0;
+ d22 = -0.0 - d27;
+ d28 = -0.0 - d25;
+ d33 = -0.0 - d23;
+ i7 = i8 + 4 | 0;
+ d34 = +HEAPF32[i7 >> 2];
+ i1 = i8 + 8 | 0;
+ d35 = +HEAPF32[i1 >> 2];
+ d36 = d34 * d33 - d35 * d28;
+ i20 = i8 | 0;
+ d37 = +HEAPF32[i20 >> 2];
+ d38 = d35 * d22 - d37 * d33;
+ d33 = d37 * d28 - d34 * d22;
+ HEAPF32[i2 + 32 >> 2] = d36;
+ HEAPF32[i2 + 36 >> 2] = d38;
+ HEAPF32[i2 + 40 >> 2] = d33;
+ HEAPF32[i2 + 44 >> 2] = 0.0;
+ if (i19) {
+ d39 = (d36 * +HEAPF32[i17 + 256 >> 2] + d38 * +HEAPF32[i17 + 260 >> 2] + d33 * +HEAPF32[i17 + 264 >> 2]) * +HEAPF32[i17 + 536 >> 2];
+ d40 = (d36 * +HEAPF32[i17 + 272 >> 2] + d38 * +HEAPF32[i17 + 276 >> 2] + d33 * +HEAPF32[i17 + 280 >> 2]) * +HEAPF32[i17 + 540 >> 2];
+ d41 = (d36 * +HEAPF32[i17 + 288 >> 2] + d38 * +HEAPF32[i17 + 292 >> 2] + d33 * +HEAPF32[i17 + 296 >> 2]) * +HEAPF32[i17 + 544 >> 2];
+ } else {
+ d39 = 0.0;
+ d40 = 0.0;
+ d41 = 0.0;
+ }
+ HEAPF32[i2 + 64 >> 2] = d39;
+ HEAPF32[i2 + 68 >> 2] = d40;
+ HEAPF32[i2 + 72 >> 2] = d41;
+ HEAPF32[i2 + 76 >> 2] = 0.0;
+ if (i18) {
+ d22 = +HEAPF32[i21 >> 2];
+ d34 = +HEAPF32[i6 >> 2];
+ d28 = +HEAPF32[i10 >> 2];
+ d42 = +HEAPF32[i16 + 336 >> 2] + ((d31 * d22 - d32 * d34) * +HEAPF32[i3 >> 2] + (d32 * d28 - d30 * d22) * +HEAPF32[i3 + 4 >> 2] + (d30 * d34 - d31 * d28) * +HEAPF32[i3 + 8 >> 2]);
+ } else {
+ d42 = 0.0;
+ }
+ if (i19) {
+ d28 = -0.0 - d39;
+ d39 = -0.0 - d40;
+ d40 = -0.0 - d41;
+ d41 = +HEAPF32[i1 >> 2];
+ d31 = +HEAPF32[i7 >> 2];
+ d34 = +HEAPF32[i20 >> 2];
+ d43 = +HEAPF32[i17 + 336 >> 2] + ((d41 * d39 - d31 * d40) * +HEAPF32[i3 >> 2] + (d34 * d40 - d41 * d28) * +HEAPF32[i3 + 4 >> 2] + (d31 * d28 - d34 * d39) * +HEAPF32[i3 + 8 >> 2]);
+ } else {
+ d43 = 0.0;
+ }
+ d39 = d11 / (d42 + d43);
+ HEAPF32[i2 + 92 >> 2] = d39;
+ if (i18) {
+ d44 = +HEAPF32[i16 + 320 >> 2];
+ d45 = +HEAPF32[i16 + 324 >> 2];
+ d46 = +HEAPF32[i16 + 328 >> 2];
+ d47 = d27 * +HEAPF32[i16 + 304 >> 2] + d25 * +HEAPF32[i16 + 308 >> 2] + d23 * +HEAPF32[i16 + 312 >> 2];
+ } else {
+ d44 = 0.0;
+ d45 = 0.0;
+ d46 = 0.0;
+ d47 = d23 * 0.0 + (d25 * 0.0 + d27 * 0.0);
+ }
+ d43 = d47 + (d24 * d46 + (d29 * d45 + d26 * d44));
+ if (i19) {
+ d48 = +HEAPF32[i17 + 320 >> 2];
+ d49 = +HEAPF32[i17 + 324 >> 2];
+ d50 = +HEAPF32[i17 + 328 >> 2];
+ d51 = d27 * +HEAPF32[i17 + 304 >> 2] + d25 * +HEAPF32[i17 + 308 >> 2] + d23 * +HEAPF32[i17 + 312 >> 2];
+ d52 = d36 * d48;
+ d53 = d38 * d49;
+ d54 = d53 + d52;
+ d55 = d33 * d50;
+ d56 = d55 + d54;
+ d57 = d56 - d51;
+ d58 = d43 + d57;
+ d59 = d12 - d58;
+ d60 = d39 * d59;
+ i61 = i2 + 116 | 0;
+ HEAPF32[i61 >> 2] = d60;
+ i62 = i2 + 120 | 0;
+ HEAPF32[i62 >> 2] = d13;
+ i63 = i2 + 124 | 0;
+ HEAPF32[i63 >> 2] = 0.0;
+ i64 = i2 + 128 | 0;
+ HEAPF32[i64 >> 2] = 1.0e10;
+ STACKTOP = i5;
+ return;
+ } else {
+ d48 = 0.0;
+ d49 = 0.0;
+ d50 = 0.0;
+ d51 = d23 * 0.0 + (d25 * 0.0 + d27 * 0.0);
+ d52 = d36 * d48;
+ d53 = d38 * d49;
+ d54 = d53 + d52;
+ d55 = d33 * d50;
+ d56 = d55 + d54;
+ d57 = d56 - d51;
+ d58 = d43 + d57;
+ d59 = d12 - d58;
+ d60 = d39 * d59;
+ i61 = i2 + 116 | 0;
+ HEAPF32[i61 >> 2] = d60;
+ i62 = i2 + 120 | 0;
+ HEAPF32[i62 >> 2] = d13;
+ i63 = i2 + 124 | 0;
+ HEAPF32[i63 >> 2] = 0.0;
+ i64 = i2 + 128 | 0;
+ HEAPF32[i64 >> 2] = 1.0e10;
+ STACKTOP = i5;
+ return;
+ }
+}
+function __ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0;
+ i6 = i1 | 0;
+ if ((i6 | 0) == (HEAP32[i2 + 8 >> 2] | 0)) {
+ if ((HEAP32[i2 + 4 >> 2] | 0) != (i3 | 0)) {
+ return;
+ }
+ i7 = i2 + 28 | 0;
+ if ((HEAP32[i7 >> 2] | 0) == 1) {
+ return;
+ }
+ HEAP32[i7 >> 2] = i4;
+ return;
+ }
+ if ((i6 | 0) == (HEAP32[i2 >> 2] | 0)) {
+ do {
+ if ((HEAP32[i2 + 16 >> 2] | 0) != (i3 | 0)) {
+ i6 = i2 + 20 | 0;
+ if ((HEAP32[i6 >> 2] | 0) == (i3 | 0)) {
+ break;
+ }
+ HEAP32[i2 + 32 >> 2] = i4;
+ i7 = i2 + 44 | 0;
+ if ((HEAP32[i7 >> 2] | 0) == 4) {
+ return;
+ }
+ i8 = HEAP32[i1 + 12 >> 2] | 0;
+ i9 = i1 + 16 + (i8 << 3) | 0;
+ L2740 : do {
+ if ((i8 | 0) > 0) {
+ i10 = i2 + 52 | 0;
+ i11 = i2 + 53 | 0;
+ i12 = i2 + 54 | 0;
+ i13 = i1 + 8 | 0;
+ i14 = i2 + 24 | 0;
+ i15 = i3;
+ i16 = 0;
+ i17 = i1 + 16 | 0;
+ i18 = 0;
+ L2742 : while (1) {
+ HEAP8[i10] = 0;
+ HEAP8[i11] = 0;
+ i19 = HEAP32[i17 + 4 >> 2] | 0;
+ i20 = i19 >> 8;
+ if ((i19 & 1 | 0) == 0) {
+ i21 = i20;
+ } else {
+ i21 = HEAP32[(HEAP32[i15 >> 2] | 0) + i20 >> 2] | 0;
+ }
+ i20 = HEAP32[i17 >> 2] | 0;
+ FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i20 >> 2] | 0) + 20 >> 2] & 15](i20, i2, i3, i3 + i21 | 0, 2 - (i19 >>> 1 & 1) | 0, i5);
+ if ((HEAP8[i12] & 1) != 0) {
+ i22 = i18;
+ i23 = i16;
+ break;
+ }
+ do {
+ if ((HEAP8[i11] & 1) == 0) {
+ i24 = i18;
+ i25 = i16;
+ } else {
+ if ((HEAP8[i10] & 1) == 0) {
+ if ((HEAP32[i13 >> 2] & 1 | 0) == 0) {
+ i22 = 1;
+ i23 = i16;
+ break L2742;
+ } else {
+ i24 = 1;
+ i25 = i16;
+ break;
+ }
+ }
+ if ((HEAP32[i14 >> 2] | 0) == 1) {
+ i26 = 2075;
+ break L2740;
+ }
+ if ((HEAP32[i13 >> 2] & 2 | 0) == 0) {
+ i26 = 2075;
+ break L2740;
+ } else {
+ i24 = 1;
+ i25 = 1;
+ }
+ }
+ } while (0);
+ i19 = i17 + 8 | 0;
+ if (i19 >>> 0 < i9 >>> 0) {
+ i16 = i25;
+ i17 = i19;
+ i18 = i24;
+ } else {
+ i22 = i24;
+ i23 = i25;
+ break;
+ }
+ }
+ if (i23) {
+ i27 = i22;
+ i26 = 2074;
+ } else {
+ i28 = i22;
+ i26 = 2071;
+ }
+ } else {
+ i28 = 0;
+ i26 = 2071;
+ }
+ } while (0);
+ do {
+ if ((i26 | 0) == 2071) {
+ HEAP32[i6 >> 2] = i3;
+ i9 = i2 + 40 | 0;
+ HEAP32[i9 >> 2] = (HEAP32[i9 >> 2] | 0) + 1;
+ if ((HEAP32[i2 + 36 >> 2] | 0) != 1) {
+ i27 = i28;
+ i26 = 2074;
+ break;
+ }
+ if ((HEAP32[i2 + 24 >> 2] | 0) != 2) {
+ i27 = i28;
+ i26 = 2074;
+ break;
+ }
+ HEAP8[i2 + 54 | 0] = 1;
+ if (i28) {
+ i26 = 2075;
+ } else {
+ i26 = 2076;
+ }
+ }
+ } while (0);
+ if ((i26 | 0) == 2074) {
+ if (i27) {
+ i26 = 2075;
+ } else {
+ i26 = 2076;
+ }
+ }
+ if ((i26 | 0) == 2075) {
+ HEAP32[i7 >> 2] = 3;
+ return;
+ } else if ((i26 | 0) == 2076) {
+ HEAP32[i7 >> 2] = 4;
+ return;
+ }
+ }
+ } while (0);
+ if ((i4 | 0) != 1) {
+ return;
+ }
+ HEAP32[i2 + 32 >> 2] = 1;
+ return;
+ }
+ i27 = HEAP32[i1 + 12 >> 2] | 0;
+ i28 = i1 + 16 + (i27 << 3) | 0;
+ i22 = HEAP32[i1 + 20 >> 2] | 0;
+ i23 = i22 >> 8;
+ if ((i22 & 1 | 0) == 0) {
+ i29 = i23;
+ } else {
+ i29 = HEAP32[(HEAP32[i3 >> 2] | 0) + i23 >> 2] | 0;
+ }
+ i23 = HEAP32[i1 + 16 >> 2] | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i23 >> 2] | 0) + 24 >> 2] & 63](i23, i2, i3 + i29 | 0, (i22 & 2 | 0) != 0 ? i4 : 2, i5);
+ i22 = i1 + 24 | 0;
+ if ((i27 | 0) <= 1) {
+ return;
+ }
+ i27 = HEAP32[i1 + 8 >> 2] | 0;
+ do {
+ if ((i27 & 2 | 0) == 0) {
+ i1 = i2 + 36 | 0;
+ if ((HEAP32[i1 >> 2] | 0) == 1) {
+ break;
+ }
+ if ((i27 & 1 | 0) == 0) {
+ i29 = i2 + 54 | 0;
+ i23 = i3;
+ i25 = i22;
+ while (1) {
+ if ((HEAP8[i29] & 1) != 0) {
+ i26 = 2116;
+ break;
+ }
+ if ((HEAP32[i1 >> 2] | 0) == 1) {
+ i26 = 2117;
+ break;
+ }
+ i24 = HEAP32[i25 + 4 >> 2] | 0;
+ i21 = i24 >> 8;
+ if ((i24 & 1 | 0) == 0) {
+ i30 = i21;
+ } else {
+ i30 = HEAP32[(HEAP32[i23 >> 2] | 0) + i21 >> 2] | 0;
+ }
+ i21 = HEAP32[i25 >> 2] | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i21 >> 2] | 0) + 24 >> 2] & 63](i21, i2, i3 + i30 | 0, (i24 & 2 | 0) != 0 ? i4 : 2, i5);
+ i24 = i25 + 8 | 0;
+ if (i24 >>> 0 < i28 >>> 0) {
+ i25 = i24;
+ } else {
+ i26 = 2118;
+ break;
+ }
+ }
+ if ((i26 | 0) == 2116) {
+ return;
+ } else if ((i26 | 0) == 2117) {
+ return;
+ } else if ((i26 | 0) == 2118) {
+ return;
+ }
+ }
+ i25 = i2 + 24 | 0;
+ i23 = i2 + 54 | 0;
+ i29 = i3;
+ i7 = i22;
+ while (1) {
+ if ((HEAP8[i23] & 1) != 0) {
+ i26 = 2113;
+ break;
+ }
+ if ((HEAP32[i1 >> 2] | 0) == 1) {
+ if ((HEAP32[i25 >> 2] | 0) == 1) {
+ i26 = 2114;
+ break;
+ }
+ }
+ i24 = HEAP32[i7 + 4 >> 2] | 0;
+ i21 = i24 >> 8;
+ if ((i24 & 1 | 0) == 0) {
+ i31 = i21;
+ } else {
+ i31 = HEAP32[(HEAP32[i29 >> 2] | 0) + i21 >> 2] | 0;
+ }
+ i21 = HEAP32[i7 >> 2] | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i21 >> 2] | 0) + 24 >> 2] & 63](i21, i2, i3 + i31 | 0, (i24 & 2 | 0) != 0 ? i4 : 2, i5);
+ i24 = i7 + 8 | 0;
+ if (i24 >>> 0 < i28 >>> 0) {
+ i7 = i24;
+ } else {
+ i26 = 2115;
+ break;
+ }
+ }
+ if ((i26 | 0) == 2113) {
+ return;
+ } else if ((i26 | 0) == 2114) {
+ return;
+ } else if ((i26 | 0) == 2115) {
+ return;
+ }
+ }
+ } while (0);
+ i31 = i2 + 54 | 0;
+ i30 = i3;
+ i27 = i22;
+ while (1) {
+ if ((HEAP8[i31] & 1) != 0) {
+ i26 = 2111;
+ break;
+ }
+ i22 = HEAP32[i27 + 4 >> 2] | 0;
+ i7 = i22 >> 8;
+ if ((i22 & 1 | 0) == 0) {
+ i32 = i7;
+ } else {
+ i32 = HEAP32[(HEAP32[i30 >> 2] | 0) + i7 >> 2] | 0;
+ }
+ i7 = HEAP32[i27 >> 2] | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 24 >> 2] & 63](i7, i2, i3 + i32 | 0, (i22 & 2 | 0) != 0 ? i4 : 2, i5);
+ i22 = i27 + 8 | 0;
+ if (i22 >>> 0 < i28 >>> 0) {
+ i27 = i22;
+ } else {
+ i26 = 2112;
+ break;
+ }
+ }
+ if ((i26 | 0) == 2111) {
+ return;
+ } else if ((i26 | 0) == 2112) {
+ return;
+ }
+}
+function __ZN23btDiscreteDynamicsWorld19integrateTransformsEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 280 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 64 | 0;
+ i6 = i3 + 160 | 0;
+ i7 = i3 + 216 | 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(120);
+ i8 = i1 + 204 | 0;
+ if ((HEAP32[i8 >> 2] | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i3;
+ return;
+ }
+ i9 = i1 + 212 | 0;
+ i10 = i4 + 48 | 0;
+ i11 = i10 | 0;
+ i12 = i4 + 52 | 0;
+ i13 = i4 + 56 | 0;
+ i14 = i1 | 0;
+ i15 = i1 + 44 | 0;
+ i16 = i1 + 76 | 0;
+ i17 = i1 + 24 | 0;
+ i18 = i5 | 0;
+ i19 = i5 + 4 | 0;
+ i20 = i5 + 8 | 0;
+ i21 = i5 + 10 | 0;
+ i22 = i5 + 12 | 0;
+ i23 = i5 + 28 | 0;
+ i24 = i10;
+ i10 = i5 + 76 | 0;
+ i25 = i5 + 80 | 0;
+ i26 = i5 + 84 | 0;
+ i27 = i5 + 88 | 0;
+ i28 = i5 + 92 | 0;
+ i29 = i6 | 0;
+ i30 = i6 | 0;
+ i31 = i6 + 4 | 0;
+ i32 = i6 + 28 | 0;
+ i33 = i6 + 44 | 0;
+ i34 = i1 + 56 | 0;
+ i35 = i5 | 0;
+ i36 = i7;
+ i37 = i4;
+ i38 = i7 + 16 | 0;
+ i39 = i4 + 16 | 0;
+ i40 = i7 + 32 | 0;
+ i41 = i4 + 32 | 0;
+ i42 = i7 + 48 | 0;
+ i43 = i6 | 0;
+ i6 = i5 + 60 | 0;
+ i44 = i5 + 44 | 0;
+ i5 = i1 + 100 | 0;
+ i1 = 0;
+ do {
+ i45 = HEAP32[(HEAP32[i9 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ i46 = i45 | 0;
+ i47 = i45 + 240 | 0;
+ HEAPF32[i47 >> 2] = 1.0;
+ i48 = HEAP32[i45 + 216 >> 2] | 0;
+ L734 : do {
+ if (!((i48 | 0) == 5 | (i48 | 0) == 2)) {
+ if ((HEAP32[i45 + 204 >> 2] & 3 | 0) != 0) {
+ break;
+ }
+ __ZN11btRigidBody26predictIntegratedTransformEfR11btTransform(i45, d2, i4);
+ i49 = i45 + 4 | 0;
+ i50 = i45 + 52 | 0;
+ d51 = +HEAPF32[i11 >> 2] - +HEAPF32[i50 >> 2];
+ d52 = +HEAPF32[i12 >> 2] - +HEAPF32[i45 + 56 >> 2];
+ d53 = +HEAPF32[i13 >> 2] - +HEAPF32[i45 + 60 >> 2];
+ do {
+ if ((HEAP8[i15] | 0) != 0) {
+ d54 = +HEAPF32[i45 + 248 >> 2];
+ d55 = d54 * d54;
+ if (!(d55 != 0.0 & d55 < d51 * d51 + d52 * d52 + d53 * d53)) {
+ break;
+ }
+ __ZN15CProfileManager13Start_ProfileEPKc(72);
+ if ((HEAP32[(HEAP32[i45 + 192 >> 2] | 0) + 4 >> 2] | 0) < 20) {
+ HEAP32[2996] = (HEAP32[2996] | 0) + 1;
+ i56 = HEAP32[i16 >> 2] | 0;
+ i57 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i56 >> 2] | 0) + 36 >> 2] & 127](i56) | 0;
+ i56 = HEAP32[i17 >> 2] | 0;
+ HEAPF32[i19 >> 2] = 1.0;
+ HEAP16[i20 >> 1] = 1;
+ HEAP16[i21 >> 1] = -1;
+ HEAP32[i18 >> 2] = 2248;
+ i58 = i50;
+ HEAP32[i22 >> 2] = HEAP32[i58 >> 2];
+ HEAP32[i22 + 4 >> 2] = HEAP32[i58 + 4 >> 2];
+ HEAP32[i22 + 8 >> 2] = HEAP32[i58 + 8 >> 2];
+ HEAP32[i22 + 12 >> 2] = HEAP32[i58 + 12 >> 2];
+ HEAP32[i23 >> 2] = HEAP32[i24 >> 2];
+ HEAP32[i23 + 4 >> 2] = HEAP32[i24 + 4 >> 2];
+ HEAP32[i23 + 8 >> 2] = HEAP32[i24 + 8 >> 2];
+ HEAP32[i23 + 12 >> 2] = HEAP32[i24 + 12 >> 2];
+ HEAP32[i10 >> 2] = 0;
+ HEAP32[i18 >> 2] = 2464;
+ HEAP32[i25 >> 2] = i46;
+ HEAPF32[i26 >> 2] = 0.0;
+ HEAP32[i27 >> 2] = i57;
+ HEAP32[i28 >> 2] = i56;
+ d55 = +HEAPF32[i45 + 244 >> 2];
+ __ZN21btConvexInternalShapeC2Ev(i29);
+ HEAP32[i30 >> 2] = 4728;
+ HEAP32[i31 >> 2] = 8;
+ HEAPF32[i32 >> 2] = d55;
+ HEAPF32[i33 >> 2] = d55;
+ HEAPF32[i26 >> 2] = +HEAPF32[i34 >> 2];
+ i56 = HEAP32[i45 + 188 >> 2] | 0;
+ HEAP16[i20 >> 1] = HEAP16[i56 + 4 >> 1] | 0;
+ HEAP16[i21 >> 1] = HEAP16[i56 + 6 >> 1] | 0;
+ HEAP32[i36 >> 2] = HEAP32[i37 >> 2];
+ HEAP32[i36 + 4 >> 2] = HEAP32[i37 + 4 >> 2];
+ HEAP32[i36 + 8 >> 2] = HEAP32[i37 + 8 >> 2];
+ HEAP32[i36 + 12 >> 2] = HEAP32[i37 + 12 >> 2];
+ HEAP32[i38 >> 2] = HEAP32[i39 >> 2];
+ HEAP32[i38 + 4 >> 2] = HEAP32[i39 + 4 >> 2];
+ HEAP32[i38 + 8 >> 2] = HEAP32[i39 + 8 >> 2];
+ HEAP32[i38 + 12 >> 2] = HEAP32[i39 + 12 >> 2];
+ HEAP32[i40 >> 2] = HEAP32[i41 >> 2];
+ HEAP32[i40 + 4 >> 2] = HEAP32[i41 + 4 >> 2];
+ HEAP32[i40 + 8 >> 2] = HEAP32[i41 + 8 >> 2];
+ HEAP32[i40 + 12 >> 2] = HEAP32[i41 + 12 >> 2];
+ HEAP32[i42 >> 2] = HEAP32[i24 >> 2];
+ HEAP32[i42 + 4 >> 2] = HEAP32[i24 + 4 >> 2];
+ HEAP32[i42 + 8 >> 2] = HEAP32[i24 + 8 >> 2];
+ HEAP32[i42 + 12 >> 2] = HEAP32[i24 + 12 >> 2];
+ i56 = i49;
+ HEAP32[i36 >> 2] = HEAP32[i56 >> 2];
+ HEAP32[i36 + 4 >> 2] = HEAP32[i56 + 4 >> 2];
+ HEAP32[i36 + 8 >> 2] = HEAP32[i56 + 8 >> 2];
+ HEAP32[i36 + 12 >> 2] = HEAP32[i56 + 12 >> 2];
+ i56 = i45 + 20 | 0;
+ HEAP32[i38 >> 2] = HEAP32[i56 >> 2];
+ HEAP32[i38 + 4 >> 2] = HEAP32[i56 + 4 >> 2];
+ HEAP32[i38 + 8 >> 2] = HEAP32[i56 + 8 >> 2];
+ HEAP32[i38 + 12 >> 2] = HEAP32[i56 + 12 >> 2];
+ i56 = i45 + 36 | 0;
+ HEAP32[i40 >> 2] = HEAP32[i56 >> 2];
+ HEAP32[i40 + 4 >> 2] = HEAP32[i56 + 4 >> 2];
+ HEAP32[i40 + 8 >> 2] = HEAP32[i56 + 8 >> 2];
+ HEAP32[i40 + 12 >> 2] = HEAP32[i56 + 12 >> 2];
+ __ZNK16btCollisionWorld15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RNS_20ConvexResultCallbackEf(i14, i43, i49, i7, i35, 0.0);
+ d55 = +HEAPF32[i19 >> 2];
+ if (d55 < 1.0) {
+ HEAPF32[i47 >> 2] = d55;
+ __ZN11btRigidBody26predictIntegratedTransformEfR11btTransform(i45, d55 * d2, i4);
+ HEAPF32[i47 >> 2] = 0.0;
+ __ZN11btRigidBody18proceedToTransformERK11btTransform(i45, i4);
+ i56 = HEAP32[i10 >> 2] | 0;
+ +__Z22resolveSingleCollisionP11btRigidBodyP17btCollisionObjectRK9btVector3S5_RK19btContactSolverInfof(i45, i56, i6, i44, i5, 0.0);
+ i59 = 4;
+ } else {
+ i59 = 0;
+ }
+ __ZN13btConvexShapeD2Ev(i43);
+ if ((i59 | 0) == 0) {
+ i60 = 684;
+ } else {
+ i61 = i59;
+ }
+ } else {
+ i60 = 684;
+ }
+ if ((i60 | 0) == 684) {
+ i60 = 0;
+ i61 = 0;
+ }
+ __ZN15CProfileManager12Stop_ProfileEv();
+ if ((i61 | 0) == 4) {
+ break L734;
+ }
+ }
+ } while (0);
+ __ZN11btRigidBody18proceedToTransformERK11btTransform(i45, i4);
+ }
+ } while (0);
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (HEAP32[i8 >> 2] | 0));
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i3;
+ return;
+}
+function __ZNK14btQuantizedBvh36walkStacklessQuantizedTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(i1, i2, i3, i4, i5, i6, i7, i8) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ var i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, i13 = 0, d14 = 0.0, d15 = 0.0, d16 = 0.0, i17 = 0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, d40 = 0.0, i41 = 0, d42 = 0.0, i43 = 0, d44 = 0.0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0, i68 = 0, i69 = 0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0;
+ i9 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i10 = i9 | 0;
+ i11 = (HEAP32[i1 + 136 >> 2] | 0) + (i7 << 4) | 0;
+ d12 = +HEAPF32[i4 >> 2];
+ i13 = i3 | 0;
+ d14 = +HEAPF32[i13 >> 2];
+ d15 = d12 - d14;
+ d16 = +HEAPF32[i4 + 4 >> 2];
+ i17 = i3 + 4 | 0;
+ d18 = +HEAPF32[i17 >> 2];
+ d19 = d16 - d18;
+ d20 = +HEAPF32[i4 + 8 >> 2];
+ i4 = i3 + 8 | 0;
+ d21 = +HEAPF32[i4 >> 2];
+ d22 = d20 - d21;
+ d23 = 1.0 / +Math_sqrt(+(d15 * d15 + d19 * d19 + d22 * d22));
+ d24 = d15 * d23;
+ d25 = d19 * d23;
+ d26 = d22 * d23;
+ d23 = d22 * d26 + (d15 * d24 + d19 * d25);
+ if (d24 == 0.0) {
+ d27 = 999999984306749400.0;
+ } else {
+ d27 = 1.0 / d24;
+ }
+ if (d25 == 0.0) {
+ d28 = 999999984306749400.0;
+ } else {
+ d28 = 1.0 / d25;
+ }
+ if (d26 == 0.0) {
+ d29 = 999999984306749400.0;
+ } else {
+ d29 = 1.0 / d26;
+ }
+ i3 = d27 < 0.0 | 0;
+ i30 = d28 < 0.0 | 0;
+ i31 = d29 < 0.0 | 0;
+ i32 = i5 | 0;
+ d26 = (d12 < d14 ? d12 : d14) + +HEAPF32[i32 >> 2];
+ i33 = i5 + 4 | 0;
+ d25 = (d16 < d18 ? d16 : d18) + +HEAPF32[i33 >> 2];
+ i34 = i5 + 8 | 0;
+ d24 = (d20 < d21 ? d20 : d21) + +HEAPF32[i34 >> 2];
+ i5 = i6 | 0;
+ d19 = (d14 < d12 ? d12 : d14) + +HEAPF32[i5 >> 2];
+ i35 = i6 + 4 | 0;
+ d14 = (d18 < d16 ? d16 : d18) + +HEAPF32[i35 >> 2];
+ i36 = i6 + 8 | 0;
+ d18 = (d21 < d20 ? d20 : d21) + +HEAPF32[i36 >> 2];
+ i6 = i1 + 4 | 0;
+ d21 = +HEAPF32[i6 >> 2];
+ d20 = d26 < d21 ? d21 : d26;
+ i37 = i1 + 8 | 0;
+ d26 = +HEAPF32[i37 >> 2];
+ d16 = d25 < d26 ? d26 : d25;
+ i38 = i1 + 12 | 0;
+ d25 = +HEAPF32[i38 >> 2];
+ d12 = d24 < d25 ? d25 : d24;
+ d24 = +HEAPF32[i1 + 20 >> 2];
+ d15 = +HEAPF32[i1 + 24 >> 2];
+ d22 = +HEAPF32[i1 + 28 >> 2];
+ i39 = i1 + 36 | 0;
+ d40 = +HEAPF32[i39 >> 2];
+ i41 = i1 + 40 | 0;
+ d42 = +HEAPF32[i41 >> 2];
+ i43 = i1 + 44 | 0;
+ d44 = +HEAPF32[i43 >> 2];
+ i1 = ~~(((d24 < d20 ? d24 : d20) - d21) * d40) & -2;
+ i45 = ~~(((d15 < d16 ? d15 : d16) - d26) * d42) & -2;
+ i46 = ~~(((d22 < d12 ? d22 : d12) - d25) * d44) & -2;
+ d12 = d19 < d21 ? d21 : d19;
+ d19 = d14 < d26 ? d26 : d14;
+ d14 = d18 < d25 ? d25 : d18;
+ i47 = ~~(((d24 < d12 ? d24 : d12) - d21) * d40 + 1.0) | 1;
+ i48 = ~~(((d15 < d19 ? d15 : d19) - d26) * d42 + 1.0) | 1;
+ i49 = ~~(((d22 < d14 ? d22 : d14) - d25) * d44 + 1.0) | 1;
+ if ((i7 | 0) < (i8 | 0)) {
+ i50 = i10 | 0;
+ i51 = i10 + 4 | 0;
+ i52 = i10 + 8 | 0;
+ i53 = i10 + 12 | 0;
+ i54 = i10 + 16 | 0;
+ i55 = i10 + 20 | 0;
+ i56 = i10 + 24 | 0;
+ i57 = i10 + 28 | 0;
+ i58 = i10 + (i3 << 4) | 0;
+ i59 = i10 + ((i3 ^ 1) << 4) | 0;
+ i3 = i10 + (i30 << 4) + 4 | 0;
+ i60 = i10 + ((i30 ^ 1) << 4) + 4 | 0;
+ i30 = i2;
+ i61 = i10 + (i31 << 4) + 8 | 0;
+ i62 = i10 + ((i31 ^ 1) << 4) + 8 | 0;
+ i31 = i11;
+ i11 = 0;
+ i10 = i7;
+ while (1) {
+ i7 = i11 + 1 | 0;
+ i63 = i31 + 6 | 0;
+ i64 = HEAP16[i31 >> 1] | 0;
+ i65 = i31 + 10 | 0;
+ i66 = HEAP16[i31 + 4 >> 1] | 0;
+ i67 = i31 + 8 | 0;
+ i68 = HEAP16[i31 + 2 >> 1] | 0;
+ i69 = i31 + 12 | 0;
+ i70 = (HEAP32[i69 >> 2] | 0) > -1;
+ do {
+ if ((-((i1 & 65535) <= (HEAPU16[i63 >> 1] | 0) & (i47 & 65535) >= (i64 & 65535) & (i46 & 65535) <= (HEAPU16[i65 >> 1] | 0) & (i49 & 65535) >= (i66 & 65535) & (i45 & 65535) <= (HEAPU16[i67 >> 1] | 0) & (i48 & 65535) >= (i68 & 65535) & 1) & 1 | 0) == 0) {
+ i71 = 1;
+ i72 = 498;
+ } else {
+ d44 = +HEAPF32[i39 >> 2];
+ d25 = +HEAPF32[i41 >> 2];
+ d14 = +HEAPF32[i43 >> 2];
+ d22 = +HEAPF32[i6 >> 2];
+ d42 = +HEAPF32[i37 >> 2];
+ d26 = +HEAPF32[i38 >> 2];
+ HEAPF32[i53 >> 2] = 0.0;
+ d19 = d22 + +((HEAPU16[i63 >> 1] | 0) >>> 0) / d44;
+ d15 = d42 + +((HEAPU16[i67 >> 1] | 0) >>> 0) / d25;
+ d40 = d26 + +((HEAPU16[i65 >> 1] | 0) >>> 0) / d14;
+ HEAPF32[i57 >> 2] = 0.0;
+ HEAPF32[i50 >> 2] = +((i64 & 65535) >>> 0) / d44 + d22 - +HEAPF32[i5 >> 2];
+ HEAPF32[i51 >> 2] = +((i68 & 65535) >>> 0) / d25 + d42 - +HEAPF32[i35 >> 2];
+ HEAPF32[i52 >> 2] = +((i66 & 65535) >>> 0) / d14 + d26 - +HEAPF32[i36 >> 2];
+ HEAPF32[i54 >> 2] = d19 - +HEAPF32[i32 >> 2];
+ HEAPF32[i55 >> 2] = d15 - +HEAPF32[i33 >> 2];
+ HEAPF32[i56 >> 2] = d40 - +HEAPF32[i34 >> 2];
+ d40 = +HEAPF32[i13 >> 2];
+ d15 = d27 * (+HEAPF32[i58 >> 2] - d40);
+ d19 = d27 * (+HEAPF32[i59 >> 2] - d40);
+ d40 = +HEAPF32[i17 >> 2];
+ d26 = d28 * (+HEAPF32[i3 >> 2] - d40);
+ d14 = d28 * (+HEAPF32[i60 >> 2] - d40);
+ if (d15 > d14 | d26 > d19) {
+ i71 = 1;
+ i72 = 498;
+ break;
+ }
+ d40 = d26 > d15 ? d26 : d15;
+ d15 = d14 < d19 ? d14 : d19;
+ d19 = +HEAPF32[i4 >> 2];
+ d14 = d29 * (+HEAPF32[i61 >> 2] - d19);
+ d26 = d29 * (+HEAPF32[i62 >> 2] - d19);
+ if (d40 > d26 | d14 > d15) {
+ i71 = 1;
+ i72 = 498;
+ break;
+ }
+ if ((d14 > d40 ? d14 : d40) >= d23) {
+ i71 = 1;
+ i72 = 498;
+ break;
+ }
+ i73 = (d26 < d15 ? d26 : d15) <= 0.0;
+ if (i73 | i70 ^ 1) {
+ i71 = i73;
+ i72 = 498;
+ break;
+ }
+ i73 = HEAP32[i69 >> 2] | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i30 >> 2] | 0) + 8 >> 2] & 127](i2, i73 >> 21, i73 & 2097151);
+ i72 = 499;
+ }
+ } while (0);
+ do {
+ if ((i72 | 0) == 498) {
+ i72 = 0;
+ if (i70 | i71 ^ 1) {
+ i72 = 499;
+ break;
+ }
+ i66 = HEAP32[i69 >> 2] | 0;
+ i74 = i10 - i66 | 0;
+ i75 = i31 + (-i66 << 4) | 0;
+ }
+ } while (0);
+ if ((i72 | 0) == 499) {
+ i72 = 0;
+ i74 = i10 + 1 | 0;
+ i75 = i31 + 16 | 0;
+ }
+ if ((i74 | 0) < (i8 | 0)) {
+ i31 = i75;
+ i11 = i7;
+ i10 = i74;
+ } else {
+ i76 = i7;
+ break;
+ }
+ }
+ } else {
+ i76 = 0;
+ }
+ if ((HEAP32[2982] | 0) >= (i76 | 0)) {
+ STACKTOP = i9;
+ return;
+ }
+ HEAP32[2982] = i76;
+ STACKTOP = i9;
+ return;
+}
+function __ZNK14btQuantizedBvh27walkStacklessTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(i1, i2, i3, i4, i5, i6, i7, i8) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ var i9 = 0, i10 = 0, d11 = 0.0, i12 = 0, d13 = 0.0, i14 = 0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, i23 = 0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, i28 = 0, d29 = 0.0, d30 = 0.0, i31 = 0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, d65 = 0.0, d66 = 0.0, d67 = 0.0, d68 = 0.0, d69 = 0.0, i70 = 0, i71 = 0, i72 = 0, i73 = 0, i74 = 0, i75 = 0, i76 = 0, i77 = 0, i78 = 0;
+ i8 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i7 = i8 | 0;
+ i9 = HEAP32[i1 + 96 >> 2] | 0;
+ i10 = i3 | 0;
+ d11 = +HEAPF32[i10 >> 2];
+ i12 = i3 + 4 | 0;
+ d13 = +HEAPF32[i12 >> 2];
+ i14 = i3 + 8 | 0;
+ d15 = +HEAPF32[i14 >> 2];
+ d16 = +HEAPF32[i4 >> 2];
+ d17 = +HEAPF32[i4 + 4 >> 2];
+ d18 = +HEAPF32[i4 + 8 >> 2];
+ i4 = i5 | 0;
+ d19 = +HEAPF32[i4 >> 2];
+ d20 = (d16 < d11 ? d16 : d11) + d19;
+ i3 = i5 + 4 | 0;
+ d21 = +HEAPF32[i3 >> 2];
+ d22 = (d17 < d13 ? d17 : d13) + d21;
+ i23 = i5 + 8 | 0;
+ d24 = +HEAPF32[i23 >> 2];
+ d25 = (d18 < d15 ? d18 : d15) + d24;
+ i5 = i6 | 0;
+ d26 = +HEAPF32[i5 >> 2];
+ d27 = (d11 < d16 ? d16 : d11) + d26;
+ i28 = i6 + 4 | 0;
+ d29 = +HEAPF32[i28 >> 2];
+ d30 = (d13 < d17 ? d17 : d13) + d29;
+ i31 = i6 + 8 | 0;
+ d32 = +HEAPF32[i31 >> 2];
+ d33 = (d15 < d18 ? d18 : d15) + d32;
+ d34 = d16 - d11;
+ d11 = d17 - d13;
+ d13 = d18 - d15;
+ d15 = 1.0 / +Math_sqrt(+(d34 * d34 + d11 * d11 + d13 * d13));
+ d18 = d34 * d15;
+ d17 = d11 * d15;
+ d16 = d13 * d15;
+ d15 = d13 * d16 + (d34 * d18 + d11 * d17);
+ if (d18 == 0.0) {
+ d35 = 999999984306749400.0;
+ } else {
+ d35 = 1.0 / d18;
+ }
+ if (d17 == 0.0) {
+ d36 = 999999984306749400.0;
+ } else {
+ d36 = 1.0 / d17;
+ }
+ if (d16 == 0.0) {
+ d37 = 999999984306749400.0;
+ } else {
+ d37 = 1.0 / d16;
+ }
+ i6 = d35 < 0.0 | 0;
+ i38 = d36 < 0.0 | 0;
+ i39 = d37 < 0.0 | 0;
+ i40 = i1 + 56 | 0;
+ i1 = HEAP32[i40 >> 2] | 0;
+ L599 : do {
+ if ((i1 | 0) > 0) {
+ i41 = i7;
+ i42 = i7 + 16 | 0;
+ i43 = i42;
+ i44 = i7 | 0;
+ i45 = i7 + 4 | 0;
+ i46 = i7 + 8 | 0;
+ i47 = i42 | 0;
+ i42 = i7 + 20 | 0;
+ i48 = i7 + 24 | 0;
+ i49 = i7 + (i6 << 4) | 0;
+ i50 = i7 + ((i6 ^ 1) << 4) | 0;
+ i51 = i7 + (i38 << 4) + 4 | 0;
+ i52 = i7 + ((i38 ^ 1) << 4) + 4 | 0;
+ i53 = i7 + (i39 << 4) + 8 | 0;
+ i54 = i7 + ((i39 ^ 1) << 4) + 8 | 0;
+ i55 = i2;
+ i56 = 0;
+ i57 = 1;
+ i58 = i9;
+ d16 = d26;
+ d17 = d29;
+ d18 = d32;
+ d11 = d19;
+ d34 = d21;
+ d13 = d24;
+ i59 = i1;
+ while (1) {
+ i60 = i58;
+ HEAP32[i41 >> 2] = HEAP32[i60 >> 2];
+ HEAP32[i41 + 4 >> 2] = HEAP32[i60 + 4 >> 2];
+ HEAP32[i41 + 8 >> 2] = HEAP32[i60 + 8 >> 2];
+ HEAP32[i41 + 12 >> 2] = HEAP32[i60 + 12 >> 2];
+ i60 = i58 + 16 | 0;
+ i61 = i60;
+ HEAP32[i43 >> 2] = HEAP32[i61 >> 2];
+ HEAP32[i43 + 4 >> 2] = HEAP32[i61 + 4 >> 2];
+ HEAP32[i43 + 8 >> 2] = HEAP32[i61 + 8 >> 2];
+ HEAP32[i43 + 12 >> 2] = HEAP32[i61 + 12 >> 2];
+ HEAPF32[i44 >> 2] = +HEAPF32[i44 >> 2] - d16;
+ HEAPF32[i45 >> 2] = +HEAPF32[i45 >> 2] - d17;
+ HEAPF32[i46 >> 2] = +HEAPF32[i46 >> 2] - d18;
+ HEAPF32[i47 >> 2] = +HEAPF32[i47 >> 2] - d11;
+ HEAPF32[i42 >> 2] = +HEAPF32[i42 >> 2] - d34;
+ HEAPF32[i48 >> 2] = +HEAPF32[i48 >> 2] - d13;
+ do {
+ if (d20 > +HEAPF32[i60 >> 2]) {
+ i62 = 0;
+ } else {
+ if (d27 < +HEAPF32[i58 >> 2]) {
+ i62 = 0;
+ break;
+ }
+ i62 = 1;
+ }
+ } while (0);
+ do {
+ if (d25 > +HEAPF32[i58 + 24 >> 2]) {
+ i63 = 0;
+ } else {
+ if (d33 < +HEAPF32[i58 + 8 >> 2]) {
+ i63 = 0;
+ break;
+ }
+ i63 = i62;
+ }
+ } while (0);
+ do {
+ if (d22 > +HEAPF32[i58 + 20 >> 2]) {
+ i64 = 471;
+ } else {
+ if (d30 < +HEAPF32[i58 + 4 >> 2] | i63 ^ 1) {
+ i64 = 471;
+ break;
+ }
+ d65 = +HEAPF32[i10 >> 2];
+ d66 = d35 * (+HEAPF32[i49 >> 2] - d65);
+ d67 = d35 * (+HEAPF32[i50 >> 2] - d65);
+ d65 = +HEAPF32[i12 >> 2];
+ d68 = d36 * (+HEAPF32[i51 >> 2] - d65);
+ d69 = d36 * (+HEAPF32[i52 >> 2] - d65);
+ if (d66 > d69 | d68 > d67) {
+ i64 = 471;
+ break;
+ }
+ d65 = d68 > d66 ? d68 : d66;
+ d66 = d69 < d67 ? d69 : d67;
+ d67 = +HEAPF32[i14 >> 2];
+ d69 = d37 * (+HEAPF32[i53 >> 2] - d67);
+ d68 = d37 * (+HEAPF32[i54 >> 2] - d67);
+ if (d65 > d68 | d69 > d66) {
+ i64 = 471;
+ break;
+ }
+ if ((d69 > d65 ? d69 : d65) >= d15) {
+ i64 = 471;
+ break;
+ }
+ i60 = (d68 < d66 ? d68 : d66) > 0.0;
+ i61 = HEAP32[i58 + 32 >> 2] | 0;
+ i70 = (i61 | 0) == -1;
+ if (!(i70 & i60)) {
+ i71 = i60;
+ i72 = i70;
+ i73 = i61;
+ i64 = 474;
+ break;
+ }
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i55 >> 2] | 0) + 8 >> 2] & 127](i2, HEAP32[i58 + 36 >> 2] | 0, HEAP32[i58 + 40 >> 2] | 0);
+ i74 = HEAP32[i40 >> 2] | 0;
+ i64 = 475;
+ }
+ } while (0);
+ if ((i64 | 0) == 471) {
+ i64 = 0;
+ i61 = HEAP32[i58 + 32 >> 2] | 0;
+ i71 = 0;
+ i72 = (i61 | 0) == -1;
+ i73 = i61;
+ i64 = 474;
+ }
+ do {
+ if ((i64 | 0) == 474) {
+ i64 = 0;
+ if (i71 | i72) {
+ i74 = i59;
+ i64 = 475;
+ break;
+ }
+ i75 = i58 + (i73 << 6) | 0;
+ i76 = i73 + i56 | 0;
+ i77 = i59;
+ }
+ } while (0);
+ if ((i64 | 0) == 475) {
+ i64 = 0;
+ i75 = i58 + 64 | 0;
+ i76 = i56 + 1 | 0;
+ i77 = i74;
+ }
+ if ((i76 | 0) >= (i77 | 0)) {
+ i78 = i57;
+ break L599;
+ }
+ i56 = i76;
+ i57 = i57 + 1 | 0;
+ i58 = i75;
+ d16 = +HEAPF32[i5 >> 2];
+ d17 = +HEAPF32[i28 >> 2];
+ d18 = +HEAPF32[i31 >> 2];
+ d11 = +HEAPF32[i4 >> 2];
+ d34 = +HEAPF32[i3 >> 2];
+ d13 = +HEAPF32[i23 >> 2];
+ i59 = i77;
+ }
+ } else {
+ i78 = 0;
+ }
+ } while (0);
+ if ((HEAP32[2982] | 0) >= (i78 | 0)) {
+ STACKTOP = i8;
+ return;
+ }
+ HEAP32[2982] = i78;
+ STACKTOP = i8;
+ return;
+}
+function __ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i6 = i2;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 1 | 0;
+ STACKTOP = STACKTOP + 7 >> 3 << 3;
+ HEAP8[i2] = HEAP8[i6] | 0;
+ i6 = i5 | 0;
+ i2 = i5 + 8 | 0;
+ i7 = (i4 + i3 | 0) / 2 | 0;
+ i8 = i1 + 12 | 0;
+ i9 = HEAP32[i8 >> 2] | 0;
+ i10 = HEAP32[i9 + (i7 << 4) >> 2] | 0;
+ i11 = HEAP32[i9 + (i7 << 4) + 4 >> 2] | 0;
+ i12 = HEAP32[i9 + (i7 << 4) + 8 >> 2] | 0;
+ i7 = (i10 | 0) == 0;
+ i13 = (i11 | 0) == 0;
+ i14 = i11 + 12 | 0;
+ i15 = i10 + 12 | 0;
+ i16 = i4;
+ i17 = i3;
+ i18 = i9;
+ while (1) {
+ L1160 : do {
+ if (i7) {
+ i9 = i17;
+ while (1) {
+ i19 = HEAP32[i18 + (i9 << 4) >> 2] | 0;
+ i20 = (i19 | 0) == 0;
+ if (i20) {
+ i21 = -1;
+ } else {
+ i21 = HEAP32[i19 + 12 >> 2] | 0;
+ }
+ i22 = HEAP32[i18 + (i9 << 4) + 4 >> 2] | 0;
+ if ((i22 | 0) == 0) {
+ i23 = -1;
+ } else {
+ i23 = HEAP32[i22 + 12 >> 2] | 0;
+ }
+ if (i13) {
+ i24 = -1;
+ } else {
+ i24 = HEAP32[i14 >> 2] | 0;
+ }
+ do {
+ if ((i21 | 0) <= -1) {
+ i25 = i20 & (i23 | 0) > (i24 | 0);
+ if (i25 | i20 ^ 1) {
+ if (i25) {
+ break;
+ } else {
+ i26 = i9;
+ i27 = i19;
+ i28 = i22;
+ break L1160;
+ }
+ }
+ if ((i22 | 0) != (i11 | 0)) {
+ i26 = i9;
+ i27 = i19;
+ i28 = i22;
+ break L1160;
+ }
+ if ((HEAP32[i18 + (i9 << 4) + 8 >> 2] | 0) >>> 0 <= i12 >>> 0) {
+ i26 = i9;
+ i27 = i19;
+ i28 = i22;
+ break L1160;
+ }
+ }
+ } while (0);
+ i9 = i9 + 1 | 0;
+ }
+ } else {
+ if (i13) {
+ i9 = i17;
+ while (1) {
+ i22 = HEAP32[i18 + (i9 << 4) >> 2] | 0;
+ if ((i22 | 0) == 0) {
+ i29 = -1;
+ } else {
+ i29 = HEAP32[i22 + 12 >> 2] | 0;
+ }
+ i19 = HEAP32[i18 + (i9 << 4) + 4 >> 2] | 0;
+ i20 = (i19 | 0) == 0;
+ if (i20) {
+ i30 = -1;
+ } else {
+ i30 = HEAP32[i19 + 12 >> 2] | 0;
+ }
+ do {
+ if ((i29 | 0) <= (HEAP32[i15 >> 2] | 0)) {
+ i25 = (i22 | 0) == (i10 | 0);
+ i31 = i25 & (i30 | 0) > -1;
+ if (i31 | i25 ^ 1) {
+ if (i31) {
+ break;
+ } else {
+ i26 = i9;
+ i27 = i22;
+ i28 = i19;
+ break L1160;
+ }
+ }
+ if (!i20) {
+ i26 = i9;
+ i27 = i22;
+ i28 = i19;
+ break L1160;
+ }
+ if ((HEAP32[i18 + (i9 << 4) + 8 >> 2] | 0) >>> 0 <= i12 >>> 0) {
+ i26 = i9;
+ i27 = i22;
+ i28 = 0;
+ break L1160;
+ }
+ }
+ } while (0);
+ i9 = i9 + 1 | 0;
+ }
+ } else {
+ i9 = i17;
+ while (1) {
+ i22 = HEAP32[i18 + (i9 << 4) >> 2] | 0;
+ if ((i22 | 0) == 0) {
+ i32 = -1;
+ } else {
+ i32 = HEAP32[i22 + 12 >> 2] | 0;
+ }
+ i19 = HEAP32[i18 + (i9 << 4) + 4 >> 2] | 0;
+ if ((i19 | 0) == 0) {
+ i33 = -1;
+ } else {
+ i33 = HEAP32[i19 + 12 >> 2] | 0;
+ }
+ do {
+ if ((i32 | 0) <= (HEAP32[i15 >> 2] | 0)) {
+ i20 = (i22 | 0) == (i10 | 0);
+ i31 = i20 & (i33 | 0) > (HEAP32[i14 >> 2] | 0);
+ if (i31 | i20 ^ 1) {
+ if (i31) {
+ break;
+ } else {
+ i26 = i9;
+ i27 = i22;
+ i28 = i19;
+ break L1160;
+ }
+ }
+ if ((i19 | 0) != (i11 | 0)) {
+ i26 = i9;
+ i27 = i22;
+ i28 = i19;
+ break L1160;
+ }
+ if ((HEAP32[i18 + (i9 << 4) + 8 >> 2] | 0) >>> 0 <= i12 >>> 0) {
+ i26 = i9;
+ i27 = i22;
+ i28 = i19;
+ break L1160;
+ }
+ }
+ } while (0);
+ i9 = i9 + 1 | 0;
+ }
+ }
+ }
+ } while (0);
+ i9 = i16;
+ L1212 : while (1) {
+ if (i7) {
+ i34 = -1;
+ } else {
+ i34 = HEAP32[i15 >> 2] | 0;
+ }
+ i19 = HEAP32[i18 + (i9 << 4) >> 2] | 0;
+ if ((i19 | 0) == 0) {
+ i35 = -1;
+ } else {
+ i35 = HEAP32[i19 + 12 >> 2] | 0;
+ }
+ if (i13) {
+ i36 = -1;
+ } else {
+ i36 = HEAP32[i14 >> 2] | 0;
+ }
+ i22 = HEAP32[i18 + (i9 << 4) + 4 >> 2] | 0;
+ if ((i22 | 0) == 0) {
+ i37 = -1;
+ } else {
+ i37 = HEAP32[i22 + 12 >> 2] | 0;
+ }
+ do {
+ if ((i34 | 0) <= (i35 | 0)) {
+ i31 = (i10 | 0) == (i19 | 0);
+ i20 = i31 & (i36 | 0) > (i37 | 0);
+ if (i20 | i31 ^ 1) {
+ if (i20) {
+ break;
+ } else {
+ break L1212;
+ }
+ }
+ if ((i11 | 0) != (i22 | 0)) {
+ break L1212;
+ }
+ if (i12 >>> 0 <= (HEAP32[i18 + (i9 << 4) + 8 >> 2] | 0) >>> 0) {
+ break L1212;
+ }
+ }
+ } while (0);
+ i9 = i9 - 1 | 0;
+ }
+ if ((i26 | 0) > (i9 | 0)) {
+ i38 = i9;
+ i39 = i26;
+ } else {
+ i22 = HEAP32[i18 + (i26 << 4) + 8 >> 2] | 0;
+ i19 = HEAP32[i18 + (i26 << 4) + 12 >> 2] | 0;
+ i20 = i18 + (i26 << 4) | 0;
+ i31 = i18 + (i9 << 4) | 0;
+ HEAP32[i20 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i20 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i20 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i20 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ i31 = HEAP32[i8 >> 2] | 0;
+ HEAP32[i31 + (i9 << 4) >> 2] = i27;
+ HEAP32[i31 + (i9 << 4) + 4 >> 2] = i28;
+ HEAP32[i31 + (i9 << 4) + 8 >> 2] = i22;
+ HEAP32[i31 + (i9 << 4) + 12 >> 2] = i19;
+ i38 = i9 - 1 | 0;
+ i39 = i26 + 1 | 0;
+ }
+ if ((i39 | 0) > (i38 | 0)) {
+ break;
+ }
+ i16 = i38;
+ i17 = i39;
+ i18 = HEAP32[i8 >> 2] | 0;
+ }
+ if ((i38 | 0) > (i3 | 0)) {
+ __ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(i1, i6, i3, i38);
+ }
+ if ((i39 | 0) >= (i4 | 0)) {
+ STACKTOP = i5;
+ return;
+ }
+ __ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(i1, i2, i39, i4);
+ STACKTOP = i5;
+ return;
+}
+function __ZN31btDefaultCollisionConfigurationC2ERK34btDefaultCollisionConstructionInfo(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0;
+ HEAP32[i1 >> 2] = 2608;
+ i3 = __Z22btAlignedAllocInternalji(360, 16) | 0;
+ if ((i3 | 0) == 0) {
+ i4 = 0;
+ } else {
+ HEAPF32[i3 + 308 >> 2] = 9999999747378752.0e-20;
+ i5 = i3 + 332 | 0;
+ HEAP16[i5 >> 1] = HEAP16[i5 >> 1] & -16;
+ i4 = i3;
+ }
+ i3 = i1 + 32 | 0;
+ HEAP32[i3 >> 2] = i4;
+ i4 = (HEAP32[i2 + 28 >> 2] | 0) == 0;
+ i5 = __Z22btAlignedAllocInternalji(4, 16) | 0;
+ i6 = (i5 | 0) == 0;
+ if (i4) {
+ if (i6) {
+ i7 = 0;
+ } else {
+ HEAP32[i5 >> 2] = 2496;
+ i7 = i5;
+ }
+ HEAP32[i1 + 36 >> 2] = i7;
+ } else {
+ if (i6) {
+ i8 = 0;
+ } else {
+ HEAP32[i5 >> 2] = 2696;
+ i8 = i5;
+ }
+ HEAP32[i1 + 36 >> 2] = i8;
+ }
+ i8 = __Z22btAlignedAllocInternalji(24, 16) | 0;
+ if ((i8 | 0) == 0) {
+ i9 = 0;
+ } else {
+ i5 = i8;
+ __ZN23btConvexConvexAlgorithm10CreateFuncC2EP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i5, HEAP32[i3 >> 2] | 0, HEAP32[i1 + 36 >> 2] | 0);
+ i9 = i5;
+ }
+ HEAP32[i1 + 40 >> 2] = i9;
+ i9 = __Z22btAlignedAllocInternalji(8, 16) | 0;
+ if ((i9 | 0) == 0) {
+ i10 = 0;
+ } else {
+ HEAP8[i9 + 4 | 0] = 0;
+ HEAP32[i9 >> 2] = 1992;
+ i10 = i9;
+ }
+ HEAP32[i1 + 44 >> 2] = i10;
+ i10 = __Z22btAlignedAllocInternalji(8, 16) | 0;
+ if ((i10 | 0) == 0) {
+ i11 = 0;
+ } else {
+ HEAP8[i10 + 4 | 0] = 0;
+ HEAP32[i10 >> 2] = 1960;
+ i11 = i10;
+ }
+ HEAP32[i1 + 48 >> 2] = i11;
+ i11 = __Z22btAlignedAllocInternalji(8, 16) | 0;
+ if ((i11 | 0) == 0) {
+ i12 = 0;
+ } else {
+ HEAP8[i11 + 4 | 0] = 0;
+ HEAP32[i11 >> 2] = 2120;
+ i12 = i11;
+ }
+ HEAP32[i1 + 52 >> 2] = i12;
+ i12 = __Z22btAlignedAllocInternalji(8, 16) | 0;
+ if ((i12 | 0) == 0) {
+ i13 = 0;
+ } else {
+ HEAP8[i12 + 4 | 0] = 0;
+ HEAP32[i12 >> 2] = 2088;
+ i13 = i12;
+ }
+ HEAP32[i1 + 56 >> 2] = i13;
+ i13 = __Z22btAlignedAllocInternalji(8, 16) | 0;
+ if ((i13 | 0) == 0) {
+ i14 = 0;
+ } else {
+ HEAP8[i13 + 4 | 0] = 0;
+ HEAP32[i13 >> 2] = 2216;
+ i14 = i13;
+ }
+ HEAP32[i1 + 60 >> 2] = i14;
+ i14 = __Z22btAlignedAllocInternalji(8, 16) | 0;
+ if ((i14 | 0) == 0) {
+ i15 = 0;
+ } else {
+ HEAP8[i14 + 4 | 0] = 0;
+ HEAP32[i14 >> 2] = 2024;
+ i15 = i14;
+ }
+ HEAP32[i1 + 64 >> 2] = i15;
+ i15 = __Z22btAlignedAllocInternalji(8, 16) | 0;
+ if ((i15 | 0) == 0) {
+ i16 = 0;
+ } else {
+ HEAP8[i15 + 4 | 0] = 0;
+ HEAP32[i15 >> 2] = 1928;
+ i16 = i15;
+ }
+ HEAP32[i1 + 72 >> 2] = i16;
+ i16 = __Z22btAlignedAllocInternalji(8, 16) | 0;
+ if ((i16 | 0) == 0) {
+ i17 = 0;
+ } else {
+ HEAP8[i16 + 4 | 0] = 0;
+ HEAP32[i16 >> 2] = 1928;
+ i17 = i16;
+ }
+ HEAP32[i1 + 76 >> 2] = i17;
+ HEAP8[i17 + 4 | 0] = 1;
+ i17 = __Z22btAlignedAllocInternalji(8, 16) | 0;
+ if ((i17 | 0) == 0) {
+ i18 = 0;
+ } else {
+ HEAP8[i17 + 4 | 0] = 0;
+ HEAP32[i17 >> 2] = 2152;
+ i18 = i17;
+ }
+ HEAP32[i1 + 68 >> 2] = i18;
+ i18 = __Z22btAlignedAllocInternalji(16, 16) | 0;
+ if ((i18 | 0) == 0) {
+ i19 = 0;
+ } else {
+ HEAP8[i18 + 4 | 0] = 0;
+ HEAP32[i18 >> 2] = 2056;
+ HEAP32[i18 + 8 >> 2] = 1;
+ HEAP32[i18 + 12 >> 2] = 1;
+ i19 = i18;
+ }
+ HEAP32[i1 + 84 >> 2] = i19;
+ i19 = __Z22btAlignedAllocInternalji(16, 16) | 0;
+ if ((i19 | 0) == 0) {
+ i20 = 0;
+ } else {
+ HEAP8[i19 + 4 | 0] = 0;
+ HEAP32[i19 >> 2] = 2056;
+ HEAP32[i19 + 8 >> 2] = 1;
+ HEAP32[i19 + 12 >> 2] = 1;
+ i20 = i19;
+ }
+ HEAP32[i1 + 80 >> 2] = i20;
+ HEAP8[i20 + 4 | 0] = 1;
+ i20 = HEAP32[i2 + 20 >> 2] | 0;
+ i19 = (i20 | 0) < 36 ? 36 : i20;
+ i20 = (i19 | 0) > 80 ? i19 : 80;
+ i19 = (i20 | 0) > 44 ? i20 : 44;
+ i20 = HEAP32[i2 >> 2] | 0;
+ i18 = i1 + 12 | 0;
+ if ((i20 | 0) == 0) {
+ HEAP8[i18] = 1;
+ i17 = __Z22btAlignedAllocInternalji(20, 16) | 0;
+ if ((i17 | 0) == 0) {
+ i21 = 0;
+ } else {
+ i16 = HEAP32[i2 + 24 >> 2] | 0;
+ _memset(i17 | 0, 0, 17);
+ i15 = i17;
+ HEAP32[i15 >> 2] = 0;
+ HEAP32[i17 + 8 >> 2] = 0;
+ HEAP32[i15 >> 2] = __Z22btAlignedAllocInternalji(i16, 16) | 0;
+ HEAP32[i17 + 4 >> 2] = i16;
+ i21 = i17;
+ }
+ HEAP32[i1 + 8 >> 2] = i21;
+ } else {
+ HEAP8[i18] = 0;
+ HEAP32[i1 + 8 >> 2] = i20;
+ }
+ i20 = HEAP32[i2 + 4 >> 2] | 0;
+ i18 = i1 + 20 | 0;
+ if ((i20 | 0) == 0) {
+ HEAP8[i18] = 1;
+ i21 = __Z22btAlignedAllocInternalji(20, 16) | 0;
+ if ((i21 | 0) == 0) {
+ i22 = 0;
+ } else {
+ i17 = i21;
+ i16 = HEAP32[i2 + 12 >> 2] | 0;
+ i15 = i21;
+ HEAP32[i15 >> 2] = 1140;
+ i14 = i21 + 4 | 0;
+ HEAP32[i14 >> 2] = i16;
+ i13 = __Z22btAlignedAllocInternalji(i16 * 1140 | 0, 16) | 0;
+ HEAP32[i21 + 16 >> 2] = i13;
+ HEAP32[i21 + 12 >> 2] = i13;
+ i16 = HEAP32[i14 >> 2] | 0;
+ HEAP32[i21 + 8 >> 2] = i16;
+ i21 = i16 - 1 | 0;
+ if ((i21 | 0) == 0) {
+ i23 = i13;
+ } else {
+ i16 = HEAP32[i15 >> 2] | 0;
+ i15 = i13;
+ i14 = i21;
+ while (1) {
+ i12 = i15 + i16 | 0;
+ HEAP32[i15 >> 2] = i12;
+ i11 = i14 - 1 | 0;
+ if ((i11 | 0) == 0) {
+ break;
+ } else {
+ i15 = i12;
+ i14 = i11;
+ }
+ }
+ i23 = i13 + (Math_imul(i16, i21) | 0) | 0;
+ }
+ HEAP32[i23 >> 2] = 0;
+ i22 = i17;
+ }
+ HEAP32[i1 + 16 >> 2] = i22;
+ } else {
+ HEAP8[i18] = 0;
+ HEAP32[i1 + 16 >> 2] = i20;
+ }
+ i20 = HEAP32[i2 + 8 >> 2] | 0;
+ i18 = i1 + 28 | 0;
+ if ((i20 | 0) != 0) {
+ HEAP8[i18] = 0;
+ HEAP32[i1 + 24 >> 2] = i20;
+ return;
+ }
+ HEAP8[i18] = 1;
+ i18 = __Z22btAlignedAllocInternalji(20, 16) | 0;
+ if ((i18 | 0) == 0) {
+ i24 = 0;
+ } else {
+ i20 = i18;
+ i22 = HEAP32[i2 + 16 >> 2] | 0;
+ i2 = i18;
+ HEAP32[i2 >> 2] = i19;
+ i17 = i18 + 4 | 0;
+ HEAP32[i17 >> 2] = i22;
+ i23 = __Z22btAlignedAllocInternalji(Math_imul(i22, i19) | 0, 16) | 0;
+ HEAP32[i18 + 16 >> 2] = i23;
+ HEAP32[i18 + 12 >> 2] = i23;
+ i19 = HEAP32[i17 >> 2] | 0;
+ HEAP32[i18 + 8 >> 2] = i19;
+ i18 = i19 - 1 | 0;
+ if ((i18 | 0) == 0) {
+ i25 = i23;
+ } else {
+ i19 = HEAP32[i2 >> 2] | 0;
+ i2 = i23;
+ i17 = i18;
+ while (1) {
+ i22 = i2 + i19 | 0;
+ HEAP32[i2 >> 2] = i22;
+ i21 = i17 - 1 | 0;
+ if ((i21 | 0) == 0) {
+ break;
+ } else {
+ i2 = i22;
+ i17 = i21;
+ }
+ }
+ i25 = i23 + (Math_imul(i19, i18) | 0) | 0;
+ }
+ HEAP32[i25 >> 2] = 0;
+ i24 = i20;
+ }
+ HEAP32[i1 + 24 >> 2] = i24;
+ return;
+}
+function __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, i38 = 0, i39 = 0;
+ i4 = i1 + 1116 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i5 | 0) <= 0) {
+ return;
+ }
+ i6 = i2 | 0;
+ i7 = i2 + 4 | 0;
+ i8 = i2 + 8 | 0;
+ i9 = i2 + 48 | 0;
+ i10 = i2 + 16 | 0;
+ i11 = i2 + 20 | 0;
+ i12 = i2 + 24 | 0;
+ i13 = i2 + 52 | 0;
+ i14 = i2 + 32 | 0;
+ i15 = i2 + 36 | 0;
+ i16 = i2 + 40 | 0;
+ i17 = i2 + 56 | 0;
+ i2 = i3 | 0;
+ i18 = i3 + 4 | 0;
+ i19 = i3 + 8 | 0;
+ i20 = i3 + 48 | 0;
+ i21 = i3 + 16 | 0;
+ i22 = i3 + 20 | 0;
+ i23 = i3 + 24 | 0;
+ i24 = i3 + 52 | 0;
+ i25 = i3 + 32 | 0;
+ i26 = i3 + 36 | 0;
+ i27 = i3 + 40 | 0;
+ i28 = i3 + 56 | 0;
+ i3 = i5;
+ do {
+ i3 = i3 - 1 | 0;
+ d29 = +HEAPF32[i1 + 4 + (i3 * 276 | 0) >> 2];
+ d30 = +HEAPF32[i1 + 4 + (i3 * 276 | 0) + 4 >> 2];
+ d31 = +HEAPF32[i1 + 4 + (i3 * 276 | 0) + 8 >> 2];
+ d32 = +HEAPF32[i9 >> 2] + (+HEAPF32[i6 >> 2] * d29 + +HEAPF32[i7 >> 2] * d30 + +HEAPF32[i8 >> 2] * d31);
+ d33 = +HEAPF32[i13 >> 2] + (d29 * +HEAPF32[i10 >> 2] + d30 * +HEAPF32[i11 >> 2] + d31 * +HEAPF32[i12 >> 2]);
+ d34 = +HEAPF32[i17 >> 2] + (d29 * +HEAPF32[i14 >> 2] + d30 * +HEAPF32[i15 >> 2] + d31 * +HEAPF32[i16 >> 2]);
+ HEAPF32[i1 + 4 + (i3 * 276 | 0) + 48 >> 2] = d32;
+ HEAPF32[i1 + 4 + (i3 * 276 | 0) + 52 >> 2] = d33;
+ HEAPF32[i1 + 4 + (i3 * 276 | 0) + 56 >> 2] = d34;
+ HEAPF32[i1 + 4 + (i3 * 276 | 0) + 60 >> 2] = 0.0;
+ d31 = +HEAPF32[i1 + 4 + (i3 * 276 | 0) + 16 >> 2];
+ d30 = +HEAPF32[i1 + 4 + (i3 * 276 | 0) + 20 >> 2];
+ d29 = +HEAPF32[i1 + 4 + (i3 * 276 | 0) + 24 >> 2];
+ d35 = +HEAPF32[i20 >> 2] + (+HEAPF32[i2 >> 2] * d31 + +HEAPF32[i18 >> 2] * d30 + +HEAPF32[i19 >> 2] * d29);
+ d36 = +HEAPF32[i24 >> 2] + (d31 * +HEAPF32[i21 >> 2] + d30 * +HEAPF32[i22 >> 2] + d29 * +HEAPF32[i23 >> 2]);
+ d37 = +HEAPF32[i28 >> 2] + (d31 * +HEAPF32[i25 >> 2] + d30 * +HEAPF32[i26 >> 2] + d29 * +HEAPF32[i27 >> 2]);
+ HEAPF32[i1 + 4 + (i3 * 276 | 0) + 32 >> 2] = d35;
+ HEAPF32[i1 + 4 + (i3 * 276 | 0) + 36 >> 2] = d36;
+ HEAPF32[i1 + 4 + (i3 * 276 | 0) + 40 >> 2] = d37;
+ HEAPF32[i1 + 4 + (i3 * 276 | 0) + 44 >> 2] = 0.0;
+ HEAPF32[i1 + 4 + (i3 * 276 | 0) + 80 >> 2] = (d32 - d35) * +HEAPF32[i1 + 4 + (i3 * 276 | 0) + 64 >> 2] + (d33 - d36) * +HEAPF32[i1 + 4 + (i3 * 276 | 0) + 68 >> 2] + (d34 - d37) * +HEAPF32[i1 + 4 + (i3 * 276 | 0) + 72 >> 2];
+ i5 = i1 + 4 + (i3 * 276 | 0) + 144 | 0;
+ HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1;
+ } while ((i3 | 0) > 0);
+ i3 = HEAP32[i4 >> 2] | 0;
+ if ((i3 | 0) <= 0) {
+ return;
+ }
+ i27 = i1 + 1120 | 0;
+ i26 = i1 + 1124 | 0;
+ i25 = i1 + 1108 | 0;
+ i28 = i1 + 1112 | 0;
+ i23 = i3;
+ do {
+ i23 = i23 - 1 | 0;
+ i3 = i1 + 4 + (i23 * 276 | 0) | 0;
+ d37 = +HEAPF32[i1 + 4 + (i23 * 276 | 0) + 80 >> 2];
+ do {
+ if (d37 > +HEAPF32[((HEAP32[i1 + 4 + (i23 * 276 | 0) + 144 >> 2] | 0) > 1 ? i27 : i26) >> 2]) {
+ i22 = i1 + 4 + (i23 * 276 | 0) + 108 | 0;
+ i21 = HEAP32[i22 >> 2] | 0;
+ do {
+ if ((i21 | 0) != 0) {
+ i24 = HEAP32[3008] | 0;
+ if ((i24 | 0) == 0) {
+ break;
+ }
+ FUNCTION_TABLE_ii[i24 & 127](i21) | 0;
+ HEAP32[i22 >> 2] = 0;
+ }
+ } while (0);
+ i22 = HEAP32[i4 >> 2] | 0;
+ i21 = i22 - 1 | 0;
+ if ((i21 | 0) == (i23 | 0)) {
+ i38 = i22;
+ } else {
+ i22 = i3;
+ i24 = i1 + 4 + (i21 * 276 | 0) | 0;
+ _memcpy(i22 | 0, i24 | 0, 276) | 0;
+ HEAP32[i1 + 4 + (i21 * 276 | 0) + 108 >> 2] = 0;
+ HEAPF32[i1 + 4 + (i21 * 276 | 0) + 208 >> 2] = 0.0;
+ HEAPF32[i1 + 4 + (i21 * 276 | 0) + 240 >> 2] = 0.0;
+ HEAPF32[i1 + 4 + (i21 * 276 | 0) + 272 >> 2] = 0.0;
+ HEAPF32[i1 + 4 + (i21 * 276 | 0) + 112 >> 2] = 0.0;
+ HEAP8[i1 + 4 + (i21 * 276 | 0) + 116 | 0] = 0;
+ HEAPF32[i1 + 4 + (i21 * 276 | 0) + 120 >> 2] = 0.0;
+ HEAPF32[i1 + 4 + (i21 * 276 | 0) + 124 >> 2] = 0.0;
+ HEAP32[i1 + 4 + (i21 * 276 | 0) + 144 >> 2] = 0;
+ i38 = HEAP32[i4 >> 2] | 0;
+ }
+ HEAP32[i4 >> 2] = i38 - 1;
+ } else {
+ d34 = +HEAPF32[i1 + 4 + (i23 * 276 | 0) + 32 >> 2] - (+HEAPF32[i1 + 4 + (i23 * 276 | 0) + 48 >> 2] - d37 * +HEAPF32[i1 + 4 + (i23 * 276 | 0) + 64 >> 2]);
+ d36 = +HEAPF32[i1 + 4 + (i23 * 276 | 0) + 36 >> 2] - (+HEAPF32[i1 + 4 + (i23 * 276 | 0) + 52 >> 2] - d37 * +HEAPF32[i1 + 4 + (i23 * 276 | 0) + 68 >> 2]);
+ d33 = +HEAPF32[i1 + 4 + (i23 * 276 | 0) + 40 >> 2] - (+HEAPF32[i1 + 4 + (i23 * 276 | 0) + 56 >> 2] - d37 * +HEAPF32[i1 + 4 + (i23 * 276 | 0) + 72 >> 2]);
+ d35 = +HEAPF32[i27 >> 2];
+ if (d34 * d34 + d36 * d36 + d33 * d33 <= d35 * d35) {
+ i21 = HEAP32[3006] | 0;
+ if ((i21 | 0) == 0) {
+ break;
+ }
+ i24 = HEAP32[i25 >> 2] | 0;
+ i22 = HEAP32[i28 >> 2] | 0;
+ FUNCTION_TABLE_iiii[i21 & 31](i3, i24, i22) | 0;
+ break;
+ }
+ i22 = i1 + 4 + (i23 * 276 | 0) + 108 | 0;
+ i24 = HEAP32[i22 >> 2] | 0;
+ do {
+ if ((i24 | 0) != 0) {
+ i21 = HEAP32[3008] | 0;
+ if ((i21 | 0) == 0) {
+ break;
+ }
+ FUNCTION_TABLE_ii[i21 & 127](i24) | 0;
+ HEAP32[i22 >> 2] = 0;
+ }
+ } while (0);
+ i22 = HEAP32[i4 >> 2] | 0;
+ i24 = i22 - 1 | 0;
+ if ((i24 | 0) == (i23 | 0)) {
+ i39 = i22;
+ } else {
+ i22 = i3;
+ i21 = i1 + 4 + (i24 * 276 | 0) | 0;
+ _memcpy(i22 | 0, i21 | 0, 276) | 0;
+ HEAP32[i1 + 4 + (i24 * 276 | 0) + 108 >> 2] = 0;
+ HEAPF32[i1 + 4 + (i24 * 276 | 0) + 208 >> 2] = 0.0;
+ HEAPF32[i1 + 4 + (i24 * 276 | 0) + 240 >> 2] = 0.0;
+ HEAPF32[i1 + 4 + (i24 * 276 | 0) + 272 >> 2] = 0.0;
+ HEAPF32[i1 + 4 + (i24 * 276 | 0) + 112 >> 2] = 0.0;
+ HEAP8[i1 + 4 + (i24 * 276 | 0) + 116 | 0] = 0;
+ HEAPF32[i1 + 4 + (i24 * 276 | 0) + 120 >> 2] = 0.0;
+ HEAPF32[i1 + 4 + (i24 * 276 | 0) + 124 >> 2] = 0.0;
+ HEAP32[i1 + 4 + (i24 * 276 | 0) + 144 >> 2] = 0;
+ i39 = HEAP32[i4 >> 2] | 0;
+ }
+ HEAP32[i4 >> 2] = i39 - 1;
+ }
+ } while (0);
+ } while ((i23 | 0) > 0);
+ return;
+}
+function __ZN31btConvexPlaneCollisionAlgorithm20collideSingleContactERK12btQuaternionP17btCollisionObjectS4_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, i42 = 0, d43 = 0.0, i44 = 0, d45 = 0.0, i46 = 0, d47 = 0.0, d48 = 0.0, d49 = 0.0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, d58 = 0.0, d59 = 0.0, d60 = 0.0, d61 = 0.0, d62 = 0.0, d63 = 0.0, i64 = 0, i65 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i7 = i5 | 0;
+ i8 = i5 + 16 | 0;
+ i9 = i5 + 32 | 0;
+ i10 = i5 + 48 | 0;
+ i11 = (HEAP8[i1 + 16 | 0] | 0) != 0;
+ i12 = i11 ? i4 : i3;
+ i13 = i11 ? i3 : i4;
+ i4 = HEAP32[i12 + 192 >> 2] | 0;
+ i3 = HEAP32[i13 + 192 >> 2] | 0;
+ d14 = +HEAPF32[i12 + 4 >> 2];
+ d15 = +HEAPF32[i12 + 8 >> 2];
+ d16 = +HEAPF32[i12 + 12 >> 2];
+ d17 = +HEAPF32[i12 + 20 >> 2];
+ d18 = +HEAPF32[i12 + 24 >> 2];
+ d19 = +HEAPF32[i12 + 28 >> 2];
+ d20 = +HEAPF32[i12 + 36 >> 2];
+ d21 = +HEAPF32[i12 + 40 >> 2];
+ d22 = +HEAPF32[i12 + 44 >> 2];
+ d23 = +HEAPF32[i12 + 52 >> 2];
+ d24 = +HEAPF32[i12 + 56 >> 2];
+ d25 = +HEAPF32[i12 + 60 >> 2];
+ i12 = i13 + 4 | 0;
+ i11 = i13 + 20 | 0;
+ i26 = i13 + 36 | 0;
+ i27 = i13 + 8 | 0;
+ i28 = i13 + 24 | 0;
+ i29 = i13 + 40 | 0;
+ i30 = i13 + 12 | 0;
+ i31 = i13 + 28 | 0;
+ i32 = i13 + 44 | 0;
+ d33 = +HEAPF32[i12 >> 2];
+ d34 = +HEAPF32[i11 >> 2];
+ d35 = +HEAPF32[i26 >> 2];
+ d36 = +HEAPF32[i27 >> 2];
+ d37 = +HEAPF32[i28 >> 2];
+ d38 = +HEAPF32[i29 >> 2];
+ d39 = +HEAPF32[i30 >> 2];
+ d40 = +HEAPF32[i31 >> 2];
+ d41 = +HEAPF32[i32 >> 2];
+ i42 = i13 + 52 | 0;
+ d43 = -0.0 - +HEAPF32[i42 >> 2];
+ i44 = i13 + 56 | 0;
+ d45 = -0.0 - +HEAPF32[i44 >> 2];
+ i46 = i13 + 60 | 0;
+ d47 = -0.0 - +HEAPF32[i46 >> 2];
+ d48 = +HEAPF32[i2 >> 2];
+ d49 = +HEAPF32[i2 + 4 >> 2];
+ d50 = +HEAPF32[i2 + 8 >> 2];
+ d51 = +HEAPF32[i2 + 12 >> 2];
+ d52 = 2.0 / (d48 * d48 + d49 * d49 + d50 * d50 + d51 * d51);
+ d53 = d48 * d52;
+ d54 = d49 * d52;
+ d55 = d50 * d52;
+ d52 = d51 * d53;
+ d56 = d51 * d54;
+ d57 = d51 * d55;
+ d51 = d48 * d53;
+ d53 = d48 * d54;
+ d58 = d48 * d55;
+ d48 = d49 * d54;
+ d54 = d49 * d55;
+ d49 = d50 * d55;
+ d55 = 1.0 - (d48 + d49);
+ d50 = d53 - d57;
+ d59 = d58 + d56;
+ d60 = d53 + d57;
+ d57 = 1.0 - (d51 + d49);
+ d49 = d54 - d52;
+ d53 = d58 - d56;
+ d56 = d54 + d52;
+ d52 = 1.0 - (d51 + d48);
+ d48 = d16 * d53 + (d15 * d60 + d14 * d55);
+ d51 = d16 * d56 + (d14 * d50 + d15 * d57);
+ d54 = d14 * d59 + d15 * d49 + d16 * d52;
+ d58 = d19 * d53 + (d18 * d60 + d17 * d55);
+ d61 = d19 * d56 + (d17 * d50 + d18 * d57);
+ d62 = d17 * d59 + d18 * d49 + d19 * d52;
+ d63 = d22 * d53 + (d21 * d60 + d20 * d55);
+ d55 = d22 * d56 + (d20 * d50 + d21 * d57);
+ d57 = d20 * d59 + d21 * d49 + d22 * d52;
+ i2 = HEAP32[(HEAP32[i4 >> 2] | 0) + 60 >> 2] | 0;
+ i13 = i3 + 48 | 0;
+ d52 = -0.0 - +HEAPF32[i13 >> 2];
+ i64 = i3 + 52 | 0;
+ d49 = -0.0 - +HEAPF32[i64 >> 2];
+ i65 = i3 + 56 | 0;
+ d59 = -0.0 - +HEAPF32[i65 >> 2];
+ HEAPF32[i8 >> 2] = (d41 * d63 + (d39 * d48 + d40 * d58)) * d59 + ((d35 * d63 + (d33 * d48 + d34 * d58)) * d52 + (d38 * d63 + (d36 * d48 + d37 * d58)) * d49);
+ HEAPF32[i8 + 4 >> 2] = (d41 * d55 + (d39 * d51 + d40 * d61)) * d59 + ((d35 * d55 + (d33 * d51 + d34 * d61)) * d52 + (d38 * d55 + (d36 * d51 + d37 * d61)) * d49);
+ HEAPF32[i8 + 8 >> 2] = (d41 * d57 + (d39 * d54 + d40 * d62)) * d59 + ((d35 * d57 + (d33 * d54 + d34 * d62)) * d52 + (d38 * d57 + (d36 * d54 + d37 * d62)) * d49);
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i2 & 127](i7, i4, i8);
+ d49 = +HEAPF32[i7 >> 2];
+ d62 = +HEAPF32[i7 + 4 >> 2];
+ d54 = +HEAPF32[i7 + 8 >> 2];
+ d57 = d23 * d33 + d24 * d34 + d25 * d35 + (d33 * d43 + d34 * d45 + d35 * d47) + ((d14 * d33 + d17 * d34 + d20 * d35) * d49 + (d15 * d33 + d18 * d34 + d21 * d35) * d62 + (d16 * d33 + d19 * d34 + d22 * d35) * d54);
+ d35 = d23 * d36 + d24 * d37 + d25 * d38 + (d36 * d43 + d37 * d45 + d38 * d47) + ((d14 * d36 + d17 * d37 + d20 * d38) * d49 + (d15 * d36 + d18 * d37 + d21 * d38) * d62 + (d16 * d36 + d19 * d37 + d22 * d38) * d54);
+ d38 = d23 * d39 + d24 * d40 + d25 * d41 + (d39 * d43 + d40 * d45 + d41 * d47) + ((d14 * d39 + d17 * d40 + d20 * d41) * d49 + (d15 * d39 + d18 * d40 + d21 * d41) * d62 + (d16 * d39 + d19 * d40 + d22 * d41) * d54);
+ d54 = +HEAPF32[i13 >> 2];
+ d41 = +HEAPF32[i64 >> 2];
+ d22 = +HEAPF32[i65 >> 2];
+ d40 = d22 * d38 + (d54 * d57 + d41 * d35) - +HEAPF32[i3 + 64 >> 2];
+ d19 = d57 - d54 * d40;
+ d54 = d35 - d41 * d40;
+ d41 = d38 - d22 * d40;
+ d22 = +HEAPF32[i12 >> 2];
+ d38 = +HEAPF32[i27 >> 2];
+ d35 = +HEAPF32[i30 >> 2];
+ d57 = +HEAPF32[i42 >> 2];
+ d39 = +HEAPF32[i11 >> 2];
+ d16 = +HEAPF32[i28 >> 2];
+ d62 = +HEAPF32[i31 >> 2];
+ d21 = +HEAPF32[i44 >> 2];
+ d18 = +HEAPF32[i26 >> 2];
+ d15 = +HEAPF32[i29 >> 2];
+ d49 = +HEAPF32[i32 >> 2];
+ d20 = +HEAPF32[i46 >> 2];
+ i46 = i1 + 12 | 0;
+ i1 = d40 < +__ZNK20btPersistentManifold27getContactBreakingThresholdEv(HEAP32[i46 >> 2] | 0);
+ HEAP32[i6 + 4 >> 2] = HEAP32[i46 >> 2];
+ if (!i1) {
+ STACKTOP = i5;
+ return;
+ }
+ d17 = +HEAPF32[i13 >> 2];
+ d14 = +HEAPF32[i64 >> 2];
+ d47 = +HEAPF32[i65 >> 2];
+ d45 = d17 * +HEAPF32[i11 >> 2] + d14 * +HEAPF32[i28 >> 2] + d47 * +HEAPF32[i31 >> 2];
+ d43 = d17 * +HEAPF32[i26 >> 2] + d14 * +HEAPF32[i29 >> 2] + d47 * +HEAPF32[i32 >> 2];
+ HEAPF32[i9 >> 2] = +HEAPF32[i12 >> 2] * d17 + +HEAPF32[i27 >> 2] * d14 + +HEAPF32[i30 >> 2] * d47;
+ HEAPF32[i9 + 4 >> 2] = d45;
+ HEAPF32[i9 + 8 >> 2] = d43;
+ HEAPF32[i9 + 12 >> 2] = 0.0;
+ HEAPF32[i10 >> 2] = d57 + (d35 * d41 + (d22 * d19 + d38 * d54));
+ HEAPF32[i10 + 4 >> 2] = d21 + (d19 * d39 + d54 * d16 + d41 * d62);
+ HEAPF32[i10 + 8 >> 2] = d20 + (d19 * d18 + d54 * d15 + d41 * d49);
+ HEAPF32[i10 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[HEAP32[(HEAP32[i6 >> 2] | 0) + 16 >> 2] & 15](i6, i9, i10, d40);
+ STACKTOP = i5;
+ return;
+}
+function __ZN11btRigidBody14setupRigidBodyERKNS_27btRigidBodyConstructionInfoE(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0;
+ HEAP32[i1 + 232 >> 2] = 2;
+ _memset(i1 + 304 | 0, 0, 32);
+ HEAPF32[i1 + 536 >> 2] = 1.0;
+ HEAPF32[i1 + 540 >> 2] = 1.0;
+ HEAPF32[i1 + 544 >> 2] = 1.0;
+ HEAPF32[i1 + 548 >> 2] = 0.0;
+ i3 = i1 + 340 | 0;
+ HEAPF32[i3 >> 2] = 1.0;
+ i4 = i1 + 344 | 0;
+ HEAPF32[i4 >> 2] = 1.0;
+ i5 = i1 + 348 | 0;
+ HEAPF32[i5 >> 2] = 1.0;
+ _memset(i1 + 352 | 0, 0, 36);
+ _memset(i1 + 404 | 0, 0, 32);
+ d6 = +HEAPF32[i2 + 92 >> 2];
+ d7 = +HEAPF32[i2 + 96 >> 2];
+ if (d6 < 0.0) {
+ d8 = 0.0;
+ } else {
+ d8 = d6 > 1.0 ? 1.0 : d6;
+ }
+ HEAPF32[i1 + 436 >> 2] = d8;
+ if (d7 < 0.0) {
+ d9 = 0.0;
+ } else {
+ d9 = d7 > 1.0 ? 1.0 : d7;
+ }
+ HEAPF32[i1 + 440 >> 2] = d9;
+ HEAPF32[i1 + 464 >> 2] = +HEAPF32[i2 + 108 >> 2];
+ HEAPF32[i1 + 468 >> 2] = +HEAPF32[i2 + 112 >> 2];
+ i10 = HEAP32[i2 + 4 >> 2] | 0;
+ HEAP32[i1 + 472 >> 2] = i10;
+ HEAP32[i1 + 600 >> 2] = 0;
+ HEAP32[i1 + 604 >> 2] = 0;
+ HEAP8[i1 + 444 | 0] = HEAP8[i2 + 116 | 0] | 0;
+ HEAPF32[i1 + 448 >> 2] = +HEAPF32[i2 + 120 >> 2];
+ HEAPF32[i1 + 452 >> 2] = +HEAPF32[i2 + 124 >> 2];
+ HEAPF32[i1 + 456 >> 2] = +HEAPF32[i2 + 128 >> 2];
+ HEAPF32[i1 + 460 >> 2] = +HEAPF32[i2 + 132 >> 2];
+ if ((i10 | 0) == 0) {
+ i11 = i1 + 4 | 0;
+ i12 = i2 + 8 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i12 + 12 >> 2];
+ i12 = i1 + 20 | 0;
+ i13 = i2 + 24 | 0;
+ HEAP32[i12 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i12 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i1 + 36 | 0;
+ i14 = i2 + 40 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i14 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i14 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i14 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i14 + 12 >> 2];
+ i14 = i1 + 52 | 0;
+ i15 = i2 + 56 | 0;
+ HEAP32[i14 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i15 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i15 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i15 + 12 >> 2];
+ i16 = i11;
+ i17 = i12;
+ i18 = i13;
+ i19 = i14;
+ } else {
+ i14 = i1 + 4 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i10 >> 2] | 0) + 8 >> 2] & 127](i10, i14);
+ i16 = i14;
+ i17 = i1 + 20 | 0;
+ i18 = i1 + 36 | 0;
+ i19 = i1 + 52 | 0;
+ }
+ i14 = i1 + 68 | 0;
+ HEAP32[i14 >> 2] = HEAP32[i16 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i16 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i16 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i16 + 12 >> 2];
+ i16 = i1 + 84 | 0;
+ HEAP32[i16 >> 2] = HEAP32[i17 >> 2];
+ HEAP32[i16 + 4 >> 2] = HEAP32[i17 + 4 >> 2];
+ HEAP32[i16 + 8 >> 2] = HEAP32[i17 + 8 >> 2];
+ HEAP32[i16 + 12 >> 2] = HEAP32[i17 + 12 >> 2];
+ i17 = i1 + 100 | 0;
+ HEAP32[i17 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i17 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i17 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i17 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ i18 = i1 + 116 | 0;
+ HEAP32[i18 >> 2] = HEAP32[i19 >> 2];
+ HEAP32[i18 + 4 >> 2] = HEAP32[i19 + 4 >> 2];
+ HEAP32[i18 + 8 >> 2] = HEAP32[i19 + 8 >> 2];
+ HEAP32[i18 + 12 >> 2] = HEAP32[i19 + 12 >> 2];
+ _memset(i1 + 132 | 0, 0, 32);
+ HEAPF32[i1 + 224 >> 2] = +HEAPF32[i2 + 100 >> 2];
+ HEAPF32[i1 + 228 >> 2] = +HEAPF32[i2 + 104 >> 2];
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] & 127](i1 | 0, HEAP32[i2 + 72 >> 2] | 0);
+ i19 = HEAP32[3574] | 0;
+ HEAP32[3574] = i19 + 1;
+ HEAP32[i1 + 500 >> 2] = i19;
+ d9 = +HEAPF32[i2 >> 2];
+ i19 = i1 + 204 | 0;
+ i18 = HEAP32[i19 >> 2] | 0;
+ if (d9 == 0.0) {
+ HEAP32[i19 >> 2] = i18 | 1;
+ HEAPF32[i1 + 336 >> 2] = 0.0;
+ d20 = 0.0;
+ } else {
+ HEAP32[i19 >> 2] = i18 & -2;
+ d7 = 1.0 / d9;
+ HEAPF32[i1 + 336 >> 2] = d7;
+ d20 = d7;
+ }
+ d7 = d9 * +HEAPF32[i1 + 376 >> 2];
+ d8 = d9 * +HEAPF32[i1 + 380 >> 2];
+ HEAPF32[i1 + 356 >> 2] = d9 * +HEAPF32[i1 + 372 >> 2];
+ HEAPF32[i1 + 360 >> 2] = d7;
+ HEAPF32[i1 + 364 >> 2] = d8;
+ HEAPF32[i1 + 368 >> 2] = 0.0;
+ d8 = +HEAPF32[i2 + 76 >> 2];
+ if (d8 != 0.0) {
+ d21 = 1.0 / d8;
+ } else {
+ d21 = 0.0;
+ }
+ d8 = +HEAPF32[i2 + 80 >> 2];
+ if (d8 != 0.0) {
+ d22 = 1.0 / d8;
+ } else {
+ d22 = 0.0;
+ }
+ d8 = +HEAPF32[i2 + 84 >> 2];
+ if (d8 != 0.0) {
+ d23 = 1.0 / d8;
+ } else {
+ d23 = 0.0;
+ }
+ HEAPF32[i1 + 388 >> 2] = d21;
+ HEAPF32[i1 + 392 >> 2] = d22;
+ HEAPF32[i1 + 396 >> 2] = d23;
+ HEAPF32[i1 + 400 >> 2] = 0.0;
+ d8 = d20 * +HEAPF32[i3 >> 2];
+ d7 = d20 * +HEAPF32[i4 >> 2];
+ d9 = d20 * +HEAPF32[i5 >> 2];
+ d20 = +HEAPF32[i1 + 4 >> 2];
+ d6 = d20 * d21;
+ d24 = +HEAPF32[i1 + 8 >> 2];
+ d25 = d24 * d22;
+ d26 = +HEAPF32[i1 + 12 >> 2];
+ d27 = d26 * d23;
+ d28 = +HEAPF32[i1 + 20 >> 2];
+ d29 = d21 * d28;
+ d30 = +HEAPF32[i1 + 24 >> 2];
+ d31 = d22 * d30;
+ d32 = +HEAPF32[i1 + 28 >> 2];
+ d33 = d23 * d32;
+ d34 = +HEAPF32[i1 + 36 >> 2];
+ d35 = d21 * d34;
+ d21 = +HEAPF32[i1 + 40 >> 2];
+ d36 = d22 * d21;
+ d22 = +HEAPF32[i1 + 44 >> 2];
+ d37 = d23 * d22;
+ HEAPF32[i1 + 256 >> 2] = d20 * d6 + d24 * d25 + d26 * d27;
+ HEAPF32[i1 + 260 >> 2] = d6 * d28 + d25 * d30 + d27 * d32;
+ HEAPF32[i1 + 264 >> 2] = d6 * d34 + d25 * d21 + d27 * d22;
+ HEAPF32[i1 + 268 >> 2] = 0.0;
+ HEAPF32[i1 + 272 >> 2] = d20 * d29 + d24 * d31 + d26 * d33;
+ HEAPF32[i1 + 276 >> 2] = d28 * d29 + d30 * d31 + d32 * d33;
+ HEAPF32[i1 + 280 >> 2] = d29 * d34 + d31 * d21 + d33 * d22;
+ HEAPF32[i1 + 284 >> 2] = 0.0;
+ HEAPF32[i1 + 288 >> 2] = d20 * d35 + d24 * d36 + d26 * d37;
+ HEAPF32[i1 + 292 >> 2] = d28 * d35 + d30 * d36 + d32 * d37;
+ HEAPF32[i1 + 296 >> 2] = d34 * d35 + d21 * d36 + d22 * d37;
+ HEAPF32[i1 + 300 >> 2] = 0.0;
+ HEAP32[i1 + 496 >> 2] = 0;
+ _memset(i1 + 504 | 0, 0, 32);
+ HEAPF32[i1 + 552 >> 2] = d8;
+ HEAPF32[i1 + 556 >> 2] = d7;
+ HEAPF32[i1 + 560 >> 2] = d9;
+ _memset(i1 + 564 | 0, 0, 36);
+ return;
+}
+function __ZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, d45 = 0.0, d46 = 0.0, d47 = 0.0, d48 = 0.0, d49 = 0.0, d50 = 0.0, i51 = 0, i52 = 0, i53 = 0, d54 = 0.0, d55 = 0.0, d56 = 0.0, i57 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 240 | 0;
+ i4 = i5 | 0;
+ i6 = i5 + 16 | 0;
+ i7 = i5 + 32 | 0;
+ i8 = (HEAP8[i1 + 8 | 0] | 0) != 0;
+ i1 = i8 ? i3 : i2;
+ i9 = i8 ? i2 : i3;
+ d10 = +HEAPF32[i1 + 116 >> 2];
+ d11 = +HEAPF32[i1 + 52 >> 2];
+ d12 = d10 - d11;
+ d13 = +HEAPF32[i1 + 120 >> 2];
+ d14 = +HEAPF32[i1 + 56 >> 2];
+ d15 = d13 - d14;
+ d16 = +HEAPF32[i1 + 124 >> 2];
+ d17 = +HEAPF32[i1 + 60 >> 2];
+ d18 = d16 - d17;
+ d19 = +HEAPF32[i1 + 248 >> 2];
+ if (d12 * d12 + d15 * d15 + d18 * d18 < d19 * d19) {
+ d20 = 1.0;
+ STACKTOP = i5;
+ return +d20;
+ }
+ d19 = +HEAPF32[i9 + 4 >> 2];
+ d18 = +HEAPF32[i9 + 20 >> 2];
+ d15 = +HEAPF32[i9 + 36 >> 2];
+ d12 = +HEAPF32[i9 + 8 >> 2];
+ d21 = +HEAPF32[i9 + 24 >> 2];
+ d22 = +HEAPF32[i9 + 40 >> 2];
+ d23 = +HEAPF32[i9 + 12 >> 2];
+ d24 = +HEAPF32[i9 + 28 >> 2];
+ d25 = +HEAPF32[i9 + 44 >> 2];
+ d26 = -0.0 - +HEAPF32[i9 + 52 >> 2];
+ d27 = -0.0 - +HEAPF32[i9 + 56 >> 2];
+ d28 = -0.0 - +HEAPF32[i9 + 60 >> 2];
+ d29 = d19 * d26 + d18 * d27 + d15 * d28;
+ d30 = d12 * d26 + d21 * d27 + d22 * d28;
+ d31 = d23 * d26 + d24 * d27 + d25 * d28;
+ d28 = +HEAPF32[i1 + 4 >> 2];
+ d27 = +HEAPF32[i1 + 20 >> 2];
+ d26 = +HEAPF32[i1 + 36 >> 2];
+ d32 = +HEAPF32[i1 + 8 >> 2];
+ d33 = +HEAPF32[i1 + 24 >> 2];
+ d34 = +HEAPF32[i1 + 40 >> 2];
+ d35 = +HEAPF32[i1 + 12 >> 2];
+ d36 = +HEAPF32[i1 + 28 >> 2];
+ d37 = +HEAPF32[i1 + 44 >> 2];
+ d38 = d11 * d19 + d14 * d18 + d17 * d15 + d29;
+ d39 = d11 * d12 + d14 * d21 + d17 * d22 + d30;
+ d40 = d11 * d23 + d14 * d24 + d17 * d25 + d31;
+ d17 = +HEAPF32[i1 + 68 >> 2];
+ d14 = +HEAPF32[i1 + 84 >> 2];
+ d11 = +HEAPF32[i1 + 100 >> 2];
+ d41 = +HEAPF32[i1 + 72 >> 2];
+ d42 = +HEAPF32[i1 + 88 >> 2];
+ d43 = +HEAPF32[i1 + 104 >> 2];
+ d44 = +HEAPF32[i1 + 76 >> 2];
+ d45 = +HEAPF32[i1 + 92 >> 2];
+ d46 = +HEAPF32[i1 + 108 >> 2];
+ d47 = d10 * d19 + d13 * d18 + d16 * d15 + d29;
+ d29 = d10 * d12 + d13 * d21 + d16 * d22 + d30;
+ d30 = d10 * d23 + d13 * d24 + d16 * d25 + d31;
+ i3 = HEAP32[i9 + 192 >> 2] | 0;
+ if (((HEAP32[i3 + 4 >> 2] | 0) - 21 | 0) >>> 0 >= 9) {
+ d20 = 1.0;
+ STACKTOP = i5;
+ return +d20;
+ }
+ i9 = i4 | 0;
+ HEAPF32[i9 >> 2] = d38;
+ i2 = i4 + 4 | 0;
+ HEAPF32[i2 >> 2] = d39;
+ i8 = i4 + 8 | 0;
+ HEAPF32[i8 >> 2] = d40;
+ HEAPF32[i4 + 12 >> 2] = 0.0;
+ if (d47 < d38) {
+ HEAPF32[i9 >> 2] = d47;
+ d48 = d47;
+ } else {
+ d48 = d38;
+ }
+ if (d29 < d39) {
+ HEAPF32[i2 >> 2] = d29;
+ d49 = d29;
+ } else {
+ d49 = d39;
+ }
+ if (d30 < d40) {
+ HEAPF32[i8 >> 2] = d30;
+ d50 = d30;
+ } else {
+ d50 = d40;
+ }
+ i51 = i6 | 0;
+ HEAPF32[i51 >> 2] = d38;
+ i52 = i6 + 4 | 0;
+ HEAPF32[i52 >> 2] = d39;
+ i53 = i6 + 8 | 0;
+ HEAPF32[i53 >> 2] = d40;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ if (d38 < d47) {
+ HEAPF32[i51 >> 2] = d47;
+ d54 = d47;
+ } else {
+ d54 = d38;
+ }
+ if (d39 < d29) {
+ HEAPF32[i52 >> 2] = d29;
+ d55 = d29;
+ } else {
+ d55 = d39;
+ }
+ if (d40 < d30) {
+ HEAPF32[i53 >> 2] = d30;
+ d56 = d30;
+ } else {
+ d56 = d40;
+ }
+ d31 = +HEAPF32[i1 + 244 >> 2];
+ HEAPF32[i9 >> 2] = d48 - d31;
+ HEAPF32[i2 >> 2] = d49 - d31;
+ HEAPF32[i8 >> 2] = d50 - d31;
+ HEAPF32[i51 >> 2] = d54 + d31;
+ HEAPF32[i52 >> 2] = d55 + d31;
+ HEAPF32[i53 >> 2] = d56 + d31;
+ HEAP32[i7 >> 2] = 1424;
+ HEAPF32[i7 + 4 >> 2] = d19 * d28 + d18 * d27 + d15 * d26;
+ HEAPF32[i7 + 8 >> 2] = d19 * d32 + d18 * d33 + d15 * d34;
+ HEAPF32[i7 + 12 >> 2] = d19 * d35 + d18 * d36 + d15 * d37;
+ HEAPF32[i7 + 16 >> 2] = 0.0;
+ HEAPF32[i7 + 20 >> 2] = d12 * d28 + d21 * d27 + d22 * d26;
+ HEAPF32[i7 + 24 >> 2] = d12 * d32 + d21 * d33 + d22 * d34;
+ HEAPF32[i7 + 28 >> 2] = d12 * d35 + d21 * d36 + d22 * d37;
+ HEAPF32[i7 + 32 >> 2] = 0.0;
+ HEAPF32[i7 + 36 >> 2] = d23 * d28 + d24 * d27 + d25 * d26;
+ HEAPF32[i7 + 40 >> 2] = d23 * d32 + d24 * d33 + d25 * d34;
+ HEAPF32[i7 + 44 >> 2] = d23 * d35 + d24 * d36 + d25 * d37;
+ HEAPF32[i7 + 48 >> 2] = 0.0;
+ HEAPF32[i7 + 52 >> 2] = d38;
+ HEAPF32[i7 + 56 >> 2] = d39;
+ HEAPF32[i7 + 60 >> 2] = d40;
+ HEAPF32[i7 + 64 >> 2] = 0.0;
+ HEAPF32[i7 + 68 >> 2] = d19 * d17 + d18 * d14 + d15 * d11;
+ HEAPF32[i7 + 72 >> 2] = d19 * d41 + d18 * d42 + d15 * d43;
+ HEAPF32[i7 + 76 >> 2] = d19 * d44 + d18 * d45 + d15 * d46;
+ HEAPF32[i7 + 80 >> 2] = 0.0;
+ HEAPF32[i7 + 84 >> 2] = d12 * d17 + d21 * d14 + d22 * d11;
+ HEAPF32[i7 + 88 >> 2] = d12 * d41 + d21 * d42 + d22 * d43;
+ HEAPF32[i7 + 92 >> 2] = d12 * d44 + d21 * d45 + d22 * d46;
+ HEAPF32[i7 + 96 >> 2] = 0.0;
+ HEAPF32[i7 + 100 >> 2] = d23 * d17 + d24 * d14 + d25 * d11;
+ HEAPF32[i7 + 104 >> 2] = d23 * d41 + d24 * d42 + d25 * d43;
+ HEAPF32[i7 + 108 >> 2] = d23 * d44 + d24 * d45 + d25 * d46;
+ HEAPF32[i7 + 112 >> 2] = 0.0;
+ HEAPF32[i7 + 116 >> 2] = d47;
+ HEAPF32[i7 + 120 >> 2] = d29;
+ HEAPF32[i7 + 124 >> 2] = d30;
+ HEAPF32[i7 + 128 >> 2] = 0.0;
+ HEAPF32[i7 + 196 >> 2] = d31;
+ i53 = i7 + 200 | 0;
+ i52 = i1 + 240 | 0;
+ HEAPF32[i53 >> 2] = +HEAPF32[i52 >> 2];
+ do {
+ if ((i3 | 0) == 0) {
+ i57 = i7 | 0;
+ } else {
+ i1 = i7 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i3 >> 2] | 0) + 60 >> 2] & 127](i3, i1, i4, i6);
+ d31 = +HEAPF32[i53 >> 2];
+ if (d31 >= +HEAPF32[i52 >> 2]) {
+ i57 = i1;
+ break;
+ }
+ HEAPF32[i52 >> 2] = d31;
+ __ZN18btTriangleCallbackD2Ev(i1);
+ d20 = d31;
+ STACKTOP = i5;
+ return +d20;
+ }
+ } while (0);
+ __ZN18btTriangleCallbackD2Ev(i57);
+ d20 = 1.0;
+ STACKTOP = i5;
+ return +d20;
+}
+function __ZN25btSimulationIslandManager12buildIslandsEP12btDispatcherP16btCollisionWorld(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(504);
+ i4 = i1 + 28 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i5 | 0) < 0) {
+ i6 = i1 + 32 | 0;
+ i7 = i1 + 36 | 0;
+ if ((HEAP32[i6 >> 2] | 0) < 0) {
+ i8 = HEAP32[i7 >> 2] | 0;
+ i9 = i1 + 40 | 0;
+ if ((i8 | 0) != 0) {
+ if ((HEAP8[i9] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ HEAP32[i7 >> 2] = 0;
+ }
+ HEAP8[i9] = 1;
+ HEAP32[i7 >> 2] = 0;
+ HEAP32[i6 >> 2] = 0;
+ i10 = i5;
+ } else {
+ i10 = i5;
+ }
+ do {
+ i5 = (HEAP32[i7 >> 2] | 0) + (i10 << 2) | 0;
+ if ((i5 | 0) != 0) {
+ HEAP32[i5 >> 2] = 0;
+ }
+ i10 = i10 + 1 | 0;
+ } while ((i10 | 0) < 0);
+ }
+ HEAP32[i4 >> 2] = 0;
+ __ZN11btUnionFind11sortIslandsEv(i1 + 4 | 0);
+ i10 = HEAP32[i1 + 8 >> 2] | 0;
+ if ((i10 | 0) > 0) {
+ i7 = i1 + 16 | 0;
+ i5 = i3 + 16 | 0;
+ i3 = 0;
+ while (1) {
+ i6 = HEAP32[i7 >> 2] | 0;
+ i9 = HEAP32[i6 + (i3 << 3) >> 2] | 0;
+ i8 = i3;
+ while (1) {
+ i11 = i8 + 1 | 0;
+ if ((i11 | 0) >= (i10 | 0)) {
+ i12 = 0;
+ break;
+ }
+ if ((HEAP32[i6 + (i11 << 3) >> 2] | 0) == (i9 | 0)) {
+ i8 = i11;
+ } else {
+ i12 = 1;
+ break;
+ }
+ }
+ L212 : do {
+ if ((i3 | 0) < (i11 | 0)) {
+ i8 = HEAP32[i5 >> 2] | 0;
+ i13 = i3;
+ i14 = 1;
+ while (1) {
+ i15 = HEAP32[i8 + (HEAP32[i6 + (i13 << 3) + 4 >> 2] << 2) >> 2] | 0;
+ if ((HEAP32[i15 + 208 >> 2] | 0) == (i9 | 0)) {
+ i16 = HEAP32[i15 + 216 >> 2] | 0;
+ i17 = i14 & (i16 | 0) != 1 & (i16 | 0) != 4;
+ } else {
+ i17 = i14;
+ }
+ i16 = i13 + 1 | 0;
+ if ((i16 | 0) < (i11 | 0)) {
+ i13 = i16;
+ i14 = i17;
+ } else {
+ break;
+ }
+ }
+ if (i17) {
+ i14 = i3;
+ i13 = i6;
+ i16 = i8;
+ while (1) {
+ i15 = HEAP32[i16 + (HEAP32[i13 + (i14 << 3) + 4 >> 2] << 2) >> 2] | 0;
+ if ((HEAP32[i15 + 208 >> 2] | 0) == (i9 | 0)) {
+ __ZN17btCollisionObject18setActivationStateEi(i15, 2);
+ }
+ i15 = i14 + 1 | 0;
+ if ((i15 | 0) >= (i11 | 0)) {
+ break L212;
+ }
+ i14 = i15;
+ i13 = HEAP32[i7 >> 2] | 0;
+ i16 = HEAP32[i5 >> 2] | 0;
+ }
+ } else {
+ i18 = i3;
+ i19 = i6;
+ i20 = i8;
+ }
+ while (1) {
+ i16 = HEAP32[i20 + (HEAP32[i19 + (i18 << 3) + 4 >> 2] << 2) >> 2] | 0;
+ do {
+ if ((HEAP32[i16 + 208 >> 2] | 0) == (i9 | 0)) {
+ if ((HEAP32[i16 + 216 >> 2] | 0) != 2) {
+ break;
+ }
+ __ZN17btCollisionObject18setActivationStateEi(i16, 3);
+ HEAPF32[i16 + 220 >> 2] = 0.0;
+ }
+ } while (0);
+ i16 = i18 + 1 | 0;
+ if ((i16 | 0) >= (i11 | 0)) {
+ break L212;
+ }
+ i18 = i16;
+ i19 = HEAP32[i7 >> 2] | 0;
+ i20 = HEAP32[i5 >> 2] | 0;
+ }
+ }
+ } while (0);
+ if (i12) {
+ i3 = i11;
+ } else {
+ break;
+ }
+ }
+ }
+ i11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0;
+ if ((i11 | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ i3 = i2;
+ i12 = i1 + 64 | 0;
+ i5 = i2;
+ i20 = i1 + 32 | 0;
+ i7 = i1 + 36 | 0;
+ i19 = i1 + 40 | 0;
+ i1 = 0;
+ do {
+ i18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i3 >> 2] | 0) + 40 >> 2] & 63](i2, i1) | 0;
+ i17 = HEAP32[i18 + 1108 >> 2] | 0;
+ i10 = i17;
+ i9 = HEAP32[i18 + 1112 >> 2] | 0;
+ i6 = i9;
+ if ((i17 | 0) == 0) {
+ i21 = 230;
+ } else {
+ if ((HEAP32[i17 + 216 >> 2] | 0) == 2) {
+ i21 = 230;
+ } else {
+ i21 = 232;
+ }
+ }
+ do {
+ if ((i21 | 0) == 230) {
+ i21 = 0;
+ if ((i9 | 0) == 0) {
+ break;
+ }
+ if ((HEAP32[i9 + 216 >> 2] | 0) != 2) {
+ i21 = 232;
+ }
+ }
+ } while (0);
+ do {
+ if ((i21 | 0) == 232) {
+ i21 = 0;
+ do {
+ if ((HEAP32[i17 + 204 >> 2] & 2 | 0) != 0) {
+ if ((HEAP32[i17 + 216 >> 2] | 0) == 2) {
+ break;
+ }
+ __ZN17btCollisionObject8activateEb(i6, 0);
+ }
+ } while (0);
+ do {
+ if ((HEAP32[i9 + 204 >> 2] & 2 | 0) != 0) {
+ if ((HEAP32[i9 + 216 >> 2] | 0) == 2) {
+ break;
+ }
+ __ZN17btCollisionObject8activateEb(i10, 0);
+ }
+ } while (0);
+ if ((HEAP8[i12] | 0) == 0) {
+ break;
+ }
+ if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 31](i2, i10, i6) | 0)) {
+ break;
+ }
+ i8 = HEAP32[i4 >> 2] | 0;
+ do {
+ if ((i8 | 0) == (HEAP32[i20 >> 2] | 0)) {
+ i16 = (i8 | 0) == 0 ? 1 : i8 << 1;
+ if ((i8 | 0) >= (i16 | 0)) {
+ i22 = i8;
+ break;
+ }
+ if ((i16 | 0) == 0) {
+ i23 = 0;
+ i24 = i8;
+ } else {
+ i13 = __Z22btAlignedAllocInternalji(i16 << 2, 16) | 0;
+ i23 = i13;
+ i24 = HEAP32[i4 >> 2] | 0;
+ }
+ if ((i24 | 0) > 0) {
+ i13 = 0;
+ do {
+ i14 = i23 + (i13 << 2) | 0;
+ if ((i14 | 0) != 0) {
+ HEAP32[i14 >> 2] = HEAP32[(HEAP32[i7 >> 2] | 0) + (i13 << 2) >> 2];
+ }
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i24 | 0));
+ }
+ i13 = HEAP32[i7 >> 2] | 0;
+ if ((i13 | 0) == 0) {
+ i25 = i24;
+ } else {
+ if ((HEAP8[i19] | 0) == 0) {
+ i26 = i24;
+ } else {
+ __Z21btAlignedFreeInternalPv(i13);
+ i26 = HEAP32[i4 >> 2] | 0;
+ }
+ HEAP32[i7 >> 2] = 0;
+ i25 = i26;
+ }
+ HEAP8[i19] = 1;
+ HEAP32[i7 >> 2] = i23;
+ HEAP32[i20 >> 2] = i16;
+ i22 = i25;
+ } else {
+ i22 = i8;
+ }
+ } while (0);
+ i8 = (HEAP32[i7 >> 2] | 0) + (i22 << 2) | 0;
+ if ((i8 | 0) != 0) {
+ HEAP32[i8 >> 2] = i18;
+ }
+ HEAP32[i4 >> 2] = i22 + 1;
+ }
+ } while (0);
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i11 | 0));
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+}
+function __ZN16btManifoldResult15addContactPointERK9btVector3S2_f(i1, i2, i3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 280 | 0;
+ i6 = i5 | 0;
+ i7 = i1 + 4 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ if (+HEAPF32[i8 + 1124 >> 2] < d4) {
+ STACKTOP = i5;
+ return;
+ }
+ i9 = i1 + 136 | 0;
+ i10 = (HEAP32[i8 + 1108 >> 2] | 0) != (HEAP32[i9 >> 2] | 0);
+ d11 = +HEAPF32[i3 >> 2];
+ d12 = +HEAPF32[i2 >> 2] * d4 + d11;
+ d13 = +HEAPF32[i3 + 4 >> 2];
+ d14 = +HEAPF32[i2 + 4 >> 2] * d4 + d13;
+ d15 = +HEAPF32[i3 + 8 >> 2];
+ d16 = +HEAPF32[i2 + 8 >> 2] * d4 + d15;
+ if (i10) {
+ d17 = d12 - +HEAPF32[i1 + 120 >> 2];
+ d18 = d14 - +HEAPF32[i1 + 124 >> 2];
+ d19 = d16 - +HEAPF32[i1 + 128 >> 2];
+ d20 = d11 - +HEAPF32[i1 + 56 >> 2];
+ d21 = d13 - +HEAPF32[i1 + 60 >> 2];
+ d22 = d15 - +HEAPF32[i1 + 64 >> 2];
+ d23 = d20 * +HEAPF32[i1 + 8 >> 2] + d21 * +HEAPF32[i1 + 24 >> 2] + d22 * +HEAPF32[i1 + 40 >> 2];
+ d24 = d20 * +HEAPF32[i1 + 12 >> 2] + d21 * +HEAPF32[i1 + 28 >> 2] + d22 * +HEAPF32[i1 + 44 >> 2];
+ d25 = d20 * +HEAPF32[i1 + 16 >> 2] + d21 * +HEAPF32[i1 + 32 >> 2] + d22 * +HEAPF32[i1 + 48 >> 2];
+ d26 = d17 * +HEAPF32[i1 + 72 >> 2] + d18 * +HEAPF32[i1 + 88 >> 2] + d19 * +HEAPF32[i1 + 104 >> 2];
+ d27 = d17 * +HEAPF32[i1 + 76 >> 2] + d18 * +HEAPF32[i1 + 92 >> 2] + d19 * +HEAPF32[i1 + 108 >> 2];
+ d28 = d17 * +HEAPF32[i1 + 80 >> 2] + d18 * +HEAPF32[i1 + 96 >> 2] + d19 * +HEAPF32[i1 + 112 >> 2];
+ } else {
+ d19 = d12 - +HEAPF32[i1 + 56 >> 2];
+ d18 = d14 - +HEAPF32[i1 + 60 >> 2];
+ d17 = d16 - +HEAPF32[i1 + 64 >> 2];
+ d22 = d11 - +HEAPF32[i1 + 120 >> 2];
+ d11 = d13 - +HEAPF32[i1 + 124 >> 2];
+ d13 = d15 - +HEAPF32[i1 + 128 >> 2];
+ d23 = d22 * +HEAPF32[i1 + 72 >> 2] + d11 * +HEAPF32[i1 + 88 >> 2] + d13 * +HEAPF32[i1 + 104 >> 2];
+ d24 = d22 * +HEAPF32[i1 + 76 >> 2] + d11 * +HEAPF32[i1 + 92 >> 2] + d13 * +HEAPF32[i1 + 108 >> 2];
+ d25 = d22 * +HEAPF32[i1 + 80 >> 2] + d11 * +HEAPF32[i1 + 96 >> 2] + d13 * +HEAPF32[i1 + 112 >> 2];
+ d26 = d19 * +HEAPF32[i1 + 8 >> 2] + d18 * +HEAPF32[i1 + 24 >> 2] + d17 * +HEAPF32[i1 + 40 >> 2];
+ d27 = d19 * +HEAPF32[i1 + 12 >> 2] + d18 * +HEAPF32[i1 + 28 >> 2] + d17 * +HEAPF32[i1 + 44 >> 2];
+ d28 = d19 * +HEAPF32[i1 + 16 >> 2] + d18 * +HEAPF32[i1 + 32 >> 2] + d17 * +HEAPF32[i1 + 48 >> 2];
+ }
+ HEAPF32[i6 >> 2] = d26;
+ HEAPF32[i6 + 4 >> 2] = d27;
+ HEAPF32[i6 + 8 >> 2] = d28;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ HEAPF32[i6 + 16 >> 2] = d23;
+ HEAPF32[i6 + 20 >> 2] = d24;
+ HEAPF32[i6 + 24 >> 2] = d25;
+ HEAPF32[i6 + 28 >> 2] = 0.0;
+ i29 = i6 + 64 | 0;
+ i30 = i2;
+ HEAP32[i29 >> 2] = HEAP32[i30 >> 2];
+ HEAP32[i29 + 4 >> 2] = HEAP32[i30 + 4 >> 2];
+ HEAP32[i29 + 8 >> 2] = HEAP32[i30 + 8 >> 2];
+ HEAP32[i29 + 12 >> 2] = HEAP32[i30 + 12 >> 2];
+ HEAPF32[i6 + 80 >> 2] = d4;
+ i30 = i6 + 84 | 0;
+ HEAPF32[i30 >> 2] = 0.0;
+ i29 = i6 + 88 | 0;
+ HEAPF32[i29 >> 2] = 0.0;
+ HEAP32[i6 + 108 >> 2] = 0;
+ HEAPF32[i6 + 112 >> 2] = 0.0;
+ HEAP8[i6 + 116 | 0] = 0;
+ HEAPF32[i6 + 208 >> 2] = 0.0;
+ HEAPF32[i6 + 240 >> 2] = 0.0;
+ HEAPF32[i6 + 272 >> 2] = 0.0;
+ _memset(i6 + 120 | 0, 0, 28);
+ HEAPF32[i6 + 48 >> 2] = d12;
+ HEAPF32[i6 + 52 >> 2] = d14;
+ HEAPF32[i6 + 56 >> 2] = d16;
+ HEAPF32[i6 + 60 >> 2] = 0.0;
+ i2 = i6 + 32 | 0;
+ i31 = i3;
+ HEAP32[i2 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ i31 = __ZNK20btPersistentManifold13getCacheEntryERK15btManifoldPoint(i8, i6) | 0;
+ i8 = HEAP32[i9 >> 2] | 0;
+ i2 = i1 + 140 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ d16 = +HEAPF32[i8 + 224 >> 2] * +HEAPF32[i3 + 224 >> 2];
+ d14 = d16 < -10.0 ? -10.0 : d16;
+ HEAPF32[i30 >> 2] = d14 > 10.0 ? 10.0 : d14;
+ HEAPF32[i29 >> 2] = +HEAPF32[i8 + 228 >> 2] * +HEAPF32[i3 + 228 >> 2];
+ if (i10) {
+ HEAP32[i6 + 92 >> 2] = HEAP32[i1 + 148 >> 2];
+ HEAP32[i6 + 96 >> 2] = HEAP32[i1 + 144 >> 2];
+ HEAP32[i6 + 100 >> 2] = HEAP32[i1 + 156 >> 2];
+ HEAP32[i6 + 104 >> 2] = HEAP32[i1 + 152 >> 2];
+ } else {
+ HEAP32[i6 + 92 >> 2] = HEAP32[i1 + 144 >> 2];
+ HEAP32[i6 + 96 >> 2] = HEAP32[i1 + 148 >> 2];
+ HEAP32[i6 + 100 >> 2] = HEAP32[i1 + 152 >> 2];
+ HEAP32[i6 + 104 >> 2] = HEAP32[i1 + 156 >> 2];
+ }
+ i1 = HEAP32[i7 >> 2] | 0;
+ if ((i31 | 0) > -1) {
+ i3 = i1 + 4 + (i31 * 276 | 0) + 144 | 0;
+ i8 = HEAP32[i3 >> 2] | 0;
+ i29 = i1 + 4 + (i31 * 276 | 0) + 208 | 0;
+ d14 = +HEAPF32[i29 >> 2];
+ i30 = i1 + 4 + (i31 * 276 | 0) + 240 | 0;
+ d16 = +HEAPF32[i30 >> 2];
+ i32 = i1 + 4 + (i31 * 276 | 0) + 272 | 0;
+ d12 = +HEAPF32[i32 >> 2];
+ i33 = i1 + 4 + (i31 * 276 | 0) + 108 | 0;
+ i34 = HEAP32[i33 >> 2] | 0;
+ i35 = i1 + 4 + (i31 * 276 | 0) | 0;
+ i36 = i6;
+ _memcpy(i35 | 0, i36 | 0, 276) | 0;
+ HEAP32[i33 >> 2] = i34;
+ HEAPF32[i1 + 4 + (i31 * 276 | 0) + 112 >> 2] = d14;
+ HEAPF32[i1 + 4 + (i31 * 276 | 0) + 120 >> 2] = d16;
+ HEAPF32[i1 + 4 + (i31 * 276 | 0) + 124 >> 2] = d12;
+ HEAPF32[i29 >> 2] = d14;
+ HEAPF32[i30 >> 2] = d16;
+ HEAPF32[i32 >> 2] = d12;
+ HEAP32[i3 >> 2] = i8;
+ i37 = i31;
+ } else {
+ i37 = __ZN20btPersistentManifold16addManifoldPointERK15btManifoldPoint(i1, i6) | 0;
+ }
+ i1 = HEAP32[3010] | 0;
+ if ((i1 | 0) == 0) {
+ STACKTOP = i5;
+ return;
+ }
+ do {
+ if ((HEAP32[(HEAP32[i9 >> 2] | 0) + 204 >> 2] & 8 | 0) == 0) {
+ if ((HEAP32[(HEAP32[i2 >> 2] | 0) + 204 >> 2] & 8 | 0) != 0) {
+ break;
+ }
+ STACKTOP = i5;
+ return;
+ }
+ } while (0);
+ FUNCTION_TABLE_iiiiiiii[i1 & 1]((HEAP32[i7 >> 2] | 0) + 4 + (i37 * 276 | 0) | 0, HEAP32[(i10 ? i2 : i9) >> 2] | 0, HEAP32[i6 + 92 >> 2] | 0, HEAP32[i6 + 100 >> 2] | 0, HEAP32[(i10 ? i9 : i2) >> 2] | 0, HEAP32[i6 + 96 >> 2] | 0, HEAP32[i6 + 104 >> 2] | 0) | 0;
+ STACKTOP = i5;
+ return;
+}
+function __ZN16btDbvtBroadphase7collideEP12btDispatcher(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 48 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 32 | 0;
+ i6 = i1 + 4 | 0;
+ i7 = i6 | 0;
+ __ZN6btDbvt19optimizeIncrementalEi(i7, ((Math_imul(HEAP32[i1 + 112 >> 2] | 0, HEAP32[i1 + 16 >> 2] | 0) | 0) / 100 | 0) + 1 | 0);
+ i8 = i1 + 124 | 0;
+ if ((HEAP32[i8 >> 2] | 0) != 0) {
+ i9 = ((Math_imul(HEAP32[i1 + 108 >> 2] | 0, HEAP32[i1 + 56 >> 2] | 0) | 0) / 100 | 0) + 1 | 0;
+ __ZN6btDbvt19optimizeIncrementalEi(i1 + 44 | 0, i9);
+ i10 = (HEAP32[i8 >> 2] | 0) - i9 | 0;
+ HEAP32[i8 >> 2] = (i10 | 0) < 0 ? 0 : i10;
+ }
+ i10 = i1 + 104 | 0;
+ i9 = ((HEAP32[i10 >> 2] | 0) + 1 | 0) % 2 | 0;
+ HEAP32[i10 >> 2] = i9;
+ i10 = HEAP32[i1 + 84 + (i9 << 2) >> 2] | 0;
+ if ((i10 | 0) != 0) {
+ i9 = i1 + 92 | 0;
+ i11 = i4;
+ i12 = i4 + 16 | 0;
+ i13 = i1 + 44 | 0;
+ i14 = i10;
+ while (1) {
+ i10 = i14 + 56 | 0;
+ i15 = HEAP32[i10 >> 2] | 0;
+ i16 = i14 + 60 | 0;
+ i17 = i14 + 52 | 0;
+ i18 = HEAP32[i17 >> 2] | 0;
+ if ((i18 | 0) == 0) {
+ HEAP32[i1 + 84 + (HEAP32[i16 >> 2] << 2) >> 2] = i15;
+ } else {
+ HEAP32[i18 + 56 >> 2] = i15;
+ }
+ i18 = HEAP32[i10 >> 2] | 0;
+ if ((i18 | 0) != 0) {
+ HEAP32[i18 + 52 >> 2] = HEAP32[i17 >> 2];
+ }
+ HEAP32[i17 >> 2] = 0;
+ HEAP32[i10 >> 2] = HEAP32[i9 >> 2];
+ i10 = HEAP32[i9 >> 2] | 0;
+ if ((i10 | 0) != 0) {
+ HEAP32[i10 + 52 >> 2] = i14;
+ }
+ HEAP32[i9 >> 2] = i14;
+ i10 = i14 + 48 | 0;
+ __ZN6btDbvt6removeEP10btDbvtNode(i7, HEAP32[i10 >> 2] | 0);
+ i17 = i14 + 16 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i17 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i17 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i17 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i17 + 12 >> 2];
+ i17 = i14 + 32 | 0;
+ HEAP32[i12 >> 2] = HEAP32[i17 >> 2];
+ HEAP32[i12 + 4 >> 2] = HEAP32[i17 + 4 >> 2];
+ HEAP32[i12 + 8 >> 2] = HEAP32[i17 + 8 >> 2];
+ HEAP32[i12 + 12 >> 2] = HEAP32[i17 + 12 >> 2];
+ HEAP32[i10 >> 2] = __ZN6btDbvt6insertERK12btDbvtAabbMmPv(i13, i4, i14) | 0;
+ HEAP32[i16 >> 2] = 2;
+ if ((i15 | 0) == 0) {
+ break;
+ } else {
+ i14 = i15;
+ }
+ }
+ HEAP32[i8 >> 2] = HEAP32[i1 + 56 >> 2];
+ HEAP8[i1 + 154 | 0] = 1;
+ }
+ HEAP32[i5 >> 2] = 4064;
+ HEAP32[i5 + 4 >> 2] = i1;
+ i8 = i1 + 153 | 0;
+ do {
+ if ((HEAP8[i8] | 0) != 0) {
+ i14 = i6 | 0;
+ i4 = i5 | 0;
+ __ZN6btDbvt24collideTTpersistentStackEPK10btDbvtNodeS2_RNS_8ICollideE(i7, HEAP32[i14 >> 2] | 0, HEAP32[i1 + 44 >> 2] | 0, i4);
+ if ((HEAP8[i8] | 0) == 0) {
+ break;
+ }
+ i13 = HEAP32[i14 >> 2] | 0;
+ __ZN6btDbvt24collideTTpersistentStackEPK10btDbvtNodeS2_RNS_8ICollideE(i7, i13, i13, i4);
+ }
+ } while (0);
+ i7 = i1 + 154 | 0;
+ L1067 : do {
+ if ((HEAP8[i7] | 0) != 0) {
+ i8 = i1 + 96 | 0;
+ i5 = HEAP32[i8 >> 2] | 0;
+ i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 127](i5) | 0;
+ i5 = i6 + 4 | 0;
+ i4 = HEAP32[i5 >> 2] | 0;
+ if ((i4 | 0) <= 0) {
+ break;
+ }
+ i13 = (Math_imul(HEAP32[i1 + 116 >> 2] | 0, i4) | 0) / 100 | 0;
+ i14 = HEAP32[i1 + 120 >> 2] | 0;
+ i12 = (i14 | 0) > (i13 | 0) ? i14 : i13;
+ i13 = (i4 | 0) < (i12 | 0) ? i4 : i12;
+ i12 = i1 + 144 | 0;
+ do {
+ if ((i13 | 0) > 0) {
+ i14 = i6 + 12 | 0;
+ i11 = i13;
+ i9 = 0;
+ i15 = i4;
+ while (1) {
+ i16 = ((HEAP32[i12 >> 2] | 0) + i9 | 0) % (i15 | 0) | 0;
+ i10 = HEAP32[i14 >> 2] | 0;
+ i17 = HEAP32[i10 + (i16 << 4) >> 2] | 0;
+ i18 = HEAP32[i10 + (i16 << 4) + 4 >> 2] | 0;
+ i16 = HEAP32[i17 + 48 >> 2] | 0;
+ i10 = HEAP32[i18 + 48 >> 2] | 0;
+ do {
+ if (+HEAPF32[i16 >> 2] > +HEAPF32[i10 + 16 >> 2]) {
+ i19 = 976;
+ } else {
+ if (+HEAPF32[i16 + 16 >> 2] < +HEAPF32[i10 >> 2]) {
+ i19 = 976;
+ break;
+ }
+ if (+HEAPF32[i16 + 4 >> 2] > +HEAPF32[i10 + 20 >> 2]) {
+ i19 = 976;
+ break;
+ }
+ if (+HEAPF32[i16 + 20 >> 2] < +HEAPF32[i10 + 4 >> 2]) {
+ i19 = 976;
+ break;
+ }
+ if (+HEAPF32[i16 + 8 >> 2] > +HEAPF32[i10 + 24 >> 2]) {
+ i19 = 976;
+ break;
+ }
+ if (+HEAPF32[i16 + 24 >> 2] < +HEAPF32[i10 + 8 >> 2]) {
+ i19 = 976;
+ } else {
+ i20 = i9;
+ i21 = i11;
+ i22 = i15;
+ }
+ }
+ } while (0);
+ if ((i19 | 0) == 976) {
+ i19 = 0;
+ i10 = HEAP32[i8 >> 2] | 0;
+ i16 = i10 | 0;
+ i23 = HEAP32[(HEAP32[i10 >> 2] | 0) + 12 >> 2] | 0;
+ FUNCTION_TABLE_iiiii[i23 & 31](i16, i17, i18, i2) | 0;
+ i20 = i9 - 1 | 0;
+ i21 = i11 - 1 | 0;
+ i22 = HEAP32[i5 >> 2] | 0;
+ }
+ i16 = i20 + 1 | 0;
+ if ((i16 | 0) < (i21 | 0)) {
+ i11 = i21;
+ i9 = i16;
+ i15 = i22;
+ } else {
+ break;
+ }
+ }
+ if ((i22 | 0) > 0) {
+ i24 = i22;
+ i25 = i21;
+ break;
+ }
+ HEAP32[i12 >> 2] = 0;
+ break L1067;
+ } else {
+ i24 = i4;
+ i25 = i13;
+ }
+ } while (0);
+ HEAP32[i12 >> 2] = ((HEAP32[i12 >> 2] | 0) + i25 | 0) % (i24 | 0) | 0;
+ }
+ } while (0);
+ i24 = i1 + 140 | 0;
+ HEAP32[i24 >> 2] = (HEAP32[i24 >> 2] | 0) + 1;
+ HEAP32[i1 + 120 >> 2] = 1;
+ HEAP8[i7] = 0;
+ i7 = i1 + 128 | 0;
+ i24 = HEAP32[i7 >> 2] | 0;
+ if ((i24 | 0) == 0) {
+ HEAPF32[i1 + 136 >> 2] = 0.0;
+ i26 = HEAP32[i1 + 132 >> 2] | 0;
+ i27 = i1 + 132 | 0;
+ i28 = i26 >>> 1;
+ HEAP32[i27 >> 2] = i28;
+ i29 = i24 >>> 1;
+ HEAP32[i7 >> 2] = i29;
+ STACKTOP = i3;
+ return;
+ } else {
+ i25 = HEAP32[i1 + 132 >> 2] | 0;
+ HEAPF32[i1 + 136 >> 2] = +(i25 >>> 0 >>> 0) / +(i24 >>> 0 >>> 0);
+ i26 = i25;
+ i27 = i1 + 132 | 0;
+ i28 = i26 >>> 1;
+ HEAP32[i27 >> 2] = i28;
+ i29 = i24 >>> 1;
+ HEAP32[i7 >> 2] = i29;
+ STACKTOP = i3;
+ return;
+ }
+}
+function __ZN6btDbvt24collideTTpersistentStackEPK10btDbvtNodeS2_RNS_8ICollideE(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0;
+ if ((i2 | 0) == 0 | (i3 | 0) == 0) {
+ return;
+ }
+ i5 = i1 + 24 | 0;
+ i6 = i1 + 28 | 0;
+ do {
+ if ((HEAP32[i5 >> 2] | 0) < 128) {
+ if ((HEAP32[i6 >> 2] | 0) >= 128) {
+ break;
+ }
+ i7 = __Z22btAlignedAllocInternalji(1024, 16) | 0;
+ i8 = HEAP32[i5 >> 2] | 0;
+ i9 = i1 + 32 | 0;
+ if ((i8 | 0) > 0) {
+ i10 = 0;
+ do {
+ i11 = i7 + (i10 << 3) | 0;
+ if ((i11 | 0) != 0) {
+ i12 = (HEAP32[i9 >> 2] | 0) + (i10 << 3) | 0;
+ i13 = i11;
+ i11 = HEAP32[i12 + 4 >> 2] | 0;
+ HEAP32[i13 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i13 + 4 >> 2] = i11;
+ }
+ i10 = i10 + 1 | 0;
+ } while ((i10 | 0) < (i8 | 0));
+ }
+ i8 = HEAP32[i9 >> 2] | 0;
+ i10 = i1 + 36 | 0;
+ if ((i8 | 0) != 0) {
+ if ((HEAP8[i10] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ HEAP32[i9 >> 2] = 0;
+ }
+ HEAP8[i10] = 1;
+ HEAP32[i9 >> 2] = i7;
+ HEAP32[i6 >> 2] = 128;
+ }
+ } while (0);
+ HEAP32[i5 >> 2] = 128;
+ i10 = i1 + 32 | 0;
+ i8 = HEAP32[i10 >> 2] | 0;
+ HEAP32[i8 >> 2] = i2;
+ HEAP32[i8 + 4 >> 2] = i3;
+ i3 = i1 + 36 | 0;
+ i1 = i4;
+ i8 = 1;
+ i2 = 124;
+ while (1) {
+ i11 = i8 - 1 | 0;
+ i13 = HEAP32[i10 >> 2] | 0;
+ i12 = HEAP32[i13 + (i11 << 3) >> 2] | 0;
+ i14 = HEAP32[i13 + (i11 << 3) + 4 >> 2] | 0;
+ if ((i11 | 0) > (i2 | 0)) {
+ i15 = HEAP32[i5 >> 2] | 0;
+ i16 = i15 << 1;
+ do {
+ if ((i15 | 0) < (i16 | 0)) {
+ if ((HEAP32[i6 >> 2] | 0) >= (i16 | 0)) {
+ i17 = i13;
+ break;
+ }
+ if ((i16 | 0) == 0) {
+ i18 = 0;
+ i19 = i15;
+ } else {
+ i20 = __Z22btAlignedAllocInternalji(i15 << 4, 16) | 0;
+ i18 = i20;
+ i19 = HEAP32[i5 >> 2] | 0;
+ }
+ if ((i19 | 0) > 0) {
+ i20 = 0;
+ do {
+ i21 = i18 + (i20 << 3) | 0;
+ if ((i21 | 0) != 0) {
+ i22 = (HEAP32[i10 >> 2] | 0) + (i20 << 3) | 0;
+ i23 = i21;
+ i21 = HEAP32[i22 + 4 >> 2] | 0;
+ HEAP32[i23 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i23 + 4 >> 2] = i21;
+ }
+ i20 = i20 + 1 | 0;
+ } while ((i20 | 0) < (i19 | 0));
+ }
+ i20 = HEAP32[i10 >> 2] | 0;
+ if ((i20 | 0) != 0) {
+ if ((HEAP8[i3] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i20);
+ }
+ HEAP32[i10 >> 2] = 0;
+ }
+ HEAP8[i3] = 1;
+ HEAP32[i10 >> 2] = i18;
+ HEAP32[i6 >> 2] = i16;
+ i17 = i18;
+ } else {
+ i17 = i13;
+ }
+ } while (0);
+ HEAP32[i5 >> 2] = i16;
+ i24 = i16 - 4 | 0;
+ i25 = i17;
+ } else {
+ i24 = i2;
+ i25 = i13;
+ }
+ do {
+ if ((i12 | 0) == (i14 | 0)) {
+ i15 = i12 + 40 | 0;
+ if ((HEAP32[i15 >> 2] | 0) == 0) {
+ i26 = i11;
+ break;
+ }
+ i7 = i12 + 36 | 0;
+ i9 = i25 + (i11 << 3) | 0;
+ i20 = HEAP32[i7 >> 2] | 0;
+ HEAP32[i9 >> 2] = i20;
+ HEAP32[i9 + 4 >> 2] = i20;
+ i20 = (HEAP32[i10 >> 2] | 0) + (i8 << 3) | 0;
+ i9 = HEAP32[i15 >> 2] | 0;
+ HEAP32[i20 >> 2] = i9;
+ HEAP32[i20 + 4 >> 2] = i9;
+ i9 = (HEAP32[i10 >> 2] | 0) + (i8 + 1 << 3) | 0;
+ i20 = HEAP32[i15 >> 2] | 0;
+ HEAP32[i9 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i9 + 4 >> 2] = i20;
+ i26 = i8 + 2 | 0;
+ } else {
+ if (+HEAPF32[i12 >> 2] > +HEAPF32[i14 + 16 >> 2]) {
+ i26 = i11;
+ break;
+ }
+ if (+HEAPF32[i12 + 16 >> 2] < +HEAPF32[i14 >> 2]) {
+ i26 = i11;
+ break;
+ }
+ if (+HEAPF32[i12 + 4 >> 2] > +HEAPF32[i14 + 20 >> 2]) {
+ i26 = i11;
+ break;
+ }
+ if (+HEAPF32[i12 + 20 >> 2] < +HEAPF32[i14 + 4 >> 2]) {
+ i26 = i11;
+ break;
+ }
+ if (+HEAPF32[i12 + 8 >> 2] > +HEAPF32[i14 + 24 >> 2]) {
+ i26 = i11;
+ break;
+ }
+ if (+HEAPF32[i12 + 24 >> 2] < +HEAPF32[i14 + 8 >> 2]) {
+ i26 = i11;
+ break;
+ }
+ i20 = i12 + 40 | 0;
+ i9 = i14 + 40 | 0;
+ i7 = (HEAP32[i9 >> 2] | 0) != 0;
+ if ((HEAP32[i20 >> 2] | 0) == 0) {
+ if (i7) {
+ i15 = i25 + (i11 << 3) | 0;
+ i21 = i12;
+ i23 = 0;
+ i22 = HEAP32[i14 + 36 >> 2] | i23;
+ HEAP32[i15 >> 2] = i21;
+ HEAP32[i15 + 4 >> 2] = i22;
+ i22 = (HEAP32[i10 >> 2] | 0) + (i8 << 3) | 0;
+ i15 = HEAP32[i9 >> 2] | i23;
+ HEAP32[i22 >> 2] = i21;
+ HEAP32[i22 + 4 >> 2] = i15;
+ i26 = i8 + 1 | 0;
+ break;
+ } else {
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 127](i4, i12, i14);
+ i26 = i11;
+ break;
+ }
+ } else {
+ i15 = i25 + (i11 << 3) | 0;
+ i22 = i12 + 36 | 0;
+ i21 = HEAP32[i22 >> 2] | 0;
+ if (i7) {
+ i7 = i14 + 36 | 0;
+ i23 = i15;
+ i27 = HEAP32[i7 >> 2] | 0;
+ HEAP32[i23 >> 2] = i21;
+ HEAP32[i23 + 4 >> 2] = i27;
+ i27 = (HEAP32[i10 >> 2] | 0) + (i8 << 3) | 0;
+ i23 = HEAP32[i7 >> 2] | 0;
+ HEAP32[i27 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i27 + 4 >> 2] = i23;
+ i23 = (HEAP32[i10 >> 2] | 0) + (i8 + 1 << 3) | 0;
+ i27 = HEAP32[i9 >> 2] | 0;
+ HEAP32[i23 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i23 + 4 >> 2] = i27;
+ i27 = (HEAP32[i10 >> 2] | 0) + (i8 + 2 << 3) | 0;
+ i23 = HEAP32[i9 >> 2] | 0;
+ HEAP32[i27 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i27 + 4 >> 2] = i23;
+ i26 = i8 + 3 | 0;
+ break;
+ } else {
+ i23 = i15;
+ i15 = 0;
+ i27 = i14;
+ HEAP32[i23 >> 2] = i21 | i15;
+ HEAP32[i23 + 4 >> 2] = i27;
+ i23 = (HEAP32[i10 >> 2] | 0) + (i8 << 3) | 0;
+ HEAP32[i23 >> 2] = HEAP32[i20 >> 2] | i15;
+ HEAP32[i23 + 4 >> 2] = i27;
+ i26 = i8 + 1 | 0;
+ break;
+ }
+ }
+ }
+ } while (0);
+ if ((i26 | 0) == 0) {
+ break;
+ } else {
+ i8 = i26;
+ i2 = i24;
+ }
+ }
+ return;
+}
+function __ZN25btSimulationIslandManager22buildAndProcessIslandsEP12btDispatcherP16btCollisionWorldPNS_14IslandCallbackE(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ __ZN25btSimulationIslandManager12buildIslandsEP12btDispatcherP16btCollisionWorld(i1, i2, i3);
+ i6 = HEAP32[i1 + 8 >> 2] | 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(784);
+ if ((HEAP8[i1 + 64 | 0] | 0) == 0) {
+ i7 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 44 >> 2] & 127](i2) | 0;
+ i8 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0;
+ FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i4 >> 2] | 0) + 8 >> 2] & 15](i4, HEAP32[i3 + 16 >> 2] | 0, HEAP32[i3 + 8 >> 2] | 0, i7, i8, -1);
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i5;
+ return;
+ }
+ i8 = HEAP32[i1 + 28 >> 2] | 0;
+ if ((i8 | 0) > 1) {
+ __ZN20btAlignedObjectArrayIP20btPersistentManifoldE17quickSortInternalI33btPersistentManifoldSortPredicateEEvT_ii(i1 + 24 | 0, i5 | 0, 0, i8 - 1 | 0);
+ }
+ if ((i6 | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i5;
+ return;
+ }
+ i7 = i1 + 16 | 0;
+ i2 = i1 + 36 | 0;
+ i9 = i1 + 48 | 0;
+ i10 = i1 + 52 | 0;
+ i11 = i1 + 56 | 0;
+ i12 = i1 + 60 | 0;
+ i1 = i4;
+ i13 = i3 + 16 | 0;
+ i3 = 1;
+ i14 = 0;
+ i15 = 0;
+ while (1) {
+ i16 = HEAP32[i7 >> 2] | 0;
+ i17 = HEAP32[i16 + (i15 << 3) >> 2] | 0;
+ L304 : do {
+ if ((i15 | 0) < (i6 | 0)) {
+ i18 = i16;
+ i19 = i15;
+ i20 = 1;
+ i21 = HEAP32[i9 >> 2] | 0;
+ i22 = HEAP32[i10 >> 2] | 0;
+ while (1) {
+ i23 = HEAP32[(HEAP32[i13 >> 2] | 0) + (HEAP32[i18 + (i19 << 3) + 4 >> 2] << 2) >> 2] | 0;
+ do {
+ if ((i21 | 0) == (i22 | 0)) {
+ i24 = (i22 | 0) == 0 ? 1 : i22 << 1;
+ if ((i22 | 0) >= (i24 | 0)) {
+ i25 = i22;
+ i26 = i22;
+ break;
+ }
+ if ((i24 | 0) == 0) {
+ i27 = 0;
+ i28 = i22;
+ } else {
+ i29 = __Z22btAlignedAllocInternalji(i24 << 2, 16) | 0;
+ i27 = i29;
+ i28 = HEAP32[i9 >> 2] | 0;
+ }
+ if ((i28 | 0) > 0) {
+ i29 = 0;
+ do {
+ i30 = i27 + (i29 << 2) | 0;
+ if ((i30 | 0) != 0) {
+ HEAP32[i30 >> 2] = HEAP32[(HEAP32[i11 >> 2] | 0) + (i29 << 2) >> 2];
+ }
+ i29 = i29 + 1 | 0;
+ } while ((i29 | 0) < (i28 | 0));
+ }
+ i29 = HEAP32[i11 >> 2] | 0;
+ if ((i29 | 0) == 0) {
+ i31 = i28;
+ } else {
+ if ((HEAP8[i12] | 0) == 0) {
+ i32 = i28;
+ } else {
+ __Z21btAlignedFreeInternalPv(i29);
+ i32 = HEAP32[i9 >> 2] | 0;
+ }
+ HEAP32[i11 >> 2] = 0;
+ i31 = i32;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i11 >> 2] = i27;
+ HEAP32[i10 >> 2] = i24;
+ i25 = i31;
+ i26 = i24;
+ } else {
+ i25 = i21;
+ i26 = i22;
+ }
+ } while (0);
+ i29 = (HEAP32[i11 >> 2] | 0) + (i25 << 2) | 0;
+ if ((i29 | 0) != 0) {
+ HEAP32[i29 >> 2] = i23;
+ }
+ i29 = i25 + 1 | 0;
+ HEAP32[i9 >> 2] = i29;
+ i30 = HEAP32[i23 + 216 >> 2] | 0;
+ i33 = i20 & ((i30 | 0) == 2 | (i30 | 0) == 5);
+ i30 = i19 + 1 | 0;
+ if ((i30 | 0) >= (i6 | 0)) {
+ i34 = i33;
+ i35 = i30;
+ break L304;
+ }
+ i36 = HEAP32[i7 >> 2] | 0;
+ if ((HEAP32[i36 + (i30 << 3) >> 2] | 0) == (i17 | 0)) {
+ i18 = i36;
+ i19 = i30;
+ i20 = i33;
+ i21 = i29;
+ i22 = i26;
+ } else {
+ i34 = i33;
+ i35 = i30;
+ break;
+ }
+ }
+ } else {
+ i34 = 1;
+ i35 = i15;
+ }
+ } while (0);
+ do {
+ if ((i14 | 0) < (i8 | 0)) {
+ i16 = HEAP32[i2 >> 2] | 0;
+ i22 = i16 + (i14 << 2) | 0;
+ i21 = HEAP32[i22 >> 2] | 0;
+ i20 = HEAP32[(HEAP32[i21 + 1108 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i20 | 0) > -1) {
+ i37 = i20;
+ } else {
+ i37 = HEAP32[(HEAP32[i21 + 1112 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ if ((i37 | 0) == (i17 | 0)) {
+ i38 = i14;
+ } else {
+ i39 = 0;
+ i40 = 0;
+ i41 = i3;
+ break;
+ }
+ do {
+ i38 = i38 + 1 | 0;
+ if ((i38 | 0) >= (i8 | 0)) {
+ break;
+ }
+ i21 = HEAP32[i16 + (i38 << 2) >> 2] | 0;
+ i20 = HEAP32[(HEAP32[i21 + 1108 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i20 | 0) > -1) {
+ i42 = i20;
+ } else {
+ i42 = HEAP32[(HEAP32[i21 + 1112 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ } while ((i17 | 0) == (i42 | 0));
+ i39 = i22;
+ i40 = i38 - i14 | 0;
+ i41 = i38;
+ } else {
+ i39 = 0;
+ i40 = 0;
+ i41 = i3;
+ }
+ } while (0);
+ if (!i34) {
+ FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 15](i4, HEAP32[i11 >> 2] | 0, HEAP32[i9 >> 2] | 0, i39, i40, i17);
+ }
+ i16 = (i40 | 0) == 0 ? i14 : i41;
+ i21 = HEAP32[i9 >> 2] | 0;
+ if ((i21 | 0) < 0) {
+ if ((HEAP32[i10 >> 2] | 0) < 0) {
+ i20 = HEAP32[i11 >> 2] | 0;
+ if ((i20 | 0) != 0) {
+ if ((HEAP8[i12] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i20);
+ }
+ HEAP32[i11 >> 2] = 0;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i11 >> 2] = 0;
+ HEAP32[i10 >> 2] = 0;
+ i43 = i21;
+ } else {
+ i43 = i21;
+ }
+ do {
+ i21 = (HEAP32[i11 >> 2] | 0) + (i43 << 2) | 0;
+ if ((i21 | 0) != 0) {
+ HEAP32[i21 >> 2] = 0;
+ }
+ i43 = i43 + 1 | 0;
+ } while ((i43 | 0) < 0);
+ }
+ HEAP32[i9 >> 2] = 0;
+ if ((i35 | 0) < (i6 | 0)) {
+ i3 = i41;
+ i14 = i16;
+ i15 = i35;
+ } else {
+ break;
+ }
+ }
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i5;
+ return;
+}
+function __ZN20btConvexHullInternal4DMulINS_6Int128EyE3mulES1_S1_RS1_S3_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0;
+ i5 = STACKTOP;
+ i6 = i1;
+ i1 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ HEAP32[i1 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i6 = i2;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i6 = i1 | 0;
+ i7 = HEAP32[i6 + 4 >> 2] | 0;
+ i8 = i1 + 8 | 0;
+ i1 = i2 | 0;
+ i9 = HEAP32[i1 + 4 >> 2] | 0;
+ i10 = i2 + 8 | 0;
+ i2 = HEAP32[i6 >> 2] | 0;
+ i6 = i7 & 0;
+ i11 = HEAP32[i1 >> 2] | 0;
+ i1 = i9 & 0;
+ i12 = ___muldi3(i11, i1, i2, i6) | 0;
+ i13 = tempRet0;
+ i14 = i9;
+ i9 = 0;
+ i15 = ___muldi3(i14, i9, i2, i6) | 0;
+ i16 = tempRet0;
+ i17 = i7;
+ i7 = 0;
+ i18 = ___muldi3(i11, i1, i17, i7) | 0;
+ i19 = tempRet0;
+ i20 = ___muldi3(i14, i9, i17, i7) | 0;
+ i21 = tempRet0;
+ i22 = _i64Add(i15 | 0, i16 & 0, i18 | 0, i19 & 0) | 0;
+ i18 = tempRet0;
+ i15 = _i64Add(i16, 0, i20, i21) | 0;
+ i21 = _i64Add(i15, tempRet0, i19, 0) | 0;
+ i19 = tempRet0;
+ i15 = _llvm_uadd_with_overflow_i64(i12 | 0, i13 | 0, 0, i22 | 0) | 0;
+ i22 = i15;
+ i15 = tempRet0;
+ i13 = _i64Add(i21, i19, tempRet1 & 1, 0) | 0;
+ i19 = _i64Add(i13, tempRet0, i18, 0) | 0;
+ i18 = tempRet0;
+ i13 = HEAP32[i10 + 4 >> 2] | 0;
+ i21 = HEAP32[i10 >> 2] | 0;
+ i10 = i13 & 0;
+ i12 = ___muldi3(i21, i10, i2, i6) | 0;
+ i20 = tempRet0;
+ i16 = i13;
+ i13 = 0;
+ i23 = ___muldi3(i16, i13, i2, i6) | 0;
+ i6 = tempRet0;
+ i2 = ___muldi3(i21, i10, i17, i7) | 0;
+ i24 = tempRet0;
+ i25 = ___muldi3(i16, i13, i17, i7) | 0;
+ i7 = tempRet0;
+ i17 = _i64Add(i23 | 0, i6 & 0, i2 | 0, i24 & 0) | 0;
+ i2 = tempRet0;
+ i23 = _i64Add(i6, 0, i25, i7) | 0;
+ i7 = _i64Add(i23, tempRet0, i24, 0) | 0;
+ i24 = tempRet0;
+ i23 = _llvm_uadd_with_overflow_i64(i12 | 0, i20 | 0, 0, i17 | 0) | 0;
+ i17 = tempRet0;
+ i20 = _i64Add(i7, i24, tempRet1 & 1, 0) | 0;
+ i24 = _i64Add(i20, tempRet0, i2, 0) | 0;
+ i2 = tempRet0;
+ i20 = HEAP32[i8 + 4 >> 2] | 0;
+ i7 = HEAP32[i8 >> 2] | 0;
+ i8 = i20 & 0;
+ i12 = ___muldi3(i7, i8, i11, i1) | 0;
+ i25 = tempRet0;
+ i6 = ___muldi3(i7, i8, i14, i9) | 0;
+ i26 = tempRet0;
+ i27 = i20;
+ i20 = 0;
+ i28 = ___muldi3(i27, i20, i11, i1) | 0;
+ i1 = tempRet0;
+ i11 = ___muldi3(i27, i20, i14, i9) | 0;
+ i9 = tempRet0;
+ i14 = _i64Add(i6 | 0, i26 & 0, i28 | 0, i1 & 0) | 0;
+ i28 = tempRet0;
+ i6 = _i64Add(i26, 0, i11, i9) | 0;
+ i9 = _i64Add(i6, tempRet0, i1, 0) | 0;
+ i1 = tempRet0;
+ i6 = _llvm_uadd_with_overflow_i64(i12 | 0, i25 | 0, 0, i14 | 0) | 0;
+ i14 = tempRet0;
+ i25 = _i64Add(i9, i1, tempRet1 & 1, 0) | 0;
+ i1 = _i64Add(i25, tempRet0, i28, 0) | 0;
+ i28 = tempRet0;
+ i25 = ___muldi3(i7, i8, i21, i10) | 0;
+ i9 = tempRet0;
+ i12 = ___muldi3(i7, i8, i16, i13) | 0;
+ i8 = tempRet0;
+ i7 = ___muldi3(i27, i20, i21, i10) | 0;
+ i10 = tempRet0;
+ i21 = ___muldi3(i27, i20, i16, i13) | 0;
+ i13 = tempRet0;
+ i16 = _i64Add(i12 | 0, i8 & 0, i7 | 0, i10 & 0) | 0;
+ i7 = tempRet0;
+ i12 = _i64Add(i8, 0, i21, i13) | 0;
+ i13 = _i64Add(i12, tempRet0, i10, 0) | 0;
+ i10 = tempRet0;
+ i12 = _llvm_uadd_with_overflow_i64(i25 | 0, i9 | 0, 0, i16 | 0) | 0;
+ i16 = tempRet0;
+ i9 = tempRet1 & 1;
+ i25 = _llvm_uadd_with_overflow_i64(i23 | 0, i17 | 0, i6 | 0, i14 | 0) | 0;
+ i14 = tempRet0;
+ i6 = tempRet1 & 1;
+ i17 = _llvm_uadd_with_overflow_i64(i12 | 0, i16 | 0, i24 | 0, i2 | 0) | 0;
+ i2 = tempRet1 & 1;
+ i24 = _llvm_uadd_with_overflow_i64(i17 | 0, tempRet0 | 0, i1 | 0, i28 | 0) | 0;
+ i28 = tempRet1 & 1;
+ i1 = _llvm_uadd_with_overflow_i64(i24 | 0, tempRet0 | 0, i6 | 0, 0) | 0;
+ i6 = i1;
+ i1 = tempRet0;
+ i24 = tempRet1 & 1;
+ i17 = _i64Add(i13, i10, i9, 0) | 0;
+ i9 = _i64Add(i17, tempRet0, i7, 0) | 0;
+ i7 = _i64Add(i9, tempRet0, i2, 0) | 0;
+ i2 = _i64Add(i7, tempRet0, i28, 0) | 0;
+ i28 = _i64Add(i2, tempRet0, i24, 0) | 0;
+ i24 = tempRet0;
+ i2 = _llvm_uadd_with_overflow_i64(i19 | 0, i18 | 0, i25 | 0, i14 | 0) | 0;
+ i14 = i2;
+ i2 = tempRet0;
+ if (!tempRet1) {
+ i29 = i1;
+ i30 = i6;
+ i31 = i24;
+ i32 = i28;
+ i33 = i3 | 0;
+ i34 = i33 | 0;
+ HEAP32[i34 >> 2] = i22;
+ i35 = i33 + 4 | 0;
+ HEAP32[i35 >> 2] = i15;
+ i36 = i3 + 8 | 0;
+ i37 = i36 | 0;
+ HEAP32[i37 >> 2] = i14;
+ i38 = i36 + 4 | 0;
+ HEAP32[i38 >> 2] = i2;
+ i39 = i4 | 0;
+ i40 = i39 | 0;
+ HEAP32[i40 >> 2] = i30;
+ i41 = i39 + 4 | 0;
+ HEAP32[i41 >> 2] = i29;
+ i42 = i4 + 8 | 0;
+ i43 = i42 | 0;
+ HEAP32[i43 >> 2] = i32;
+ i44 = i42 + 4 | 0;
+ HEAP32[i44 >> 2] = i31;
+ STACKTOP = i5;
+ return;
+ }
+ i25 = _i64Add(i6, i1, 1, 0) | 0;
+ i1 = tempRet0;
+ i6 = _i64Add(i28, i24, (i25 | 0) == 0 & (i1 | 0) == 0 & 1, 0) | 0;
+ i29 = i1;
+ i30 = i25;
+ i31 = tempRet0;
+ i32 = i6;
+ i33 = i3 | 0;
+ i34 = i33 | 0;
+ HEAP32[i34 >> 2] = i22;
+ i35 = i33 + 4 | 0;
+ HEAP32[i35 >> 2] = i15;
+ i36 = i3 + 8 | 0;
+ i37 = i36 | 0;
+ HEAP32[i37 >> 2] = i14;
+ i38 = i36 + 4 | 0;
+ HEAP32[i38 >> 2] = i2;
+ i39 = i4 | 0;
+ i40 = i39 | 0;
+ HEAP32[i40 >> 2] = i30;
+ i41 = i39 + 4 | 0;
+ HEAP32[i41 >> 2] = i29;
+ i42 = i4 + 8 | 0;
+ i43 = i42 | 0;
+ HEAP32[i43 >> 2] = i32;
+ i44 = i42 + 4 | 0;
+ HEAP32[i44 >> 2] = i31;
+ STACKTOP = i5;
+ return;
+}
+function __ZN22SphereTriangleDetector7collideERK9btVector3RS0_S3_RfS4_f(i1, i2, i3, i4, i5, i6, d7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ d7 = +d7;
+ var i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, i28 = 0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, i33 = 0, i34 = 0, i35 = 0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, d49 = 0.0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, d58 = 0.0, d59 = 0.0, d60 = 0.0, i61 = 0, d62 = 0.0, d63 = 0.0, d64 = 0.0, i65 = 0, d66 = 0.0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i8 = i6 | 0;
+ i9 = i6 + 16 | 0;
+ i10 = i6 + 32 | 0;
+ i11 = i6 + 48 | 0;
+ i12 = i1 + 8 | 0;
+ i13 = HEAP32[i12 >> 2] | 0;
+ i14 = i13 + 56 | 0;
+ i15 = HEAP32[i1 + 4 >> 2] | 0;
+ d16 = +HEAPF32[i15 + 28 >> 2] * +HEAPF32[i15 + 12 >> 2];
+ d17 = d16 + d7;
+ d7 = +HEAPF32[i14 >> 2];
+ d18 = +HEAPF32[i13 + 72 >> 2] - d7;
+ d19 = +HEAPF32[i13 + 60 >> 2];
+ d20 = +HEAPF32[i13 + 76 >> 2] - d19;
+ d21 = +HEAPF32[i13 + 64 >> 2];
+ d22 = +HEAPF32[i13 + 80 >> 2] - d21;
+ d23 = +HEAPF32[i13 + 88 >> 2] - d7;
+ d24 = +HEAPF32[i13 + 92 >> 2] - d19;
+ d25 = +HEAPF32[i13 + 96 >> 2] - d21;
+ d26 = d20 * d25 - d22 * d24;
+ d27 = d22 * d23 - d18 * d25;
+ d25 = d18 * d24 - d20 * d23;
+ d23 = 1.0 / +Math_sqrt(+(d25 * d25 + (d26 * d26 + d27 * d27)));
+ d20 = d23 * d26;
+ d26 = d23 * d27;
+ d27 = d23 * d25;
+ i15 = i2 | 0;
+ d25 = +HEAPF32[i15 >> 2];
+ i1 = i2 + 4 | 0;
+ d23 = +HEAPF32[i1 >> 2];
+ i28 = i2 + 8 | 0;
+ d24 = +HEAPF32[i28 >> 2];
+ d18 = (d25 - d7) * d20 + d26 * (d23 - d19) + d27 * (d24 - d21);
+ if (d18 < 0.0) {
+ d29 = d18 * -1.0;
+ d30 = d20 * -1.0;
+ d31 = d26 * -1.0;
+ d32 = d27 * -1.0;
+ } else {
+ d29 = d18;
+ d30 = d20;
+ d31 = d26;
+ d32 = d27;
+ }
+ if (d29 >= d17) {
+ i33 = 0;
+ STACKTOP = i6;
+ return i33 | 0;
+ }
+ i34 = i8;
+ i35 = i2;
+ HEAP32[i34 >> 2] = HEAP32[i35 >> 2];
+ HEAP32[i34 + 4 >> 2] = HEAP32[i35 + 4 >> 2];
+ HEAP32[i34 + 8 >> 2] = HEAP32[i35 + 8 >> 2];
+ HEAP32[i34 + 12 >> 2] = HEAP32[i35 + 12 >> 2];
+ HEAPF32[i9 >> 2] = d30;
+ HEAPF32[i9 + 4 >> 2] = d31;
+ HEAPF32[i9 + 8 >> 2] = d32;
+ HEAPF32[i9 + 12 >> 2] = 0.0;
+ do {
+ if (__ZN22SphereTriangleDetector15pointInTriangleEPK9btVector3RS1_PS0_(0, i14, i9, i8) | 0) {
+ d36 = d25 - d30 * d29;
+ d37 = d23 - d31 * d29;
+ d38 = d24 - d32 * d29;
+ d39 = d25;
+ d40 = d23;
+ d41 = d24;
+ d42 = d17 * d17;
+ } else {
+ d27 = d17 * d17;
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i13 >> 2] | 0) + 92 >> 2] & 127](i13) | 0) <= 0) {
+ i33 = 0;
+ STACKTOP = i6;
+ return i33 | 0;
+ }
+ i35 = i10 | 0;
+ i34 = i10 + 4 | 0;
+ i2 = i10 + 8 | 0;
+ i43 = i11 | 0;
+ i44 = i11 + 4 | 0;
+ i45 = i11 + 8 | 0;
+ d26 = 0.0;
+ d20 = 0.0;
+ d18 = 0.0;
+ i46 = 0;
+ i47 = 0;
+ while (1) {
+ i48 = HEAP32[i12 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i48 >> 2] | 0) + 96 >> 2] & 127](i48, i46, i10, i11);
+ d21 = +HEAPF32[i35 >> 2];
+ d19 = +HEAPF32[i15 >> 2] - d21;
+ d7 = +HEAPF32[i34 >> 2];
+ d22 = +HEAPF32[i1 >> 2] - d7;
+ d49 = +HEAPF32[i2 >> 2];
+ d50 = +HEAPF32[i28 >> 2] - d49;
+ d51 = +HEAPF32[i43 >> 2] - d21;
+ d52 = +HEAPF32[i44 >> 2] - d7;
+ d53 = +HEAPF32[i45 >> 2] - d49;
+ d54 = d19 * d51 + d22 * d52 + d50 * d53;
+ do {
+ if (d54 > 0.0) {
+ d55 = d51 * d51 + d52 * d52 + d53 * d53;
+ if (d54 < d55) {
+ d56 = d54 / d55;
+ d57 = d56;
+ d58 = d19 - d51 * d56;
+ d59 = d22 - d52 * d56;
+ d60 = d50 - d53 * d56;
+ break;
+ } else {
+ d57 = 1.0;
+ d58 = d19 - d51;
+ d59 = d22 - d52;
+ d60 = d50 - d53;
+ break;
+ }
+ } else {
+ d57 = 0.0;
+ d58 = d19;
+ d59 = d22;
+ d60 = d50;
+ }
+ } while (0);
+ if (d60 * d60 + (d59 * d59 + d58 * d58) < d27) {
+ i61 = 1;
+ d62 = d21 + d51 * d57;
+ d63 = d7 + d52 * d57;
+ d64 = d49 + d53 * d57;
+ } else {
+ i61 = i47;
+ d62 = d18;
+ d63 = d20;
+ d64 = d26;
+ }
+ i48 = i46 + 1 | 0;
+ i65 = HEAP32[i12 >> 2] | 0;
+ if ((i48 | 0) < (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i65 >> 2] | 0) + 92 >> 2] & 127](i65) | 0)) {
+ d26 = d64;
+ d20 = d63;
+ d18 = d62;
+ i46 = i48;
+ i47 = i61;
+ } else {
+ break;
+ }
+ }
+ if ((i61 & 1) == 0) {
+ i33 = 0;
+ STACKTOP = i6;
+ return i33 | 0;
+ } else {
+ d36 = d62;
+ d37 = d63;
+ d38 = d64;
+ d39 = +HEAPF32[i15 >> 2];
+ d40 = +HEAPF32[i1 >> 2];
+ d41 = +HEAPF32[i28 >> 2];
+ d42 = d27;
+ break;
+ }
+ }
+ } while (0);
+ d64 = d39 - d36;
+ d39 = d40 - d37;
+ d40 = d41 - d38;
+ d41 = d40 * d40 + (d39 * d39 + d64 * d64);
+ if (d41 >= d42) {
+ i33 = 0;
+ STACKTOP = i6;
+ return i33 | 0;
+ }
+ if (d41 > 1.1920928955078125e-7) {
+ d42 = +Math_sqrt(+d41);
+ HEAPF32[i4 + 12 >> 2] = 0.0;
+ d41 = 1.0 / d42;
+ HEAPF32[i4 >> 2] = d64 * d41;
+ HEAPF32[i4 + 4 >> 2] = d39 * d41;
+ HEAPF32[i4 + 8 >> 2] = d40 * d41;
+ HEAPF32[i3 >> 2] = d36;
+ HEAPF32[i3 + 4 >> 2] = d37;
+ HEAPF32[i3 + 8 >> 2] = d38;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ d66 = d16 - d42;
+ } else {
+ HEAPF32[i4 >> 2] = d30;
+ HEAPF32[i4 + 4 >> 2] = d31;
+ HEAPF32[i4 + 8 >> 2] = d32;
+ HEAPF32[i4 + 12 >> 2] = 0.0;
+ HEAPF32[i3 >> 2] = d36;
+ HEAPF32[i3 + 4 >> 2] = d37;
+ HEAPF32[i3 + 8 >> 2] = d38;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ d66 = d16;
+ }
+ HEAPF32[i5 >> 2] = -0.0 - d66;
+ i33 = 1;
+ STACKTOP = i6;
+ return i33 | 0;
+}
+function __ZN20btPersistentManifold16sortCachedPointsERK15btManifoldPoint(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var d3 = 0.0, d4 = 0.0, i5 = 0, d6 = 0.0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, i23 = 0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, d45 = 0.0, d46 = 0.0, d47 = 0.0, d48 = 0.0, d49 = 0.0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, d58 = 0.0, d59 = 0.0, d60 = 0.0, d61 = 0.0, d62 = 0.0, d63 = 0.0, d64 = 0.0, d65 = 0.0, d66 = 0.0, d67 = 0.0, d68 = 0.0, d69 = 0.0, d70 = 0.0, d71 = 0.0, d72 = 0.0, d73 = 0.0, d74 = 0.0, d75 = 0.0, d76 = 0.0, d77 = 0.0, d78 = 0.0, i79 = 0, i80 = 0, i81 = 0, d82 = 0.0, i83 = 0, i84 = 0, d85 = 0.0, i86 = 0, i87 = 0, d88 = 0.0, i89 = 0, i90 = 0;
+ d3 = +HEAPF32[i2 + 80 >> 2];
+ d4 = +HEAPF32[i1 + 84 >> 2];
+ i5 = d4 < d3;
+ d6 = i5 ? d4 : d3;
+ d3 = +HEAPF32[i1 + 360 >> 2];
+ i7 = d3 < d6;
+ d4 = i7 ? d3 : d6;
+ d6 = +HEAPF32[i1 + 636 >> 2];
+ i8 = d6 < d4;
+ i9 = +HEAPF32[i1 + 912 >> 2] < (i8 ? d6 : d4);
+ i10 = i9 ? 3 : i8 ? 2 : i7 ? 1 : (i5 ^ 1) << 31 >> 31;
+ d4 = +HEAPF32[i2 >> 2];
+ do {
+ if ((i10 | 0) == 0) {
+ d11 = 0.0;
+ d12 = +HEAPF32[i2 + 4 >> 2];
+ d13 = +HEAPF32[i2 + 8 >> 2];
+ d14 = +HEAPF32[i1 + 832 >> 2];
+ d15 = +HEAPF32[i1 + 556 >> 2];
+ d16 = +HEAPF32[i1 + 836 >> 2];
+ d17 = +HEAPF32[i1 + 560 >> 2];
+ d18 = +HEAPF32[i1 + 840 >> 2];
+ d19 = +HEAPF32[i1 + 564 >> 2];
+ d20 = +HEAPF32[i1 + 280 >> 2];
+ d21 = +HEAPF32[i1 + 284 >> 2];
+ d22 = +HEAPF32[i1 + 288 >> 2];
+ i23 = 1719;
+ } else {
+ d6 = +HEAPF32[i1 + 280 >> 2];
+ d3 = d4 - d6;
+ d24 = +HEAPF32[i2 + 4 >> 2];
+ d25 = +HEAPF32[i1 + 284 >> 2];
+ d26 = d24 - d25;
+ d27 = +HEAPF32[i2 + 8 >> 2];
+ d28 = +HEAPF32[i1 + 288 >> 2];
+ d29 = d27 - d28;
+ d30 = +HEAPF32[i1 + 832 >> 2];
+ d31 = +HEAPF32[i1 + 556 >> 2];
+ d32 = d30 - d31;
+ d33 = +HEAPF32[i1 + 836 >> 2];
+ d34 = +HEAPF32[i1 + 560 >> 2];
+ d35 = d33 - d34;
+ d36 = +HEAPF32[i1 + 840 >> 2];
+ d37 = +HEAPF32[i1 + 564 >> 2];
+ d38 = d36 - d37;
+ d39 = d26 * d38 - d29 * d35;
+ d40 = d29 * d32 - d3 * d38;
+ d38 = d3 * d35 - d26 * d32;
+ d32 = d38 * d38 + (d39 * d39 + d40 * d40);
+ if ((i10 | 0) != 1) {
+ d11 = d32;
+ d12 = d24;
+ d13 = d27;
+ d14 = d30;
+ d15 = d31;
+ d16 = d33;
+ d17 = d34;
+ d18 = d36;
+ d19 = d37;
+ d20 = d6;
+ d21 = d25;
+ d22 = d28;
+ i23 = 1719;
+ break;
+ }
+ d41 = 0.0;
+ d42 = d32;
+ d43 = d31;
+ d44 = d34;
+ d45 = d37;
+ d46 = d24;
+ d47 = d27;
+ d48 = d30;
+ d49 = d33;
+ d50 = d36;
+ d51 = +HEAPF32[i1 + 4 >> 2];
+ d52 = +HEAPF32[i1 + 8 >> 2];
+ d53 = +HEAPF32[i1 + 12 >> 2];
+ d54 = d6;
+ d55 = d25;
+ d56 = d28;
+ i23 = 1720;
+ }
+ } while (0);
+ if ((i23 | 0) == 1719) {
+ d28 = +HEAPF32[i1 + 4 >> 2];
+ d25 = d4 - d28;
+ d6 = +HEAPF32[i1 + 8 >> 2];
+ d36 = d12 - d6;
+ d33 = +HEAPF32[i1 + 12 >> 2];
+ d30 = d13 - d33;
+ d27 = d14 - d15;
+ d24 = d16 - d17;
+ d37 = d18 - d19;
+ d34 = d37 * d36 - d24 * d30;
+ d31 = d27 * d30 - d37 * d25;
+ d37 = d24 * d25 - d27 * d36;
+ d36 = d37 * d37 + (d34 * d34 + d31 * d31);
+ if ((i10 | 0) == 2) {
+ d57 = 0.0;
+ d58 = d36;
+ d59 = d11;
+ d60 = d28;
+ d61 = d12;
+ d62 = d6;
+ d63 = d13;
+ d64 = d33;
+ d65 = d15;
+ d66 = d17;
+ d67 = d19;
+ d68 = d20;
+ d69 = d21;
+ d70 = d22;
+ } else {
+ d41 = d36;
+ d42 = d11;
+ d43 = d15;
+ d44 = d17;
+ d45 = d19;
+ d46 = d12;
+ d47 = d13;
+ d48 = d14;
+ d49 = d16;
+ d50 = d18;
+ d51 = d28;
+ d52 = d6;
+ d53 = d33;
+ d54 = d20;
+ d55 = d21;
+ d56 = d22;
+ i23 = 1720;
+ }
+ }
+ do {
+ if ((i23 | 0) == 1720) {
+ d22 = d4 - d51;
+ d21 = d46 - d52;
+ d20 = d47 - d53;
+ d33 = d48 - d54;
+ d6 = d49 - d55;
+ d28 = d50 - d56;
+ d18 = d28 * d21 - d6 * d20;
+ d16 = d33 * d20 - d22 * d28;
+ d28 = d22 * d6 - d33 * d21;
+ d21 = d28 * d28 + (d16 * d16 + d18 * d18);
+ if (i9) {
+ d71 = 0.0;
+ d72 = d21;
+ d73 = d41;
+ d74 = d42;
+ } else {
+ d57 = d21;
+ d58 = d41;
+ d59 = d42;
+ d60 = d51;
+ d61 = d46;
+ d62 = d52;
+ d63 = d47;
+ d64 = d53;
+ d65 = d43;
+ d66 = d44;
+ d67 = d45;
+ d68 = d54;
+ d69 = d55;
+ d70 = d56;
+ break;
+ }
+ d75 = +Math_abs(+d74);
+ d76 = +Math_abs(+d73);
+ d77 = +Math_abs(+d72);
+ d78 = +Math_abs(+d71);
+ i79 = d75 > -999999984306749400.0;
+ i80 = i79 ^ 1;
+ i81 = i80 << 31 >> 31;
+ d82 = i79 ? d75 : -999999984306749400.0;
+ i83 = d76 > d82;
+ i84 = i83 ? 1 : i81;
+ d85 = i83 ? d76 : d82;
+ i86 = d77 > d85;
+ i87 = i86 ? 2 : i84;
+ d88 = i86 ? d77 : d85;
+ i89 = d78 > d88;
+ i90 = i89 ? 3 : i87;
+ return i90 | 0;
+ }
+ } while (0);
+ d56 = d4 - d60;
+ d60 = d61 - d62;
+ d62 = d63 - d64;
+ d64 = d65 - d68;
+ d68 = d66 - d69;
+ d69 = d67 - d70;
+ d70 = d69 * d60 - d68 * d62;
+ d67 = d64 * d62 - d69 * d56;
+ d69 = d68 * d56 - d64 * d60;
+ d71 = d69 * d69 + (d70 * d70 + d67 * d67);
+ d72 = d57;
+ d73 = d58;
+ d74 = d59;
+ d75 = +Math_abs(+d74);
+ d76 = +Math_abs(+d73);
+ d77 = +Math_abs(+d72);
+ d78 = +Math_abs(+d71);
+ i79 = d75 > -999999984306749400.0;
+ i80 = i79 ^ 1;
+ i81 = i80 << 31 >> 31;
+ d82 = i79 ? d75 : -999999984306749400.0;
+ i83 = d76 > d82;
+ i84 = i83 ? 1 : i81;
+ d85 = i83 ? d76 : d82;
+ i86 = d77 > d85;
+ i87 = i86 ? 2 : i84;
+ d88 = i86 ? d77 : d85;
+ i89 = d78 > d88;
+ i90 = i89 ? 3 : i87;
+ return i90 | 0;
+}
+function __ZN27btPolyhedralContactClipping19clipHullAgainstHullERK9btVector3RK18btConvexPolyhedronS5_RK11btTransformS8_ffRN36btDiscreteCollisionDetectorInterface6ResultE(i1, i2, i3, i4, i5, d6, d7, i8) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ d6 = +d6;
+ d7 = +d7;
+ i8 = i8 | 0;
+ var i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, d14 = 0.0, i15 = 0, d16 = 0.0, i17 = 0, d18 = 0.0, i19 = 0, d20 = 0.0, i21 = 0, d22 = 0.0, i23 = 0, d24 = 0.0, i25 = 0, d26 = 0.0, i27 = 0, d28 = 0.0, i29 = 0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, i34 = 0, d35 = 0.0, i36 = 0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, d52 = 0.0, i53 = 0, i54 = 0, i55 = 0, d56 = 0.0, d57 = 0.0, d58 = 0.0, d59 = 0.0, d60 = 0.0, d61 = 0.0, i62 = 0, i63 = 0, i64 = 0, i65 = 0, i66 = 0, i67 = 0;
+ i9 = STACKTOP;
+ STACKTOP = STACKTOP + 24 | 0;
+ i10 = i9 | 0;
+ i11 = HEAP32[i3 + 28 >> 2] | 0;
+ if ((i11 | 0) <= 0) {
+ STACKTOP = i9;
+ return;
+ }
+ i12 = HEAP32[i3 + 36 >> 2] | 0;
+ i13 = i5 | 0;
+ d14 = +HEAPF32[i13 >> 2];
+ i15 = i5 + 4 | 0;
+ d16 = +HEAPF32[i15 >> 2];
+ i17 = i5 + 8 | 0;
+ d18 = +HEAPF32[i17 >> 2];
+ i19 = i5 + 16 | 0;
+ d20 = +HEAPF32[i19 >> 2];
+ i21 = i5 + 20 | 0;
+ d22 = +HEAPF32[i21 >> 2];
+ i23 = i5 + 24 | 0;
+ d24 = +HEAPF32[i23 >> 2];
+ i25 = i5 + 32 | 0;
+ d26 = +HEAPF32[i25 >> 2];
+ i27 = i5 + 36 | 0;
+ d28 = +HEAPF32[i27 >> 2];
+ i29 = i5 + 40 | 0;
+ d30 = +HEAPF32[i29 >> 2];
+ d31 = +HEAPF32[i1 >> 2];
+ d32 = +HEAPF32[i1 + 4 >> 2];
+ d33 = +HEAPF32[i1 + 8 >> 2];
+ i34 = 0;
+ d35 = -3.4028234663852886e+38;
+ i36 = -1;
+ while (1) {
+ d37 = +HEAPF32[i12 + (i34 * 56 | 0) + 40 >> 2];
+ d38 = +HEAPF32[i12 + (i34 * 56 | 0) + 44 >> 2];
+ d39 = +HEAPF32[i12 + (i34 * 56 | 0) + 48 >> 2];
+ d40 = d33 * (d26 * d37 + d28 * d38 + d30 * d39) + (d31 * (d14 * d37 + d16 * d38 + d18 * d39) + d32 * (d20 * d37 + d22 * d38 + d24 * d39));
+ i41 = d40 > d35;
+ i42 = i41 ? i34 : i36;
+ i43 = i34 + 1 | 0;
+ if ((i43 | 0) < (i11 | 0)) {
+ i34 = i43;
+ d35 = i41 ? d40 : d35;
+ i36 = i42;
+ } else {
+ break;
+ }
+ }
+ if ((i42 | 0) < 0) {
+ STACKTOP = i9;
+ return;
+ }
+ i36 = i10 + 16 | 0;
+ HEAP8[i36] = 1;
+ i34 = i10 + 12 | 0;
+ HEAP32[i34 >> 2] = 0;
+ i11 = i10 + 4 | 0;
+ HEAP32[i11 >> 2] = 0;
+ i41 = i10 + 8 | 0;
+ HEAP32[i41 >> 2] = 0;
+ i43 = HEAP32[i12 + (i42 * 56 | 0) + 4 >> 2] | 0;
+ L553 : do {
+ if ((i43 | 0) > 0) {
+ i44 = i12 + (i42 * 56 | 0) + 12 | 0;
+ i45 = i3 + 16 | 0;
+ i46 = i5 + 48 | 0;
+ i47 = i5 + 52 | 0;
+ i48 = i5 + 56 | 0;
+ i49 = 0;
+ i50 = 0;
+ i51 = 0;
+ d35 = d14;
+ d32 = d16;
+ d31 = d18;
+ d33 = d20;
+ d40 = d22;
+ d39 = d24;
+ d38 = d26;
+ d37 = d28;
+ d52 = d30;
+ i53 = 0;
+ while (1) {
+ i54 = HEAP32[(HEAP32[i44 >> 2] | 0) + (i49 << 2) >> 2] | 0;
+ i55 = HEAP32[i45 >> 2] | 0;
+ d56 = +HEAPF32[i55 + (i54 << 4) >> 2];
+ d57 = +HEAPF32[i55 + (i54 << 4) + 4 >> 2];
+ d58 = +HEAPF32[i55 + (i54 << 4) + 8 >> 2];
+ d59 = +HEAPF32[i46 >> 2] + (d35 * d56 + d32 * d57 + d31 * d58);
+ d60 = +HEAPF32[i47 >> 2] + (d56 * d33 + d57 * d40 + d58 * d39);
+ d61 = +HEAPF32[i48 >> 2] + (d56 * d38 + d57 * d37 + d58 * d52);
+ do {
+ if ((i50 | 0) == (i51 | 0)) {
+ i54 = (i51 | 0) == 0 ? 1 : i51 << 1;
+ if ((i51 | 0) >= (i54 | 0)) {
+ i62 = i51;
+ i63 = i53;
+ break;
+ }
+ if ((i54 | 0) == 0) {
+ i64 = 0;
+ } else {
+ i64 = __Z22btAlignedAllocInternalji(i54 << 4, 16) | 0;
+ }
+ if ((i51 | 0) > 0) {
+ i55 = 0;
+ do {
+ i65 = i64 + (i55 << 4) | 0;
+ if ((i65 | 0) != 0) {
+ i66 = i65;
+ i65 = i53 + (i55 << 4) | 0;
+ HEAP32[i66 >> 2] = HEAP32[i65 >> 2];
+ HEAP32[i66 + 4 >> 2] = HEAP32[i65 + 4 >> 2];
+ HEAP32[i66 + 8 >> 2] = HEAP32[i65 + 8 >> 2];
+ HEAP32[i66 + 12 >> 2] = HEAP32[i65 + 12 >> 2];
+ }
+ i55 = i55 + 1 | 0;
+ } while ((i55 | 0) < (i51 | 0));
+ }
+ if ((i53 | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i53);
+ HEAP32[i34 >> 2] = 0;
+ }
+ HEAP8[i36] = 1;
+ HEAP32[i34 >> 2] = i64;
+ HEAP32[i41 >> 2] = i54;
+ i62 = i51;
+ i63 = i64;
+ } else {
+ i62 = i50;
+ i63 = i53;
+ }
+ } while (0);
+ i55 = i63 + (i62 << 4) | 0;
+ if ((i55 | 0) == 0) {
+ i67 = i62;
+ } else {
+ HEAPF32[i55 >> 2] = d59;
+ HEAPF32[i63 + (i62 << 4) + 4 >> 2] = d60;
+ HEAPF32[i63 + (i62 << 4) + 8 >> 2] = d61;
+ HEAPF32[i63 + (i62 << 4) + 12 >> 2] = 0.0;
+ i67 = HEAP32[i11 >> 2] | 0;
+ }
+ i55 = i67 + 1 | 0;
+ HEAP32[i11 >> 2] = i55;
+ i65 = i49 + 1 | 0;
+ if ((i65 | 0) >= (i43 | 0)) {
+ break L553;
+ }
+ i49 = i65;
+ i50 = i55;
+ i51 = HEAP32[i41 >> 2] | 0;
+ d35 = +HEAPF32[i13 >> 2];
+ d32 = +HEAPF32[i15 >> 2];
+ d31 = +HEAPF32[i17 >> 2];
+ d33 = +HEAPF32[i19 >> 2];
+ d40 = +HEAPF32[i21 >> 2];
+ d39 = +HEAPF32[i23 >> 2];
+ d38 = +HEAPF32[i25 >> 2];
+ d37 = +HEAPF32[i27 >> 2];
+ d52 = +HEAPF32[i29 >> 2];
+ i53 = i63;
+ }
+ }
+ } while (0);
+ __ZN27btPolyhedralContactClipping19clipFaceAgainstHullERK9btVector3RK18btConvexPolyhedronRK11btTransformR20btAlignedObjectArrayIS0_EffRN36btDiscreteCollisionDetectorInterface6ResultE(i1, i2, i4, i10, d6, d7, i8);
+ i8 = HEAP32[i34 >> 2] | 0;
+ if ((i8 | 0) != 0) {
+ if ((HEAP8[i36] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ HEAP32[i34 >> 2] = 0;
+ }
+ HEAP8[i36] = 1;
+ HEAP32[i34 >> 2] = 0;
+ HEAP32[i11 >> 2] = 0;
+ HEAP32[i41 >> 2] = 0;
+ STACKTOP = i9;
+ return;
+}
+function __ZNK6btDbvt15rayTestInternalEPK10btDbvtNodeRK9btVector3S5_S5_PjfS5_S5_RNS_8ICollideE(i1, i2, i3, i4, i5, i6, d7, i8, i9, i10) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ d7 = +d7;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ var i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, d36 = 0.0, d37 = 0.0, i38 = 0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, d48 = 0.0, d49 = 0.0, d50 = 0.0, d51 = 0.0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i57 = 0, i58 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i1 = i4 | 0;
+ if ((i2 | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ i11 = __Z22btAlignedAllocInternalji(512, 16) | 0;
+ i12 = 0;
+ do {
+ i13 = i11 + (i12 << 2) | 0;
+ if ((i13 | 0) != 0) {
+ HEAP32[i13 >> 2] = 0;
+ }
+ i12 = i12 + 1 | 0;
+ } while ((i12 | 0) < 128);
+ HEAP32[i11 >> 2] = i2;
+ i2 = i9 | 0;
+ i12 = i9 + 4 | 0;
+ i13 = i9 + 8 | 0;
+ i9 = i1 | 0;
+ i14 = i1 + 4 | 0;
+ i15 = i1 + 8 | 0;
+ i16 = i1 + 12 | 0;
+ i17 = i8 | 0;
+ i18 = i8 + 4 | 0;
+ i19 = i8 + 8 | 0;
+ i8 = i1 + 16 | 0;
+ i20 = i1 + 20 | 0;
+ i21 = i1 + 24 | 0;
+ i22 = i1 + 28 | 0;
+ i23 = i3 | 0;
+ i24 = i5 | 0;
+ i25 = i6 + 4 | 0;
+ i26 = i3 + 4 | 0;
+ i27 = i5 + 4 | 0;
+ i28 = i6 + 8 | 0;
+ i29 = i3 + 8 | 0;
+ i3 = i5 + 8 | 0;
+ i5 = i10;
+ i30 = 1;
+ i31 = 126;
+ i32 = 128;
+ i33 = 128;
+ i34 = i11;
+ while (1) {
+ i11 = i30 - 1 | 0;
+ i35 = HEAP32[i34 + (i11 << 2) >> 2] | 0;
+ d36 = +HEAPF32[i35 + 4 >> 2] - +HEAPF32[i12 >> 2];
+ d37 = +HEAPF32[i35 + 8 >> 2] - +HEAPF32[i13 >> 2];
+ HEAPF32[i9 >> 2] = +HEAPF32[i35 >> 2] - +HEAPF32[i2 >> 2];
+ HEAPF32[i14 >> 2] = d36;
+ HEAPF32[i15 >> 2] = d37;
+ HEAPF32[i16 >> 2] = 0.0;
+ d37 = +HEAPF32[i35 + 20 >> 2] - +HEAPF32[i18 >> 2];
+ d36 = +HEAPF32[i35 + 24 >> 2] - +HEAPF32[i19 >> 2];
+ HEAPF32[i8 >> 2] = +HEAPF32[i35 + 16 >> 2] - +HEAPF32[i17 >> 2];
+ HEAPF32[i20 >> 2] = d37;
+ HEAPF32[i21 >> 2] = d36;
+ HEAPF32[i22 >> 2] = 0.0;
+ i38 = HEAP32[i6 >> 2] | 0;
+ d36 = +HEAPF32[i23 >> 2];
+ d37 = +HEAPF32[i24 >> 2];
+ d39 = (+HEAPF32[i1 + (i38 << 4) >> 2] - d36) * d37;
+ d40 = d37 * (+HEAPF32[i1 + (1 - i38 << 4) >> 2] - d36);
+ i38 = HEAP32[i25 >> 2] | 0;
+ d36 = +HEAPF32[i26 >> 2];
+ d37 = +HEAPF32[i27 >> 2];
+ d41 = (+HEAPF32[i1 + (i38 << 4) + 4 >> 2] - d36) * d37;
+ d42 = d37 * (+HEAPF32[i1 + (1 - i38 << 4) + 4 >> 2] - d36);
+ do {
+ if (d39 > d42 | d41 > d40) {
+ i43 = i11;
+ i44 = i31;
+ i45 = i32;
+ i46 = i33;
+ i47 = i34;
+ } else {
+ d36 = d41 > d39 ? d41 : d39;
+ d37 = d42 < d40 ? d42 : d40;
+ i38 = HEAP32[i28 >> 2] | 0;
+ d48 = +HEAPF32[i29 >> 2];
+ d49 = +HEAPF32[i3 >> 2];
+ d50 = (+HEAPF32[i1 + (i38 << 4) + 8 >> 2] - d48) * d49;
+ d51 = d49 * (+HEAPF32[i1 + (1 - i38 << 4) + 8 >> 2] - d48);
+ if (d36 > d51 | d50 > d37) {
+ i43 = i11;
+ i44 = i31;
+ i45 = i32;
+ i46 = i33;
+ i47 = i34;
+ break;
+ }
+ if ((d50 > d36 ? d50 : d36) >= d7) {
+ i43 = i11;
+ i44 = i31;
+ i45 = i32;
+ i46 = i33;
+ i47 = i34;
+ break;
+ }
+ if ((d51 < d37 ? d51 : d37) <= 0.0) {
+ i43 = i11;
+ i44 = i31;
+ i45 = i32;
+ i46 = i33;
+ i47 = i34;
+ break;
+ }
+ i38 = i35 + 40 | 0;
+ if ((HEAP32[i38 >> 2] | 0) == 0) {
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i5 >> 2] | 0) + 12 >> 2] & 127](i10, i35);
+ i43 = i11;
+ i44 = i31;
+ i45 = i32;
+ i46 = i33;
+ i47 = i34;
+ break;
+ }
+ if ((i11 | 0) > (i31 | 0)) {
+ i52 = i32 << 1;
+ if ((i32 | 0) < (i52 | 0)) {
+ do {
+ if ((i33 | 0) < (i52 | 0)) {
+ if ((i52 | 0) == 0) {
+ i53 = 0;
+ } else {
+ i53 = __Z22btAlignedAllocInternalji(i32 << 3, 16) | 0;
+ }
+ if ((i32 | 0) > 0) {
+ i54 = 0;
+ do {
+ i55 = i53 + (i54 << 2) | 0;
+ if ((i55 | 0) != 0) {
+ HEAP32[i55 >> 2] = HEAP32[i34 + (i54 << 2) >> 2];
+ }
+ i54 = i54 + 1 | 0;
+ } while ((i54 | 0) < (i32 | 0));
+ }
+ if ((i34 | 0) == 0) {
+ i56 = i52;
+ i57 = i53;
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i34);
+ i56 = i52;
+ i57 = i53;
+ } else {
+ i56 = i33;
+ i57 = i34;
+ }
+ } while (0);
+ i54 = i32;
+ while (1) {
+ i55 = i57 + (i54 << 2) | 0;
+ if ((i55 | 0) != 0) {
+ HEAP32[i55 >> 2] = 0;
+ }
+ i55 = i54 + 1 | 0;
+ if ((i55 | 0) < (i52 | 0)) {
+ i54 = i55;
+ } else {
+ i58 = i56;
+ i59 = i57;
+ break;
+ }
+ }
+ } else {
+ i58 = i33;
+ i59 = i34;
+ }
+ i60 = i52 - 2 | 0;
+ i61 = i52;
+ i62 = i58;
+ i63 = i59;
+ } else {
+ i60 = i31;
+ i61 = i32;
+ i62 = i33;
+ i63 = i34;
+ }
+ HEAP32[i63 + (i11 << 2) >> 2] = HEAP32[i35 + 36 >> 2];
+ HEAP32[i63 + (i30 << 2) >> 2] = HEAP32[i38 >> 2];
+ i43 = i30 + 1 | 0;
+ i44 = i60;
+ i45 = i61;
+ i46 = i62;
+ i47 = i63;
+ }
+ } while (0);
+ if ((i43 | 0) == 0) {
+ break;
+ } else {
+ i30 = i43;
+ i31 = i44;
+ i32 = i45;
+ i33 = i46;
+ i34 = i47;
+ }
+ }
+ if ((i47 | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ __Z21btAlignedFreeInternalPv(i47);
+ STACKTOP = i4;
+ return;
+}
+function __ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv() {
+ if ((HEAP8[14336] | 0) != 0) {
+ return 13144;
+ }
+ if ((___cxa_guard_acquire(14336) | 0) == 0) {
+ return 13144;
+ }
+ HEAPF32[3286] = 0.0;
+ HEAPF32[3287] = -0.0;
+ HEAPF32[3288] = -1.0;
+ HEAPF32[3289] = 0.0;
+ HEAPF32[3290] = .7236080169677734;
+ HEAPF32[3291] = -.5257250070571899;
+ HEAPF32[3292] = -.44721901416778564;
+ HEAPF32[3293] = 0.0;
+ HEAPF32[3294] = -.2763879895210266;
+ HEAPF32[3295] = -.8506489992141724;
+ HEAPF32[3296] = -.44721901416778564;
+ HEAPF32[3297] = 0.0;
+ HEAPF32[3298] = -.8944259881973267;
+ HEAPF32[3299] = -0.0;
+ HEAPF32[3300] = -.4472160041332245;
+ HEAPF32[3301] = 0.0;
+ HEAPF32[3302] = -.2763879895210266;
+ HEAPF32[3303] = .8506489992141724;
+ HEAPF32[3304] = -.44721999764442444;
+ HEAPF32[3305] = 0.0;
+ HEAPF32[3306] = .7236080169677734;
+ HEAPF32[3307] = .5257250070571899;
+ HEAPF32[3308] = -.44721901416778564;
+ HEAPF32[3309] = 0.0;
+ HEAPF32[3310] = .2763879895210266;
+ HEAPF32[3311] = -.8506489992141724;
+ HEAPF32[3312] = .44721999764442444;
+ HEAPF32[3313] = 0.0;
+ HEAPF32[3314] = -.7236080169677734;
+ HEAPF32[3315] = -.5257250070571899;
+ HEAPF32[3316] = .44721901416778564;
+ HEAPF32[3317] = 0.0;
+ HEAPF32[3318] = -.7236080169677734;
+ HEAPF32[3319] = .5257250070571899;
+ HEAPF32[3320] = .44721901416778564;
+ HEAPF32[3321] = 0.0;
+ HEAPF32[3322] = .2763879895210266;
+ HEAPF32[3323] = .8506489992141724;
+ HEAPF32[3324] = .44721901416778564;
+ HEAPF32[3325] = 0.0;
+ HEAPF32[3326] = .8944259881973267;
+ HEAPF32[3327] = 0.0;
+ HEAPF32[3328] = .4472160041332245;
+ HEAPF32[3329] = 0.0;
+ HEAPF32[3330] = -0.0;
+ HEAPF32[3331] = 0.0;
+ HEAPF32[3332] = 1.0;
+ HEAPF32[3333] = 0.0;
+ HEAPF32[3334] = .4253230094909668;
+ HEAPF32[3335] = -.3090110123157501;
+ HEAPF32[3336] = -.8506540060043335;
+ HEAPF32[3337] = 0.0;
+ HEAPF32[3338] = -.16245600581169128;
+ HEAPF32[3339] = -.49999499320983887;
+ HEAPF32[3340] = -.8506540060043335;
+ HEAPF32[3341] = 0.0;
+ HEAPF32[3342] = .2628690004348755;
+ HEAPF32[3343] = -.8090119957923889;
+ HEAPF32[3344] = -.525738000869751;
+ HEAPF32[3345] = 0.0;
+ HEAPF32[3346] = .4253230094909668;
+ HEAPF32[3347] = .3090110123157501;
+ HEAPF32[3348] = -.8506540060043335;
+ HEAPF32[3349] = 0.0;
+ HEAPF32[3350] = .8506479859352112;
+ HEAPF32[3351] = -0.0;
+ HEAPF32[3352] = -.5257359743118286;
+ HEAPF32[3353] = 0.0;
+ HEAPF32[3354] = -.5257300138473511;
+ HEAPF32[3355] = -0.0;
+ HEAPF32[3356] = -.8506519794464111;
+ HEAPF32[3357] = 0.0;
+ HEAPF32[3358] = -.6881899833679199;
+ HEAPF32[3359] = -.49999698996543884;
+ HEAPF32[3360] = -.5257359743118286;
+ HEAPF32[3361] = 0.0;
+ HEAPF32[3362] = -.16245600581169128;
+ HEAPF32[3363] = .49999499320983887;
+ HEAPF32[3364] = -.8506540060043335;
+ HEAPF32[3365] = 0.0;
+ HEAPF32[3366] = -.6881899833679199;
+ HEAPF32[3367] = .49999698996543884;
+ HEAPF32[3368] = -.5257359743118286;
+ HEAPF32[3369] = 0.0;
+ HEAPF32[3370] = .2628690004348755;
+ HEAPF32[3371] = .8090119957923889;
+ HEAPF32[3372] = -.525738000869751;
+ HEAPF32[3373] = 0.0;
+ HEAPF32[3374] = .9510579705238342;
+ HEAPF32[3375] = .3090130090713501;
+ HEAPF32[3376] = 0.0;
+ HEAPF32[3377] = 0.0;
+ HEAPF32[3378] = .9510579705238342;
+ HEAPF32[3379] = -.3090130090713501;
+ HEAPF32[3380] = 0.0;
+ HEAPF32[3381] = 0.0;
+ HEAPF32[3382] = .5877860188484192;
+ HEAPF32[3383] = -.80901700258255;
+ HEAPF32[3384] = 0.0;
+ HEAPF32[3385] = 0.0;
+ HEAPF32[3386] = 0.0;
+ HEAPF32[3387] = -1.0;
+ HEAPF32[3388] = 0.0;
+ HEAPF32[3389] = 0.0;
+ HEAPF32[3390] = -.5877860188484192;
+ HEAPF32[3391] = -.80901700258255;
+ HEAPF32[3392] = 0.0;
+ HEAPF32[3393] = 0.0;
+ HEAPF32[3394] = -.9510579705238342;
+ HEAPF32[3395] = -.3090130090713501;
+ HEAPF32[3396] = -0.0;
+ HEAPF32[3397] = 0.0;
+ HEAPF32[3398] = -.9510579705238342;
+ HEAPF32[3399] = .3090130090713501;
+ HEAPF32[3400] = -0.0;
+ HEAPF32[3401] = 0.0;
+ HEAPF32[3402] = -.5877860188484192;
+ HEAPF32[3403] = .80901700258255;
+ HEAPF32[3404] = -0.0;
+ HEAPF32[3405] = 0.0;
+ HEAPF32[3406] = -0.0;
+ HEAPF32[3407] = 1.0;
+ HEAPF32[3408] = -0.0;
+ HEAPF32[3409] = 0.0;
+ HEAPF32[3410] = .5877860188484192;
+ HEAPF32[3411] = .80901700258255;
+ HEAPF32[3412] = -0.0;
+ HEAPF32[3413] = 0.0;
+ HEAPF32[3414] = .6881899833679199;
+ HEAPF32[3415] = -.49999698996543884;
+ HEAPF32[3416] = .5257359743118286;
+ HEAPF32[3417] = 0.0;
+ HEAPF32[3418] = -.2628690004348755;
+ HEAPF32[3419] = -.8090119957923889;
+ HEAPF32[3420] = .525738000869751;
+ HEAPF32[3421] = 0.0;
+ HEAPF32[3422] = -.8506479859352112;
+ HEAPF32[3423] = 0.0;
+ HEAPF32[3424] = .5257359743118286;
+ HEAPF32[3425] = 0.0;
+ HEAPF32[3426] = -.2628690004348755;
+ HEAPF32[3427] = .8090119957923889;
+ HEAPF32[3428] = .525738000869751;
+ HEAPF32[3429] = 0.0;
+ HEAPF32[3430] = .6881899833679199;
+ HEAPF32[3431] = .49999698996543884;
+ HEAPF32[3432] = .5257359743118286;
+ HEAPF32[3433] = 0.0;
+ HEAPF32[3434] = .5257300138473511;
+ HEAPF32[3435] = 0.0;
+ HEAPF32[3436] = .8506519794464111;
+ HEAPF32[3437] = 0.0;
+ HEAPF32[3438] = .16245600581169128;
+ HEAPF32[3439] = -.49999499320983887;
+ HEAPF32[3440] = .8506540060043335;
+ HEAPF32[3441] = 0.0;
+ HEAPF32[3442] = -.4253230094909668;
+ HEAPF32[3443] = -.3090110123157501;
+ HEAPF32[3444] = .8506540060043335;
+ HEAPF32[3445] = 0.0;
+ HEAPF32[3446] = -.4253230094909668;
+ HEAPF32[3447] = .3090110123157501;
+ HEAPF32[3448] = .8506540060043335;
+ HEAPF32[3449] = 0.0;
+ HEAPF32[3450] = .16245600581169128;
+ HEAPF32[3451] = .49999499320983887;
+ HEAPF32[3452] = .8506540060043335;
+ HEAPF32[3453] = 0.0;
+ return 13144;
+}
+function __ZN6btDbvt7rayTestEPK10btDbvtNodeRK9btVector3S5_RNS_8ICollideE(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, i9 = 0, d10 = 0.0, i11 = 0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, d38 = 0.0, d39 = 0.0, d40 = 0.0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i6 = i5 | 0;
+ if ((i1 | 0) == 0) {
+ STACKTOP = i5;
+ return;
+ }
+ i7 = i2 | 0;
+ d8 = +HEAPF32[i3 >> 2] - +HEAPF32[i7 >> 2];
+ i9 = i2 + 4 | 0;
+ d10 = +HEAPF32[i3 + 4 >> 2] - +HEAPF32[i9 >> 2];
+ i11 = i2 + 8 | 0;
+ d12 = +HEAPF32[i3 + 8 >> 2] - +HEAPF32[i11 >> 2];
+ d13 = 1.0 / +Math_sqrt(+(d8 * d8 + d10 * d10 + d12 * d12));
+ d14 = d8 * d13;
+ d15 = d10 * d13;
+ d16 = d12 * d13;
+ if (d14 == 0.0) {
+ d17 = 999999984306749400.0;
+ } else {
+ d17 = 1.0 / d14;
+ }
+ if (d15 == 0.0) {
+ d18 = 999999984306749400.0;
+ } else {
+ d18 = 1.0 / d15;
+ }
+ if (d16 == 0.0) {
+ d19 = 999999984306749400.0;
+ } else {
+ d19 = 1.0 / d16;
+ }
+ i3 = d17 < 0.0 | 0;
+ i2 = d18 < 0.0 | 0;
+ i20 = d19 < 0.0 | 0;
+ d13 = d12 * d16 + (d8 * d14 + d10 * d15);
+ i21 = __Z22btAlignedAllocInternalji(512, 16) | 0;
+ i22 = 0;
+ do {
+ i23 = i21 + (i22 << 2) | 0;
+ if ((i23 | 0) != 0) {
+ HEAP32[i23 >> 2] = 0;
+ }
+ i22 = i22 + 1 | 0;
+ } while ((i22 | 0) < 128);
+ HEAP32[i21 >> 2] = i1;
+ i1 = i6;
+ i22 = i6 + 16 | 0;
+ i23 = i6 + (i3 << 4) | 0;
+ i24 = i6 + ((i3 ^ 1) << 4) | 0;
+ i3 = i6 + (i2 << 4) + 4 | 0;
+ i25 = i6 + ((i2 ^ 1) << 4) + 4 | 0;
+ i2 = i6 + (i20 << 4) + 8 | 0;
+ i26 = i6 + ((i20 ^ 1) << 4) + 8 | 0;
+ i20 = i4;
+ i6 = 1;
+ i27 = 126;
+ i28 = 128;
+ i29 = 128;
+ i30 = i21;
+ while (1) {
+ i21 = i6 - 1 | 0;
+ i31 = HEAP32[i30 + (i21 << 2) >> 2] | 0;
+ i32 = i31;
+ HEAP32[i1 >> 2] = HEAP32[i32 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i32 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i32 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i32 + 12 >> 2];
+ i32 = i31 + 16 | 0;
+ HEAP32[i22 >> 2] = HEAP32[i32 >> 2];
+ HEAP32[i22 + 4 >> 2] = HEAP32[i32 + 4 >> 2];
+ HEAP32[i22 + 8 >> 2] = HEAP32[i32 + 8 >> 2];
+ HEAP32[i22 + 12 >> 2] = HEAP32[i32 + 12 >> 2];
+ d15 = +HEAPF32[i7 >> 2];
+ d10 = d17 * (+HEAPF32[i23 >> 2] - d15);
+ d14 = d17 * (+HEAPF32[i24 >> 2] - d15);
+ d15 = +HEAPF32[i9 >> 2];
+ d8 = d18 * (+HEAPF32[i3 >> 2] - d15);
+ d16 = d18 * (+HEAPF32[i25 >> 2] - d15);
+ do {
+ if (d10 > d16 | d8 > d14) {
+ i33 = i21;
+ i34 = i27;
+ i35 = i28;
+ i36 = i29;
+ i37 = i30;
+ } else {
+ d15 = d8 > d10 ? d8 : d10;
+ d12 = d16 < d14 ? d16 : d14;
+ d38 = +HEAPF32[i11 >> 2];
+ d39 = d19 * (+HEAPF32[i2 >> 2] - d38);
+ d40 = d19 * (+HEAPF32[i26 >> 2] - d38);
+ if (d15 > d40 | d39 > d12) {
+ i33 = i21;
+ i34 = i27;
+ i35 = i28;
+ i36 = i29;
+ i37 = i30;
+ break;
+ }
+ if ((d39 > d15 ? d39 : d15) >= d13) {
+ i33 = i21;
+ i34 = i27;
+ i35 = i28;
+ i36 = i29;
+ i37 = i30;
+ break;
+ }
+ if ((d40 < d12 ? d40 : d12) <= 0.0) {
+ i33 = i21;
+ i34 = i27;
+ i35 = i28;
+ i36 = i29;
+ i37 = i30;
+ break;
+ }
+ i32 = i31 + 40 | 0;
+ if ((HEAP32[i32 >> 2] | 0) == 0) {
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i20 >> 2] | 0) + 12 >> 2] & 127](i4, i31);
+ i33 = i21;
+ i34 = i27;
+ i35 = i28;
+ i36 = i29;
+ i37 = i30;
+ break;
+ }
+ if ((i21 | 0) > (i27 | 0)) {
+ i41 = i28 << 1;
+ if ((i28 | 0) < (i41 | 0)) {
+ do {
+ if ((i29 | 0) < (i41 | 0)) {
+ if ((i41 | 0) == 0) {
+ i42 = 0;
+ } else {
+ i42 = __Z22btAlignedAllocInternalji(i28 << 3, 16) | 0;
+ }
+ if ((i28 | 0) > 0) {
+ i43 = 0;
+ do {
+ i44 = i42 + (i43 << 2) | 0;
+ if ((i44 | 0) != 0) {
+ HEAP32[i44 >> 2] = HEAP32[i30 + (i43 << 2) >> 2];
+ }
+ i43 = i43 + 1 | 0;
+ } while ((i43 | 0) < (i28 | 0));
+ }
+ if ((i30 | 0) == 0) {
+ i45 = i41;
+ i46 = i42;
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i30);
+ i45 = i41;
+ i46 = i42;
+ } else {
+ i45 = i29;
+ i46 = i30;
+ }
+ } while (0);
+ i43 = i28;
+ while (1) {
+ i44 = i46 + (i43 << 2) | 0;
+ if ((i44 | 0) != 0) {
+ HEAP32[i44 >> 2] = 0;
+ }
+ i44 = i43 + 1 | 0;
+ if ((i44 | 0) < (i41 | 0)) {
+ i43 = i44;
+ } else {
+ i47 = i45;
+ i48 = i46;
+ break;
+ }
+ }
+ } else {
+ i47 = i29;
+ i48 = i30;
+ }
+ i49 = i41 - 2 | 0;
+ i50 = i41;
+ i51 = i47;
+ i52 = i48;
+ } else {
+ i49 = i27;
+ i50 = i28;
+ i51 = i29;
+ i52 = i30;
+ }
+ HEAP32[i52 + (i21 << 2) >> 2] = HEAP32[i31 + 36 >> 2];
+ HEAP32[i52 + (i6 << 2) >> 2] = HEAP32[i32 >> 2];
+ i33 = i6 + 1 | 0;
+ i34 = i49;
+ i35 = i50;
+ i36 = i51;
+ i37 = i52;
+ }
+ } while (0);
+ if ((i33 | 0) == 0) {
+ break;
+ } else {
+ i6 = i33;
+ i27 = i34;
+ i28 = i35;
+ i29 = i36;
+ i30 = i37;
+ }
+ }
+ if ((i37 | 0) == 0) {
+ STACKTOP = i5;
+ return;
+ }
+ __Z21btAlignedFreeInternalPv(i37);
+ STACKTOP = i5;
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolver29solveGroupCacheFriendlyFinishEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ var i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, d18 = 0.0, d19 = 0.0, i20 = 0, i21 = 0, i22 = 0;
+ i10 = STACKTOP;
+ STACKTOP = STACKTOP + 408 | 0;
+ i9 = i10 | 0;
+ i7 = i10 + 136 | 0;
+ i6 = i10 + 272 | 0;
+ i5 = i1 + 8 | 0;
+ i4 = HEAP32[i5 >> 2] | 0;
+ if ((i4 | 0) > 0) {
+ i11 = HEAP32[i1 + 16 >> 2] | 0;
+ i12 = i1 + 56 | 0;
+ if ((HEAP32[i8 + 60 >> 2] & 8 | 0) == 0) {
+ i13 = 0;
+ do {
+ HEAPF32[(HEAP32[i11 + (i13 * 136 | 0) + 112 >> 2] | 0) + 112 >> 2] = +HEAPF32[i11 + (i13 * 136 | 0) + 84 >> 2];
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i4 | 0));
+ } else {
+ i13 = 0;
+ do {
+ i14 = HEAP32[i11 + (i13 * 136 | 0) + 112 >> 2] | 0;
+ HEAPF32[i14 + 112 >> 2] = +HEAPF32[i11 + (i13 * 136 | 0) + 84 >> 2];
+ i15 = HEAP32[i11 + (i13 * 136 | 0) + 100 >> 2] | 0;
+ i16 = HEAP32[i12 >> 2] | 0;
+ HEAPF32[i14 + 120 >> 2] = +HEAPF32[i16 + (i15 * 136 | 0) + 84 >> 2];
+ HEAPF32[i14 + 124 >> 2] = +HEAPF32[i16 + ((i15 + 1 | 0) * 136 | 0) + 84 >> 2];
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i4 | 0));
+ }
+ }
+ i4 = i1 + 28 | 0;
+ i13 = HEAP32[i4 >> 2] | 0;
+ if ((i13 | 0) > 0) {
+ i12 = HEAP32[i1 + 36 >> 2] | 0;
+ i11 = 0;
+ do {
+ i15 = HEAP32[i12 + (i11 * 136 | 0) + 112 >> 2] | 0;
+ i16 = i12 + (i11 * 136 | 0) + 84 | 0;
+ HEAPF32[i15 + 32 >> 2] = +HEAPF32[i16 >> 2];
+ if (+HEAPF32[i16 >> 2] > +HEAPF32[i15 + 16 >> 2]) {
+ HEAP8[i15 + 20 | 0] = 0;
+ }
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i13 | 0));
+ }
+ i13 = (i3 | 0) > 0;
+ do {
+ if ((HEAP32[i8 + 44 >> 2] | 0) == 0) {
+ if (i13) {
+ i17 = 0;
+ } else {
+ break;
+ }
+ do {
+ i11 = HEAP32[i2 + (i17 << 2) >> 2] | 0;
+ do {
+ if (!((HEAP32[i11 + 232 >> 2] & 2 | 0) == 0 | (i11 | 0) == 0)) {
+ if (+HEAPF32[i11 + 336 >> 2] == 0.0) {
+ break;
+ }
+ i12 = i11 + 304 | 0;
+ i15 = i11 + 308 | 0;
+ d18 = +HEAPF32[i15 >> 2] + +HEAPF32[i11 + 508 >> 2];
+ i16 = i11 + 312 | 0;
+ d19 = +HEAPF32[i16 >> 2] + +HEAPF32[i11 + 512 >> 2];
+ HEAPF32[i12 >> 2] = +HEAPF32[i12 >> 2] + +HEAPF32[i11 + 504 >> 2];
+ HEAPF32[i15 >> 2] = d18;
+ HEAPF32[i16 >> 2] = d19;
+ HEAPF32[i11 + 316 >> 2] = 0.0;
+ i16 = i11 + 320 | 0;
+ i15 = i11 + 324 | 0;
+ d19 = +HEAPF32[i15 >> 2] + +HEAPF32[i11 + 524 >> 2];
+ i12 = i11 + 328 | 0;
+ d18 = +HEAPF32[i12 >> 2] + +HEAPF32[i11 + 528 >> 2];
+ HEAPF32[i16 >> 2] = +HEAPF32[i16 >> 2] + +HEAPF32[i11 + 520 >> 2];
+ HEAPF32[i15 >> 2] = d19;
+ HEAPF32[i12 >> 2] = d18;
+ HEAPF32[i11 + 332 >> 2] = 0.0;
+ }
+ } while (0);
+ i17 = i17 + 1 | 0;
+ } while ((i17 | 0) < (i3 | 0));
+ } else {
+ if (!i13) {
+ break;
+ }
+ i11 = i8 + 12 | 0;
+ i12 = 0;
+ do {
+ i15 = HEAP32[i2 + (i12 << 2) >> 2] | 0;
+ if (!((HEAP32[i15 + 232 >> 2] & 2 | 0) == 0 | (i15 | 0) == 0)) {
+ __ZN11btRigidBody25internalWritebackVelocityEf(i15, +HEAPF32[i11 >> 2]);
+ }
+ i12 = i12 + 1 | 0;
+ } while ((i12 | 0) < (i3 | 0));
+ }
+ } while (0);
+ i3 = i9;
+ _memset(i3 | 0, 0, 136);
+ i9 = HEAP32[i5 >> 2] | 0;
+ if ((i9 | 0) < 0) {
+ i2 = i1 + 12 | 0;
+ i8 = i1 + 16 | 0;
+ if ((HEAP32[i2 >> 2] | 0) < 0) {
+ i13 = HEAP32[i8 >> 2] | 0;
+ i17 = i1 + 20 | 0;
+ if ((i13 | 0) != 0) {
+ if ((HEAP8[i17] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i13);
+ }
+ HEAP32[i8 >> 2] = 0;
+ }
+ HEAP8[i17] = 1;
+ HEAP32[i8 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i20 = i9;
+ } else {
+ i20 = i9;
+ }
+ do {
+ i9 = (HEAP32[i8 >> 2] | 0) + (i20 * 136 | 0) | 0;
+ _memcpy(i9 | 0, i3 | 0, 136) | 0;
+ i20 = i20 + 1 | 0;
+ } while ((i20 | 0) < 0);
+ }
+ HEAP32[i5 >> 2] = 0;
+ i5 = i7;
+ _memset(i5 | 0, 0, 136);
+ i7 = HEAP32[i4 >> 2] | 0;
+ if ((i7 | 0) < 0) {
+ i20 = i1 + 32 | 0;
+ i3 = i1 + 36 | 0;
+ if ((HEAP32[i20 >> 2] | 0) < 0) {
+ i8 = HEAP32[i3 >> 2] | 0;
+ i9 = i1 + 40 | 0;
+ if ((i8 | 0) != 0) {
+ if ((HEAP8[i9] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i9] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i20 >> 2] = 0;
+ i21 = i7;
+ } else {
+ i21 = i7;
+ }
+ do {
+ i7 = (HEAP32[i3 >> 2] | 0) + (i21 * 136 | 0) | 0;
+ _memcpy(i7 | 0, i5 | 0, 136) | 0;
+ i21 = i21 + 1 | 0;
+ } while ((i21 | 0) < 0);
+ }
+ HEAP32[i4 >> 2] = 0;
+ i4 = i6;
+ _memset(i4 | 0, 0, 136);
+ i6 = i1 + 48 | 0;
+ i21 = HEAP32[i6 >> 2] | 0;
+ if ((i21 | 0) >= 0) {
+ HEAP32[i6 >> 2] = 0;
+ STACKTOP = i10;
+ return +0.0;
+ }
+ i5 = i1 + 52 | 0;
+ i3 = i1 + 56 | 0;
+ if ((HEAP32[i5 >> 2] | 0) < 0) {
+ i7 = HEAP32[i3 >> 2] | 0;
+ i20 = i1 + 60 | 0;
+ if ((i7 | 0) != 0) {
+ if ((HEAP8[i20] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i7);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i20] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i5 >> 2] = 0;
+ i22 = i21;
+ } else {
+ i22 = i21;
+ }
+ do {
+ i21 = (HEAP32[i3 >> 2] | 0) + (i22 * 136 | 0) | 0;
+ _memcpy(i21 | 0, i4 | 0, 136) | 0;
+ i22 = i22 + 1 | 0;
+ } while ((i22 | 0) < 0);
+ HEAP32[i6 >> 2] = 0;
+ STACKTOP = i10;
+ return +0.0;
+}
+function __ZN35btSequentialImpulseConstraintSolver28setFrictionConstraintImpulseER18btSolverConstraintP11btRigidBodyS3_R15btManifoldPointRK19btContactSolverInfo(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, d9 = 0.0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, i14 = 0, d15 = 0.0, d16 = 0.0, d17 = 0.0;
+ i7 = HEAP32[i6 + 60 >> 2] | 0;
+ i8 = HEAP32[i2 + 100 >> 2] | 0;
+ i2 = HEAP32[i1 + 56 >> 2] | 0;
+ if ((i7 & 8 | 0) == 0) {
+ HEAPF32[i2 + (i8 * 136 | 0) + 84 >> 2] = 0.0;
+ if ((i7 & 16 | 0) == 0) {
+ return;
+ }
+ HEAPF32[i2 + ((i8 + 1 | 0) * 136 | 0) + 84 >> 2] = 0.0;
+ return;
+ }
+ i1 = (i7 & 4 | 0) == 0;
+ do {
+ if (i1) {
+ HEAPF32[i2 + (i8 * 136 | 0) + 84 >> 2] = 0.0;
+ } else {
+ d9 = +HEAPF32[i5 + 120 >> 2] * +HEAPF32[i6 + 56 >> 2];
+ i10 = i2 + (i8 * 136 | 0) + 84 | 0;
+ HEAPF32[i10 >> 2] = d9;
+ do {
+ if ((i3 | 0) != 0) {
+ d11 = +HEAPF32[i3 + 336 >> 2];
+ if (d11 == 0.0) {
+ break;
+ }
+ d12 = d9 * d11 * +HEAPF32[i2 + (i8 * 136 | 0) + 20 >> 2] * +HEAPF32[i3 + 344 >> 2];
+ d13 = d9 * d11 * +HEAPF32[i2 + (i8 * 136 | 0) + 24 >> 2] * +HEAPF32[i3 + 348 >> 2];
+ i14 = i3 + 504 | 0;
+ HEAPF32[i14 >> 2] = +HEAPF32[i14 >> 2] + d9 * d11 * +HEAPF32[i2 + (i8 * 136 | 0) + 16 >> 2] * +HEAPF32[i3 + 340 >> 2];
+ i14 = i3 + 508 | 0;
+ HEAPF32[i14 >> 2] = d12 + +HEAPF32[i14 >> 2];
+ i14 = i3 + 512 | 0;
+ HEAPF32[i14 >> 2] = d13 + +HEAPF32[i14 >> 2];
+ d13 = d9 * +HEAPF32[i3 + 540 >> 2] * +HEAPF32[i2 + (i8 * 136 | 0) + 52 >> 2];
+ d12 = d9 * +HEAPF32[i3 + 544 >> 2] * +HEAPF32[i2 + (i8 * 136 | 0) + 56 >> 2];
+ i14 = i3 + 520 | 0;
+ HEAPF32[i14 >> 2] = d9 * +HEAPF32[i3 + 536 >> 2] * +HEAPF32[i2 + (i8 * 136 | 0) + 48 >> 2] + +HEAPF32[i14 >> 2];
+ i14 = i3 + 524 | 0;
+ HEAPF32[i14 >> 2] = d13 + +HEAPF32[i14 >> 2];
+ i14 = i3 + 528 | 0;
+ HEAPF32[i14 >> 2] = d12 + +HEAPF32[i14 >> 2];
+ }
+ } while (0);
+ if ((i4 | 0) == 0) {
+ break;
+ }
+ d9 = +HEAPF32[i4 + 336 >> 2];
+ d12 = -0.0 - +HEAPF32[i10 >> 2];
+ if (d9 == 0.0) {
+ break;
+ }
+ d13 = -0.0 - +HEAPF32[i2 + (i8 * 136 | 0) + 72 >> 2];
+ d11 = -0.0 - +HEAPF32[i2 + (i8 * 136 | 0) + 68 >> 2];
+ d15 = -0.0 - +HEAPF32[i2 + (i8 * 136 | 0) + 64 >> 2];
+ d16 = d9 * +HEAPF32[i2 + (i8 * 136 | 0) + 20 >> 2] * +HEAPF32[i4 + 344 >> 2] * d12;
+ d17 = d9 * +HEAPF32[i2 + (i8 * 136 | 0) + 24 >> 2] * +HEAPF32[i4 + 348 >> 2] * d12;
+ i14 = i4 + 504 | 0;
+ HEAPF32[i14 >> 2] = +HEAPF32[i14 >> 2] + d9 * +HEAPF32[i2 + (i8 * 136 | 0) + 16 >> 2] * +HEAPF32[i4 + 340 >> 2] * d12;
+ i14 = i4 + 508 | 0;
+ HEAPF32[i14 >> 2] = d16 + +HEAPF32[i14 >> 2];
+ i14 = i4 + 512 | 0;
+ HEAPF32[i14 >> 2] = d17 + +HEAPF32[i14 >> 2];
+ d17 = +HEAPF32[i4 + 540 >> 2] * d12 * d11;
+ d11 = +HEAPF32[i4 + 544 >> 2] * d12 * d13;
+ i14 = i4 + 520 | 0;
+ HEAPF32[i14 >> 2] = +HEAPF32[i4 + 536 >> 2] * d12 * d15 + +HEAPF32[i14 >> 2];
+ i14 = i4 + 524 | 0;
+ HEAPF32[i14 >> 2] = d17 + +HEAPF32[i14 >> 2];
+ i14 = i4 + 528 | 0;
+ HEAPF32[i14 >> 2] = d11 + +HEAPF32[i14 >> 2];
+ }
+ } while (0);
+ if ((i7 & 16 | 0) == 0) {
+ return;
+ }
+ i7 = i8 + 1 | 0;
+ if (i1) {
+ HEAPF32[i2 + (i7 * 136 | 0) + 84 >> 2] = 0.0;
+ return;
+ }
+ d11 = +HEAPF32[i5 + 124 >> 2] * +HEAPF32[i6 + 56 >> 2];
+ i6 = i2 + (i7 * 136 | 0) + 84 | 0;
+ HEAPF32[i6 >> 2] = d11;
+ do {
+ if ((i3 | 0) != 0) {
+ d17 = +HEAPF32[i3 + 336 >> 2];
+ if (d17 == 0.0) {
+ break;
+ }
+ d15 = d11 * d17 * +HEAPF32[i2 + (i7 * 136 | 0) + 20 >> 2];
+ d12 = d11 * d17 * +HEAPF32[i2 + (i7 * 136 | 0) + 24 >> 2];
+ i5 = i3 + 504 | 0;
+ HEAPF32[i5 >> 2] = +HEAPF32[i5 >> 2] + d11 * d17 * +HEAPF32[i2 + (i7 * 136 | 0) + 16 >> 2];
+ i5 = i3 + 508 | 0;
+ HEAPF32[i5 >> 2] = d15 + +HEAPF32[i5 >> 2];
+ i5 = i3 + 512 | 0;
+ HEAPF32[i5 >> 2] = d12 + +HEAPF32[i5 >> 2];
+ d12 = d11 * +HEAPF32[i3 + 540 >> 2] * +HEAPF32[i2 + (i7 * 136 | 0) + 52 >> 2];
+ d15 = d11 * +HEAPF32[i3 + 544 >> 2] * +HEAPF32[i2 + (i7 * 136 | 0) + 56 >> 2];
+ i5 = i3 + 520 | 0;
+ HEAPF32[i5 >> 2] = d11 * +HEAPF32[i3 + 536 >> 2] * +HEAPF32[i2 + (i7 * 136 | 0) + 48 >> 2] + +HEAPF32[i5 >> 2];
+ i5 = i3 + 524 | 0;
+ HEAPF32[i5 >> 2] = d12 + +HEAPF32[i5 >> 2];
+ i5 = i3 + 528 | 0;
+ HEAPF32[i5 >> 2] = d15 + +HEAPF32[i5 >> 2];
+ }
+ } while (0);
+ if ((i4 | 0) == 0) {
+ return;
+ }
+ d11 = +HEAPF32[i4 + 336 >> 2];
+ d15 = -0.0 - +HEAPF32[i6 >> 2];
+ if (d11 == 0.0) {
+ return;
+ }
+ d12 = -0.0 - +HEAPF32[i2 + (i7 * 136 | 0) + 72 >> 2];
+ d17 = -0.0 - +HEAPF32[i2 + (i7 * 136 | 0) + 68 >> 2];
+ d13 = -0.0 - +HEAPF32[i2 + (i7 * 136 | 0) + 64 >> 2];
+ d16 = d11 * +HEAPF32[i2 + (i7 * 136 | 0) + 20 >> 2] * d15;
+ d9 = d11 * +HEAPF32[i2 + (i7 * 136 | 0) + 24 >> 2] * d15;
+ i6 = i4 + 504 | 0;
+ HEAPF32[i6 >> 2] = +HEAPF32[i6 >> 2] + d11 * +HEAPF32[i2 + (i7 * 136 | 0) + 16 >> 2] * d15;
+ i7 = i4 + 508 | 0;
+ HEAPF32[i7 >> 2] = d16 + +HEAPF32[i7 >> 2];
+ i7 = i4 + 512 | 0;
+ HEAPF32[i7 >> 2] = d9 + +HEAPF32[i7 >> 2];
+ d9 = +HEAPF32[i4 + 540 >> 2] * d15 * d17;
+ d17 = +HEAPF32[i4 + 544 >> 2] * d15 * d12;
+ i7 = i4 + 520 | 0;
+ HEAPF32[i7 >> 2] = +HEAPF32[i4 + 536 >> 2] * d15 * d13 + +HEAPF32[i7 >> 2];
+ i7 = i4 + 524 | 0;
+ HEAPF32[i7 >> 2] = d9 + +HEAPF32[i7 >> 2];
+ i7 = i4 + 528 | 0;
+ HEAPF32[i7 >> 2] = d17 + +HEAPF32[i7 >> 2];
+ return;
+}
+function __ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_S3_PfRj(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, d13 = 0.0, i14 = 0, d15 = 0.0, d16 = 0.0, i17 = 0, d18 = 0.0, i19 = 0, d20 = 0.0, d21 = 0.0, i22 = 0, d23 = 0.0, d24 = 0.0, d25 = 0.0, i26 = 0, d27 = 0.0, d28 = 0.0, i29 = 0, d30 = 0.0, d31 = 0.0, i32 = 0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, i37 = 0, d38 = 0.0, d39 = 0.0, i40 = 0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, d49 = 0.0, i50 = 0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 88 | 0;
+ i8 = i7 | 0;
+ i9 = i7 + 16 | 0;
+ i10 = i7 + 64 | 0;
+ i11 = i7 + 80 | 0;
+ HEAP32[i8 >> 2] = i1;
+ HEAP32[i8 + 4 >> 2] = i2;
+ HEAP32[i8 + 8 >> 2] = i3;
+ HEAP32[i8 + 12 >> 2] = i4;
+ i12 = i1 | 0;
+ d13 = +HEAPF32[i12 >> 2];
+ i14 = i4 | 0;
+ d15 = +HEAPF32[i14 >> 2];
+ d16 = d13 - d15;
+ i17 = i1 + 4 | 0;
+ d18 = +HEAPF32[i17 >> 2];
+ i19 = i4 + 4 | 0;
+ d20 = +HEAPF32[i19 >> 2];
+ d21 = d18 - d20;
+ i22 = i1 + 8 | 0;
+ d23 = +HEAPF32[i22 >> 2];
+ i1 = i4 + 8 | 0;
+ d24 = +HEAPF32[i1 >> 2];
+ d25 = d23 - d24;
+ HEAPF32[i9 >> 2] = d16;
+ HEAPF32[i9 + 4 >> 2] = d21;
+ HEAPF32[i9 + 8 >> 2] = d25;
+ HEAPF32[i9 + 12 >> 2] = 0.0;
+ i26 = i2 | 0;
+ d27 = +HEAPF32[i26 >> 2];
+ d28 = d27 - d15;
+ i29 = i2 + 4 | 0;
+ d30 = +HEAPF32[i29 >> 2];
+ d31 = d30 - d20;
+ i32 = i2 + 8 | 0;
+ d33 = +HEAPF32[i32 >> 2];
+ d34 = d33 - d24;
+ HEAPF32[i9 + 16 >> 2] = d28;
+ HEAPF32[i9 + 20 >> 2] = d31;
+ HEAPF32[i9 + 24 >> 2] = d34;
+ HEAPF32[i9 + 28 >> 2] = 0.0;
+ i2 = i3 | 0;
+ d35 = +HEAPF32[i2 >> 2];
+ d36 = d35 - d15;
+ i37 = i3 + 4 | 0;
+ d38 = +HEAPF32[i37 >> 2];
+ d39 = d38 - d20;
+ i40 = i3 + 8 | 0;
+ d41 = +HEAPF32[i40 >> 2];
+ d42 = d41 - d24;
+ HEAPF32[i9 + 32 >> 2] = d36;
+ HEAPF32[i9 + 36 >> 2] = d39;
+ HEAPF32[i9 + 40 >> 2] = d42;
+ HEAPF32[i9 + 44 >> 2] = 0.0;
+ d43 = d16 * d31 * d42 + (d21 * d34 * d36 + d25 * d28 * d39 - d16 * d34 * d39 - d21 * d28 * d42) - d25 * d31 * d36;
+ d36 = d27 - d35;
+ d35 = d30 - d38;
+ d38 = d33 - d41;
+ d41 = d13 - d27;
+ d27 = d18 - d30;
+ d30 = d23 - d33;
+ if (d43 * (d23 * (d27 * d36 - d41 * d35) + (d13 * (d30 * d35 - d27 * d38) + d18 * (d41 * d38 - d30 * d36))) > 0.0 | d43 == 0.0) {
+ d44 = -1.0;
+ STACKTOP = i7;
+ return +d44;
+ }
+ _memset(i10 | 0, 0, 12);
+ HEAP32[i11 >> 2] = 0;
+ i3 = i10 | 0;
+ i45 = i10 + 4 | 0;
+ i46 = i10 + 8 | 0;
+ i10 = i5 + 12 | 0;
+ i47 = 0;
+ d36 = -1.0;
+ d30 = d21;
+ d21 = d25;
+ d25 = d16;
+ d16 = d15;
+ d15 = d20;
+ d20 = d24;
+ while (1) {
+ i48 = HEAP32[1312 + (i47 << 2) >> 2] | 0;
+ d24 = +HEAPF32[i9 + (i48 << 4) + 8 >> 2];
+ d38 = +HEAPF32[i9 + (i48 << 4) + 4 >> 2];
+ d41 = +HEAPF32[i9 + (i48 << 4) >> 2];
+ do {
+ if (d43 * (d20 * (d25 * d38 - d30 * d41) + (d16 * (d30 * d24 - d21 * d38) + d15 * (d21 * d41 - d25 * d24))) > 0.0) {
+ d18 = +__ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_PfRj(HEAP32[i8 + (i47 << 2) >> 2] | 0, HEAP32[i8 + (i48 << 2) >> 2] | 0, i4, i3, i11);
+ if (!(d36 < 0.0 | d18 < d36)) {
+ d49 = d36;
+ break;
+ }
+ i50 = HEAP32[i11 >> 2] | 0;
+ HEAP32[i6 >> 2] = ((i50 & 2 | 0) == 0 ? 0 : 1 << i48) + (i50 << 1 & 8) + ((i50 & 1 | 0) == 0 ? 0 : 1 << i47);
+ HEAPF32[i5 + (i47 << 2) >> 2] = +HEAPF32[i3 >> 2];
+ HEAPF32[i5 + (i48 << 2) >> 2] = +HEAPF32[i45 >> 2];
+ HEAPF32[i5 + (HEAP32[1312 + (i48 << 2) >> 2] << 2) >> 2] = 0.0;
+ HEAPF32[i10 >> 2] = +HEAPF32[i46 >> 2];
+ d49 = d18;
+ } else {
+ d49 = d36;
+ }
+ } while (0);
+ i48 = i47 + 1 | 0;
+ if (i48 >>> 0 >= 3) {
+ break;
+ }
+ i47 = i48;
+ d36 = d49;
+ d30 = +HEAPF32[i9 + (i48 << 4) + 4 >> 2];
+ d21 = +HEAPF32[i9 + (i48 << 4) + 8 >> 2];
+ d25 = +HEAPF32[i9 + (i48 << 4) >> 2];
+ d16 = +HEAPF32[i14 >> 2];
+ d15 = +HEAPF32[i19 >> 2];
+ d20 = +HEAPF32[i1 >> 2];
+ }
+ if (d49 >= 0.0) {
+ d44 = d49;
+ STACKTOP = i7;
+ return +d44;
+ }
+ HEAP32[i6 >> 2] = 15;
+ d49 = +HEAPF32[i37 >> 2];
+ d20 = +HEAPF32[i32 >> 2];
+ d15 = +HEAPF32[i14 >> 2];
+ d16 = +HEAPF32[i40 >> 2];
+ d25 = +HEAPF32[i26 >> 2];
+ d21 = +HEAPF32[i19 >> 2];
+ d30 = +HEAPF32[i2 >> 2];
+ d36 = +HEAPF32[i1 >> 2];
+ d24 = +HEAPF32[i29 >> 2];
+ d41 = (d49 * d20 * d15 + d16 * d25 * d21 - d21 * d20 * d30 - d49 * d25 * d36 + d36 * d30 * d24 - d15 * d16 * d24) / d43;
+ HEAPF32[i5 >> 2] = d41;
+ d24 = +HEAPF32[i17 >> 2];
+ d16 = +HEAPF32[i40 >> 2];
+ d15 = +HEAPF32[i14 >> 2];
+ d30 = +HEAPF32[i22 >> 2];
+ d36 = +HEAPF32[i2 >> 2];
+ d25 = +HEAPF32[i19 >> 2];
+ d49 = +HEAPF32[i12 >> 2];
+ d20 = +HEAPF32[i1 >> 2];
+ d21 = +HEAPF32[i37 >> 2];
+ d38 = (d24 * d16 * d15 + d30 * d36 * d25 - d25 * d16 * d49 - d24 * d36 * d20 + d20 * d49 * d21 - d15 * d30 * d21) / d43;
+ HEAPF32[i5 + 4 >> 2] = d38;
+ d21 = +HEAPF32[i29 >> 2];
+ d30 = +HEAPF32[i22 >> 2];
+ d15 = +HEAPF32[i14 >> 2];
+ d49 = +HEAPF32[i32 >> 2];
+ d20 = +HEAPF32[i12 >> 2];
+ d36 = +HEAPF32[i19 >> 2];
+ d24 = +HEAPF32[i26 >> 2];
+ d16 = +HEAPF32[i1 >> 2];
+ d25 = +HEAPF32[i17 >> 2];
+ d18 = (d21 * d30 * d15 + d49 * d20 * d36 - d36 * d30 * d24 - d21 * d20 * d16 + d16 * d24 * d25 - d15 * d49 * d25) / d43;
+ HEAPF32[i5 + 8 >> 2] = d18;
+ HEAPF32[i10 >> 2] = 1.0 - (d41 + d38 + d18);
+ d44 = 0.0;
+ STACKTOP = i7;
+ return +d44;
+}
+function __ZN22SphereTriangleDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, d15 = 0.0, i16 = 0, d17 = 0.0, i18 = 0, d19 = 0.0, i20 = 0, d21 = 0.0, d22 = 0.0, i23 = 0, d24 = 0.0, d25 = 0.0, i26 = 0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, i35 = 0, d36 = 0.0, i37 = 0, d38 = 0.0, i39 = 0, d40 = 0.0, i41 = 0, d42 = 0.0, i43 = 0, d44 = 0.0, i45 = 0, d46 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 168 | 0;
+ i6 = i4 | 0;
+ i7 = i4 + 16 | 0;
+ i8 = i4 + 32 | 0;
+ i9 = i4 + 40 | 0;
+ i10 = i4 + 104 | 0;
+ i11 = i4 + 120 | 0;
+ i12 = i4 + 136 | 0;
+ i13 = i4 + 152 | 0;
+ HEAPF32[i8 >> 2] = 0.0;
+ i14 = i2 + 112 | 0;
+ d15 = +HEAPF32[i2 + 48 >> 2] - +HEAPF32[i14 >> 2];
+ i16 = i2 + 116 | 0;
+ d17 = +HEAPF32[i2 + 52 >> 2] - +HEAPF32[i16 >> 2];
+ i18 = i2 + 120 | 0;
+ d19 = +HEAPF32[i2 + 56 >> 2] - +HEAPF32[i18 >> 2];
+ i20 = i2 + 64 | 0;
+ d21 = +HEAPF32[i20 >> 2];
+ d22 = +HEAPF32[i2 >> 2];
+ i23 = i2 + 80 | 0;
+ d24 = +HEAPF32[i23 >> 2];
+ d25 = +HEAPF32[i2 + 16 >> 2];
+ i26 = i2 + 96 | 0;
+ d27 = +HEAPF32[i26 >> 2];
+ d28 = +HEAPF32[i2 + 32 >> 2];
+ d29 = +HEAPF32[i2 + 4 >> 2];
+ d30 = +HEAPF32[i2 + 20 >> 2];
+ d31 = +HEAPF32[i2 + 36 >> 2];
+ d32 = +HEAPF32[i2 + 8 >> 2];
+ d33 = +HEAPF32[i2 + 24 >> 2];
+ d34 = +HEAPF32[i2 + 40 >> 2];
+ i35 = i2 + 68 | 0;
+ d36 = +HEAPF32[i35 >> 2];
+ i37 = i2 + 84 | 0;
+ d38 = +HEAPF32[i37 >> 2];
+ i39 = i2 + 100 | 0;
+ d40 = +HEAPF32[i39 >> 2];
+ i41 = i2 + 72 | 0;
+ d42 = +HEAPF32[i41 >> 2];
+ i43 = i2 + 88 | 0;
+ d44 = +HEAPF32[i43 >> 2];
+ i45 = i2 + 104 | 0;
+ d46 = +HEAPF32[i45 >> 2];
+ HEAPF32[i9 >> 2] = d21 * d22 + d24 * d25 + d27 * d28;
+ HEAPF32[i9 + 4 >> 2] = d21 * d29 + d24 * d30 + d27 * d31;
+ HEAPF32[i9 + 8 >> 2] = d21 * d32 + d24 * d33 + d27 * d34;
+ HEAPF32[i9 + 12 >> 2] = 0.0;
+ HEAPF32[i9 + 16 >> 2] = d22 * d36 + d25 * d38 + d28 * d40;
+ HEAPF32[i9 + 20 >> 2] = d29 * d36 + d30 * d38 + d31 * d40;
+ HEAPF32[i9 + 24 >> 2] = d32 * d36 + d33 * d38 + d34 * d40;
+ HEAPF32[i9 + 28 >> 2] = 0.0;
+ HEAPF32[i9 + 32 >> 2] = d22 * d42 + d25 * d44 + d28 * d46;
+ HEAPF32[i9 + 36 >> 2] = d29 * d42 + d30 * d44 + d31 * d46;
+ HEAPF32[i9 + 40 >> 2] = d32 * d42 + d33 * d44 + d34 * d46;
+ HEAPF32[i9 + 44 >> 2] = 0.0;
+ HEAPF32[i9 + 48 >> 2] = d15 * d21 + d17 * d24 + d19 * d27;
+ HEAPF32[i9 + 52 >> 2] = d15 * d36 + d17 * d38 + d19 * d40;
+ HEAPF32[i9 + 56 >> 2] = d15 * d42 + d17 * d44 + d19 * d46;
+ HEAPF32[i9 + 60 >> 2] = 0.0;
+ if (!(__ZN22SphereTriangleDetector7collideERK9btVector3RS0_S3_RfS4_f(i1, i9 + 48 | 0, i6, i7, i8, 0, +HEAPF32[i1 + 12 >> 2]) | 0)) {
+ STACKTOP = i4;
+ return;
+ }
+ if (i5) {
+ d46 = +HEAPF32[i20 >> 2];
+ d19 = +HEAPF32[i7 >> 2];
+ d44 = +HEAPF32[i35 >> 2];
+ d17 = +HEAPF32[i7 + 4 >> 2];
+ d42 = +HEAPF32[i41 >> 2];
+ d15 = +HEAPF32[i7 + 8 >> 2];
+ d40 = d46 * d19 + d44 * d17 + d42 * d15;
+ d38 = +HEAPF32[i23 >> 2];
+ d36 = +HEAPF32[i37 >> 2];
+ d27 = +HEAPF32[i43 >> 2];
+ d24 = d19 * d38 + d17 * d36 + d15 * d27;
+ d21 = +HEAPF32[i26 >> 2];
+ d34 = +HEAPF32[i39 >> 2];
+ d33 = +HEAPF32[i45 >> 2];
+ d32 = d19 * d21 + d17 * d34 + d15 * d33;
+ HEAPF32[i10 >> 2] = -0.0 - d40;
+ HEAPF32[i10 + 4 >> 2] = -0.0 - d24;
+ HEAPF32[i10 + 8 >> 2] = -0.0 - d32;
+ HEAPF32[i10 + 12 >> 2] = 0.0;
+ d15 = +HEAPF32[i6 >> 2];
+ d17 = +HEAPF32[i6 + 4 >> 2];
+ d19 = +HEAPF32[i6 + 8 >> 2];
+ d31 = +HEAPF32[i8 >> 2];
+ d30 = +HEAPF32[i16 >> 2] + (d38 * d15 + d36 * d17 + d27 * d19) + d24 * d31;
+ d24 = d21 * d15 + d34 * d17 + d33 * d19 + +HEAPF32[i18 >> 2] + d32 * d31;
+ HEAPF32[i11 >> 2] = +HEAPF32[i14 >> 2] + (d46 * d15 + d44 * d17 + d42 * d19) + d40 * d31;
+ HEAPF32[i11 + 4 >> 2] = d30;
+ HEAPF32[i11 + 8 >> 2] = d24;
+ HEAPF32[i11 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 15](i3, i10, i11, d31);
+ STACKTOP = i4;
+ return;
+ } else {
+ i11 = HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] | 0;
+ d31 = +HEAPF32[i20 >> 2];
+ d24 = +HEAPF32[i7 >> 2];
+ d30 = +HEAPF32[i35 >> 2];
+ d40 = +HEAPF32[i7 + 4 >> 2];
+ d19 = +HEAPF32[i41 >> 2];
+ d42 = +HEAPF32[i7 + 8 >> 2];
+ d17 = +HEAPF32[i23 >> 2];
+ d44 = +HEAPF32[i37 >> 2];
+ d15 = +HEAPF32[i43 >> 2];
+ d46 = +HEAPF32[i26 >> 2];
+ d32 = +HEAPF32[i39 >> 2];
+ d33 = +HEAPF32[i45 >> 2];
+ HEAPF32[i12 >> 2] = d31 * d24 + d30 * d40 + d19 * d42;
+ HEAPF32[i12 + 4 >> 2] = d24 * d17 + d40 * d44 + d42 * d15;
+ HEAPF32[i12 + 8 >> 2] = d24 * d46 + d40 * d32 + d42 * d33;
+ HEAPF32[i12 + 12 >> 2] = 0.0;
+ d42 = +HEAPF32[i6 >> 2];
+ d40 = +HEAPF32[i6 + 4 >> 2];
+ d24 = +HEAPF32[i6 + 8 >> 2];
+ d34 = +HEAPF32[i16 >> 2] + (d17 * d42 + d44 * d40 + d15 * d24);
+ d15 = d46 * d42 + d32 * d40 + d33 * d24 + +HEAPF32[i18 >> 2];
+ HEAPF32[i13 >> 2] = +HEAPF32[i14 >> 2] + (d31 * d42 + d30 * d40 + d19 * d24);
+ HEAPF32[i13 + 4 >> 2] = d34;
+ HEAPF32[i13 + 8 >> 2] = d15;
+ HEAPF32[i13 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[i11 & 15](i3, i12, i13, +HEAPF32[i8 >> 2]);
+ STACKTOP = i4;
+ return;
+ }
+}
+function __ZN20btConvexHullInternal12findMaxAngleEbPKNS_6VertexERKNS_7Point32ERKNS_7Point64ES8_RNS_10Rational64E(i1, i2, i3, i4, i5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ var i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0;
+ i8 = STACKTOP;
+ STACKTOP = STACKTOP + 40 | 0;
+ i9 = i8 | 0;
+ i10 = i8 + 16 | 0;
+ i11 = i3 + 8 | 0;
+ i12 = HEAP32[i11 >> 2] | 0;
+ if ((i12 | 0) == 0) {
+ i13 = 0;
+ STACKTOP = i8;
+ return i13 | 0;
+ }
+ i14 = i1 + 100 | 0;
+ i1 = i3 + 88 | 0;
+ i15 = i3 + 92 | 0;
+ i16 = i3 + 96 | 0;
+ i3 = i9 | 0;
+ i17 = i9 + 4 | 0;
+ i18 = i9 + 8 | 0;
+ i19 = i9 + 12 | 0;
+ i20 = i6 | 0;
+ i21 = i6 + 8 | 0;
+ i22 = i6 + 16 | 0;
+ i6 = i5 | 0;
+ i23 = i5 + 8 | 0;
+ i24 = i5 + 16 | 0;
+ i5 = i10 + 16 | 0;
+ i25 = i10 | 0;
+ i26 = i10 + 8 | 0;
+ i27 = i7;
+ i28 = i10;
+ i29 = 0;
+ i30 = i12;
+ while (1) {
+ do {
+ if ((HEAP32[i30 + 20 >> 2] | 0) > (HEAP32[i14 >> 2] | 0)) {
+ i12 = HEAP32[i30 + 12 >> 2] | 0;
+ i31 = (HEAP32[i12 + 88 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) | 0;
+ i32 = (HEAP32[i12 + 92 >> 2] | 0) - (HEAP32[i15 >> 2] | 0) | 0;
+ i33 = (HEAP32[i12 + 96 >> 2] | 0) - (HEAP32[i16 >> 2] | 0) | 0;
+ HEAP32[i3 >> 2] = i31;
+ HEAP32[i17 >> 2] = i32;
+ HEAP32[i18 >> 2] = i33;
+ HEAP32[i19 >> 2] = -1;
+ i12 = i31;
+ i34 = (i31 | 0) < 0 ? -1 : 0;
+ i31 = ___muldi3(HEAP32[i20 >> 2] | 0, HEAP32[i20 + 4 >> 2] | 0, i12, i34) | 0;
+ i35 = tempRet0;
+ i36 = i32;
+ i37 = (i32 | 0) < 0 ? -1 : 0;
+ i32 = ___muldi3(HEAP32[i21 >> 2] | 0, HEAP32[i21 + 4 >> 2] | 0, i36, i37) | 0;
+ i38 = _i64Add(i32, tempRet0, i31, i35) | 0;
+ i35 = tempRet0;
+ i31 = i33;
+ i32 = (i33 | 0) < 0 ? -1 : 0;
+ i33 = ___muldi3(HEAP32[i22 >> 2] | 0, HEAP32[i22 + 4 >> 2] | 0, i31, i32) | 0;
+ i39 = _i64Add(i38, i35, i33, tempRet0) | 0;
+ i33 = tempRet0;
+ i35 = ___muldi3(HEAP32[i6 >> 2] | 0, HEAP32[i6 + 4 >> 2] | 0, i12, i34) | 0;
+ i34 = tempRet0;
+ i12 = ___muldi3(HEAP32[i23 >> 2] | 0, HEAP32[i23 + 4 >> 2] | 0, i36, i37) | 0;
+ i37 = _i64Add(i12, tempRet0, i35, i34) | 0;
+ i34 = tempRet0;
+ i35 = ___muldi3(HEAP32[i24 >> 2] | 0, HEAP32[i24 + 4 >> 2] | 0, i31, i32) | 0;
+ i32 = _i64Add(i37, i34, i35, tempRet0) | 0;
+ i35 = tempRet0;
+ i34 = 0;
+ do {
+ if ((i33 | 0) > (i34 | 0) | (i33 | 0) == (i34 | 0) & i39 >>> 0 > 0 >>> 0) {
+ HEAP32[i5 >> 2] = 1;
+ HEAP32[i25 >> 2] = i39;
+ HEAP32[i25 + 4 >> 2] = i33;
+ i40 = 1;
+ } else {
+ i37 = 0;
+ if ((i33 | 0) < (i37 | 0) | (i33 | 0) == (i37 | 0) & i39 >>> 0 < 0 >>> 0) {
+ HEAP32[i5 >> 2] = -1;
+ i37 = _i64Subtract(0, 0, i39, i33) | 0;
+ HEAP32[i25 >> 2] = i37;
+ HEAP32[i25 + 4 >> 2] = tempRet0;
+ i40 = -1;
+ break;
+ } else {
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i25 >> 2] = 0;
+ HEAP32[i25 + 4 >> 2] = 0;
+ i40 = 0;
+ break;
+ }
+ }
+ } while (0);
+ i33 = 0;
+ if ((i35 | 0) > (i33 | 0) | (i35 | 0) == (i33 | 0) & i32 >>> 0 > 0 >>> 0) {
+ HEAP32[i26 >> 2] = i32;
+ HEAP32[i26 + 4 >> 2] = i35;
+ } else {
+ i33 = 0;
+ if ((i35 | 0) < (i33 | 0) | (i35 | 0) == (i33 | 0) & i32 >>> 0 < 0 >>> 0) {
+ i33 = -i40 | 0;
+ HEAP32[i5 >> 2] = i33;
+ i39 = _i64Subtract(0, 0, i32, i35) | 0;
+ i41 = i33;
+ i42 = 0;
+ i43 = tempRet0;
+ i44 = i39;
+ } else {
+ i41 = i40;
+ i42 = 1;
+ i43 = 0;
+ i44 = 0;
+ }
+ HEAP32[i26 >> 2] = i44;
+ HEAP32[i26 + 4 >> 2] = i43;
+ if ((i41 | 0) == 0 & i42) {
+ i45 = i29;
+ break;
+ }
+ }
+ if ((i29 | 0) == 0) {
+ HEAP32[i27 >> 2] = HEAP32[i28 >> 2];
+ HEAP32[i27 + 4 >> 2] = HEAP32[i28 + 4 >> 2];
+ HEAP32[i27 + 8 >> 2] = HEAP32[i28 + 8 >> 2];
+ HEAP32[i27 + 12 >> 2] = HEAP32[i28 + 12 >> 2];
+ HEAP32[i27 + 16 >> 2] = HEAP32[i28 + 16 >> 2];
+ i45 = i30;
+ break;
+ }
+ i39 = __ZNK20btConvexHullInternal10Rational647compareERKS0_(i10, i7) | 0;
+ if ((i39 | 0) < 0) {
+ HEAP32[i27 >> 2] = HEAP32[i28 >> 2];
+ HEAP32[i27 + 4 >> 2] = HEAP32[i28 + 4 >> 2];
+ HEAP32[i27 + 8 >> 2] = HEAP32[i28 + 8 >> 2];
+ HEAP32[i27 + 12 >> 2] = HEAP32[i28 + 12 >> 2];
+ HEAP32[i27 + 16 >> 2] = HEAP32[i28 + 16 >> 2];
+ i45 = i30;
+ break;
+ }
+ if ((i39 | 0) != 0) {
+ i45 = i29;
+ break;
+ }
+ i45 = (__ZN20btConvexHullInternal14getOrientationEPKNS_4EdgeES2_RKNS_7Point32ES5_(i29, i30, i4, i9) | 0) == 2 ^ i2 ? i29 : i30;
+ } else {
+ i45 = i29;
+ }
+ } while (0);
+ i39 = HEAP32[i30 >> 2] | 0;
+ if ((i39 | 0) == (HEAP32[i11 >> 2] | 0)) {
+ i13 = i45;
+ break;
+ } else {
+ i29 = i45;
+ i30 = i39;
+ }
+ }
+ STACKTOP = i8;
+ return i13 | 0;
+}
+function ___udivmoddi4(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0;
+ i6 = i1;
+ i7 = i2;
+ i8 = i7;
+ i9 = i3;
+ i10 = i4;
+ i11 = i10;
+ if ((i8 | 0) == 0) {
+ i12 = (i5 | 0) != 0;
+ if ((i11 | 0) == 0) {
+ if (i12) {
+ HEAP32[i5 >> 2] = (i6 >>> 0) % (i9 >>> 0);
+ HEAP32[i5 + 4 >> 2] = 0;
+ }
+ i13 = 0;
+ i14 = (i6 >>> 0) / (i9 >>> 0) >>> 0;
+ return (tempRet0 = i13, i14) | 0;
+ } else {
+ if (!i12) {
+ i13 = 0;
+ i14 = 0;
+ return (tempRet0 = i13, i14) | 0;
+ }
+ HEAP32[i5 >> 2] = i1 | 0;
+ HEAP32[i5 + 4 >> 2] = i2 & 0;
+ i13 = 0;
+ i14 = 0;
+ return (tempRet0 = i13, i14) | 0;
+ }
+ }
+ i12 = (i11 | 0) == 0;
+ do {
+ if ((i9 | 0) == 0) {
+ if (i12) {
+ if ((i5 | 0) != 0) {
+ HEAP32[i5 >> 2] = (i8 >>> 0) % (i9 >>> 0);
+ HEAP32[i5 + 4 >> 2] = 0;
+ }
+ i13 = 0;
+ i14 = (i8 >>> 0) / (i9 >>> 0) >>> 0;
+ return (tempRet0 = i13, i14) | 0;
+ }
+ if ((i6 | 0) == 0) {
+ if ((i5 | 0) != 0) {
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i5 + 4 >> 2] = (i8 >>> 0) % (i11 >>> 0);
+ }
+ i13 = 0;
+ i14 = (i8 >>> 0) / (i11 >>> 0) >>> 0;
+ return (tempRet0 = i13, i14) | 0;
+ }
+ i15 = i11 - 1 | 0;
+ if ((i15 & i11 | 0) == 0) {
+ if ((i5 | 0) != 0) {
+ HEAP32[i5 >> 2] = i1 | 0;
+ HEAP32[i5 + 4 >> 2] = i15 & i8 | i2 & 0;
+ }
+ i13 = 0;
+ i14 = i8 >>> ((_llvm_cttz_i32(i11 | 0) | 0) >>> 0);
+ return (tempRet0 = i13, i14) | 0;
+ }
+ i15 = (_llvm_ctlz_i32(i11 | 0) | 0) - (_llvm_ctlz_i32(i8 | 0) | 0) | 0;
+ if (i15 >>> 0 <= 30) {
+ i16 = i15 + 1 | 0;
+ i17 = 31 - i15 | 0;
+ i18 = i16;
+ i19 = i8 << i17 | i6 >>> (i16 >>> 0);
+ i20 = i8 >>> (i16 >>> 0);
+ i21 = 0;
+ i22 = i6 << i17;
+ break;
+ }
+ if ((i5 | 0) == 0) {
+ i13 = 0;
+ i14 = 0;
+ return (tempRet0 = i13, i14) | 0;
+ }
+ HEAP32[i5 >> 2] = i1 | 0;
+ HEAP32[i5 + 4 >> 2] = i7 | i2 & 0;
+ i13 = 0;
+ i14 = 0;
+ return (tempRet0 = i13, i14) | 0;
+ } else {
+ if (!i12) {
+ i17 = (_llvm_ctlz_i32(i11 | 0) | 0) - (_llvm_ctlz_i32(i8 | 0) | 0) | 0;
+ if (i17 >>> 0 <= 31) {
+ i16 = i17 + 1 | 0;
+ i15 = 31 - i17 | 0;
+ i23 = i17 - 31 >> 31;
+ i18 = i16;
+ i19 = i6 >>> (i16 >>> 0) & i23 | i8 << i15;
+ i20 = i8 >>> (i16 >>> 0) & i23;
+ i21 = 0;
+ i22 = i6 << i15;
+ break;
+ }
+ if ((i5 | 0) == 0) {
+ i13 = 0;
+ i14 = 0;
+ return (tempRet0 = i13, i14) | 0;
+ }
+ HEAP32[i5 >> 2] = i1 | 0;
+ HEAP32[i5 + 4 >> 2] = i7 | i2 & 0;
+ i13 = 0;
+ i14 = 0;
+ return (tempRet0 = i13, i14) | 0;
+ }
+ i15 = i9 - 1 | 0;
+ if ((i15 & i9 | 0) != 0) {
+ i23 = (_llvm_ctlz_i32(i9 | 0) | 0) + 33 - (_llvm_ctlz_i32(i8 | 0) | 0) | 0;
+ i16 = 64 - i23 | 0;
+ i17 = 32 - i23 | 0;
+ i24 = i17 >> 31;
+ i25 = i23 - 32 | 0;
+ i26 = i25 >> 31;
+ i18 = i23;
+ i19 = i17 - 1 >> 31 & i8 >>> (i25 >>> 0) | (i8 << i17 | i6 >>> (i23 >>> 0)) & i26;
+ i20 = i26 & i8 >>> (i23 >>> 0);
+ i21 = i6 << i16 & i24;
+ i22 = (i8 << i16 | i6 >>> (i25 >>> 0)) & i24 | i6 << i17 & i23 - 33 >> 31;
+ break;
+ }
+ if ((i5 | 0) != 0) {
+ HEAP32[i5 >> 2] = i15 & i6;
+ HEAP32[i5 + 4 >> 2] = 0;
+ }
+ if ((i9 | 0) == 1) {
+ i13 = i7 | i2 & 0;
+ i14 = i1 | 0 | 0;
+ return (tempRet0 = i13, i14) | 0;
+ } else {
+ i15 = _llvm_cttz_i32(i9 | 0) | 0;
+ i13 = i8 >>> (i15 >>> 0) | 0;
+ i14 = i8 << 32 - i15 | i6 >>> (i15 >>> 0) | 0;
+ return (tempRet0 = i13, i14) | 0;
+ }
+ }
+ } while (0);
+ if ((i18 | 0) == 0) {
+ i27 = i22;
+ i28 = i21;
+ i29 = i20;
+ i30 = i19;
+ i31 = 0;
+ i32 = 0;
+ } else {
+ i6 = i3 | 0 | 0;
+ i3 = i10 | i4 & 0;
+ i4 = _i64Add(i6, i3, -1, -1) | 0;
+ i10 = tempRet0;
+ i8 = i22;
+ i22 = i21;
+ i21 = i20;
+ i20 = i19;
+ i19 = i18;
+ i18 = 0;
+ while (1) {
+ i33 = i22 >>> 31 | i8 << 1;
+ i34 = i18 | i22 << 1;
+ i9 = i20 << 1 | i8 >>> 31 | 0;
+ i1 = i20 >>> 31 | i21 << 1 | 0;
+ _i64Subtract(i4, i10, i9, i1) | 0;
+ i2 = tempRet0;
+ i7 = i2 >> 31 | ((i2 | 0) < 0 ? -1 : 0) << 1;
+ i35 = i7 & 1;
+ i36 = _i64Subtract(i9, i1, i7 & i6, (((i2 | 0) < 0 ? -1 : 0) >> 31 | ((i2 | 0) < 0 ? -1 : 0) << 1) & i3) | 0;
+ i37 = tempRet0;
+ i2 = i19 - 1 | 0;
+ if ((i2 | 0) == 0) {
+ break;
+ } else {
+ i8 = i33;
+ i22 = i34;
+ i21 = i37;
+ i20 = i36;
+ i19 = i2;
+ i18 = i35;
+ }
+ }
+ i27 = i33;
+ i28 = i34;
+ i29 = i37;
+ i30 = i36;
+ i31 = 0;
+ i32 = i35;
+ }
+ i35 = i28;
+ i28 = 0;
+ if ((i5 | 0) != 0) {
+ HEAP32[i5 >> 2] = i30;
+ HEAP32[i5 + 4 >> 2] = i29;
+ }
+ i13 = (i35 | 0) >>> 31 | (i27 | i28) << 1 | (i28 << 1 | i35 >>> 31) & 0 | i31;
+ i14 = (i35 << 1 | 0 >>> 31) & -2 | i32;
+ return (tempRet0 = i13, i14) | 0;
+}
+function __ZN11btRigidBody18proceedToTransformERK11btTransform(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0;
+ i3 = i1 + 68 | 0;
+ if ((HEAP32[i1 + 204 >> 2] & 3 | 0) == 0) {
+ i4 = i3;
+ i5 = i2;
+ HEAP32[i4 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i4 = i1 + 84 | 0;
+ i6 = i2 + 16 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i4 = i1 + 100 | 0;
+ i7 = i2 + 32 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i4 = i1 + 116 | 0;
+ i8 = i2 + 48 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i9 = i1 + 4 | 0;
+ i10 = i5;
+ i11 = i1 + 20 | 0;
+ i12 = i6;
+ i13 = i1 + 36 | 0;
+ i14 = i7;
+ i15 = i1 + 52 | 0;
+ i16 = i8;
+ } else {
+ i8 = i3;
+ i3 = i1 + 4 | 0;
+ HEAP32[i8 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ i8 = i1 + 84 | 0;
+ i7 = i1 + 20 | 0;
+ HEAP32[i8 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i8 = i1 + 100 | 0;
+ i6 = i1 + 36 | 0;
+ HEAP32[i8 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i8 = i1 + 116 | 0;
+ i5 = i1 + 52 | 0;
+ HEAP32[i8 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i9 = i3;
+ i10 = i2;
+ i11 = i7;
+ i12 = i2 + 16 | 0;
+ i13 = i6;
+ i14 = i2 + 32 | 0;
+ i15 = i5;
+ i16 = i2 + 48 | 0;
+ }
+ i2 = i1 + 132 | 0;
+ i5 = i1 + 304 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 148 | 0;
+ i2 = i1 + 320 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ HEAP32[i9 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ HEAP32[i11 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i12 + 12 >> 2];
+ HEAP32[i13 >> 2] = HEAP32[i14 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i14 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i14 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i14 + 12 >> 2];
+ HEAP32[i15 >> 2] = HEAP32[i16 >> 2];
+ HEAP32[i15 + 4 >> 2] = HEAP32[i16 + 4 >> 2];
+ HEAP32[i15 + 8 >> 2] = HEAP32[i16 + 8 >> 2];
+ HEAP32[i15 + 12 >> 2] = HEAP32[i16 + 12 >> 2];
+ d17 = +HEAPF32[i1 + 4 >> 2];
+ d18 = +HEAPF32[i1 + 388 >> 2];
+ d19 = d17 * d18;
+ d20 = +HEAPF32[i1 + 8 >> 2];
+ d21 = +HEAPF32[i1 + 392 >> 2];
+ d22 = d20 * d21;
+ d23 = +HEAPF32[i1 + 12 >> 2];
+ d24 = +HEAPF32[i1 + 396 >> 2];
+ d25 = d23 * d24;
+ d26 = +HEAPF32[i1 + 20 >> 2];
+ d27 = d18 * d26;
+ d28 = +HEAPF32[i1 + 24 >> 2];
+ d29 = d21 * d28;
+ d30 = +HEAPF32[i1 + 28 >> 2];
+ d31 = d24 * d30;
+ d32 = +HEAPF32[i1 + 36 >> 2];
+ d33 = d18 * d32;
+ d18 = +HEAPF32[i1 + 40 >> 2];
+ d34 = d21 * d18;
+ d21 = +HEAPF32[i1 + 44 >> 2];
+ d35 = d24 * d21;
+ HEAPF32[i1 + 256 >> 2] = d17 * d19 + d20 * d22 + d23 * d25;
+ HEAPF32[i1 + 260 >> 2] = d19 * d26 + d22 * d28 + d25 * d30;
+ HEAPF32[i1 + 264 >> 2] = d19 * d32 + d22 * d18 + d25 * d21;
+ HEAPF32[i1 + 268 >> 2] = 0.0;
+ HEAPF32[i1 + 272 >> 2] = d17 * d27 + d20 * d29 + d23 * d31;
+ HEAPF32[i1 + 276 >> 2] = d26 * d27 + d28 * d29 + d30 * d31;
+ HEAPF32[i1 + 280 >> 2] = d27 * d32 + d29 * d18 + d31 * d21;
+ HEAPF32[i1 + 284 >> 2] = 0.0;
+ HEAPF32[i1 + 288 >> 2] = d17 * d33 + d20 * d34 + d23 * d35;
+ HEAPF32[i1 + 292 >> 2] = d26 * d33 + d28 * d34 + d30 * d35;
+ HEAPF32[i1 + 296 >> 2] = d32 * d33 + d18 * d34 + d21 * d35;
+ HEAPF32[i1 + 300 >> 2] = 0.0;
+ return;
+}
+function __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeE6insertERKS0_RKS1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0;
+ i4 = i2 | 0;
+ i5 = HEAP16[i4 >> 1] | 0;
+ i6 = i2 + 2 | 0;
+ i7 = HEAP16[i6 >> 1] | 0;
+ i8 = i1 + 48 | 0;
+ i9 = HEAP32[i8 >> 2] | 0;
+ i10 = ((i7 & 65535) << 16) + (i5 << 16 >> 16) & i9 - 1;
+ L2113 : do {
+ if (i10 >>> 0 < (HEAP32[i1 + 4 >> 2] | 0) >>> 0) {
+ i11 = HEAP32[(HEAP32[i1 + 12 >> 2] | 0) + (i10 << 2) >> 2] | 0;
+ if ((i11 | 0) == -1) {
+ break;
+ }
+ i12 = HEAP32[i1 + 72 >> 2] | 0;
+ i13 = i1 + 32 | 0;
+ i14 = i11;
+ while (1) {
+ if (i5 << 16 >> 16 == (HEAP16[i12 + (i14 << 2) >> 1] | 0)) {
+ if (i7 << 16 >> 16 == (HEAP16[i12 + (i14 << 2) + 2 >> 1] | 0)) {
+ break;
+ }
+ }
+ i11 = HEAP32[(HEAP32[i13 >> 2] | 0) + (i14 << 2) >> 2] | 0;
+ if ((i11 | 0) == -1) {
+ break L2113;
+ } else {
+ i14 = i11;
+ }
+ }
+ if ((i14 | 0) == -1) {
+ break;
+ }
+ i13 = i3;
+ i12 = (HEAP32[i1 + 52 >> 2] | 0) + (i14 << 2) | 0;
+ tempBigInt = HEAPU16[i13 >> 1] | HEAPU16[i13 + 2 >> 1] << 16;
+ HEAP16[i12 >> 1] = tempBigInt & 65535;
+ HEAP16[i12 + 2 >> 1] = tempBigInt >> 16;
+ return;
+ }
+ } while (0);
+ i7 = i1 + 44 | 0;
+ i5 = HEAP32[i7 >> 2] | 0;
+ do {
+ if ((i5 | 0) == (i9 | 0)) {
+ i12 = (i9 | 0) == 0 ? 1 : i9 << 1;
+ if ((i9 | 0) >= (i12 | 0)) {
+ i15 = i9;
+ break;
+ }
+ if ((i12 | 0) == 0) {
+ i16 = 0;
+ i17 = i9;
+ } else {
+ i13 = __Z22btAlignedAllocInternalji(i12 << 2, 16) | 0;
+ i16 = i13;
+ i17 = HEAP32[i7 >> 2] | 0;
+ }
+ i13 = i1 + 52 | 0;
+ if ((i17 | 0) > 0) {
+ i11 = 0;
+ do {
+ i18 = i16 + (i11 << 2) | 0;
+ if ((i18 | 0) != 0) {
+ i19 = (HEAP32[i13 >> 2] | 0) + (i11 << 2) | 0;
+ i20 = i18;
+ tempBigInt = HEAPU16[i19 >> 1] | HEAPU16[i19 + 2 >> 1] << 16;
+ HEAP16[i20 >> 1] = tempBigInt & 65535;
+ HEAP16[i20 + 2 >> 1] = tempBigInt >> 16;
+ }
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i17 | 0));
+ }
+ i11 = HEAP32[i13 >> 2] | 0;
+ i14 = i1 + 56 | 0;
+ if ((i11 | 0) != 0) {
+ if ((HEAP8[i14] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i11);
+ }
+ HEAP32[i13 >> 2] = 0;
+ }
+ HEAP8[i14] = 1;
+ HEAP32[i13 >> 2] = i16;
+ HEAP32[i8 >> 2] = i12;
+ i15 = HEAP32[i7 >> 2] | 0;
+ } else {
+ i15 = i5;
+ }
+ } while (0);
+ i16 = (HEAP32[i1 + 52 >> 2] | 0) + (i15 << 2) | 0;
+ if ((i16 | 0) == 0) {
+ i21 = i15;
+ } else {
+ i15 = i3;
+ i3 = i16;
+ tempBigInt = HEAPU16[i15 >> 1] | HEAPU16[i15 + 2 >> 1] << 16;
+ HEAP16[i3 >> 1] = tempBigInt & 65535;
+ HEAP16[i3 + 2 >> 1] = tempBigInt >> 16;
+ i21 = HEAP32[i7 >> 2] | 0;
+ }
+ HEAP32[i7 >> 2] = i21 + 1;
+ i21 = i1 + 64 | 0;
+ i7 = HEAP32[i21 >> 2] | 0;
+ i3 = i1 + 68 | 0;
+ do {
+ if ((i7 | 0) == (HEAP32[i3 >> 2] | 0)) {
+ i15 = (i7 | 0) == 0 ? 1 : i7 << 1;
+ if ((i7 | 0) >= (i15 | 0)) {
+ i22 = i7;
+ break;
+ }
+ if ((i15 | 0) == 0) {
+ i23 = 0;
+ i24 = i7;
+ } else {
+ i16 = __Z22btAlignedAllocInternalji(i15 << 2, 16) | 0;
+ i23 = i16;
+ i24 = HEAP32[i21 >> 2] | 0;
+ }
+ i16 = i1 + 72 | 0;
+ if ((i24 | 0) > 0) {
+ i17 = 0;
+ do {
+ i14 = i23 + (i17 << 2) | 0;
+ if ((i14 | 0) != 0) {
+ i11 = (HEAP32[i16 >> 2] | 0) + (i17 << 2) | 0;
+ i20 = i14;
+ tempBigInt = HEAPU16[i11 >> 1] | HEAPU16[i11 + 2 >> 1] << 16;
+ HEAP16[i20 >> 1] = tempBigInt & 65535;
+ HEAP16[i20 + 2 >> 1] = tempBigInt >> 16;
+ }
+ i17 = i17 + 1 | 0;
+ } while ((i17 | 0) < (i24 | 0));
+ }
+ i17 = HEAP32[i16 >> 2] | 0;
+ i12 = i1 + 76 | 0;
+ if ((i17 | 0) != 0) {
+ if ((HEAP8[i12] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i17);
+ }
+ HEAP32[i16 >> 2] = 0;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i16 >> 2] = i23;
+ HEAP32[i3 >> 2] = i15;
+ i22 = HEAP32[i21 >> 2] | 0;
+ } else {
+ i22 = i7;
+ }
+ } while (0);
+ i7 = (HEAP32[i1 + 72 >> 2] | 0) + (i22 << 2) | 0;
+ if ((i7 | 0) == 0) {
+ i25 = i22;
+ } else {
+ i22 = i2;
+ i2 = i7;
+ tempBigInt = HEAPU16[i22 >> 1] | HEAPU16[i22 + 2 >> 1] << 16;
+ HEAP16[i2 >> 1] = tempBigInt & 65535;
+ HEAP16[i2 + 2 >> 1] = tempBigInt >> 16;
+ i25 = HEAP32[i21 >> 2] | 0;
+ }
+ HEAP32[i21 >> 2] = i25 + 1;
+ if ((i9 | 0) < (HEAP32[i8 >> 2] | 0)) {
+ __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeE10growTablesERKS0_(i1, 0);
+ i26 = (HEAPU16[i6 >> 1] << 16) + (HEAP16[i4 >> 1] | 0) & (HEAP32[i8 >> 2] | 0) - 1;
+ } else {
+ i26 = i10;
+ }
+ i10 = (HEAP32[i1 + 12 >> 2] | 0) + (i26 << 2) | 0;
+ HEAP32[(HEAP32[i1 + 32 >> 2] | 0) + (i5 << 2) >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i10 >> 2] = i5;
+ return;
+}
+function __ZN24btPerturbedContactResult15addContactPointERK9btVector3S2_f(i1, i2, i3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ var i5 = 0, i6 = 0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i6 = i5 | 0;
+ d7 = +HEAPF32[i2 >> 2];
+ d8 = +HEAPF32[i2 + 4 >> 2];
+ d9 = +HEAPF32[i2 + 8 >> 2];
+ d10 = +HEAPF32[i3 >> 2];
+ d11 = d7 * d4 + d10;
+ d12 = +HEAPF32[i3 + 4 >> 2];
+ d13 = d8 * d4 + d12;
+ d14 = +HEAPF32[i3 + 8 >> 2];
+ d15 = d9 * d4 + d14;
+ i3 = i1 + 292 | 0;
+ if ((HEAP8[i1 + 356 | 0] | 0) == 0) {
+ d4 = +HEAPF32[i1 + 228 >> 2];
+ d16 = +HEAPF32[i1 + 244 >> 2];
+ d17 = +HEAPF32[i1 + 260 >> 2];
+ d18 = +HEAPF32[i1 + 232 >> 2];
+ d19 = +HEAPF32[i1 + 248 >> 2];
+ d20 = +HEAPF32[i1 + 264 >> 2];
+ d21 = +HEAPF32[i1 + 236 >> 2];
+ d22 = +HEAPF32[i1 + 252 >> 2];
+ d23 = +HEAPF32[i1 + 268 >> 2];
+ d24 = -0.0 - +HEAPF32[i1 + 276 >> 2];
+ d25 = -0.0 - +HEAPF32[i1 + 280 >> 2];
+ d26 = -0.0 - +HEAPF32[i1 + 284 >> 2];
+ d27 = d4 * d24 + d16 * d25 + d17 * d26;
+ d28 = d18 * d24 + d19 * d25 + d20 * d26;
+ d29 = d21 * d24 + d22 * d25 + d23 * d26;
+ d26 = +HEAPF32[i3 >> 2];
+ d25 = +HEAPF32[i1 + 296 >> 2];
+ d24 = +HEAPF32[i1 + 300 >> 2];
+ d30 = +HEAPF32[i1 + 308 >> 2];
+ d31 = +HEAPF32[i1 + 312 >> 2];
+ d32 = +HEAPF32[i1 + 316 >> 2];
+ d33 = +HEAPF32[i1 + 324 >> 2];
+ d34 = +HEAPF32[i1 + 328 >> 2];
+ d35 = +HEAPF32[i1 + 332 >> 2];
+ d36 = d14 * (d17 * d26 + d20 * d25 + d23 * d24) + (d10 * (d4 * d26 + d18 * d25 + d21 * d24) + d12 * (d16 * d26 + d19 * d25 + d22 * d24)) + (d24 * d29 + (d26 * d27 + d25 * d28) + +HEAPF32[i1 + 340 >> 2]);
+ d25 = d14 * (d17 * d30 + d20 * d31 + d23 * d32) + (d10 * (d4 * d30 + d18 * d31 + d21 * d32) + d12 * (d16 * d30 + d19 * d31 + d22 * d32)) + (d27 * d30 + d28 * d31 + d29 * d32 + +HEAPF32[i1 + 344 >> 2]);
+ d32 = d27 * d33 + d28 * d34 + d29 * d35 + +HEAPF32[i1 + 348 >> 2] + (d14 * (d17 * d33 + d20 * d34 + d23 * d35) + (d10 * (d4 * d33 + d18 * d34 + d21 * d35) + d12 * (d16 * d33 + d19 * d34 + d22 * d35)));
+ HEAPF32[i6 >> 2] = d36;
+ HEAPF32[i6 + 4 >> 2] = d25;
+ HEAPF32[i6 + 8 >> 2] = d32;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ d37 = d7 * (d11 - d36) + d8 * (d13 - d25) + d9 * (d15 - d32);
+ i38 = i1 + 160 | 0;
+ i39 = HEAP32[i38 >> 2] | 0;
+ i40 = i39;
+ i41 = HEAP32[i40 >> 2] | 0;
+ i42 = i41 + 16 | 0;
+ i43 = HEAP32[i42 >> 2] | 0;
+ FUNCTION_TABLE_viiif[i43 & 15](i39, i2, i6, d37);
+ STACKTOP = i5;
+ return;
+ } else {
+ d32 = +HEAPF32[i1 + 164 >> 2];
+ d25 = +HEAPF32[i1 + 180 >> 2];
+ d36 = +HEAPF32[i1 + 196 >> 2];
+ d35 = +HEAPF32[i1 + 168 >> 2];
+ d22 = +HEAPF32[i1 + 184 >> 2];
+ d34 = +HEAPF32[i1 + 200 >> 2];
+ d19 = +HEAPF32[i1 + 172 >> 2];
+ d33 = +HEAPF32[i1 + 188 >> 2];
+ d16 = +HEAPF32[i1 + 204 >> 2];
+ d21 = -0.0 - +HEAPF32[i1 + 212 >> 2];
+ d18 = -0.0 - +HEAPF32[i1 + 216 >> 2];
+ d4 = -0.0 - +HEAPF32[i1 + 220 >> 2];
+ d23 = d32 * d21 + d25 * d18 + d36 * d4;
+ d20 = d35 * d21 + d22 * d18 + d34 * d4;
+ d17 = d19 * d21 + d33 * d18 + d16 * d4;
+ d4 = +HEAPF32[i3 >> 2];
+ d18 = +HEAPF32[i1 + 296 >> 2];
+ d21 = +HEAPF32[i1 + 300 >> 2];
+ d29 = +HEAPF32[i1 + 308 >> 2];
+ d28 = +HEAPF32[i1 + 312 >> 2];
+ d27 = +HEAPF32[i1 + 316 >> 2];
+ d31 = +HEAPF32[i1 + 324 >> 2];
+ d30 = +HEAPF32[i1 + 328 >> 2];
+ d26 = +HEAPF32[i1 + 332 >> 2];
+ d24 = d15 * (d36 * d4 + d34 * d18 + d16 * d21) + (d11 * (d32 * d4 + d35 * d18 + d19 * d21) + d13 * (d25 * d4 + d22 * d18 + d33 * d21)) + (d21 * d17 + (d4 * d23 + d18 * d20) + +HEAPF32[i1 + 340 >> 2]);
+ d18 = d15 * (d36 * d29 + d34 * d28 + d16 * d27) + (d11 * (d32 * d29 + d35 * d28 + d19 * d27) + d13 * (d25 * d29 + d22 * d28 + d33 * d27)) + (d23 * d29 + d20 * d28 + d17 * d27 + +HEAPF32[i1 + 344 >> 2]);
+ d27 = d23 * d31 + d20 * d30 + d17 * d26 + +HEAPF32[i1 + 348 >> 2] + (d15 * (d36 * d31 + d34 * d30 + d16 * d26) + (d11 * (d32 * d31 + d35 * d30 + d19 * d26) + d13 * (d25 * d31 + d22 * d30 + d33 * d26)));
+ d26 = d7 * (d24 - d10) + d8 * (d18 - d12) + d9 * (d27 - d14);
+ HEAPF32[i6 >> 2] = d24 + d7 * d26;
+ HEAPF32[i6 + 4 >> 2] = d18 + d8 * d26;
+ HEAPF32[i6 + 8 >> 2] = d27 + d9 * d26;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ d37 = d26;
+ i38 = i1 + 160 | 0;
+ i39 = HEAP32[i38 >> 2] | 0;
+ i40 = i39;
+ i41 = HEAP32[i40 >> 2] | 0;
+ i42 = i41 + 16 | 0;
+ i43 = HEAP32[i42 >> 2] | 0;
+ FUNCTION_TABLE_viiif[i43 & 15](i39, i2, i6, d37);
+ STACKTOP = i5;
+ return;
+ }
+}
+function __ZN16btDbvtBroadphase22performDeferredRemovalEP12btDispatcher(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i4 = i3 | 0;
+ i5 = i1 + 96 | 0;
+ i1 = HEAP32[i5 >> 2] | 0;
+ if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 56 >> 2] & 127](i1) | 0)) {
+ STACKTOP = i3;
+ return;
+ }
+ i1 = HEAP32[i5 >> 2] | 0;
+ i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 28 >> 2] & 127](i1) | 0;
+ i1 = i6 + 4 | 0;
+ i7 = HEAP32[i1 >> 2] | 0;
+ if ((i7 | 0) > 1) {
+ __ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(i6, i3 + 8 | 0, 0, i7 - 1 | 0);
+ i8 = HEAP32[i1 >> 2] | 0;
+ } else {
+ i8 = i7;
+ }
+ do {
+ if ((i8 | 0) > 0) {
+ i7 = i6 + 12 | 0;
+ i9 = 0;
+ i10 = 0;
+ i11 = 0;
+ i12 = 0;
+ i13 = i8;
+ while (1) {
+ i14 = HEAP32[i7 >> 2] | 0;
+ i15 = i14 + (i11 << 4) | 0;
+ i16 = i15 | 0;
+ i17 = HEAP32[i16 >> 2] | 0;
+ i18 = i14 + (i11 << 4) + 4 | 0;
+ i14 = HEAP32[i18 >> 2] | 0;
+ if ((i17 | 0) == (i10 | 0)) {
+ if ((i14 | 0) == (i9 | 0)) {
+ i19 = i10;
+ i20 = i9;
+ i21 = 1012;
+ } else {
+ i22 = i10;
+ i21 = 1006;
+ }
+ } else {
+ i22 = i17;
+ i21 = 1006;
+ }
+ do {
+ if ((i21 | 0) == 1006) {
+ i21 = 0;
+ i17 = HEAP32[i22 + 48 >> 2] | 0;
+ i23 = HEAP32[i14 + 48 >> 2] | 0;
+ if (+HEAPF32[i17 >> 2] > +HEAPF32[i23 + 16 >> 2]) {
+ i19 = i22;
+ i20 = i14;
+ i21 = 1012;
+ break;
+ }
+ if (+HEAPF32[i17 + 16 >> 2] < +HEAPF32[i23 >> 2]) {
+ i19 = i22;
+ i20 = i14;
+ i21 = 1012;
+ break;
+ }
+ if (+HEAPF32[i17 + 4 >> 2] > +HEAPF32[i23 + 20 >> 2]) {
+ i19 = i22;
+ i20 = i14;
+ i21 = 1012;
+ break;
+ }
+ if (+HEAPF32[i17 + 20 >> 2] < +HEAPF32[i23 + 4 >> 2]) {
+ i19 = i22;
+ i20 = i14;
+ i21 = 1012;
+ break;
+ }
+ if (+HEAPF32[i17 + 8 >> 2] > +HEAPF32[i23 + 24 >> 2]) {
+ i19 = i22;
+ i20 = i14;
+ i21 = 1012;
+ break;
+ }
+ if (+HEAPF32[i17 + 24 >> 2] < +HEAPF32[i23 + 8 >> 2]) {
+ i19 = i22;
+ i20 = i14;
+ i21 = 1012;
+ } else {
+ i24 = i12;
+ i25 = i22;
+ i26 = i14;
+ i27 = i13;
+ }
+ }
+ } while (0);
+ if ((i21 | 0) == 1012) {
+ i21 = 0;
+ i14 = HEAP32[i5 >> 2] | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i14 >> 2] | 0) + 32 >> 2] & 127](i14, i15, i2);
+ HEAP32[i16 >> 2] = 0;
+ HEAP32[i18 >> 2] = 0;
+ i24 = i12 + 1 | 0;
+ i25 = i19;
+ i26 = i20;
+ i27 = HEAP32[i1 >> 2] | 0;
+ }
+ i14 = i11 + 1 | 0;
+ if ((i14 | 0) < (i27 | 0)) {
+ i9 = i26;
+ i10 = i25;
+ i11 = i14;
+ i12 = i24;
+ i13 = i27;
+ } else {
+ break;
+ }
+ }
+ if ((i27 | 0) > 1) {
+ __ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(i6, i4, 0, i27 - 1 | 0);
+ i28 = HEAP32[i1 >> 2] | 0;
+ } else {
+ i28 = i27;
+ }
+ i13 = i28 - i24 | 0;
+ if ((i24 | 0) >= 0) {
+ i29 = i13;
+ break;
+ }
+ i12 = i6 + 8 | 0;
+ if ((HEAP32[i12 >> 2] | 0) < (i13 | 0)) {
+ if ((i28 | 0) == (i24 | 0)) {
+ i30 = 0;
+ i31 = i24;
+ } else {
+ i11 = __Z22btAlignedAllocInternalji(i13 << 4, 16) | 0;
+ i30 = i11;
+ i31 = HEAP32[i1 >> 2] | 0;
+ }
+ if ((i31 | 0) > 0) {
+ i11 = 0;
+ do {
+ i10 = HEAP32[i7 >> 2] | 0;
+ HEAP32[i30 + (i11 << 4) >> 2] = HEAP32[i10 + (i11 << 4) >> 2];
+ HEAP32[i30 + (i11 << 4) + 4 >> 2] = HEAP32[i10 + (i11 << 4) + 4 >> 2];
+ HEAP32[i30 + (i11 << 4) + 8 >> 2] = HEAP32[i10 + (i11 << 4) + 8 >> 2];
+ HEAP32[i30 + (i11 << 4) + 12 >> 2] = HEAP32[i10 + (i11 << 4) + 12 >> 2];
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i31 | 0));
+ }
+ i11 = HEAP32[i7 >> 2] | 0;
+ i10 = i6 + 16 | 0;
+ if ((i11 | 0) != 0) {
+ if ((HEAP8[i10] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i11);
+ }
+ HEAP32[i7 >> 2] = 0;
+ }
+ HEAP8[i10] = 1;
+ HEAP32[i7 >> 2] = i30;
+ HEAP32[i12 >> 2] = i13;
+ i32 = i28;
+ } else {
+ i32 = i28;
+ }
+ while (1) {
+ i10 = i32 + 1 | 0;
+ _memset((HEAP32[i7 >> 2] | 0) + (i32 << 4) | 0, 0, 16);
+ if ((i10 | 0) < (i13 | 0)) {
+ i32 = i10;
+ } else {
+ i29 = i13;
+ break;
+ }
+ }
+ } else {
+ i29 = i8;
+ }
+ } while (0);
+ HEAP32[i1 >> 2] = i29;
+ STACKTOP = i3;
+ return;
+}
+function __ZN20btConvexHullInternal15computeInternalEiiRNS_16IntermediateHullE(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i6 = i5 | 0;
+ i7 = i3 - i2 | 0;
+ L889 : do {
+ if ((i7 | 0) == 1) {
+ i8 = HEAP32[(HEAP32[i1 + 92 >> 2] | 0) + (i2 << 2) >> 2] | 0;
+ } else if ((i7 | 0) == 2) {
+ i9 = HEAP32[(HEAP32[i1 + 92 >> 2] | 0) + (i2 << 2) >> 2] | 0;
+ i10 = i9 + 112 | 0;
+ i11 = HEAP32[i9 + 88 >> 2] | 0;
+ i12 = HEAP32[i9 + 200 >> 2] | 0;
+ i13 = (i11 | 0) == (i12 | 0);
+ i14 = HEAP32[i9 + 92 >> 2] | 0;
+ i15 = HEAP32[i9 + 204 >> 2] | 0;
+ i16 = (i14 | 0) == (i15 | 0);
+ do {
+ if (i13) {
+ if (i16) {
+ if ((HEAP32[i9 + 96 >> 2] | 0) == (HEAP32[i9 + 208 >> 2] | 0)) {
+ i8 = i9;
+ break L889;
+ } else {
+ i17 = i14;
+ }
+ } else {
+ i17 = i15;
+ }
+ if ((i14 | 0) != (i17 | 0)) {
+ i18 = i17;
+ i19 = 0;
+ i20 = 696;
+ break;
+ }
+ i21 = (HEAP32[i9 + 96 >> 2] | 0) > (HEAP32[i9 + 208 >> 2] | 0);
+ i22 = i21 ? i10 : i9;
+ HEAP32[i22 >> 2] = i22;
+ HEAP32[i22 + 4 >> 2] = i22;
+ HEAP32[i4 >> 2] = i22;
+ HEAP32[i4 + 4 >> 2] = i22;
+ HEAP32[i4 + 8 >> 2] = i22;
+ HEAP32[i4 + 12 >> 2] = i22;
+ i23 = i22;
+ i24 = i21 ? i9 : i10;
+ } else {
+ i18 = i15;
+ i19 = i16;
+ i20 = 696;
+ }
+ } while (0);
+ do {
+ if ((i20 | 0) == 696) {
+ i16 = i14 - i18 | 0;
+ HEAP32[i9 >> 2] = i10;
+ HEAP32[i9 + 4 >> 2] = i10;
+ HEAP32[i10 >> 2] = i9;
+ HEAP32[i9 + 116 >> 2] = i9;
+ i15 = (i11 - i12 | 0) < 0;
+ do {
+ if (i15) {
+ i20 = 698;
+ } else {
+ if (i13 & (i16 | 0) < 0) {
+ i20 = 698;
+ break;
+ }
+ HEAP32[i4 >> 2] = i10;
+ HEAP32[i4 + 4 >> 2] = i9;
+ }
+ } while (0);
+ if ((i20 | 0) == 698) {
+ HEAP32[i4 >> 2] = i9;
+ HEAP32[i4 + 4 >> 2] = i10;
+ }
+ i21 = i4 + 8 | 0;
+ if ((i16 | 0) < 0 | i19 & i15) {
+ HEAP32[i21 >> 2] = i9;
+ HEAP32[i4 + 12 >> 2] = i10;
+ i23 = i9;
+ i24 = i10;
+ break;
+ } else {
+ HEAP32[i21 >> 2] = i10;
+ HEAP32[i4 + 12 >> 2] = i9;
+ i23 = i9;
+ i24 = i10;
+ break;
+ }
+ }
+ } while (0);
+ i10 = i1 + 48 | 0;
+ i9 = __ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(i10) | 0;
+ i13 = __ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(i10) | 0;
+ i10 = i9 + 8 | 0;
+ HEAP32[i10 >> 2] = i13;
+ HEAP32[i13 + 8 >> 2] = i9;
+ i12 = i1 + 100 | 0;
+ HEAP32[i9 + 20 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i13 + 20 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i9 + 12 >> 2] = i24;
+ HEAP32[i13 + 12 >> 2] = i23;
+ HEAP32[i9 + 16 >> 2] = 0;
+ HEAP32[i13 + 16 >> 2] = 0;
+ i13 = i1 + 116 | 0;
+ i12 = (HEAP32[i13 >> 2] | 0) + 1 | 0;
+ HEAP32[i13 >> 2] = i12;
+ i13 = i1 + 120 | 0;
+ if ((i12 | 0) > (HEAP32[i13 >> 2] | 0)) {
+ HEAP32[i13 >> 2] = i12;
+ }
+ HEAP32[i9 >> 2] = i9;
+ HEAP32[i9 + 4 >> 2] = i9;
+ HEAP32[i23 + 8 >> 2] = i9;
+ i9 = HEAP32[i10 >> 2] | 0;
+ HEAP32[i9 >> 2] = i9;
+ HEAP32[i9 + 4 >> 2] = i9;
+ HEAP32[i24 + 8 >> 2] = i9;
+ STACKTOP = i5;
+ return;
+ } else if ((i7 | 0) == 0) {
+ _memset(i4 | 0, 0, 16);
+ STACKTOP = i5;
+ return;
+ } else {
+ i9 = ((i7 | 0) / 2 | 0) + i2 | 0;
+ i10 = HEAP32[i1 + 92 >> 2] | 0;
+ i12 = HEAP32[i10 + (i9 - 1 << 2) >> 2] | 0;
+ i13 = HEAP32[i12 + 88 >> 2] | 0;
+ i11 = HEAP32[i12 + 92 >> 2] | 0;
+ i14 = HEAP32[i12 + 96 >> 2] | 0;
+ i12 = i9;
+ while (1) {
+ if ((i12 | 0) >= (i3 | 0)) {
+ break;
+ }
+ i21 = HEAP32[i10 + (i12 << 2) >> 2] | 0;
+ if ((HEAP32[i21 + 88 >> 2] | 0) != (i13 | 0)) {
+ break;
+ }
+ if ((HEAP32[i21 + 92 >> 2] | 0) != (i11 | 0)) {
+ break;
+ }
+ if ((HEAP32[i21 + 96 >> 2] | 0) == (i14 | 0)) {
+ i12 = i12 + 1 | 0;
+ } else {
+ break;
+ }
+ }
+ __ZN20btConvexHullInternal15computeInternalEiiRNS_16IntermediateHullE(i1, i2, i9, i4);
+ _memset(i6 | 0, 0, 16);
+ __ZN20btConvexHullInternal15computeInternalEiiRNS_16IntermediateHullE(i1, i12, i3, i6);
+ __ZN20btConvexHullInternal5mergeERNS_16IntermediateHullES1_(i1, i4, i6);
+ STACKTOP = i5;
+ return;
+ }
+ } while (0);
+ HEAP32[i8 + 8 >> 2] = 0;
+ HEAP32[i8 >> 2] = i8;
+ HEAP32[i8 + 4 >> 2] = i8;
+ HEAP32[i4 >> 2] = i8;
+ HEAP32[i4 + 4 >> 2] = i8;
+ HEAP32[i4 + 8 >> 2] = i8;
+ HEAP32[i4 + 12 >> 2] = i8;
+ STACKTOP = i5;
+ return;
+}
+function __ZNK17btCollisionObject9serializeEPvP12btSerializer(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, i13 = 0, i14 = 0, i15 = 0, d16 = 0.0, i17 = 0, i18 = 0, d19 = 0.0, i20 = 0, i21 = 0, i22 = 0, i23 = 0;
+ HEAPF32[i2 + 16 >> 2] = +HEAPF32[i1 + 4 >> 2];
+ HEAPF32[i2 + 20 >> 2] = +HEAPF32[i1 + 8 >> 2];
+ HEAPF32[i2 + 24 >> 2] = +HEAPF32[i1 + 12 >> 2];
+ HEAPF32[i2 + 28 >> 2] = +HEAPF32[i1 + 16 >> 2];
+ HEAPF32[i2 + 32 >> 2] = +HEAPF32[i1 + 20 >> 2];
+ HEAPF32[i2 + 36 >> 2] = +HEAPF32[i1 + 24 >> 2];
+ HEAPF32[i2 + 40 >> 2] = +HEAPF32[i1 + 28 >> 2];
+ HEAPF32[i2 + 44 >> 2] = +HEAPF32[i1 + 32 >> 2];
+ HEAPF32[i2 + 48 >> 2] = +HEAPF32[i1 + 36 >> 2];
+ HEAPF32[i2 + 52 >> 2] = +HEAPF32[i1 + 40 >> 2];
+ HEAPF32[i2 + 56 >> 2] = +HEAPF32[i1 + 44 >> 2];
+ HEAPF32[i2 + 60 >> 2] = +HEAPF32[i1 + 48 >> 2];
+ HEAPF32[i2 + 64 >> 2] = +HEAPF32[i1 + 52 >> 2];
+ HEAPF32[i2 + 68 >> 2] = +HEAPF32[i1 + 56 >> 2];
+ HEAPF32[i2 + 72 >> 2] = +HEAPF32[i1 + 60 >> 2];
+ HEAPF32[i2 + 76 >> 2] = +HEAPF32[i1 + 64 >> 2];
+ HEAPF32[i2 + 80 >> 2] = +HEAPF32[i1 + 68 >> 2];
+ HEAPF32[i2 + 84 >> 2] = +HEAPF32[i1 + 72 >> 2];
+ HEAPF32[i2 + 88 >> 2] = +HEAPF32[i1 + 76 >> 2];
+ HEAPF32[i2 + 92 >> 2] = +HEAPF32[i1 + 80 >> 2];
+ HEAPF32[i2 + 96 >> 2] = +HEAPF32[i1 + 84 >> 2];
+ HEAPF32[i2 + 100 >> 2] = +HEAPF32[i1 + 88 >> 2];
+ HEAPF32[i2 + 104 >> 2] = +HEAPF32[i1 + 92 >> 2];
+ HEAPF32[i2 + 108 >> 2] = +HEAPF32[i1 + 96 >> 2];
+ HEAPF32[i2 + 112 >> 2] = +HEAPF32[i1 + 100 >> 2];
+ HEAPF32[i2 + 116 >> 2] = +HEAPF32[i1 + 104 >> 2];
+ HEAPF32[i2 + 120 >> 2] = +HEAPF32[i1 + 108 >> 2];
+ HEAPF32[i2 + 124 >> 2] = +HEAPF32[i1 + 112 >> 2];
+ HEAPF32[i2 + 128 >> 2] = +HEAPF32[i1 + 116 >> 2];
+ HEAPF32[i2 + 132 >> 2] = +HEAPF32[i1 + 120 >> 2];
+ HEAPF32[i2 + 136 >> 2] = +HEAPF32[i1 + 124 >> 2];
+ HEAPF32[i2 + 140 >> 2] = +HEAPF32[i1 + 128 >> 2];
+ HEAPF32[i2 + 144 >> 2] = +HEAPF32[i1 + 132 >> 2];
+ HEAPF32[i2 + 148 >> 2] = +HEAPF32[i1 + 136 >> 2];
+ HEAPF32[i2 + 152 >> 2] = +HEAPF32[i1 + 140 >> 2];
+ HEAPF32[i2 + 156 >> 2] = +HEAPF32[i1 + 144 >> 2];
+ HEAPF32[i2 + 160 >> 2] = +HEAPF32[i1 + 148 >> 2];
+ HEAPF32[i2 + 164 >> 2] = +HEAPF32[i1 + 152 >> 2];
+ HEAPF32[i2 + 168 >> 2] = +HEAPF32[i1 + 156 >> 2];
+ HEAPF32[i2 + 172 >> 2] = +HEAPF32[i1 + 160 >> 2];
+ HEAPF32[i2 + 176 >> 2] = +HEAPF32[i1 + 164 >> 2];
+ HEAPF32[i2 + 180 >> 2] = +HEAPF32[i1 + 168 >> 2];
+ HEAPF32[i2 + 184 >> 2] = +HEAPF32[i1 + 172 >> 2];
+ HEAPF32[i2 + 188 >> 2] = +HEAPF32[i1 + 176 >> 2];
+ HEAP32[i2 + 220 >> 2] = HEAP32[i1 + 180 >> 2];
+ HEAPF32[i2 + 192 >> 2] = +HEAPF32[i1 + 184 >> 2];
+ HEAP32[i2 >> 2] = 0;
+ i4 = i3;
+ HEAP32[i2 + 4 >> 2] = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i3, HEAP32[i1 + 192 >> 2] | 0) | 0;
+ HEAP32[i2 + 8 >> 2] = 0;
+ HEAP32[i2 + 224 >> 2] = HEAP32[i1 + 204 >> 2];
+ HEAP32[i2 + 228 >> 2] = HEAP32[i1 + 208 >> 2];
+ HEAP32[i2 + 232 >> 2] = HEAP32[i1 + 212 >> 2];
+ i5 = i1 + 216 | 0;
+ i6 = i2 + 236 | 0;
+ HEAP32[i6 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i6 >> 2] = HEAP32[i5 >> 2];
+ HEAPF32[i2 + 196 >> 2] = +HEAPF32[i1 + 220 >> 2];
+ HEAPF32[i2 + 200 >> 2] = +HEAPF32[i1 + 224 >> 2];
+ HEAPF32[i2 + 204 >> 2] = +HEAPF32[i1 + 228 >> 2];
+ HEAP32[i2 + 240 >> 2] = HEAP32[i1 + 232 >> 2];
+ i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 63](i3, i1) | 0;
+ i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i3, i5) | 0;
+ HEAP32[i2 + 12 >> 2] = i6;
+ if ((i6 | 0) == 0) {
+ i7 = i1 + 240 | 0;
+ d8 = +HEAPF32[i7 >> 2];
+ i9 = i2 + 208 | 0;
+ i10 = i9;
+ HEAPF32[i10 >> 2] = d8;
+ i11 = i1 + 244 | 0;
+ d12 = +HEAPF32[i11 >> 2];
+ i13 = i2 + 212 | 0;
+ i14 = i13;
+ HEAPF32[i14 >> 2] = d12;
+ i15 = i1 + 248 | 0;
+ d16 = +HEAPF32[i15 >> 2];
+ i17 = i2 + 216 | 0;
+ i18 = i17;
+ HEAPF32[i18 >> 2] = d16;
+ d19 = +HEAPF32[i15 >> 2];
+ HEAPF32[i18 >> 2] = d19;
+ i20 = i1 + 252 | 0;
+ i21 = HEAP32[i20 >> 2] | 0;
+ i22 = i2 + 244 | 0;
+ i23 = i22;
+ HEAP32[i23 >> 2] = i21;
+ return 24;
+ }
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 48 >> 2] & 127](i3, i5);
+ i7 = i1 + 240 | 0;
+ d8 = +HEAPF32[i7 >> 2];
+ i9 = i2 + 208 | 0;
+ i10 = i9;
+ HEAPF32[i10 >> 2] = d8;
+ i11 = i1 + 244 | 0;
+ d12 = +HEAPF32[i11 >> 2];
+ i13 = i2 + 212 | 0;
+ i14 = i13;
+ HEAPF32[i14 >> 2] = d12;
+ i15 = i1 + 248 | 0;
+ d16 = +HEAPF32[i15 >> 2];
+ i17 = i2 + 216 | 0;
+ i18 = i17;
+ HEAPF32[i18 >> 2] = d16;
+ d19 = +HEAPF32[i15 >> 2];
+ HEAPF32[i18 >> 2] = d19;
+ i20 = i1 + 252 | 0;
+ i21 = HEAP32[i20 >> 2] | 0;
+ i22 = i2 + 244 | 0;
+ i23 = i22;
+ HEAP32[i23 >> 2] = i21;
+ return 24;
+}
+function __ZL10insertleafP6btDbvtP10btDbvtNodeS2_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, d8 = 0.0, d9 = 0.0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, i16 = 0, i17 = 0, i18 = 0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0;
+ i4 = i1 | 0;
+ if ((HEAP32[i4 >> 2] | 0) == 0) {
+ HEAP32[i4 >> 2] = i3;
+ HEAP32[i3 + 32 >> 2] = 0;
+ return;
+ }
+ i5 = HEAP32[i2 + 40 >> 2] | 0;
+ if ((i5 | 0) == 0) {
+ i6 = i2;
+ } else {
+ d7 = +HEAPF32[i3 >> 2] + +HEAPF32[i3 + 16 >> 2];
+ d8 = +HEAPF32[i3 + 4 >> 2] + +HEAPF32[i3 + 20 >> 2];
+ d9 = +HEAPF32[i3 + 8 >> 2] + +HEAPF32[i3 + 24 >> 2];
+ i10 = i2;
+ i2 = i5;
+ while (1) {
+ i5 = HEAP32[i10 + 36 >> 2] | 0;
+ d11 = d8 - (+HEAPF32[i5 + 4 >> 2] + +HEAPF32[i5 + 20 >> 2]);
+ d12 = d9 - (+HEAPF32[i5 + 8 >> 2] + +HEAPF32[i5 + 24 >> 2]);
+ d13 = +Math_abs(+(d7 - (+HEAPF32[i5 >> 2] + +HEAPF32[i5 + 16 >> 2])));
+ d14 = d13 + +Math_abs(+d11);
+ d11 = d14 + +Math_abs(+d12);
+ d12 = d8 - (+HEAPF32[i2 + 4 >> 2] + +HEAPF32[i2 + 20 >> 2]);
+ d14 = d9 - (+HEAPF32[i2 + 8 >> 2] + +HEAPF32[i2 + 24 >> 2]);
+ d13 = +Math_abs(+(d7 - (+HEAPF32[i2 >> 2] + +HEAPF32[i2 + 16 >> 2])));
+ d15 = d13 + +Math_abs(+d12);
+ i5 = HEAP32[i10 + 36 + ((d11 >= d15 + +Math_abs(+d14)) << 2) >> 2] | 0;
+ i16 = HEAP32[i5 + 40 >> 2] | 0;
+ if ((i16 | 0) == 0) {
+ i6 = i5;
+ break;
+ } else {
+ i10 = i5;
+ i2 = i16;
+ }
+ }
+ }
+ i2 = i6 + 32 | 0;
+ i10 = HEAP32[i2 >> 2] | 0;
+ i16 = i1 + 4 | 0;
+ i1 = HEAP32[i16 >> 2] | 0;
+ do {
+ if ((i1 | 0) == 0) {
+ i5 = __Z22btAlignedAllocInternalji(44, 16) | 0;
+ if ((i5 | 0) == 0) {
+ i17 = 0;
+ break;
+ }
+ _memset(i5 | 0, 0, 44);
+ i17 = i5;
+ } else {
+ HEAP32[i16 >> 2] = 0;
+ i17 = i1;
+ }
+ } while (0);
+ HEAP32[i17 + 32 >> 2] = i10;
+ i1 = i17 + 36 | 0;
+ HEAP32[i1 >> 2] = 0;
+ i16 = i17 + 40 | 0;
+ HEAP32[i16 >> 2] = 0;
+ d7 = +HEAPF32[i3 >> 2];
+ d9 = +HEAPF32[i6 >> 2];
+ d8 = d7 < d9 ? d7 : d9;
+ HEAPF32[i17 >> 2] = d8;
+ d9 = +HEAPF32[i3 + 16 >> 2];
+ d7 = +HEAPF32[i6 + 16 >> 2];
+ d14 = d9 > d7 ? d9 : d7;
+ HEAPF32[i17 + 16 >> 2] = d14;
+ d7 = +HEAPF32[i3 + 4 >> 2];
+ d9 = +HEAPF32[i6 + 4 >> 2];
+ d15 = d7 < d9 ? d7 : d9;
+ HEAPF32[i17 + 4 >> 2] = d15;
+ d9 = +HEAPF32[i3 + 20 >> 2];
+ d7 = +HEAPF32[i6 + 20 >> 2];
+ d11 = d9 > d7 ? d9 : d7;
+ HEAPF32[i17 + 20 >> 2] = d11;
+ d7 = +HEAPF32[i3 + 8 >> 2];
+ d9 = +HEAPF32[i6 + 8 >> 2];
+ d12 = d7 < d9 ? d7 : d9;
+ HEAPF32[i17 + 8 >> 2] = d12;
+ d9 = +HEAPF32[i3 + 24 >> 2];
+ d7 = +HEAPF32[i6 + 24 >> 2];
+ d13 = d9 > d7 ? d9 : d7;
+ HEAPF32[i17 + 24 >> 2] = d13;
+ if ((i10 | 0) == 0) {
+ HEAP32[i1 >> 2] = i6;
+ HEAP32[i2 >> 2] = i17;
+ HEAP32[i16 >> 2] = i3;
+ HEAP32[i3 + 32 >> 2] = i17;
+ HEAP32[i4 >> 2] = i17;
+ return;
+ }
+ HEAP32[i10 + 36 + (((HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] | 0) == (i6 | 0)) << 2) >> 2] = i17;
+ HEAP32[i1 >> 2] = i6;
+ HEAP32[i2 >> 2] = i17;
+ HEAP32[i16 >> 2] = i3;
+ HEAP32[i3 + 32 >> 2] = i17;
+ i17 = i10;
+ d7 = d8;
+ d8 = d15;
+ d15 = d12;
+ d12 = d14;
+ d14 = d11;
+ d11 = d13;
+ L2338 : while (1) {
+ i10 = i17 | 0;
+ i3 = i17 + 4 | 0;
+ do {
+ if (+HEAPF32[i10 >> 2] <= d7) {
+ if (+HEAPF32[i3 >> 2] > d8) {
+ break;
+ }
+ if (+HEAPF32[i17 + 8 >> 2] > d15) {
+ break;
+ }
+ if (+HEAPF32[i17 + 16 >> 2] < d12) {
+ break;
+ }
+ if (+HEAPF32[i17 + 20 >> 2] < d14) {
+ break;
+ }
+ if (+HEAPF32[i17 + 24 >> 2] >= d11) {
+ i18 = 1980;
+ break L2338;
+ }
+ }
+ } while (0);
+ i16 = HEAP32[i17 + 36 >> 2] | 0;
+ i2 = HEAP32[i17 + 40 >> 2] | 0;
+ d13 = +HEAPF32[i16 >> 2];
+ d9 = +HEAPF32[i2 >> 2];
+ d19 = d13 < d9 ? d13 : d9;
+ HEAPF32[i10 >> 2] = d19;
+ d9 = +HEAPF32[i16 + 16 >> 2];
+ d13 = +HEAPF32[i2 + 16 >> 2];
+ d20 = d9 > d13 ? d9 : d13;
+ HEAPF32[i17 + 16 >> 2] = d20;
+ d13 = +HEAPF32[i16 + 4 >> 2];
+ d9 = +HEAPF32[i2 + 4 >> 2];
+ d21 = d13 < d9 ? d13 : d9;
+ HEAPF32[i3 >> 2] = d21;
+ d9 = +HEAPF32[i16 + 20 >> 2];
+ d13 = +HEAPF32[i2 + 20 >> 2];
+ d22 = d9 > d13 ? d9 : d13;
+ HEAPF32[i17 + 20 >> 2] = d22;
+ d13 = +HEAPF32[i16 + 8 >> 2];
+ d9 = +HEAPF32[i2 + 8 >> 2];
+ d23 = d13 < d9 ? d13 : d9;
+ HEAPF32[i17 + 8 >> 2] = d23;
+ d9 = +HEAPF32[i16 + 24 >> 2];
+ d13 = +HEAPF32[i2 + 24 >> 2];
+ d24 = d9 > d13 ? d9 : d13;
+ HEAPF32[i17 + 24 >> 2] = d24;
+ i2 = HEAP32[i17 + 32 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ i18 = 1981;
+ break;
+ } else {
+ i17 = i2;
+ d7 = d19;
+ d8 = d21;
+ d15 = d23;
+ d12 = d20;
+ d14 = d22;
+ d11 = d24;
+ }
+ }
+ if ((i18 | 0) == 1980) {
+ return;
+ } else if ((i18 | 0) == 1981) {
+ return;
+ }
+}
+function __ZN16btDbvtBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcher(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, i22 = 0, i23 = 0, i24 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 32 | 0;
+ i8 = i5 + 48 | 0;
+ i9 = i2;
+ i10 = i6;
+ i11 = i3;
+ HEAP32[i10 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i11 + 12 >> 2];
+ i10 = i6 + 16 | 0;
+ i12 = i4;
+ HEAP32[i10 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i12 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i12 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i12 + 12 >> 2];
+ i10 = i2 + 60 | 0;
+ L880 : do {
+ if ((HEAP32[i10 >> 2] | 0) == 2) {
+ i4 = i2 + 48 | 0;
+ __ZN6btDbvt6removeEP10btDbvtNode(i1 + 44 | 0, HEAP32[i4 >> 2] | 0);
+ HEAP32[i4 >> 2] = __ZN6btDbvt6insertERK12btDbvtAabbMmPv(i1 + 4 | 0, i6, i2) | 0;
+ i13 = 1;
+ } else {
+ i4 = i1 + 128 | 0;
+ HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 1;
+ i4 = HEAP32[i2 + 48 >> 2] | 0;
+ do {
+ if (+HEAPF32[i4 >> 2] <= +HEAPF32[i6 + 16 >> 2]) {
+ if (+HEAPF32[i4 + 16 >> 2] < +HEAPF32[i6 >> 2]) {
+ break;
+ }
+ if (+HEAPF32[i4 + 4 >> 2] > +HEAPF32[i6 + 20 >> 2]) {
+ break;
+ }
+ if (+HEAPF32[i4 + 20 >> 2] < +HEAPF32[i6 + 4 >> 2]) {
+ break;
+ }
+ if (+HEAPF32[i4 + 8 >> 2] > +HEAPF32[i6 + 24 >> 2]) {
+ break;
+ }
+ if (+HEAPF32[i4 + 24 >> 2] < +HEAPF32[i6 + 8 >> 2]) {
+ break;
+ }
+ d14 = +HEAPF32[i2 + 16 >> 2];
+ d15 = +HEAPF32[i3 >> 2] - d14;
+ d16 = +HEAPF32[i2 + 20 >> 2];
+ d17 = +HEAPF32[i3 + 4 >> 2] - d16;
+ d18 = +HEAPF32[i2 + 24 >> 2];
+ d19 = +HEAPF32[i3 + 8 >> 2] - d18;
+ d20 = +HEAPF32[i1 + 100 >> 2];
+ d21 = (+HEAPF32[i2 + 32 >> 2] - d14) * .5 * d20;
+ d14 = d20 * (+HEAPF32[i2 + 36 >> 2] - d16) * .5;
+ d16 = d20 * (+HEAPF32[i2 + 40 >> 2] - d18) * .5;
+ i22 = i7 | 0;
+ HEAPF32[i22 >> 2] = d21;
+ i23 = i7 + 4 | 0;
+ HEAPF32[i23 >> 2] = d14;
+ i24 = i7 + 8 | 0;
+ HEAPF32[i24 >> 2] = d16;
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ if (d15 < 0.0) {
+ HEAPF32[i22 >> 2] = -0.0 - d21;
+ }
+ if (d17 < 0.0) {
+ HEAPF32[i23 >> 2] = -0.0 - d14;
+ }
+ if (d19 < 0.0) {
+ HEAPF32[i24 >> 2] = -0.0 - d16;
+ }
+ if (!(__ZN6btDbvt6updateEP10btDbvtNodeR12btDbvtAabbMmRK9btVector3f(i1 + 4 | 0, i4, i6, i7, .05000000074505806) | 0)) {
+ i13 = 0;
+ break L880;
+ }
+ i24 = i1 + 132 | 0;
+ HEAP32[i24 >> 2] = (HEAP32[i24 >> 2] | 0) + 1;
+ i13 = 1;
+ break L880;
+ }
+ } while (0);
+ __ZN6btDbvt6updateEP10btDbvtNodeR12btDbvtAabbMm(i1 + 4 | 0, i4, i6);
+ i24 = i1 + 132 | 0;
+ HEAP32[i24 >> 2] = (HEAP32[i24 >> 2] | 0) + 1;
+ i13 = 1;
+ }
+ } while (0);
+ i6 = i2 + 52 | 0;
+ i7 = HEAP32[i6 >> 2] | 0;
+ i3 = i2 + 56 | 0;
+ i24 = HEAP32[i3 >> 2] | 0;
+ if ((i7 | 0) == 0) {
+ HEAP32[i1 + 84 + (HEAP32[i10 >> 2] << 2) >> 2] = i24;
+ } else {
+ HEAP32[i7 + 56 >> 2] = i24;
+ }
+ i24 = HEAP32[i3 >> 2] | 0;
+ if ((i24 | 0) != 0) {
+ HEAP32[i24 + 52 >> 2] = HEAP32[i6 >> 2];
+ }
+ i24 = i2 + 16 | 0;
+ HEAP32[i24 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i24 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i24 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ HEAP32[i24 + 12 >> 2] = HEAP32[i11 + 12 >> 2];
+ i11 = i2 + 32 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i12 + 12 >> 2];
+ i12 = i1 + 104 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i12 >> 2];
+ i10 = i1 + 84 + (HEAP32[i12 >> 2] << 2) | 0;
+ HEAP32[i6 >> 2] = 0;
+ HEAP32[i3 >> 2] = HEAP32[i10 >> 2];
+ i3 = HEAP32[i10 >> 2] | 0;
+ if ((i3 | 0) != 0) {
+ HEAP32[i3 + 52 >> 2] = i9;
+ }
+ HEAP32[i10 >> 2] = i9;
+ if (!i13) {
+ STACKTOP = i5;
+ return;
+ }
+ HEAP8[i1 + 154 | 0] = 1;
+ if ((HEAP8[i1 + 153 | 0] | 0) != 0) {
+ STACKTOP = i5;
+ return;
+ }
+ HEAP32[i8 >> 2] = 4064;
+ HEAP32[i8 + 4 >> 2] = i1;
+ i13 = i1 + 44 | 0;
+ i9 = i2 + 48 | 0;
+ i2 = i8 | 0;
+ __ZN6btDbvt24collideTTpersistentStackEPK10btDbvtNodeS2_RNS_8ICollideE(i13, HEAP32[i13 >> 2] | 0, HEAP32[i9 >> 2] | 0, i2);
+ i13 = i1 + 4 | 0;
+ __ZN6btDbvt24collideTTpersistentStackEPK10btDbvtNodeS2_RNS_8ICollideE(i13, HEAP32[i13 >> 2] | 0, HEAP32[i9 >> 2] | 0, i2);
+ STACKTOP = i5;
+ return;
+}
+function __ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, i31 = 0, d32 = 0.0, d33 = 0.0;
+ i1 = i6 + 16 | 0;
+ i7 = HEAP16[i1 >> 1] & -16;
+ HEAP16[i1 >> 1] = i7;
+ d8 = +HEAPF32[i4 >> 2];
+ d9 = +HEAPF32[i3 >> 2];
+ d10 = d8 - d9;
+ d11 = +HEAPF32[i4 + 4 >> 2];
+ d12 = +HEAPF32[i3 + 4 >> 2];
+ d13 = d11 - d12;
+ d14 = +HEAPF32[i4 + 8 >> 2];
+ d15 = +HEAPF32[i3 + 8 >> 2];
+ d16 = d14 - d15;
+ d17 = +HEAPF32[i5 >> 2];
+ d18 = d17 - d9;
+ d19 = +HEAPF32[i5 + 4 >> 2];
+ d20 = d19 - d12;
+ d21 = +HEAPF32[i5 + 8 >> 2];
+ d22 = d21 - d15;
+ d23 = +HEAPF32[i2 >> 2];
+ d24 = d23 - d9;
+ d25 = +HEAPF32[i2 + 4 >> 2];
+ d26 = d25 - d12;
+ d27 = +HEAPF32[i2 + 8 >> 2];
+ d28 = d27 - d15;
+ d29 = d10 * d24 + d13 * d26 + d16 * d28;
+ d30 = d18 * d24 + d20 * d26 + d22 * d28;
+ if (!(d29 > 0.0 | d30 > 0.0)) {
+ i2 = i6;
+ i31 = i3;
+ HEAP32[i2 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ HEAP16[i1 >> 1] = i7 | 1;
+ HEAPF32[i6 + 20 >> 2] = 1.0;
+ HEAPF32[i6 + 24 >> 2] = 0.0;
+ HEAPF32[i6 + 28 >> 2] = 0.0;
+ HEAPF32[i6 + 32 >> 2] = 0.0;
+ return 1;
+ }
+ d28 = d23 - d8;
+ d26 = d25 - d11;
+ d24 = d27 - d14;
+ d32 = d10 * d28 + d13 * d26 + d16 * d24;
+ d33 = d18 * d28 + d20 * d26 + d22 * d24;
+ if (!(d32 < 0.0 | d33 > d32)) {
+ i31 = i6;
+ i2 = i4;
+ HEAP32[i31 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i31 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i31 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i31 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ HEAP16[i1 >> 1] = i7 | 2;
+ HEAPF32[i6 + 20 >> 2] = 0.0;
+ HEAPF32[i6 + 24 >> 2] = 1.0;
+ HEAPF32[i6 + 28 >> 2] = 0.0;
+ HEAPF32[i6 + 32 >> 2] = 0.0;
+ return 1;
+ }
+ d24 = d29 * d33 - d32 * d30;
+ if (!(d24 > 0.0 | d29 < 0.0 | d32 > 0.0)) {
+ d26 = d29 / (d29 - d32);
+ HEAPF32[i6 >> 2] = d9 + d10 * d26;
+ HEAPF32[i6 + 4 >> 2] = d12 + d13 * d26;
+ HEAPF32[i6 + 8 >> 2] = d15 + d16 * d26;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ HEAP16[i1 >> 1] = i7 | 3;
+ HEAPF32[i6 + 20 >> 2] = 1.0 - d26;
+ HEAPF32[i6 + 24 >> 2] = d26;
+ HEAPF32[i6 + 28 >> 2] = 0.0;
+ HEAPF32[i6 + 32 >> 2] = 0.0;
+ return 1;
+ }
+ d26 = d23 - d17;
+ d23 = d25 - d19;
+ d25 = d27 - d21;
+ d27 = d10 * d26 + d13 * d23 + d16 * d25;
+ d28 = d18 * d26 + d20 * d23 + d22 * d25;
+ if (!(d28 < 0.0 | d27 > d28)) {
+ i2 = i6;
+ i31 = i5;
+ HEAP32[i2 >> 2] = HEAP32[i31 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i31 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i31 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i31 + 12 >> 2];
+ HEAP16[i1 >> 1] = i7 | 4;
+ HEAPF32[i6 + 20 >> 2] = 0.0;
+ HEAPF32[i6 + 24 >> 2] = 0.0;
+ HEAPF32[i6 + 28 >> 2] = 1.0;
+ HEAPF32[i6 + 32 >> 2] = 0.0;
+ return 1;
+ }
+ d25 = d27 * d30 - d29 * d28;
+ if (!(d25 > 0.0 | d30 < 0.0 | d28 > 0.0)) {
+ d29 = d30 / (d30 - d28);
+ HEAPF32[i6 >> 2] = d9 + d18 * d29;
+ HEAPF32[i6 + 4 >> 2] = d12 + d20 * d29;
+ HEAPF32[i6 + 8 >> 2] = d15 + d22 * d29;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ HEAP16[i1 >> 1] = i7 | 5;
+ HEAPF32[i6 + 20 >> 2] = 1.0 - d29;
+ HEAPF32[i6 + 24 >> 2] = 0.0;
+ HEAPF32[i6 + 28 >> 2] = d29;
+ HEAPF32[i6 + 32 >> 2] = 0.0;
+ return 1;
+ }
+ d29 = d32 * d28 - d27 * d33;
+ do {
+ if (d29 <= 0.0) {
+ d30 = d33 - d32;
+ if (d30 < 0.0) {
+ break;
+ }
+ d23 = d27 - d28;
+ if (d23 < 0.0) {
+ break;
+ }
+ d26 = d30 / (d30 + d23);
+ HEAPF32[i6 >> 2] = d8 + (d17 - d8) * d26;
+ HEAPF32[i6 + 4 >> 2] = d11 + (d19 - d11) * d26;
+ HEAPF32[i6 + 8 >> 2] = d14 + (d21 - d14) * d26;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ HEAP16[i1 >> 1] = i7 | 6;
+ HEAPF32[i6 + 20 >> 2] = 0.0;
+ HEAPF32[i6 + 24 >> 2] = 1.0 - d26;
+ HEAPF32[i6 + 28 >> 2] = d26;
+ HEAPF32[i6 + 32 >> 2] = 0.0;
+ return 1;
+ }
+ } while (0);
+ d14 = 1.0 / (d24 + (d29 + d25));
+ d29 = d25 * d14;
+ d25 = d24 * d14;
+ HEAPF32[i6 >> 2] = d18 * d25 + (d9 + d10 * d29);
+ HEAPF32[i6 + 4 >> 2] = d20 * d25 + (d12 + d13 * d29);
+ HEAPF32[i6 + 8 >> 2] = d22 * d25 + (d15 + d16 * d29);
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ HEAP16[i1 >> 1] = i7 | 7;
+ HEAPF32[i6 + 20 >> 2] = 1.0 - d29 - d25;
+ HEAPF32[i6 + 24 >> 2] = d29;
+ HEAPF32[i6 + 28 >> 2] = d25;
+ HEAPF32[i6 + 32 >> 2] = 0.0;
+ return 1;
+}
+function __ZN16btCollisionWorld16updateSingleAabbEP17btCollisionObject(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, i12 = 0, d13 = 0.0, i14 = 0, d15 = 0.0, i16 = 0, d17 = 0.0, i18 = 0, d19 = 0.0, i20 = 0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, i28 = 0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 16 | 0;
+ i6 = i3 + 32 | 0;
+ i7 = i3 + 48 | 0;
+ i8 = i2 + 192 | 0;
+ i9 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 8 >> 2] & 127](i9, i2 + 4 | 0, i4, i5);
+ d10 = +HEAPF32[4];
+ i9 = i4 | 0;
+ d11 = +HEAPF32[i9 >> 2] - d10;
+ HEAPF32[i9 >> 2] = d11;
+ i12 = i4 + 4 | 0;
+ d13 = +HEAPF32[i12 >> 2] - d10;
+ HEAPF32[i12 >> 2] = d13;
+ i14 = i4 + 8 | 0;
+ d15 = +HEAPF32[i14 >> 2] - d10;
+ HEAPF32[i14 >> 2] = d15;
+ i16 = i5 | 0;
+ d17 = d10 + +HEAPF32[i16 >> 2];
+ HEAPF32[i16 >> 2] = d17;
+ i18 = i5 + 4 | 0;
+ d19 = d10 + +HEAPF32[i18 >> 2];
+ HEAPF32[i18 >> 2] = d19;
+ i20 = i5 + 8 | 0;
+ d21 = d10 + +HEAPF32[i20 >> 2];
+ HEAPF32[i20 >> 2] = d21;
+ do {
+ if ((HEAP8[i1 + 44 | 0] | 0) == 0) {
+ d22 = d17;
+ d23 = d11;
+ d24 = d19;
+ d25 = d13;
+ d26 = d21;
+ d27 = d15;
+ } else {
+ if ((HEAP32[i2 + 232 >> 2] | 0) != 2) {
+ d22 = d17;
+ d23 = d11;
+ d24 = d19;
+ d25 = d13;
+ d26 = d21;
+ d27 = d15;
+ break;
+ }
+ i28 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i28 >> 2] | 0) + 8 >> 2] & 127](i28, i2 + 68 | 0, i6, i7);
+ i28 = i6 | 0;
+ d29 = +HEAPF32[i28 >> 2] - d10;
+ HEAPF32[i28 >> 2] = d29;
+ i28 = i6 + 4 | 0;
+ d30 = +HEAPF32[i28 >> 2] - d10;
+ HEAPF32[i28 >> 2] = d30;
+ i28 = i6 + 8 | 0;
+ d31 = +HEAPF32[i28 >> 2] - d10;
+ HEAPF32[i28 >> 2] = d31;
+ i28 = i7 | 0;
+ d32 = d10 + +HEAPF32[i28 >> 2];
+ HEAPF32[i28 >> 2] = d32;
+ i28 = i7 + 4 | 0;
+ d33 = d10 + +HEAPF32[i28 >> 2];
+ HEAPF32[i28 >> 2] = d33;
+ i28 = i7 + 8 | 0;
+ d34 = d10 + +HEAPF32[i28 >> 2];
+ HEAPF32[i28 >> 2] = d34;
+ d35 = +HEAPF32[i9 >> 2];
+ if (d29 < d35) {
+ HEAPF32[i9 >> 2] = d29;
+ d36 = d29;
+ } else {
+ d36 = d35;
+ }
+ d35 = +HEAPF32[i12 >> 2];
+ if (d30 < d35) {
+ HEAPF32[i12 >> 2] = d30;
+ d37 = d30;
+ } else {
+ d37 = d35;
+ }
+ d35 = +HEAPF32[i14 >> 2];
+ if (d31 < d35) {
+ HEAPF32[i14 >> 2] = d31;
+ d38 = d31;
+ } else {
+ d38 = d35;
+ }
+ i28 = i4 + 12 | 0;
+ d35 = +HEAPF32[i6 + 12 >> 2];
+ if (d35 < +HEAPF32[i28 >> 2]) {
+ HEAPF32[i28 >> 2] = d35;
+ }
+ d35 = +HEAPF32[i16 >> 2];
+ if (d35 < d32) {
+ HEAPF32[i16 >> 2] = d32;
+ d39 = d32;
+ } else {
+ d39 = d35;
+ }
+ d35 = +HEAPF32[i18 >> 2];
+ if (d35 < d33) {
+ HEAPF32[i18 >> 2] = d33;
+ d40 = d33;
+ } else {
+ d40 = d35;
+ }
+ d35 = +HEAPF32[i20 >> 2];
+ if (d35 < d34) {
+ HEAPF32[i20 >> 2] = d34;
+ d41 = d34;
+ } else {
+ d41 = d35;
+ }
+ i28 = i5 + 12 | 0;
+ d35 = +HEAPF32[i7 + 12 >> 2];
+ if (+HEAPF32[i28 >> 2] >= d35) {
+ d22 = d39;
+ d23 = d36;
+ d24 = d40;
+ d25 = d37;
+ d26 = d41;
+ d27 = d38;
+ break;
+ }
+ HEAPF32[i28 >> 2] = d35;
+ d22 = d39;
+ d23 = d36;
+ d24 = d40;
+ d25 = d37;
+ d26 = d41;
+ d27 = d38;
+ }
+ } while (0);
+ i7 = HEAP32[i1 + 76 >> 2] | 0;
+ do {
+ if ((HEAP32[i2 + 204 >> 2] & 1 | 0) == 0) {
+ d38 = d22 - d23;
+ d41 = d24 - d25;
+ d37 = d26 - d27;
+ if (d37 * d37 + (d41 * d41 + d38 * d38) < 999999995904.0) {
+ break;
+ }
+ __ZN17btCollisionObject18setActivationStateEi(i2, 5);
+ if (HEAP8[1304] | 0) {
+ STACKTOP = i3;
+ return;
+ }
+ i20 = i1 + 80 | 0;
+ i18 = HEAP32[i20 >> 2] | 0;
+ if ((i18 | 0) == 0) {
+ STACKTOP = i3;
+ return;
+ }
+ HEAP8[1304] = 1;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i18 >> 2] | 0) + 36 >> 2] & 127](i18, 880);
+ i18 = HEAP32[i20 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i18 >> 2] | 0) + 36 >> 2] & 127](i18, 960);
+ i18 = HEAP32[i20 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i18 >> 2] | 0) + 36 >> 2] & 127](i18, 624);
+ i18 = HEAP32[i20 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i18 >> 2] | 0) + 36 >> 2] & 127](i18, 488);
+ STACKTOP = i3;
+ return;
+ }
+ } while (0);
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 16 >> 2] & 63](i7, HEAP32[i2 + 188 >> 2] | 0, i4, i5, HEAP32[i1 + 24 >> 2] | 0);
+ STACKTOP = i3;
+ return;
+}
+function __ZN9btHashMapI9btHashPtrP16btCollisionShapeE6insertERKS0_RKS2_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0;
+ i4 = i2 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ i6 = i5 + ~(i5 << 15) | 0;
+ i7 = (i6 >> 10 ^ i6) * 9 | 0;
+ i6 = i7 >> 6 ^ i7;
+ i7 = i6 + ~(i6 << 11) | 0;
+ i6 = i1 + 48 | 0;
+ i8 = HEAP32[i6 >> 2] | 0;
+ i9 = (i7 >> 16 ^ i7) & i8 - 1;
+ i7 = i5;
+ L333 : do {
+ if (i9 >>> 0 < (HEAP32[i1 + 4 >> 2] | 0) >>> 0) {
+ i5 = HEAP32[(HEAP32[i1 + 12 >> 2] | 0) + (i9 << 2) >> 2] | 0;
+ if ((i5 | 0) == -1) {
+ break;
+ }
+ i10 = HEAP32[i1 + 72 >> 2] | 0;
+ i11 = i1 + 32 | 0;
+ i12 = i5;
+ while (1) {
+ if ((i7 | 0) == (HEAP32[i10 + (i12 << 3) >> 2] | 0)) {
+ break;
+ }
+ i5 = HEAP32[(HEAP32[i11 >> 2] | 0) + (i12 << 2) >> 2] | 0;
+ if ((i5 | 0) == -1) {
+ break L333;
+ } else {
+ i12 = i5;
+ }
+ }
+ if ((i12 | 0) == -1) {
+ break;
+ }
+ HEAP32[(HEAP32[i1 + 52 >> 2] | 0) + (i12 << 2) >> 2] = HEAP32[i3 >> 2];
+ return;
+ }
+ } while (0);
+ i7 = i1 + 44 | 0;
+ i11 = HEAP32[i7 >> 2] | 0;
+ do {
+ if ((i11 | 0) == (i8 | 0)) {
+ i10 = (i8 | 0) == 0 ? 1 : i8 << 1;
+ if ((i8 | 0) >= (i10 | 0)) {
+ i13 = i8;
+ break;
+ }
+ if ((i10 | 0) == 0) {
+ i14 = 0;
+ i15 = i8;
+ } else {
+ i5 = __Z22btAlignedAllocInternalji(i10 << 2, 16) | 0;
+ i14 = i5;
+ i15 = HEAP32[i7 >> 2] | 0;
+ }
+ i5 = i1 + 52 | 0;
+ if ((i15 | 0) > 0) {
+ i16 = 0;
+ do {
+ i17 = i14 + (i16 << 2) | 0;
+ if ((i17 | 0) != 0) {
+ HEAP32[i17 >> 2] = HEAP32[(HEAP32[i5 >> 2] | 0) + (i16 << 2) >> 2];
+ }
+ i16 = i16 + 1 | 0;
+ } while ((i16 | 0) < (i15 | 0));
+ }
+ i16 = HEAP32[i5 >> 2] | 0;
+ i12 = i1 + 56 | 0;
+ if ((i16 | 0) == 0) {
+ i18 = i15;
+ } else {
+ if ((HEAP8[i12] | 0) == 0) {
+ i19 = i15;
+ } else {
+ __Z21btAlignedFreeInternalPv(i16);
+ i19 = HEAP32[i7 >> 2] | 0;
+ }
+ HEAP32[i5 >> 2] = 0;
+ i18 = i19;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i5 >> 2] = i14;
+ HEAP32[i6 >> 2] = i10;
+ i13 = i18;
+ } else {
+ i13 = i11;
+ }
+ } while (0);
+ i18 = (HEAP32[i1 + 52 >> 2] | 0) + (i13 << 2) | 0;
+ if ((i18 | 0) != 0) {
+ HEAP32[i18 >> 2] = HEAP32[i3 >> 2];
+ }
+ HEAP32[i7 >> 2] = i13 + 1;
+ i13 = i1 + 64 | 0;
+ i7 = HEAP32[i13 >> 2] | 0;
+ i3 = i1 + 68 | 0;
+ do {
+ if ((i7 | 0) == (HEAP32[i3 >> 2] | 0)) {
+ i18 = (i7 | 0) == 0 ? 1 : i7 << 1;
+ if ((i7 | 0) >= (i18 | 0)) {
+ i20 = i7;
+ break;
+ }
+ if ((i18 | 0) == 0) {
+ i21 = 0;
+ i22 = i7;
+ } else {
+ i14 = __Z22btAlignedAllocInternalji(i18 << 3, 16) | 0;
+ i21 = i14;
+ i22 = HEAP32[i13 >> 2] | 0;
+ }
+ i14 = i1 + 72 | 0;
+ if ((i22 | 0) > 0) {
+ i19 = 0;
+ do {
+ i15 = i21 + (i19 << 3) | 0;
+ if ((i15 | 0) != 0) {
+ i12 = (HEAP32[i14 >> 2] | 0) + (i19 << 3) | 0;
+ i16 = i15;
+ i15 = HEAP32[i12 + 4 >> 2] | 0;
+ HEAP32[i16 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i16 + 4 >> 2] = i15;
+ }
+ i19 = i19 + 1 | 0;
+ } while ((i19 | 0) < (i22 | 0));
+ }
+ i19 = HEAP32[i14 >> 2] | 0;
+ i10 = i1 + 76 | 0;
+ if ((i19 | 0) != 0) {
+ if ((HEAP8[i10] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i19);
+ }
+ HEAP32[i14 >> 2] = 0;
+ }
+ HEAP8[i10] = 1;
+ HEAP32[i14 >> 2] = i21;
+ HEAP32[i3 >> 2] = i18;
+ i20 = HEAP32[i13 >> 2] | 0;
+ } else {
+ i20 = i7;
+ }
+ } while (0);
+ i7 = (HEAP32[i1 + 72 >> 2] | 0) + (i20 << 3) | 0;
+ if ((i7 | 0) == 0) {
+ i23 = i20;
+ } else {
+ i20 = i2;
+ i2 = i7;
+ i7 = HEAP32[i20 + 4 >> 2] | 0;
+ HEAP32[i2 >> 2] = HEAP32[i20 >> 2];
+ HEAP32[i2 + 4 >> 2] = i7;
+ i23 = HEAP32[i13 >> 2] | 0;
+ }
+ HEAP32[i13 >> 2] = i23 + 1;
+ if ((i8 | 0) < (HEAP32[i6 >> 2] | 0)) {
+ __ZN9btHashMapI9btHashPtrP16btCollisionShapeE10growTablesERKS0_(i1, 0);
+ i8 = HEAP32[i4 >> 2] | 0;
+ i4 = i8 + ~(i8 << 15) | 0;
+ i8 = (i4 >> 10 ^ i4) * 9 | 0;
+ i4 = i8 >> 6 ^ i8;
+ i8 = i4 + ~(i4 << 11) | 0;
+ i24 = (i8 >> 16 ^ i8) & (HEAP32[i6 >> 2] | 0) - 1;
+ } else {
+ i24 = i9;
+ }
+ i9 = (HEAP32[i1 + 12 >> 2] | 0) + (i24 << 2) | 0;
+ HEAP32[(HEAP32[i1 + 32 >> 2] | 0) + (i11 << 2) >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i9 >> 2] = i11;
+ return;
+}
+function __ZN28btHashedOverlappingPairCache20sortOverlappingPairsEP12btDispatcher(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 8 | 0;
+ i6 = i5 + 16 | 0;
+ HEAP8[i6] = 1;
+ i7 = i5 + 12 | 0;
+ HEAP32[i7 >> 2] = 0;
+ i8 = i5 + 4 | 0;
+ HEAP32[i8 >> 2] = 0;
+ i9 = i5 + 8 | 0;
+ HEAP32[i9 >> 2] = 0;
+ i10 = i1 + 8 | 0;
+ i11 = HEAP32[i10 >> 2] | 0;
+ do {
+ if ((i11 | 0) > 0) {
+ i12 = i1 + 16 | 0;
+ i13 = 0;
+ i14 = 0;
+ i15 = 0;
+ i16 = i11;
+ while (1) {
+ i17 = HEAP32[i12 >> 2] | 0;
+ do {
+ if ((i14 | 0) == (i15 | 0)) {
+ i18 = (i15 | 0) == 0 ? 1 : i15 << 1;
+ if ((i15 | 0) >= (i18 | 0)) {
+ i19 = i15;
+ i20 = i15;
+ i21 = i16;
+ break;
+ }
+ if ((i18 | 0) == 0) {
+ i22 = 0;
+ i23 = i15;
+ } else {
+ i24 = __Z22btAlignedAllocInternalji(i18 << 4, 16) | 0;
+ i22 = i24;
+ i23 = HEAP32[i8 >> 2] | 0;
+ }
+ if ((i23 | 0) > 0) {
+ i24 = 0;
+ do {
+ i25 = HEAP32[i7 >> 2] | 0;
+ HEAP32[i22 + (i24 << 4) >> 2] = HEAP32[i25 + (i24 << 4) >> 2];
+ HEAP32[i22 + (i24 << 4) + 4 >> 2] = HEAP32[i25 + (i24 << 4) + 4 >> 2];
+ HEAP32[i22 + (i24 << 4) + 8 >> 2] = HEAP32[i25 + (i24 << 4) + 8 >> 2];
+ HEAP32[i22 + (i24 << 4) + 12 >> 2] = HEAP32[i25 + (i24 << 4) + 12 >> 2];
+ i24 = i24 + 1 | 0;
+ } while ((i24 | 0) < (i23 | 0));
+ }
+ i24 = HEAP32[i7 >> 2] | 0;
+ if ((i24 | 0) == 0) {
+ i26 = i23;
+ } else {
+ if ((HEAP8[i6] | 0) == 0) {
+ i27 = i23;
+ } else {
+ __Z21btAlignedFreeInternalPv(i24);
+ i27 = HEAP32[i8 >> 2] | 0;
+ }
+ HEAP32[i7 >> 2] = 0;
+ i26 = i27;
+ }
+ HEAP8[i6] = 1;
+ HEAP32[i7 >> 2] = i22;
+ HEAP32[i9 >> 2] = i18;
+ i19 = i26;
+ i20 = i18;
+ i21 = HEAP32[i10 >> 2] | 0;
+ } else {
+ i19 = i14;
+ i20 = i15;
+ i21 = i16;
+ }
+ } while (0);
+ i24 = HEAP32[i7 >> 2] | 0;
+ HEAP32[i24 + (i19 << 4) >> 2] = HEAP32[i17 + (i13 << 4) >> 2];
+ HEAP32[i24 + (i19 << 4) + 4 >> 2] = HEAP32[i17 + (i13 << 4) + 4 >> 2];
+ HEAP32[i24 + (i19 << 4) + 8 >> 2] = HEAP32[i17 + (i13 << 4) + 8 >> 2];
+ HEAP32[i24 + (i19 << 4) + 12 >> 2] = HEAP32[i17 + (i13 << 4) + 12 >> 2];
+ i28 = i19 + 1 | 0;
+ HEAP32[i8 >> 2] = i28;
+ i24 = i13 + 1 | 0;
+ if ((i24 | 0) < (i21 | 0)) {
+ i13 = i24;
+ i14 = i28;
+ i15 = i20;
+ i16 = i21;
+ } else {
+ break;
+ }
+ }
+ if ((i28 | 0) <= 0) {
+ i29 = i28;
+ break;
+ }
+ i16 = i1;
+ i15 = 0;
+ while (1) {
+ i14 = HEAP32[i7 >> 2] | 0;
+ FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i16 >> 2] | 0) + 12 >> 2] & 31](i1, HEAP32[i14 + (i15 << 4) >> 2] | 0, HEAP32[i14 + (i15 << 4) + 4 >> 2] | 0, i2) | 0;
+ i14 = i15 + 1 | 0;
+ i13 = HEAP32[i8 >> 2] | 0;
+ if ((i14 | 0) < (i13 | 0)) {
+ i15 = i14;
+ } else {
+ i29 = i13;
+ break;
+ }
+ }
+ } else {
+ i29 = 0;
+ }
+ } while (0);
+ i2 = i1 + 56 | 0;
+ if ((HEAP32[i2 >> 2] | 0) > 0) {
+ i28 = HEAP32[i1 + 64 >> 2] | 0;
+ i21 = 0;
+ do {
+ HEAP32[i28 + (i21 << 2) >> 2] = -1;
+ i21 = i21 + 1 | 0;
+ } while ((i21 | 0) < (HEAP32[i2 >> 2] | 0));
+ i30 = HEAP32[i8 >> 2] | 0;
+ } else {
+ i30 = i29;
+ }
+ if ((i30 | 0) > 1) {
+ __ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(i5, i4, 0, i30 - 1 | 0);
+ i31 = HEAP32[i8 >> 2] | 0;
+ } else {
+ i31 = i30;
+ }
+ if ((i31 | 0) > 0) {
+ i31 = i1;
+ i30 = 0;
+ do {
+ i4 = HEAP32[i7 >> 2] | 0;
+ FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i31 >> 2] | 0) + 8 >> 2] & 31](i1, HEAP32[i4 + (i30 << 4) >> 2] | 0, HEAP32[i4 + (i30 << 4) + 4 >> 2] | 0) | 0;
+ i30 = i30 + 1 | 0;
+ } while ((i30 | 0) < (HEAP32[i8 >> 2] | 0));
+ }
+ i8 = HEAP32[i7 >> 2] | 0;
+ if ((i8 | 0) == 0) {
+ STACKTOP = i3;
+ return;
+ }
+ if ((HEAP8[i6] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ HEAP32[i7 >> 2] = 0;
+ STACKTOP = i3;
+ return;
+}
+function __ZN22btVoronoiSimplexSolver14reduceVerticesERK15btUsageBitfield(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i3 = i1 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ do {
+ if ((i4 | 0) > 3) {
+ i5 = HEAP16[i2 >> 1] | 0;
+ if ((i5 & 8) != 0) {
+ i6 = i4;
+ i7 = i5;
+ i8 = 588;
+ break;
+ }
+ i5 = i4 - 1 | 0;
+ HEAP32[i3 >> 2] = i5;
+ i9 = i1 + 52 | 0;
+ i10 = i1 + 4 + (i5 << 4) | 0;
+ HEAP32[i9 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i10 = i1 + 132 | 0;
+ i9 = i1 + 84 + (i5 << 4) | 0;
+ HEAP32[i10 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i1 + 212 | 0;
+ i10 = i1 + 164 + (i5 << 4) | 0;
+ HEAP32[i9 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ i11 = i5;
+ i8 = 586;
+ } else {
+ i11 = i4;
+ i8 = 586;
+ }
+ } while (0);
+ do {
+ if ((i8 | 0) == 586) {
+ if ((i11 | 0) <= 2) {
+ i12 = i11;
+ break;
+ }
+ i6 = i11;
+ i7 = HEAP16[i2 >> 1] | 0;
+ i8 = 588;
+ }
+ } while (0);
+ do {
+ if ((i8 | 0) == 588) {
+ if ((i7 & 4) != 0) {
+ i12 = i6;
+ break;
+ }
+ i11 = i6 - 1 | 0;
+ HEAP32[i3 >> 2] = i11;
+ i4 = i1 + 36 | 0;
+ i5 = i1 + 4 + (i11 << 4) | 0;
+ HEAP32[i4 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 116 | 0;
+ i4 = i1 + 84 + (i11 << 4) | 0;
+ HEAP32[i5 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i1 + 196 | 0;
+ i5 = i1 + 164 + (i11 << 4) | 0;
+ HEAP32[i4 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i12 = i11;
+ }
+ } while (0);
+ do {
+ if ((i12 | 0) > 1) {
+ i6 = HEAP16[i2 >> 1] | 0;
+ if ((i6 & 2) != 0) {
+ i13 = i12;
+ i14 = i6;
+ break;
+ }
+ i6 = i12 - 1 | 0;
+ HEAP32[i3 >> 2] = i6;
+ i7 = i1 + 20 | 0;
+ i11 = i1 + 4 + (i6 << 4) | 0;
+ HEAP32[i7 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i11 + 12 >> 2];
+ i11 = i1 + 100 | 0;
+ i7 = i1 + 84 + (i6 << 4) | 0;
+ HEAP32[i11 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i1 + 180 | 0;
+ i11 = i1 + 164 + (i6 << 4) | 0;
+ HEAP32[i7 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i11 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i11 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i11 + 12 >> 2];
+ i15 = i6;
+ i8 = 593;
+ } else {
+ i15 = i12;
+ i8 = 593;
+ }
+ } while (0);
+ do {
+ if ((i8 | 0) == 593) {
+ if ((i15 | 0) > 0) {
+ i13 = i15;
+ i14 = HEAP16[i2 >> 1] | 0;
+ break;
+ } else {
+ return;
+ }
+ }
+ } while (0);
+ if ((i14 & 1) != 0) {
+ return;
+ }
+ i14 = i13 - 1 | 0;
+ HEAP32[i3 >> 2] = i14;
+ i3 = i1 + 4 | 0;
+ i13 = i1 + 4 + (i14 << 4) | 0;
+ HEAP32[i3 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i1 + 84 | 0;
+ i3 = i1 + 84 + (i14 << 4) | 0;
+ HEAP32[i13 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ i3 = i1 + 164 | 0;
+ i13 = i1 + 164 + (i14 << 4) | 0;
+ HEAP32[i3 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ return;
+}
+function __ZN31btConvexPlaneCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i6 = i4 | 0;
+ i7 = i4 + 16 | 0;
+ i8 = i1 + 12 | 0;
+ if ((HEAP32[i8 >> 2] | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ i9 = (HEAP8[i1 + 16 | 0] | 0) != 0;
+ i10 = HEAP32[(i9 ? i3 : i2) + 192 >> 2] | 0;
+ i11 = HEAP32[(i9 ? i2 : i3) + 192 >> 2] | 0;
+ HEAPF32[i6 >> 2] = 0.0;
+ HEAPF32[i6 + 4 >> 2] = 0.0;
+ HEAPF32[i6 + 8 >> 2] = 0.0;
+ HEAPF32[i6 + 12 >> 2] = 1.0;
+ __ZN31btConvexPlaneCollisionAlgorithm20collideSingleContactERK12btQuaternionP17btCollisionObjectS4_RK16btDispatcherInfoP16btManifoldResult(i1, i6, i2, i3, 0, i5);
+ i6 = i5 + 4 | 0;
+ do {
+ if ((HEAP32[(HEAP32[i6 >> 2] | 0) + 1116 >> 2] | 0) < (HEAP32[i1 + 24 >> 2] | 0)) {
+ i9 = i11 + 48 | 0;
+ i12 = i11 + 56 | 0;
+ d13 = +HEAPF32[i12 >> 2];
+ if (+Math_abs(+d13) > .7071067690849304) {
+ d14 = +HEAPF32[i11 + 52 >> 2];
+ d15 = 1.0 / +Math_sqrt(+(d13 * d13 + d14 * d14));
+ d16 = 0.0;
+ d17 = d15 * (-0.0 - d13);
+ d18 = d14 * d15;
+ } else {
+ d15 = +HEAPF32[i9 >> 2];
+ d14 = +HEAPF32[i11 + 52 >> 2];
+ d13 = 1.0 / +Math_sqrt(+(d15 * d15 + d14 * d14));
+ d16 = d13 * (-0.0 - d14);
+ d17 = d15 * d13;
+ d18 = 0.0;
+ }
+ d13 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] & 7](i10);
+ d15 = +HEAPF32[4] / d13;
+ d13 = +Math_sqrt(+(d18 * d18 + (d17 * d17 + d16 * d16)));
+ d14 = d15 > .39269909262657166 ? .19634954631328583 : d15 * .5;
+ d15 = +Math_sin(+d14) / d13;
+ d13 = d16 * d15;
+ d19 = d17 * d15;
+ d20 = d18 * d15;
+ d15 = +Math_cos(+d14);
+ i21 = i1 + 20 | 0;
+ i22 = HEAP32[i21 >> 2] | 0;
+ if ((i22 | 0) <= 0) {
+ break;
+ }
+ i23 = i11 + 52 | 0;
+ i24 = i7 | 0;
+ i25 = i7 + 4 | 0;
+ i26 = i7 + 8 | 0;
+ i27 = i7 + 12 | 0;
+ i28 = 0;
+ i29 = i22;
+ do {
+ d14 = +HEAPF32[i9 >> 2];
+ d30 = +HEAPF32[i23 >> 2];
+ d31 = +HEAPF32[i12 >> 2];
+ d32 = +Math_sqrt(+(d14 * d14 + d30 * d30 + d31 * d31));
+ d33 = +(i28 | 0) * (6.2831854820251465 / +(i29 | 0)) * .5;
+ d34 = +Math_sin(+d33) / d32;
+ d32 = d14 * d34;
+ d14 = d30 * d34;
+ d30 = d31 * d34;
+ d34 = +Math_cos(+d33);
+ d33 = -0.0 - d32;
+ d31 = -0.0 - d14;
+ d35 = -0.0 - d30;
+ d36 = d20 * d31 + (d13 * d34 + d15 * d33) - d19 * d35;
+ d37 = d13 * d35 + (d19 * d34 + d15 * d31) - d20 * d33;
+ d38 = d19 * d33 + (d20 * d34 + d15 * d35) - d13 * d31;
+ d39 = d15 * d34 - d13 * d33 - d19 * d31 - d20 * d35;
+ HEAPF32[i24 >> 2] = d30 * d37 + (d32 * d39 + d34 * d36) - d14 * d38;
+ HEAPF32[i25 >> 2] = d32 * d38 + (d34 * d37 + d14 * d39) - d30 * d36;
+ HEAPF32[i26 >> 2] = d14 * d36 + (d30 * d39 + d34 * d38) - d32 * d37;
+ HEAPF32[i27 >> 2] = d34 * d39 - d32 * d36 - d14 * d37 - d30 * d38;
+ __ZN31btConvexPlaneCollisionAlgorithm20collideSingleContactERK12btQuaternionP17btCollisionObjectS4_RK16btDispatcherInfoP16btManifoldResult(i1, i7, i2, i3, 0, i5);
+ i28 = i28 + 1 | 0;
+ i29 = HEAP32[i21 >> 2] | 0;
+ } while ((i28 | 0) < (i29 | 0));
+ }
+ } while (0);
+ if ((HEAP8[i1 + 8 | 0] | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ if ((HEAP32[(HEAP32[i8 >> 2] | 0) + 1116 >> 2] | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ i8 = HEAP32[i6 >> 2] | 0;
+ if ((HEAP32[i8 + 1116 >> 2] | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ if ((HEAP32[i8 + 1108 >> 2] | 0) == (HEAP32[i5 + 136 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i8, i5 + 8 | 0, i5 + 72 | 0);
+ STACKTOP = i4;
+ return;
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i8, i5 + 72 | 0, i5 + 8 | 0);
+ STACKTOP = i4;
+ return;
+ }
+}
+function __ZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfo(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 128 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 8 | 0;
+ i6 = i3 + 32 | 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(240);
+ i7 = i5 + 16 | 0;
+ HEAP8[i7] = 1;
+ i8 = i5 + 12 | 0;
+ HEAP32[i8 >> 2] = 0;
+ i9 = i5 + 4 | 0;
+ HEAP32[i9 >> 2] = 0;
+ i10 = i5 + 8 | 0;
+ HEAP32[i10 >> 2] = 0;
+ i11 = HEAP32[i1 + 184 >> 2] | 0;
+ L632 : do {
+ if ((i11 | 0) > 0) {
+ i12 = __Z22btAlignedAllocInternalji(i11 << 2, 16) | 0;
+ i13 = HEAP32[i9 >> 2] | 0;
+ if ((i13 | 0) > 0) {
+ i14 = 0;
+ do {
+ i15 = i12 + (i14 << 2) | 0;
+ if ((i15 | 0) != 0) {
+ HEAP32[i15 >> 2] = HEAP32[(HEAP32[i8 >> 2] | 0) + (i14 << 2) >> 2];
+ }
+ i14 = i14 + 1 | 0;
+ } while ((i14 | 0) < (i13 | 0));
+ }
+ i13 = HEAP32[i8 >> 2] | 0;
+ if ((i13 | 0) != 0) {
+ if ((HEAP8[i7] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i13);
+ }
+ HEAP32[i8 >> 2] = 0;
+ }
+ HEAP8[i7] = 1;
+ HEAP32[i8 >> 2] = i12;
+ HEAP32[i10 >> 2] = i11;
+ i13 = 0;
+ i14 = i12;
+ while (1) {
+ i15 = i14 + (i13 << 2) | 0;
+ if ((i15 | 0) != 0) {
+ HEAP32[i15 >> 2] = 0;
+ }
+ i15 = i13 + 1 | 0;
+ if ((i15 | 0) >= (i11 | 0)) {
+ break L632;
+ }
+ i13 = i15;
+ i14 = HEAP32[i8 >> 2] | 0;
+ }
+ }
+ } while (0);
+ HEAP32[i9 >> 2] = i11;
+ i14 = i1;
+ i13 = i1 + 192 | 0;
+ i12 = 0;
+ while (1) {
+ if ((i12 | 0) >= (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i14 >> 2] | 0) + 100 >> 2] & 127](i1) | 0)) {
+ break;
+ }
+ HEAP32[(HEAP32[i8 >> 2] | 0) + (i12 << 2) >> 2] = HEAP32[(HEAP32[i13 >> 2] | 0) + (i12 << 2) >> 2];
+ i12 = i12 + 1 | 0;
+ }
+ if ((i11 | 0) > 1) {
+ __ZN20btAlignedObjectArrayIP17btTypedConstraintE17quickSortInternalI33btSortConstraintOnIslandPredicateEEvT_ii(i5, i4, 0, i11 - 1 | 0);
+ }
+ i11 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i14 >> 2] | 0) + 100 >> 2] & 127](i1) | 0) == 0;
+ i14 = i11 ? 0 : HEAP32[i8 >> 2] | 0;
+ i11 = i1 + 172 | 0;
+ i4 = HEAP32[i11 >> 2] | 0;
+ i5 = HEAP32[i9 >> 2] | 0;
+ i12 = i1 + 80 | 0;
+ i13 = HEAP32[i12 >> 2] | 0;
+ i15 = i1 + 72 | 0;
+ i16 = HEAP32[i15 >> 2] | 0;
+ i17 = i1 + 24 | 0;
+ i18 = HEAP32[i17 >> 2] | 0;
+ HEAP32[i6 >> 2] = 1520;
+ HEAP32[i6 + 4 >> 2] = i2;
+ HEAP32[i6 + 8 >> 2] = i4;
+ HEAP32[i6 + 12 >> 2] = i14;
+ HEAP32[i6 + 16 >> 2] = i5;
+ HEAP32[i6 + 20 >> 2] = i13;
+ HEAP32[i6 + 24 >> 2] = i16;
+ HEAP32[i6 + 28 >> 2] = i18;
+ HEAP8[i6 + 48 | 0] = 1;
+ HEAP32[i6 + 44 >> 2] = 0;
+ HEAP32[i6 + 36 >> 2] = 0;
+ HEAP32[i6 + 40 >> 2] = 0;
+ HEAP8[i6 + 68 | 0] = 1;
+ HEAP32[i6 + 64 >> 2] = 0;
+ HEAP32[i6 + 56 >> 2] = 0;
+ HEAP32[i6 + 60 >> 2] = 0;
+ HEAP8[i6 + 88 | 0] = 1;
+ HEAP32[i6 + 84 >> 2] = 0;
+ HEAP32[i6 + 76 >> 2] = 0;
+ HEAP32[i6 + 80 >> 2] = 0;
+ i16 = HEAP32[(HEAP32[i4 >> 2] | 0) + 8 >> 2] | 0;
+ i13 = HEAP32[i1 + 8 >> 2] | 0;
+ i5 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i18 >> 2] | 0) + 36 >> 2] & 127](i18) | 0;
+ FUNCTION_TABLE_viii[i16 & 127](i4, i13, i5);
+ __ZN25btSimulationIslandManager22buildAndProcessIslandsEP12btDispatcherP16btCollisionWorldPNS_14IslandCallbackE(HEAP32[i1 + 176 >> 2] | 0, HEAP32[i17 >> 2] | 0, i1 | 0, i6 | 0);
+ __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallback18processConstraintsEv(i6);
+ i1 = HEAP32[i11 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 16 >> 2] & 127](i1, i2, HEAP32[i12 >> 2] | 0, HEAP32[i15 >> 2] | 0);
+ __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallbackD2Ev(i6);
+ i6 = HEAP32[i8 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ HEAP8[i7] = 1;
+ HEAP32[i8 >> 2] = 0;
+ HEAP32[i9 >> 2] = 0;
+ HEAP32[i10 >> 2] = 0;
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i3;
+ return;
+ }
+ if ((HEAP8[i7] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i6);
+ }
+ HEAP32[i8 >> 2] = 0;
+ HEAP8[i7] = 1;
+ HEAP32[i8 >> 2] = 0;
+ HEAP32[i9 >> 2] = 0;
+ HEAP32[i10 >> 2] = 0;
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i3;
+ return;
+}
+function __Z22resolveSingleCollisionP11btRigidBodyP17btCollisionObjectRK9btVector3S5_RK19btContactSolverInfof(i1, i2, i3, i4, i5, d6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ d6 = +d6;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, i31 = 0, i32 = 0, i33 = 0, d34 = 0.0, d35 = 0.0, i36 = 0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i8 = i7 | 0;
+ i9 = i7 + 16 | 0;
+ i10 = i7 + 32 | 0;
+ i11 = i7 + 48 | 0;
+ if ((HEAP32[i2 + 232 >> 2] & 2 | 0) == 0) {
+ i12 = 0;
+ } else {
+ i12 = i2;
+ }
+ d13 = +HEAPF32[i3 >> 2];
+ d14 = d13 - +HEAPF32[i1 + 52 >> 2];
+ d15 = +HEAPF32[i3 + 4 >> 2];
+ d16 = d15 - +HEAPF32[i1 + 56 >> 2];
+ d17 = +HEAPF32[i3 + 8 >> 2];
+ d18 = d17 - +HEAPF32[i1 + 60 >> 2];
+ HEAPF32[i8 >> 2] = d14;
+ HEAPF32[i8 + 4 >> 2] = d16;
+ HEAPF32[i8 + 8 >> 2] = d18;
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ d19 = d13 - +HEAPF32[i2 + 52 >> 2];
+ d20 = d15 - +HEAPF32[i2 + 56 >> 2];
+ d21 = d17 - +HEAPF32[i2 + 60 >> 2];
+ HEAPF32[i9 >> 2] = d19;
+ HEAPF32[i9 + 4 >> 2] = d20;
+ HEAPF32[i9 + 8 >> 2] = d21;
+ HEAPF32[i9 + 12 >> 2] = 0.0;
+ d22 = +HEAPF32[i1 + 324 >> 2];
+ d23 = +HEAPF32[i1 + 328 >> 2];
+ d24 = +HEAPF32[i1 + 320 >> 2];
+ i3 = (i12 | 0) != 0;
+ if (i3) {
+ d25 = +HEAPF32[i12 + 324 >> 2];
+ d26 = +HEAPF32[i12 + 328 >> 2];
+ d27 = +HEAPF32[i12 + 320 >> 2];
+ d28 = d21 * d25 - d20 * d26 + +HEAPF32[i12 + 304 >> 2];
+ d29 = +HEAPF32[i12 + 308 >> 2] + (d19 * d26 - d21 * d27);
+ d30 = d20 * d27 - d19 * d25 + +HEAPF32[i12 + 312 >> 2];
+ } else {
+ d28 = 0.0;
+ d29 = 0.0;
+ d30 = 0.0;
+ }
+ i31 = i4 | 0;
+ d25 = +HEAPF32[i31 >> 2];
+ i32 = i4 + 4 | 0;
+ d19 = +HEAPF32[i32 >> 2];
+ i33 = i4 + 8 | 0;
+ d27 = +HEAPF32[i33 >> 2];
+ d20 = d25 * (d18 * d22 - d16 * d23 + +HEAPF32[i1 + 304 >> 2] - d28) + (+HEAPF32[i1 + 308 >> 2] + (d14 * d23 - d18 * d24) - d29) * d19 + (d16 * d24 - d14 * d22 + +HEAPF32[i1 + 312 >> 2] - d30) * d27;
+ d30 = d16 * d27 - d18 * d19;
+ d22 = d18 * d25 - d14 * d27;
+ d24 = d14 * d19 - d16 * d25;
+ d29 = d24 * +HEAPF32[i1 + 288 >> 2] + (d30 * +HEAPF32[i1 + 256 >> 2] + d22 * +HEAPF32[i1 + 272 >> 2]);
+ d23 = d30 * +HEAPF32[i1 + 260 >> 2] + d22 * +HEAPF32[i1 + 276 >> 2] + d24 * +HEAPF32[i1 + 292 >> 2];
+ d28 = d30 * +HEAPF32[i1 + 264 >> 2] + d22 * +HEAPF32[i1 + 280 >> 2] + d24 * +HEAPF32[i1 + 296 >> 2];
+ if (i3) {
+ d24 = d13 - +HEAPF32[i12 + 52 >> 2];
+ d13 = d15 - +HEAPF32[i12 + 56 >> 2];
+ d15 = d17 - +HEAPF32[i12 + 60 >> 2];
+ d17 = d27 * d13 - d19 * d15;
+ d22 = d25 * d15 - d27 * d24;
+ d30 = d19 * d24 - d25 * d13;
+ d21 = d30 * +HEAPF32[i12 + 288 >> 2] + (+HEAPF32[i12 + 256 >> 2] * d17 + +HEAPF32[i12 + 272 >> 2] * d22);
+ d26 = d17 * +HEAPF32[i12 + 260 >> 2] + d22 * +HEAPF32[i12 + 276 >> 2] + d30 * +HEAPF32[i12 + 292 >> 2];
+ d34 = d17 * +HEAPF32[i12 + 264 >> 2] + d22 * +HEAPF32[i12 + 280 >> 2] + d30 * +HEAPF32[i12 + 296 >> 2];
+ d35 = +HEAPF32[i12 + 336 >> 2] + (d27 * (d13 * d21 - d24 * d26) + (d25 * (d15 * d26 - d13 * d34) + d19 * (d24 * d34 - d15 * d21)));
+ i36 = 1;
+ } else {
+ d35 = 0.0;
+ i36 = 0;
+ }
+ d21 = 1.0 / (+HEAPF32[i1 + 336 >> 2] + (d27 * (d16 * d29 - d14 * d23) + (d25 * (d18 * d23 - d16 * d28) + d19 * (d14 * d28 - d18 * d29))) + d35);
+ d35 = +HEAPF32[i5 + 32 >> 2] * (-0.0 - d6) / +HEAPF32[i5 + 12 >> 2] * d21 + d20 * (-0.0 - (+HEAPF32[i1 + 228 >> 2] * +HEAPF32[i2 + 228 >> 2] * (-0.0 - d20) + 1.0)) * d21;
+ d21 = d35 < 0.0 ? 0.0 : d35;
+ HEAPF32[i10 >> 2] = d25 * d21;
+ HEAPF32[i10 + 4 >> 2] = d19 * d21;
+ HEAPF32[i10 + 8 >> 2] = d27 * d21;
+ HEAPF32[i10 + 12 >> 2] = 0.0;
+ __ZN11btRigidBody12applyImpulseERK9btVector3S2_(i1, i10, i8);
+ if (!i36) {
+ STACKTOP = i7;
+ return +d21;
+ }
+ d27 = d21 * (-0.0 - +HEAPF32[i32 >> 2]);
+ d19 = d21 * (-0.0 - +HEAPF32[i33 >> 2]);
+ HEAPF32[i11 >> 2] = d21 * (-0.0 - +HEAPF32[i31 >> 2]);
+ HEAPF32[i11 + 4 >> 2] = d27;
+ HEAPF32[i11 + 8 >> 2] = d19;
+ HEAPF32[i11 + 12 >> 2] = 0.0;
+ __ZN11btRigidBody12applyImpulseERK9btVector3S2_(i12, i11, i9);
+ STACKTOP = i7;
+ return +d21;
+}
+function __ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_PfRj(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, i13 = 0, d14 = 0.0, d15 = 0.0, i16 = 0, d17 = 0.0, i18 = 0, d19 = 0.0, d20 = 0.0, i21 = 0, d22 = 0.0, i23 = 0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, i28 = 0, d29 = 0.0, i30 = 0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, i36 = 0, d37 = 0.0, i38 = 0, d39 = 0.0, d40 = 0.0, i41 = 0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 80 | 0;
+ i7 = i6 | 0;
+ i8 = i6 + 16 | 0;
+ i9 = i6 + 64 | 0;
+ i10 = i6 + 72 | 0;
+ HEAP32[i7 >> 2] = i1;
+ HEAP32[i7 + 4 >> 2] = i2;
+ HEAP32[i7 + 8 >> 2] = i3;
+ i11 = i1 | 0;
+ d12 = +HEAPF32[i11 >> 2];
+ i13 = i2 | 0;
+ d14 = +HEAPF32[i13 >> 2];
+ d15 = d12 - d14;
+ i16 = i1 + 4 | 0;
+ d17 = +HEAPF32[i16 >> 2];
+ i18 = i2 + 4 | 0;
+ d19 = +HEAPF32[i18 >> 2];
+ d20 = d17 - d19;
+ i21 = i1 + 8 | 0;
+ d22 = +HEAPF32[i21 >> 2];
+ i23 = i2 + 8 | 0;
+ d24 = +HEAPF32[i23 >> 2];
+ d25 = d22 - d24;
+ HEAPF32[i8 >> 2] = d15;
+ HEAPF32[i8 + 4 >> 2] = d20;
+ HEAPF32[i8 + 8 >> 2] = d25;
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ i2 = i3 | 0;
+ d26 = +HEAPF32[i2 >> 2];
+ d27 = d14 - d26;
+ i28 = i3 + 4 | 0;
+ d14 = +HEAPF32[i28 >> 2];
+ d29 = d19 - d14;
+ i30 = i3 + 8 | 0;
+ d19 = +HEAPF32[i30 >> 2];
+ d31 = d24 - d19;
+ HEAPF32[i8 + 16 >> 2] = d27;
+ HEAPF32[i8 + 20 >> 2] = d29;
+ HEAPF32[i8 + 24 >> 2] = d31;
+ HEAPF32[i8 + 28 >> 2] = 0.0;
+ d24 = d26 - d12;
+ d26 = d14 - d17;
+ d14 = d19 - d22;
+ HEAPF32[i8 + 32 >> 2] = d24;
+ HEAPF32[i8 + 36 >> 2] = d26;
+ HEAPF32[i8 + 40 >> 2] = d14;
+ HEAPF32[i8 + 44 >> 2] = 0.0;
+ d19 = d20 * d31 - d25 * d29;
+ d32 = d25 * d27 - d15 * d31;
+ d33 = d15 * d29 - d20 * d27;
+ d34 = d33 * d33 + (d19 * d19 + d32 * d32);
+ if (d34 <= 0.0) {
+ d35 = -1.0;
+ STACKTOP = i6;
+ return +d35;
+ }
+ HEAP32[i9 >> 2] = 0;
+ HEAP32[i9 + 4 >> 2] = 0;
+ HEAP32[i10 >> 2] = 0;
+ i3 = i9;
+ i36 = i9 + 4 | 0;
+ i9 = 0;
+ d37 = -1.0;
+ i38 = i1;
+ d39 = d20;
+ d20 = d25;
+ d25 = d15;
+ d15 = d12;
+ d12 = d17;
+ d17 = d22;
+ while (1) {
+ do {
+ if (d17 * (d32 * d25 - d19 * d39) + (d12 * (d19 * d20 - d33 * d25) + d15 * (d33 * d39 - d32 * d20)) > 0.0) {
+ i1 = HEAP32[1328 + (i9 << 2) >> 2] | 0;
+ d22 = +__ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_PfRj(i38, HEAP32[i7 + (i1 << 2) >> 2] | 0, i3, i10);
+ if (!(d37 < 0.0 | d22 < d37)) {
+ d40 = d37;
+ break;
+ }
+ i41 = HEAP32[i10 >> 2] | 0;
+ HEAP32[i5 >> 2] = ((i41 & 1 | 0) == 0 ? 0 : 1 << i9) + ((i41 & 2 | 0) == 0 ? 0 : 1 << i1);
+ HEAPF32[i4 + (i9 << 2) >> 2] = +HEAPF32[i3 >> 2];
+ HEAPF32[i4 + (i1 << 2) >> 2] = +HEAPF32[i36 >> 2];
+ HEAPF32[i4 + (HEAP32[1328 + (i1 << 2) >> 2] << 2) >> 2] = 0.0;
+ d40 = d22;
+ } else {
+ d40 = d37;
+ }
+ } while (0);
+ i1 = i9 + 1 | 0;
+ if (i1 >>> 0 >= 3) {
+ break;
+ }
+ i41 = HEAP32[i7 + (i1 << 2) >> 2] | 0;
+ i9 = i1;
+ d37 = d40;
+ i38 = i41;
+ d39 = +HEAPF32[i8 + (i1 << 4) + 4 >> 2];
+ d20 = +HEAPF32[i8 + (i1 << 4) + 8 >> 2];
+ d25 = +HEAPF32[i8 + (i1 << 4) >> 2];
+ d15 = +HEAPF32[i41 >> 2];
+ d12 = +HEAPF32[i41 + 4 >> 2];
+ d17 = +HEAPF32[i41 + 8 >> 2];
+ }
+ if (d40 >= 0.0) {
+ d35 = d40;
+ STACKTOP = i6;
+ return +d35;
+ }
+ d40 = d19 * +HEAPF32[i11 >> 2] + d32 * +HEAPF32[i16 >> 2] + d33 * +HEAPF32[i21 >> 2];
+ d17 = +Math_sqrt(+d34);
+ d12 = d40 / d34;
+ d34 = d19 * d12;
+ d19 = d32 * d12;
+ d32 = d33 * d12;
+ HEAP32[i5 >> 2] = 7;
+ d12 = +HEAPF32[i13 >> 2] - d34;
+ d33 = +HEAPF32[i18 >> 2] - d19;
+ d40 = +HEAPF32[i23 >> 2] - d32;
+ d15 = d29 * d40 - d31 * d33;
+ d25 = d31 * d12 - d27 * d40;
+ d40 = d27 * d33 - d29 * d12;
+ d12 = +Math_sqrt(+(d40 * d40 + (d15 * d15 + d25 * d25))) / d17;
+ HEAPF32[i4 >> 2] = d12;
+ d25 = +HEAPF32[i2 >> 2] - d34;
+ d15 = +HEAPF32[i28 >> 2] - d19;
+ d40 = +HEAPF32[i30 >> 2] - d32;
+ d29 = d26 * d40 - d14 * d15;
+ d33 = d14 * d25 - d24 * d40;
+ d40 = d24 * d15 - d26 * d25;
+ d25 = +Math_sqrt(+(d40 * d40 + (d29 * d29 + d33 * d33))) / d17;
+ HEAPF32[i4 + 4 >> 2] = d25;
+ HEAPF32[i4 + 8 >> 2] = 1.0 - (d12 + d25);
+ d35 = d32 * d32 + (d34 * d34 + d19 * d19);
+ STACKTOP = i6;
+ return +d35;
+}
+function __ZN28btCompoundCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, d43 = 0.0, d44 = 0.0, i45 = 0, i46 = 0, d47 = 0.0, d48 = 0.0, d49 = 0.0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0, d55 = 0.0, d56 = 0.0, d57 = 0.0, d58 = 0.0;
+ i6 = (HEAP8[i1 + 28 | 0] | 0) != 0;
+ i7 = i6 ? i3 : i2;
+ i8 = i6 ? i2 : i3;
+ i3 = i7 + 192 | 0;
+ i2 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i2 | 0) <= 0) {
+ d9 = 1.0;
+ return +d9;
+ }
+ i6 = HEAP32[i3 >> 2] | 0;
+ i10 = i6 + 24 | 0;
+ i11 = i7 + 4 | 0;
+ i12 = i7 + 8 | 0;
+ i13 = i7 + 12 | 0;
+ i14 = i7 + 16 | 0;
+ i15 = i7 + 20 | 0;
+ i16 = i7 + 24 | 0;
+ i17 = i7 + 28 | 0;
+ i18 = i7 + 32 | 0;
+ i19 = i7 + 36 | 0;
+ i20 = i7 + 40 | 0;
+ i21 = i7 + 44 | 0;
+ i22 = i7 + 48 | 0;
+ i23 = i7 + 52 | 0;
+ i24 = i7 + 56 | 0;
+ i25 = i7 + 60 | 0;
+ i26 = i7 + 64 | 0;
+ i27 = i1 + 20 | 0;
+ d28 = +HEAPF32[i11 >> 2];
+ d29 = +HEAPF32[i12 >> 2];
+ d30 = +HEAPF32[i13 >> 2];
+ d31 = +HEAPF32[i14 >> 2];
+ d32 = +HEAPF32[i15 >> 2];
+ d33 = +HEAPF32[i16 >> 2];
+ d34 = +HEAPF32[i17 >> 2];
+ d35 = +HEAPF32[i18 >> 2];
+ d36 = +HEAPF32[i19 >> 2];
+ d37 = +HEAPF32[i20 >> 2];
+ d38 = +HEAPF32[i21 >> 2];
+ d39 = +HEAPF32[i22 >> 2];
+ d40 = +HEAPF32[i23 >> 2];
+ d41 = +HEAPF32[i24 >> 2];
+ d42 = +HEAPF32[i25 >> 2];
+ d43 = +HEAPF32[i26 >> 2];
+ i1 = 0;
+ d44 = 1.0;
+ while (1) {
+ i45 = HEAP32[i10 >> 2] | 0;
+ i46 = HEAP32[i45 + (i1 * 80 | 0) + 64 >> 2] | 0;
+ d47 = +HEAPF32[i45 + (i1 * 80 | 0) >> 2];
+ d48 = +HEAPF32[i45 + (i1 * 80 | 0) + 16 >> 2];
+ d49 = +HEAPF32[i45 + (i1 * 80 | 0) + 32 >> 2];
+ d50 = +HEAPF32[i45 + (i1 * 80 | 0) + 4 >> 2];
+ d51 = +HEAPF32[i45 + (i1 * 80 | 0) + 20 >> 2];
+ d52 = +HEAPF32[i45 + (i1 * 80 | 0) + 36 >> 2];
+ d53 = +HEAPF32[i45 + (i1 * 80 | 0) + 8 >> 2];
+ d54 = +HEAPF32[i45 + (i1 * 80 | 0) + 24 >> 2];
+ d55 = +HEAPF32[i45 + (i1 * 80 | 0) + 40 >> 2];
+ d56 = +HEAPF32[i45 + (i1 * 80 | 0) + 48 >> 2];
+ d57 = +HEAPF32[i45 + (i1 * 80 | 0) + 52 >> 2];
+ d58 = +HEAPF32[i45 + (i1 * 80 | 0) + 56 >> 2];
+ HEAPF32[i11 >> 2] = d28 * d47 + d29 * d48 + d30 * d49;
+ HEAPF32[i12 >> 2] = d28 * d50 + d29 * d51 + d30 * d52;
+ HEAPF32[i13 >> 2] = d28 * d53 + d29 * d54 + d30 * d55;
+ HEAPF32[i14 >> 2] = 0.0;
+ HEAPF32[i15 >> 2] = d32 * d47 + d33 * d48 + d34 * d49;
+ HEAPF32[i16 >> 2] = d32 * d50 + d33 * d51 + d34 * d52;
+ HEAPF32[i17 >> 2] = d32 * d53 + d33 * d54 + d34 * d55;
+ HEAPF32[i18 >> 2] = 0.0;
+ HEAPF32[i19 >> 2] = d36 * d47 + d37 * d48 + d38 * d49;
+ HEAPF32[i20 >> 2] = d36 * d50 + d37 * d51 + d38 * d52;
+ HEAPF32[i21 >> 2] = d36 * d53 + d37 * d54 + d38 * d55;
+ HEAPF32[i22 >> 2] = 0.0;
+ HEAPF32[i23 >> 2] = d40 + (d28 * d56 + d29 * d57 + d30 * d58);
+ HEAPF32[i24 >> 2] = d41 + (d32 * d56 + d33 * d57 + d34 * d58);
+ HEAPF32[i25 >> 2] = d42 + (d36 * d56 + d37 * d57 + d38 * d58);
+ HEAPF32[i26 >> 2] = 0.0;
+ HEAP32[i3 >> 2] = i46;
+ i46 = HEAP32[(HEAP32[i27 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ d58 = +FUNCTION_TABLE_fiiiii[HEAP32[(HEAP32[i46 >> 2] | 0) + 12 >> 2] & 31](i46, i7, i8, i4, i5);
+ d57 = d58 < d44 ? d58 : d44;
+ HEAP32[i3 >> 2] = i6;
+ HEAPF32[i11 >> 2] = d28;
+ HEAPF32[i12 >> 2] = d29;
+ HEAPF32[i13 >> 2] = d30;
+ HEAPF32[i14 >> 2] = d31;
+ HEAPF32[i15 >> 2] = d32;
+ HEAPF32[i16 >> 2] = d33;
+ HEAPF32[i17 >> 2] = d34;
+ HEAPF32[i18 >> 2] = d35;
+ HEAPF32[i19 >> 2] = d36;
+ HEAPF32[i20 >> 2] = d37;
+ HEAPF32[i21 >> 2] = d38;
+ HEAPF32[i22 >> 2] = d39;
+ HEAPF32[i23 >> 2] = d40;
+ HEAPF32[i24 >> 2] = d41;
+ HEAPF32[i25 >> 2] = d42;
+ HEAPF32[i26 >> 2] = d43;
+ i46 = i1 + 1 | 0;
+ if ((i46 | 0) < (i2 | 0)) {
+ i1 = i46;
+ d44 = d57;
+ } else {
+ d9 = d57;
+ break;
+ }
+ }
+ return +d9;
+}
+function __ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, d16 = 0.0, d17 = 0.0, i18 = 0, i19 = 0, d20 = 0.0, d21 = 0.0, i22 = 0, d23 = 0.0, d24 = 0.0, d25 = 0.0, i26 = 0, i27 = 0, d28 = 0.0, i29 = 0, i30 = 0, i31 = 0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0, d39 = 0.0, d40 = 0.0, d41 = 0.0;
+ i6 = i1 + 9800 | 0;
+ i7 = HEAP32[i6 >> 2] | 0;
+ if ((i7 | 0) == 0) {
+ HEAP32[i1 >> 2] = 5;
+ i8 = 0;
+ return i8 | 0;
+ }
+ i9 = i7 + 52 | 0;
+ i10 = HEAP32[i9 >> 2] | 0;
+ i11 = i7 + 48 | 0;
+ if ((i10 | 0) != 0) {
+ HEAP32[i10 + 48 >> 2] = HEAP32[i11 >> 2];
+ }
+ i10 = HEAP32[i11 >> 2] | 0;
+ if ((i10 | 0) != 0) {
+ HEAP32[i10 + 52 >> 2] = HEAP32[i9 >> 2];
+ }
+ if ((HEAP32[i6 >> 2] | 0) == (i7 | 0)) {
+ HEAP32[i6 >> 2] = HEAP32[i9 >> 2];
+ }
+ i10 = i1 + 9804 | 0;
+ HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) - 1;
+ HEAP32[i11 >> 2] = 0;
+ i12 = i1 + 9792 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i12 >> 2];
+ i13 = HEAP32[i12 >> 2] | 0;
+ if ((i13 | 0) != 0) {
+ HEAP32[i13 + 48 >> 2] = i7;
+ }
+ HEAP32[i12 >> 2] = i7;
+ i13 = i1 + 9796 | 0;
+ HEAP32[i13 >> 2] = (HEAP32[i13 >> 2] | 0) + 1;
+ HEAP8[i7 + 59 | 0] = 0;
+ HEAP32[i7 + 24 >> 2] = i2;
+ HEAP32[i7 + 28 >> 2] = i3;
+ HEAP32[i7 + 32 >> 2] = i4;
+ i14 = i3 + 16 | 0;
+ i15 = i2 + 16 | 0;
+ d16 = +HEAPF32[i15 >> 2];
+ d17 = +HEAPF32[i14 >> 2] - d16;
+ i18 = i3 + 20 | 0;
+ i19 = i2 + 20 | 0;
+ d20 = +HEAPF32[i19 >> 2];
+ d21 = +HEAPF32[i18 >> 2] - d20;
+ i22 = i3 + 24 | 0;
+ i3 = i2 + 24 | 0;
+ d23 = +HEAPF32[i3 >> 2];
+ d24 = +HEAPF32[i22 >> 2] - d23;
+ i2 = i4 + 16 | 0;
+ d25 = +HEAPF32[i2 >> 2] - d16;
+ i26 = i4 + 20 | 0;
+ d16 = +HEAPF32[i26 >> 2] - d20;
+ i27 = i4 + 24 | 0;
+ d20 = +HEAPF32[i27 >> 2] - d23;
+ d23 = d21 * d20 - d24 * d16;
+ d28 = d24 * d25 - d17 * d20;
+ d20 = d17 * d16 - d21 * d25;
+ i4 = i7 | 0;
+ HEAPF32[i4 >> 2] = d23;
+ i29 = i7 + 4 | 0;
+ HEAPF32[i29 >> 2] = d28;
+ i30 = i7 + 8 | 0;
+ HEAPF32[i30 >> 2] = d20;
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ d25 = +Math_sqrt(+(d20 * d20 + (d23 * d23 + d28 * d28)));
+ i31 = d25 > 9999999747378752.0e-20;
+ d21 = +HEAPF32[i15 >> 2];
+ d16 = +HEAPF32[i14 >> 2];
+ d17 = d21 - d16;
+ d24 = +HEAPF32[i19 >> 2];
+ d32 = +HEAPF32[i18 >> 2];
+ d33 = d24 - d32;
+ d34 = +HEAPF32[i3 >> 2];
+ d35 = +HEAPF32[i22 >> 2];
+ d36 = d34 - d35;
+ d37 = d34 * (d23 * d33 - d28 * d17) + (d21 * (d28 * d36 - d20 * d33) + d24 * (d20 * d17 - d23 * d36));
+ d36 = +HEAPF32[i2 >> 2];
+ d17 = d16 - d36;
+ d33 = +HEAPF32[i26 >> 2];
+ d38 = d32 - d33;
+ d39 = +HEAPF32[i27 >> 2];
+ d40 = d35 - d39;
+ d41 = d35 * (d23 * d38 - d28 * d17) + (d16 * (d28 * d40 - d20 * d38) + d32 * (d20 * d17 - d23 * d40));
+ d40 = d36 - d21;
+ d21 = d33 - d24;
+ d24 = d39 - d34;
+ d34 = d39 * (d23 * d21 - d28 * d40) + (d36 * (d28 * d24 - d20 * d21) + d33 * (d20 * d40 - d23 * d24));
+ d24 = d37 < d41 ? d37 : d41;
+ d41 = (d24 < d34 ? d24 : d34) / (i31 ? d25 : 1.0);
+ HEAPF32[i7 + 20 >> 2] = d41 < -.009999999776482582 ? d41 : 0.0;
+ do {
+ if (i31) {
+ d41 = (d23 * +HEAPF32[i15 >> 2] + d28 * +HEAPF32[i19 >> 2] + d20 * +HEAPF32[i3 >> 2]) / d25;
+ HEAPF32[i7 + 16 >> 2] = d41;
+ d34 = 1.0 / d25;
+ HEAPF32[i4 >> 2] = d23 * d34;
+ HEAPF32[i29 >> 2] = d28 * d34;
+ HEAPF32[i30 >> 2] = d20 * d34;
+ if (d41 < -9999999747378752.0e-21 & (i5 ^ 1)) {
+ HEAP32[i1 >> 2] = 3;
+ break;
+ } else {
+ i8 = i7;
+ return i8 | 0;
+ }
+ } else {
+ HEAP32[i1 >> 2] = 2;
+ }
+ } while (0);
+ i1 = HEAP32[i9 >> 2] | 0;
+ if ((i1 | 0) != 0) {
+ HEAP32[i1 + 48 >> 2] = HEAP32[i11 >> 2];
+ }
+ i1 = HEAP32[i11 >> 2] | 0;
+ if ((i1 | 0) != 0) {
+ HEAP32[i1 + 52 >> 2] = HEAP32[i9 >> 2];
+ }
+ if ((HEAP32[i12 >> 2] | 0) == (i7 | 0)) {
+ HEAP32[i12 >> 2] = HEAP32[i9 >> 2];
+ }
+ HEAP32[i13 >> 2] = (HEAP32[i13 >> 2] | 0) - 1;
+ HEAP32[i11 >> 2] = 0;
+ HEAP32[i9 >> 2] = HEAP32[i6 >> 2];
+ i9 = HEAP32[i6 >> 2] | 0;
+ if ((i9 | 0) != 0) {
+ HEAP32[i9 + 48 >> 2] = i7;
+ }
+ HEAP32[i6 >> 2] = i7;
+ HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) + 1;
+ i8 = 0;
+ return i8 | 0;
+}
+function __ZNK21btConvexInternalShape11getAabbSlowERK11btTransformR9btVector3S4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, d50 = 0.0, d51 = 0.0, d52 = 0.0, d53 = 0.0, d54 = 0.0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 96 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 16 | 0;
+ i8 = i5 + 32 | 0;
+ i9 = i5 + 48 | 0;
+ i10 = i5 + 64 | 0;
+ i11 = i5 + 80 | 0;
+ d12 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i1 >> 2] | 0) + 44 >> 2] & 7](i1);
+ i13 = i6 | 0;
+ i14 = i6 + 4 | 0;
+ i15 = i6 + 8 | 0;
+ i16 = i1;
+ i17 = i2 | 0;
+ i18 = i2 + 16 | 0;
+ i19 = i2 + 32 | 0;
+ i20 = i2 + 4 | 0;
+ i21 = i2 + 20 | 0;
+ i22 = i2 + 36 | 0;
+ i23 = i2 + 8 | 0;
+ i24 = i2 + 24 | 0;
+ i25 = i2 + 40 | 0;
+ i26 = i8 | 0;
+ i27 = i8 + 4 | 0;
+ i28 = i8 + 8 | 0;
+ i29 = i8 + 12 | 0;
+ i30 = i7 | 0;
+ i31 = i7 + 4 | 0;
+ i32 = i7 + 8 | 0;
+ i33 = i2 + 48 | 0;
+ i34 = i2 + 52 | 0;
+ i35 = i2 + 56 | 0;
+ i2 = i9 | 0;
+ i36 = i9 + 4 | 0;
+ i37 = i9 + 8 | 0;
+ i38 = i9 + 12 | 0;
+ i39 = i11 | 0;
+ i40 = i11 + 4 | 0;
+ i41 = i11 + 8 | 0;
+ i42 = i11 + 12 | 0;
+ i43 = i10 | 0;
+ i44 = i10 + 4 | 0;
+ i45 = i10 + 8 | 0;
+ i46 = i6;
+ i47 = 0;
+ do {
+ i48 = i6 + (i47 << 2) | 0;
+ _memset(i46 | 0, 0, 16);
+ HEAPF32[i48 >> 2] = 1.0;
+ i49 = HEAP32[(HEAP32[i16 >> 2] | 0) + 60 >> 2] | 0;
+ d50 = +HEAPF32[i13 >> 2];
+ d51 = +HEAPF32[i14 >> 2];
+ d52 = +HEAPF32[i15 >> 2];
+ d53 = d50 * +HEAPF32[i20 >> 2] + d51 * +HEAPF32[i21 >> 2] + d52 * +HEAPF32[i22 >> 2];
+ d54 = d50 * +HEAPF32[i23 >> 2] + d51 * +HEAPF32[i24 >> 2] + d52 * +HEAPF32[i25 >> 2];
+ HEAPF32[i26 >> 2] = +HEAPF32[i17 >> 2] * d50 + +HEAPF32[i18 >> 2] * d51 + +HEAPF32[i19 >> 2] * d52;
+ HEAPF32[i27 >> 2] = d53;
+ HEAPF32[i28 >> 2] = d54;
+ HEAPF32[i29 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i49 & 127](i7, i1, i8);
+ d54 = +HEAPF32[i30 >> 2];
+ d53 = +HEAPF32[i31 >> 2];
+ d52 = +HEAPF32[i32 >> 2];
+ d51 = +HEAPF32[i34 >> 2] + (d54 * +HEAPF32[i18 >> 2] + d53 * +HEAPF32[i21 >> 2] + d52 * +HEAPF32[i24 >> 2]);
+ d50 = +HEAPF32[i35 >> 2] + (d54 * +HEAPF32[i19 >> 2] + d53 * +HEAPF32[i22 >> 2] + d52 * +HEAPF32[i25 >> 2]);
+ HEAPF32[i2 >> 2] = +HEAPF32[i33 >> 2] + (+HEAPF32[i17 >> 2] * d54 + +HEAPF32[i20 >> 2] * d53 + +HEAPF32[i23 >> 2] * d52);
+ HEAPF32[i36 >> 2] = d51;
+ HEAPF32[i37 >> 2] = d50;
+ HEAPF32[i38 >> 2] = 0.0;
+ i49 = i9 + (i47 << 2) | 0;
+ HEAPF32[i4 + (i47 << 2) >> 2] = d12 + +HEAPF32[i49 >> 2];
+ HEAPF32[i48 >> 2] = -1.0;
+ i48 = HEAP32[(HEAP32[i16 >> 2] | 0) + 60 >> 2] | 0;
+ d50 = +HEAPF32[i13 >> 2];
+ d51 = +HEAPF32[i14 >> 2];
+ d52 = +HEAPF32[i15 >> 2];
+ d53 = d50 * +HEAPF32[i20 >> 2] + d51 * +HEAPF32[i21 >> 2] + d52 * +HEAPF32[i22 >> 2];
+ d54 = d50 * +HEAPF32[i23 >> 2] + d51 * +HEAPF32[i24 >> 2] + d52 * +HEAPF32[i25 >> 2];
+ HEAPF32[i39 >> 2] = +HEAPF32[i17 >> 2] * d50 + +HEAPF32[i18 >> 2] * d51 + +HEAPF32[i19 >> 2] * d52;
+ HEAPF32[i40 >> 2] = d53;
+ HEAPF32[i41 >> 2] = d54;
+ HEAPF32[i42 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i48 & 127](i10, i1, i11);
+ d54 = +HEAPF32[i43 >> 2];
+ d53 = +HEAPF32[i44 >> 2];
+ d52 = +HEAPF32[i45 >> 2];
+ d51 = +HEAPF32[i34 >> 2] + (d54 * +HEAPF32[i18 >> 2] + d53 * +HEAPF32[i21 >> 2] + d52 * +HEAPF32[i24 >> 2]);
+ d50 = +HEAPF32[i35 >> 2] + (d54 * +HEAPF32[i19 >> 2] + d53 * +HEAPF32[i22 >> 2] + d52 * +HEAPF32[i25 >> 2]);
+ HEAPF32[i2 >> 2] = +HEAPF32[i33 >> 2] + (+HEAPF32[i17 >> 2] * d54 + +HEAPF32[i20 >> 2] * d53 + +HEAPF32[i23 >> 2] * d52);
+ HEAPF32[i36 >> 2] = d51;
+ HEAPF32[i37 >> 2] = d50;
+ HEAPF32[i38 >> 2] = 0.0;
+ HEAPF32[i3 + (i47 << 2) >> 2] = +HEAPF32[i49 >> 2] - d12;
+ i47 = i47 + 1 | 0;
+ } while ((i47 | 0) < 3);
+ STACKTOP = i5;
+ return;
+}
+function __ZN28btHashedOverlappingPairCache21removeOverlappingPairEP17btBroadphaseProxyS1_P12btDispatcher(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0;
+ HEAP32[2984] = (HEAP32[2984] | 0) + 1;
+ i5 = (HEAP32[i2 + 12 >> 2] | 0) > (HEAP32[i3 + 12 >> 2] | 0);
+ i6 = i5 ? i3 : i2;
+ i7 = i5 ? i2 : i3;
+ i3 = HEAP32[i6 + 12 >> 2] | 0;
+ i2 = HEAP32[i7 + 12 >> 2] | 0;
+ i5 = i2 << 16 | i3;
+ i8 = i5 + ~(i5 << 15) | 0;
+ i5 = (i8 >> 10 ^ i8) * 9 | 0;
+ i8 = i5 >> 6 ^ i5;
+ i5 = i8 + ~(i8 << 11) | 0;
+ i8 = i1 + 12 | 0;
+ i9 = (i5 >> 16 ^ i5) & (HEAP32[i8 >> 2] | 0) - 1;
+ i5 = i1 + 44 | 0;
+ i10 = HEAP32[(HEAP32[i5 >> 2] | 0) + (i9 << 2) >> 2] | 0;
+ if ((i10 | 0) == -1) {
+ i11 = 0;
+ return i11 | 0;
+ }
+ i12 = i1 + 16 | 0;
+ i13 = HEAP32[i12 >> 2] | 0;
+ i14 = i1 + 64 | 0;
+ i15 = i10;
+ while (1) {
+ if ((HEAP32[(HEAP32[i13 + (i15 << 4) >> 2] | 0) + 12 >> 2] | 0) == (i3 | 0)) {
+ if ((HEAP32[(HEAP32[i13 + (i15 << 4) + 4 >> 2] | 0) + 12 >> 2] | 0) == (i2 | 0)) {
+ break;
+ }
+ }
+ i10 = HEAP32[(HEAP32[i14 >> 2] | 0) + (i15 << 2) >> 2] | 0;
+ if ((i10 | 0) == -1) {
+ i11 = 0;
+ i16 = 1623;
+ break;
+ } else {
+ i15 = i10;
+ }
+ }
+ if ((i16 | 0) == 1623) {
+ return i11 | 0;
+ }
+ i2 = i13 + (i15 << 4) | 0;
+ if ((i2 | 0) == 0) {
+ i11 = 0;
+ return i11 | 0;
+ }
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i1 >> 2] | 0) + 32 >> 2] & 127](i1, i2, i4);
+ i3 = HEAP32[i13 + (i15 << 4) + 12 >> 2] | 0;
+ i15 = i2 - (HEAP32[i12 >> 2] | 0) >> 4;
+ i2 = (HEAP32[i5 >> 2] | 0) + (i9 << 2) | 0;
+ i9 = HEAP32[i2 >> 2] | 0;
+ i13 = HEAP32[i14 >> 2] | 0;
+ do {
+ if ((i9 | 0) == (i15 | 0)) {
+ i17 = HEAP32[i13 + (i15 << 2) >> 2] | 0;
+ i16 = 1609;
+ } else {
+ i10 = i9;
+ while (1) {
+ i18 = i13 + (i10 << 2) | 0;
+ i19 = HEAP32[i18 >> 2] | 0;
+ if ((i19 | 0) == (i15 | 0)) {
+ break;
+ } else {
+ i10 = i19;
+ }
+ }
+ i19 = HEAP32[i13 + (i15 << 2) >> 2] | 0;
+ if ((i10 | 0) == -1) {
+ i17 = i19;
+ i16 = 1609;
+ break;
+ }
+ HEAP32[i18 >> 2] = i19;
+ }
+ } while (0);
+ if ((i16 | 0) == 1609) {
+ HEAP32[i2 >> 2] = i17;
+ }
+ i17 = i1 + 8 | 0;
+ i2 = (HEAP32[i17 >> 2] | 0) - 1 | 0;
+ i18 = HEAP32[i1 + 72 >> 2] | 0;
+ if ((i18 | 0) != 0) {
+ i1 = HEAP32[(HEAP32[i18 >> 2] | 0) + 12 >> 2] | 0;
+ FUNCTION_TABLE_iiiii[i1 & 31](i18, i6, i7, i4) | 0;
+ }
+ if ((i2 | 0) == (i15 | 0)) {
+ HEAP32[i17 >> 2] = (HEAP32[i17 >> 2] | 0) - 1;
+ i11 = i3;
+ return i11 | 0;
+ }
+ i4 = HEAP32[i12 >> 2] | 0;
+ i12 = HEAP32[(HEAP32[i4 + (i2 << 4) + 4 >> 2] | 0) + 12 >> 2] << 16 | HEAP32[(HEAP32[i4 + (i2 << 4) >> 2] | 0) + 12 >> 2];
+ i7 = i12 + ~(i12 << 15) | 0;
+ i12 = (i7 >> 10 ^ i7) * 9 | 0;
+ i7 = i12 >> 6 ^ i12;
+ i12 = i7 + ~(i7 << 11) | 0;
+ i7 = (i12 >> 16 ^ i12) & (HEAP32[i8 >> 2] | 0) - 1;
+ i8 = (HEAP32[i5 >> 2] | 0) + (i7 << 2) | 0;
+ i12 = HEAP32[i8 >> 2] | 0;
+ i6 = HEAP32[i14 >> 2] | 0;
+ do {
+ if ((i12 | 0) == (i2 | 0)) {
+ i20 = HEAP32[i6 + (i2 << 2) >> 2] | 0;
+ i16 = 1619;
+ } else {
+ i18 = i12;
+ while (1) {
+ i21 = i6 + (i18 << 2) | 0;
+ i1 = HEAP32[i21 >> 2] | 0;
+ if ((i1 | 0) == (i2 | 0)) {
+ break;
+ } else {
+ i18 = i1;
+ }
+ }
+ i10 = HEAP32[i6 + (i2 << 2) >> 2] | 0;
+ if ((i18 | 0) == -1) {
+ i20 = i10;
+ i16 = 1619;
+ break;
+ }
+ HEAP32[i21 >> 2] = i10;
+ }
+ } while (0);
+ if ((i16 | 0) == 1619) {
+ HEAP32[i8 >> 2] = i20;
+ }
+ i20 = i4 + (i15 << 4) | 0;
+ i8 = i4 + (i2 << 4) | 0;
+ HEAP32[i20 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i20 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i20 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i20 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i8 = (HEAP32[i5 >> 2] | 0) + (i7 << 2) | 0;
+ HEAP32[(HEAP32[i14 >> 2] | 0) + (i15 << 2) >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i8 >> 2] = i15;
+ HEAP32[i17 >> 2] = (HEAP32[i17 >> 2] | 0) - 1;
+ i11 = i3;
+ return i11 | 0;
+}
+function __Z11cullPoints2iPfiiPi(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, i11 = 0, i12 = 0, i13 = 0, d14 = 0.0, d15 = 0.0, d16 = 0.0, i17 = 0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, d33 = 0.0, d34 = 0.0, i35 = 0, d36 = 0.0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i7 = i6 | 0;
+ i8 = i6 + 32 | 0;
+ if ((i1 | 0) == 1) {
+ d9 = +HEAPF32[i2 >> 2];
+ d10 = +HEAPF32[i2 + 4 >> 2];
+ i11 = 825;
+ } else if ((i1 | 0) == 2) {
+ d9 = (+HEAPF32[i2 >> 2] + +HEAPF32[i2 + 8 >> 2]) * .5;
+ d10 = (+HEAPF32[i2 + 4 >> 2] + +HEAPF32[i2 + 12 >> 2]) * .5;
+ i11 = 825;
+ } else {
+ i12 = i1 - 1 | 0;
+ if ((i12 | 0) > 0) {
+ i13 = 0;
+ d14 = 0.0;
+ d15 = 0.0;
+ d16 = 0.0;
+ while (1) {
+ i17 = i13 << 1;
+ d18 = +HEAPF32[i2 + (i17 << 2) >> 2];
+ d19 = +HEAPF32[i2 + (i17 + 3 << 2) >> 2];
+ d20 = +HEAPF32[i2 + (i17 + 2 << 2) >> 2];
+ d21 = +HEAPF32[i2 + ((i17 | 1) << 2) >> 2];
+ d22 = d18 * d19 - d20 * d21;
+ d23 = d14 + d22;
+ d24 = d15 + (d18 + d20) * d22;
+ d20 = d16 + (d19 + d21) * d22;
+ i17 = i13 + 1 | 0;
+ if ((i17 | 0) < (i12 | 0)) {
+ i13 = i17;
+ d14 = d23;
+ d15 = d24;
+ d16 = d20;
+ } else {
+ d25 = d23;
+ d26 = d24;
+ d27 = d20;
+ break;
+ }
+ }
+ } else {
+ d25 = 0.0;
+ d26 = 0.0;
+ d27 = 0.0;
+ }
+ i13 = i1 << 1;
+ d16 = +HEAPF32[i2 + (i13 - 2 << 2) >> 2];
+ d15 = +HEAPF32[i2 + 4 >> 2];
+ d14 = +HEAPF32[i2 >> 2];
+ d20 = +HEAPF32[i2 + (i13 - 1 << 2) >> 2];
+ d24 = d16 * d15 - d14 * d20;
+ d23 = d25 + d24;
+ if (+Math_abs(+d23) > 1.1920928955078125e-7) {
+ d28 = 1.0 / (d23 * 3.0);
+ } else {
+ d28 = 999999984306749400.0;
+ }
+ if ((i1 | 0) > 0) {
+ d9 = (d26 + (d16 + d14) * d24) * d28;
+ d10 = (d27 + (d15 + d20) * d24) * d28;
+ i11 = 825;
+ } else {
+ i29 = 0;
+ }
+ }
+ if ((i11 | 0) == 825) {
+ i11 = 0;
+ while (1) {
+ i13 = i11 << 1;
+ HEAPF32[i7 + (i11 << 2) >> 2] = +Math_atan2(+(+HEAPF32[i2 + ((i13 | 1) << 2) >> 2] - d10), +(+HEAPF32[i2 + (i13 << 2) >> 2] - d9));
+ i13 = i11 + 1 | 0;
+ if ((i13 | 0) < (i1 | 0)) {
+ i11 = i13;
+ } else {
+ i30 = 0;
+ break;
+ }
+ }
+ while (1) {
+ HEAP32[i8 + (i30 << 2) >> 2] = 1;
+ i11 = i30 + 1 | 0;
+ if ((i11 | 0) < (i1 | 0)) {
+ i30 = i11;
+ } else {
+ i29 = 1;
+ break;
+ }
+ }
+ }
+ i30 = i8 + (i4 << 2) | 0;
+ HEAP32[i30 >> 2] = 0;
+ HEAP32[i5 >> 2] = i4;
+ if ((i3 | 0) <= 1) {
+ STACKTOP = i6;
+ return;
+ }
+ d9 = 6.2831854820251465 / +(i3 | 0);
+ d10 = +HEAPF32[i7 + (i4 << 2) >> 2];
+ if (i29) {
+ i31 = 1;
+ i32 = i5;
+ } else {
+ i29 = 1;
+ i11 = i5;
+ do {
+ i11 = i11 + 4 | 0;
+ HEAP32[i11 >> 2] = i4;
+ HEAP32[i30 >> 2] = 0;
+ i29 = i29 + 1 | 0;
+ } while ((i29 | 0) < (i3 | 0));
+ STACKTOP = i6;
+ return;
+ }
+ do {
+ i32 = i32 + 4 | 0;
+ d28 = d10 + d9 * +(i31 | 0);
+ if (d28 > 3.1415927410125732) {
+ d33 = d28 - 6.2831854820251465;
+ } else {
+ d33 = d28;
+ }
+ HEAP32[i32 >> 2] = i4;
+ i29 = 0;
+ d28 = 1.0e9;
+ i30 = i4;
+ while (1) {
+ do {
+ if ((HEAP32[i8 + (i29 << 2) >> 2] | 0) == 0) {
+ d34 = d28;
+ i35 = i30;
+ } else {
+ d24 = +Math_abs(+(+HEAPF32[i7 + (i29 << 2) >> 2] - d33));
+ if (d24 > 3.1415927410125732) {
+ d36 = 6.2831854820251465 - d24;
+ } else {
+ d36 = d24;
+ }
+ if (d36 >= d28) {
+ d34 = d28;
+ i35 = i30;
+ break;
+ }
+ HEAP32[i32 >> 2] = i29;
+ d34 = d36;
+ i35 = i29;
+ }
+ } while (0);
+ i11 = i29 + 1 | 0;
+ if ((i11 | 0) < (i1 | 0)) {
+ i29 = i11;
+ d28 = d34;
+ i30 = i35;
+ } else {
+ break;
+ }
+ }
+ HEAP32[i8 + (i35 << 2) >> 2] = 0;
+ i31 = i31 + 1 | 0;
+ } while ((i31 | 0) < (i3 | 0));
+ STACKTOP = i6;
+ return;
+}
+function __ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0;
+ if ((i2 | 0) == 0) {
+ return;
+ }
+ d5 = +HEAPF32[i3 >> 2];
+ d6 = +HEAPF32[i3 + 4 >> 2];
+ d7 = +HEAPF32[i3 + 8 >> 2];
+ d8 = +HEAPF32[i3 + 16 >> 2];
+ d9 = +HEAPF32[i3 + 20 >> 2];
+ d10 = +HEAPF32[i3 + 24 >> 2];
+ i3 = __Z22btAlignedAllocInternalji(256, 16) | 0;
+ i1 = i3;
+ if ((i3 | 0) != 0) {
+ HEAP32[i1 >> 2] = i2;
+ }
+ i2 = i4;
+ i3 = 1;
+ i11 = 64;
+ i12 = i1;
+ while (1) {
+ i1 = i3 - 1 | 0;
+ i13 = HEAP32[i12 + (i1 << 2) >> 2] | 0;
+ do {
+ if (+HEAPF32[i13 >> 2] > d8) {
+ i14 = i1;
+ i15 = i11;
+ i16 = i12;
+ } else {
+ if (+HEAPF32[i13 + 16 >> 2] < d5) {
+ i14 = i1;
+ i15 = i11;
+ i16 = i12;
+ break;
+ }
+ if (+HEAPF32[i13 + 4 >> 2] > d9) {
+ i14 = i1;
+ i15 = i11;
+ i16 = i12;
+ break;
+ }
+ if (+HEAPF32[i13 + 20 >> 2] < d6) {
+ i14 = i1;
+ i15 = i11;
+ i16 = i12;
+ break;
+ }
+ if (+HEAPF32[i13 + 8 >> 2] > d10) {
+ i14 = i1;
+ i15 = i11;
+ i16 = i12;
+ break;
+ }
+ if (+HEAPF32[i13 + 24 >> 2] < d7) {
+ i14 = i1;
+ i15 = i11;
+ i16 = i12;
+ break;
+ }
+ i17 = i13 + 40 | 0;
+ if ((HEAP32[i17 >> 2] | 0) == 0) {
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 12 >> 2] & 127](i4, i13);
+ i14 = i1;
+ i15 = i11;
+ i16 = i12;
+ break;
+ }
+ i18 = HEAP32[i13 + 36 >> 2] | 0;
+ do {
+ if ((i1 | 0) == (i11 | 0)) {
+ i19 = (i11 | 0) == 0 ? 1 : i11 << 1;
+ if ((i11 | 0) >= (i19 | 0)) {
+ i20 = i11;
+ i21 = i12;
+ break;
+ }
+ if ((i19 | 0) == 0) {
+ i22 = 0;
+ } else {
+ i22 = __Z22btAlignedAllocInternalji(i19 << 2, 16) | 0;
+ }
+ if ((i11 | 0) > 0) {
+ i23 = 0;
+ do {
+ i24 = i22 + (i23 << 2) | 0;
+ if ((i24 | 0) != 0) {
+ HEAP32[i24 >> 2] = HEAP32[i12 + (i23 << 2) >> 2];
+ }
+ i23 = i23 + 1 | 0;
+ } while ((i23 | 0) < (i11 | 0));
+ }
+ if ((i12 | 0) == 0) {
+ i20 = i19;
+ i21 = i22;
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i12);
+ i20 = i19;
+ i21 = i22;
+ } else {
+ i20 = i11;
+ i21 = i12;
+ }
+ } while (0);
+ i23 = i21 + (i1 << 2) | 0;
+ if ((i23 | 0) != 0) {
+ HEAP32[i23 >> 2] = i18;
+ }
+ i23 = HEAP32[i17 >> 2] | 0;
+ do {
+ if ((i3 | 0) == (i20 | 0)) {
+ i24 = (i3 | 0) == 0 ? 1 : i3 << 1;
+ if ((i3 | 0) >= (i24 | 0)) {
+ i25 = i3;
+ i26 = i21;
+ break;
+ }
+ if ((i24 | 0) == 0) {
+ i27 = 0;
+ } else {
+ i27 = __Z22btAlignedAllocInternalji(i24 << 2, 16) | 0;
+ }
+ if ((i3 | 0) > 0) {
+ i28 = 0;
+ do {
+ i29 = i27 + (i28 << 2) | 0;
+ if ((i29 | 0) != 0) {
+ HEAP32[i29 >> 2] = HEAP32[i21 + (i28 << 2) >> 2];
+ }
+ i28 = i28 + 1 | 0;
+ } while ((i28 | 0) < (i3 | 0));
+ }
+ if ((i21 | 0) == 0) {
+ i25 = i24;
+ i26 = i27;
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i21);
+ i25 = i24;
+ i26 = i27;
+ } else {
+ i25 = i20;
+ i26 = i21;
+ }
+ } while (0);
+ i17 = i26 + (i3 << 2) | 0;
+ if ((i17 | 0) != 0) {
+ HEAP32[i17 >> 2] = i23;
+ }
+ i14 = i3 + 1 | 0;
+ i15 = i25;
+ i16 = i26;
+ }
+ } while (0);
+ if ((i14 | 0) > 0) {
+ i3 = i14;
+ i11 = i15;
+ i12 = i16;
+ } else {
+ break;
+ }
+ }
+ if ((i16 | 0) == 0) {
+ return;
+ }
+ __Z21btAlignedFreeInternalPv(i16);
+ return;
+}
+function __ZNK20btConvexHullInternal11Rational1287compareERKS0_(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 128 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 16 | 0;
+ i6 = i3 + 32 | 0;
+ i7 = i3 + 48 | 0;
+ i8 = i3 + 64 | 0;
+ i9 = i3 + 80 | 0;
+ i10 = i3 + 96 | 0;
+ i11 = i3 + 112 | 0;
+ i12 = i1 + 32 | 0;
+ i13 = HEAP32[i12 >> 2] | 0;
+ i14 = HEAP32[i2 + 32 >> 2] | 0;
+ if ((i13 | 0) != (i14 | 0)) {
+ i15 = i13 - i14 | 0;
+ STACKTOP = i3;
+ return i15 | 0;
+ }
+ if ((i13 | 0) == 0) {
+ i15 = 0;
+ STACKTOP = i3;
+ return i15 | 0;
+ }
+ if ((HEAP8[i1 + 36 | 0] | 0) != 0) {
+ i14 = i1 | 0;
+ i16 = ___muldi3(HEAP32[i14 >> 2] | 0, HEAP32[i14 + 4 >> 2] | 0, i13, (i13 | 0) < 0 ? -1 : 0) | 0;
+ i15 = -(__ZNK20btConvexHullInternal11Rational1287compareEx(i2, i16, tempRet0) | 0) | 0;
+ STACKTOP = i3;
+ return i15 | 0;
+ }
+ i16 = i8;
+ i13 = i1;
+ HEAP32[i16 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i16 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i16 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i16 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i9;
+ i16 = i2 + 16 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i16 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i16 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i16 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i16 + 12 >> 2];
+ __ZN20btConvexHullInternal4DMulINS_6Int128EyE3mulES1_S1_RS1_S3_(i8, i9, i4, i5);
+ i9 = i10;
+ i8 = i1 + 16 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i8 = i11;
+ i9 = i2;
+ HEAP32[i8 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ __ZN20btConvexHullInternal4DMulINS_6Int128EyE3mulES1_S1_RS1_S3_(i10, i11, i6, i7);
+ i11 = i5 + 8 | 0;
+ i10 = HEAP32[i11 >> 2] | 0;
+ i9 = HEAP32[i11 + 4 >> 2] | 0;
+ i11 = i7 + 8 | 0;
+ i8 = HEAP32[i11 >> 2] | 0;
+ i2 = HEAP32[i11 + 4 >> 2] | 0;
+ do {
+ if (i9 >>> 0 < i2 >>> 0 | i9 >>> 0 == i2 >>> 0 & i10 >>> 0 < i8 >>> 0) {
+ i17 = -1;
+ } else {
+ if (i9 >>> 0 > i2 >>> 0 | i9 >>> 0 == i2 >>> 0 & i10 >>> 0 > i8 >>> 0) {
+ i17 = 1;
+ break;
+ }
+ i11 = i5 | 0;
+ i1 = HEAP32[i11 >> 2] | 0;
+ i16 = HEAP32[i11 + 4 >> 2] | 0;
+ i11 = i7 | 0;
+ i13 = HEAP32[i11 >> 2] | 0;
+ i14 = HEAP32[i11 + 4 >> 2] | 0;
+ if (i16 >>> 0 < i14 >>> 0 | i16 >>> 0 == i14 >>> 0 & i1 >>> 0 < i13 >>> 0) {
+ i17 = -1;
+ break;
+ }
+ i11 = i16 >>> 0 > i14 >>> 0 | i16 >>> 0 == i14 >>> 0 & i1 >>> 0 > i13 >>> 0;
+ if (i11) {
+ i17 = i11 & 1;
+ break;
+ }
+ i11 = i4 + 8 | 0;
+ i13 = HEAP32[i11 >> 2] | 0;
+ i1 = HEAP32[i11 + 4 >> 2] | 0;
+ i11 = i6 + 8 | 0;
+ i14 = HEAP32[i11 >> 2] | 0;
+ i16 = HEAP32[i11 + 4 >> 2] | 0;
+ do {
+ if (i1 >>> 0 < i16 >>> 0 | i1 >>> 0 == i16 >>> 0 & i13 >>> 0 < i14 >>> 0) {
+ i18 = -1;
+ } else {
+ if (i1 >>> 0 > i16 >>> 0 | i1 >>> 0 == i16 >>> 0 & i13 >>> 0 > i14 >>> 0) {
+ i18 = 1;
+ break;
+ }
+ i11 = i4 | 0;
+ i19 = HEAP32[i11 >> 2] | 0;
+ i20 = HEAP32[i11 + 4 >> 2] | 0;
+ i11 = i6 | 0;
+ i21 = HEAP32[i11 >> 2] | 0;
+ i22 = HEAP32[i11 + 4 >> 2] | 0;
+ if (i20 >>> 0 < i22 >>> 0 | i20 >>> 0 == i22 >>> 0 & i19 >>> 0 < i21 >>> 0) {
+ i18 = -1;
+ break;
+ }
+ i18 = (i20 >>> 0 > i22 >>> 0 | i20 >>> 0 == i22 >>> 0 & i19 >>> 0 > i21 >>> 0) & 1;
+ }
+ } while (0);
+ i15 = Math_imul(HEAP32[i12 >> 2] | 0, i18) | 0;
+ STACKTOP = i3;
+ return i15 | 0;
+ }
+ } while (0);
+ i15 = Math_imul(HEAP32[i12 >> 2] | 0, i17) | 0;
+ STACKTOP = i3;
+ return i15 | 0;
+}
+function __ZN23btConvexConvexAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, d14 = 0.0, d15 = 0.0, d16 = 0.0, i17 = 0, i18 = 0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, i25 = 0, i26 = 0, i27 = 0, d28 = 0.0, d29 = 0.0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 1216 | 0;
+ i4 = i5 | 0;
+ i1 = i5 + 56 | 0;
+ i6 = i5 + 232 | 0;
+ i7 = i5 + 592 | 0;
+ i8 = i5 + 608 | 0;
+ i9 = i5 + 664 | 0;
+ i10 = i5 + 840 | 0;
+ i11 = i5 + 1200 | 0;
+ i12 = i2 + 68 | 0;
+ i13 = i2 + 4 | 0;
+ d14 = +HEAPF32[i2 + 116 >> 2] - +HEAPF32[i2 + 52 >> 2];
+ d15 = +HEAPF32[i2 + 120 >> 2] - +HEAPF32[i2 + 56 >> 2];
+ d16 = +HEAPF32[i2 + 124 >> 2] - +HEAPF32[i2 + 60 >> 2];
+ i17 = i3 + 68 | 0;
+ i18 = i3 + 4 | 0;
+ d19 = +HEAPF32[i3 + 116 >> 2] - +HEAPF32[i3 + 52 >> 2];
+ d20 = +HEAPF32[i3 + 120 >> 2] - +HEAPF32[i3 + 56 >> 2];
+ d21 = +HEAPF32[i3 + 124 >> 2] - +HEAPF32[i3 + 60 >> 2];
+ d22 = +HEAPF32[i2 + 248 >> 2];
+ do {
+ if (d14 * d14 + d15 * d15 + d16 * d16 < d22 * d22) {
+ d23 = +HEAPF32[i3 + 248 >> 2];
+ if (d19 * d19 + d20 * d20 + d21 * d21 >= d23 * d23 & (HEAP8[12056] | 0) == 0) {
+ break;
+ } else {
+ d24 = 1.0;
+ }
+ STACKTOP = i5;
+ return +d24;
+ } else {
+ if ((HEAP8[12056] | 0) == 0) {
+ break;
+ } else {
+ d24 = 1.0;
+ }
+ STACKTOP = i5;
+ return +d24;
+ }
+ } while (0);
+ i25 = HEAP32[i2 + 192 >> 2] | 0;
+ d21 = +HEAPF32[i3 + 244 >> 2];
+ __ZN21btConvexInternalShapeC2Ev(i4 | 0);
+ HEAP32[i4 >> 2] = 4728;
+ HEAP32[i4 + 4 >> 2] = 8;
+ HEAPF32[i4 + 28 >> 2] = d21;
+ HEAPF32[i4 + 44 >> 2] = d21;
+ HEAP32[i1 >> 2] = 2280;
+ i26 = i1 + 164 | 0;
+ HEAPF32[i26 >> 2] = 999999984306749400.0;
+ HEAP32[i1 + 168 >> 2] = 0;
+ HEAPF32[i1 + 172 >> 2] = 0.0;
+ HEAPF32[i6 + 308 >> 2] = 9999999747378752.0e-20;
+ HEAP16[i6 + 332 >> 1] = 0;
+ i27 = i4 | 0;
+ __ZN15btGjkConvexCastC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolver(i7, i25, i27, i6);
+ do {
+ if (__ZN15btGjkConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(i7, i13, i12, i18, i17, i1) | 0) {
+ i6 = i2 + 240 | 0;
+ d21 = +HEAPF32[i26 >> 2];
+ if (+HEAPF32[i6 >> 2] > d21) {
+ HEAPF32[i6 >> 2] = d21;
+ }
+ i6 = i3 + 240 | 0;
+ if (+HEAPF32[i6 >> 2] > d21) {
+ HEAPF32[i6 >> 2] = d21;
+ }
+ if (d21 >= 1.0) {
+ d28 = 1.0;
+ break;
+ }
+ d28 = d21;
+ } else {
+ d28 = 1.0;
+ }
+ } while (0);
+ __ZN12btConvexCastD2Ev(i7 | 0);
+ __ZN13btConvexShapeD2Ev(i27);
+ i27 = HEAP32[i3 + 192 >> 2] | 0;
+ d21 = +HEAPF32[i2 + 244 >> 2];
+ __ZN21btConvexInternalShapeC2Ev(i8 | 0);
+ HEAP32[i8 >> 2] = 4728;
+ HEAP32[i8 + 4 >> 2] = 8;
+ HEAPF32[i8 + 28 >> 2] = d21;
+ HEAPF32[i8 + 44 >> 2] = d21;
+ HEAP32[i9 >> 2] = 2280;
+ i7 = i9 + 164 | 0;
+ HEAPF32[i7 >> 2] = 999999984306749400.0;
+ HEAP32[i9 + 168 >> 2] = 0;
+ HEAPF32[i9 + 172 >> 2] = 0.0;
+ HEAPF32[i10 + 308 >> 2] = 9999999747378752.0e-20;
+ HEAP16[i10 + 332 >> 1] = 0;
+ i26 = i8 | 0;
+ __ZN15btGjkConvexCastC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolver(i11, i26, i27, i10);
+ do {
+ if (__ZN15btGjkConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(i11, i13, i12, i18, i17, i9) | 0) {
+ i10 = i2 + 240 | 0;
+ d21 = +HEAPF32[i7 >> 2];
+ if (+HEAPF32[i10 >> 2] > d21) {
+ HEAPF32[i10 >> 2] = d21;
+ }
+ i10 = i3 + 240 | 0;
+ if (+HEAPF32[i10 >> 2] > d21) {
+ HEAPF32[i10 >> 2] = d21;
+ }
+ if (d28 <= d21) {
+ d29 = d28;
+ break;
+ }
+ d29 = d21;
+ } else {
+ d29 = d28;
+ }
+ } while (0);
+ __ZN12btConvexCastD2Ev(i11 | 0);
+ __ZN13btConvexShapeD2Ev(i26);
+ d24 = d29;
+ STACKTOP = i5;
+ return +d24;
+}
+function __ZNK20btConvexHullInternal11Rational1287compareEx(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0;
+ if ((HEAP8[i1 + 36 | 0] | 0) != 0) {
+ i4 = HEAP32[i1 + 32 >> 2] | 0;
+ i5 = i1 | 0;
+ i6 = ___muldi3(i4, (i4 | 0) < 0 ? -1 : 0, HEAP32[i5 >> 2] | 0, HEAP32[i5 + 4 >> 2] | 0) | 0;
+ i5 = tempRet0;
+ if ((i5 | 0) > (i3 | 0) | (i5 | 0) == (i3 | 0) & i6 >>> 0 > i2 >>> 0) {
+ i7 = 1;
+ return i7 | 0;
+ }
+ i7 = ((i5 | 0) < (i3 | 0) | (i5 | 0) == (i3 | 0) & i6 >>> 0 < i2 >>> 0) << 31 >> 31;
+ return i7 | 0;
+ }
+ i6 = 0;
+ do {
+ if ((i3 | 0) > (i6 | 0) | (i3 | 0) == (i6 | 0) & i2 >>> 0 > 0 >>> 0) {
+ i5 = HEAP32[i1 + 32 >> 2] | 0;
+ if ((i5 | 0) < 1) {
+ i7 = -1;
+ } else {
+ i8 = i3;
+ i9 = i2;
+ i10 = i5;
+ break;
+ }
+ return i7 | 0;
+ } else {
+ i5 = 0;
+ i4 = HEAP32[i1 + 32 >> 2] | 0;
+ if (!((i3 | 0) < (i5 | 0) | (i3 | 0) == (i5 | 0) & i2 >>> 0 < 0 >>> 0)) {
+ i7 = i4;
+ return i7 | 0;
+ }
+ if ((i4 | 0) > -1) {
+ i7 = 1;
+ return i7 | 0;
+ } else {
+ i5 = _i64Subtract(0, 0, i2, i3) | 0;
+ i8 = tempRet0;
+ i9 = i5;
+ i10 = i4;
+ break;
+ }
+ }
+ } while (0);
+ i3 = i1 + 24 | 0;
+ i2 = HEAP32[i3 >> 2] | 0;
+ i6 = HEAP32[i3 + 4 >> 2] | 0;
+ i3 = 0;
+ i4 = (i6 | 0) < (i3 | 0) | (i6 | 0) == (i3 | 0) & i2 >>> 0 < 0 >>> 0;
+ i3 = i1 + 16 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i11 = HEAP32[i3 + 4 >> 2] | 0;
+ if (i4) {
+ i3 = _i64Subtract(0, 0, i5, i11) | 0;
+ i12 = tempRet0;
+ i13 = _i64Add((i5 | 0) == 0 & (i11 | 0) == 0 & 1, 0, ~i2, ~i6) | 0;
+ i14 = i12;
+ i15 = i3;
+ i16 = tempRet0;
+ i17 = i13;
+ } else {
+ i14 = i11;
+ i15 = i5;
+ i16 = i6;
+ i17 = i2;
+ }
+ i2 = 0;
+ if ((i8 | 0) < (i2 | 0) | (i8 | 0) == (i2 | 0) & i9 >>> 0 < 0 >>> 0) {
+ i2 = _i64Subtract(0, 0, i9, i8) | 0;
+ i18 = i4 ^ 1;
+ i19 = tempRet0;
+ i20 = i2;
+ } else {
+ i18 = i4;
+ i19 = i8;
+ i20 = i9;
+ }
+ i9 = i15 | 0;
+ i15 = i14 & 0;
+ i8 = i20 | 0;
+ i4 = i19 & 0;
+ i2 = ___muldi3(i8, i4, i9, i15) | 0;
+ i6 = tempRet0;
+ i5 = i19;
+ i11 = 0;
+ i13 = ___muldi3(i5, i11, i9, i15) | 0;
+ i15 = tempRet0;
+ i9 = i14;
+ i14 = 0;
+ i3 = ___muldi3(i8, i4, i9, i14) | 0;
+ i4 = tempRet0;
+ i8 = ___muldi3(i5, i11, i9, i14) | 0;
+ i14 = tempRet0;
+ i9 = _i64Add(i13 | 0, i15 & 0, i3 | 0, i4 & 0) | 0;
+ i3 = tempRet0;
+ i13 = _llvm_uadd_with_overflow_i64(i2 | 0, i6 | 0, 0, i9 | 0) | 0;
+ i9 = i13;
+ i13 = tempRet0;
+ i6 = tempRet1 & 1;
+ i2 = ___muldi3(i20, i19, i17, i16) | 0;
+ i16 = _i64Add(i8, i14, i2, tempRet0) | 0;
+ i2 = _i64Add(i16, tempRet0, i15, 0) | 0;
+ i15 = _i64Add(i2, tempRet0, i4, 0) | 0;
+ i4 = _i64Add(i15, tempRet0, i6, 0) | 0;
+ i6 = _i64Add(i4, tempRet0, i3, 0) | 0;
+ i3 = tempRet0;
+ if (i18) {
+ i18 = _i64Subtract(0, 0, i9, i13) | 0;
+ i4 = tempRet0;
+ i15 = _i64Add((i9 | 0) == 0 & (i13 | 0) == 0 & 1, 0, ~i6, ~i3) | 0;
+ i21 = i4;
+ i22 = i18;
+ i23 = tempRet0;
+ i24 = i15;
+ } else {
+ i21 = i13;
+ i22 = i9;
+ i23 = i3;
+ i24 = i6;
+ }
+ i6 = i1 + 8 | 0;
+ i3 = HEAP32[i6 >> 2] | 0;
+ i9 = HEAP32[i6 + 4 >> 2] | 0;
+ do {
+ if (i9 >>> 0 < i23 >>> 0 | i9 >>> 0 == i23 >>> 0 & i3 >>> 0 < i24 >>> 0) {
+ i25 = -1;
+ } else {
+ if (i9 >>> 0 > i23 >>> 0 | i9 >>> 0 == i23 >>> 0 & i3 >>> 0 > i24 >>> 0) {
+ i25 = 1;
+ break;
+ }
+ i6 = i1 | 0;
+ i13 = HEAP32[i6 >> 2] | 0;
+ i15 = HEAP32[i6 + 4 >> 2] | 0;
+ if (i15 >>> 0 < i21 >>> 0 | i15 >>> 0 == i21 >>> 0 & i13 >>> 0 < i22 >>> 0) {
+ i25 = -1;
+ break;
+ }
+ i25 = (i15 >>> 0 > i21 >>> 0 | i15 >>> 0 == i21 >>> 0 & i13 >>> 0 > i22 >>> 0) & 1;
+ }
+ } while (0);
+ i7 = Math_imul(i10, i25) | 0;
+ return i7 | 0;
+}
+function __ZN31btDefaultCollisionConfigurationD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0;
+ HEAP32[i1 >> 2] = 2608;
+ if ((HEAP8[i1 + 12 | 0] | 0) != 0) {
+ i2 = i1 + 8 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i3 + 8 | 0;
+ do {
+ if ((HEAP32[i4 >> 2] | 0) == 0) {
+ i5 = i3 | 0;
+ do {
+ if ((HEAP8[i3 + 16 | 0] | 0) == 0) {
+ i6 = HEAP32[i5 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i6);
+ }
+ } while (0);
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i4 >> 2] = 0;
+ i6 = HEAP32[i2 >> 2] | 0;
+ i7 = i6 + 8 | 0;
+ if ((HEAP32[i7 >> 2] | 0) != 0) {
+ i8 = i6;
+ break;
+ }
+ i9 = i6 | 0;
+ do {
+ if ((HEAP8[i6 + 16 | 0] | 0) == 0) {
+ i10 = HEAP32[i9 >> 2] | 0;
+ if ((i10 | 0) == 0) {
+ break;
+ }
+ __Z21btAlignedFreeInternalPv(i10);
+ }
+ } while (0);
+ HEAP32[i9 >> 2] = 0;
+ HEAP32[i7 >> 2] = 0;
+ i8 = HEAP32[i2 >> 2] | 0;
+ } else {
+ i8 = i3;
+ }
+ } while (0);
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ if ((HEAP8[i1 + 28 | 0] | 0) != 0) {
+ i8 = i1 + 24 | 0;
+ __Z21btAlignedFreeInternalPv(HEAP32[(HEAP32[i8 >> 2] | 0) + 16 >> 2] | 0);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ }
+ if ((HEAP8[i1 + 20 | 0] | 0) != 0) {
+ i8 = i1 + 16 | 0;
+ __Z21btAlignedFreeInternalPv(HEAP32[(HEAP32[i8 >> 2] | 0) + 16 >> 2] | 0);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ }
+ i8 = i1 + 40 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 44 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 48 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 52 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 56 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 60 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 64 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 72 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 76 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 68 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 84 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ i8 = i1 + 80 | 0;
+ i3 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ __Z21btAlignedFreeInternalPv(HEAP32[i1 + 32 >> 2] | 0);
+ i8 = i1 + 36 | 0;
+ i1 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i1 >> 2] >> 2] & 511](i1);
+ __Z21btAlignedFreeInternalPv(HEAP32[i8 >> 2] | 0);
+ return;
+}
+function __ZN20btAlignedObjectArrayIP20btPersistentManifoldE17quickSortInternalI33btPersistentManifoldSortPredicateEEvT_ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i6 = i2;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 1 | 0;
+ STACKTOP = STACKTOP + 7 >> 3 << 3;
+ HEAP8[i2] = HEAP8[i6] | 0;
+ i6 = i5 | 0;
+ i2 = i5 + 8 | 0;
+ i7 = i1 + 12 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ i9 = HEAP32[i8 + (((i4 + i3 | 0) / 2 | 0) << 2) >> 2] | 0;
+ i10 = i9 + 1108 | 0;
+ i11 = i9 + 1112 | 0;
+ i9 = i3;
+ i12 = i4;
+ i13 = i8;
+ while (1) {
+ i8 = HEAP32[(HEAP32[i10 >> 2] | 0) + 208 >> 2] | 0;
+ i14 = (i8 | 0) > -1;
+ if (i14) {
+ i15 = i9;
+ while (1) {
+ i16 = i13 + (i15 << 2) | 0;
+ i17 = HEAP32[i16 >> 2] | 0;
+ i18 = HEAP32[(HEAP32[i17 + 1108 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i18 | 0) > -1) {
+ i19 = i18;
+ } else {
+ i19 = HEAP32[(HEAP32[i17 + 1112 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ i18 = i15 + 1 | 0;
+ if ((i19 | 0) < (i8 | 0)) {
+ i15 = i18;
+ } else {
+ i20 = i15;
+ i21 = i16;
+ i22 = i17;
+ i23 = i18;
+ break;
+ }
+ }
+ } else {
+ i15 = i9;
+ while (1) {
+ i18 = i13 + (i15 << 2) | 0;
+ i17 = HEAP32[i18 >> 2] | 0;
+ i16 = HEAP32[(HEAP32[i17 + 1108 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i16 | 0) > -1) {
+ i24 = i16;
+ } else {
+ i24 = HEAP32[(HEAP32[i17 + 1112 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ i16 = i15 + 1 | 0;
+ if ((i24 | 0) < (HEAP32[(HEAP32[i11 >> 2] | 0) + 208 >> 2] | 0)) {
+ i15 = i16;
+ } else {
+ i20 = i15;
+ i21 = i18;
+ i22 = i17;
+ i23 = i16;
+ break;
+ }
+ }
+ }
+ if (i14) {
+ i15 = i12;
+ while (1) {
+ i16 = HEAP32[i13 + (i15 << 2) >> 2] | 0;
+ i17 = HEAP32[(HEAP32[i16 + 1108 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i17 | 0) > -1) {
+ i25 = i17;
+ } else {
+ i25 = HEAP32[(HEAP32[i16 + 1112 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ i17 = i15 - 1 | 0;
+ if ((i8 | 0) < (i25 | 0)) {
+ i15 = i17;
+ } else {
+ i26 = i15;
+ i27 = i16;
+ i28 = i17;
+ break;
+ }
+ }
+ } else {
+ i15 = i12;
+ while (1) {
+ i8 = HEAP32[i13 + (i15 << 2) >> 2] | 0;
+ i14 = HEAP32[(HEAP32[i8 + 1108 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i14 | 0) > -1) {
+ i29 = i14;
+ } else {
+ i29 = HEAP32[(HEAP32[i8 + 1112 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ i14 = i15 - 1 | 0;
+ if ((HEAP32[(HEAP32[i11 >> 2] | 0) + 208 >> 2] | 0) < (i29 | 0)) {
+ i15 = i14;
+ } else {
+ i26 = i15;
+ i27 = i8;
+ i28 = i14;
+ break;
+ }
+ }
+ }
+ if ((i20 | 0) > (i26 | 0)) {
+ i30 = i20;
+ i31 = i26;
+ } else {
+ HEAP32[i21 >> 2] = i27;
+ HEAP32[(HEAP32[i7 >> 2] | 0) + (i26 << 2) >> 2] = i22;
+ i30 = i23;
+ i31 = i28;
+ }
+ if ((i30 | 0) > (i31 | 0)) {
+ break;
+ }
+ i9 = i30;
+ i12 = i31;
+ i13 = HEAP32[i7 >> 2] | 0;
+ }
+ if ((i31 | 0) > (i3 | 0)) {
+ __ZN20btAlignedObjectArrayIP20btPersistentManifoldE17quickSortInternalI33btPersistentManifoldSortPredicateEEvT_ii(i1, i6, i3, i31);
+ }
+ if ((i30 | 0) >= (i4 | 0)) {
+ STACKTOP = i5;
+ return;
+ }
+ __ZN20btAlignedObjectArrayIP20btPersistentManifoldE17quickSortInternalI33btPersistentManifoldSortPredicateEEvT_ii(i1, i2, i30, i4);
+ STACKTOP = i5;
+ return;
+}
+function __ZN20btAlignedObjectArrayIP17btTypedConstraintE17quickSortInternalI33btSortConstraintOnIslandPredicateEEvT_ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i6 = i2;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 1 | 0;
+ STACKTOP = STACKTOP + 7 >> 3 << 3;
+ HEAP8[i2] = HEAP8[i6] | 0;
+ i6 = i5 | 0;
+ i2 = i5 + 8 | 0;
+ i7 = i1 + 12 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ i9 = HEAP32[i8 + (((i4 + i3 | 0) / 2 | 0) << 2) >> 2] | 0;
+ i10 = i9 + 24 | 0;
+ i11 = i9 + 28 | 0;
+ i9 = i3;
+ i12 = i4;
+ i13 = i8;
+ while (1) {
+ i8 = HEAP32[(HEAP32[i10 >> 2] | 0) + 208 >> 2] | 0;
+ i14 = (i8 | 0) > -1;
+ if (i14) {
+ i15 = i9;
+ while (1) {
+ i16 = i13 + (i15 << 2) | 0;
+ i17 = HEAP32[i16 >> 2] | 0;
+ i18 = HEAP32[(HEAP32[i17 + 24 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i18 | 0) > -1) {
+ i19 = i18;
+ } else {
+ i19 = HEAP32[(HEAP32[i17 + 28 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ i18 = i15 + 1 | 0;
+ if ((i19 | 0) < (i8 | 0)) {
+ i15 = i18;
+ } else {
+ i20 = i15;
+ i21 = i16;
+ i22 = i17;
+ i23 = i18;
+ break;
+ }
+ }
+ } else {
+ i15 = i9;
+ while (1) {
+ i18 = i13 + (i15 << 2) | 0;
+ i17 = HEAP32[i18 >> 2] | 0;
+ i16 = HEAP32[(HEAP32[i17 + 24 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i16 | 0) > -1) {
+ i24 = i16;
+ } else {
+ i24 = HEAP32[(HEAP32[i17 + 28 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ i16 = i15 + 1 | 0;
+ if ((i24 | 0) < (HEAP32[(HEAP32[i11 >> 2] | 0) + 208 >> 2] | 0)) {
+ i15 = i16;
+ } else {
+ i20 = i15;
+ i21 = i18;
+ i22 = i17;
+ i23 = i16;
+ break;
+ }
+ }
+ }
+ if (i14) {
+ i15 = i12;
+ while (1) {
+ i16 = HEAP32[i13 + (i15 << 2) >> 2] | 0;
+ i17 = HEAP32[(HEAP32[i16 + 24 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i17 | 0) > -1) {
+ i25 = i17;
+ } else {
+ i25 = HEAP32[(HEAP32[i16 + 28 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ i17 = i15 - 1 | 0;
+ if ((i8 | 0) < (i25 | 0)) {
+ i15 = i17;
+ } else {
+ i26 = i15;
+ i27 = i16;
+ i28 = i17;
+ break;
+ }
+ }
+ } else {
+ i15 = i12;
+ while (1) {
+ i8 = HEAP32[i13 + (i15 << 2) >> 2] | 0;
+ i14 = HEAP32[(HEAP32[i8 + 24 >> 2] | 0) + 208 >> 2] | 0;
+ if ((i14 | 0) > -1) {
+ i29 = i14;
+ } else {
+ i29 = HEAP32[(HEAP32[i8 + 28 >> 2] | 0) + 208 >> 2] | 0;
+ }
+ i14 = i15 - 1 | 0;
+ if ((HEAP32[(HEAP32[i11 >> 2] | 0) + 208 >> 2] | 0) < (i29 | 0)) {
+ i15 = i14;
+ } else {
+ i26 = i15;
+ i27 = i8;
+ i28 = i14;
+ break;
+ }
+ }
+ }
+ if ((i20 | 0) > (i26 | 0)) {
+ i30 = i20;
+ i31 = i26;
+ } else {
+ HEAP32[i21 >> 2] = i27;
+ HEAP32[(HEAP32[i7 >> 2] | 0) + (i26 << 2) >> 2] = i22;
+ i30 = i23;
+ i31 = i28;
+ }
+ if ((i30 | 0) > (i31 | 0)) {
+ break;
+ }
+ i9 = i30;
+ i12 = i31;
+ i13 = HEAP32[i7 >> 2] | 0;
+ }
+ if ((i31 | 0) > (i3 | 0)) {
+ __ZN20btAlignedObjectArrayIP17btTypedConstraintE17quickSortInternalI33btSortConstraintOnIslandPredicateEEvT_ii(i1, i6, i3, i31);
+ }
+ if ((i30 | 0) >= (i4 | 0)) {
+ STACKTOP = i5;
+ return;
+ }
+ __ZN20btAlignedObjectArrayIP17btTypedConstraintE17quickSortInternalI33btSortConstraintOnIslandPredicateEEvT_ii(i1, i2, i30, i4);
+ STACKTOP = i5;
+ return;
+}
+function __ZN21btCollisionDispatcher14getNewManifoldEPvS0_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 8 | 0;
+ HEAP32[2990] = (HEAP32[2990] | 0) + 1;
+ i7 = i1 + 4 | 0;
+ if ((HEAP32[i7 >> 2] & 2 | 0) == 0) {
+ i8 = 16;
+ } else {
+ i9 = HEAP32[i2 + 192 >> 2] | 0;
+ d10 = +FUNCTION_TABLE_fif[HEAP32[(HEAP32[i9 >> 2] | 0) + 20 >> 2] & 3](i9, +HEAPF32[4]);
+ HEAPF32[i5 >> 2] = d10;
+ i9 = HEAP32[i3 + 192 >> 2] | 0;
+ d11 = +FUNCTION_TABLE_fif[HEAP32[(HEAP32[i9 >> 2] | 0) + 20 >> 2] & 3](i9, +HEAPF32[4]);
+ HEAPF32[i6 >> 2] = d11;
+ i8 = d10 < d11 ? i5 : i6;
+ }
+ d11 = +HEAPF32[i8 >> 2];
+ d10 = +HEAPF32[i2 + 184 >> 2];
+ d12 = +HEAPF32[i3 + 184 >> 2];
+ d13 = d10 < d12 ? d10 : d12;
+ i8 = HEAP32[i1 + 196 >> 2] | 0;
+ i6 = i8 + 8 | 0;
+ i5 = HEAP32[i6 >> 2] | 0;
+ do {
+ if ((i5 | 0) == 0) {
+ if ((HEAP32[i7 >> 2] & 4 | 0) == 0) {
+ i14 = __Z22btAlignedAllocInternalji(1140, 16) | 0;
+ break;
+ } else {
+ i15 = 0;
+ STACKTOP = i4;
+ return i15 | 0;
+ }
+ } else {
+ i9 = i8 + 12 | 0;
+ i16 = HEAP32[i9 >> 2] | 0;
+ HEAP32[i9 >> 2] = HEAP32[i16 >> 2];
+ HEAP32[i6 >> 2] = i5 - 1;
+ i14 = i16;
+ }
+ } while (0);
+ i5 = i14;
+ HEAP32[i14 >> 2] = 1025;
+ HEAP32[i14 + 112 >> 2] = 0;
+ HEAPF32[i14 + 116 >> 2] = 0.0;
+ HEAP8[i14 + 120 | 0] = 0;
+ _memset(i14 + 124 | 0, 0, 28);
+ HEAP32[i14 + 388 >> 2] = 0;
+ HEAPF32[i14 + 392 >> 2] = 0.0;
+ HEAP8[i14 + 396 | 0] = 0;
+ _memset(i14 + 400 | 0, 0, 28);
+ HEAP32[i14 + 664 >> 2] = 0;
+ HEAPF32[i14 + 668 >> 2] = 0.0;
+ HEAP8[i14 + 672 | 0] = 0;
+ _memset(i14 + 676 | 0, 0, 28);
+ HEAP32[i14 + 940 >> 2] = 0;
+ HEAPF32[i14 + 944 >> 2] = 0.0;
+ HEAP8[i14 + 948 | 0] = 0;
+ _memset(i14 + 952 | 0, 0, 28);
+ HEAP32[i14 + 1108 >> 2] = i2;
+ HEAP32[i14 + 1112 >> 2] = i3;
+ HEAP32[i14 + 1116 >> 2] = 0;
+ HEAPF32[i14 + 1120 >> 2] = d11;
+ HEAPF32[i14 + 1124 >> 2] = d13;
+ i3 = i1 + 12 | 0;
+ HEAP32[i14 + 1136 >> 2] = HEAP32[i3 >> 2];
+ i14 = HEAP32[i3 >> 2] | 0;
+ i2 = i1 + 16 | 0;
+ do {
+ if ((i14 | 0) == (HEAP32[i2 >> 2] | 0)) {
+ i6 = (i14 | 0) == 0 ? 1 : i14 << 1;
+ if ((i14 | 0) >= (i6 | 0)) {
+ i17 = i14;
+ break;
+ }
+ if ((i6 | 0) == 0) {
+ i18 = 0;
+ i19 = i14;
+ } else {
+ i8 = __Z22btAlignedAllocInternalji(i6 << 2, 16) | 0;
+ i18 = i8;
+ i19 = HEAP32[i3 >> 2] | 0;
+ }
+ i8 = i1 + 20 | 0;
+ if ((i19 | 0) > 0) {
+ i7 = 0;
+ do {
+ i16 = i18 + (i7 << 2) | 0;
+ if ((i16 | 0) != 0) {
+ HEAP32[i16 >> 2] = HEAP32[(HEAP32[i8 >> 2] | 0) + (i7 << 2) >> 2];
+ }
+ i7 = i7 + 1 | 0;
+ } while ((i7 | 0) < (i19 | 0));
+ }
+ i7 = HEAP32[i8 >> 2] | 0;
+ i16 = i1 + 24 | 0;
+ if ((i7 | 0) == 0) {
+ i20 = i19;
+ } else {
+ if ((HEAP8[i16] | 0) == 0) {
+ i21 = i19;
+ } else {
+ __Z21btAlignedFreeInternalPv(i7);
+ i21 = HEAP32[i3 >> 2] | 0;
+ }
+ HEAP32[i8 >> 2] = 0;
+ i20 = i21;
+ }
+ HEAP8[i16] = 1;
+ HEAP32[i8 >> 2] = i18;
+ HEAP32[i2 >> 2] = i6;
+ i17 = i20;
+ } else {
+ i17 = i14;
+ }
+ } while (0);
+ i14 = (HEAP32[i1 + 20 >> 2] | 0) + (i17 << 2) | 0;
+ if ((i14 | 0) != 0) {
+ HEAP32[i14 >> 2] = i5;
+ }
+ HEAP32[i3 >> 2] = i17 + 1;
+ i15 = i5;
+ STACKTOP = i4;
+ return i15 | 0;
+}
+function __ZN17DebugDrawcallback15processTriangleEP9btVector3ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, i32 = 0, i33 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 96 | 0;
+ i3 = i4 | 0;
+ i5 = i4 + 16 | 0;
+ i6 = i4 + 32 | 0;
+ i7 = i4 + 48 | 0;
+ i8 = i4 + 64 | 0;
+ i9 = i4 + 80 | 0;
+ d10 = +HEAPF32[i1 + 28 >> 2];
+ d11 = +HEAPF32[i2 >> 2];
+ d12 = +HEAPF32[i1 + 32 >> 2];
+ d13 = +HEAPF32[i2 + 4 >> 2];
+ d14 = +HEAPF32[i1 + 36 >> 2];
+ d15 = +HEAPF32[i2 + 8 >> 2];
+ d16 = +HEAPF32[i1 + 76 >> 2];
+ d17 = d16 + (d10 * d11 + d12 * d13 + d14 * d15);
+ d18 = +HEAPF32[i1 + 44 >> 2];
+ d19 = +HEAPF32[i1 + 48 >> 2];
+ d20 = +HEAPF32[i1 + 52 >> 2];
+ d21 = +HEAPF32[i1 + 80 >> 2];
+ d22 = d21 + (d11 * d18 + d13 * d19 + d15 * d20);
+ d23 = +HEAPF32[i1 + 60 >> 2];
+ d24 = +HEAPF32[i1 + 64 >> 2];
+ d25 = +HEAPF32[i1 + 68 >> 2];
+ d26 = +HEAPF32[i1 + 84 >> 2];
+ d27 = d26 + (d11 * d23 + d13 * d24 + d15 * d25);
+ HEAPF32[i3 >> 2] = d17;
+ HEAPF32[i3 + 4 >> 2] = d22;
+ HEAPF32[i3 + 8 >> 2] = d27;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ d15 = +HEAPF32[i2 + 16 >> 2];
+ d13 = +HEAPF32[i2 + 20 >> 2];
+ d11 = +HEAPF32[i2 + 24 >> 2];
+ d28 = d16 + (d10 * d15 + d12 * d13 + d14 * d11);
+ d29 = d21 + (d18 * d15 + d19 * d13 + d20 * d11);
+ d30 = d26 + (d23 * d15 + d24 * d13 + d25 * d11);
+ HEAPF32[i5 >> 2] = d28;
+ HEAPF32[i5 + 4 >> 2] = d29;
+ HEAPF32[i5 + 8 >> 2] = d30;
+ HEAPF32[i5 + 12 >> 2] = 0.0;
+ d11 = +HEAPF32[i2 + 32 >> 2];
+ d13 = +HEAPF32[i2 + 36 >> 2];
+ d15 = +HEAPF32[i2 + 40 >> 2];
+ d31 = d16 + (d10 * d11 + d12 * d13 + d14 * d15);
+ d14 = d21 + (d18 * d11 + d19 * d13 + d20 * d15);
+ d20 = d26 + (d23 * d11 + d24 * d13 + d25 * d15);
+ HEAPF32[i6 >> 2] = d31;
+ HEAPF32[i6 + 4 >> 2] = d14;
+ HEAPF32[i6 + 8 >> 2] = d20;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ d15 = (d17 + d28 + d31) * .3333333432674408;
+ d25 = (d22 + d29 + d14) * .3333333432674408;
+ d13 = (d27 + d30 + d20) * .3333333432674408;
+ HEAPF32[i7 >> 2] = d15;
+ HEAPF32[i7 + 4 >> 2] = d25;
+ HEAPF32[i7 + 8 >> 2] = d13;
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ d24 = d28 - d17;
+ d28 = d29 - d22;
+ d29 = d30 - d27;
+ d30 = d31 - d17;
+ d17 = d14 - d22;
+ d22 = d20 - d27;
+ d27 = d28 * d22 - d29 * d17;
+ d20 = d29 * d30 - d24 * d22;
+ d22 = d24 * d17 - d28 * d30;
+ d30 = 1.0 / +Math_sqrt(+(d22 * d22 + (d27 * d27 + d20 * d20)));
+ HEAPF32[i8 >> 2] = 1.0;
+ HEAPF32[i8 + 4 >> 2] = 1.0;
+ HEAPF32[i8 + 8 >> 2] = 0.0;
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ i2 = i1 + 8 | 0;
+ i32 = HEAP32[i2 >> 2] | 0;
+ i33 = HEAP32[(HEAP32[i32 >> 2] | 0) + 8 >> 2] | 0;
+ HEAPF32[i9 >> 2] = d15 + d30 * d27;
+ HEAPF32[i9 + 4 >> 2] = d25 + d30 * d20;
+ HEAPF32[i9 + 8 >> 2] = d13 + d30 * d22;
+ HEAPF32[i9 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiii[i33 & 127](i32, i7, i9, i8);
+ i8 = HEAP32[i2 >> 2] | 0;
+ i9 = i1 + 12 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i8 >> 2] | 0) + 8 >> 2] & 127](i8, i3, i5, i9);
+ i8 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i8 >> 2] | 0) + 8 >> 2] & 127](i8, i5, i6, i9);
+ i5 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i5 >> 2] | 0) + 8 >> 2] & 127](i5, i6, i3, i9);
+ STACKTOP = i4;
+ return;
+}
+function __ZN34btSphereTriangleCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 152 | 0;
+ i7 = i6 | 0;
+ i8 = i6 + 16 | 0;
+ i9 = i1 + 12 | 0;
+ i10 = HEAP32[i9 >> 2] | 0;
+ if ((i10 | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ i11 = i1 + 16 | 0;
+ i12 = (HEAP8[i11] | 0) != 0;
+ i13 = i12 ? i3 : i2;
+ i14 = i12 ? i2 : i3;
+ i3 = HEAP32[i13 + 192 >> 2] | 0;
+ i2 = HEAP32[i14 + 192 >> 2] | 0;
+ i12 = i5 + 4 | 0;
+ HEAP32[i12 >> 2] = i10;
+ __ZN22SphereTriangleDetectorC2EP13btSphereShapeP15btTriangleShapef(i7, i3, i2, +__ZNK20btPersistentManifold27getContactBreakingThresholdEv(HEAP32[i9 >> 2] | 0));
+ HEAP32[i8 + 132 >> 2] = 0;
+ HEAPF32[i8 + 128 >> 2] = 999999984306749400.0;
+ i9 = i8;
+ i2 = i13 + 4 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i8 + 16 | 0;
+ i9 = i13 + 20 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i8 + 32 | 0;
+ i2 = i13 + 36 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i8 + 48 | 0;
+ i9 = i13 + 52 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i8 + 64 | 0;
+ i2 = i14 + 4 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i8 + 80 | 0;
+ i9 = i14 + 20 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i8 + 96 | 0;
+ i2 = i14 + 36 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i8 + 112 | 0;
+ i9 = i14 + 52 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ __ZN22SphereTriangleDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i7, i8, i5 | 0, HEAP32[i4 + 20 >> 2] | 0, (HEAP8[i11] | 0) != 0);
+ if ((HEAP8[i1 + 8 | 0] | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ i1 = HEAP32[i12 >> 2] | 0;
+ if ((HEAP32[i1 + 1116 >> 2] | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ if ((HEAP32[i1 + 1108 >> 2] | 0) == (HEAP32[i5 + 136 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i1, i5 + 8 | 0, i5 + 72 | 0);
+ STACKTOP = i6;
+ return;
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i1, i5 + 72 | 0, i5 + 8 | 0);
+ STACKTOP = i6;
+ return;
+ }
+}
+function __ZN16btCollisionWorld25serializeCollisionObjectsEP12btSerializer(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 96 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 80 | 0;
+ i6 = i3 + 88 | 0;
+ i7 = i1 + 8 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ if ((i8 | 0) > 0) {
+ i9 = i1 + 16 | 0;
+ i10 = 0;
+ i11 = i8;
+ while (1) {
+ i12 = HEAP32[(HEAP32[i9 >> 2] | 0) + (i10 << 2) >> 2] | 0;
+ if ((HEAP32[i12 + 232 >> 2] | 0) == 1) {
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i12 >> 2] | 0) + 24 >> 2] & 127](i12, i2);
+ i13 = HEAP32[i7 >> 2] | 0;
+ } else {
+ i13 = i11;
+ }
+ i12 = i10 + 1 | 0;
+ if ((i12 | 0) < (i13 | 0)) {
+ i10 = i12;
+ i11 = i13;
+ } else {
+ i14 = i13;
+ break;
+ }
+ }
+ } else {
+ i14 = i8;
+ }
+ HEAP8[i4 + 16 | 0] = 1;
+ i8 = i4 + 12 | 0;
+ HEAP32[i8 >> 2] = 0;
+ i13 = i4 + 4 | 0;
+ HEAP32[i13 >> 2] = 0;
+ HEAP32[i4 + 8 >> 2] = 0;
+ HEAP8[i4 + 36 | 0] = 1;
+ i11 = i4 + 32 | 0;
+ HEAP32[i11 >> 2] = 0;
+ HEAP32[i4 + 24 >> 2] = 0;
+ HEAP32[i4 + 28 >> 2] = 0;
+ HEAP8[i4 + 56 | 0] = 1;
+ i10 = i4 + 52 | 0;
+ HEAP32[i10 >> 2] = 0;
+ HEAP32[i4 + 44 >> 2] = 0;
+ i9 = i4 + 48 | 0;
+ HEAP32[i9 >> 2] = 0;
+ HEAP8[i4 + 76 | 0] = 1;
+ i12 = i4 + 72 | 0;
+ HEAP32[i12 >> 2] = 0;
+ HEAP32[i4 + 64 >> 2] = 0;
+ HEAP32[i4 + 68 >> 2] = 0;
+ if ((i14 | 0) <= 0) {
+ __ZN9btHashMapI9btHashPtrP16btCollisionShapeED2Ev(i4);
+ STACKTOP = i3;
+ return;
+ }
+ i15 = i1 + 16 | 0;
+ i1 = i6 | 0;
+ i16 = 0;
+ i17 = -1;
+ i18 = 0;
+ i19 = i14;
+ while (1) {
+ i14 = HEAP32[(HEAP32[(HEAP32[i15 >> 2] | 0) + (i16 << 2) >> 2] | 0) + 192 >> 2] | 0;
+ HEAP32[i5 >> 2] = i14;
+ i20 = i14;
+ i21 = i20 + ~(i20 << 15) | 0;
+ i22 = (i21 >> 10 ^ i21) * 9 | 0;
+ i21 = i22 >> 6 ^ i22;
+ i22 = i21 + ~(i21 << 11) | 0;
+ i21 = (i22 >> 16 ^ i22) & i17;
+ i22 = i14;
+ L410 : do {
+ if (i21 >>> 0 < i18 >>> 0) {
+ i14 = HEAP32[(HEAP32[i8 >> 2] | 0) + (i21 << 2) >> 2] | 0;
+ if ((i14 | 0) == -1) {
+ i23 = 364;
+ break;
+ }
+ i24 = HEAP32[i12 >> 2] | 0;
+ i25 = HEAP32[i11 >> 2] | 0;
+ i26 = i14;
+ while (1) {
+ if ((i22 | 0) == (HEAP32[i24 + (i26 << 3) >> 2] | 0)) {
+ break;
+ }
+ i14 = HEAP32[i25 + (i26 << 2) >> 2] | 0;
+ if ((i14 | 0) == -1) {
+ i23 = 364;
+ break L410;
+ } else {
+ i26 = i14;
+ }
+ }
+ if ((i26 | 0) == -1) {
+ i23 = 364;
+ break;
+ }
+ if (((HEAP32[i10 >> 2] | 0) + (i26 << 2) | 0) == 0) {
+ i23 = 364;
+ } else {
+ i27 = i19;
+ }
+ } else {
+ i23 = 364;
+ }
+ } while (0);
+ if ((i23 | 0) == 364) {
+ i23 = 0;
+ HEAP32[i1 >> 2] = i20;
+ __ZN9btHashMapI9btHashPtrP16btCollisionShapeE6insertERKS0_RKS2_(i4, i6, i5);
+ i22 = HEAP32[i5 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i22 >> 2] | 0) + 56 >> 2] & 127](i22, i2);
+ i27 = HEAP32[i7 >> 2] | 0;
+ }
+ i22 = i16 + 1 | 0;
+ if ((i22 | 0) >= (i27 | 0)) {
+ break;
+ }
+ i16 = i22;
+ i17 = (HEAP32[i9 >> 2] | 0) - 1 | 0;
+ i18 = HEAP32[i13 >> 2] | 0;
+ i19 = i27;
+ }
+ __ZN9btHashMapI9btHashPtrP16btCollisionShapeED2Ev(i4);
+ STACKTOP = i3;
+ return;
+}
+function __ZN28btHashedOverlappingPairCache10growTablesEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i2 = i1 + 12 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 + 36 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i5 | 0) >= (i3 | 0)) {
+ return;
+ }
+ if ((i5 | 0) <= (i3 | 0)) {
+ i6 = i1 + 40 | 0;
+ if ((HEAP32[i6 >> 2] | 0) < (i3 | 0)) {
+ if ((i3 | 0) == 0) {
+ i7 = 0;
+ i8 = i5;
+ } else {
+ i9 = __Z22btAlignedAllocInternalji(i3 << 2, 16) | 0;
+ i7 = i9;
+ i8 = HEAP32[i4 >> 2] | 0;
+ }
+ i9 = i1 + 44 | 0;
+ if ((i8 | 0) > 0) {
+ i10 = 0;
+ do {
+ i11 = i7 + (i10 << 2) | 0;
+ if ((i11 | 0) != 0) {
+ HEAP32[i11 >> 2] = HEAP32[(HEAP32[i9 >> 2] | 0) + (i10 << 2) >> 2];
+ }
+ i10 = i10 + 1 | 0;
+ } while ((i10 | 0) < (i8 | 0));
+ }
+ i8 = HEAP32[i9 >> 2] | 0;
+ i10 = i1 + 48 | 0;
+ if ((i8 | 0) != 0) {
+ if ((HEAP8[i10] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ HEAP32[i9 >> 2] = 0;
+ }
+ HEAP8[i10] = 1;
+ HEAP32[i9 >> 2] = i7;
+ HEAP32[i6 >> 2] = i3;
+ i12 = i7;
+ } else {
+ i12 = HEAP32[i1 + 44 >> 2] | 0;
+ }
+ i7 = i5;
+ do {
+ i6 = i12 + (i7 << 2) | 0;
+ if ((i6 | 0) != 0) {
+ HEAP32[i6 >> 2] = 0;
+ }
+ i7 = i7 + 1 | 0;
+ } while ((i7 | 0) < (i3 | 0));
+ }
+ HEAP32[i4 >> 2] = i3;
+ i4 = i1 + 56 | 0;
+ i7 = HEAP32[i4 >> 2] | 0;
+ if ((i7 | 0) < (i3 | 0)) {
+ i12 = i1 + 60 | 0;
+ if ((HEAP32[i12 >> 2] | 0) < (i3 | 0)) {
+ if ((i3 | 0) == 0) {
+ i13 = 0;
+ i14 = i7;
+ } else {
+ i6 = __Z22btAlignedAllocInternalji(i3 << 2, 16) | 0;
+ i13 = i6;
+ i14 = HEAP32[i4 >> 2] | 0;
+ }
+ i6 = i1 + 64 | 0;
+ if ((i14 | 0) > 0) {
+ i9 = 0;
+ do {
+ i10 = i13 + (i9 << 2) | 0;
+ if ((i10 | 0) != 0) {
+ HEAP32[i10 >> 2] = HEAP32[(HEAP32[i6 >> 2] | 0) + (i9 << 2) >> 2];
+ }
+ i9 = i9 + 1 | 0;
+ } while ((i9 | 0) < (i14 | 0));
+ }
+ i14 = HEAP32[i6 >> 2] | 0;
+ i9 = i1 + 68 | 0;
+ if ((i14 | 0) != 0) {
+ if ((HEAP8[i9] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i14);
+ }
+ HEAP32[i6 >> 2] = 0;
+ }
+ HEAP8[i9] = 1;
+ HEAP32[i6 >> 2] = i13;
+ HEAP32[i12 >> 2] = i3;
+ i15 = i13;
+ } else {
+ i15 = HEAP32[i1 + 64 >> 2] | 0;
+ }
+ i13 = i7;
+ do {
+ i7 = i15 + (i13 << 2) | 0;
+ if ((i7 | 0) != 0) {
+ HEAP32[i7 >> 2] = 0;
+ }
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i3 | 0));
+ }
+ HEAP32[i4 >> 2] = i3;
+ if ((i3 | 0) > 0) {
+ i4 = i3 << 2;
+ _memset(HEAP32[i1 + 44 >> 2] | 0, -1 | 0, i4 | 0);
+ _memset(HEAP32[i1 + 64 >> 2] | 0, -1 | 0, i4 | 0);
+ }
+ if ((i5 | 0) <= 0) {
+ return;
+ }
+ i4 = HEAP32[i1 + 16 >> 2] | 0;
+ i3 = HEAP32[i1 + 44 >> 2] | 0;
+ i13 = HEAP32[i1 + 64 >> 2] | 0;
+ i1 = 0;
+ do {
+ i15 = HEAP32[(HEAP32[i4 + (i1 << 4) + 4 >> 2] | 0) + 12 >> 2] << 16 | HEAP32[(HEAP32[i4 + (i1 << 4) >> 2] | 0) + 12 >> 2];
+ i7 = i15 + ~(i15 << 15) | 0;
+ i15 = (i7 >> 10 ^ i7) * 9 | 0;
+ i7 = i15 >> 6 ^ i15;
+ i15 = i7 + ~(i7 << 11) | 0;
+ i7 = i3 + (((i15 >> 16 ^ i15) & (HEAP32[i2 >> 2] | 0) - 1) << 2) | 0;
+ HEAP32[i13 + (i1 << 2) >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i7 >> 2] = i1;
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i5 | 0));
+ return;
+}
+function __ZN15btTransformUtil22calculateDiffAxisAngleERK11btTransformS2_R9btVector3Rf(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, i26 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 48 | 0;
+ d8 = +HEAPF32[i1 + 20 >> 2];
+ d9 = +HEAPF32[i1 + 40 >> 2];
+ d10 = +HEAPF32[i1 + 24 >> 2];
+ d11 = +HEAPF32[i1 + 36 >> 2];
+ d12 = d8 * d9 - d10 * d11;
+ d13 = +HEAPF32[i1 + 32 >> 2];
+ d14 = +HEAPF32[i1 + 16 >> 2];
+ d15 = d10 * d13 - d9 * d14;
+ d16 = d11 * d14 - d8 * d13;
+ d17 = +HEAPF32[i1 >> 2];
+ d18 = +HEAPF32[i1 + 4 >> 2];
+ d19 = +HEAPF32[i1 + 8 >> 2];
+ d20 = 1.0 / (d12 * d17 + d18 * d15 + d16 * d19);
+ d21 = d12 * d20;
+ d12 = d20 * (d11 * d19 - d9 * d18);
+ d22 = d20 * (d10 * d18 - d8 * d19);
+ d23 = d15 * d20;
+ d15 = d20 * (d9 * d17 - d13 * d19);
+ d9 = d20 * (d14 * d19 - d10 * d17);
+ d10 = d16 * d20;
+ d16 = d20 * (d13 * d18 - d11 * d17);
+ d11 = d20 * (d8 * d17 - d14 * d18);
+ d18 = +HEAPF32[i2 >> 2];
+ d14 = +HEAPF32[i2 + 4 >> 2];
+ d17 = +HEAPF32[i2 + 8 >> 2];
+ d8 = +HEAPF32[i2 + 16 >> 2];
+ d20 = +HEAPF32[i2 + 20 >> 2];
+ d13 = +HEAPF32[i2 + 24 >> 2];
+ d19 = +HEAPF32[i2 + 32 >> 2];
+ d24 = +HEAPF32[i2 + 36 >> 2];
+ d25 = +HEAPF32[i2 + 40 >> 2];
+ HEAPF32[i6 >> 2] = d21 * d18 + d23 * d14 + d10 * d17;
+ HEAPF32[i6 + 4 >> 2] = d18 * d12 + d14 * d15 + d16 * d17;
+ HEAPF32[i6 + 8 >> 2] = d18 * d22 + d14 * d9 + d11 * d17;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ HEAPF32[i6 + 16 >> 2] = d21 * d8 + d23 * d20 + d10 * d13;
+ HEAPF32[i6 + 20 >> 2] = d12 * d8 + d15 * d20 + d16 * d13;
+ HEAPF32[i6 + 24 >> 2] = d22 * d8 + d9 * d20 + d11 * d13;
+ HEAPF32[i6 + 28 >> 2] = 0.0;
+ HEAPF32[i6 + 32 >> 2] = d21 * d19 + d23 * d24 + d10 * d25;
+ HEAPF32[i6 + 36 >> 2] = d12 * d19 + d15 * d24 + d16 * d25;
+ HEAPF32[i6 + 40 >> 2] = d22 * d19 + d9 * d24 + d11 * d25;
+ HEAPF32[i6 + 44 >> 2] = 0.0;
+ __ZNK11btMatrix3x311getRotationER12btQuaternion(i6, i7);
+ i6 = i7 | 0;
+ d25 = +HEAPF32[i6 >> 2];
+ i2 = i7 + 4 | 0;
+ d11 = +HEAPF32[i2 >> 2];
+ i1 = i7 + 8 | 0;
+ d24 = +HEAPF32[i1 >> 2];
+ i26 = i7 + 12 | 0;
+ d9 = +HEAPF32[i26 >> 2];
+ d19 = 1.0 / +Math_sqrt(+(d25 * d25 + d11 * d11 + d24 * d24 + d9 * d9));
+ d22 = d25 * d19;
+ HEAPF32[i6 >> 2] = d22;
+ d25 = d11 * d19;
+ HEAPF32[i2 >> 2] = d25;
+ d11 = d24 * d19;
+ HEAPF32[i1 >> 2] = d11;
+ d24 = d9 * d19;
+ HEAPF32[i26 >> 2] = d24;
+ d19 = d24 < -1.0 ? -1.0 : d24;
+ HEAPF32[i4 >> 2] = +Math_acos(+(d19 > 1.0 ? 1.0 : d19)) * 2.0;
+ i4 = i3 | 0;
+ HEAPF32[i4 >> 2] = d22;
+ i26 = i3 + 4 | 0;
+ HEAPF32[i26 >> 2] = d25;
+ i1 = i3 + 8 | 0;
+ HEAPF32[i1 >> 2] = d11;
+ i2 = i3 + 12 | 0;
+ HEAPF32[i2 >> 2] = 0.0;
+ d19 = d11 * d11 + (d22 * d22 + d25 * d25);
+ if (d19 < 1.4210854715202004e-14) {
+ HEAPF32[i4 >> 2] = 1.0;
+ HEAPF32[i26 >> 2] = 0.0;
+ HEAPF32[i1 >> 2] = 0.0;
+ HEAPF32[i2 >> 2] = 0.0;
+ STACKTOP = i5;
+ return;
+ } else {
+ d24 = 1.0 / +Math_sqrt(+d19);
+ HEAPF32[i4 >> 2] = d22 * d24;
+ HEAPF32[i26 >> 2] = d25 * d24;
+ HEAPF32[i1 >> 2] = d11 * d24;
+ STACKTOP = i5;
+ return;
+ }
+}
+function __ZNK11btRigidBody9serializeEPvP12btSerializer(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ __ZNK17btCollisionObject9serializeEPvP12btSerializer(i1 | 0, i2, i3) | 0;
+ HEAPF32[i2 + 248 >> 2] = +HEAPF32[i1 + 256 >> 2];
+ HEAPF32[i2 + 252 >> 2] = +HEAPF32[i1 + 260 >> 2];
+ HEAPF32[i2 + 256 >> 2] = +HEAPF32[i1 + 264 >> 2];
+ HEAPF32[i2 + 260 >> 2] = +HEAPF32[i1 + 268 >> 2];
+ HEAPF32[i2 + 264 >> 2] = +HEAPF32[i1 + 272 >> 2];
+ HEAPF32[i2 + 268 >> 2] = +HEAPF32[i1 + 276 >> 2];
+ HEAPF32[i2 + 272 >> 2] = +HEAPF32[i1 + 280 >> 2];
+ HEAPF32[i2 + 276 >> 2] = +HEAPF32[i1 + 284 >> 2];
+ HEAPF32[i2 + 280 >> 2] = +HEAPF32[i1 + 288 >> 2];
+ HEAPF32[i2 + 284 >> 2] = +HEAPF32[i1 + 292 >> 2];
+ HEAPF32[i2 + 288 >> 2] = +HEAPF32[i1 + 296 >> 2];
+ HEAPF32[i2 + 292 >> 2] = +HEAPF32[i1 + 300 >> 2];
+ HEAPF32[i2 + 296 >> 2] = +HEAPF32[i1 + 304 >> 2];
+ HEAPF32[i2 + 300 >> 2] = +HEAPF32[i1 + 308 >> 2];
+ HEAPF32[i2 + 304 >> 2] = +HEAPF32[i1 + 312 >> 2];
+ HEAPF32[i2 + 308 >> 2] = +HEAPF32[i1 + 316 >> 2];
+ HEAPF32[i2 + 312 >> 2] = +HEAPF32[i1 + 320 >> 2];
+ HEAPF32[i2 + 316 >> 2] = +HEAPF32[i1 + 324 >> 2];
+ HEAPF32[i2 + 320 >> 2] = +HEAPF32[i1 + 328 >> 2];
+ HEAPF32[i2 + 324 >> 2] = +HEAPF32[i1 + 332 >> 2];
+ HEAPF32[i2 + 440 >> 2] = +HEAPF32[i1 + 336 >> 2];
+ HEAPF32[i2 + 328 >> 2] = +HEAPF32[i1 + 536 >> 2];
+ HEAPF32[i2 + 332 >> 2] = +HEAPF32[i1 + 540 >> 2];
+ HEAPF32[i2 + 336 >> 2] = +HEAPF32[i1 + 544 >> 2];
+ HEAPF32[i2 + 340 >> 2] = +HEAPF32[i1 + 548 >> 2];
+ HEAPF32[i2 + 344 >> 2] = +HEAPF32[i1 + 340 >> 2];
+ HEAPF32[i2 + 348 >> 2] = +HEAPF32[i1 + 344 >> 2];
+ HEAPF32[i2 + 352 >> 2] = +HEAPF32[i1 + 348 >> 2];
+ HEAPF32[i2 + 356 >> 2] = +HEAPF32[i1 + 352 >> 2];
+ HEAPF32[i2 + 360 >> 2] = +HEAPF32[i1 + 356 >> 2];
+ HEAPF32[i2 + 364 >> 2] = +HEAPF32[i1 + 360 >> 2];
+ HEAPF32[i2 + 368 >> 2] = +HEAPF32[i1 + 364 >> 2];
+ HEAPF32[i2 + 372 >> 2] = +HEAPF32[i1 + 368 >> 2];
+ HEAPF32[i2 + 376 >> 2] = +HEAPF32[i1 + 372 >> 2];
+ HEAPF32[i2 + 380 >> 2] = +HEAPF32[i1 + 376 >> 2];
+ HEAPF32[i2 + 384 >> 2] = +HEAPF32[i1 + 380 >> 2];
+ HEAPF32[i2 + 388 >> 2] = +HEAPF32[i1 + 384 >> 2];
+ HEAPF32[i2 + 392 >> 2] = +HEAPF32[i1 + 388 >> 2];
+ HEAPF32[i2 + 396 >> 2] = +HEAPF32[i1 + 392 >> 2];
+ HEAPF32[i2 + 400 >> 2] = +HEAPF32[i1 + 396 >> 2];
+ HEAPF32[i2 + 404 >> 2] = +HEAPF32[i1 + 400 >> 2];
+ HEAPF32[i2 + 408 >> 2] = +HEAPF32[i1 + 404 >> 2];
+ HEAPF32[i2 + 412 >> 2] = +HEAPF32[i1 + 408 >> 2];
+ HEAPF32[i2 + 416 >> 2] = +HEAPF32[i1 + 412 >> 2];
+ HEAPF32[i2 + 420 >> 2] = +HEAPF32[i1 + 416 >> 2];
+ HEAPF32[i2 + 424 >> 2] = +HEAPF32[i1 + 420 >> 2];
+ HEAPF32[i2 + 428 >> 2] = +HEAPF32[i1 + 424 >> 2];
+ HEAPF32[i2 + 432 >> 2] = +HEAPF32[i1 + 428 >> 2];
+ HEAPF32[i2 + 436 >> 2] = +HEAPF32[i1 + 432 >> 2];
+ HEAPF32[i2 + 444 >> 2] = +HEAPF32[i1 + 436 >> 2];
+ HEAPF32[i2 + 448 >> 2] = +HEAPF32[i1 + 440 >> 2];
+ HEAP32[i2 + 476 >> 2] = HEAPU8[i1 + 444 | 0] | 0;
+ HEAPF32[i2 + 452 >> 2] = +HEAPF32[i1 + 448 >> 2];
+ HEAPF32[i2 + 456 >> 2] = +HEAPF32[i1 + 452 >> 2];
+ HEAPF32[i2 + 460 >> 2] = +HEAPF32[i1 + 456 >> 2];
+ HEAPF32[i2 + 464 >> 2] = +HEAPF32[i1 + 460 >> 2];
+ HEAPF32[i2 + 468 >> 2] = +HEAPF32[i1 + 464 >> 2];
+ HEAPF32[i2 + 472 >> 2] = +HEAPF32[i1 + 468 >> 2];
+ return 600;
+}
+function __ZN25btTriangleRaycastCallback15processTriangleEP9btVector3ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, i25 = 0, i26 = 0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, i31 = 0, i32 = 0, d33 = 0.0, d34 = 0.0, d35 = 0.0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 16 | 0;
+ d8 = +HEAPF32[i2 + 16 >> 2];
+ d9 = +HEAPF32[i2 >> 2];
+ d10 = d8 - d9;
+ d11 = +HEAPF32[i2 + 20 >> 2];
+ d12 = +HEAPF32[i2 + 4 >> 2];
+ d13 = d11 - d12;
+ d14 = +HEAPF32[i2 + 24 >> 2];
+ d15 = +HEAPF32[i2 + 8 >> 2];
+ d16 = d14 - d15;
+ d17 = +HEAPF32[i2 + 32 >> 2];
+ d18 = d17 - d9;
+ d19 = +HEAPF32[i2 + 36 >> 2];
+ d20 = d19 - d12;
+ d21 = +HEAPF32[i2 + 40 >> 2];
+ d22 = d21 - d15;
+ d23 = d13 * d22 - d16 * d20;
+ d24 = d16 * d18 - d10 * d22;
+ d22 = d10 * d20 - d13 * d18;
+ i2 = i6 | 0;
+ HEAPF32[i2 >> 2] = d23;
+ i25 = i6 + 4 | 0;
+ HEAPF32[i25 >> 2] = d24;
+ i26 = i6 + 8 | 0;
+ HEAPF32[i26 >> 2] = d22;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ d18 = d15 * d22 + (d9 * d23 + d12 * d24);
+ d13 = +HEAPF32[i1 + 4 >> 2];
+ d20 = +HEAPF32[i1 + 8 >> 2];
+ d10 = +HEAPF32[i1 + 12 >> 2];
+ d16 = d22 * d10 + (d13 * d23 + d20 * d24) - d18;
+ d27 = +HEAPF32[i1 + 20 >> 2];
+ d28 = +HEAPF32[i1 + 24 >> 2];
+ d29 = +HEAPF32[i1 + 28 >> 2];
+ d30 = d23 * d27 + d24 * d28 + d22 * d29 - d18;
+ if (d16 * d30 >= 0.0) {
+ STACKTOP = i5;
+ return;
+ }
+ i31 = HEAP32[i1 + 36 >> 2] | 0;
+ if ((i31 & 1 | 0) != 0 & d16 > 0.0) {
+ STACKTOP = i5;
+ return;
+ }
+ d18 = d16 / (d16 - d30);
+ i32 = i1 + 40 | 0;
+ if (d18 >= +HEAPF32[i32 >> 2]) {
+ STACKTOP = i5;
+ return;
+ }
+ d30 = d22 * d22 + (d23 * d23 + d24 * d24);
+ d33 = d30 * -9999999747378752.0e-20;
+ d34 = 1.0 - d18;
+ d35 = d27 * d18 + d13 * d34;
+ d13 = d28 * d18 + d20 * d34;
+ d20 = d29 * d18 + d10 * d34;
+ d34 = d9 - d35;
+ d9 = d12 - d13;
+ d12 = d15 - d20;
+ d15 = d8 - d35;
+ d8 = d11 - d13;
+ d11 = d14 - d20;
+ if (d22 * (d34 * d8 - d9 * d15) + (d23 * (d9 * d11 - d12 * d8) + d24 * (d12 * d15 - d34 * d11)) < d33) {
+ STACKTOP = i5;
+ return;
+ }
+ d14 = d17 - d35;
+ d35 = d19 - d13;
+ d13 = d21 - d20;
+ if (d22 * (d15 * d35 - d8 * d14) + (d23 * (d8 * d13 - d11 * d35) + d24 * (d11 * d14 - d15 * d13)) < d33) {
+ STACKTOP = i5;
+ return;
+ }
+ if (d22 * (d9 * d14 - d34 * d35) + (d23 * (d12 * d35 - d9 * d13) + d24 * (d34 * d13 - d12 * d14)) < d33) {
+ STACKTOP = i5;
+ return;
+ }
+ d33 = 1.0 / +Math_sqrt(+d30);
+ d30 = d23 * d33;
+ HEAPF32[i2 >> 2] = d30;
+ d23 = d24 * d33;
+ HEAPF32[i25 >> 2] = d23;
+ d24 = d22 * d33;
+ HEAPF32[i26 >> 2] = d24;
+ i26 = HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] | 0;
+ if ((i31 & 2 | 0) == 0 & d16 > 0.0) {
+ HEAPF32[i32 >> 2] = +FUNCTION_TABLE_fiifii[i26 & 7](i1, i6, d18, i3, i4);
+ STACKTOP = i5;
+ return;
+ } else {
+ HEAPF32[i7 >> 2] = -0.0 - d30;
+ HEAPF32[i7 + 4 >> 2] = -0.0 - d23;
+ HEAPF32[i7 + 8 >> 2] = -0.0 - d24;
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ HEAPF32[i32 >> 2] = +FUNCTION_TABLE_fiifii[i26 & 7](i1, i7, d18, i3, i4);
+ STACKTOP = i5;
+ return;
+ }
+}
+function __ZN9btHashMapI9btHashPtrP16btCollisionShapeE10growTablesERKS0_(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i2 = i1 + 48 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 + 4 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i5 | 0) >= (i3 | 0)) {
+ return;
+ }
+ if ((i5 | 0) <= (i3 | 0)) {
+ i6 = i1 + 8 | 0;
+ if ((HEAP32[i6 >> 2] | 0) < (i3 | 0)) {
+ if ((i3 | 0) == 0) {
+ i7 = 0;
+ i8 = i5;
+ } else {
+ i9 = __Z22btAlignedAllocInternalji(i3 << 2, 16) | 0;
+ i7 = i9;
+ i8 = HEAP32[i4 >> 2] | 0;
+ }
+ i9 = i1 + 12 | 0;
+ if ((i8 | 0) > 0) {
+ i10 = 0;
+ do {
+ i11 = i7 + (i10 << 2) | 0;
+ if ((i11 | 0) != 0) {
+ HEAP32[i11 >> 2] = HEAP32[(HEAP32[i9 >> 2] | 0) + (i10 << 2) >> 2];
+ }
+ i10 = i10 + 1 | 0;
+ } while ((i10 | 0) < (i8 | 0));
+ }
+ i8 = HEAP32[i9 >> 2] | 0;
+ i10 = i1 + 16 | 0;
+ if ((i8 | 0) != 0) {
+ if ((HEAP8[i10] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ HEAP32[i9 >> 2] = 0;
+ }
+ HEAP8[i10] = 1;
+ HEAP32[i9 >> 2] = i7;
+ HEAP32[i6 >> 2] = i3;
+ i12 = i7;
+ } else {
+ i12 = HEAP32[i1 + 12 >> 2] | 0;
+ }
+ i7 = i5;
+ do {
+ i6 = i12 + (i7 << 2) | 0;
+ if ((i6 | 0) != 0) {
+ HEAP32[i6 >> 2] = 0;
+ }
+ i7 = i7 + 1 | 0;
+ } while ((i7 | 0) < (i3 | 0));
+ }
+ HEAP32[i4 >> 2] = i3;
+ i4 = i1 + 24 | 0;
+ i7 = HEAP32[i4 >> 2] | 0;
+ if ((i7 | 0) < (i3 | 0)) {
+ i12 = i1 + 28 | 0;
+ if ((HEAP32[i12 >> 2] | 0) < (i3 | 0)) {
+ if ((i3 | 0) == 0) {
+ i13 = 0;
+ i14 = i7;
+ } else {
+ i6 = __Z22btAlignedAllocInternalji(i3 << 2, 16) | 0;
+ i13 = i6;
+ i14 = HEAP32[i4 >> 2] | 0;
+ }
+ i6 = i1 + 32 | 0;
+ if ((i14 | 0) > 0) {
+ i9 = 0;
+ do {
+ i10 = i13 + (i9 << 2) | 0;
+ if ((i10 | 0) != 0) {
+ HEAP32[i10 >> 2] = HEAP32[(HEAP32[i6 >> 2] | 0) + (i9 << 2) >> 2];
+ }
+ i9 = i9 + 1 | 0;
+ } while ((i9 | 0) < (i14 | 0));
+ }
+ i14 = HEAP32[i6 >> 2] | 0;
+ i9 = i1 + 36 | 0;
+ if ((i14 | 0) != 0) {
+ if ((HEAP8[i9] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i14);
+ }
+ HEAP32[i6 >> 2] = 0;
+ }
+ HEAP8[i9] = 1;
+ HEAP32[i6 >> 2] = i13;
+ HEAP32[i12 >> 2] = i3;
+ i15 = i13;
+ } else {
+ i15 = HEAP32[i1 + 32 >> 2] | 0;
+ }
+ i13 = i7;
+ do {
+ i7 = i15 + (i13 << 2) | 0;
+ if ((i7 | 0) != 0) {
+ HEAP32[i7 >> 2] = 0;
+ }
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i3 | 0));
+ }
+ HEAP32[i4 >> 2] = i3;
+ if ((i3 | 0) > 0) {
+ i4 = i3 << 2;
+ _memset(HEAP32[i1 + 12 >> 2] | 0, -1 | 0, i4 | 0);
+ _memset(HEAP32[i1 + 32 >> 2] | 0, -1 | 0, i4 | 0);
+ }
+ if ((i5 | 0) <= 0) {
+ return;
+ }
+ i4 = HEAP32[i1 + 72 >> 2] | 0;
+ i3 = HEAP32[i1 + 12 >> 2] | 0;
+ i13 = HEAP32[i1 + 32 >> 2] | 0;
+ i1 = 0;
+ do {
+ i15 = HEAP32[i4 + (i1 << 3) >> 2] | 0;
+ i7 = i15 + ~(i15 << 15) | 0;
+ i15 = (i7 >> 10 ^ i7) * 9 | 0;
+ i7 = i15 >> 6 ^ i15;
+ i15 = i7 + ~(i7 << 11) | 0;
+ i7 = i3 + (((i15 >> 16 ^ i15) & (HEAP32[i2 >> 2] | 0) - 1) << 2) | 0;
+ HEAP32[i13 + (i1 << 2) >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i7 >> 2] = i1;
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i5 | 0));
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var d5 = 0.0, i6 = 0, d7 = 0.0, i8 = 0, i9 = 0, d10 = 0.0, i11 = 0, i12 = 0, d13 = 0.0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0;
+ i1 = i4 + 84 | 0;
+ d5 = +HEAPF32[i1 >> 2];
+ i6 = i4 + 16 | 0;
+ d7 = +HEAPF32[i6 >> 2];
+ i8 = i2 + 504 | 0;
+ i9 = i4 + 20 | 0;
+ d10 = +HEAPF32[i9 >> 2];
+ i11 = i2 + 508 | 0;
+ i12 = i4 + 24 | 0;
+ d13 = +HEAPF32[i12 >> 2];
+ i14 = i2 + 512 | 0;
+ i15 = i2 + 520 | 0;
+ i16 = i2 + 524 | 0;
+ i17 = i2 + 528 | 0;
+ i18 = i3 + 504 | 0;
+ i19 = i3 + 508 | 0;
+ i20 = i3 + 512 | 0;
+ i21 = i3 + 520 | 0;
+ i22 = i3 + 524 | 0;
+ i23 = i3 + 528 | 0;
+ d24 = +HEAPF32[i4 + 92 >> 2];
+ d25 = +HEAPF32[i4 + 116 >> 2] - d5 * +HEAPF32[i4 + 120 >> 2] - (d7 * +HEAPF32[i8 >> 2] + d10 * +HEAPF32[i11 >> 2] + d13 * +HEAPF32[i14 >> 2] + (+HEAPF32[i4 >> 2] * +HEAPF32[i15 >> 2] + +HEAPF32[i4 + 4 >> 2] * +HEAPF32[i16 >> 2] + +HEAPF32[i4 + 8 >> 2] * +HEAPF32[i17 >> 2])) * d24 - d24 * (+HEAPF32[i4 + 32 >> 2] * +HEAPF32[i21 >> 2] + +HEAPF32[i4 + 36 >> 2] * +HEAPF32[i22 >> 2] + +HEAPF32[i4 + 40 >> 2] * +HEAPF32[i23 >> 2] - (d7 * +HEAPF32[i18 >> 2] + d10 * +HEAPF32[i19 >> 2] + d13 * +HEAPF32[i20 >> 2]));
+ d24 = d5 + d25;
+ d26 = +HEAPF32[i4 + 124 >> 2];
+ do {
+ if (d24 < d26) {
+ HEAPF32[i1 >> 2] = d26;
+ d27 = d26 - d5;
+ } else {
+ d28 = +HEAPF32[i4 + 128 >> 2];
+ if (d24 > d28) {
+ HEAPF32[i1 >> 2] = d28;
+ d27 = d28 - d5;
+ break;
+ } else {
+ HEAPF32[i1 >> 2] = d24;
+ d27 = d25;
+ break;
+ }
+ }
+ } while (0);
+ if (+HEAPF32[i2 + 336 >> 2] != 0.0) {
+ d25 = d27 * d10 * +HEAPF32[i2 + 556 >> 2];
+ d10 = d27 * d13 * +HEAPF32[i2 + 560 >> 2];
+ HEAPF32[i8 >> 2] = +HEAPF32[i8 >> 2] + d27 * d7 * +HEAPF32[i2 + 552 >> 2];
+ HEAPF32[i11 >> 2] = d25 + +HEAPF32[i11 >> 2];
+ HEAPF32[i14 >> 2] = d10 + +HEAPF32[i14 >> 2];
+ d10 = d27 * +HEAPF32[i2 + 540 >> 2] * +HEAPF32[i4 + 52 >> 2];
+ d25 = d27 * +HEAPF32[i2 + 544 >> 2] * +HEAPF32[i4 + 56 >> 2];
+ HEAPF32[i15 >> 2] = d27 * +HEAPF32[i2 + 536 >> 2] * +HEAPF32[i4 + 48 >> 2] + +HEAPF32[i15 >> 2];
+ HEAPF32[i16 >> 2] = d10 + +HEAPF32[i16 >> 2];
+ HEAPF32[i17 >> 2] = d25 + +HEAPF32[i17 >> 2];
+ }
+ if (+HEAPF32[i3 + 336 >> 2] == 0.0) {
+ return;
+ }
+ d25 = d27 * +HEAPF32[i3 + 556 >> 2] * (-0.0 - +HEAPF32[i9 >> 2]);
+ d10 = d27 * +HEAPF32[i3 + 560 >> 2] * (-0.0 - +HEAPF32[i12 >> 2]);
+ HEAPF32[i18 >> 2] = +HEAPF32[i18 >> 2] + d27 * +HEAPF32[i3 + 552 >> 2] * (-0.0 - +HEAPF32[i6 >> 2]);
+ HEAPF32[i19 >> 2] = d25 + +HEAPF32[i19 >> 2];
+ HEAPF32[i20 >> 2] = d10 + +HEAPF32[i20 >> 2];
+ d10 = d27 * +HEAPF32[i3 + 540 >> 2] * +HEAPF32[i4 + 68 >> 2];
+ d25 = d27 * +HEAPF32[i3 + 544 >> 2] * +HEAPF32[i4 + 72 >> 2];
+ HEAPF32[i21 >> 2] = d27 * +HEAPF32[i3 + 536 >> 2] * +HEAPF32[i4 + 64 >> 2] + +HEAPF32[i21 >> 2];
+ HEAPF32[i22 >> 2] = d10 + +HEAPF32[i22 >> 2];
+ HEAPF32[i23 >> 2] = d25 + +HEAPF32[i23 >> 2];
+ return;
+}
+function __ZN26btBoxBoxCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 152 | 0;
+ i7 = i6 | 0;
+ i8 = i6 + 136 | 0;
+ i9 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i9 | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ i10 = HEAP32[i2 + 192 >> 2] | 0;
+ i11 = HEAP32[i3 + 192 >> 2] | 0;
+ i12 = i5 + 4 | 0;
+ HEAP32[i12 >> 2] = i9;
+ HEAP32[i7 + 132 >> 2] = 0;
+ HEAPF32[i7 + 128 >> 2] = 999999984306749400.0;
+ i9 = i7;
+ i13 = i2 + 4 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i7 + 16 | 0;
+ i9 = i2 + 20 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i7 + 32 | 0;
+ i13 = i2 + 36 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i7 + 48 | 0;
+ i9 = i2 + 52 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i7 + 64 | 0;
+ i13 = i3 + 4 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i7 + 80 | 0;
+ i9 = i3 + 20 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i7 + 96 | 0;
+ i13 = i3 + 36 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i7 + 112 | 0;
+ i9 = i3 + 52 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ __ZN16btBoxBoxDetectorC2EP10btBoxShapeS1_(i8, i10, i11);
+ __ZN16btBoxBoxDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i8, i7, i5 | 0, HEAP32[i4 + 20 >> 2] | 0, 0);
+ if ((HEAP8[i1 + 8 | 0] | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ i1 = HEAP32[i12 >> 2] | 0;
+ if ((HEAP32[i1 + 1116 >> 2] | 0) == 0) {
+ STACKTOP = i6;
+ return;
+ }
+ if ((HEAP32[i1 + 1108 >> 2] | 0) == (HEAP32[i5 + 136 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i1, i5 + 8 | 0, i5 + 72 | 0);
+ STACKTOP = i6;
+ return;
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i1, i5 + 72 | 0, i5 + 8 | 0);
+ STACKTOP = i6;
+ return;
+ }
+}
+function __ZN22btCompoundLeafCallback7ProcessEPK10btDbvtNode(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 48 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 16 | 0;
+ i6 = i3 + 32 | 0;
+ i7 = HEAP32[i2 + 36 >> 2] | 0;
+ i8 = i1 + 4 | 0;
+ i9 = HEAP32[(HEAP32[(HEAP32[(HEAP32[i8 >> 2] | 0) + 192 >> 2] | 0) + 24 >> 2] | 0) + (i7 * 80 | 0) + 64 >> 2] | 0;
+ i10 = i1 + 16 | 0;
+ i11 = HEAP32[(HEAP32[i10 >> 2] | 0) + 20 >> 2] | 0;
+ if ((i11 | 0) == 0) {
+ __ZN22btCompoundLeafCallback17ProcessChildShapeEP16btCollisionShapei(i1, i9, i7);
+ STACKTOP = i3;
+ return;
+ }
+ if (((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i11 >> 2] | 0) + 48 >> 2] & 127](i11) | 0) & 2 | 0) == 0) {
+ __ZN22btCompoundLeafCallback17ProcessChildShapeEP16btCollisionShapei(i1, i9, i7);
+ STACKTOP = i3;
+ return;
+ }
+ i11 = HEAP32[i8 >> 2] | 0;
+ d12 = +HEAPF32[i11 + 4 >> 2];
+ d13 = +HEAPF32[i11 + 8 >> 2];
+ d14 = +HEAPF32[i11 + 12 >> 2];
+ d15 = +HEAPF32[i11 + 20 >> 2];
+ d16 = +HEAPF32[i11 + 24 >> 2];
+ d17 = +HEAPF32[i11 + 28 >> 2];
+ d18 = +HEAPF32[i11 + 36 >> 2];
+ d19 = +HEAPF32[i11 + 40 >> 2];
+ d20 = +HEAPF32[i11 + 44 >> 2];
+ d21 = +HEAPF32[i11 + 52 >> 2];
+ d22 = +HEAPF32[i11 + 56 >> 2];
+ d23 = +HEAPF32[i11 + 60 >> 2];
+ d24 = +HEAPF32[i2 + 16 >> 2];
+ d25 = +HEAPF32[i2 >> 2];
+ d26 = +HEAPF32[i2 + 20 >> 2];
+ d27 = +HEAPF32[i2 + 4 >> 2];
+ d28 = +HEAPF32[i2 + 24 >> 2];
+ d29 = +HEAPF32[i2 + 8 >> 2];
+ d30 = (d24 - d25) * .5 + 0.0;
+ d31 = (d26 - d27) * .5 + 0.0;
+ d32 = (d28 - d29) * .5 + 0.0;
+ d33 = (d24 + d25) * .5;
+ d25 = (d26 + d27) * .5;
+ d27 = (d28 + d29) * .5;
+ d29 = +Math_abs(+d12);
+ d28 = +Math_abs(+d13);
+ d26 = +Math_abs(+d14);
+ d24 = +Math_abs(+d15);
+ d34 = +Math_abs(+d16);
+ d35 = +Math_abs(+d17);
+ d36 = +Math_abs(+d18);
+ d37 = +Math_abs(+d19);
+ d38 = d21 + (d12 * d33 + d13 * d25 + d14 * d27);
+ d14 = d22 + (d15 * d33 + d16 * d25 + d17 * d27);
+ d17 = d23 + (d18 * d33 + d19 * d25 + d20 * d27);
+ d27 = d30 * d29 + d31 * d28 + d32 * d26;
+ d26 = d30 * d24 + d31 * d34 + d32 * d35;
+ d35 = d30 * d36 + d31 * d37 + d32 * +Math_abs(+d20);
+ HEAPF32[i4 >> 2] = d38 - d27;
+ HEAPF32[i4 + 4 >> 2] = d14 - d26;
+ HEAPF32[i4 + 8 >> 2] = d17 - d35;
+ HEAPF32[i4 + 12 >> 2] = 0.0;
+ HEAPF32[i5 >> 2] = d27 + d38;
+ HEAPF32[i5 + 4 >> 2] = d14 + d26;
+ HEAPF32[i5 + 8 >> 2] = d17 + d35;
+ HEAPF32[i5 + 12 >> 2] = 0.0;
+ i2 = HEAP32[(HEAP32[i10 >> 2] | 0) + 20 >> 2] | 0;
+ i10 = HEAP32[(HEAP32[i2 >> 2] | 0) + 52 >> 2] | 0;
+ HEAPF32[i6 >> 2] = 1.0;
+ HEAPF32[i6 + 4 >> 2] = 0.0;
+ HEAPF32[i6 + 8 >> 2] = 0.0;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiii[i10 & 127](i2, i4, i5, i6);
+ __ZN22btCompoundLeafCallback17ProcessChildShapeEP16btCollisionShapei(i1, i9, i7);
+ STACKTOP = i3;
+ return;
+}
+function __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeE10growTablesERKS0_(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i2 = i1 + 48 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 + 4 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i5 | 0) >= (i3 | 0)) {
+ return;
+ }
+ if ((i5 | 0) <= (i3 | 0)) {
+ i6 = i1 + 8 | 0;
+ if ((HEAP32[i6 >> 2] | 0) < (i3 | 0)) {
+ if ((i3 | 0) == 0) {
+ i7 = 0;
+ i8 = i5;
+ } else {
+ i9 = __Z22btAlignedAllocInternalji(i3 << 2, 16) | 0;
+ i7 = i9;
+ i8 = HEAP32[i4 >> 2] | 0;
+ }
+ i9 = i1 + 12 | 0;
+ if ((i8 | 0) > 0) {
+ i10 = 0;
+ do {
+ i11 = i7 + (i10 << 2) | 0;
+ if ((i11 | 0) != 0) {
+ HEAP32[i11 >> 2] = HEAP32[(HEAP32[i9 >> 2] | 0) + (i10 << 2) >> 2];
+ }
+ i10 = i10 + 1 | 0;
+ } while ((i10 | 0) < (i8 | 0));
+ }
+ i8 = HEAP32[i9 >> 2] | 0;
+ i10 = i1 + 16 | 0;
+ if ((i8 | 0) != 0) {
+ if ((HEAP8[i10] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ HEAP32[i9 >> 2] = 0;
+ }
+ HEAP8[i10] = 1;
+ HEAP32[i9 >> 2] = i7;
+ HEAP32[i6 >> 2] = i3;
+ i12 = i7;
+ } else {
+ i12 = HEAP32[i1 + 12 >> 2] | 0;
+ }
+ i7 = i5;
+ do {
+ i6 = i12 + (i7 << 2) | 0;
+ if ((i6 | 0) != 0) {
+ HEAP32[i6 >> 2] = 0;
+ }
+ i7 = i7 + 1 | 0;
+ } while ((i7 | 0) < (i3 | 0));
+ }
+ HEAP32[i4 >> 2] = i3;
+ i4 = i1 + 24 | 0;
+ i7 = HEAP32[i4 >> 2] | 0;
+ if ((i7 | 0) < (i3 | 0)) {
+ i12 = i1 + 28 | 0;
+ if ((HEAP32[i12 >> 2] | 0) < (i3 | 0)) {
+ if ((i3 | 0) == 0) {
+ i13 = 0;
+ i14 = i7;
+ } else {
+ i6 = __Z22btAlignedAllocInternalji(i3 << 2, 16) | 0;
+ i13 = i6;
+ i14 = HEAP32[i4 >> 2] | 0;
+ }
+ i6 = i1 + 32 | 0;
+ if ((i14 | 0) > 0) {
+ i9 = 0;
+ do {
+ i10 = i13 + (i9 << 2) | 0;
+ if ((i10 | 0) != 0) {
+ HEAP32[i10 >> 2] = HEAP32[(HEAP32[i6 >> 2] | 0) + (i9 << 2) >> 2];
+ }
+ i9 = i9 + 1 | 0;
+ } while ((i9 | 0) < (i14 | 0));
+ }
+ i14 = HEAP32[i6 >> 2] | 0;
+ i9 = i1 + 36 | 0;
+ if ((i14 | 0) != 0) {
+ if ((HEAP8[i9] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i14);
+ }
+ HEAP32[i6 >> 2] = 0;
+ }
+ HEAP8[i9] = 1;
+ HEAP32[i6 >> 2] = i13;
+ HEAP32[i12 >> 2] = i3;
+ i15 = i13;
+ } else {
+ i15 = HEAP32[i1 + 32 >> 2] | 0;
+ }
+ i13 = i7;
+ do {
+ i7 = i15 + (i13 << 2) | 0;
+ if ((i7 | 0) != 0) {
+ HEAP32[i7 >> 2] = 0;
+ }
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i3 | 0));
+ }
+ HEAP32[i4 >> 2] = i3;
+ if ((i3 | 0) > 0) {
+ i4 = i3 << 2;
+ _memset(HEAP32[i1 + 12 >> 2] | 0, -1 | 0, i4 | 0);
+ _memset(HEAP32[i1 + 32 >> 2] | 0, -1 | 0, i4 | 0);
+ }
+ if ((i5 | 0) <= 0) {
+ return;
+ }
+ i4 = HEAP32[i1 + 72 >> 2] | 0;
+ i3 = HEAP32[i1 + 12 >> 2] | 0;
+ i13 = HEAP32[i1 + 32 >> 2] | 0;
+ i1 = 0;
+ do {
+ i15 = i3 + (((HEAPU16[i4 + (i1 << 2) + 2 >> 1] << 16) + (HEAP16[i4 + (i1 << 2) >> 1] | 0) & (HEAP32[i2 >> 2] | 0) - 1) << 2) | 0;
+ HEAP32[i13 + (i1 << 2) >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i15 >> 2] = i1;
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i5 | 0));
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolver43resolveSplitPenetrationImpulseCacheFriendlyER11btRigidBodyS1_RK18btSolverConstraint(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var d5 = 0.0, d6 = 0.0, i7 = 0, d8 = 0.0, i9 = 0, i10 = 0, d11 = 0.0, i12 = 0, i13 = 0, d14 = 0.0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0;
+ d5 = +HEAPF32[i4 + 132 >> 2];
+ if (d5 == 0.0) {
+ return;
+ }
+ HEAP32[2988] = (HEAP32[2988] | 0) + 1;
+ i1 = i4 + 80 | 0;
+ d6 = +HEAPF32[i1 >> 2];
+ i7 = i4 + 16 | 0;
+ d8 = +HEAPF32[i7 >> 2];
+ i9 = i2 + 568 | 0;
+ i10 = i4 + 20 | 0;
+ d11 = +HEAPF32[i10 >> 2];
+ i12 = i2 + 572 | 0;
+ i13 = i4 + 24 | 0;
+ d14 = +HEAPF32[i13 >> 2];
+ i15 = i2 + 576 | 0;
+ i16 = i2 + 584 | 0;
+ i17 = i2 + 588 | 0;
+ i18 = i2 + 592 | 0;
+ i19 = i3 + 568 | 0;
+ i20 = i3 + 572 | 0;
+ i21 = i3 + 576 | 0;
+ i22 = i3 + 584 | 0;
+ i23 = i3 + 588 | 0;
+ i24 = i3 + 592 | 0;
+ d25 = +HEAPF32[i4 + 92 >> 2];
+ d26 = d5 - d6 * +HEAPF32[i4 + 120 >> 2] - (d8 * +HEAPF32[i9 >> 2] + d11 * +HEAPF32[i12 >> 2] + d14 * +HEAPF32[i15 >> 2] + (+HEAPF32[i4 >> 2] * +HEAPF32[i16 >> 2] + +HEAPF32[i4 + 4 >> 2] * +HEAPF32[i17 >> 2] + +HEAPF32[i4 + 8 >> 2] * +HEAPF32[i18 >> 2])) * d25 - d25 * (+HEAPF32[i4 + 32 >> 2] * +HEAPF32[i22 >> 2] + +HEAPF32[i4 + 36 >> 2] * +HEAPF32[i23 >> 2] + +HEAPF32[i4 + 40 >> 2] * +HEAPF32[i24 >> 2] - (d8 * +HEAPF32[i19 >> 2] + d11 * +HEAPF32[i20 >> 2] + d14 * +HEAPF32[i21 >> 2]));
+ d25 = d6 + d26;
+ d5 = +HEAPF32[i4 + 124 >> 2];
+ if (d25 < d5) {
+ d27 = d5 - d6;
+ d28 = d5;
+ } else {
+ d27 = d26;
+ d28 = d25;
+ }
+ HEAPF32[i1 >> 2] = d28;
+ if (+HEAPF32[i2 + 336 >> 2] != 0.0) {
+ d28 = d27 * d11 * +HEAPF32[i2 + 556 >> 2];
+ d11 = d27 * d14 * +HEAPF32[i2 + 560 >> 2];
+ HEAPF32[i9 >> 2] = +HEAPF32[i9 >> 2] + d27 * d8 * +HEAPF32[i2 + 552 >> 2];
+ HEAPF32[i12 >> 2] = d28 + +HEAPF32[i12 >> 2];
+ HEAPF32[i15 >> 2] = d11 + +HEAPF32[i15 >> 2];
+ d11 = d27 * +HEAPF32[i2 + 540 >> 2] * +HEAPF32[i4 + 52 >> 2];
+ d28 = d27 * +HEAPF32[i2 + 544 >> 2] * +HEAPF32[i4 + 56 >> 2];
+ HEAPF32[i16 >> 2] = d27 * +HEAPF32[i2 + 536 >> 2] * +HEAPF32[i4 + 48 >> 2] + +HEAPF32[i16 >> 2];
+ HEAPF32[i17 >> 2] = d11 + +HEAPF32[i17 >> 2];
+ HEAPF32[i18 >> 2] = d28 + +HEAPF32[i18 >> 2];
+ }
+ if (+HEAPF32[i3 + 336 >> 2] == 0.0) {
+ return;
+ }
+ d28 = d27 * +HEAPF32[i3 + 556 >> 2] * (-0.0 - +HEAPF32[i10 >> 2]);
+ d11 = d27 * +HEAPF32[i3 + 560 >> 2] * (-0.0 - +HEAPF32[i13 >> 2]);
+ HEAPF32[i19 >> 2] = +HEAPF32[i19 >> 2] + d27 * +HEAPF32[i3 + 552 >> 2] * (-0.0 - +HEAPF32[i7 >> 2]);
+ HEAPF32[i20 >> 2] = d28 + +HEAPF32[i20 >> 2];
+ HEAPF32[i21 >> 2] = d11 + +HEAPF32[i21 >> 2];
+ d11 = d27 * +HEAPF32[i3 + 540 >> 2] * +HEAPF32[i4 + 68 >> 2];
+ d28 = d27 * +HEAPF32[i3 + 544 >> 2] * +HEAPF32[i4 + 72 >> 2];
+ HEAPF32[i22 >> 2] = d27 * +HEAPF32[i3 + 536 >> 2] * +HEAPF32[i4 + 64 >> 2] + +HEAPF32[i22 >> 2];
+ HEAPF32[i23 >> 2] = d11 + +HEAPF32[i23 >> 2];
+ HEAPF32[i24 >> 2] = d28 + +HEAPF32[i24 >> 2];
+ return;
+}
+function __ZN24btConvexTriangleCallback22setTimeStepAndCountersEfRK16btDispatcherInfoP16btManifoldResult(i1, d2, i3, i4) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, i31 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i6 = i5 | 0;
+ HEAP32[i1 + 52 >> 2] = i3;
+ HEAPF32[i1 + 56 >> 2] = d2;
+ HEAP32[i1 + 44 >> 2] = i4;
+ i4 = HEAP32[i1 + 8 >> 2] | 0;
+ d7 = +HEAPF32[i4 + 4 >> 2];
+ d8 = +HEAPF32[i4 + 20 >> 2];
+ d9 = +HEAPF32[i4 + 36 >> 2];
+ d10 = +HEAPF32[i4 + 8 >> 2];
+ d11 = +HEAPF32[i4 + 24 >> 2];
+ d12 = +HEAPF32[i4 + 40 >> 2];
+ d13 = +HEAPF32[i4 + 12 >> 2];
+ d14 = +HEAPF32[i4 + 28 >> 2];
+ d15 = +HEAPF32[i4 + 44 >> 2];
+ d16 = -0.0 - +HEAPF32[i4 + 52 >> 2];
+ d17 = -0.0 - +HEAPF32[i4 + 56 >> 2];
+ d18 = -0.0 - +HEAPF32[i4 + 60 >> 2];
+ i4 = HEAP32[i1 + 4 >> 2] | 0;
+ d19 = +HEAPF32[i4 + 4 >> 2];
+ d20 = +HEAPF32[i4 + 20 >> 2];
+ d21 = +HEAPF32[i4 + 36 >> 2];
+ d22 = +HEAPF32[i4 + 8 >> 2];
+ d23 = +HEAPF32[i4 + 24 >> 2];
+ d24 = +HEAPF32[i4 + 40 >> 2];
+ d25 = +HEAPF32[i4 + 12 >> 2];
+ d26 = +HEAPF32[i4 + 28 >> 2];
+ d27 = +HEAPF32[i4 + 44 >> 2];
+ d28 = +HEAPF32[i4 + 52 >> 2];
+ d29 = +HEAPF32[i4 + 56 >> 2];
+ d30 = +HEAPF32[i4 + 60 >> 2];
+ HEAPF32[i6 >> 2] = d7 * d19 + d8 * d20 + d9 * d21;
+ HEAPF32[i6 + 4 >> 2] = d7 * d22 + d8 * d23 + d9 * d24;
+ HEAPF32[i6 + 8 >> 2] = d7 * d25 + d8 * d26 + d9 * d27;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ HEAPF32[i6 + 16 >> 2] = d10 * d19 + d11 * d20 + d12 * d21;
+ HEAPF32[i6 + 20 >> 2] = d10 * d22 + d11 * d23 + d12 * d24;
+ HEAPF32[i6 + 24 >> 2] = d10 * d25 + d11 * d26 + d12 * d27;
+ HEAPF32[i6 + 28 >> 2] = 0.0;
+ HEAPF32[i6 + 32 >> 2] = d13 * d19 + d14 * d20 + d15 * d21;
+ HEAPF32[i6 + 36 >> 2] = d13 * d22 + d14 * d23 + d15 * d24;
+ HEAPF32[i6 + 40 >> 2] = d13 * d25 + d14 * d26 + d15 * d27;
+ HEAPF32[i6 + 44 >> 2] = 0.0;
+ HEAPF32[i6 + 48 >> 2] = d7 * d16 + d8 * d17 + d9 * d18 + (d7 * d28 + d8 * d29 + d9 * d30);
+ HEAPF32[i6 + 52 >> 2] = d10 * d16 + d11 * d17 + d12 * d18 + (d10 * d28 + d11 * d29 + d12 * d30);
+ HEAPF32[i6 + 56 >> 2] = d13 * d16 + d14 * d17 + d15 * d18 + (d13 * d28 + d14 * d29 + d15 * d30);
+ HEAPF32[i6 + 60 >> 2] = 0.0;
+ i3 = HEAP32[i4 + 192 >> 2] | 0;
+ i4 = i1 + 12 | 0;
+ i31 = i1 + 28 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i3 >> 2] | 0) + 8 >> 2] & 127](i3, i6, i4, i31);
+ i6 = i31 | 0;
+ HEAPF32[i6 >> 2] = +HEAPF32[i6 >> 2] + d2;
+ i6 = i1 + 32 | 0;
+ HEAPF32[i6 >> 2] = +HEAPF32[i6 >> 2] + d2;
+ i6 = i1 + 36 | 0;
+ HEAPF32[i6 >> 2] = +HEAPF32[i6 >> 2] + d2;
+ i6 = i4 | 0;
+ HEAPF32[i6 >> 2] = +HEAPF32[i6 >> 2] - d2;
+ i6 = i1 + 16 | 0;
+ HEAPF32[i6 >> 2] = +HEAPF32[i6 >> 2] - d2;
+ i6 = i1 + 20 | 0;
+ HEAPF32[i6 >> 2] = +HEAPF32[i6 >> 2] - d2;
+ STACKTOP = i5;
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolver36resolveSingleConstraintRowLowerLimitER11btRigidBodyS1_RK18btSolverConstraint(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var d5 = 0.0, i6 = 0, d7 = 0.0, i8 = 0, i9 = 0, d10 = 0.0, i11 = 0, i12 = 0, d13 = 0.0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0;
+ i1 = i4 + 84 | 0;
+ d5 = +HEAPF32[i1 >> 2];
+ i6 = i4 + 16 | 0;
+ d7 = +HEAPF32[i6 >> 2];
+ i8 = i2 + 504 | 0;
+ i9 = i4 + 20 | 0;
+ d10 = +HEAPF32[i9 >> 2];
+ i11 = i2 + 508 | 0;
+ i12 = i4 + 24 | 0;
+ d13 = +HEAPF32[i12 >> 2];
+ i14 = i2 + 512 | 0;
+ i15 = i2 + 520 | 0;
+ i16 = i2 + 524 | 0;
+ i17 = i2 + 528 | 0;
+ i18 = i3 + 504 | 0;
+ i19 = i3 + 508 | 0;
+ i20 = i3 + 512 | 0;
+ i21 = i3 + 520 | 0;
+ i22 = i3 + 524 | 0;
+ i23 = i3 + 528 | 0;
+ d24 = +HEAPF32[i4 + 92 >> 2];
+ d25 = +HEAPF32[i4 + 116 >> 2] - d5 * +HEAPF32[i4 + 120 >> 2] - (d7 * +HEAPF32[i8 >> 2] + d10 * +HEAPF32[i11 >> 2] + d13 * +HEAPF32[i14 >> 2] + (+HEAPF32[i4 >> 2] * +HEAPF32[i15 >> 2] + +HEAPF32[i4 + 4 >> 2] * +HEAPF32[i16 >> 2] + +HEAPF32[i4 + 8 >> 2] * +HEAPF32[i17 >> 2])) * d24 - d24 * (+HEAPF32[i4 + 32 >> 2] * +HEAPF32[i21 >> 2] + +HEAPF32[i4 + 36 >> 2] * +HEAPF32[i22 >> 2] + +HEAPF32[i4 + 40 >> 2] * +HEAPF32[i23 >> 2] - (d7 * +HEAPF32[i18 >> 2] + d10 * +HEAPF32[i19 >> 2] + d13 * +HEAPF32[i20 >> 2]));
+ d24 = d5 + d25;
+ d26 = +HEAPF32[i4 + 124 >> 2];
+ if (d24 < d26) {
+ d27 = d26 - d5;
+ d28 = d26;
+ } else {
+ d27 = d25;
+ d28 = d24;
+ }
+ HEAPF32[i1 >> 2] = d28;
+ if (+HEAPF32[i2 + 336 >> 2] != 0.0) {
+ d28 = d27 * d10 * +HEAPF32[i2 + 556 >> 2];
+ d10 = d27 * d13 * +HEAPF32[i2 + 560 >> 2];
+ HEAPF32[i8 >> 2] = +HEAPF32[i8 >> 2] + d27 * d7 * +HEAPF32[i2 + 552 >> 2];
+ HEAPF32[i11 >> 2] = d28 + +HEAPF32[i11 >> 2];
+ HEAPF32[i14 >> 2] = d10 + +HEAPF32[i14 >> 2];
+ d10 = d27 * +HEAPF32[i2 + 540 >> 2] * +HEAPF32[i4 + 52 >> 2];
+ d28 = d27 * +HEAPF32[i2 + 544 >> 2] * +HEAPF32[i4 + 56 >> 2];
+ HEAPF32[i15 >> 2] = d27 * +HEAPF32[i2 + 536 >> 2] * +HEAPF32[i4 + 48 >> 2] + +HEAPF32[i15 >> 2];
+ HEAPF32[i16 >> 2] = d10 + +HEAPF32[i16 >> 2];
+ HEAPF32[i17 >> 2] = d28 + +HEAPF32[i17 >> 2];
+ }
+ if (+HEAPF32[i3 + 336 >> 2] == 0.0) {
+ return;
+ }
+ d28 = d27 * +HEAPF32[i3 + 556 >> 2] * (-0.0 - +HEAPF32[i9 >> 2]);
+ d10 = d27 * +HEAPF32[i3 + 560 >> 2] * (-0.0 - +HEAPF32[i12 >> 2]);
+ HEAPF32[i18 >> 2] = +HEAPF32[i18 >> 2] + d27 * +HEAPF32[i3 + 552 >> 2] * (-0.0 - +HEAPF32[i6 >> 2]);
+ HEAPF32[i19 >> 2] = d28 + +HEAPF32[i19 >> 2];
+ HEAPF32[i20 >> 2] = d10 + +HEAPF32[i20 >> 2];
+ d10 = d27 * +HEAPF32[i3 + 540 >> 2] * +HEAPF32[i4 + 68 >> 2];
+ d28 = d27 * +HEAPF32[i3 + 544 >> 2] * +HEAPF32[i4 + 72 >> 2];
+ HEAPF32[i21 >> 2] = d27 * +HEAPF32[i3 + 536 >> 2] * +HEAPF32[i4 + 64 >> 2] + +HEAPF32[i21 >> 2];
+ HEAPF32[i22 >> 2] = d10 + +HEAPF32[i22 >> 2];
+ HEAPF32[i23 >> 2] = d28 + +HEAPF32[i23 >> 2];
+ return;
+}
+function __ZN16btCollisionWorld18addCollisionObjectEP17btCollisionObjectss(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 96 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 64 | 0;
+ i8 = i5 + 80 | 0;
+ i9 = i1 + 8 | 0;
+ i10 = HEAP32[i9 >> 2] | 0;
+ i11 = i1 + 12 | 0;
+ do {
+ if ((i10 | 0) == (HEAP32[i11 >> 2] | 0)) {
+ i12 = (i10 | 0) == 0 ? 1 : i10 << 1;
+ if ((i10 | 0) >= (i12 | 0)) {
+ i13 = i10;
+ break;
+ }
+ if ((i12 | 0) == 0) {
+ i14 = 0;
+ i15 = i10;
+ } else {
+ i16 = __Z22btAlignedAllocInternalji(i12 << 2, 16) | 0;
+ i14 = i16;
+ i15 = HEAP32[i9 >> 2] | 0;
+ }
+ i16 = i1 + 16 | 0;
+ if ((i15 | 0) > 0) {
+ i17 = 0;
+ do {
+ i18 = i14 + (i17 << 2) | 0;
+ if ((i18 | 0) != 0) {
+ HEAP32[i18 >> 2] = HEAP32[(HEAP32[i16 >> 2] | 0) + (i17 << 2) >> 2];
+ }
+ i17 = i17 + 1 | 0;
+ } while ((i17 | 0) < (i15 | 0));
+ }
+ i17 = HEAP32[i16 >> 2] | 0;
+ i18 = i1 + 20 | 0;
+ if ((i17 | 0) == 0) {
+ i19 = i15;
+ } else {
+ if ((HEAP8[i18] | 0) == 0) {
+ i20 = i15;
+ } else {
+ __Z21btAlignedFreeInternalPv(i17);
+ i20 = HEAP32[i9 >> 2] | 0;
+ }
+ HEAP32[i16 >> 2] = 0;
+ i19 = i20;
+ }
+ HEAP8[i18] = 1;
+ HEAP32[i16 >> 2] = i14;
+ HEAP32[i11 >> 2] = i12;
+ i13 = i19;
+ } else {
+ i13 = i10;
+ }
+ } while (0);
+ i10 = (HEAP32[i1 + 16 >> 2] | 0) + (i13 << 2) | 0;
+ if ((i10 | 0) != 0) {
+ HEAP32[i10 >> 2] = i2;
+ }
+ HEAP32[i9 >> 2] = i13 + 1;
+ i13 = i6;
+ i9 = i2 + 4 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i6 + 16 | 0;
+ i13 = i2 + 20 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i6 + 32 | 0;
+ i9 = i2 + 36 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i6 + 48 | 0;
+ i13 = i2 + 52 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i2 + 192 | 0;
+ i9 = HEAP32[i13 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 8 >> 2] & 127](i9, i6, i7, i8);
+ i6 = HEAP32[i1 + 76 >> 2] | 0;
+ HEAP32[i2 + 188 >> 2] = FUNCTION_TABLE_iiiiiiiiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 8 >> 2] & 3](i6, i7, i8, HEAP32[(HEAP32[i13 >> 2] | 0) + 4 >> 2] | 0, i2, i3, i4, HEAP32[i1 + 24 >> 2] | 0, 0) | 0;
+ STACKTOP = i5;
+ return;
+}
+function __ZN28btTriangleConvexcastCallbackC2EPK13btConvexShapeRK11btTransformS5_S5_f(i1, i2, i3, i4, i5, d6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ d6 = +d6;
+ var i7 = 0;
+ HEAP32[i1 >> 2] = 2768;
+ HEAP32[i1 + 4 >> 2] = i2;
+ i2 = i1 + 8 | 0;
+ i7 = i3;
+ HEAP32[i2 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i1 + 24 | 0;
+ i2 = i3 + 16 | 0;
+ HEAP32[i7 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i1 + 40 | 0;
+ i7 = i3 + 32 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i1 + 56 | 0;
+ i2 = i3 + 48 | 0;
+ HEAP32[i7 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i1 + 72 | 0;
+ i7 = i4;
+ HEAP32[i2 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i1 + 88 | 0;
+ i2 = i4 + 16 | 0;
+ HEAP32[i7 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i1 + 104 | 0;
+ i7 = i4 + 32 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i1 + 120 | 0;
+ i2 = i4 + 48 | 0;
+ HEAP32[i7 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i1 + 136 | 0;
+ i7 = i5;
+ HEAP32[i2 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i1 + 152 | 0;
+ i2 = i5 + 16 | 0;
+ HEAP32[i7 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i1 + 168 | 0;
+ i7 = i5 + 32 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i1 + 184 | 0;
+ i2 = i5 + 48 | 0;
+ HEAP32[i7 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ HEAPF32[i1 + 200 >> 2] = 1.0;
+ HEAPF32[i1 + 204 >> 2] = d6;
+ HEAPF32[i1 + 208 >> 2] = 0.0;
+ return;
+}
+function __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallback18processConstraintsEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0;
+ i2 = i1 + 56 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 + 76 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i5 + i3 | 0) > 0) {
+ i6 = HEAP32[i1 + 8 >> 2] | 0;
+ i7 = HEAP32[(HEAP32[i6 >> 2] | 0) + 12 >> 2] | 0;
+ i8 = HEAP32[i1 + 44 >> 2] | 0;
+ i9 = i1 + 36 | 0;
+ i10 = HEAP32[i9 >> 2] | 0;
+ i11 = HEAP32[i1 + 64 >> 2] | 0;
+ i12 = HEAP32[i1 + 84 >> 2] | 0;
+ i13 = HEAP32[i1 + 4 >> 2] | 0;
+ i14 = HEAP32[i1 + 20 >> 2] | 0;
+ i15 = HEAP32[i1 + 24 >> 2] | 0;
+ i16 = HEAP32[i1 + 28 >> 2] | 0;
+ +FUNCTION_TABLE_fiiiiiiiiiii[i7 & 3](i6, i8, i10, i11, i3, i12, i5, i13, i14, i15, i16);
+ i17 = i9;
+ } else {
+ i17 = i1 + 36 | 0;
+ }
+ i9 = HEAP32[i17 >> 2] | 0;
+ if ((i9 | 0) < 0) {
+ i16 = i1 + 40 | 0;
+ i15 = i1 + 44 | 0;
+ if ((HEAP32[i16 >> 2] | 0) < 0) {
+ i14 = HEAP32[i15 >> 2] | 0;
+ i13 = i1 + 48 | 0;
+ if ((i14 | 0) != 0) {
+ if ((HEAP8[i13] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i14);
+ }
+ HEAP32[i15 >> 2] = 0;
+ }
+ HEAP8[i13] = 1;
+ HEAP32[i15 >> 2] = 0;
+ HEAP32[i16 >> 2] = 0;
+ i18 = i9;
+ } else {
+ i18 = i9;
+ }
+ do {
+ i9 = (HEAP32[i15 >> 2] | 0) + (i18 << 2) | 0;
+ if ((i9 | 0) != 0) {
+ HEAP32[i9 >> 2] = 0;
+ }
+ i18 = i18 + 1 | 0;
+ } while ((i18 | 0) < 0);
+ }
+ HEAP32[i17 >> 2] = 0;
+ i17 = HEAP32[i2 >> 2] | 0;
+ if ((i17 | 0) < 0) {
+ i18 = i1 + 60 | 0;
+ i15 = i1 + 64 | 0;
+ if ((HEAP32[i18 >> 2] | 0) < 0) {
+ i9 = HEAP32[i15 >> 2] | 0;
+ i16 = i1 + 68 | 0;
+ if ((i9 | 0) != 0) {
+ if ((HEAP8[i16] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i9);
+ }
+ HEAP32[i15 >> 2] = 0;
+ }
+ HEAP8[i16] = 1;
+ HEAP32[i15 >> 2] = 0;
+ HEAP32[i18 >> 2] = 0;
+ i19 = i17;
+ } else {
+ i19 = i17;
+ }
+ do {
+ i17 = (HEAP32[i15 >> 2] | 0) + (i19 << 2) | 0;
+ if ((i17 | 0) != 0) {
+ HEAP32[i17 >> 2] = 0;
+ }
+ i19 = i19 + 1 | 0;
+ } while ((i19 | 0) < 0);
+ }
+ HEAP32[i2 >> 2] = 0;
+ i2 = HEAP32[i4 >> 2] | 0;
+ if ((i2 | 0) >= 0) {
+ HEAP32[i4 >> 2] = 0;
+ return;
+ }
+ i19 = i1 + 80 | 0;
+ i15 = i1 + 84 | 0;
+ if ((HEAP32[i19 >> 2] | 0) < 0) {
+ i17 = HEAP32[i15 >> 2] | 0;
+ i18 = i1 + 88 | 0;
+ if ((i17 | 0) != 0) {
+ if ((HEAP8[i18] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i17);
+ }
+ HEAP32[i15 >> 2] = 0;
+ }
+ HEAP8[i18] = 1;
+ HEAP32[i15 >> 2] = 0;
+ HEAP32[i19 >> 2] = 0;
+ i20 = i2;
+ } else {
+ i20 = i2;
+ }
+ do {
+ i2 = (HEAP32[i15 >> 2] | 0) + (i20 << 2) | 0;
+ if ((i2 | 0) != 0) {
+ HEAP32[i2 >> 2] = 0;
+ }
+ i20 = i20 + 1 | 0;
+ } while ((i20 | 0) < 0);
+ HEAP32[i4 >> 2] = 0;
+ return;
+}
+function __ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0;
+ if ((i1 | 0) != (HEAP32[i2 + 8 >> 2] | 0)) {
+ i7 = i2 + 52 | 0;
+ i8 = HEAP8[i7] & 1;
+ i9 = i2 + 53 | 0;
+ i10 = HEAP8[i9] & 1;
+ i11 = HEAP32[i1 + 12 >> 2] | 0;
+ i12 = i1 + 16 + (i11 << 3) | 0;
+ HEAP8[i7] = 0;
+ HEAP8[i9] = 0;
+ i13 = HEAP32[i1 + 20 >> 2] | 0;
+ i14 = i13 >> 8;
+ if ((i13 & 1 | 0) == 0) {
+ i15 = i14;
+ } else {
+ i15 = HEAP32[(HEAP32[i4 >> 2] | 0) + i14 >> 2] | 0;
+ }
+ i14 = HEAP32[i1 + 16 >> 2] | 0;
+ FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i14 >> 2] | 0) + 20 >> 2] & 15](i14, i2, i3, i4 + i15 | 0, (i13 & 2 | 0) != 0 ? i5 : 2, i6);
+ L2889 : do {
+ if ((i11 | 0) > 1) {
+ i13 = i2 + 24 | 0;
+ i15 = i1 + 8 | 0;
+ i14 = i2 + 54 | 0;
+ i16 = i4;
+ i17 = i1 + 24 | 0;
+ do {
+ if ((HEAP8[i14] & 1) != 0) {
+ break L2889;
+ }
+ do {
+ if ((HEAP8[i7] & 1) == 0) {
+ if ((HEAP8[i9] & 1) == 0) {
+ break;
+ }
+ if ((HEAP32[i15 >> 2] & 1 | 0) == 0) {
+ break L2889;
+ }
+ } else {
+ if ((HEAP32[i13 >> 2] | 0) == 1) {
+ break L2889;
+ }
+ if ((HEAP32[i15 >> 2] & 2 | 0) == 0) {
+ break L2889;
+ }
+ }
+ } while (0);
+ HEAP8[i7] = 0;
+ HEAP8[i9] = 0;
+ i18 = HEAP32[i17 + 4 >> 2] | 0;
+ i19 = i18 >> 8;
+ if ((i18 & 1 | 0) == 0) {
+ i20 = i19;
+ } else {
+ i20 = HEAP32[(HEAP32[i16 >> 2] | 0) + i19 >> 2] | 0;
+ }
+ i19 = HEAP32[i17 >> 2] | 0;
+ FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i19 >> 2] | 0) + 20 >> 2] & 15](i19, i2, i3, i4 + i20 | 0, (i18 & 2 | 0) != 0 ? i5 : 2, i6);
+ i17 = i17 + 8 | 0;
+ } while (i17 >>> 0 < i12 >>> 0);
+ }
+ } while (0);
+ HEAP8[i7] = i8;
+ HEAP8[i9] = i10;
+ return;
+ }
+ HEAP8[i2 + 53 | 0] = 1;
+ if ((HEAP32[i2 + 4 >> 2] | 0) != (i4 | 0)) {
+ return;
+ }
+ HEAP8[i2 + 52 | 0] = 1;
+ i4 = i2 + 16 | 0;
+ i10 = HEAP32[i4 >> 2] | 0;
+ if ((i10 | 0) == 0) {
+ HEAP32[i4 >> 2] = i3;
+ HEAP32[i2 + 24 >> 2] = i5;
+ HEAP32[i2 + 36 >> 2] = 1;
+ if (!((HEAP32[i2 + 48 >> 2] | 0) == 1 & (i5 | 0) == 1)) {
+ return;
+ }
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+ }
+ if ((i10 | 0) != (i3 | 0)) {
+ i3 = i2 + 36 | 0;
+ HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1;
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+ }
+ i3 = i2 + 24 | 0;
+ i10 = HEAP32[i3 >> 2] | 0;
+ if ((i10 | 0) == 2) {
+ HEAP32[i3 >> 2] = i5;
+ i21 = i5;
+ } else {
+ i21 = i10;
+ }
+ if (!((HEAP32[i2 + 48 >> 2] | 0) == 1 & (i21 | 0) == 1)) {
+ return;
+ }
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+}
+function __ZN16btBoxBoxDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, i14 = 0, d15 = 0.0, d16 = 0.0, d17 = 0.0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 160 | 0;
+ i4 = i5 | 0;
+ i6 = i5 + 48 | 0;
+ i7 = i5 + 128 | 0;
+ i8 = i5 + 144 | 0;
+ i9 = i4 | 0;
+ HEAPF32[i9 >> 2] = +HEAPF32[i2 >> 2];
+ i10 = i6 | 0;
+ HEAPF32[i10 >> 2] = +HEAPF32[i2 + 64 >> 2];
+ HEAPF32[i4 + 4 >> 2] = +HEAPF32[i2 + 4 >> 2];
+ HEAPF32[i6 + 4 >> 2] = +HEAPF32[i2 + 68 >> 2];
+ HEAPF32[i4 + 8 >> 2] = +HEAPF32[i2 + 8 >> 2];
+ HEAPF32[i6 + 8 >> 2] = +HEAPF32[i2 + 72 >> 2];
+ HEAPF32[i4 + 16 >> 2] = +HEAPF32[i2 + 16 >> 2];
+ HEAPF32[i6 + 16 >> 2] = +HEAPF32[i2 + 80 >> 2];
+ HEAPF32[i4 + 20 >> 2] = +HEAPF32[i2 + 20 >> 2];
+ HEAPF32[i6 + 20 >> 2] = +HEAPF32[i2 + 84 >> 2];
+ HEAPF32[i4 + 24 >> 2] = +HEAPF32[i2 + 24 >> 2];
+ HEAPF32[i6 + 24 >> 2] = +HEAPF32[i2 + 88 >> 2];
+ HEAPF32[i4 + 32 >> 2] = +HEAPF32[i2 + 32 >> 2];
+ HEAPF32[i6 + 32 >> 2] = +HEAPF32[i2 + 96 >> 2];
+ HEAPF32[i4 + 36 >> 2] = +HEAPF32[i2 + 36 >> 2];
+ HEAPF32[i6 + 36 >> 2] = +HEAPF32[i2 + 100 >> 2];
+ HEAPF32[i4 + 40 >> 2] = +HEAPF32[i2 + 40 >> 2];
+ HEAPF32[i6 + 40 >> 2] = +HEAPF32[i2 + 104 >> 2];
+ i6 = HEAP32[i1 + 4 >> 2] | 0;
+ d11 = +HEAPF32[i6 + 28 >> 2];
+ d12 = +HEAPF32[i6 + 32 >> 2];
+ d13 = +HEAPF32[i6 + 36 >> 2];
+ i4 = i6 | 0;
+ i14 = i6;
+ d15 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i14 >> 2] | 0) + 44 >> 2] & 7](i4);
+ d16 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i14 >> 2] | 0) + 44 >> 2] & 7](i4);
+ d17 = (d13 + +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i14 >> 2] | 0) + 44 >> 2] & 7](i4)) * 2.0;
+ HEAPF32[i7 >> 2] = (d11 + d15) * 2.0;
+ HEAPF32[i7 + 4 >> 2] = (d12 + d16) * 2.0;
+ HEAPF32[i7 + 8 >> 2] = d17;
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ i4 = HEAP32[i1 + 8 >> 2] | 0;
+ d17 = +HEAPF32[i4 + 28 >> 2];
+ d16 = +HEAPF32[i4 + 32 >> 2];
+ d12 = +HEAPF32[i4 + 36 >> 2];
+ i1 = i4 | 0;
+ i14 = i4;
+ d15 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i14 >> 2] | 0) + 44 >> 2] & 7](i1);
+ d11 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i14 >> 2] | 0) + 44 >> 2] & 7](i1);
+ d13 = (d12 + +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i14 >> 2] | 0) + 44 >> 2] & 7](i1)) * 2.0;
+ HEAPF32[i8 >> 2] = (d17 + d15) * 2.0;
+ HEAPF32[i8 + 4 >> 2] = (d16 + d11) * 2.0;
+ HEAPF32[i8 + 8 >> 2] = d13;
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ __Z8dBoxBox2RK9btVector3PKfS1_S1_S3_S1_RS_PfPiiP12dContactGeomiRN36btDiscreteCollisionDetectorInterface6ResultE(i2 + 48 | 0, i9, i7, i2 + 112 | 0, i10, i8, i5 + 96 | 0, i5 + 112 | 0, i5 + 120 | 0, 4, 0, 0, i3) | 0;
+ STACKTOP = i5;
+ return;
+}
+function __ZN32btSphereSphereCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i6 = i4 | 0;
+ i7 = i4 + 16 | 0;
+ i8 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i8 | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ i1 = i5 + 4 | 0;
+ HEAP32[i1 >> 2] = i8;
+ i9 = HEAP32[i2 + 192 >> 2] | 0;
+ i10 = HEAP32[i3 + 192 >> 2] | 0;
+ d11 = +HEAPF32[i3 + 52 >> 2];
+ d12 = +HEAPF32[i2 + 52 >> 2] - d11;
+ d13 = +HEAPF32[i3 + 56 >> 2];
+ d14 = +HEAPF32[i2 + 56 >> 2] - d13;
+ d15 = +HEAPF32[i3 + 60 >> 2];
+ d16 = +HEAPF32[i2 + 60 >> 2] - d15;
+ d17 = +Math_sqrt(+(d12 * d12 + d14 * d14 + d16 * d16));
+ d18 = +HEAPF32[i10 + 28 >> 2] * +HEAPF32[i10 + 12 >> 2];
+ d19 = +HEAPF32[i9 + 28 >> 2] * +HEAPF32[i9 + 12 >> 2] + d18;
+ if (d17 > d19) {
+ if ((HEAP32[i8 + 1116 >> 2] | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ if ((HEAP32[i8 + 1108 >> 2] | 0) == (HEAP32[i5 + 136 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i8, i5 + 8 | 0, i5 + 72 | 0);
+ STACKTOP = i4;
+ return;
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i8, i5 + 72 | 0, i5 + 8 | 0);
+ STACKTOP = i4;
+ return;
+ }
+ }
+ i8 = i6 | 0;
+ HEAPF32[i8 >> 2] = 1.0;
+ i9 = i6 + 4 | 0;
+ HEAPF32[i9 >> 2] = 0.0;
+ i10 = i6 + 8 | 0;
+ HEAPF32[i10 >> 2] = 0.0;
+ i2 = i6 + 12 | 0;
+ HEAPF32[i2 >> 2] = 0.0;
+ if (d17 > 1.1920928955078125e-7) {
+ d20 = 1.0 / d17;
+ d21 = d12 * d20;
+ d12 = d14 * d20;
+ d14 = d16 * d20;
+ HEAPF32[i8 >> 2] = d21;
+ HEAPF32[i9 >> 2] = d12;
+ HEAPF32[i10 >> 2] = d14;
+ HEAPF32[i2 >> 2] = 0.0;
+ d22 = d21;
+ d23 = d12;
+ d24 = d14;
+ } else {
+ d22 = 1.0;
+ d23 = 0.0;
+ d24 = 0.0;
+ }
+ HEAPF32[i7 >> 2] = d11 + d18 * d22;
+ HEAPF32[i7 + 4 >> 2] = d13 + d18 * d23;
+ HEAPF32[i7 + 8 >> 2] = d15 + d18 * d24;
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viiif[HEAP32[(HEAP32[i5 >> 2] | 0) + 16 >> 2] & 15](i5, i6, i7, d17 - d19);
+ i7 = HEAP32[i1 >> 2] | 0;
+ if ((HEAP32[i7 + 1116 >> 2] | 0) == 0) {
+ STACKTOP = i4;
+ return;
+ }
+ if ((HEAP32[i7 + 1108 >> 2] | 0) == (HEAP32[i5 + 136 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i7, i5 + 8 | 0, i5 + 72 | 0);
+ STACKTOP = i4;
+ return;
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i7, i5 + 72 | 0, i5 + 8 | 0);
+ STACKTOP = i4;
+ return;
+ }
+}
+function __ZN23btDiscreteDynamicsWorld26calculateSimulationIslandsEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(176);
+ i2 = i1 + 176 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i3 >> 2] | 0) + 8 >> 2] & 127](i3, i4, HEAP32[i1 + 24 >> 2] | 0);
+ i3 = HEAP32[i1 + 184 >> 2] | 0;
+ if ((i3 | 0) > 0) {
+ i5 = HEAP32[i1 + 192 >> 2] | 0;
+ i1 = 0;
+ do {
+ i6 = HEAP32[i5 + (i1 << 2) >> 2] | 0;
+ i7 = HEAP32[i6 + 24 >> 2] | 0;
+ i8 = HEAP32[i6 + 28 >> 2] | 0;
+ do {
+ if ((i7 | 0) != 0) {
+ if ((HEAP32[i7 + 204 >> 2] & 3 | 0) != 0 | (i8 | 0) == 0) {
+ break;
+ }
+ if ((HEAP32[i8 + 204 >> 2] & 3 | 0) != 0) {
+ break;
+ }
+ i6 = HEAP32[i7 + 216 >> 2] | 0;
+ if ((i6 | 0) == 5 | (i6 | 0) == 2) {
+ i6 = HEAP32[i8 + 216 >> 2] | 0;
+ if ((i6 | 0) == 5 | (i6 | 0) == 2) {
+ break;
+ }
+ }
+ i6 = HEAP32[i7 + 208 >> 2] | 0;
+ i9 = HEAP32[i8 + 208 >> 2] | 0;
+ i10 = HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] | 0;
+ i11 = i10 + (i6 << 3) | 0;
+ i12 = HEAP32[i11 >> 2] | 0;
+ if ((i12 | 0) == (i6 | 0)) {
+ i13 = i6;
+ } else {
+ i6 = i11;
+ i11 = i12;
+ while (1) {
+ i12 = i10 + (i11 << 3) | 0;
+ HEAP32[i6 >> 2] = HEAP32[i12 >> 2];
+ i14 = HEAP32[i12 >> 2] | 0;
+ i12 = i10 + (i14 << 3) | 0;
+ i15 = HEAP32[i12 >> 2] | 0;
+ if ((i14 | 0) == (i15 | 0)) {
+ i13 = i14;
+ break;
+ } else {
+ i6 = i12;
+ i11 = i15;
+ }
+ }
+ }
+ i11 = i10 + (i9 << 3) | 0;
+ i6 = HEAP32[i11 >> 2] | 0;
+ if ((i6 | 0) == (i9 | 0)) {
+ i16 = i9;
+ } else {
+ i15 = i11;
+ i11 = i6;
+ while (1) {
+ i6 = i10 + (i11 << 3) | 0;
+ HEAP32[i15 >> 2] = HEAP32[i6 >> 2];
+ i12 = HEAP32[i6 >> 2] | 0;
+ i6 = i10 + (i12 << 3) | 0;
+ i14 = HEAP32[i6 >> 2] | 0;
+ if ((i12 | 0) == (i14 | 0)) {
+ i16 = i12;
+ break;
+ } else {
+ i15 = i6;
+ i11 = i14;
+ }
+ }
+ }
+ if ((i13 | 0) == (i16 | 0)) {
+ break;
+ }
+ HEAP32[i10 + (i13 << 3) >> 2] = i16;
+ i11 = i10 + (i16 << 3) + 4 | 0;
+ HEAP32[i11 >> 2] = (HEAP32[i11 >> 2] | 0) + (HEAP32[i10 + (i13 << 3) + 4 >> 2] | 0);
+ }
+ } while (0);
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i3 | 0));
+ }
+ i3 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 12 >> 2] & 127](i3, i4);
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld23synchronizeMotionStatesEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 128 | 0;
+ i3 = i2 | 0;
+ i4 = i2 + 64 | 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(936);
+ if ((HEAP8[i1 + 242 | 0] | 0) == 0) {
+ i5 = i1 + 204 | 0;
+ i6 = HEAP32[i5 >> 2] | 0;
+ if ((i6 | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i2;
+ return;
+ }
+ i7 = i1 + 212 | 0;
+ i8 = i1 + 236 | 0;
+ i9 = 0;
+ i10 = i6;
+ while (1) {
+ i6 = HEAP32[(HEAP32[i7 >> 2] | 0) + (i9 << 2) >> 2] | 0;
+ i11 = HEAP32[i6 + 216 >> 2] | 0;
+ do {
+ if ((i11 | 0) == 5 | (i11 | 0) == 2) {
+ i12 = i10;
+ } else {
+ i13 = i6 + 472 | 0;
+ if ((HEAP32[i13 >> 2] | 0) == 0) {
+ i12 = i10;
+ break;
+ }
+ if ((HEAP32[i6 + 204 >> 2] & 3 | 0) != 0) {
+ i12 = i10;
+ break;
+ }
+ __ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(i6 + 68 | 0, i6 + 132 | 0, i6 + 148 | 0, +HEAPF32[i8 >> 2] * +HEAPF32[i6 + 240 >> 2], i4);
+ i14 = HEAP32[i13 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i14 >> 2] | 0) + 12 >> 2] & 127](i14, i4);
+ i12 = HEAP32[i5 >> 2] | 0;
+ }
+ } while (0);
+ i6 = i9 + 1 | 0;
+ if ((i6 | 0) < (i12 | 0)) {
+ i9 = i6;
+ i10 = i12;
+ } else {
+ break;
+ }
+ }
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i2;
+ return;
+ } else {
+ i12 = i1 + 8 | 0;
+ i10 = HEAP32[i12 >> 2] | 0;
+ if ((i10 | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i2;
+ return;
+ }
+ i9 = i1 + 16 | 0;
+ i5 = i1 + 236 | 0;
+ i1 = 0;
+ i4 = i10;
+ while (1) {
+ i10 = HEAP32[(HEAP32[i9 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ do {
+ if ((HEAP32[i10 + 232 >> 2] & 2 | 0) == 0 | (i10 | 0) == 0) {
+ i15 = i4;
+ } else {
+ i8 = i10 + 472 | 0;
+ if ((HEAP32[i8 >> 2] | 0) == 0) {
+ i15 = i4;
+ break;
+ }
+ if ((HEAP32[i10 + 204 >> 2] & 3 | 0) != 0) {
+ i15 = i4;
+ break;
+ }
+ __ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(i10 + 68 | 0, i10 + 132 | 0, i10 + 148 | 0, +HEAPF32[i5 >> 2] * +HEAPF32[i10 + 240 >> 2], i3);
+ i7 = HEAP32[i8 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i7 >> 2] | 0) + 12 >> 2] & 127](i7, i3);
+ i15 = HEAP32[i12 >> 2] | 0;
+ }
+ } while (0);
+ i10 = i1 + 1 | 0;
+ if ((i10 | 0) < (i15 | 0)) {
+ i1 = i10;
+ i4 = i15;
+ } else {
+ break;
+ }
+ }
+ __ZN15CProfileManager12Stop_ProfileEv();
+ STACKTOP = i2;
+ return;
+ }
+}
+function __ZN28btTriangleConvexcastCallback15processTriangleEP9btVector3ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 672 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 104 | 0;
+ i8 = i5 + 464 | 0;
+ i9 = i5 + 472 | 0;
+ i10 = i5 + 496 | 0;
+ i11 = i6 | 0;
+ __ZN23btPolyhedralConvexShapeC2Ev(i11);
+ HEAP32[i6 >> 2] = 4560;
+ HEAP32[i6 + 4 >> 2] = 1;
+ i12 = i6 + 56 | 0;
+ i13 = i2;
+ HEAP32[i12 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i12 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i6 + 72 | 0;
+ i12 = i2 + 16 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i12 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i12 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i12 + 12 >> 2];
+ i12 = i6 + 88 | 0;
+ i13 = i2 + 32 | 0;
+ HEAP32[i12 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i12 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ HEAPF32[i6 + 44 >> 2] = +HEAPF32[i1 + 204 >> 2];
+ HEAPF32[i7 + 308 >> 2] = 9999999747378752.0e-20;
+ HEAP16[i7 + 332 >> 1] = 0;
+ HEAP32[i8 >> 2] = 2696;
+ __ZN27btContinuousConvexCollisionC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i9, HEAP32[i1 + 4 >> 2] | 0, i6 | 0, i7, i8 | 0);
+ HEAP32[i10 >> 2] = 2280;
+ i8 = i10 + 164 | 0;
+ HEAP32[i10 + 168 >> 2] = 0;
+ HEAPF32[i8 >> 2] = 1.0;
+ HEAPF32[i10 + 172 >> 2] = +HEAPF32[i1 + 208 >> 2];
+ i7 = i1 + 136 | 0;
+ do {
+ if (__ZN27btContinuousConvexCollision16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(i9, i1 + 8 | 0, i1 + 72 | 0, i7, i7, i10) | 0) {
+ i6 = i10 + 132 | 0;
+ i13 = i6 | 0;
+ d14 = +HEAPF32[i13 >> 2];
+ i12 = i10 + 136 | 0;
+ d15 = +HEAPF32[i12 >> 2];
+ i2 = i10 + 140 | 0;
+ d16 = +HEAPF32[i2 >> 2];
+ d17 = d14 * d14 + d15 * d15 + d16 * d16;
+ if (d17 <= 9999999747378752.0e-20) {
+ break;
+ }
+ d18 = +HEAPF32[i8 >> 2];
+ if (d18 >= +HEAPF32[i1 + 200 >> 2]) {
+ break;
+ }
+ d19 = 1.0 / +Math_sqrt(+d17);
+ HEAPF32[i13 >> 2] = d14 * d19;
+ HEAPF32[i12 >> 2] = d15 * d19;
+ HEAPF32[i2 >> 2] = d16 * d19;
+ i2 = HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] | 0;
+ i12 = i10 + 148 | 0;
+ +FUNCTION_TABLE_fiiifii[i2 & 7](i1, i6, i12, d18, i3, i4);
+ }
+ } while (0);
+ __ZN12btConvexCastD2Ev(i9 | 0);
+ __ZN23btPolyhedralConvexShapeD2Ev(i11);
+ STACKTOP = i5;
+ return;
+}
+function __ZN11btRigidBody12applyDampingEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var d3 = 0.0, d4 = 0.0, i5 = 0, d6 = 0.0, i7 = 0, d8 = 0.0, i9 = 0, d10 = 0.0, d11 = 0.0, i12 = 0, i13 = 0, d14 = 0.0, i15 = 0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0;
+ d3 = +HEAPF32[i1 + 436 >> 2];
+ d4 = +Math_pow(+(1.0 - d3), +d2);
+ i5 = i1 + 304 | 0;
+ d6 = d4 * +HEAPF32[i5 >> 2];
+ HEAPF32[i5 >> 2] = d6;
+ i7 = i1 + 308 | 0;
+ d8 = d4 * +HEAPF32[i7 >> 2];
+ HEAPF32[i7 >> 2] = d8;
+ i9 = i1 + 312 | 0;
+ d10 = d4 * +HEAPF32[i9 >> 2];
+ HEAPF32[i9 >> 2] = d10;
+ d4 = +HEAPF32[i1 + 440 >> 2];
+ d11 = +Math_pow(+(1.0 - d4), +d2);
+ i12 = i1 + 320 | 0;
+ d2 = d11 * +HEAPF32[i12 >> 2];
+ HEAPF32[i12 >> 2] = d2;
+ i13 = i1 + 324 | 0;
+ d14 = d11 * +HEAPF32[i13 >> 2];
+ HEAPF32[i13 >> 2] = d14;
+ i15 = i1 + 328 | 0;
+ d16 = d11 * +HEAPF32[i15 >> 2];
+ HEAPF32[i15 >> 2] = d16;
+ if ((HEAP8[i1 + 444 | 0] | 0) == 0) {
+ return;
+ }
+ do {
+ if (d16 * d16 + (d2 * d2 + d14 * d14) < +HEAPF32[i1 + 456 >> 2]) {
+ if (d6 * d6 + d8 * d8 + d10 * d10 >= +HEAPF32[i1 + 452 >> 2]) {
+ d17 = d6;
+ d18 = d8;
+ d19 = d10;
+ d20 = d2;
+ d21 = d14;
+ d22 = d16;
+ break;
+ }
+ d11 = +HEAPF32[i1 + 448 >> 2];
+ d23 = d2 * d11;
+ HEAPF32[i12 >> 2] = d23;
+ d24 = d14 * d11;
+ HEAPF32[i13 >> 2] = d24;
+ d25 = d16 * d11;
+ HEAPF32[i15 >> 2] = d25;
+ d26 = d6 * d11;
+ HEAPF32[i5 >> 2] = d26;
+ d27 = d8 * d11;
+ HEAPF32[i7 >> 2] = d27;
+ d28 = d10 * d11;
+ HEAPF32[i9 >> 2] = d28;
+ d17 = d26;
+ d18 = d27;
+ d19 = d28;
+ d20 = d23;
+ d21 = d24;
+ d22 = d25;
+ } else {
+ d17 = d6;
+ d18 = d8;
+ d19 = d10;
+ d20 = d2;
+ d21 = d14;
+ d22 = d16;
+ }
+ } while (0);
+ d16 = +Math_sqrt(+(d19 * d19 + (d18 * d18 + d17 * d17)));
+ do {
+ if (d16 < d3) {
+ if (d16 > .004999999888241291) {
+ d14 = 1.0 / d16;
+ HEAPF32[i5 >> 2] = d17 - d17 * d14 * .004999999888241291;
+ HEAPF32[i7 >> 2] = d18 - d18 * d14 * .004999999888241291;
+ HEAPF32[i9 >> 2] = d19 - d19 * d14 * .004999999888241291;
+ break;
+ } else {
+ _memset(i5 | 0, 0, 16);
+ break;
+ }
+ }
+ } while (0);
+ d19 = +Math_sqrt(+(d22 * d22 + (d21 * d21 + d20 * d20)));
+ if (d19 >= d4) {
+ return;
+ }
+ if (d19 > .004999999888241291) {
+ d4 = 1.0 / d19;
+ HEAPF32[i12 >> 2] = d20 - d20 * d4 * .004999999888241291;
+ HEAPF32[i13 >> 2] = d21 - d21 * d4 * .004999999888241291;
+ HEAPF32[i15 >> 2] = d22 - d22 * d4 * .004999999888241291;
+ return;
+ } else {
+ _memset(i12 | 0, 0, 16);
+ return;
+ }
+}
+function __ZNK20btConvexHullInternal10Rational647compareERKS0_(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0;
+ i3 = HEAP32[i1 + 16 >> 2] | 0;
+ i4 = HEAP32[i2 + 16 >> 2] | 0;
+ if ((i3 | 0) != (i4 | 0)) {
+ i5 = i3 - i4 | 0;
+ return i5 | 0;
+ }
+ if ((i3 | 0) == 0) {
+ i5 = 0;
+ return i5 | 0;
+ }
+ i4 = i1 | 0;
+ i6 = HEAP32[i4 + 4 >> 2] | 0;
+ i7 = i2 + 8 | 0;
+ i8 = HEAP32[i7 + 4 >> 2] | 0;
+ i9 = HEAP32[i4 >> 2] | 0;
+ i4 = i6 & 0;
+ i10 = HEAP32[i7 >> 2] | 0;
+ i7 = i8 & 0;
+ i11 = ___muldi3(i10, i7, i9, i4) | 0;
+ i12 = tempRet0;
+ i13 = i8;
+ i8 = 0;
+ i14 = ___muldi3(i13, i8, i9, i4) | 0;
+ i4 = tempRet0;
+ i9 = i6;
+ i6 = 0;
+ i15 = ___muldi3(i10, i7, i9, i6) | 0;
+ i7 = tempRet0;
+ i10 = ___muldi3(i13, i8, i9, i6) | 0;
+ i6 = tempRet0;
+ i9 = _i64Add(i14 | 0, i4 & 0, i15 | 0, i7 & 0) | 0;
+ i15 = tempRet0;
+ i14 = _i64Add(i4, 0, i10, i6) | 0;
+ i6 = _i64Add(i14, tempRet0, i7, 0) | 0;
+ i7 = tempRet0;
+ i14 = _llvm_uadd_with_overflow_i64(i11 | 0, i12 | 0, 0, i9 | 0) | 0;
+ i9 = i14;
+ i14 = tempRet0;
+ i12 = _i64Add(i6, i7, tempRet1 & 1, 0) | 0;
+ i7 = _i64Add(i12, tempRet0, i15, 0) | 0;
+ i15 = tempRet0;
+ i12 = i1 + 8 | 0;
+ i1 = HEAP32[i12 + 4 >> 2] | 0;
+ i6 = i2 | 0;
+ i2 = HEAP32[i6 + 4 >> 2] | 0;
+ i11 = HEAP32[i12 >> 2] | 0;
+ i12 = i1 & 0;
+ i10 = HEAP32[i6 >> 2] | 0;
+ i6 = i2 & 0;
+ i4 = ___muldi3(i10, i6, i11, i12) | 0;
+ i8 = tempRet0;
+ i13 = i2;
+ i2 = 0;
+ i16 = ___muldi3(i13, i2, i11, i12) | 0;
+ i12 = tempRet0;
+ i11 = i1;
+ i1 = 0;
+ i17 = ___muldi3(i10, i6, i11, i1) | 0;
+ i6 = tempRet0;
+ i10 = ___muldi3(i13, i2, i11, i1) | 0;
+ i1 = tempRet0;
+ i11 = _i64Add(i16 | 0, i12 & 0, i17 | 0, i6 & 0) | 0;
+ i17 = tempRet0;
+ i16 = _i64Add(i12, 0, i10, i1) | 0;
+ i1 = _i64Add(i16, tempRet0, i6, 0) | 0;
+ i6 = tempRet0;
+ i16 = _llvm_uadd_with_overflow_i64(i4 | 0, i8 | 0, 0, i11 | 0) | 0;
+ i11 = i16;
+ i16 = tempRet0;
+ i8 = _i64Add(i1, i6, tempRet1 & 1, 0) | 0;
+ i6 = _i64Add(i8, tempRet0, i17, 0) | 0;
+ i17 = tempRet0;
+ do {
+ if (i15 >>> 0 < i17 >>> 0 | i15 >>> 0 == i17 >>> 0 & i7 >>> 0 < i6 >>> 0) {
+ i18 = -1;
+ } else {
+ if (i15 >>> 0 > i17 >>> 0 | i15 >>> 0 == i17 >>> 0 & i7 >>> 0 > i6 >>> 0) {
+ i18 = 1;
+ break;
+ }
+ if (i14 >>> 0 < i16 >>> 0 | i14 >>> 0 == i16 >>> 0 & i9 >>> 0 < i11 >>> 0) {
+ i18 = -1;
+ break;
+ }
+ i18 = (i14 >>> 0 > i16 >>> 0 | i14 >>> 0 == i16 >>> 0 & i9 >>> 0 > i11 >>> 0) & 1;
+ }
+ } while (0);
+ i5 = Math_imul(i18, i3) | 0;
+ return i5 | 0;
+}
+function __ZN19btSingleRayCallbackC2ERK9btVector3S2_PK16btCollisionWorldRNS3_17RayResultCallbackE(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0;
+ HEAP32[i1 >> 2] = 3984;
+ i6 = i1 + 36 | 0;
+ i7 = i6;
+ i8 = i2;
+ HEAP32[i7 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i8 = i1 + 52 | 0;
+ i9 = i8;
+ i10 = i3;
+ HEAP32[i9 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ HEAP32[i1 + 212 >> 2] = i4;
+ HEAP32[i1 + 216 >> 2] = i5;
+ HEAPF32[i1 + 68 >> 2] = 1.0;
+ _memset(i1 + 72 | 0, 0, 16);
+ HEAPF32[i1 + 88 >> 2] = 1.0;
+ _memset(i1 + 92 | 0, 0, 16);
+ HEAPF32[i1 + 108 >> 2] = 1.0;
+ HEAP32[i1 + 112 >> 2] = 0;
+ i5 = i1 + 116 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ HEAPF32[i1 + 132 >> 2] = 1.0;
+ _memset(i1 + 136 | 0, 0, 16);
+ HEAPF32[i1 + 152 >> 2] = 1.0;
+ _memset(i1 + 156 | 0, 0, 16);
+ HEAPF32[i1 + 172 >> 2] = 1.0;
+ HEAP32[i1 + 176 >> 2] = 0;
+ i7 = i1 + 180 | 0;
+ HEAP32[i7 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ d11 = +HEAPF32[i3 >> 2] - +HEAPF32[i2 >> 2];
+ d12 = +HEAPF32[i3 + 4 >> 2] - +HEAPF32[i2 + 4 >> 2];
+ d13 = +HEAPF32[i3 + 8 >> 2] - +HEAPF32[i2 + 8 >> 2];
+ d14 = 1.0 / +Math_sqrt(+(d11 * d11 + d12 * d12 + d13 * d13));
+ d15 = d11 * d14;
+ d11 = d12 * d14;
+ d12 = d13 * d14;
+ if (d15 == 0.0) {
+ d16 = 999999984306749400.0;
+ } else {
+ d16 = 1.0 / d15;
+ }
+ HEAPF32[i1 + 4 >> 2] = d16;
+ if (d11 == 0.0) {
+ d17 = 999999984306749400.0;
+ } else {
+ d17 = 1.0 / d11;
+ }
+ HEAPF32[i1 + 8 >> 2] = d17;
+ if (d12 == 0.0) {
+ d18 = 999999984306749400.0;
+ } else {
+ d18 = 1.0 / d12;
+ }
+ HEAPF32[i1 + 12 >> 2] = d18;
+ HEAP32[i1 + 20 >> 2] = d16 < 0.0;
+ HEAP32[i1 + 24 >> 2] = d17 < 0.0;
+ HEAP32[i1 + 28 >> 2] = d18 < 0.0;
+ HEAPF32[i1 + 32 >> 2] = d15 * (+HEAPF32[i8 >> 2] - +HEAPF32[i6 >> 2]) + d11 * (+HEAPF32[i1 + 56 >> 2] - +HEAPF32[i1 + 40 >> 2]) + d12 * (+HEAPF32[i1 + 60 >> 2] - +HEAPF32[i1 + 44 >> 2]);
+ return;
+}
+function __ZN6btDbvt19optimizeIncrementalEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ if ((i2 | 0) < 0) {
+ i4 = HEAP32[i1 + 12 >> 2] | 0;
+ } else {
+ i4 = i2;
+ }
+ i2 = i1 | 0;
+ i5 = HEAP32[i2 >> 2] | 0;
+ if (!((i5 | 0) != 0 & (i4 | 0) > 0)) {
+ STACKTOP = i3;
+ return;
+ }
+ i6 = i1 + 16 | 0;
+ i7 = i3 | 0;
+ i8 = i4;
+ i4 = i5;
+ while (1) {
+ i5 = i4 + 40 | 0;
+ L2296 : do {
+ if ((HEAP32[i5 >> 2] | 0) == 0) {
+ i9 = i4;
+ } else {
+ i10 = 0;
+ i11 = i4;
+ i12 = i5;
+ while (1) {
+ i13 = (HEAP32[i6 >> 2] | 0) >>> (i10 >>> 0) & 1;
+ i14 = i11 + 32 | 0;
+ i15 = HEAP32[i14 >> 2] | 0;
+ if (i15 >>> 0 > i11 >>> 0) {
+ i16 = i15 + 40 | 0;
+ i17 = (HEAP32[i16 >> 2] | 0) == (i11 | 0) | 0;
+ i18 = i17 ^ 1;
+ i19 = HEAP32[i15 + 36 + (i18 << 2) >> 2] | 0;
+ i20 = i15 + 32 | 0;
+ i21 = HEAP32[i20 >> 2] | 0;
+ if ((i21 | 0) == 0) {
+ HEAP32[i2 >> 2] = i11;
+ } else {
+ HEAP32[i21 + 36 + (((HEAP32[i21 + 40 >> 2] | 0) == (i15 | 0)) << 2) >> 2] = i11;
+ }
+ HEAP32[i19 + 32 >> 2] = i11;
+ HEAP32[i20 >> 2] = i11;
+ HEAP32[i14 >> 2] = i21;
+ i21 = i11 + 36 | 0;
+ HEAP32[i15 + 36 >> 2] = HEAP32[i21 >> 2];
+ HEAP32[i16 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[(HEAP32[i21 >> 2] | 0) + 32 >> 2] = i15;
+ HEAP32[(HEAP32[i12 >> 2] | 0) + 32 >> 2] = i15;
+ HEAP32[i11 + 36 + (i17 << 2) >> 2] = i15;
+ HEAP32[i11 + 36 + (i18 << 2) >> 2] = i19;
+ i19 = i15;
+ _memcpy(i7 | 0, i19 | 0, 32) | 0;
+ i18 = i11;
+ _memcpy(i19 | 0, i18 | 0, 32) | 0;
+ _memcpy(i18 | 0, i7 | 0, 32) | 0;
+ i22 = i15;
+ } else {
+ i22 = i11;
+ }
+ i15 = HEAP32[i22 + 36 + (i13 << 2) >> 2] | 0;
+ i13 = i15 + 40 | 0;
+ if ((HEAP32[i13 >> 2] | 0) == 0) {
+ i9 = i15;
+ break L2296;
+ }
+ i10 = i10 + 1 & 31;
+ i11 = i15;
+ i12 = i13;
+ }
+ }
+ } while (0);
+ if ((__ZL10removeleafP6btDbvtP10btDbvtNode(i1, i9) | 0) == 0) {
+ i23 = 0;
+ } else {
+ i23 = HEAP32[i2 >> 2] | 0;
+ }
+ __ZL10insertleafP6btDbvtP10btDbvtNodeS2_(i1, i23, i9);
+ HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1;
+ i5 = i8 - 1 | 0;
+ if ((i5 | 0) == 0) {
+ break;
+ }
+ i8 = i5;
+ i4 = HEAP32[i2 >> 2] | 0;
+ }
+ STACKTOP = i3;
+ return;
+}
+function __ZN11btRigidBody18saveKinematicStateEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 24 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 16 | 0;
+ if (d2 == 0.0) {
+ STACKTOP = i3;
+ return;
+ }
+ i6 = HEAP32[i1 + 472 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ i7 = i1 + 4 | 0;
+ } else {
+ i8 = i1 + 4 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 8 >> 2] & 127](i6, i8);
+ i7 = i8;
+ }
+ i8 = i1 + 68 | 0;
+ i6 = i1 + 304 | 0;
+ i9 = i1 + 320 | 0;
+ d10 = 1.0 / d2;
+ d2 = (+HEAPF32[i1 + 56 >> 2] - +HEAPF32[i1 + 120 >> 2]) * d10;
+ d11 = d10 * (+HEAPF32[i1 + 60 >> 2] - +HEAPF32[i1 + 124 >> 2]);
+ HEAPF32[i6 >> 2] = (+HEAPF32[i1 + 52 >> 2] - +HEAPF32[i1 + 116 >> 2]) * d10;
+ HEAPF32[i1 + 308 >> 2] = d2;
+ HEAPF32[i1 + 312 >> 2] = d11;
+ HEAPF32[i1 + 316 >> 2] = 0.0;
+ __ZN15btTransformUtil22calculateDiffAxisAngleERK11btTransformS2_R9btVector3Rf(i8, i7, i4, i5);
+ d11 = +HEAPF32[i5 >> 2];
+ d2 = d10 * d11 * +HEAPF32[i4 + 4 >> 2];
+ d12 = d10 * d11 * +HEAPF32[i4 + 8 >> 2];
+ HEAPF32[i9 >> 2] = d10 * +HEAPF32[i4 >> 2] * d11;
+ HEAPF32[i1 + 324 >> 2] = d2;
+ HEAPF32[i1 + 328 >> 2] = d12;
+ HEAPF32[i1 + 332 >> 2] = 0.0;
+ i4 = i1 + 132 | 0;
+ i5 = i6;
+ HEAP32[i4 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 148 | 0;
+ i4 = i9;
+ HEAP32[i5 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i8;
+ i8 = i7;
+ HEAP32[i4 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i8 = i1 + 84 | 0;
+ i4 = i1 + 20 | 0;
+ HEAP32[i8 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i1 + 100 | 0;
+ i8 = i1 + 36 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i8 = i1 + 116 | 0;
+ i4 = i1 + 52 | 0;
+ HEAP32[i8 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ STACKTOP = i3;
+ return;
+}
+function __ZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonE(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0;
+ i7 = i4 + 59 | 0;
+ if ((HEAPU8[i7] | 0 | 0) == (i2 | 0)) {
+ i8 = 0;
+ return i8 | 0;
+ }
+ i9 = HEAP32[1360 + (i5 << 2) >> 2] | 0;
+ if (+HEAPF32[i4 >> 2] * +HEAPF32[i3 + 16 >> 2] + +HEAPF32[i4 + 4 >> 2] * +HEAPF32[i3 + 20 >> 2] + +HEAPF32[i4 + 8 >> 2] * +HEAPF32[i3 + 24 >> 2] - +HEAPF32[i4 + 16 >> 2] < -9999999747378752.0e-21) {
+ i10 = __ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(i1, HEAP32[i4 + 24 + (i9 << 2) >> 2] | 0, HEAP32[i4 + 24 + (i5 << 2) >> 2] | 0, i3, 0) | 0;
+ if ((i10 | 0) == 0) {
+ i8 = 0;
+ return i8 | 0;
+ }
+ HEAP8[i10 + 56 | 0] = i5 & 255;
+ HEAP32[i10 + 36 >> 2] = i4;
+ HEAP8[i4 + 56 + i5 | 0] = 0;
+ HEAP32[i4 + 36 + (i5 << 2) >> 2] = i10;
+ i11 = i6 | 0;
+ i12 = HEAP32[i11 >> 2] | 0;
+ if ((i12 | 0) == 0) {
+ HEAP32[i6 + 4 >> 2] = i10;
+ } else {
+ HEAP8[i12 + 57 | 0] = 2;
+ HEAP32[i12 + 40 >> 2] = i10;
+ HEAP8[i10 + 58 | 0] = 1;
+ HEAP32[i10 + 44 >> 2] = i12;
+ }
+ HEAP32[i11 >> 2] = i10;
+ i10 = i6 + 8 | 0;
+ HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) + 1;
+ i8 = 1;
+ return i8 | 0;
+ }
+ i10 = HEAP32[1344 + (i5 << 2) >> 2] | 0;
+ HEAP8[i7] = i2 & 255;
+ if (!(__ZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonE(i1, i2, i3, HEAP32[i4 + 36 + (i9 << 2) >> 2] | 0, HEAPU8[i4 + 56 + i9 | 0] | 0, i6) | 0)) {
+ i8 = 0;
+ return i8 | 0;
+ }
+ if (!(__ZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonE(i1, i2, i3, HEAP32[i4 + 36 + (i10 << 2) >> 2] | 0, HEAPU8[i4 + 56 + i10 | 0] | 0, i6) | 0)) {
+ i8 = 0;
+ return i8 | 0;
+ }
+ i6 = i4 + 52 | 0;
+ i10 = HEAP32[i6 >> 2] | 0;
+ i3 = i4 + 48 | 0;
+ if ((i10 | 0) != 0) {
+ HEAP32[i10 + 48 >> 2] = HEAP32[i3 >> 2];
+ }
+ i10 = HEAP32[i3 >> 2] | 0;
+ if ((i10 | 0) != 0) {
+ HEAP32[i10 + 52 >> 2] = HEAP32[i6 >> 2];
+ }
+ i10 = i1 + 9792 | 0;
+ if ((HEAP32[i10 >> 2] | 0) == (i4 | 0)) {
+ HEAP32[i10 >> 2] = HEAP32[i6 >> 2];
+ }
+ i10 = i1 + 9796 | 0;
+ HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) - 1;
+ HEAP32[i3 >> 2] = 0;
+ i3 = i1 + 9800 | 0;
+ HEAP32[i6 >> 2] = HEAP32[i3 >> 2];
+ i6 = HEAP32[i3 >> 2] | 0;
+ if ((i6 | 0) != 0) {
+ HEAP32[i6 + 48 >> 2] = i4;
+ }
+ HEAP32[i3 >> 2] = i4;
+ i4 = i1 + 9804 | 0;
+ HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 1;
+ i8 = 1;
+ return i8 | 0;
+}
+function __ZN30btGjkEpaPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAlloc(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ var d12 = 0.0, d13 = 0.0, i14 = 0, i15 = 0;
+ i11 = STACKTOP;
+ STACKTOP = STACKTOP + 72 | 0;
+ i10 = i11 | 0;
+ i2 = i11 + 16 | 0;
+ d12 = +HEAPF32[i5 + 52 >> 2] - +HEAPF32[i6 + 52 >> 2];
+ d13 = +HEAPF32[i5 + 56 >> 2] - +HEAPF32[i6 + 56 >> 2];
+ HEAPF32[i10 >> 2] = +HEAPF32[i5 + 48 >> 2] - +HEAPF32[i6 + 48 >> 2];
+ HEAPF32[i10 + 4 >> 2] = d12;
+ HEAPF32[i10 + 8 >> 2] = d13;
+ HEAPF32[i10 + 12 >> 2] = 0.0;
+ if (__ZN15btGjkEpaSolver211PenetrationEPK13btConvexShapeRK11btTransformS2_S5_RK9btVector3RNS_8sResultsEb(i3, i5, i4, i6, i10, i2, 1) | 0) {
+ i1 = i8;
+ i14 = i2 + 4 | 0;
+ HEAP32[i1 >> 2] = HEAP32[i14 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i14 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i14 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i14 + 12 >> 2];
+ i14 = i9;
+ i1 = i2 + 20 | 0;
+ HEAP32[i14 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ i1 = i7;
+ i14 = i2 + 36 | 0;
+ HEAP32[i1 >> 2] = HEAP32[i14 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i14 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i14 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i14 + 12 >> 2];
+ i15 = 1;
+ STACKTOP = i11;
+ return i15 | 0;
+ }
+ if (!(__ZN15btGjkEpaSolver28DistanceEPK13btConvexShapeRK11btTransformS2_S5_RK9btVector3RNS_8sResultsE(i3, i5, i4, i6, i10, i2) | 0)) {
+ i15 = 0;
+ STACKTOP = i11;
+ return i15 | 0;
+ }
+ i10 = i8;
+ i8 = i2 + 4 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i10 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i10 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i10 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i8 = i9;
+ i9 = i2 + 20 | 0;
+ HEAP32[i8 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i7;
+ i7 = i2 + 36 | 0;
+ HEAP32[i9 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i15 = 0;
+ STACKTOP = i11;
+ return i15 | 0;
+}
+function __ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallback15processTriangleEP9btVector3ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, i13 = 0, i14 = 0, i15 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 776 | 0;
+ i3 = i4 | 0;
+ i5 = i4 + 64 | 0;
+ i6 = i4 + 240 | 0;
+ i7 = i4 + 296 | 0;
+ i8 = i4 + 400 | 0;
+ i9 = i4 + 760 | 0;
+ HEAPF32[i3 >> 2] = 1.0;
+ _memset(i3 + 4 | 0, 0, 16);
+ HEAPF32[i3 + 20 >> 2] = 1.0;
+ _memset(i3 + 24 | 0, 0, 16);
+ HEAPF32[i3 + 40 >> 2] = 1.0;
+ _memset(i3 + 44 | 0, 0, 20);
+ HEAP32[i5 >> 2] = 2280;
+ i10 = i5 + 164 | 0;
+ HEAP32[i5 + 168 >> 2] = 0;
+ HEAPF32[i5 + 172 >> 2] = 0.0;
+ i11 = i1 + 200 | 0;
+ HEAPF32[i10 >> 2] = +HEAPF32[i11 >> 2];
+ d12 = +HEAPF32[i1 + 196 >> 2];
+ __ZN21btConvexInternalShapeC2Ev(i6 | 0);
+ HEAP32[i6 >> 2] = 4728;
+ HEAP32[i6 + 4 >> 2] = 8;
+ HEAPF32[i6 + 28 >> 2] = d12;
+ HEAPF32[i6 + 44 >> 2] = d12;
+ i13 = i7 | 0;
+ __ZN23btPolyhedralConvexShapeC2Ev(i13);
+ HEAP32[i7 >> 2] = 4560;
+ HEAP32[i7 + 4 >> 2] = 1;
+ i14 = i7 + 56 | 0;
+ i15 = i2;
+ HEAP32[i14 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i15 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i15 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i15 + 12 >> 2];
+ i15 = i7 + 72 | 0;
+ i14 = i2 + 16 | 0;
+ HEAP32[i15 >> 2] = HEAP32[i14 >> 2];
+ HEAP32[i15 + 4 >> 2] = HEAP32[i14 + 4 >> 2];
+ HEAP32[i15 + 8 >> 2] = HEAP32[i14 + 8 >> 2];
+ HEAP32[i15 + 12 >> 2] = HEAP32[i14 + 12 >> 2];
+ i14 = i7 + 88 | 0;
+ i15 = i2 + 32 | 0;
+ HEAP32[i14 >> 2] = HEAP32[i15 >> 2];
+ HEAP32[i14 + 4 >> 2] = HEAP32[i15 + 4 >> 2];
+ HEAP32[i14 + 8 >> 2] = HEAP32[i15 + 8 >> 2];
+ HEAP32[i14 + 12 >> 2] = HEAP32[i15 + 12 >> 2];
+ HEAPF32[i8 + 308 >> 2] = 9999999747378752.0e-20;
+ HEAP16[i8 + 332 >> 1] = 0;
+ i15 = i6 | 0;
+ __ZN22btSubsimplexConvexCastC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolver(i9, i15, i7 | 0, i8);
+ do {
+ if (__ZN22btSubsimplexConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(i9, i1 + 4 | 0, i1 + 68 | 0, i3, i3, i5) | 0) {
+ d12 = +HEAPF32[i10 >> 2];
+ if (+HEAPF32[i11 >> 2] <= d12) {
+ break;
+ }
+ HEAPF32[i11 >> 2] = d12;
+ }
+ } while (0);
+ __ZN12btConvexCastD2Ev(i9 | 0);
+ __ZN23btPolyhedralConvexShapeD2Ev(i13);
+ __ZN13btConvexShapeD2Ev(i15);
+ STACKTOP = i4;
+ return;
+}
+function __ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(i1, i2, i3, d4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i7 = i6 | 0;
+ d8 = +HEAPF32[i2 + 4 >> 2] * d4 + +HEAPF32[i1 + 52 >> 2];
+ d9 = +HEAPF32[i2 + 8 >> 2] * d4 + +HEAPF32[i1 + 56 >> 2];
+ HEAPF32[i5 + 48 >> 2] = +HEAPF32[i2 >> 2] * d4 + +HEAPF32[i1 + 48 >> 2];
+ HEAPF32[i5 + 52 >> 2] = d8;
+ HEAPF32[i5 + 56 >> 2] = d9;
+ HEAPF32[i5 + 60 >> 2] = 0.0;
+ d9 = +HEAPF32[i3 >> 2];
+ d8 = +HEAPF32[i3 + 4 >> 2];
+ d10 = +HEAPF32[i3 + 8 >> 2];
+ d11 = +Math_sqrt(+(d9 * d9 + d8 * d8 + d10 * d10));
+ if (d11 * d4 > .7853981852531433) {
+ d12 = .7853981852531433 / d4;
+ } else {
+ d12 = d11;
+ }
+ if (d12 < .0010000000474974513) {
+ d13 = d4 * .5 - d12 * d4 * d4 * d4 * .02083333395421505 * d12;
+ } else {
+ d13 = +Math_sin(+(d12 * .5 * d4)) / d12;
+ }
+ d11 = d9 * d13;
+ d9 = d8 * d13;
+ d8 = d10 * d13;
+ d13 = +Math_cos(+(d12 * d4 * .5));
+ __ZNK11btMatrix3x311getRotationER12btQuaternion(i1 | 0, i7);
+ d4 = +HEAPF32[i7 >> 2];
+ d12 = +HEAPF32[i7 + 12 >> 2];
+ d10 = +HEAPF32[i7 + 8 >> 2];
+ d14 = +HEAPF32[i7 + 4 >> 2];
+ d15 = d13 * d4 + d11 * d12 + d9 * d10 - d8 * d14;
+ d16 = d8 * d4 + (d9 * d12 + d13 * d14) - d11 * d10;
+ d17 = d8 * d12 + d13 * d10 + d11 * d14 - d9 * d4;
+ d18 = d13 * d12 - d11 * d4 - d9 * d14 - d8 * d10;
+ d10 = 1.0 / +Math_sqrt(+(d18 * d18 + (d17 * d17 + (d15 * d15 + d16 * d16))));
+ d8 = d15 * d10;
+ d15 = d10 * d16;
+ d16 = d10 * d17;
+ d17 = d10 * d18;
+ d18 = 2.0 / (d17 * d17 + (d16 * d16 + (d8 * d8 + d15 * d15)));
+ d10 = d8 * d18;
+ d14 = d18 * d15;
+ d9 = d18 * d16;
+ d18 = d17 * d10;
+ d4 = d17 * d14;
+ d11 = d17 * d9;
+ d17 = d8 * d10;
+ d10 = d8 * d14;
+ d12 = d8 * d9;
+ d8 = d15 * d14;
+ d14 = d15 * d9;
+ d15 = d16 * d9;
+ HEAPF32[i5 >> 2] = 1.0 - (d15 + d8);
+ HEAPF32[i5 + 4 >> 2] = d10 - d11;
+ HEAPF32[i5 + 8 >> 2] = d12 + d4;
+ HEAPF32[i5 + 12 >> 2] = 0.0;
+ HEAPF32[i5 + 16 >> 2] = d11 + d10;
+ HEAPF32[i5 + 20 >> 2] = 1.0 - (d17 + d15);
+ HEAPF32[i5 + 24 >> 2] = d14 - d18;
+ HEAPF32[i5 + 28 >> 2] = 0.0;
+ HEAPF32[i5 + 32 >> 2] = d12 - d4;
+ HEAPF32[i5 + 36 >> 2] = d18 + d14;
+ HEAPF32[i5 + 40 >> 2] = 1.0 - (d17 + d8);
+ HEAPF32[i5 + 44 >> 2] = 0.0;
+ STACKTOP = i6;
+ return;
+}
+function __ZL10removeleafP6btDbvtP10btDbvtNode(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, i12 = 0, d13 = 0.0, i14 = 0, d15 = 0.0, i16 = 0, i17 = 0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, i26 = 0;
+ i3 = i1 | 0;
+ if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) {
+ HEAP32[i3 >> 2] = 0;
+ i4 = 0;
+ return i4 | 0;
+ }
+ i5 = HEAP32[i2 + 32 >> 2] | 0;
+ i6 = HEAP32[i5 + 32 >> 2] | 0;
+ i7 = HEAP32[i5 + 36 + (((HEAP32[i5 + 40 >> 2] | 0) != (i2 | 0)) << 2) >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ HEAP32[i3 >> 2] = i7;
+ HEAP32[i7 + 32 >> 2] = 0;
+ i2 = i1 + 4 | 0;
+ __Z21btAlignedFreeInternalPv(HEAP32[i2 >> 2] | 0);
+ HEAP32[i2 >> 2] = i5;
+ i4 = HEAP32[i3 >> 2] | 0;
+ return i4 | 0;
+ }
+ HEAP32[i6 + 36 + (((HEAP32[i6 + 40 >> 2] | 0) == (i5 | 0)) << 2) >> 2] = i7;
+ HEAP32[i7 + 32 >> 2] = i6;
+ i7 = i1 + 4 | 0;
+ __Z21btAlignedFreeInternalPv(HEAP32[i7 >> 2] | 0);
+ HEAP32[i7 >> 2] = i5;
+ i5 = i6;
+ do {
+ i6 = i5 | 0;
+ d8 = +HEAPF32[i6 >> 2];
+ i7 = i5 + 4 | 0;
+ d9 = +HEAPF32[i7 >> 2];
+ i1 = i5 + 8 | 0;
+ d10 = +HEAPF32[i1 >> 2];
+ i2 = i5 + 16 | 0;
+ d11 = +HEAPF32[i2 >> 2];
+ i12 = i5 + 20 | 0;
+ d13 = +HEAPF32[i12 >> 2];
+ i14 = i5 + 24 | 0;
+ d15 = +HEAPF32[i14 >> 2];
+ i16 = HEAP32[i5 + 36 >> 2] | 0;
+ i17 = HEAP32[i5 + 40 >> 2] | 0;
+ d18 = +HEAPF32[i16 >> 2];
+ d19 = +HEAPF32[i17 >> 2];
+ d20 = d18 < d19 ? d18 : d19;
+ HEAPF32[i6 >> 2] = d20;
+ d19 = +HEAPF32[i16 + 16 >> 2];
+ d18 = +HEAPF32[i17 + 16 >> 2];
+ d21 = d19 > d18 ? d19 : d18;
+ HEAPF32[i2 >> 2] = d21;
+ d18 = +HEAPF32[i16 + 4 >> 2];
+ d19 = +HEAPF32[i17 + 4 >> 2];
+ d22 = d18 < d19 ? d18 : d19;
+ HEAPF32[i7 >> 2] = d22;
+ d19 = +HEAPF32[i16 + 20 >> 2];
+ d18 = +HEAPF32[i17 + 20 >> 2];
+ d23 = d19 > d18 ? d19 : d18;
+ HEAPF32[i12 >> 2] = d23;
+ d18 = +HEAPF32[i16 + 8 >> 2];
+ d19 = +HEAPF32[i17 + 8 >> 2];
+ d24 = d18 < d19 ? d18 : d19;
+ HEAPF32[i1 >> 2] = d24;
+ d19 = +HEAPF32[i16 + 24 >> 2];
+ d18 = +HEAPF32[i17 + 24 >> 2];
+ d25 = d19 > d18 ? d19 : d18;
+ HEAPF32[i14 >> 2] = d25;
+ if (!(d8 != d20 | d9 != d22 | d10 != d24 | d11 != d21)) {
+ if (!(d13 != d23 | d15 != d25)) {
+ i4 = i5;
+ i26 = 1994;
+ break;
+ }
+ }
+ i5 = HEAP32[i5 + 32 >> 2] | 0;
+ } while ((i5 | 0) != 0);
+ if ((i26 | 0) == 1994) {
+ return i4 | 0;
+ }
+ i4 = HEAP32[i3 >> 2] | 0;
+ return i4 | 0;
+}
+function __ZN6btDbvt6updateEP10btDbvtNodeR12btDbvtAabbMmRK9btVector3f(i1, i2, i3, i4, d5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ d5 = +d5;
+ var i6 = 0, d7 = 0.0, d8 = 0.0, d9 = 0.0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, d14 = 0.0, i15 = 0, d16 = 0.0, i17 = 0, d18 = 0.0, i19 = 0, i20 = 0, i21 = 0;
+ i6 = i3 | 0;
+ d7 = +HEAPF32[i6 >> 2];
+ do {
+ if (+HEAPF32[i2 >> 2] > d7) {
+ d8 = +HEAPF32[i3 + 4 >> 2];
+ } else {
+ d9 = +HEAPF32[i3 + 4 >> 2];
+ if (+HEAPF32[i2 + 4 >> 2] > d9) {
+ d8 = d9;
+ break;
+ }
+ if (+HEAPF32[i2 + 8 >> 2] > +HEAPF32[i3 + 8 >> 2]) {
+ d8 = d9;
+ break;
+ }
+ if (+HEAPF32[i2 + 16 >> 2] < +HEAPF32[i3 + 16 >> 2]) {
+ d8 = d9;
+ break;
+ }
+ if (+HEAPF32[i2 + 20 >> 2] < +HEAPF32[i3 + 20 >> 2]) {
+ d8 = d9;
+ break;
+ }
+ if (+HEAPF32[i2 + 24 >> 2] < +HEAPF32[i3 + 24 >> 2]) {
+ d8 = d9;
+ break;
+ } else {
+ i10 = 0;
+ }
+ return i10 | 0;
+ }
+ } while (0);
+ d9 = d7 - d5;
+ HEAPF32[i6 >> 2] = d9;
+ i11 = i3 + 4 | 0;
+ d7 = d8 - d5;
+ HEAPF32[i11 >> 2] = d7;
+ i12 = i3 + 8 | 0;
+ d8 = +HEAPF32[i12 >> 2] - d5;
+ HEAPF32[i12 >> 2] = d8;
+ i13 = i3 + 16 | 0;
+ d14 = +HEAPF32[i13 >> 2] + d5;
+ HEAPF32[i13 >> 2] = d14;
+ i15 = i3 + 20 | 0;
+ d16 = +HEAPF32[i15 >> 2] + d5;
+ HEAPF32[i15 >> 2] = d16;
+ i17 = i3 + 24 | 0;
+ d18 = +HEAPF32[i17 >> 2] + d5;
+ HEAPF32[i17 >> 2] = d18;
+ d5 = +HEAPF32[i4 >> 2];
+ if (d5 > 0.0) {
+ HEAPF32[i13 >> 2] = d14 + d5;
+ } else {
+ HEAPF32[i6 >> 2] = d9 + d5;
+ }
+ d5 = +HEAPF32[i4 + 4 >> 2];
+ if (d5 > 0.0) {
+ HEAPF32[i15 >> 2] = d16 + d5;
+ } else {
+ HEAPF32[i11 >> 2] = d7 + d5;
+ }
+ d5 = +HEAPF32[i4 + 8 >> 2];
+ if (d5 > 0.0) {
+ HEAPF32[i17 >> 2] = d18 + d5;
+ } else {
+ HEAPF32[i12 >> 2] = d8 + d5;
+ }
+ i12 = __ZL10removeleafP6btDbvtP10btDbvtNode(i1, i2) | 0;
+ L2399 : do {
+ if ((i12 | 0) == 0) {
+ i19 = 0;
+ } else {
+ i17 = HEAP32[i1 + 8 >> 2] | 0;
+ if ((i17 | 0) > -1) {
+ i20 = 0;
+ i21 = i12;
+ } else {
+ i19 = HEAP32[i1 >> 2] | 0;
+ break;
+ }
+ while (1) {
+ if ((i20 | 0) >= (i17 | 0)) {
+ i19 = i21;
+ break L2399;
+ }
+ i4 = HEAP32[i21 + 32 >> 2] | 0;
+ if ((i4 | 0) == 0) {
+ i19 = i21;
+ break;
+ } else {
+ i20 = i20 + 1 | 0;
+ i21 = i4;
+ }
+ }
+ }
+ } while (0);
+ i21 = i2;
+ i20 = i3;
+ _memcpy(i21 | 0, i20 | 0, 32) | 0;
+ __ZL10insertleafP6btDbvtP10btDbvtNodeS2_(i1, i19, i2);
+ i10 = 1;
+ return i10 | 0;
+}
+function __ZN23btDiscreteDynamicsWorld21updateActivationStateEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, i18 = 0, i19 = 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(312);
+ i3 = i1 + 204 | 0;
+ if ((HEAP32[i3 >> 2] | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ i4 = i1 + 212 | 0;
+ i1 = 0;
+ do {
+ i5 = HEAP32[(HEAP32[i4 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ L390 : do {
+ if ((i5 | 0) != 0) {
+ i6 = i5 | 0;
+ i7 = i5 + 216 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ L392 : do {
+ if ((i8 | 0) == 2 | (i8 | 0) == 4) {
+ i9 = i8;
+ } else {
+ d10 = +HEAPF32[i5 + 304 >> 2];
+ d11 = +HEAPF32[i5 + 308 >> 2];
+ d12 = +HEAPF32[i5 + 312 >> 2];
+ d13 = +HEAPF32[i5 + 464 >> 2];
+ do {
+ if (d10 * d10 + d11 * d11 + d12 * d12 < d13 * d13) {
+ d14 = +HEAPF32[i5 + 320 >> 2];
+ d15 = +HEAPF32[i5 + 324 >> 2];
+ d16 = +HEAPF32[i5 + 328 >> 2];
+ d17 = +HEAPF32[i5 + 468 >> 2];
+ if (d14 * d14 + d15 * d15 + d16 * d16 >= d17 * d17) {
+ break;
+ }
+ i18 = i5 + 220 | 0;
+ HEAPF32[i18 >> 2] = +HEAPF32[i18 >> 2] + d2;
+ i9 = i8;
+ break L392;
+ }
+ } while (0);
+ HEAPF32[i5 + 220 >> 2] = 0.0;
+ __ZN17btCollisionObject18setActivationStateEi(i6, 0);
+ i9 = HEAP32[i7 >> 2] | 0;
+ }
+ } while (0);
+ if ((i9 | 0) == 4) {
+ break;
+ }
+ d13 = +HEAPF32[2];
+ do {
+ if (!((HEAP8[12016] | 0) != 0 | d13 == 0.0)) {
+ if ((i9 - 2 | 0) >>> 0 >= 2) {
+ if (+HEAPF32[i5 + 220 >> 2] <= d13) {
+ break;
+ }
+ }
+ if ((HEAP32[i5 + 204 >> 2] & 3 | 0) != 0) {
+ __ZN17btCollisionObject18setActivationStateEi(i6, 2);
+ break L390;
+ }
+ if ((i9 | 0) == 1) {
+ __ZN17btCollisionObject18setActivationStateEi(i6, 3);
+ i19 = HEAP32[i7 >> 2] | 0;
+ } else {
+ i19 = i9;
+ }
+ if ((i19 | 0) != 2) {
+ break L390;
+ }
+ _memset(i5 + 304 | 0, 0, 32);
+ break L390;
+ }
+ } while (0);
+ __ZN17btCollisionObject18setActivationStateEi(i6, 1);
+ }
+ } while (0);
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (HEAP32[i3 >> 2] | 0));
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+}
+function __ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE17quickSortInternalIPFbRKS1_S5_EEEvT_ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i6 = i5 + 16 | 0;
+ i7 = i1 + 12 | 0;
+ i8 = i6;
+ i9 = (HEAP32[i7 >> 2] | 0) + (((i4 + i3 | 0) / 2 | 0) << 4) | 0;
+ HEAP32[i8 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i9 = i5 | 0;
+ i8 = i4;
+ i10 = i3;
+ while (1) {
+ i11 = i10;
+ while (1) {
+ i12 = i11 + 1 | 0;
+ if (FUNCTION_TABLE_iii[i2 & 63]((HEAP32[i7 >> 2] | 0) + (i11 << 4) | 0, i6) | 0) {
+ i11 = i12;
+ } else {
+ i13 = i8;
+ break;
+ }
+ }
+ while (1) {
+ i14 = i13 - 1 | 0;
+ if (FUNCTION_TABLE_iii[i2 & 63](i6, (HEAP32[i7 >> 2] | 0) + (i13 << 4) | 0) | 0) {
+ i13 = i14;
+ } else {
+ break;
+ }
+ }
+ if ((i11 | 0) > (i13 | 0)) {
+ i15 = i13;
+ i16 = i11;
+ } else {
+ i17 = HEAP32[i7 >> 2] | 0;
+ i18 = i17 + (i11 << 4) | 0;
+ HEAP32[i9 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ i19 = i17 + (i13 << 4) | 0;
+ HEAP32[i18 >> 2] = HEAP32[i19 >> 2];
+ HEAP32[i18 + 4 >> 2] = HEAP32[i19 + 4 >> 2];
+ HEAP32[i18 + 8 >> 2] = HEAP32[i19 + 8 >> 2];
+ HEAP32[i18 + 12 >> 2] = HEAP32[i19 + 12 >> 2];
+ i19 = (HEAP32[i7 >> 2] | 0) + (i13 << 4) | 0;
+ HEAP32[i19 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i19 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i19 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i19 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ i15 = i14;
+ i16 = i12;
+ }
+ if ((i16 | 0) > (i15 | 0)) {
+ break;
+ } else {
+ i8 = i15;
+ i10 = i16;
+ }
+ }
+ if ((i15 | 0) > (i3 | 0)) {
+ __ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE17quickSortInternalIPFbRKS1_S5_EEEvT_ii(i1, i2, i3, i15);
+ }
+ if ((i16 | 0) >= (i4 | 0)) {
+ STACKTOP = i5;
+ return;
+ }
+ __ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE17quickSortInternalIPFbRKS1_S5_EEEvT_ii(i1, i2, i16, i4);
+ STACKTOP = i5;
+ return;
+}
+function __ZN23btDiscreteDynamicsWorldC2EP12btDispatcherP21btBroadphaseInterfaceP18btConstraintSolverP24btCollisionConfiguration(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0;
+ __ZN16btCollisionWorldC2EP12btDispatcherP21btBroadphaseInterfaceP24btCollisionConfiguration(i1 | 0, i2, i3, i5);
+ HEAP32[i1 + 88 >> 2] = 0;
+ HEAP32[i1 + 92 >> 2] = 0;
+ HEAP32[i1 + 96 >> 2] = 0;
+ HEAPF32[i1 + 100 >> 2] = .6000000238418579;
+ HEAPF32[i1 + 104 >> 2] = 1.0;
+ HEAPF32[i1 + 108 >> 2] = .30000001192092896;
+ HEAPF32[i1 + 116 >> 2] = 0.0;
+ HEAPF32[i1 + 124 >> 2] = 20.0;
+ HEAP32[i1 + 120 >> 2] = 10;
+ HEAPF32[i1 + 132 >> 2] = .20000000298023224;
+ HEAPF32[i1 + 136 >> 2] = .10000000149011612;
+ HEAPF32[i1 + 140 >> 2] = 0.0;
+ HEAPF32[i1 + 128 >> 2] = 1.0;
+ HEAP32[i1 + 144 >> 2] = 0;
+ HEAPF32[i1 + 148 >> 2] = -.019999999552965164;
+ HEAPF32[i1 + 152 >> 2] = 0.0;
+ HEAPF32[i1 + 156 >> 2] = .8500000238418579;
+ HEAP32[i1 + 160 >> 2] = 260;
+ HEAP32[i1 + 164 >> 2] = 2;
+ HEAP32[i1 + 168 >> 2] = 128;
+ HEAP32[i1 >> 2] = 3272;
+ i5 = i1 + 172 | 0;
+ HEAP32[i5 >> 2] = i4;
+ HEAP8[i1 + 196 | 0] = 1;
+ HEAP32[i1 + 192 >> 2] = 0;
+ HEAP32[i1 + 184 >> 2] = 0;
+ HEAP32[i1 + 188 >> 2] = 0;
+ HEAP8[i1 + 216 | 0] = 1;
+ HEAP32[i1 + 212 >> 2] = 0;
+ HEAP32[i1 + 204 >> 2] = 0;
+ HEAP32[i1 + 208 >> 2] = 0;
+ HEAPF32[i1 + 220 >> 2] = 0.0;
+ HEAPF32[i1 + 224 >> 2] = -10.0;
+ HEAPF32[i1 + 228 >> 2] = 0.0;
+ HEAPF32[i1 + 232 >> 2] = 0.0;
+ HEAPF32[i1 + 236 >> 2] = 0.0;
+ HEAP8[i1 + 242 | 0] = 0;
+ HEAP8[i1 + 260 | 0] = 1;
+ HEAP32[i1 + 256 >> 2] = 0;
+ HEAP32[i1 + 248 >> 2] = 0;
+ HEAP32[i1 + 252 >> 2] = 0;
+ HEAP32[i1 + 264 >> 2] = 0;
+ if ((i4 | 0) == 0) {
+ i4 = __Z22btAlignedAllocInternalji(128, 16) | 0;
+ if ((i4 | 0) == 0) {
+ i6 = 0;
+ } else {
+ i3 = i4;
+ __ZN35btSequentialImpulseConstraintSolverC2Ev(i3);
+ i6 = i3;
+ }
+ HEAP32[i5 >> 2] = i6;
+ HEAP8[i1 + 241 | 0] = 1;
+ } else {
+ HEAP8[i1 + 241 | 0] = 0;
+ }
+ i6 = __Z22btAlignedAllocInternalji(68, 16) | 0;
+ if ((i6 | 0) == 0) {
+ i7 = 0;
+ i8 = i1 + 176 | 0;
+ HEAP32[i8 >> 2] = i7;
+ i9 = i1 + 240 | 0;
+ HEAP8[i9] = 1;
+ return;
+ }
+ i5 = i6;
+ __ZN25btSimulationIslandManagerC2Ev(i5);
+ i7 = i5;
+ i8 = i1 + 176 | 0;
+ HEAP32[i8 >> 2] = i7;
+ i9 = i1 + 240 | 0;
+ HEAP8[i9] = 1;
+ return;
+}
+function __ZN16btDbvtBroadphase11createProxyERK9btVector3S2_iPvssP12btDispatcherS3_(i1, i2, i3, i4, i5, i6, i7, i8, i9) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ var i10 = 0, i11 = 0;
+ i9 = STACKTOP;
+ STACKTOP = STACKTOP + 48 | 0;
+ i8 = i9 | 0;
+ i4 = i9 + 32 | 0;
+ i10 = __Z22btAlignedAllocInternalji(64, 16) | 0;
+ i11 = i10;
+ HEAP32[i10 >> 2] = i5;
+ HEAP16[i10 + 4 >> 1] = i6;
+ HEAP16[i10 + 6 >> 1] = i7;
+ i7 = i10 + 16 | 0;
+ i6 = i2;
+ HEAP32[i7 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i7 = i10 + 32 | 0;
+ i2 = i3;
+ HEAP32[i7 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ HEAP32[i10 + 8 >> 2] = 0;
+ i7 = i10 + 56 | 0;
+ HEAP32[i7 >> 2] = 0;
+ i3 = i10 + 52 | 0;
+ HEAP32[i3 >> 2] = 0;
+ i5 = i8;
+ HEAP32[i5 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i6 = i8 + 16 | 0;
+ HEAP32[i6 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i1 + 104 | 0;
+ HEAP32[i10 + 60 >> 2] = HEAP32[i2 >> 2];
+ i6 = i1 + 148 | 0;
+ i5 = (HEAP32[i6 >> 2] | 0) + 1 | 0;
+ HEAP32[i6 >> 2] = i5;
+ i6 = i10;
+ HEAP32[i10 + 12 >> 2] = i5;
+ i5 = i1 + 4 | 0;
+ HEAP32[i10 + 48 >> 2] = __ZN6btDbvt6insertERK12btDbvtAabbMmPv(i5 | 0, i8, i10) | 0;
+ i10 = i1 + 84 + (HEAP32[i2 >> 2] << 2) | 0;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i7 >> 2] = HEAP32[i10 >> 2];
+ i7 = HEAP32[i10 >> 2] | 0;
+ if ((i7 | 0) != 0) {
+ HEAP32[i7 + 52 >> 2] = i11;
+ }
+ HEAP32[i10 >> 2] = i11;
+ if ((HEAP8[i1 + 153 | 0] | 0) != 0) {
+ STACKTOP = i9;
+ return i6 | 0;
+ }
+ HEAP32[i4 >> 2] = 4064;
+ HEAP32[i4 + 4 >> 2] = i1;
+ HEAP32[i4 + 8 >> 2] = i11;
+ i11 = i4 | 0;
+ __ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(0, HEAP32[i5 >> 2] | 0, i8, i11);
+ __ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(0, HEAP32[i1 + 44 >> 2] | 0, i8, i11);
+ STACKTOP = i9;
+ return i6 | 0;
+}
+function __ZN28btHashedOverlappingPairCache15internalAddPairEP17btBroadphaseProxyS1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0;
+ i4 = (HEAP32[i2 + 12 >> 2] | 0) > (HEAP32[i3 + 12 >> 2] | 0);
+ i5 = i4 ? i3 : i2;
+ i6 = i4 ? i2 : i3;
+ i3 = i5 + 12 | 0;
+ i2 = HEAP32[i3 >> 2] | 0;
+ i4 = i6 + 12 | 0;
+ i7 = HEAP32[i4 >> 2] | 0;
+ i8 = i7 << 16 | i2;
+ i9 = i8 + ~(i8 << 15) | 0;
+ i8 = (i9 >> 10 ^ i9) * 9 | 0;
+ i9 = i8 >> 6 ^ i8;
+ i8 = i9 + ~(i9 << 11) | 0;
+ i9 = i8 >> 16 ^ i8;
+ i8 = i1 + 4 | 0;
+ i10 = i1 + 12 | 0;
+ i11 = HEAP32[i10 >> 2] | 0;
+ i12 = i9 & i11 - 1;
+ i13 = i1 + 44 | 0;
+ i14 = HEAP32[(HEAP32[i13 >> 2] | 0) + (i12 << 2) >> 2] | 0;
+ L1755 : do {
+ if ((i14 | 0) != -1) {
+ i15 = HEAP32[i1 + 16 >> 2] | 0;
+ i16 = i1 + 64 | 0;
+ i17 = i14;
+ while (1) {
+ if ((HEAP32[(HEAP32[i15 + (i17 << 4) >> 2] | 0) + 12 >> 2] | 0) == (i2 | 0)) {
+ if ((HEAP32[(HEAP32[i15 + (i17 << 4) + 4 >> 2] | 0) + 12 >> 2] | 0) == (i7 | 0)) {
+ break;
+ }
+ }
+ i18 = HEAP32[(HEAP32[i16 >> 2] | 0) + (i17 << 2) >> 2] | 0;
+ if ((i18 | 0) == -1) {
+ break L1755;
+ } else {
+ i17 = i18;
+ }
+ }
+ i16 = i15 + (i17 << 4) | 0;
+ if ((i16 | 0) == 0) {
+ break;
+ } else {
+ i19 = i16;
+ }
+ return i19 | 0;
+ }
+ } while (0);
+ i7 = HEAP32[i1 + 8 >> 2] | 0;
+ i2 = __ZN20btAlignedObjectArrayI16btBroadphasePairE21expandNonInitializingEv(i8) | 0;
+ i8 = HEAP32[i1 + 72 >> 2] | 0;
+ if ((i8 | 0) != 0) {
+ i14 = HEAP32[(HEAP32[i8 >> 2] | 0) + 8 >> 2] | 0;
+ FUNCTION_TABLE_iiii[i14 & 31](i8, i5, i6) | 0;
+ }
+ if ((i11 | 0) < (HEAP32[i10 >> 2] | 0)) {
+ __ZN28btHashedOverlappingPairCache10growTablesEv(i1);
+ i20 = (HEAP32[i10 >> 2] | 0) - 1 & i9;
+ } else {
+ i20 = i12;
+ }
+ i12 = i2 | 0;
+ if ((HEAP32[i3 >> 2] | 0) < (HEAP32[i4 >> 2] | 0)) {
+ HEAP32[i12 >> 2] = i5;
+ HEAP32[i2 + 4 >> 2] = i6;
+ } else {
+ HEAP32[i12 >> 2] = i6;
+ HEAP32[i2 + 4 >> 2] = i5;
+ }
+ i5 = i2 + 8 | 0;
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i5 + 4 >> 2] = 0;
+ i5 = (HEAP32[i13 >> 2] | 0) + (i20 << 2) | 0;
+ HEAP32[(HEAP32[i1 + 64 >> 2] | 0) + (i7 << 2) >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i5 >> 2] = i7;
+ i19 = i2;
+ return i19 | 0;
+}
+function __ZNK15btTriangleShape8isInsideERK9btVector3f(i1, i2, d3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ var i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 16 | 0;
+ d7 = +HEAPF32[i1 + 56 >> 2];
+ d8 = +HEAPF32[i1 + 72 >> 2] - d7;
+ d9 = +HEAPF32[i1 + 60 >> 2];
+ d10 = +HEAPF32[i1 + 76 >> 2] - d9;
+ d11 = +HEAPF32[i1 + 64 >> 2];
+ d12 = +HEAPF32[i1 + 80 >> 2] - d11;
+ d13 = +HEAPF32[i1 + 88 >> 2] - d7;
+ d14 = +HEAPF32[i1 + 92 >> 2] - d9;
+ d15 = +HEAPF32[i1 + 96 >> 2] - d11;
+ d16 = d10 * d15 - d12 * d14;
+ d17 = d12 * d13 - d8 * d15;
+ d15 = d8 * d14 - d10 * d13;
+ d13 = 1.0 / +Math_sqrt(+(d15 * d15 + (d16 * d16 + d17 * d17)));
+ d10 = d13 * d16;
+ d16 = d13 * d17;
+ d17 = d15 * d13;
+ i18 = i2 | 0;
+ i19 = i2 + 4 | 0;
+ i20 = i2 + 8 | 0;
+ d13 = +HEAPF32[i18 >> 2] * d10 + +HEAPF32[i19 >> 2] * d16 + d17 * +HEAPF32[i20 >> 2] - (d11 * d17 + (d7 * d10 + d9 * d16));
+ d9 = -0.0 - d3;
+ if (d13 < d9 | d13 > d3) {
+ i21 = 0;
+ STACKTOP = i4;
+ return i21 | 0;
+ }
+ i2 = i1;
+ i22 = i6 | 0;
+ i23 = i5 | 0;
+ i24 = i6 + 4 | 0;
+ i25 = i5 + 4 | 0;
+ i26 = i6 + 8 | 0;
+ i27 = i5 + 8 | 0;
+ i28 = 0;
+ while (1) {
+ if ((i28 | 0) >= 3) {
+ i21 = 1;
+ i29 = 139;
+ break;
+ }
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 96 >> 2] & 127](i1, i28, i5, i6);
+ d3 = +HEAPF32[i23 >> 2];
+ d13 = +HEAPF32[i22 >> 2] - d3;
+ d7 = +HEAPF32[i25 >> 2];
+ d11 = +HEAPF32[i24 >> 2] - d7;
+ d15 = +HEAPF32[i27 >> 2];
+ d14 = +HEAPF32[i26 >> 2] - d15;
+ d8 = d17 * d11 - d16 * d14;
+ d12 = d10 * d14 - d17 * d13;
+ d14 = d16 * d13 - d10 * d11;
+ d11 = 1.0 / +Math_sqrt(+(d14 * d14 + (d8 * d8 + d12 * d12)));
+ d13 = d11 * d8;
+ d8 = d11 * d12;
+ d12 = d14 * d11;
+ if (+HEAPF32[i18 >> 2] * d13 + +HEAPF32[i19 >> 2] * d8 + d12 * +HEAPF32[i20 >> 2] - (d15 * d12 + (d3 * d13 + d7 * d8)) < d9) {
+ i21 = 0;
+ i29 = 140;
+ break;
+ } else {
+ i28 = i28 + 1 | 0;
+ }
+ }
+ if ((i29 | 0) == 139) {
+ STACKTOP = i4;
+ return i21 | 0;
+ } else if ((i29 | 0) == 140) {
+ STACKTOP = i4;
+ return i21 | 0;
+ }
+ return 0;
+}
+function __ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallback11processNodeEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, d20 = 0.0, d21 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 112 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 48 | 0;
+ i7 = i4 + 64 | 0;
+ i8 = i4 + 72 | 0;
+ i9 = i4 + 80 | 0;
+ i10 = i4 + 88 | 0;
+ i11 = i4 + 104 | 0;
+ i12 = i1 + 4 | 0;
+ i13 = HEAP32[i12 >> 2] | 0;
+ FUNCTION_TABLE_viiiiiiiiii[HEAP32[(HEAP32[i13 >> 2] | 0) + 16 >> 2] & 3](i13, i6, i4 + 56 | 0, i7, i8, i9, i10, i4 + 96 | 0, i11, i2);
+ i13 = HEAP32[i9 >> 2] | 0;
+ i9 = i13 + (Math_imul(HEAP32[i10 >> 2] | 0, i3) | 0) | 0;
+ i10 = i9;
+ i13 = HEAP32[i12 >> 2] | 0;
+ i14 = (HEAP32[i11 >> 2] | 0) == 3;
+ i11 = i9;
+ i9 = (HEAP32[i7 >> 2] | 0) == 0;
+ i7 = HEAP32[i6 >> 2] | 0;
+ i6 = i13 + 4 | 0;
+ i15 = i13 + 8 | 0;
+ i16 = i13 + 12 | 0;
+ i13 = 2;
+ while (1) {
+ if (i14) {
+ i17 = HEAPU16[i11 + (i13 << 1) >> 1] | 0;
+ } else {
+ i17 = HEAP32[i10 + (i13 << 2) >> 2] | 0;
+ }
+ i18 = Math_imul(HEAP32[i8 >> 2] | 0, i17) | 0;
+ i19 = i7 + i18 | 0;
+ if (i9) {
+ d20 = +HEAPF32[i7 + (i18 + 4) >> 2] * +HEAPF32[i15 >> 2];
+ d21 = +HEAPF32[i7 + (i18 + 8) >> 2] * +HEAPF32[i16 >> 2];
+ HEAPF32[i5 + (i13 << 4) >> 2] = +HEAPF32[i19 >> 2] * +HEAPF32[i6 >> 2];
+ HEAPF32[i5 + (i13 << 4) + 4 >> 2] = d20;
+ HEAPF32[i5 + (i13 << 4) + 8 >> 2] = d21;
+ HEAPF32[i5 + (i13 << 4) + 12 >> 2] = 0.0;
+ } else {
+ d21 = +HEAPF64[i7 + (i18 + 8) >> 3] * +HEAPF32[i15 >> 2];
+ d20 = +HEAPF64[i7 + (i18 + 16) >> 3] * +HEAPF32[i16 >> 2];
+ HEAPF32[i5 + (i13 << 4) >> 2] = +HEAPF64[i19 >> 3] * +HEAPF32[i6 >> 2];
+ HEAPF32[i5 + (i13 << 4) + 4 >> 2] = d21;
+ HEAPF32[i5 + (i13 << 4) + 8 >> 2] = d20;
+ HEAPF32[i5 + (i13 << 4) + 12 >> 2] = 0.0;
+ }
+ if ((i13 | 0) > 0) {
+ i13 = i13 - 1 | 0;
+ } else {
+ break;
+ }
+ }
+ i13 = HEAP32[i1 + 8 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i13 >> 2] | 0) + 8 >> 2] & 127](i13, i5 | 0, i2, i3);
+ i3 = HEAP32[i12 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 24 >> 2] & 127](i3, i2);
+ STACKTOP = i4;
+ return;
+}
+function __ZN25btSimulationIslandManager10findUnionsEP12btDispatcherP16btCollisionWorld(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i2 = HEAP32[i3 + 76 >> 2] | 0;
+ i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0;
+ i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0;
+ i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 20 >> 2] & 127](i3) | 0;
+ if ((i2 | 0) <= 0) {
+ return;
+ }
+ i3 = i1 + 16 | 0;
+ i1 = 0;
+ do {
+ i5 = HEAP32[HEAP32[i4 + (i1 << 4) >> 2] >> 2] | 0;
+ i6 = HEAP32[HEAP32[i4 + (i1 << 4) + 4 >> 2] >> 2] | 0;
+ do {
+ if ((i5 | 0) != 0) {
+ if ((HEAP32[i5 + 204 >> 2] & 7 | 0) != 0 | (i6 | 0) == 0) {
+ break;
+ }
+ if ((HEAP32[i6 + 204 >> 2] & 7 | 0) != 0) {
+ break;
+ }
+ i7 = HEAP32[i5 + 208 >> 2] | 0;
+ i8 = HEAP32[i6 + 208 >> 2] | 0;
+ i9 = HEAP32[i3 >> 2] | 0;
+ i10 = i9 + (i7 << 3) | 0;
+ i11 = HEAP32[i10 >> 2] | 0;
+ if ((i11 | 0) == (i7 | 0)) {
+ i12 = i7;
+ } else {
+ i7 = i10;
+ i10 = i11;
+ while (1) {
+ i11 = i9 + (i10 << 3) | 0;
+ HEAP32[i7 >> 2] = HEAP32[i11 >> 2];
+ i13 = HEAP32[i11 >> 2] | 0;
+ i11 = i9 + (i13 << 3) | 0;
+ i14 = HEAP32[i11 >> 2] | 0;
+ if ((i13 | 0) == (i14 | 0)) {
+ i12 = i13;
+ break;
+ } else {
+ i7 = i11;
+ i10 = i14;
+ }
+ }
+ }
+ i10 = i9 + (i8 << 3) | 0;
+ i7 = HEAP32[i10 >> 2] | 0;
+ if ((i7 | 0) == (i8 | 0)) {
+ i15 = i8;
+ } else {
+ i14 = i10;
+ i10 = i7;
+ while (1) {
+ i7 = i9 + (i10 << 3) | 0;
+ HEAP32[i14 >> 2] = HEAP32[i7 >> 2];
+ i11 = HEAP32[i7 >> 2] | 0;
+ i7 = i9 + (i11 << 3) | 0;
+ i13 = HEAP32[i7 >> 2] | 0;
+ if ((i11 | 0) == (i13 | 0)) {
+ i15 = i11;
+ break;
+ } else {
+ i14 = i7;
+ i10 = i13;
+ }
+ }
+ }
+ if ((i12 | 0) == (i15 | 0)) {
+ break;
+ }
+ HEAP32[i9 + (i12 << 3) >> 2] = i15;
+ i10 = i9 + (i15 << 3) + 4 | 0;
+ HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) + (HEAP32[i9 + (i12 << 3) + 4 >> 2] | 0);
+ }
+ } while (0);
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i2 | 0));
+ return;
+}
+function __ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallback11processNodeEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, d20 = 0.0, d21 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 112 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 48 | 0;
+ i7 = i4 + 64 | 0;
+ i8 = i4 + 72 | 0;
+ i9 = i4 + 80 | 0;
+ i10 = i4 + 88 | 0;
+ i11 = i4 + 104 | 0;
+ i12 = i1 + 4 | 0;
+ i13 = HEAP32[i12 >> 2] | 0;
+ FUNCTION_TABLE_viiiiiiiiii[HEAP32[(HEAP32[i13 >> 2] | 0) + 16 >> 2] & 3](i13, i6, i4 + 56 | 0, i7, i8, i9, i10, i4 + 96 | 0, i11, i2);
+ i13 = HEAP32[i9 >> 2] | 0;
+ i9 = i13 + (Math_imul(HEAP32[i10 >> 2] | 0, i3) | 0) | 0;
+ i10 = i9;
+ i13 = HEAP32[i12 >> 2] | 0;
+ i14 = (HEAP32[i11 >> 2] | 0) == 3;
+ i11 = i9;
+ i9 = (HEAP32[i7 >> 2] | 0) == 0;
+ i7 = HEAP32[i6 >> 2] | 0;
+ i6 = i13 + 4 | 0;
+ i15 = i13 + 8 | 0;
+ i16 = i13 + 12 | 0;
+ i13 = 2;
+ while (1) {
+ if (i14) {
+ i17 = HEAPU16[i11 + (i13 << 1) >> 1] | 0;
+ } else {
+ i17 = HEAP32[i10 + (i13 << 2) >> 2] | 0;
+ }
+ i18 = Math_imul(HEAP32[i8 >> 2] | 0, i17) | 0;
+ i19 = i7 + i18 | 0;
+ if (i9) {
+ d20 = +HEAPF32[i7 + (i18 + 4) >> 2] * +HEAPF32[i15 >> 2];
+ d21 = +HEAPF32[i7 + (i18 + 8) >> 2] * +HEAPF32[i16 >> 2];
+ HEAPF32[i5 + (i13 << 4) >> 2] = +HEAPF32[i19 >> 2] * +HEAPF32[i6 >> 2];
+ HEAPF32[i5 + (i13 << 4) + 4 >> 2] = d20;
+ HEAPF32[i5 + (i13 << 4) + 8 >> 2] = d21;
+ HEAPF32[i5 + (i13 << 4) + 12 >> 2] = 0.0;
+ } else {
+ d21 = +HEAPF64[i7 + (i18 + 8) >> 3] * +HEAPF32[i15 >> 2];
+ d20 = +HEAPF64[i7 + (i18 + 16) >> 3] * +HEAPF32[i16 >> 2];
+ HEAPF32[i5 + (i13 << 4) >> 2] = +HEAPF64[i19 >> 3] * +HEAPF32[i6 >> 2];
+ HEAPF32[i5 + (i13 << 4) + 4 >> 2] = d21;
+ HEAPF32[i5 + (i13 << 4) + 8 >> 2] = d20;
+ HEAPF32[i5 + (i13 << 4) + 12 >> 2] = 0.0;
+ }
+ if ((i13 | 0) > 0) {
+ i13 = i13 - 1 | 0;
+ } else {
+ break;
+ }
+ }
+ i13 = HEAP32[i1 + 8 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i13 >> 2] | 0) + 8 >> 2] & 127](i13, i5 | 0, i2, i3);
+ i3 = HEAP32[i12 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 24 >> 2] & 127](i3, i2);
+ STACKTOP = i4;
+ return;
+}
+function __ZNK11btMatrix3x311getRotationER12btQuaternion(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i4 = i3 | 0;
+ d5 = +HEAPF32[i1 >> 2];
+ d6 = +HEAPF32[i1 + 20 >> 2];
+ d7 = +HEAPF32[i1 + 40 >> 2];
+ d8 = d5 + d6 + d7;
+ if (d8 > 0.0) {
+ d9 = +Math_sqrt(+(d8 + 1.0));
+ d8 = d9 * .5;
+ HEAPF32[i4 + 12 >> 2] = d8;
+ d10 = .5 / d9;
+ d9 = d10 * (+HEAPF32[i1 + 36 >> 2] - +HEAPF32[i1 + 24 >> 2]);
+ HEAPF32[i4 >> 2] = d9;
+ d11 = d10 * (+HEAPF32[i1 + 8 >> 2] - +HEAPF32[i1 + 32 >> 2]);
+ HEAPF32[i4 + 4 >> 2] = d11;
+ d12 = d10 * (+HEAPF32[i1 + 16 >> 2] - +HEAPF32[i1 + 4 >> 2]);
+ HEAPF32[i4 + 8 >> 2] = d12;
+ d13 = d9;
+ d14 = d11;
+ d15 = d12;
+ d16 = d8;
+ i17 = i2 | 0;
+ HEAPF32[i17 >> 2] = d13;
+ i18 = i2 + 4 | 0;
+ HEAPF32[i18 >> 2] = d14;
+ i19 = i2 + 8 | 0;
+ HEAPF32[i19 >> 2] = d15;
+ i20 = i2 + 12 | 0;
+ HEAPF32[i20 >> 2] = d16;
+ STACKTOP = i3;
+ return;
+ }
+ if (d5 < d6) {
+ i21 = d6 < d7 ? 2 : 1;
+ } else {
+ i21 = d5 < d7 ? 2 : 0;
+ }
+ i22 = ((i21 + 1 | 0) >>> 0) % 3 | 0;
+ i23 = ((i21 + 2 | 0) >>> 0) % 3 | 0;
+ d7 = +Math_sqrt(+(+HEAPF32[i1 + (i21 << 4) + (i21 << 2) >> 2] - +HEAPF32[i1 + (i22 << 4) + (i22 << 2) >> 2] - +HEAPF32[i1 + (i23 << 4) + (i23 << 2) >> 2] + 1.0));
+ HEAPF32[i4 + (i21 << 2) >> 2] = d7 * .5;
+ d5 = .5 / d7;
+ i24 = i4 + 12 | 0;
+ HEAPF32[i24 >> 2] = d5 * (+HEAPF32[i1 + (i23 << 4) + (i22 << 2) >> 2] - +HEAPF32[i1 + (i22 << 4) + (i23 << 2) >> 2]);
+ HEAPF32[i4 + (i22 << 2) >> 2] = d5 * (+HEAPF32[i1 + (i22 << 4) + (i21 << 2) >> 2] + +HEAPF32[i1 + (i21 << 4) + (i22 << 2) >> 2]);
+ HEAPF32[i4 + (i23 << 2) >> 2] = d5 * (+HEAPF32[i1 + (i23 << 4) + (i21 << 2) >> 2] + +HEAPF32[i1 + (i21 << 4) + (i23 << 2) >> 2]);
+ d13 = +HEAPF32[i4 >> 2];
+ d14 = +HEAPF32[i4 + 4 >> 2];
+ d15 = +HEAPF32[i4 + 8 >> 2];
+ d16 = +HEAPF32[i24 >> 2];
+ i17 = i2 | 0;
+ HEAPF32[i17 >> 2] = d13;
+ i18 = i2 + 4 | 0;
+ HEAPF32[i18 >> 2] = d14;
+ i19 = i2 + 8 | 0;
+ HEAPF32[i19 >> 2] = d15;
+ i20 = i2 + 12 | 0;
+ HEAPF32[i20 >> 2] = d16;
+ STACKTOP = i3;
+ return;
+}
+function __ZN24btConvexTriangleCallback15processTriangleEP9btVector3ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 104 | 0;
+ i6 = i5 | 0;
+ i7 = HEAP32[i1 + 48 >> 2] | 0;
+ i8 = i1 + 8 | 0;
+ i9 = i1 + 4 | 0;
+ if ((HEAP32[(HEAP32[(HEAP32[i9 >> 2] | 0) + 192 >> 2] | 0) + 4 >> 2] | 0) >= 20) {
+ STACKTOP = i5;
+ return;
+ }
+ i10 = HEAP32[i8 >> 2] | 0;
+ i11 = i6 | 0;
+ __ZN23btPolyhedralConvexShapeC2Ev(i11);
+ HEAP32[i6 >> 2] = 4560;
+ HEAP32[i6 + 4 >> 2] = 1;
+ i12 = i6 + 56 | 0;
+ i13 = i2;
+ HEAP32[i12 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i12 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ i13 = i6 + 72 | 0;
+ i12 = i2 + 16 | 0;
+ HEAP32[i13 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i13 + 4 >> 2] = HEAP32[i12 + 4 >> 2];
+ HEAP32[i13 + 8 >> 2] = HEAP32[i12 + 8 >> 2];
+ HEAP32[i13 + 12 >> 2] = HEAP32[i12 + 12 >> 2];
+ i12 = i6 + 88 | 0;
+ i13 = i2 + 32 | 0;
+ HEAP32[i12 >> 2] = HEAP32[i13 >> 2];
+ HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2];
+ HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2];
+ HEAP32[i12 + 12 >> 2] = HEAP32[i13 + 12 >> 2];
+ HEAPF32[i6 + 44 >> 2] = +HEAPF32[i1 + 56 >> 2];
+ i13 = i10 + 192 | 0;
+ i10 = HEAP32[i13 >> 2] | 0;
+ HEAP32[i13 >> 2] = i6;
+ i6 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 8 >> 2] & 31](i7, HEAP32[i9 >> 2] | 0, HEAP32[i8 >> 2] | 0, HEAP32[i1 + 64 >> 2] | 0) | 0;
+ i12 = i1 + 44 | 0;
+ i2 = HEAP32[i12 >> 2] | 0;
+ i14 = HEAP32[i2 >> 2] | 0;
+ if ((HEAP32[i2 + 136 >> 2] | 0) == (HEAP32[i8 >> 2] | 0)) {
+ FUNCTION_TABLE_viii[HEAP32[i14 + 8 >> 2] & 127](i2, i3, i4);
+ } else {
+ FUNCTION_TABLE_viii[HEAP32[i14 + 12 >> 2] & 127](i2, i3, i4);
+ }
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 8 >> 2] & 63](i6, HEAP32[i9 >> 2] | 0, HEAP32[i8 >> 2] | 0, HEAP32[i1 + 52 >> 2] | 0, HEAP32[i12 >> 2] | 0);
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i6 >> 2] >> 2] & 511](i6);
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i7 >> 2] | 0) + 60 >> 2] & 127](i7, i6);
+ HEAP32[i13 >> 2] = i10;
+ __ZN23btPolyhedralConvexShapeD2Ev(i11);
+ STACKTOP = i5;
+ return;
+}
+function __ZN28btCompoundCollisionAlgorithm26preallocateChildAlgorithmsEP17btCollisionObjectS1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i4 = (HEAP8[i1 + 28 | 0] | 0) != 0;
+ i5 = i4 ? i3 : i2;
+ i6 = i4 ? i2 : i3;
+ i3 = i5 + 192 | 0;
+ i2 = HEAP32[i3 >> 2] | 0;
+ i4 = HEAP32[i2 + 16 >> 2] | 0;
+ i7 = i1 + 12 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ if ((i8 | 0) < (i4 | 0)) {
+ i9 = i1 + 16 | 0;
+ if ((HEAP32[i9 >> 2] | 0) < (i4 | 0)) {
+ if ((i4 | 0) == 0) {
+ i10 = 0;
+ i11 = i8;
+ } else {
+ i12 = __Z22btAlignedAllocInternalji(i4 << 2, 16) | 0;
+ i10 = i12;
+ i11 = HEAP32[i7 >> 2] | 0;
+ }
+ i12 = i1 + 20 | 0;
+ if ((i11 | 0) > 0) {
+ i13 = 0;
+ do {
+ i14 = i10 + (i13 << 2) | 0;
+ if ((i14 | 0) != 0) {
+ HEAP32[i14 >> 2] = HEAP32[(HEAP32[i12 >> 2] | 0) + (i13 << 2) >> 2];
+ }
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i11 | 0));
+ }
+ i11 = HEAP32[i12 >> 2] | 0;
+ i13 = i1 + 24 | 0;
+ if ((i11 | 0) != 0) {
+ if ((HEAP8[i13] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i11);
+ }
+ HEAP32[i12 >> 2] = 0;
+ }
+ HEAP8[i13] = 1;
+ HEAP32[i12 >> 2] = i10;
+ HEAP32[i9 >> 2] = i4;
+ i15 = i12;
+ } else {
+ i15 = i1 + 20 | 0;
+ }
+ i12 = i8;
+ do {
+ i8 = (HEAP32[i15 >> 2] | 0) + (i12 << 2) | 0;
+ if ((i8 | 0) != 0) {
+ HEAP32[i8 >> 2] = 0;
+ }
+ i12 = i12 + 1 | 0;
+ } while ((i12 | 0) < (i4 | 0));
+ }
+ HEAP32[i7 >> 2] = i4;
+ if ((i4 | 0) <= 0) {
+ return;
+ }
+ i7 = i2 + 64 | 0;
+ i12 = i2 + 24 | 0;
+ i2 = i1 + 4 | 0;
+ i15 = i1 + 32 | 0;
+ i8 = i1 + 20 | 0;
+ i1 = 0;
+ do {
+ if ((HEAP32[i7 >> 2] | 0) == 0) {
+ i9 = HEAP32[i3 >> 2] | 0;
+ HEAP32[i3 >> 2] = HEAP32[(HEAP32[i12 >> 2] | 0) + (i1 * 80 | 0) + 64 >> 2];
+ i10 = HEAP32[i2 >> 2] | 0;
+ i13 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i10 >> 2] | 0) + 8 >> 2] & 31](i10, i5, i6, HEAP32[i15 >> 2] | 0) | 0;
+ HEAP32[(HEAP32[i8 >> 2] | 0) + (i1 << 2) >> 2] = i13;
+ HEAP32[i3 >> 2] = i9;
+ } else {
+ HEAP32[(HEAP32[i8 >> 2] | 0) + (i1 << 2) >> 2] = 0;
+ }
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i4 | 0));
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolver45solveGroupCacheFriendlySplitImpulseIterationsEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ var i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ if ((HEAP32[i8 + 44 >> 2] | 0) == 0) {
+ return;
+ }
+ i10 = i8 + 20 | 0;
+ i9 = HEAP32[i10 >> 2] | 0;
+ i7 = (i9 | 0) > 0;
+ if ((HEAP32[i8 + 60 >> 2] & 256 | 0) == 0) {
+ if (!i7) {
+ return;
+ }
+ i8 = i1 + 8 | 0;
+ i6 = i1 + 76 | 0;
+ i5 = i1 + 16 | 0;
+ i4 = 1;
+ i3 = i9;
+ while (1) {
+ i2 = HEAP32[i8 >> 2] | 0;
+ if ((i2 | 0) > 0) {
+ i11 = 0;
+ do {
+ i12 = HEAP32[(HEAP32[i6 >> 2] | 0) + (i11 << 2) >> 2] | 0;
+ i13 = HEAP32[i5 >> 2] | 0;
+ __ZN35btSequentialImpulseConstraintSolver43resolveSplitPenetrationImpulseCacheFriendlyER11btRigidBodyS1_RK18btSolverConstraint(0, HEAP32[i13 + (i12 * 136 | 0) + 104 >> 2] | 0, HEAP32[i13 + (i12 * 136 | 0) + 108 >> 2] | 0, i13 + (i12 * 136 | 0) | 0);
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i2 | 0));
+ i14 = HEAP32[i10 >> 2] | 0;
+ } else {
+ i14 = i3;
+ }
+ if ((i4 | 0) >= (i14 | 0)) {
+ break;
+ }
+ i4 = i4 + 1 | 0;
+ i3 = i14;
+ }
+ return;
+ } else {
+ if (!i7) {
+ return;
+ }
+ i7 = i1 + 8 | 0;
+ i14 = i1 + 76 | 0;
+ i3 = i1 + 16 | 0;
+ i1 = 1;
+ i4 = i9;
+ while (1) {
+ i9 = HEAP32[i7 >> 2] | 0;
+ if ((i9 | 0) > 0) {
+ i5 = 0;
+ do {
+ i6 = HEAP32[(HEAP32[i14 >> 2] | 0) + (i5 << 2) >> 2] | 0;
+ i8 = HEAP32[i3 >> 2] | 0;
+ __ZN35btSequentialImpulseConstraintSolver43resolveSplitPenetrationImpulseCacheFriendlyER11btRigidBodyS1_RK18btSolverConstraint(0, HEAP32[i8 + (i6 * 136 | 0) + 104 >> 2] | 0, HEAP32[i8 + (i6 * 136 | 0) + 108 >> 2] | 0, i8 + (i6 * 136 | 0) | 0);
+ i5 = i5 + 1 | 0;
+ } while ((i5 | 0) < (i9 | 0));
+ i15 = HEAP32[i10 >> 2] | 0;
+ } else {
+ i15 = i4;
+ }
+ if ((i1 | 0) >= (i15 | 0)) {
+ break;
+ }
+ i1 = i1 + 1 | 0;
+ i4 = i15;
+ }
+ return;
+ }
+}
+function __ZN23btDiscreteDynamicsWorld12addRigidBodyEP11btRigidBody(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0;
+ i3 = i2 | 0;
+ i4 = i2 + 204 | 0;
+ do {
+ if ((HEAP32[i4 >> 2] & 3 | 0) == 0) {
+ if ((HEAP32[i2 + 496 >> 2] & 1 | 0) != 0) {
+ break;
+ }
+ __ZN11btRigidBody10setGravityERK9btVector3(i2, i1 + 220 | 0);
+ }
+ } while (0);
+ if ((HEAP32[i2 + 192 >> 2] | 0) == 0) {
+ return;
+ }
+ if ((HEAP32[i4 >> 2] & 1 | 0) == 0) {
+ i5 = i1 + 204 | 0;
+ i6 = HEAP32[i5 >> 2] | 0;
+ i7 = i1 + 208 | 0;
+ do {
+ if ((i6 | 0) == (HEAP32[i7 >> 2] | 0)) {
+ i8 = (i6 | 0) == 0 ? 1 : i6 << 1;
+ if ((i6 | 0) >= (i8 | 0)) {
+ i9 = i6;
+ break;
+ }
+ if ((i8 | 0) == 0) {
+ i10 = 0;
+ i11 = i6;
+ } else {
+ i12 = __Z22btAlignedAllocInternalji(i8 << 2, 16) | 0;
+ i10 = i12;
+ i11 = HEAP32[i5 >> 2] | 0;
+ }
+ i12 = i1 + 212 | 0;
+ if ((i11 | 0) > 0) {
+ i13 = 0;
+ do {
+ i14 = i10 + (i13 << 2) | 0;
+ if ((i14 | 0) != 0) {
+ HEAP32[i14 >> 2] = HEAP32[(HEAP32[i12 >> 2] | 0) + (i13 << 2) >> 2];
+ }
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i11 | 0));
+ }
+ i13 = HEAP32[i12 >> 2] | 0;
+ i14 = i1 + 216 | 0;
+ if ((i13 | 0) == 0) {
+ i15 = i11;
+ } else {
+ if ((HEAP8[i14] | 0) == 0) {
+ i16 = i11;
+ } else {
+ __Z21btAlignedFreeInternalPv(i13);
+ i16 = HEAP32[i5 >> 2] | 0;
+ }
+ HEAP32[i12 >> 2] = 0;
+ i15 = i16;
+ }
+ HEAP8[i14] = 1;
+ HEAP32[i12 >> 2] = i10;
+ HEAP32[i7 >> 2] = i8;
+ i9 = i15;
+ } else {
+ i9 = i6;
+ }
+ } while (0);
+ i6 = (HEAP32[i1 + 212 >> 2] | 0) + (i9 << 2) | 0;
+ if ((i6 | 0) != 0) {
+ HEAP32[i6 >> 2] = i2;
+ }
+ HEAP32[i5 >> 2] = i9 + 1;
+ } else {
+ __ZN17btCollisionObject18setActivationStateEi(i3, 2);
+ }
+ i9 = HEAP32[i4 >> 2] | 0;
+ if ((i9 & 1 | 0) == 0) {
+ i17 = (i9 & 2 | 0) == 0;
+ } else {
+ i17 = 0;
+ }
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 32 >> 2] & 127](i1, i3, i17 ? 1 : 2, i17 ? -1 : -3);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld14debugDrawWorldEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(1112);
+ i2 = i1 | 0;
+ __ZN16btCollisionWorld14debugDrawWorldEv(i2);
+ i3 = i1;
+ L167 : do {
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i2) | 0) != 0) {
+ i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i2) | 0;
+ if (((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 48 >> 2] & 127](i4) | 0) & 6144 | 0) == 0) {
+ break;
+ }
+ i4 = i1;
+ i5 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 100 >> 2] & 127](i1) | 0;
+ while (1) {
+ i6 = i5 - 1 | 0;
+ if ((i5 | 0) <= 0) {
+ break L167;
+ }
+ __ZN23btDiscreteDynamicsWorld19debugDrawConstraintEP17btTypedConstraint(i1, FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 104 >> 2] & 63](i1, i6) | 0);
+ i5 = i6;
+ }
+ }
+ } while (0);
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i2) | 0) == 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ i5 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i2) | 0;
+ if (((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 48 >> 2] & 127](i5) | 0) & 3 | 0) == 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i2) | 0) == 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ i5 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i2) | 0;
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 48 >> 2] & 127](i5) | 0) == 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ i5 = i1 + 248 | 0;
+ if ((HEAP32[i5 >> 2] | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ i2 = i1 + 256 | 0;
+ i3 = i1 + 80 | 0;
+ i1 = 0;
+ do {
+ i4 = HEAP32[(HEAP32[i2 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 12 >> 2] & 127](i4, HEAP32[i3 >> 2] | 0);
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (HEAP32[i5 >> 2] | 0));
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+}
+function __ZNK20btDefaultMotionState17getWorldTransformER11btTransform(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var d3 = 0.0, d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0;
+ d3 = +HEAPF32[i1 + 68 >> 2];
+ d4 = +HEAPF32[i1 + 84 >> 2];
+ d5 = +HEAPF32[i1 + 100 >> 2];
+ d6 = +HEAPF32[i1 + 72 >> 2];
+ d7 = +HEAPF32[i1 + 88 >> 2];
+ d8 = +HEAPF32[i1 + 104 >> 2];
+ d9 = +HEAPF32[i1 + 76 >> 2];
+ d10 = +HEAPF32[i1 + 92 >> 2];
+ d11 = +HEAPF32[i1 + 108 >> 2];
+ d12 = -0.0 - +HEAPF32[i1 + 116 >> 2];
+ d13 = -0.0 - +HEAPF32[i1 + 120 >> 2];
+ d14 = -0.0 - +HEAPF32[i1 + 124 >> 2];
+ d15 = +HEAPF32[i1 + 4 >> 2];
+ d16 = +HEAPF32[i1 + 20 >> 2];
+ d17 = +HEAPF32[i1 + 36 >> 2];
+ d18 = +HEAPF32[i1 + 8 >> 2];
+ d19 = +HEAPF32[i1 + 24 >> 2];
+ d20 = +HEAPF32[i1 + 40 >> 2];
+ d21 = +HEAPF32[i1 + 12 >> 2];
+ d22 = +HEAPF32[i1 + 28 >> 2];
+ d23 = +HEAPF32[i1 + 44 >> 2];
+ d24 = +HEAPF32[i1 + 52 >> 2];
+ d25 = +HEAPF32[i1 + 56 >> 2];
+ d26 = +HEAPF32[i1 + 60 >> 2];
+ HEAPF32[i2 >> 2] = d3 * d15 + d4 * d16 + d5 * d17;
+ HEAPF32[i2 + 4 >> 2] = d3 * d18 + d4 * d19 + d5 * d20;
+ HEAPF32[i2 + 8 >> 2] = d3 * d21 + d4 * d22 + d5 * d23;
+ HEAPF32[i2 + 12 >> 2] = 0.0;
+ HEAPF32[i2 + 16 >> 2] = d6 * d15 + d7 * d16 + d8 * d17;
+ HEAPF32[i2 + 20 >> 2] = d6 * d18 + d7 * d19 + d8 * d20;
+ HEAPF32[i2 + 24 >> 2] = d6 * d21 + d7 * d22 + d8 * d23;
+ HEAPF32[i2 + 28 >> 2] = 0.0;
+ HEAPF32[i2 + 32 >> 2] = d9 * d15 + d10 * d16 + d11 * d17;
+ HEAPF32[i2 + 36 >> 2] = d9 * d18 + d10 * d19 + d11 * d20;
+ HEAPF32[i2 + 40 >> 2] = d9 * d21 + d10 * d22 + d11 * d23;
+ HEAPF32[i2 + 44 >> 2] = 0.0;
+ HEAPF32[i2 + 48 >> 2] = d3 * d12 + d4 * d13 + d5 * d14 + (d3 * d24 + d4 * d25 + d5 * d26);
+ HEAPF32[i2 + 52 >> 2] = d6 * d12 + d7 * d13 + d8 * d14 + (d6 * d24 + d7 * d25 + d8 * d26);
+ HEAPF32[i2 + 56 >> 2] = d9 * d12 + d10 * d13 + d11 * d14 + (d9 * d24 + d10 * d25 + d11 * d26);
+ HEAPF32[i2 + 60 >> 2] = 0.0;
+ return;
+}
+function __ZNK16btDbvtBroadphase17getBroadphaseAabbER9btVector3S1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0;
+ i4 = HEAP32[i1 + 4 >> 2] | 0;
+ i5 = HEAP32[i1 + 44 >> 2] | 0;
+ i1 = (i5 | 0) == 0;
+ do {
+ if ((i4 | 0) == 0) {
+ if (i1) {
+ d6 = 0.0;
+ d7 = 0.0;
+ d8 = 0.0;
+ d9 = 0.0;
+ d10 = 0.0;
+ d11 = 0.0;
+ d12 = 0.0;
+ d13 = 0.0;
+ break;
+ }
+ d6 = +HEAPF32[i5 >> 2];
+ d7 = +HEAPF32[i5 + 4 >> 2];
+ d8 = +HEAPF32[i5 + 8 >> 2];
+ d9 = +HEAPF32[i5 + 12 >> 2];
+ d10 = +HEAPF32[i5 + 16 >> 2];
+ d11 = +HEAPF32[i5 + 20 >> 2];
+ d12 = +HEAPF32[i5 + 24 >> 2];
+ d13 = +HEAPF32[i5 + 28 >> 2];
+ } else {
+ d14 = +HEAPF32[i4 >> 2];
+ if (i1) {
+ d6 = d14;
+ d7 = +HEAPF32[i4 + 4 >> 2];
+ d8 = +HEAPF32[i4 + 8 >> 2];
+ d9 = +HEAPF32[i4 + 12 >> 2];
+ d10 = +HEAPF32[i4 + 16 >> 2];
+ d11 = +HEAPF32[i4 + 20 >> 2];
+ d12 = +HEAPF32[i4 + 24 >> 2];
+ d13 = +HEAPF32[i4 + 28 >> 2];
+ break;
+ } else {
+ d15 = +HEAPF32[i5 >> 2];
+ d16 = +HEAPF32[i4 + 16 >> 2];
+ d17 = +HEAPF32[i5 + 16 >> 2];
+ d18 = +HEAPF32[i4 + 4 >> 2];
+ d19 = +HEAPF32[i5 + 4 >> 2];
+ d20 = +HEAPF32[i4 + 20 >> 2];
+ d21 = +HEAPF32[i5 + 20 >> 2];
+ d22 = +HEAPF32[i4 + 8 >> 2];
+ d23 = +HEAPF32[i5 + 8 >> 2];
+ d24 = +HEAPF32[i4 + 24 >> 2];
+ d25 = +HEAPF32[i5 + 24 >> 2];
+ d6 = d14 < d15 ? d14 : d15;
+ d7 = d18 < d19 ? d18 : d19;
+ d8 = d22 < d23 ? d22 : d23;
+ d9 = 0.0;
+ d10 = d16 > d17 ? d16 : d17;
+ d11 = d20 > d21 ? d20 : d21;
+ d12 = d24 > d25 ? d24 : d25;
+ d13 = 0.0;
+ break;
+ }
+ }
+ } while (0);
+ HEAPF32[i2 >> 2] = d6;
+ HEAPF32[i2 + 4 >> 2] = d7;
+ HEAPF32[i2 + 8 >> 2] = d8;
+ HEAPF32[i2 + 12 >> 2] = d9;
+ HEAPF32[i3 >> 2] = d10;
+ HEAPF32[i3 + 4 >> 2] = d11;
+ HEAPF32[i3 + 8 >> 2] = d12;
+ HEAPF32[i3 + 12 >> 2] = d13;
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolverD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ HEAP32[i1 >> 2] = 2368;
+ i2 = i1 + 108 | 0;
+ i3 = i1 + 116 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 120 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 112 >> 2] = 0;
+ i2 = i1 + 88 | 0;
+ i3 = i1 + 96 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 100 | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 92 >> 2] = 0;
+ i2 = i1 + 68 | 0;
+ i3 = i1 + 76 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 80 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 72 >> 2] = 0;
+ i2 = i1 + 48 | 0;
+ i3 = i1 + 56 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 60 | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 52 >> 2] = 0;
+ i2 = i1 + 28 | 0;
+ i3 = i1 + 36 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 40 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 32 >> 2] = 0;
+ i2 = i1 + 8 | 0;
+ i3 = i1 + 16 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 20 | 0;
+ if ((i5 | 0) == 0) {
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 12 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+ }
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 12 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld12addRigidBodyEP11btRigidBodyss(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0;
+ i5 = i2 | 0;
+ i6 = i2 + 204 | 0;
+ do {
+ if ((HEAP32[i6 >> 2] & 3 | 0) == 0) {
+ if ((HEAP32[i2 + 496 >> 2] & 1 | 0) != 0) {
+ break;
+ }
+ __ZN11btRigidBody10setGravityERK9btVector3(i2, i1 + 220 | 0);
+ }
+ } while (0);
+ if ((HEAP32[i2 + 192 >> 2] | 0) == 0) {
+ return;
+ }
+ if ((HEAP32[i6 >> 2] & 1 | 0) == 0) {
+ i6 = i1 + 204 | 0;
+ i7 = HEAP32[i6 >> 2] | 0;
+ i8 = i1 + 208 | 0;
+ do {
+ if ((i7 | 0) == (HEAP32[i8 >> 2] | 0)) {
+ i9 = (i7 | 0) == 0 ? 1 : i7 << 1;
+ if ((i7 | 0) >= (i9 | 0)) {
+ i10 = i7;
+ break;
+ }
+ if ((i9 | 0) == 0) {
+ i11 = 0;
+ i12 = i7;
+ } else {
+ i13 = __Z22btAlignedAllocInternalji(i9 << 2, 16) | 0;
+ i11 = i13;
+ i12 = HEAP32[i6 >> 2] | 0;
+ }
+ i13 = i1 + 212 | 0;
+ if ((i12 | 0) > 0) {
+ i14 = 0;
+ do {
+ i15 = i11 + (i14 << 2) | 0;
+ if ((i15 | 0) != 0) {
+ HEAP32[i15 >> 2] = HEAP32[(HEAP32[i13 >> 2] | 0) + (i14 << 2) >> 2];
+ }
+ i14 = i14 + 1 | 0;
+ } while ((i14 | 0) < (i12 | 0));
+ }
+ i14 = HEAP32[i13 >> 2] | 0;
+ i15 = i1 + 216 | 0;
+ if ((i14 | 0) == 0) {
+ i16 = i12;
+ } else {
+ if ((HEAP8[i15] | 0) == 0) {
+ i17 = i12;
+ } else {
+ __Z21btAlignedFreeInternalPv(i14);
+ i17 = HEAP32[i6 >> 2] | 0;
+ }
+ HEAP32[i13 >> 2] = 0;
+ i16 = i17;
+ }
+ HEAP8[i15] = 1;
+ HEAP32[i13 >> 2] = i11;
+ HEAP32[i8 >> 2] = i9;
+ i10 = i16;
+ } else {
+ i10 = i7;
+ }
+ } while (0);
+ i7 = (HEAP32[i1 + 212 >> 2] | 0) + (i10 << 2) | 0;
+ if ((i7 | 0) != 0) {
+ HEAP32[i7 >> 2] = i2;
+ }
+ HEAP32[i6 >> 2] = i10 + 1;
+ } else {
+ __ZN17btCollisionObject18setActivationStateEi(i5, 2);
+ }
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 32 >> 2] & 127](i1, i5, i3, i4);
+ return;
+}
+function __ZNK13btConvexShape31localGetSupportVertexNonVirtualERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 16 | 0;
+ i7 = i5;
+ i8 = i3;
+ HEAP32[i7 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i8 = i5 | 0;
+ d9 = +HEAPF32[i8 >> 2];
+ i7 = i5 + 4 | 0;
+ d10 = +HEAPF32[i7 >> 2];
+ i3 = i5 + 8 | 0;
+ d11 = +HEAPF32[i3 >> 2];
+ if (d9 * d9 + d10 * d10 + d11 * d11 < 1.4210854715202004e-14) {
+ HEAPF32[i8 >> 2] = -1.0;
+ HEAPF32[i7 >> 2] = -1.0;
+ HEAPF32[i3 >> 2] = -1.0;
+ HEAPF32[i5 + 12 >> 2] = 0.0;
+ d12 = -1.0;
+ d13 = -1.0;
+ d14 = -1.0;
+ } else {
+ d12 = d9;
+ d13 = d10;
+ d14 = d11;
+ }
+ d11 = 1.0 / +Math_sqrt(+(d14 * d14 + (d13 * d13 + d12 * d12)));
+ HEAPF32[i8 >> 2] = d12 * d11;
+ HEAPF32[i7 >> 2] = d13 * d11;
+ HEAPF32[i3 >> 2] = d14 * d11;
+ __ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3(i6, i2, i5);
+ switch (HEAP32[i2 + 4 >> 2] | 0) {
+ case 0:
+ {
+ d15 = +HEAPF32[i2 + 44 >> 2];
+ break;
+ }
+ case 1:
+ {
+ d15 = +HEAPF32[i2 + 44 >> 2];
+ break;
+ }
+ case 13:
+ {
+ d15 = +HEAPF32[i2 + 44 >> 2];
+ break;
+ }
+ case 10:
+ {
+ d15 = +HEAPF32[i2 + 44 >> 2];
+ break;
+ }
+ case 5:
+ case 4:
+ {
+ d15 = +HEAPF32[i2 + 44 >> 2];
+ break;
+ }
+ case 8:
+ {
+ d15 = +HEAPF32[i2 + 28 >> 2] * +HEAPF32[i2 + 12 >> 2];
+ break;
+ }
+ default:
+ {
+ d15 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i2 >> 2] | 0) + 44 >> 2] & 7](i2);
+ }
+ }
+ d11 = d15 * +HEAPF32[i7 >> 2] + +HEAPF32[i6 + 4 >> 2];
+ d14 = d15 * +HEAPF32[i3 >> 2] + +HEAPF32[i6 + 8 >> 2];
+ HEAPF32[i1 >> 2] = d15 * +HEAPF32[i8 >> 2] + +HEAPF32[i6 >> 2];
+ HEAPF32[i1 + 4 >> 2] = d11;
+ HEAPF32[i1 + 8 >> 2] = d14;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+}
+function __ZN16btManifoldResultC2EP17btCollisionObjectS1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0;
+ HEAP32[i1 >> 2] = 4312;
+ HEAP32[i1 + 4 >> 2] = 0;
+ HEAP32[i1 + 136 >> 2] = i2;
+ HEAP32[i1 + 140 >> 2] = i3;
+ i4 = i1 + 8 | 0;
+ i5 = i2 + 4 | 0;
+ _memset(i1 + 144 | 0, -1 | 0, 16);
+ HEAP32[i4 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 24 | 0;
+ i4 = i2 + 20 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i1 + 40 | 0;
+ i5 = i2 + 36 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 56 | 0;
+ i4 = i2 + 52 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i1 + 72 | 0;
+ i5 = i3 + 4 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 88 | 0;
+ i4 = i3 + 20 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i1 + 104 | 0;
+ i5 = i3 + 36 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 120 | 0;
+ i1 = i3 + 52 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ return;
+}
+function __ZNK18btConvexPolyhedron7projectERK11btTransformRK9btVector3RfS6_(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, i28 = 0, d29 = 0.0;
+ HEAPF32[i4 >> 2] = 3.4028234663852886e+38;
+ HEAPF32[i5 >> 2] = -3.4028234663852886e+38;
+ i6 = HEAP32[i1 + 8 >> 2] | 0;
+ if ((i6 | 0) > 0) {
+ i7 = HEAP32[i1 + 16 >> 2] | 0;
+ i1 = i2 | 0;
+ i8 = i2 + 4 | 0;
+ i9 = i2 + 8 | 0;
+ i10 = i2 + 48 | 0;
+ i11 = i2 + 16 | 0;
+ i12 = i2 + 20 | 0;
+ i13 = i2 + 24 | 0;
+ i14 = i2 + 52 | 0;
+ i15 = i2 + 32 | 0;
+ i16 = i2 + 36 | 0;
+ i17 = i2 + 40 | 0;
+ i18 = i2 + 56 | 0;
+ i2 = i3 | 0;
+ i19 = i3 + 4 | 0;
+ i20 = i3 + 8 | 0;
+ i3 = 0;
+ d21 = -3.4028234663852886e+38;
+ while (1) {
+ d22 = +HEAPF32[i7 + (i3 << 4) >> 2];
+ d23 = +HEAPF32[i7 + (i3 << 4) + 4 >> 2];
+ d24 = +HEAPF32[i7 + (i3 << 4) + 8 >> 2];
+ d25 = (+HEAPF32[i10 >> 2] + (+HEAPF32[i1 >> 2] * d22 + +HEAPF32[i8 >> 2] * d23 + +HEAPF32[i9 >> 2] * d24)) * +HEAPF32[i2 >> 2] + (+HEAPF32[i14 >> 2] + (d22 * +HEAPF32[i11 >> 2] + d23 * +HEAPF32[i12 >> 2] + d24 * +HEAPF32[i13 >> 2])) * +HEAPF32[i19 >> 2] + (+HEAPF32[i18 >> 2] + (d22 * +HEAPF32[i15 >> 2] + d23 * +HEAPF32[i16 >> 2] + d24 * +HEAPF32[i17 >> 2])) * +HEAPF32[i20 >> 2];
+ if (d25 < +HEAPF32[i4 >> 2]) {
+ HEAPF32[i4 >> 2] = d25;
+ d26 = +HEAPF32[i5 >> 2];
+ } else {
+ d26 = d21;
+ }
+ if (d25 > d26) {
+ HEAPF32[i5 >> 2] = d25;
+ d27 = d25;
+ } else {
+ d27 = d26;
+ }
+ i28 = i3 + 1 | 0;
+ if ((i28 | 0) < (i6 | 0)) {
+ i3 = i28;
+ d21 = d27;
+ } else {
+ d29 = d27;
+ break;
+ }
+ }
+ } else {
+ d29 = -3.4028234663852886e+38;
+ }
+ d27 = +HEAPF32[i4 >> 2];
+ if (d27 <= d29) {
+ return;
+ }
+ HEAPF32[i4 >> 2] = d29;
+ HEAPF32[i5 >> 2] = d27;
+ return;
+}
+function __ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0;
+ i6 = i1 | 0;
+ if ((i6 | 0) == (HEAP32[i2 + 8 >> 2] | 0)) {
+ if ((HEAP32[i2 + 4 >> 2] | 0) != (i3 | 0)) {
+ return;
+ }
+ i7 = i2 + 28 | 0;
+ if ((HEAP32[i7 >> 2] | 0) == 1) {
+ return;
+ }
+ HEAP32[i7 >> 2] = i4;
+ return;
+ }
+ if ((i6 | 0) != (HEAP32[i2 >> 2] | 0)) {
+ i6 = HEAP32[i1 + 8 >> 2] | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 24 >> 2] & 63](i6, i2, i3, i4, i5);
+ return;
+ }
+ do {
+ if ((HEAP32[i2 + 16 >> 2] | 0) != (i3 | 0)) {
+ i6 = i2 + 20 | 0;
+ if ((HEAP32[i6 >> 2] | 0) == (i3 | 0)) {
+ break;
+ }
+ HEAP32[i2 + 32 >> 2] = i4;
+ i7 = i2 + 44 | 0;
+ if ((HEAP32[i7 >> 2] | 0) == 4) {
+ return;
+ }
+ i8 = i2 + 52 | 0;
+ HEAP8[i8] = 0;
+ i9 = i2 + 53 | 0;
+ HEAP8[i9] = 0;
+ i10 = HEAP32[i1 + 8 >> 2] | 0;
+ FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i10 >> 2] | 0) + 20 >> 2] & 15](i10, i2, i3, i3, 1, i5);
+ if ((HEAP8[i9] & 1) == 0) {
+ i11 = 0;
+ i12 = 2131;
+ } else {
+ if ((HEAP8[i8] & 1) == 0) {
+ i11 = 1;
+ i12 = 2131;
+ }
+ }
+ L2842 : do {
+ if ((i12 | 0) == 2131) {
+ HEAP32[i6 >> 2] = i3;
+ i8 = i2 + 40 | 0;
+ HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1;
+ do {
+ if ((HEAP32[i2 + 36 >> 2] | 0) == 1) {
+ if ((HEAP32[i2 + 24 >> 2] | 0) != 2) {
+ i12 = 2134;
+ break;
+ }
+ HEAP8[i2 + 54 | 0] = 1;
+ if (i11) {
+ break L2842;
+ }
+ } else {
+ i12 = 2134;
+ }
+ } while (0);
+ if ((i12 | 0) == 2134) {
+ if (i11) {
+ break;
+ }
+ }
+ HEAP32[i7 >> 2] = 4;
+ return;
+ }
+ } while (0);
+ HEAP32[i7 >> 2] = 3;
+ return;
+ }
+ } while (0);
+ if ((i4 | 0) != 1) {
+ return;
+ }
+ HEAP32[i2 + 32 >> 2] = 1;
+ return;
+}
+function __ZN20btConvexHullInternal14getOrientationEPKNS_4EdgeES2_RKNS_7Point32ES5_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0;
+ i5 = (HEAP32[i1 + 4 >> 2] | 0) == (i2 | 0);
+ if ((HEAP32[i1 >> 2] | 0) != (i2 | 0)) {
+ i6 = i5 & 1;
+ return i6 | 0;
+ }
+ if (!i5) {
+ i6 = 2;
+ return i6 | 0;
+ }
+ i5 = HEAP32[i4 + 4 >> 2] | 0;
+ i7 = HEAP32[i3 + 8 >> 2] | 0;
+ i8 = Math_imul(i7, i5) | 0;
+ i9 = HEAP32[i4 + 8 >> 2] | 0;
+ i10 = HEAP32[i3 + 4 >> 2] | 0;
+ i11 = i8 - (Math_imul(i10, i9) | 0) | 0;
+ i8 = HEAP32[i3 >> 2] | 0;
+ i3 = Math_imul(i8, i9) | 0;
+ i9 = HEAP32[i4 >> 2] | 0;
+ i4 = i3 - (Math_imul(i9, i7) | 0) | 0;
+ i7 = Math_imul(i9, i10) | 0;
+ i10 = i7 - (Math_imul(i8, i5) | 0) | 0;
+ i5 = HEAP32[i1 + 12 >> 2] | 0;
+ i1 = HEAP32[(HEAP32[i2 + 8 >> 2] | 0) + 12 >> 2] | 0;
+ i8 = HEAP32[i1 + 88 >> 2] | 0;
+ i7 = (HEAP32[i5 + 88 >> 2] | 0) - i8 | 0;
+ i9 = HEAP32[i1 + 92 >> 2] | 0;
+ i3 = (HEAP32[i5 + 92 >> 2] | 0) - i9 | 0;
+ i12 = HEAP32[i1 + 96 >> 2] | 0;
+ i1 = (HEAP32[i5 + 96 >> 2] | 0) - i12 | 0;
+ i5 = HEAP32[i2 + 12 >> 2] | 0;
+ i2 = (HEAP32[i5 + 88 >> 2] | 0) - i8 | 0;
+ i8 = (HEAP32[i5 + 92 >> 2] | 0) - i9 | 0;
+ i9 = (HEAP32[i5 + 96 >> 2] | 0) - i12 | 0;
+ i12 = Math_imul(i9, i3) | 0;
+ i5 = i12 - (Math_imul(i8, i1) | 0) | 0;
+ i12 = Math_imul(i2, i1) | 0;
+ i1 = i12 - (Math_imul(i9, i7) | 0) | 0;
+ i9 = Math_imul(i8, i7) | 0;
+ i7 = i9 - (Math_imul(i2, i3) | 0) | 0;
+ i3 = ___muldi3(i5, (i5 | 0) < 0 ? -1 : 0, i11, (i11 | 0) < 0 ? -1 : 0) | 0;
+ i11 = tempRet0;
+ i5 = ___muldi3(i1, (i1 | 0) < 0 ? -1 : 0, i4, (i4 | 0) < 0 ? -1 : 0) | 0;
+ i4 = tempRet0;
+ i1 = ___muldi3(i7, (i7 | 0) < 0 ? -1 : 0, i10, (i10 | 0) < 0 ? -1 : 0) | 0;
+ i10 = _i64Add(i3, i11, i1, tempRet0) | 0;
+ i1 = _i64Add(i10, tempRet0, i5, i4) | 0;
+ i4 = tempRet0;
+ i5 = 0;
+ i6 = (i4 | 0) > (i5 | 0) | (i4 | 0) == (i5 | 0) & i1 >>> 0 > 0 >>> 0 ? 2 : 1;
+ return i6 | 0;
+}
+function __ZNK11btTransformmlERKS_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0;
+ d4 = +HEAPF32[i3 >> 2];
+ d5 = +HEAPF32[i2 >> 2];
+ d6 = +HEAPF32[i3 + 16 >> 2];
+ d7 = +HEAPF32[i2 + 4 >> 2];
+ d8 = +HEAPF32[i3 + 32 >> 2];
+ d9 = +HEAPF32[i2 + 8 >> 2];
+ d10 = +HEAPF32[i3 + 4 >> 2];
+ d11 = +HEAPF32[i3 + 20 >> 2];
+ d12 = +HEAPF32[i3 + 36 >> 2];
+ d13 = +HEAPF32[i3 + 8 >> 2];
+ d14 = +HEAPF32[i3 + 24 >> 2];
+ d15 = +HEAPF32[i3 + 40 >> 2];
+ d16 = +HEAPF32[i2 + 16 >> 2];
+ d17 = +HEAPF32[i2 + 20 >> 2];
+ d18 = +HEAPF32[i2 + 24 >> 2];
+ d19 = +HEAPF32[i2 + 32 >> 2];
+ d20 = +HEAPF32[i2 + 36 >> 2];
+ d21 = +HEAPF32[i2 + 40 >> 2];
+ d22 = +HEAPF32[i3 + 48 >> 2];
+ d23 = +HEAPF32[i3 + 52 >> 2];
+ d24 = +HEAPF32[i3 + 56 >> 2];
+ d25 = +HEAPF32[i2 + 48 >> 2] + (d5 * d22 + d7 * d23 + d9 * d24);
+ d26 = +HEAPF32[i2 + 52 >> 2] + (d22 * d16 + d23 * d17 + d24 * d18);
+ d27 = +HEAPF32[i2 + 56 >> 2] + (d22 * d19 + d23 * d20 + d24 * d21);
+ HEAPF32[i1 >> 2] = d4 * d5 + d6 * d7 + d8 * d9;
+ HEAPF32[i1 + 4 >> 2] = d5 * d10 + d7 * d11 + d9 * d12;
+ HEAPF32[i1 + 8 >> 2] = d5 * d13 + d7 * d14 + d9 * d15;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ HEAPF32[i1 + 16 >> 2] = d4 * d16 + d6 * d17 + d8 * d18;
+ HEAPF32[i1 + 20 >> 2] = d10 * d16 + d11 * d17 + d12 * d18;
+ HEAPF32[i1 + 24 >> 2] = d13 * d16 + d14 * d17 + d15 * d18;
+ HEAPF32[i1 + 28 >> 2] = 0.0;
+ HEAPF32[i1 + 32 >> 2] = d4 * d19 + d6 * d20 + d8 * d21;
+ HEAPF32[i1 + 36 >> 2] = d10 * d19 + d11 * d20 + d12 * d21;
+ HEAPF32[i1 + 40 >> 2] = d13 * d19 + d14 * d20 + d15 * d21;
+ HEAPF32[i1 + 44 >> 2] = 0.0;
+ HEAPF32[i1 + 48 >> 2] = d25;
+ HEAPF32[i1 + 52 >> 2] = d26;
+ HEAPF32[i1 + 56 >> 2] = d27;
+ HEAPF32[i1 + 60 >> 2] = 0.0;
+ return;
+}
+function __ZN20btAlignedObjectArrayI9btElementE17quickSortInternalI31btUnionFindElementSortPredicateEEvT_ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i6 = i2;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 1 | 0;
+ STACKTOP = STACKTOP + 7 >> 3 << 3;
+ HEAP8[i2] = HEAP8[i6] | 0;
+ i6 = i5 | 0;
+ i2 = i5 + 8 | 0;
+ i7 = i1 + 12 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ i9 = HEAP32[i8 + (((i4 + i3 | 0) / 2 | 0) << 3) >> 2] | 0;
+ i10 = i4;
+ i11 = i3;
+ i12 = i8;
+ while (1) {
+ i8 = i11;
+ while (1) {
+ i13 = i8 + 1 | 0;
+ if ((HEAP32[i12 + (i8 << 3) >> 2] | 0) < (i9 | 0)) {
+ i8 = i13;
+ } else {
+ i14 = i10;
+ break;
+ }
+ }
+ while (1) {
+ i15 = i12 + (i14 << 3) | 0;
+ i16 = i14 - 1 | 0;
+ if ((i9 | 0) < (HEAP32[i15 >> 2] | 0)) {
+ i14 = i16;
+ } else {
+ break;
+ }
+ }
+ if ((i8 | 0) > (i14 | 0)) {
+ i17 = i14;
+ i18 = i8;
+ } else {
+ i19 = i12 + (i8 << 3) | 0;
+ i20 = HEAP32[i19 >> 2] | 0;
+ i21 = HEAP32[i19 + 4 >> 2] | 0;
+ i22 = i15;
+ i23 = HEAP32[i22 + 4 >> 2] | 0;
+ HEAP32[i19 >> 2] = HEAP32[i22 >> 2];
+ HEAP32[i19 + 4 >> 2] = i23;
+ i23 = (HEAP32[i7 >> 2] | 0) + (i14 << 3) | 0;
+ HEAP32[i23 >> 2] = i20;
+ HEAP32[i23 + 4 >> 2] = i21;
+ i17 = i16;
+ i18 = i13;
+ }
+ if ((i18 | 0) > (i17 | 0)) {
+ break;
+ }
+ i10 = i17;
+ i11 = i18;
+ i12 = HEAP32[i7 >> 2] | 0;
+ }
+ if ((i17 | 0) > (i3 | 0)) {
+ __ZN20btAlignedObjectArrayI9btElementE17quickSortInternalI31btUnionFindElementSortPredicateEEvT_ii(i1, i6, i3, i17);
+ }
+ if ((i18 | 0) >= (i4 | 0)) {
+ STACKTOP = i5;
+ return;
+ }
+ __ZN20btAlignedObjectArrayI9btElementE17quickSortInternalI31btUnionFindElementSortPredicateEEvT_ii(i1, i2, i18, i4);
+ STACKTOP = i5;
+ return;
+}
+function __ZN20btConvexHullInternal11getBtNormalEPNS_4FaceE(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 16 | 0;
+ i7 = HEAP32[i2 + 108 >> 2] | 0;
+ HEAPF32[i6 + (i7 << 2) >> 2] = +(HEAP32[i3 + 28 >> 2] | 0);
+ i8 = HEAP32[i2 + 112 >> 2] | 0;
+ HEAPF32[i6 + (i8 << 2) >> 2] = +(HEAP32[i3 + 32 >> 2] | 0);
+ i9 = HEAP32[i2 + 104 >> 2] | 0;
+ HEAPF32[i6 + (i9 << 2) >> 2] = +(HEAP32[i3 + 36 >> 2] | 0);
+ d10 = +HEAPF32[i2 >> 2];
+ d11 = +HEAPF32[i6 >> 2] * d10;
+ d12 = +HEAPF32[i2 + 4 >> 2];
+ d13 = +HEAPF32[i6 + 4 >> 2] * d12;
+ d14 = +HEAPF32[i2 + 8 >> 2];
+ d15 = +HEAPF32[i6 + 8 >> 2] * d14;
+ HEAPF32[i5 + (i7 << 2) >> 2] = +(HEAP32[i3 + 44 >> 2] | 0);
+ HEAPF32[i5 + (i8 << 2) >> 2] = +(HEAP32[i3 + 48 >> 2] | 0);
+ HEAPF32[i5 + (i9 << 2) >> 2] = +(HEAP32[i3 + 52 >> 2] | 0);
+ d16 = d10 * +HEAPF32[i5 >> 2];
+ d10 = d12 * +HEAPF32[i5 + 4 >> 2];
+ d12 = d14 * +HEAPF32[i5 + 8 >> 2];
+ d14 = d13 * d12 - d15 * d10;
+ d17 = d15 * d16 - d11 * d12;
+ d12 = d11 * d10 - d13 * d16;
+ i5 = i1 | 0;
+ HEAPF32[i5 >> 2] = d14;
+ i3 = i1 + 4 | 0;
+ HEAPF32[i3 >> 2] = d17;
+ i9 = i1 + 8 | 0;
+ HEAPF32[i9 >> 2] = d12;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ d16 = +Math_sqrt(+(d12 * d12 + (d14 * d14 + d17 * d17)));
+ if ((i7 + 1 | 0) == (i8 | 0) | (i7 - 2 | 0) == (i8 | 0)) {
+ d18 = d16;
+ d19 = 1.0 / d18;
+ d20 = d14 * d19;
+ HEAPF32[i5 >> 2] = d20;
+ d21 = d17 * d19;
+ HEAPF32[i3 >> 2] = d21;
+ d22 = d12 * d19;
+ HEAPF32[i9 >> 2] = d22;
+ STACKTOP = i4;
+ return;
+ }
+ d18 = -0.0 - d16;
+ d19 = 1.0 / d18;
+ d20 = d14 * d19;
+ HEAPF32[i5 >> 2] = d20;
+ d21 = d17 * d19;
+ HEAPF32[i3 >> 2] = d21;
+ d22 = d12 * d19;
+ HEAPF32[i9 >> 2] = d22;
+ STACKTOP = i4;
+ return;
+}
+function __ZNK16btCollisionShape21calculateTemporalAabbERK11btTransformRK9btVector3S5_fRS3_S6_(i1, i2, i3, i4, d5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ d5 = +d5;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ var d8 = 0.0, i9 = 0, d10 = 0.0, i11 = 0, d12 = 0.0, i13 = 0, d14 = 0.0, i15 = 0, d16 = 0.0, i17 = 0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 127](i1, i2, i6, i7);
+ i2 = i7 | 0;
+ d8 = +HEAPF32[i2 >> 2];
+ i9 = i7 + 4 | 0;
+ d10 = +HEAPF32[i9 >> 2];
+ i11 = i7 + 8 | 0;
+ d12 = +HEAPF32[i11 >> 2];
+ i13 = i6 | 0;
+ d14 = +HEAPF32[i13 >> 2];
+ i15 = i6 + 4 | 0;
+ d16 = +HEAPF32[i15 >> 2];
+ i17 = i6 + 8 | 0;
+ d18 = +HEAPF32[i17 >> 2];
+ d19 = +HEAPF32[i3 >> 2] * d5;
+ d20 = +HEAPF32[i3 + 4 >> 2] * d5;
+ d21 = +HEAPF32[i3 + 8 >> 2] * d5;
+ if (d19 > 0.0) {
+ d22 = d14;
+ d23 = d8 + d19;
+ } else {
+ d22 = d14 + d19;
+ d23 = d8;
+ }
+ if (d20 > 0.0) {
+ d24 = d16;
+ d25 = d10 + d20;
+ } else {
+ d24 = d16 + d20;
+ d25 = d10;
+ }
+ if (d21 > 0.0) {
+ d26 = d18;
+ d27 = d12 + d21;
+ } else {
+ d26 = d18 + d21;
+ d27 = d12;
+ }
+ d12 = +HEAPF32[i4 >> 2];
+ d21 = +HEAPF32[i4 + 4 >> 2];
+ d18 = +HEAPF32[i4 + 8 >> 2];
+ d10 = +Math_sqrt(+(d12 * d12 + d21 * d21 + d18 * d18));
+ d18 = d10 * +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i1 >> 2] | 0) + 16 >> 2] & 7](i1) * d5;
+ HEAPF32[i13 >> 2] = d22;
+ HEAPF32[i15 >> 2] = d24;
+ HEAPF32[i17 >> 2] = d26;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ HEAPF32[i2 >> 2] = d23;
+ HEAPF32[i9 >> 2] = d25;
+ HEAPF32[i11 >> 2] = d27;
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ HEAPF32[i13 >> 2] = +HEAPF32[i13 >> 2] - d18;
+ HEAPF32[i15 >> 2] = +HEAPF32[i15 >> 2] - d18;
+ HEAPF32[i17 >> 2] = +HEAPF32[i17 >> 2] - d18;
+ HEAPF32[i2 >> 2] = d18 + +HEAPF32[i2 >> 2];
+ HEAPF32[i9 >> 2] = d18 + +HEAPF32[i9 >> 2];
+ HEAPF32[i11 >> 2] = d18 + +HEAPF32[i11 >> 2];
+ return;
+}
+function __ZN11btRigidBody25internalWritebackVelocityEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0, d9 = 0.0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i4 = i3 | 0;
+ if (+HEAPF32[i1 + 336 >> 2] == 0.0) {
+ STACKTOP = i3;
+ return;
+ }
+ i5 = i1 + 304 | 0;
+ i6 = i1 + 308 | 0;
+ d7 = +HEAPF32[i6 >> 2] + +HEAPF32[i1 + 508 >> 2];
+ i8 = i1 + 312 | 0;
+ d9 = +HEAPF32[i8 >> 2] + +HEAPF32[i1 + 512 >> 2];
+ HEAPF32[i5 >> 2] = +HEAPF32[i5 >> 2] + +HEAPF32[i1 + 504 >> 2];
+ HEAPF32[i6 >> 2] = d7;
+ HEAPF32[i8 >> 2] = d9;
+ HEAPF32[i1 + 316 >> 2] = 0.0;
+ i8 = i1 + 320 | 0;
+ i6 = i1 + 324 | 0;
+ d9 = +HEAPF32[i6 >> 2] + +HEAPF32[i1 + 524 >> 2];
+ i5 = i1 + 328 | 0;
+ d7 = +HEAPF32[i5 >> 2] + +HEAPF32[i1 + 528 >> 2];
+ HEAPF32[i8 >> 2] = +HEAPF32[i8 >> 2] + +HEAPF32[i1 + 520 >> 2];
+ HEAPF32[i6 >> 2] = d9;
+ HEAPF32[i5 >> 2] = d7;
+ HEAPF32[i1 + 332 >> 2] = 0.0;
+ i5 = i1 + 4 | 0;
+ __ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(i5, i1 + 568 | 0, i1 + 584 | 0, d2, i4);
+ i6 = i5;
+ i5 = i4;
+ HEAP32[i6 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 20 | 0;
+ i6 = i4 + 16 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i6 = i1 + 36 | 0;
+ i5 = i4 + 32 | 0;
+ HEAP32[i6 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 52 | 0;
+ i1 = i4 + 48 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ STACKTOP = i3;
+ return;
+}
+function __ZN34btClosestNotMeConvexResultCallback15addSingleResultERN16btCollisionWorld17LocalConvexResultEb(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, d5 = 0.0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0;
+ i4 = HEAP32[i2 >> 2] | 0;
+ if ((i4 | 0) == (HEAP32[i1 + 80 >> 2] | 0)) {
+ d5 = 1.0;
+ return +d5;
+ }
+ if ((HEAP32[i4 + 204 >> 2] & 4 | 0) != 0) {
+ d5 = 1.0;
+ return +d5;
+ }
+ i6 = i2 + 8 | 0;
+ i7 = i2 + 12 | 0;
+ i8 = i2 + 16 | 0;
+ if ((+HEAPF32[i1 + 28 >> 2] - +HEAPF32[i1 + 12 >> 2]) * +HEAPF32[i6 >> 2] + (+HEAPF32[i1 + 32 >> 2] - +HEAPF32[i1 + 16 >> 2]) * +HEAPF32[i7 >> 2] + (+HEAPF32[i1 + 36 >> 2] - +HEAPF32[i1 + 20 >> 2]) * +HEAPF32[i8 >> 2] >= -0.0 - +HEAPF32[i1 + 84 >> 2]) {
+ d5 = 1.0;
+ return +d5;
+ }
+ i9 = i2 + 40 | 0;
+ HEAPF32[i1 + 4 >> 2] = +HEAPF32[i9 >> 2];
+ HEAP32[i1 + 76 >> 2] = i4;
+ if (i3) {
+ i3 = i1 + 44 | 0;
+ i10 = i6;
+ HEAP32[i3 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ } else {
+ d11 = +HEAPF32[i2 + 8 >> 2];
+ d12 = +HEAPF32[i7 >> 2];
+ d13 = +HEAPF32[i8 >> 2];
+ d14 = d11 * +HEAPF32[i4 + 20 >> 2] + d12 * +HEAPF32[i4 + 24 >> 2] + d13 * +HEAPF32[i4 + 28 >> 2];
+ d15 = d11 * +HEAPF32[i4 + 36 >> 2] + d12 * +HEAPF32[i4 + 40 >> 2] + d13 * +HEAPF32[i4 + 44 >> 2];
+ HEAPF32[i1 + 44 >> 2] = +HEAPF32[i4 + 4 >> 2] * d11 + +HEAPF32[i4 + 8 >> 2] * d12 + +HEAPF32[i4 + 12 >> 2] * d13;
+ HEAPF32[i1 + 48 >> 2] = d14;
+ HEAPF32[i1 + 52 >> 2] = d15;
+ HEAPF32[i1 + 56 >> 2] = 0.0;
+ }
+ i4 = i1 + 60 | 0;
+ i1 = i2 + 24 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ d5 = +HEAPF32[i9 >> 2];
+ return +d5;
+}
+function __ZNK11btTransform12inverseTimesERKS_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0;
+ d4 = +HEAPF32[i3 + 48 >> 2] - +HEAPF32[i2 + 48 >> 2];
+ d5 = +HEAPF32[i3 + 52 >> 2] - +HEAPF32[i2 + 52 >> 2];
+ d6 = +HEAPF32[i3 + 56 >> 2] - +HEAPF32[i2 + 56 >> 2];
+ d7 = +HEAPF32[i2 >> 2];
+ d8 = +HEAPF32[i3 >> 2];
+ d9 = +HEAPF32[i2 + 16 >> 2];
+ d10 = +HEAPF32[i3 + 16 >> 2];
+ d11 = +HEAPF32[i2 + 32 >> 2];
+ d12 = +HEAPF32[i3 + 32 >> 2];
+ d13 = +HEAPF32[i3 + 4 >> 2];
+ d14 = +HEAPF32[i3 + 20 >> 2];
+ d15 = +HEAPF32[i3 + 36 >> 2];
+ d16 = +HEAPF32[i3 + 8 >> 2];
+ d17 = +HEAPF32[i3 + 24 >> 2];
+ d18 = +HEAPF32[i3 + 40 >> 2];
+ d19 = +HEAPF32[i2 + 4 >> 2];
+ d20 = +HEAPF32[i2 + 20 >> 2];
+ d21 = +HEAPF32[i2 + 36 >> 2];
+ d22 = +HEAPF32[i2 + 8 >> 2];
+ d23 = +HEAPF32[i2 + 24 >> 2];
+ d24 = +HEAPF32[i2 + 40 >> 2];
+ HEAPF32[i1 >> 2] = d7 * d8 + d9 * d10 + d11 * d12;
+ HEAPF32[i1 + 4 >> 2] = d7 * d13 + d9 * d14 + d11 * d15;
+ HEAPF32[i1 + 8 >> 2] = d7 * d16 + d9 * d17 + d11 * d18;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ HEAPF32[i1 + 16 >> 2] = d8 * d19 + d10 * d20 + d12 * d21;
+ HEAPF32[i1 + 20 >> 2] = d13 * d19 + d14 * d20 + d15 * d21;
+ HEAPF32[i1 + 24 >> 2] = d16 * d19 + d17 * d20 + d18 * d21;
+ HEAPF32[i1 + 28 >> 2] = 0.0;
+ HEAPF32[i1 + 32 >> 2] = d8 * d22 + d10 * d23 + d12 * d24;
+ HEAPF32[i1 + 36 >> 2] = d13 * d22 + d14 * d23 + d15 * d24;
+ HEAPF32[i1 + 40 >> 2] = d16 * d22 + d17 * d23 + d18 * d24;
+ HEAPF32[i1 + 44 >> 2] = 0.0;
+ HEAPF32[i1 + 48 >> 2] = d4 * d7 + d5 * d9 + d6 * d11;
+ HEAPF32[i1 + 52 >> 2] = d4 * d19 + d5 * d20 + d6 * d21;
+ HEAPF32[i1 + 56 >> 2] = d4 * d22 + d5 * d23 + d6 * d24;
+ HEAPF32[i1 + 60 >> 2] = 0.0;
+ return;
+}
+function __ZN20btAlignedObjectArrayI6btFaceE6resizeEiRKS0_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0;
+ i4 = i1 + 4 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i5 | 0) <= (i2 | 0)) {
+ if ((i5 | 0) >= (i2 | 0)) {
+ HEAP32[i4 >> 2] = i2;
+ return;
+ }
+ __ZN20btAlignedObjectArrayI6btFaceE7reserveEi(i1, i2);
+ i6 = i1 + 12 | 0;
+ i7 = i3 | 0;
+ i8 = i3 + 20 | 0;
+ i9 = i3 + 40 | 0;
+ i3 = i5;
+ do {
+ i10 = (HEAP32[i6 >> 2] | 0) + (i3 * 56 | 0) | 0;
+ if ((i10 | 0) != 0) {
+ __ZN20btAlignedObjectArrayIiEC2ERKS0_(i10, i7);
+ __ZN20btAlignedObjectArrayIiEC2ERKS0_(i10 + 20 | 0, i8);
+ i11 = i10 + 40 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ }
+ i3 = i3 + 1 | 0;
+ } while ((i3 | 0) < (i2 | 0));
+ HEAP32[i4 >> 2] = i2;
+ return;
+ }
+ i3 = i1 + 12 | 0;
+ i1 = i2;
+ do {
+ i9 = HEAP32[i3 >> 2] | 0;
+ i8 = i9 + (i1 * 56 | 0) + 24 | 0;
+ i7 = i9 + (i1 * 56 | 0) + 32 | 0;
+ i6 = HEAP32[i7 >> 2] | 0;
+ i11 = i9 + (i1 * 56 | 0) + 36 | 0;
+ if ((i6 | 0) != 0) {
+ if ((HEAP8[i11] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i6);
+ }
+ HEAP32[i7 >> 2] = 0;
+ }
+ HEAP8[i11] = 1;
+ HEAP32[i7 >> 2] = 0;
+ HEAP32[i8 >> 2] = 0;
+ HEAP32[i9 + (i1 * 56 | 0) + 28 >> 2] = 0;
+ i8 = i9 + (i1 * 56 | 0) + 4 | 0;
+ i7 = i9 + (i1 * 56 | 0) + 12 | 0;
+ i11 = HEAP32[i7 >> 2] | 0;
+ i6 = i9 + (i1 * 56 | 0) + 16 | 0;
+ if ((i11 | 0) != 0) {
+ if ((HEAP8[i6] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i11);
+ }
+ HEAP32[i7 >> 2] = 0;
+ }
+ HEAP8[i6] = 1;
+ HEAP32[i7 >> 2] = 0;
+ HEAP32[i8 >> 2] = 0;
+ HEAP32[i9 + (i1 * 56 | 0) + 8 >> 2] = 0;
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i5 | 0));
+ HEAP32[i4 >> 2] = i2;
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, d11, d12, d13) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ d11 = +d11;
+ d12 = +d12;
+ d13 = +d13;
+ var i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0;
+ i4 = i1 + 48 | 0;
+ i3 = HEAP32[i4 >> 2] | 0;
+ i14 = i1 + 52 | 0;
+ do {
+ if ((i3 | 0) == (HEAP32[i14 >> 2] | 0)) {
+ i15 = (i3 | 0) == 0 ? 1 : i3 << 1;
+ if ((i3 | 0) >= (i15 | 0)) {
+ i16 = i3;
+ break;
+ }
+ if ((i15 | 0) == 0) {
+ i17 = 0;
+ i18 = i3;
+ } else {
+ i19 = __Z22btAlignedAllocInternalji(i15 * 136 | 0, 16) | 0;
+ i17 = i19;
+ i18 = HEAP32[i4 >> 2] | 0;
+ }
+ i19 = i1 + 56 | 0;
+ if ((i18 | 0) > 0) {
+ i20 = 0;
+ do {
+ i21 = i17 + (i20 * 136 | 0) | 0;
+ i22 = (HEAP32[i19 >> 2] | 0) + (i20 * 136 | 0) | 0;
+ _memcpy(i21 | 0, i22 | 0, 136) | 0;
+ i20 = i20 + 1 | 0;
+ } while ((i20 | 0) < (i18 | 0));
+ }
+ i20 = HEAP32[i19 >> 2] | 0;
+ i22 = i1 + 60 | 0;
+ if ((i20 | 0) != 0) {
+ if ((HEAP8[i22] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i20);
+ }
+ HEAP32[i19 >> 2] = 0;
+ }
+ HEAP8[i22] = 1;
+ HEAP32[i19 >> 2] = i17;
+ HEAP32[i14 >> 2] = i15;
+ i16 = HEAP32[i4 >> 2] | 0;
+ } else {
+ i16 = i3;
+ }
+ } while (0);
+ HEAP32[i4 >> 2] = i16 + 1;
+ i16 = HEAP32[i1 + 56 >> 2] | 0;
+ i1 = i16 + (i3 * 136 | 0) | 0;
+ HEAP32[i16 + (i3 * 136 | 0) + 100 >> 2] = i5;
+ __ZN35btSequentialImpulseConstraintSolver23setupFrictionConstraintER18btSolverConstraintRK9btVector3P11btRigidBodyS6_R15btManifoldPointS4_S4_P17btCollisionObjectSA_fff(0, i1, i2, 0, 0, i6, i7, i8, i9, i10, d11, d12, d13);
+ return i1 | 0;
+}
+function __ZN23btDiscreteDynamicsWorld14stepSimulationEfif(i1, d2, i3, d4) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ d4 = +d4;
+ var i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, i9 = 0, d10 = 0.0, i11 = 0;
+ __ZN15CProfileManager5ResetEv();
+ __ZN15CProfileManager13Start_ProfileEPKc(696);
+ i5 = i1 + 236 | 0;
+ do {
+ if ((i3 | 0) == 0) {
+ HEAPF32[i5 >> 2] = d2;
+ i6 = +Math_abs(+d2) >= 1.1920928955078125e-7 | 0;
+ i7 = i6;
+ d8 = d2;
+ i9 = i6;
+ } else {
+ d10 = +HEAPF32[i5 >> 2] + d2;
+ HEAPF32[i5 >> 2] = d10;
+ if (d10 < d4) {
+ i7 = i3;
+ d8 = d4;
+ i9 = 0;
+ break;
+ }
+ i6 = ~~(d10 / d4);
+ HEAPF32[i5 >> 2] = d10 - +(i6 | 0) * d4;
+ i7 = i3;
+ d8 = d4;
+ i9 = i6;
+ }
+ } while (0);
+ i3 = i1 | 0;
+ i5 = i1;
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 16 >> 2] & 127](i3) | 0) != 0) {
+ i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 16 >> 2] & 127](i3) | 0;
+ HEAP8[12016] = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 48 >> 2] & 127](i6) | 0) >>> 4 & 1;
+ }
+ do {
+ if ((i9 | 0) == 0) {
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 76 >> 2] & 511](i1);
+ } else {
+ i6 = (i9 | 0) > (i7 | 0) ? i7 : i9;
+ i3 = i1;
+ FUNCTION_TABLE_vif[HEAP32[(HEAP32[i3 >> 2] | 0) + 160 >> 2] & 31](i1, d8 * +(i6 | 0));
+ i5 = i1;
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i5 >> 2] | 0) + 164 >> 2] & 511](i1);
+ if ((i6 | 0) > 0) {
+ i11 = 0;
+ } else {
+ break;
+ }
+ do {
+ FUNCTION_TABLE_vif[HEAP32[(HEAP32[i3 >> 2] | 0) + 156 >> 2] & 31](i1, d8);
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i5 >> 2] | 0) + 76 >> 2] & 511](i1);
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i6 | 0));
+ }
+ } while (0);
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 116 >> 2] & 511](i1);
+ __ZN15CProfileManager23Increment_Frame_CounterEv();
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return i9 | 0;
+}
+function __ZN11btRigidBody16addConstraintRefEP17btTypedConstraint(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i3 = i1 + 480 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 488 | 0;
+ i6 = 0;
+ while (1) {
+ if ((i6 | 0) >= (i4 | 0)) {
+ break;
+ }
+ if ((HEAP32[(HEAP32[i5 >> 2] | 0) + (i6 << 2) >> 2] | 0) == (i2 | 0)) {
+ i7 = 1084;
+ break;
+ } else {
+ i6 = i6 + 1 | 0;
+ }
+ }
+ do {
+ if ((i7 | 0) == 1084) {
+ if ((i6 | 0) == (i4 | 0)) {
+ break;
+ }
+ i8 = i1 + 252 | 0;
+ HEAP32[i8 >> 2] = 1;
+ return;
+ }
+ } while (0);
+ i6 = i1 + 484 | 0;
+ do {
+ if ((i4 | 0) == (HEAP32[i6 >> 2] | 0)) {
+ i7 = (i4 | 0) == 0 ? 1 : i4 << 1;
+ if ((i4 | 0) >= (i7 | 0)) {
+ i9 = i4;
+ break;
+ }
+ if ((i7 | 0) == 0) {
+ i10 = 0;
+ i11 = i4;
+ } else {
+ i12 = __Z22btAlignedAllocInternalji(i7 << 2, 16) | 0;
+ i10 = i12;
+ i11 = HEAP32[i3 >> 2] | 0;
+ }
+ if ((i11 | 0) > 0) {
+ i12 = 0;
+ do {
+ i13 = i10 + (i12 << 2) | 0;
+ if ((i13 | 0) != 0) {
+ HEAP32[i13 >> 2] = HEAP32[(HEAP32[i5 >> 2] | 0) + (i12 << 2) >> 2];
+ }
+ i12 = i12 + 1 | 0;
+ } while ((i12 | 0) < (i11 | 0));
+ }
+ i12 = HEAP32[i5 >> 2] | 0;
+ i13 = i1 + 492 | 0;
+ if ((i12 | 0) == 0) {
+ i14 = i11;
+ } else {
+ if ((HEAP8[i13] | 0) == 0) {
+ i15 = i11;
+ } else {
+ __Z21btAlignedFreeInternalPv(i12);
+ i15 = HEAP32[i3 >> 2] | 0;
+ }
+ HEAP32[i5 >> 2] = 0;
+ i14 = i15;
+ }
+ HEAP8[i13] = 1;
+ HEAP32[i5 >> 2] = i10;
+ HEAP32[i6 >> 2] = i7;
+ i9 = i14;
+ } else {
+ i9 = i4;
+ }
+ } while (0);
+ i4 = (HEAP32[i5 >> 2] | 0) + (i9 << 2) | 0;
+ if ((i4 | 0) != 0) {
+ HEAP32[i4 >> 2] = i2;
+ }
+ HEAP32[i3 >> 2] = i9 + 1;
+ i8 = i1 + 252 | 0;
+ HEAP32[i8 >> 2] = 1;
+ return;
+}
+function ___dynamic_cast(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 56 | 0;
+ i6 = i5 | 0;
+ i7 = HEAP32[i1 >> 2] | 0;
+ i8 = i1 + (HEAP32[i7 - 8 >> 2] | 0) | 0;
+ i9 = HEAP32[i7 - 4 >> 2] | 0;
+ i7 = i9;
+ HEAP32[i6 >> 2] = i3;
+ HEAP32[i6 + 4 >> 2] = i1;
+ HEAP32[i6 + 8 >> 2] = i2;
+ HEAP32[i6 + 12 >> 2] = i4;
+ i4 = i6 + 16 | 0;
+ i2 = i6 + 20 | 0;
+ i1 = i6 + 24 | 0;
+ i10 = i6 + 28 | 0;
+ i11 = i6 + 32 | 0;
+ i12 = i6 + 40 | 0;
+ _memset(i4 | 0, 0, 39);
+ if ((i9 | 0) == (i3 | 0)) {
+ HEAP32[i6 + 48 >> 2] = 1;
+ FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 20 >> 2] & 15](i7, i6, i8, i8, 1, 0);
+ STACKTOP = i5;
+ return ((HEAP32[i1 >> 2] | 0) == 1 ? i8 : 0) | 0;
+ }
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 24 >> 2] & 63](i7, i6, i8, 1, 0);
+ i8 = HEAP32[i6 + 36 >> 2] | 0;
+ if ((i8 | 0) == 1) {
+ do {
+ if ((HEAP32[i1 >> 2] | 0) != 1) {
+ if ((HEAP32[i12 >> 2] | 0) != 0) {
+ i13 = 0;
+ STACKTOP = i5;
+ return i13 | 0;
+ }
+ if ((HEAP32[i10 >> 2] | 0) != 1) {
+ i13 = 0;
+ STACKTOP = i5;
+ return i13 | 0;
+ }
+ if ((HEAP32[i11 >> 2] | 0) == 1) {
+ break;
+ } else {
+ i13 = 0;
+ }
+ STACKTOP = i5;
+ return i13 | 0;
+ }
+ } while (0);
+ i13 = HEAP32[i4 >> 2] | 0;
+ STACKTOP = i5;
+ return i13 | 0;
+ } else if ((i8 | 0) == 0) {
+ if ((HEAP32[i12 >> 2] | 0) != 1) {
+ i13 = 0;
+ STACKTOP = i5;
+ return i13 | 0;
+ }
+ if ((HEAP32[i10 >> 2] | 0) != 1) {
+ i13 = 0;
+ STACKTOP = i5;
+ return i13 | 0;
+ }
+ i13 = (HEAP32[i11 >> 2] | 0) == 1 ? HEAP32[i2 >> 2] | 0 : 0;
+ STACKTOP = i5;
+ return i13 | 0;
+ } else {
+ i13 = 0;
+ STACKTOP = i5;
+ return i13 | 0;
+ }
+ return 0;
+}
+function __ZN20btAlignedObjectArrayI16btBroadphasePairE21expandNonInitializingEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0;
+ i2 = i1 + 4 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 + 8 | 0;
+ if ((i3 | 0) != (HEAP32[i4 >> 2] | 0)) {
+ i5 = i3;
+ i6 = i5 + 1 | 0;
+ HEAP32[i2 >> 2] = i6;
+ i7 = i1 + 12 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ i9 = i8 + (i3 << 4) | 0;
+ return i9 | 0;
+ }
+ i10 = (i3 | 0) == 0 ? 1 : i3 << 1;
+ if ((i3 | 0) >= (i10 | 0)) {
+ i5 = i3;
+ i6 = i5 + 1 | 0;
+ HEAP32[i2 >> 2] = i6;
+ i7 = i1 + 12 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ i9 = i8 + (i3 << 4) | 0;
+ return i9 | 0;
+ }
+ if ((i10 | 0) == 0) {
+ i11 = 0;
+ i12 = i3;
+ } else {
+ i13 = __Z22btAlignedAllocInternalji(i10 << 4, 16) | 0;
+ i11 = i13;
+ i12 = HEAP32[i2 >> 2] | 0;
+ }
+ i13 = i1 + 12 | 0;
+ if ((i12 | 0) > 0) {
+ i14 = 0;
+ do {
+ i15 = HEAP32[i13 >> 2] | 0;
+ HEAP32[i11 + (i14 << 4) >> 2] = HEAP32[i15 + (i14 << 4) >> 2];
+ HEAP32[i11 + (i14 << 4) + 4 >> 2] = HEAP32[i15 + (i14 << 4) + 4 >> 2];
+ HEAP32[i11 + (i14 << 4) + 8 >> 2] = HEAP32[i15 + (i14 << 4) + 8 >> 2];
+ HEAP32[i11 + (i14 << 4) + 12 >> 2] = HEAP32[i15 + (i14 << 4) + 12 >> 2];
+ i14 = i14 + 1 | 0;
+ } while ((i14 | 0) < (i12 | 0));
+ }
+ i14 = HEAP32[i13 >> 2] | 0;
+ i15 = i1 + 16 | 0;
+ if ((i14 | 0) == 0) {
+ i16 = i12;
+ } else {
+ if ((HEAP8[i15] | 0) == 0) {
+ i17 = i12;
+ } else {
+ __Z21btAlignedFreeInternalPv(i14);
+ i17 = HEAP32[i2 >> 2] | 0;
+ }
+ HEAP32[i13 >> 2] = 0;
+ i16 = i17;
+ }
+ HEAP8[i15] = 1;
+ HEAP32[i13 >> 2] = i11;
+ HEAP32[i4 >> 2] = i10;
+ i5 = i16;
+ i6 = i5 + 1 | 0;
+ HEAP32[i2 >> 2] = i6;
+ i7 = i1 + 12 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ i9 = i8 + (i3 << 4) | 0;
+ return i9 | 0;
+}
+function __ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0;
+ if ((i1 | 0) == (HEAP32[i2 + 8 >> 2] | 0)) {
+ i5 = i2 + 16 | 0;
+ i6 = HEAP32[i5 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ HEAP32[i5 >> 2] = i3;
+ HEAP32[i2 + 24 >> 2] = i4;
+ HEAP32[i2 + 36 >> 2] = 1;
+ return;
+ }
+ if ((i6 | 0) != (i3 | 0)) {
+ i6 = i2 + 36 | 0;
+ HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1;
+ HEAP32[i2 + 24 >> 2] = 2;
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+ }
+ i6 = i2 + 24 | 0;
+ if ((HEAP32[i6 >> 2] | 0) != 2) {
+ return;
+ }
+ HEAP32[i6 >> 2] = i4;
+ return;
+ }
+ i6 = HEAP32[i1 + 12 >> 2] | 0;
+ i5 = i1 + 16 + (i6 << 3) | 0;
+ i7 = HEAP32[i1 + 20 >> 2] | 0;
+ i8 = i7 >> 8;
+ if ((i7 & 1 | 0) == 0) {
+ i9 = i8;
+ } else {
+ i9 = HEAP32[(HEAP32[i3 >> 2] | 0) + i8 >> 2] | 0;
+ }
+ i8 = HEAP32[i1 + 16 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 127](i8, i2, i3 + i9 | 0, (i7 & 2 | 0) != 0 ? i4 : 2);
+ if ((i6 | 0) <= 1) {
+ return;
+ }
+ i6 = i2 + 54 | 0;
+ i7 = i3;
+ i9 = i1 + 24 | 0;
+ while (1) {
+ i1 = HEAP32[i9 + 4 >> 2] | 0;
+ i8 = i1 >> 8;
+ if ((i1 & 1 | 0) == 0) {
+ i10 = i8;
+ } else {
+ i10 = HEAP32[(HEAP32[i7 >> 2] | 0) + i8 >> 2] | 0;
+ }
+ i8 = HEAP32[i9 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 127](i8, i2, i3 + i10 | 0, (i1 & 2 | 0) != 0 ? i4 : 2);
+ if ((HEAP8[i6] & 1) != 0) {
+ i11 = 2027;
+ break;
+ }
+ i1 = i9 + 8 | 0;
+ if (i1 >>> 0 < i5 >>> 0) {
+ i9 = i1;
+ } else {
+ i11 = 2028;
+ break;
+ }
+ }
+ if ((i11 | 0) == 2027) {
+ return;
+ } else if ((i11 | 0) == 2028) {
+ return;
+ }
+}
+function __ZN16btCollisionWorld27ClosestConvexResultCallback15addSingleResultERNS_17LocalConvexResultEb(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0;
+ i4 = i2 + 40 | 0;
+ HEAPF32[i1 + 4 >> 2] = +HEAPF32[i4 >> 2];
+ i5 = HEAP32[i2 >> 2] | 0;
+ HEAP32[i1 + 76 >> 2] = i5;
+ if (i3) {
+ i3 = i1 + 44 | 0;
+ i6 = i2 + 8 | 0;
+ HEAP32[i3 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i7 = i1 + 60 | 0;
+ i8 = i2 + 24 | 0;
+ i9 = i7;
+ i10 = i8;
+ HEAP32[i9 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ d11 = +HEAPF32[i4 >> 2];
+ return +d11;
+ } else {
+ d12 = +HEAPF32[i2 + 8 >> 2];
+ d13 = +HEAPF32[i2 + 12 >> 2];
+ d14 = +HEAPF32[i2 + 16 >> 2];
+ d15 = d12 * +HEAPF32[i5 + 20 >> 2] + d13 * +HEAPF32[i5 + 24 >> 2] + d14 * +HEAPF32[i5 + 28 >> 2];
+ d16 = d12 * +HEAPF32[i5 + 36 >> 2] + d13 * +HEAPF32[i5 + 40 >> 2] + d14 * +HEAPF32[i5 + 44 >> 2];
+ HEAPF32[i1 + 44 >> 2] = +HEAPF32[i5 + 4 >> 2] * d12 + +HEAPF32[i5 + 8 >> 2] * d13 + +HEAPF32[i5 + 12 >> 2] * d14;
+ HEAPF32[i1 + 48 >> 2] = d15;
+ HEAPF32[i1 + 52 >> 2] = d16;
+ HEAPF32[i1 + 56 >> 2] = 0.0;
+ i7 = i1 + 60 | 0;
+ i8 = i2 + 24 | 0;
+ i9 = i7;
+ i10 = i8;
+ HEAP32[i9 >> 2] = HEAP32[i10 >> 2];
+ HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2];
+ HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2];
+ HEAP32[i9 + 12 >> 2] = HEAP32[i10 + 12 >> 2];
+ d11 = +HEAPF32[i4 >> 2];
+ return +d11;
+ }
+ return 0.0;
+}
+function __ZN23btDiscreteDynamicsWorld28internalSingleStepSimulationEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(536);
+ i3 = i1 | 0;
+ i4 = HEAP32[i1 + 92 >> 2] | 0;
+ if ((i4 | 0) != 0) {
+ FUNCTION_TABLE_vif[i4 & 31](i3, d2);
+ }
+ i4 = i1;
+ FUNCTION_TABLE_vif[HEAP32[(HEAP32[i4 >> 2] | 0) + 136 >> 2] & 31](i1, d2);
+ i5 = i1 | 0;
+ HEAPF32[i1 + 28 >> 2] = d2;
+ HEAP32[i1 + 32 >> 2] = 0;
+ HEAP32[i1 + 48 >> 2] = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 16 >> 2] & 127](i5) | 0;
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 511](i5);
+ if ((HEAP8[i1 + 44 | 0] | 0) != 0) {
+ FUNCTION_TABLE_vif[HEAP32[(HEAP32[i4 >> 2] | 0) + 144 >> 2] & 31](i1, d2);
+ }
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 148 >> 2] & 511](i1);
+ HEAPF32[i1 + 112 >> 2] = d2;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 152 >> 2] & 127](i1, i1 + 100 | 0);
+ FUNCTION_TABLE_vif[HEAP32[(HEAP32[i4 >> 2] | 0) + 140 >> 2] & 31](i1, d2);
+ __ZN15CProfileManager13Start_ProfileEPKc(456);
+ i4 = i1 + 248 | 0;
+ if ((HEAP32[i4 >> 2] | 0) > 0) {
+ i6 = i1 + 256 | 0;
+ i7 = 0;
+ do {
+ i8 = HEAP32[(HEAP32[i6 >> 2] | 0) + (i7 << 2) >> 2] | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i8 >> 2] | 0) + 8 >> 2] & 3](i8, i5, d2);
+ i7 = i7 + 1 | 0;
+ } while ((i7 | 0) < (HEAP32[i4 >> 2] | 0));
+ }
+ __ZN15CProfileManager12Stop_ProfileEv();
+ __ZN23btDiscreteDynamicsWorld21updateActivationStateEf(i1, d2);
+ i4 = HEAP32[i1 + 88 >> 2] | 0;
+ if ((i4 | 0) == 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ FUNCTION_TABLE_vif[i4 & 31](i3, d2);
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+}
+function __ZN23btDiscreteDynamicsWorldD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0;
+ HEAP32[i1 >> 2] = 3272;
+ if ((HEAP8[i1 + 240 | 0] | 0) != 0) {
+ i2 = i1 + 176 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i2 >> 2] | 0);
+ }
+ if ((HEAP8[i1 + 241 | 0] | 0) != 0) {
+ i2 = i1 + 172 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i2 >> 2] | 0);
+ }
+ i2 = i1 + 248 | 0;
+ i3 = i1 + 256 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 260 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 252 >> 2] = 0;
+ i2 = i1 + 204 | 0;
+ i3 = i1 + 212 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 216 | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 208 >> 2] = 0;
+ i2 = i1 + 184 | 0;
+ i3 = i1 + 192 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 196 | 0;
+ if ((i4 | 0) == 0) {
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 188 | 0;
+ HEAP32[i6 >> 2] = 0;
+ i7 = i1 | 0;
+ __ZN16btCollisionWorldD2Ev(i7);
+ return;
+ }
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 188 | 0;
+ HEAP32[i6 >> 2] = 0;
+ i7 = i1 | 0;
+ __ZN16btCollisionWorldD2Ev(i7);
+ return;
+}
+function __ZNK12gjkepa2_impl13MinkowskiDiff8Support1ERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 16 | 0;
+ i7 = i2 + 120 | 0;
+ i8 = (HEAP32[i2 + 4 >> 2] | 0) + (HEAP32[i7 + 4 >> 2] | 0) | 0;
+ i9 = HEAP32[i7 >> 2] | 0;
+ if ((i9 & 1 | 0) == 0) {
+ i10 = i9;
+ } else {
+ i10 = HEAP32[(HEAP32[i8 >> 2] | 0) + (i9 - 1) >> 2] | 0;
+ }
+ d11 = +HEAPF32[i3 >> 2];
+ d12 = +HEAPF32[i3 + 4 >> 2];
+ d13 = +HEAPF32[i3 + 8 >> 2];
+ d14 = d11 * +HEAPF32[i2 + 24 >> 2] + d12 * +HEAPF32[i2 + 28 >> 2] + d13 * +HEAPF32[i2 + 32 >> 2];
+ d15 = d11 * +HEAPF32[i2 + 40 >> 2] + d12 * +HEAPF32[i2 + 44 >> 2] + d13 * +HEAPF32[i2 + 48 >> 2];
+ HEAPF32[i6 >> 2] = +HEAPF32[i2 + 8 >> 2] * d11 + +HEAPF32[i2 + 12 >> 2] * d12 + +HEAPF32[i2 + 16 >> 2] * d13;
+ HEAPF32[i6 + 4 >> 2] = d14;
+ HEAPF32[i6 + 8 >> 2] = d15;
+ HEAPF32[i6 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i10 & 127](i5, i8, i6);
+ d15 = +HEAPF32[i5 >> 2];
+ d14 = +HEAPF32[i5 + 4 >> 2];
+ d13 = +HEAPF32[i5 + 8 >> 2];
+ d12 = +HEAPF32[i2 + 108 >> 2] + (d15 * +HEAPF32[i2 + 72 >> 2] + d14 * +HEAPF32[i2 + 76 >> 2] + d13 * +HEAPF32[i2 + 80 >> 2]);
+ d11 = +HEAPF32[i2 + 112 >> 2] + (d15 * +HEAPF32[i2 + 88 >> 2] + d14 * +HEAPF32[i2 + 92 >> 2] + d13 * +HEAPF32[i2 + 96 >> 2]);
+ HEAPF32[i1 >> 2] = +HEAPF32[i2 + 104 >> 2] + (+HEAPF32[i2 + 56 >> 2] * d15 + +HEAPF32[i2 + 60 >> 2] * d14 + +HEAPF32[i2 + 64 >> 2] * d13);
+ HEAPF32[i1 + 4 >> 2] = d12;
+ HEAPF32[i1 + 8 >> 2] = d11;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld20serializeRigidBodiesEP12btSerializer(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0;
+ i3 = i1 + 8 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ if ((i4 | 0) > 0) {
+ i5 = i1 + 16 | 0;
+ i6 = i2;
+ i7 = i2;
+ i8 = 0;
+ i9 = i4;
+ while (1) {
+ i4 = HEAP32[(HEAP32[i5 >> 2] | 0) + (i8 << 2) >> 2] | 0;
+ if ((HEAP32[i4 + 232 >> 2] & 2 | 0) == 0) {
+ i10 = i9;
+ } else {
+ i11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 16 >> 2] & 127](i4) | 0;
+ i12 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 16 >> 2] & 31](i2, i11, 1) | 0;
+ i11 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i4 >> 2] | 0) + 20 >> 2] & 31](i4, HEAP32[i12 + 8 >> 2] | 0, i2) | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 20 >> 2] & 63](i2, i12, i11, 1497645650, i4);
+ i10 = HEAP32[i3 >> 2] | 0;
+ }
+ i4 = i8 + 1 | 0;
+ if ((i4 | 0) < (i10 | 0)) {
+ i8 = i4;
+ i9 = i10;
+ } else {
+ break;
+ }
+ }
+ }
+ i10 = i1 + 184 | 0;
+ if ((HEAP32[i10 >> 2] | 0) <= 0) {
+ return;
+ }
+ i9 = i1 + 192 | 0;
+ i1 = i2;
+ i8 = i2;
+ i3 = 0;
+ do {
+ i7 = HEAP32[(HEAP32[i9 >> 2] | 0) + (i3 << 2) >> 2] | 0;
+ i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i7) | 0;
+ i5 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 16 >> 2] & 31](i2, i6, 1) | 0;
+ i6 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 40 >> 2] & 31](i7, HEAP32[i5 + 8 >> 2] | 0, i2) | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i8 >> 2] | 0) + 20 >> 2] & 63](i2, i5, i6, 1397641027, i7);
+ i3 = i3 + 1 | 0;
+ } while ((i3 | 0) < (HEAP32[i10 >> 2] | 0));
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld13addConstraintEP17btTypedConstraintb(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i4 = i1 + 184 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ i6 = i1 + 188 | 0;
+ do {
+ if ((i5 | 0) == (HEAP32[i6 >> 2] | 0)) {
+ i7 = (i5 | 0) == 0 ? 1 : i5 << 1;
+ if ((i5 | 0) >= (i7 | 0)) {
+ i8 = i5;
+ break;
+ }
+ if ((i7 | 0) == 0) {
+ i9 = 0;
+ i10 = i5;
+ } else {
+ i11 = __Z22btAlignedAllocInternalji(i7 << 2, 16) | 0;
+ i9 = i11;
+ i10 = HEAP32[i4 >> 2] | 0;
+ }
+ i11 = i1 + 192 | 0;
+ if ((i10 | 0) > 0) {
+ i12 = 0;
+ do {
+ i13 = i9 + (i12 << 2) | 0;
+ if ((i13 | 0) != 0) {
+ HEAP32[i13 >> 2] = HEAP32[(HEAP32[i11 >> 2] | 0) + (i12 << 2) >> 2];
+ }
+ i12 = i12 + 1 | 0;
+ } while ((i12 | 0) < (i10 | 0));
+ }
+ i12 = HEAP32[i11 >> 2] | 0;
+ i13 = i1 + 196 | 0;
+ if ((i12 | 0) == 0) {
+ i14 = i10;
+ } else {
+ if ((HEAP8[i13] | 0) == 0) {
+ i15 = i10;
+ } else {
+ __Z21btAlignedFreeInternalPv(i12);
+ i15 = HEAP32[i4 >> 2] | 0;
+ }
+ HEAP32[i11 >> 2] = 0;
+ i14 = i15;
+ }
+ HEAP8[i13] = 1;
+ HEAP32[i11 >> 2] = i9;
+ HEAP32[i6 >> 2] = i7;
+ i8 = i14;
+ } else {
+ i8 = i5;
+ }
+ } while (0);
+ i5 = (HEAP32[i1 + 192 >> 2] | 0) + (i8 << 2) | 0;
+ if ((i5 | 0) != 0) {
+ HEAP32[i5 >> 2] = i2;
+ }
+ HEAP32[i4 >> 2] = i8 + 1;
+ if (!i3) {
+ return;
+ }
+ __ZN11btRigidBody16addConstraintRefEP17btTypedConstraint(HEAP32[i2 + 24 >> 2] | 0, i2);
+ __ZN11btRigidBody16addConstraintRefEP17btTypedConstraint(HEAP32[i2 + 28 >> 2] | 0, i2);
+ return;
+}
+function __ZNK23btPolyhedralConvexShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, d20 = 0.0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i6 = i5 | 0;
+ if ((i4 | 0) > 0) {
+ i7 = 0;
+ } else {
+ STACKTOP = i5;
+ return;
+ }
+ do {
+ HEAPF32[i3 + (i7 << 4) + 12 >> 2] = -999999984306749400.0;
+ i7 = i7 + 1 | 0;
+ } while ((i7 | 0) < (i4 | 0));
+ i7 = i1;
+ i8 = i1;
+ i9 = i6 | 0;
+ i10 = i6 + 4 | 0;
+ i11 = i6 + 8 | 0;
+ i12 = i6;
+ i13 = 0;
+ do {
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 88 >> 2] & 127](i1) | 0) > 0) {
+ i14 = i2 + (i13 << 4) | 0;
+ i15 = i2 + (i13 << 4) + 4 | 0;
+ i16 = i2 + (i13 << 4) + 8 | 0;
+ i17 = i3 + (i13 << 4) + 12 | 0;
+ i18 = i3 + (i13 << 4) | 0;
+ i19 = 0;
+ do {
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i8 >> 2] | 0) + 100 >> 2] & 127](i1, i19, i6);
+ d20 = +HEAPF32[i14 >> 2] * +HEAPF32[i9 >> 2] + +HEAPF32[i15 >> 2] * +HEAPF32[i10 >> 2] + +HEAPF32[i16 >> 2] * +HEAPF32[i11 >> 2];
+ if (d20 > +HEAPF32[i17 >> 2]) {
+ HEAP32[i18 >> 2] = HEAP32[i12 >> 2];
+ HEAP32[i18 + 4 >> 2] = HEAP32[i12 + 4 >> 2];
+ HEAP32[i18 + 8 >> 2] = HEAP32[i12 + 8 >> 2];
+ HEAP32[i18 + 12 >> 2] = HEAP32[i12 + 12 >> 2];
+ HEAPF32[i17 >> 2] = d20;
+ }
+ i19 = i19 + 1 | 0;
+ } while ((i19 | 0) < (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 88 >> 2] & 127](i1) | 0));
+ }
+ i13 = i13 + 1 | 0;
+ } while ((i13 | 0) < (i4 | 0));
+ STACKTOP = i5;
+ return;
+}
+function __ZN11btRigidBody12applyImpulseERK9btVector3S2_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var d4 = 0.0, i5 = 0, d6 = 0.0, i7 = 0, d8 = 0.0, i9 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0;
+ d4 = +HEAPF32[i1 + 336 >> 2];
+ if (d4 == 0.0) {
+ return;
+ }
+ i5 = i2 | 0;
+ d6 = +HEAPF32[i1 + 340 >> 2];
+ i7 = i2 + 4 | 0;
+ d8 = +HEAPF32[i1 + 344 >> 2];
+ i9 = i2 + 8 | 0;
+ d10 = +HEAPF32[i1 + 348 >> 2];
+ d11 = d4 * +HEAPF32[i7 >> 2] * d8;
+ d12 = d4 * +HEAPF32[i9 >> 2] * d10;
+ i2 = i1 + 304 | 0;
+ HEAPF32[i2 >> 2] = d4 * +HEAPF32[i5 >> 2] * d6 + +HEAPF32[i2 >> 2];
+ i2 = i1 + 308 | 0;
+ HEAPF32[i2 >> 2] = d11 + +HEAPF32[i2 >> 2];
+ i2 = i1 + 312 | 0;
+ HEAPF32[i2 >> 2] = d12 + +HEAPF32[i2 >> 2];
+ i2 = i1 + 536 | 0;
+ if ((i2 | 0) == 0) {
+ return;
+ }
+ d12 = d6 * +HEAPF32[i5 >> 2];
+ d6 = d8 * +HEAPF32[i7 >> 2];
+ d8 = d10 * +HEAPF32[i9 >> 2];
+ d10 = +HEAPF32[i3 + 4 >> 2];
+ d11 = +HEAPF32[i3 + 8 >> 2];
+ d4 = d10 * d8 - d6 * d11;
+ d13 = +HEAPF32[i3 >> 2];
+ d14 = d12 * d11 - d8 * d13;
+ d8 = d6 * d13 - d12 * d10;
+ d10 = (d4 * +HEAPF32[i1 + 272 >> 2] + d14 * +HEAPF32[i1 + 276 >> 2] + d8 * +HEAPF32[i1 + 280 >> 2]) * +HEAPF32[i1 + 540 >> 2];
+ d12 = (d4 * +HEAPF32[i1 + 288 >> 2] + d14 * +HEAPF32[i1 + 292 >> 2] + d8 * +HEAPF32[i1 + 296 >> 2]) * +HEAPF32[i1 + 544 >> 2];
+ i3 = i1 + 320 | 0;
+ HEAPF32[i3 >> 2] = (+HEAPF32[i1 + 256 >> 2] * d4 + +HEAPF32[i1 + 260 >> 2] * d14 + d8 * +HEAPF32[i1 + 264 >> 2]) * +HEAPF32[i2 >> 2] + +HEAPF32[i3 >> 2];
+ i3 = i1 + 324 | 0;
+ HEAPF32[i3 >> 2] = d10 + +HEAPF32[i3 >> 2];
+ i3 = i1 + 328 | 0;
+ HEAPF32[i3 >> 2] = d12 + +HEAPF32[i3 >> 2];
+ return;
+}
+function __ZN34btSphereTriangleCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i3 = i1 + 12 | 0;
+ if ((HEAP32[i3 >> 2] | 0) == 0) {
+ return;
+ }
+ if ((HEAP8[i1 + 8 | 0] | 0) == 0) {
+ return;
+ }
+ i1 = i2 + 4 | 0;
+ i4 = HEAP32[i1 >> 2] | 0;
+ i5 = i2 + 8 | 0;
+ do {
+ if ((i4 | 0) == (HEAP32[i5 >> 2] | 0)) {
+ i6 = (i4 | 0) == 0 ? 1 : i4 << 1;
+ if ((i4 | 0) >= (i6 | 0)) {
+ i7 = i4;
+ break;
+ }
+ if ((i6 | 0) == 0) {
+ i8 = 0;
+ i9 = i4;
+ } else {
+ i10 = __Z22btAlignedAllocInternalji(i6 << 2, 16) | 0;
+ i8 = i10;
+ i9 = HEAP32[i1 >> 2] | 0;
+ }
+ i10 = i2 + 12 | 0;
+ if ((i9 | 0) > 0) {
+ i11 = 0;
+ do {
+ i12 = i8 + (i11 << 2) | 0;
+ if ((i12 | 0) != 0) {
+ HEAP32[i12 >> 2] = HEAP32[(HEAP32[i10 >> 2] | 0) + (i11 << 2) >> 2];
+ }
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i9 | 0));
+ }
+ i11 = HEAP32[i10 >> 2] | 0;
+ i12 = i2 + 16 | 0;
+ if ((i11 | 0) == 0) {
+ i13 = i9;
+ } else {
+ if ((HEAP8[i12] | 0) == 0) {
+ i14 = i9;
+ } else {
+ __Z21btAlignedFreeInternalPv(i11);
+ i14 = HEAP32[i1 >> 2] | 0;
+ }
+ HEAP32[i10 >> 2] = 0;
+ i13 = i14;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i10 >> 2] = i8;
+ HEAP32[i5 >> 2] = i6;
+ i7 = i13;
+ } else {
+ i7 = i4;
+ }
+ } while (0);
+ i4 = (HEAP32[i2 + 12 >> 2] | 0) + (i7 << 2) | 0;
+ if ((i4 | 0) != 0) {
+ HEAP32[i4 >> 2] = HEAP32[i3 >> 2];
+ }
+ HEAP32[i1 >> 2] = i7 + 1;
+ return;
+}
+function __ZN32btSphereSphereCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i3 = i1 + 12 | 0;
+ if ((HEAP32[i3 >> 2] | 0) == 0) {
+ return;
+ }
+ if ((HEAP8[i1 + 8 | 0] | 0) == 0) {
+ return;
+ }
+ i1 = i2 + 4 | 0;
+ i4 = HEAP32[i1 >> 2] | 0;
+ i5 = i2 + 8 | 0;
+ do {
+ if ((i4 | 0) == (HEAP32[i5 >> 2] | 0)) {
+ i6 = (i4 | 0) == 0 ? 1 : i4 << 1;
+ if ((i4 | 0) >= (i6 | 0)) {
+ i7 = i4;
+ break;
+ }
+ if ((i6 | 0) == 0) {
+ i8 = 0;
+ i9 = i4;
+ } else {
+ i10 = __Z22btAlignedAllocInternalji(i6 << 2, 16) | 0;
+ i8 = i10;
+ i9 = HEAP32[i1 >> 2] | 0;
+ }
+ i10 = i2 + 12 | 0;
+ if ((i9 | 0) > 0) {
+ i11 = 0;
+ do {
+ i12 = i8 + (i11 << 2) | 0;
+ if ((i12 | 0) != 0) {
+ HEAP32[i12 >> 2] = HEAP32[(HEAP32[i10 >> 2] | 0) + (i11 << 2) >> 2];
+ }
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i9 | 0));
+ }
+ i11 = HEAP32[i10 >> 2] | 0;
+ i12 = i2 + 16 | 0;
+ if ((i11 | 0) == 0) {
+ i13 = i9;
+ } else {
+ if ((HEAP8[i12] | 0) == 0) {
+ i14 = i9;
+ } else {
+ __Z21btAlignedFreeInternalPv(i11);
+ i14 = HEAP32[i1 >> 2] | 0;
+ }
+ HEAP32[i10 >> 2] = 0;
+ i13 = i14;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i10 >> 2] = i8;
+ HEAP32[i5 >> 2] = i6;
+ i7 = i13;
+ } else {
+ i7 = i4;
+ }
+ } while (0);
+ i4 = (HEAP32[i2 + 12 >> 2] | 0) + (i7 << 2) | 0;
+ if ((i4 | 0) != 0) {
+ HEAP32[i4 >> 2] = HEAP32[i3 >> 2];
+ }
+ HEAP32[i1 >> 2] = i7 + 1;
+ return;
+}
+function __ZN31btConvexPlaneCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i3 = i1 + 12 | 0;
+ if ((HEAP32[i3 >> 2] | 0) == 0) {
+ return;
+ }
+ if ((HEAP8[i1 + 8 | 0] | 0) == 0) {
+ return;
+ }
+ i1 = i2 + 4 | 0;
+ i4 = HEAP32[i1 >> 2] | 0;
+ i5 = i2 + 8 | 0;
+ do {
+ if ((i4 | 0) == (HEAP32[i5 >> 2] | 0)) {
+ i6 = (i4 | 0) == 0 ? 1 : i4 << 1;
+ if ((i4 | 0) >= (i6 | 0)) {
+ i7 = i4;
+ break;
+ }
+ if ((i6 | 0) == 0) {
+ i8 = 0;
+ i9 = i4;
+ } else {
+ i10 = __Z22btAlignedAllocInternalji(i6 << 2, 16) | 0;
+ i8 = i10;
+ i9 = HEAP32[i1 >> 2] | 0;
+ }
+ i10 = i2 + 12 | 0;
+ if ((i9 | 0) > 0) {
+ i11 = 0;
+ do {
+ i12 = i8 + (i11 << 2) | 0;
+ if ((i12 | 0) != 0) {
+ HEAP32[i12 >> 2] = HEAP32[(HEAP32[i10 >> 2] | 0) + (i11 << 2) >> 2];
+ }
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i9 | 0));
+ }
+ i11 = HEAP32[i10 >> 2] | 0;
+ i12 = i2 + 16 | 0;
+ if ((i11 | 0) == 0) {
+ i13 = i9;
+ } else {
+ if ((HEAP8[i12] | 0) == 0) {
+ i14 = i9;
+ } else {
+ __Z21btAlignedFreeInternalPv(i11);
+ i14 = HEAP32[i1 >> 2] | 0;
+ }
+ HEAP32[i10 >> 2] = 0;
+ i13 = i14;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i10 >> 2] = i8;
+ HEAP32[i5 >> 2] = i6;
+ i7 = i13;
+ } else {
+ i7 = i4;
+ }
+ } while (0);
+ i4 = (HEAP32[i2 + 12 >> 2] | 0) + (i7 << 2) | 0;
+ if ((i4 | 0) != 0) {
+ HEAP32[i4 >> 2] = HEAP32[i3 >> 2];
+ }
+ HEAP32[i1 >> 2] = i7 + 1;
+ return;
+}
+function __ZN26btBoxBoxCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i3 = i1 + 12 | 0;
+ if ((HEAP32[i3 >> 2] | 0) == 0) {
+ return;
+ }
+ if ((HEAP8[i1 + 8 | 0] | 0) == 0) {
+ return;
+ }
+ i1 = i2 + 4 | 0;
+ i4 = HEAP32[i1 >> 2] | 0;
+ i5 = i2 + 8 | 0;
+ do {
+ if ((i4 | 0) == (HEAP32[i5 >> 2] | 0)) {
+ i6 = (i4 | 0) == 0 ? 1 : i4 << 1;
+ if ((i4 | 0) >= (i6 | 0)) {
+ i7 = i4;
+ break;
+ }
+ if ((i6 | 0) == 0) {
+ i8 = 0;
+ i9 = i4;
+ } else {
+ i10 = __Z22btAlignedAllocInternalji(i6 << 2, 16) | 0;
+ i8 = i10;
+ i9 = HEAP32[i1 >> 2] | 0;
+ }
+ i10 = i2 + 12 | 0;
+ if ((i9 | 0) > 0) {
+ i11 = 0;
+ do {
+ i12 = i8 + (i11 << 2) | 0;
+ if ((i12 | 0) != 0) {
+ HEAP32[i12 >> 2] = HEAP32[(HEAP32[i10 >> 2] | 0) + (i11 << 2) >> 2];
+ }
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i9 | 0));
+ }
+ i11 = HEAP32[i10 >> 2] | 0;
+ i12 = i2 + 16 | 0;
+ if ((i11 | 0) == 0) {
+ i13 = i9;
+ } else {
+ if ((HEAP8[i12] | 0) == 0) {
+ i14 = i9;
+ } else {
+ __Z21btAlignedFreeInternalPv(i11);
+ i14 = HEAP32[i1 >> 2] | 0;
+ }
+ HEAP32[i10 >> 2] = 0;
+ i13 = i14;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i10 >> 2] = i8;
+ HEAP32[i5 >> 2] = i6;
+ i7 = i13;
+ } else {
+ i7 = i4;
+ }
+ } while (0);
+ i4 = (HEAP32[i2 + 12 >> 2] | 0) + (i7 << 2) | 0;
+ if ((i4 | 0) != 0) {
+ HEAP32[i4 >> 2] = HEAP32[i3 >> 2];
+ }
+ HEAP32[i1 >> 2] = i7 + 1;
+ return;
+}
+function __ZN23btConvexConvexAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i3 = i1 + 20 | 0;
+ if ((HEAP32[i3 >> 2] | 0) == 0) {
+ return;
+ }
+ if ((HEAP8[i1 + 16 | 0] | 0) == 0) {
+ return;
+ }
+ i1 = i2 + 4 | 0;
+ i4 = HEAP32[i1 >> 2] | 0;
+ i5 = i2 + 8 | 0;
+ do {
+ if ((i4 | 0) == (HEAP32[i5 >> 2] | 0)) {
+ i6 = (i4 | 0) == 0 ? 1 : i4 << 1;
+ if ((i4 | 0) >= (i6 | 0)) {
+ i7 = i4;
+ break;
+ }
+ if ((i6 | 0) == 0) {
+ i8 = 0;
+ i9 = i4;
+ } else {
+ i10 = __Z22btAlignedAllocInternalji(i6 << 2, 16) | 0;
+ i8 = i10;
+ i9 = HEAP32[i1 >> 2] | 0;
+ }
+ i10 = i2 + 12 | 0;
+ if ((i9 | 0) > 0) {
+ i11 = 0;
+ do {
+ i12 = i8 + (i11 << 2) | 0;
+ if ((i12 | 0) != 0) {
+ HEAP32[i12 >> 2] = HEAP32[(HEAP32[i10 >> 2] | 0) + (i11 << 2) >> 2];
+ }
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i9 | 0));
+ }
+ i11 = HEAP32[i10 >> 2] | 0;
+ i12 = i2 + 16 | 0;
+ if ((i11 | 0) == 0) {
+ i13 = i9;
+ } else {
+ if ((HEAP8[i12] | 0) == 0) {
+ i14 = i9;
+ } else {
+ __Z21btAlignedFreeInternalPv(i11);
+ i14 = HEAP32[i1 >> 2] | 0;
+ }
+ HEAP32[i10 >> 2] = 0;
+ i13 = i14;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i10 >> 2] = i8;
+ HEAP32[i5 >> 2] = i6;
+ i7 = i13;
+ } else {
+ i7 = i4;
+ }
+ } while (0);
+ i4 = (HEAP32[i2 + 12 >> 2] | 0) + (i7 << 2) | 0;
+ if ((i4 | 0) != 0) {
+ HEAP32[i4 >> 2] = HEAP32[i3 >> 2];
+ }
+ HEAP32[i1 >> 2] = i7 + 1;
+ return;
+}
+function __ZNK23btPolyhedralConvexShape37localGetSupportingVertexWithoutMarginERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, d20 = 0.0, i21 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i5 = i4 | 0;
+ i6 = i1;
+ _memset(i6 | 0, 0, 16);
+ d7 = +HEAPF32[i3 >> 2];
+ d8 = +HEAPF32[i3 + 4 >> 2];
+ d9 = +HEAPF32[i3 + 8 >> 2];
+ d10 = d7 * d7 + d8 * d8 + d9 * d9;
+ if (d10 < 9999999747378752.0e-20) {
+ d11 = 1.0;
+ d12 = 0.0;
+ d13 = 0.0;
+ } else {
+ d14 = 1.0 / +Math_sqrt(+d10);
+ d11 = d7 * d14;
+ d12 = d8 * d14;
+ d13 = d9 * d14;
+ }
+ i3 = i2;
+ if ((FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 88 >> 2] & 127](i2) | 0) <= 0) {
+ STACKTOP = i4;
+ return;
+ }
+ i1 = i2;
+ i15 = i5 | 0;
+ i16 = i5 + 4 | 0;
+ i17 = i5 + 8 | 0;
+ i18 = i5;
+ d14 = -999999984306749400.0;
+ i19 = 0;
+ while (1) {
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i1 >> 2] | 0) + 100 >> 2] & 127](i2, i19, i5);
+ d9 = d11 * +HEAPF32[i15 >> 2] + d12 * +HEAPF32[i16 >> 2] + d13 * +HEAPF32[i17 >> 2];
+ if (d9 > d14) {
+ HEAP32[i6 >> 2] = HEAP32[i18 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i18 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i18 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i18 + 12 >> 2];
+ d20 = d9;
+ } else {
+ d20 = d14;
+ }
+ i21 = i19 + 1 | 0;
+ if ((i21 | 0) < (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 88 >> 2] & 127](i2) | 0)) {
+ d14 = d20;
+ i19 = i21;
+ } else {
+ break;
+ }
+ }
+ STACKTOP = i4;
+ return;
+}
+function __ZN20btConvexHullInternal4PoolINS_4FaceEE9newObjectEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i2 = i1 + 8 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ do {
+ if ((i3 | 0) == 0) {
+ i4 = i1 + 4 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i5 | 0) == 0) {
+ i6 = __Z22btAlignedAllocInternalji(12, 16) | 0;
+ if ((i6 | 0) == 0) {
+ i7 = 0;
+ } else {
+ i8 = HEAP32[i1 + 12 >> 2] | 0;
+ HEAP32[i6 + 4 >> 2] = i8;
+ HEAP32[i6 + 8 >> 2] = 0;
+ HEAP32[i6 >> 2] = __Z22btAlignedAllocInternalji(i8 * 60 | 0, 16) | 0;
+ i7 = i6;
+ }
+ i6 = i1 | 0;
+ HEAP32[i7 + 8 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i6 >> 2] = i7;
+ i9 = i7;
+ } else {
+ HEAP32[i4 >> 2] = HEAP32[i5 + 8 >> 2];
+ i9 = i5;
+ }
+ i5 = i9 | 0;
+ i4 = HEAP32[i9 + 4 >> 2] | 0;
+ if ((i4 | 0) > 0) {
+ i6 = HEAP32[i5 >> 2] | 0;
+ i8 = 0;
+ while (1) {
+ i10 = i8 + 1 | 0;
+ i11 = (i10 | 0) < (i4 | 0);
+ i12 = i6 + 60 | 0;
+ HEAP32[i6 >> 2] = i11 ? i12 : 0;
+ if (i11) {
+ i6 = i12;
+ i8 = i10;
+ } else {
+ break;
+ }
+ }
+ }
+ i8 = HEAP32[i5 >> 2] | 0;
+ i6 = i8 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i6 >> 2];
+ if ((i8 | 0) == 0) {
+ i13 = 0;
+ } else {
+ i14 = i8;
+ i15 = i6;
+ break;
+ }
+ return i13 | 0;
+ } else {
+ i6 = i3 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i6 >> 2];
+ i14 = i3;
+ i15 = i6;
+ }
+ } while (0);
+ HEAP32[i15 >> 2] = 0;
+ HEAP32[i14 + 4 >> 2] = 0;
+ HEAP32[i14 + 8 >> 2] = 0;
+ i13 = i14;
+ return i13 | 0;
+}
+function __ZN16btCollisionWorldD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0;
+ HEAP32[i1 >> 2] = 4464;
+ i2 = i1 + 8 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 + 16 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i3 | 0) > 0) {
+ i6 = i1 + 76 | 0;
+ i7 = i1 + 24 | 0;
+ i8 = 0;
+ i9 = i5;
+ i10 = i3;
+ while (1) {
+ i3 = (HEAP32[i9 + (i8 << 2) >> 2] | 0) + 188 | 0;
+ i11 = HEAP32[i3 >> 2] | 0;
+ if ((i11 | 0) == 0) {
+ i12 = i10;
+ i13 = i9;
+ } else {
+ i14 = HEAP32[i6 >> 2] | 0;
+ i15 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i14 >> 2] | 0) + 36 >> 2] & 127](i14) | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i15 >> 2] | 0) + 40 >> 2] & 127](i15, i11, HEAP32[i7 >> 2] | 0);
+ i15 = HEAP32[i6 >> 2] | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i15 >> 2] | 0) + 12 >> 2] & 127](i15, i11, HEAP32[i7 >> 2] | 0);
+ HEAP32[i3 >> 2] = 0;
+ i12 = HEAP32[i2 >> 2] | 0;
+ i13 = HEAP32[i4 >> 2] | 0;
+ }
+ i3 = i8 + 1 | 0;
+ if ((i3 | 0) < (i12 | 0)) {
+ i8 = i3;
+ i9 = i13;
+ i10 = i12;
+ } else {
+ i16 = i13;
+ break;
+ }
+ }
+ } else {
+ i16 = i5;
+ }
+ i5 = i1 + 20 | 0;
+ if ((i16 | 0) == 0) {
+ HEAP8[i5] = 1;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i17 = i1 + 12 | 0;
+ HEAP32[i17 >> 2] = 0;
+ return;
+ }
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i16);
+ }
+ HEAP32[i4 >> 2] = 0;
+ HEAP8[i5] = 1;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i17 = i1 + 12 | 0;
+ HEAP32[i17 >> 2] = 0;
+ return;
+}
+function __ZN33btConvexConcaveCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i3 = i1 + 76 | 0;
+ if ((HEAP32[i3 >> 2] | 0) == 0) {
+ return;
+ }
+ i1 = i2 + 4 | 0;
+ i4 = HEAP32[i1 >> 2] | 0;
+ i5 = i2 + 8 | 0;
+ do {
+ if ((i4 | 0) == (HEAP32[i5 >> 2] | 0)) {
+ i6 = (i4 | 0) == 0 ? 1 : i4 << 1;
+ if ((i4 | 0) >= (i6 | 0)) {
+ i7 = i4;
+ break;
+ }
+ if ((i6 | 0) == 0) {
+ i8 = 0;
+ i9 = i4;
+ } else {
+ i10 = __Z22btAlignedAllocInternalji(i6 << 2, 16) | 0;
+ i8 = i10;
+ i9 = HEAP32[i1 >> 2] | 0;
+ }
+ i10 = i2 + 12 | 0;
+ if ((i9 | 0) > 0) {
+ i11 = 0;
+ do {
+ i12 = i8 + (i11 << 2) | 0;
+ if ((i12 | 0) != 0) {
+ HEAP32[i12 >> 2] = HEAP32[(HEAP32[i10 >> 2] | 0) + (i11 << 2) >> 2];
+ }
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i9 | 0));
+ }
+ i11 = HEAP32[i10 >> 2] | 0;
+ i12 = i2 + 16 | 0;
+ if ((i11 | 0) == 0) {
+ i13 = i9;
+ } else {
+ if ((HEAP8[i12] | 0) == 0) {
+ i14 = i9;
+ } else {
+ __Z21btAlignedFreeInternalPv(i11);
+ i14 = HEAP32[i1 >> 2] | 0;
+ }
+ HEAP32[i10 >> 2] = 0;
+ i13 = i14;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i10 >> 2] = i8;
+ HEAP32[i5 >> 2] = i6;
+ i7 = i13;
+ } else {
+ i7 = i4;
+ }
+ } while (0);
+ i4 = (HEAP32[i2 + 12 >> 2] | 0) + (i7 << 2) | 0;
+ if ((i4 | 0) != 0) {
+ HEAP32[i4 >> 2] = HEAP32[i3 >> 2];
+ }
+ HEAP32[i1 >> 2] = i7 + 1;
+ return;
+}
+function __ZN22SphereTriangleDetector15pointInTriangleEPK9btVector3RS1_PS0_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0;
+ d5 = +HEAPF32[i2 + 16 >> 2];
+ d6 = +HEAPF32[i2 >> 2];
+ d7 = d5 - d6;
+ d8 = +HEAPF32[i2 + 20 >> 2];
+ d9 = +HEAPF32[i2 + 4 >> 2];
+ d10 = d8 - d9;
+ d11 = +HEAPF32[i2 + 24 >> 2];
+ d12 = +HEAPF32[i2 + 8 >> 2];
+ d13 = d11 - d12;
+ d14 = +HEAPF32[i2 + 32 >> 2];
+ d15 = d14 - d5;
+ d16 = +HEAPF32[i2 + 36 >> 2];
+ d17 = d16 - d8;
+ d18 = +HEAPF32[i2 + 40 >> 2];
+ d19 = d18 - d11;
+ d20 = d6 - d14;
+ d21 = d9 - d16;
+ d22 = d12 - d18;
+ d23 = +HEAPF32[i4 >> 2];
+ d24 = +HEAPF32[i4 + 4 >> 2];
+ d25 = +HEAPF32[i4 + 8 >> 2];
+ d26 = +HEAPF32[i3 + 8 >> 2];
+ d27 = +HEAPF32[i3 + 4 >> 2];
+ d28 = +HEAPF32[i3 >> 2];
+ d29 = (d25 - d12) * (d7 * d27 - d10 * d28) + ((d23 - d6) * (d10 * d26 - d13 * d27) + (d24 - d9) * (d13 * d28 - d7 * d26));
+ d7 = (d25 - d11) * (d15 * d27 - d17 * d28) + ((d23 - d5) * (d17 * d26 - d19 * d27) + (d24 - d8) * (d19 * d28 - d15 * d26));
+ d15 = (d25 - d18) * (d20 * d27 - d21 * d28) + ((d23 - d14) * (d21 * d26 - d22 * d27) + (d24 - d16) * (d22 * d28 - d20 * d26));
+ if (d29 > 0.0 & d7 > 0.0 & d15 > 0.0) {
+ return 1;
+ } else {
+ return (d29 > 0.0 | d7 > 0.0 | d15 > 0.0) ^ 1 | 0;
+ }
+ return 0;
+}
+function __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 48 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 16 | 0;
+ i7 = i4 + 32 | 0;
+ d8 = +HEAPF32[i2 >> 2];
+ d9 = +HEAPF32[i2 + 4 >> 2];
+ d10 = +HEAPF32[i2 + 8 >> 2];
+ d11 = 1.0 / +Math_sqrt(+(d8 * d8 + d9 * d9 + d10 * d10));
+ i2 = i3 | 0;
+ HEAPF32[i2 >> 2] = d8 * d11;
+ i12 = i3 + 4 | 0;
+ HEAPF32[i12 >> 2] = d9 * d11;
+ i13 = i3 + 8 | 0;
+ HEAPF32[i13 >> 2] = d10 * d11;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ i14 = i1 + 120 | 0;
+ i15 = (HEAP32[i1 >> 2] | 0) + (HEAP32[i14 + 4 >> 2] | 0) | 0;
+ i16 = HEAP32[i14 >> 2] | 0;
+ if ((i16 & 1 | 0) == 0) {
+ i17 = i16;
+ } else {
+ i17 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i16 - 1) >> 2] | 0;
+ }
+ FUNCTION_TABLE_viii[i17 & 127](i5, i15, i3 | 0);
+ d11 = -0.0 - +HEAPF32[i12 >> 2];
+ d10 = -0.0 - +HEAPF32[i13 >> 2];
+ HEAPF32[i7 >> 2] = -0.0 - +HEAPF32[i2 >> 2];
+ HEAPF32[i7 + 4 >> 2] = d11;
+ HEAPF32[i7 + 8 >> 2] = d10;
+ HEAPF32[i7 + 12 >> 2] = 0.0;
+ __ZNK12gjkepa2_impl13MinkowskiDiff8Support1ERK9btVector3(i6, i1 | 0, i7);
+ d10 = +HEAPF32[i5 + 4 >> 2] - +HEAPF32[i6 + 4 >> 2];
+ d11 = +HEAPF32[i5 + 8 >> 2] - +HEAPF32[i6 + 8 >> 2];
+ HEAPF32[i3 + 16 >> 2] = +HEAPF32[i5 >> 2] - +HEAPF32[i6 >> 2];
+ HEAPF32[i3 + 20 >> 2] = d10;
+ HEAPF32[i3 + 24 >> 2] = d11;
+ HEAPF32[i3 + 28 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld9addActionEP17btActionInterface(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i3 = i1 + 248 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 252 | 0;
+ do {
+ if ((i4 | 0) == (HEAP32[i5 >> 2] | 0)) {
+ i6 = (i4 | 0) == 0 ? 1 : i4 << 1;
+ if ((i4 | 0) >= (i6 | 0)) {
+ i7 = i4;
+ break;
+ }
+ if ((i6 | 0) == 0) {
+ i8 = 0;
+ i9 = i4;
+ } else {
+ i10 = __Z22btAlignedAllocInternalji(i6 << 2, 16) | 0;
+ i8 = i10;
+ i9 = HEAP32[i3 >> 2] | 0;
+ }
+ i10 = i1 + 256 | 0;
+ if ((i9 | 0) > 0) {
+ i11 = 0;
+ do {
+ i12 = i8 + (i11 << 2) | 0;
+ if ((i12 | 0) != 0) {
+ HEAP32[i12 >> 2] = HEAP32[(HEAP32[i10 >> 2] | 0) + (i11 << 2) >> 2];
+ }
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (i9 | 0));
+ }
+ i11 = HEAP32[i10 >> 2] | 0;
+ i12 = i1 + 260 | 0;
+ if ((i11 | 0) == 0) {
+ i13 = i9;
+ } else {
+ if ((HEAP8[i12] | 0) == 0) {
+ i14 = i9;
+ } else {
+ __Z21btAlignedFreeInternalPv(i11);
+ i14 = HEAP32[i3 >> 2] | 0;
+ }
+ HEAP32[i10 >> 2] = 0;
+ i13 = i14;
+ }
+ HEAP8[i12] = 1;
+ HEAP32[i10 >> 2] = i8;
+ HEAP32[i5 >> 2] = i6;
+ i7 = i13;
+ } else {
+ i7 = i4;
+ }
+ } while (0);
+ i4 = (HEAP32[i1 + 256 >> 2] | 0) + (i7 << 2) | 0;
+ if ((i4 | 0) == 0) {
+ i15 = i7 + 1 | 0;
+ HEAP32[i3 >> 2] = i15;
+ return;
+ }
+ HEAP32[i4 >> 2] = i2;
+ i15 = i7 + 1 | 0;
+ HEAP32[i3 >> 2] = i15;
+ return;
+}
+function __ZN20btConvexHullInternal4PoolINS_6VertexEE9newObjectEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i2 = i1 + 8 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ do {
+ if ((i3 | 0) == 0) {
+ i4 = i1 + 4 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i5 | 0) == 0) {
+ i6 = __Z22btAlignedAllocInternalji(12, 16) | 0;
+ if ((i6 | 0) == 0) {
+ i7 = 0;
+ } else {
+ i8 = HEAP32[i1 + 12 >> 2] | 0;
+ HEAP32[i6 + 4 >> 2] = i8;
+ HEAP32[i6 + 8 >> 2] = 0;
+ HEAP32[i6 >> 2] = __Z22btAlignedAllocInternalji(i8 * 112 | 0, 16) | 0;
+ i7 = i6;
+ }
+ i6 = i1 | 0;
+ HEAP32[i7 + 8 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i6 >> 2] = i7;
+ i9 = i7;
+ } else {
+ HEAP32[i4 >> 2] = HEAP32[i5 + 8 >> 2];
+ i9 = i5;
+ }
+ i5 = i9 | 0;
+ i4 = HEAP32[i9 + 4 >> 2] | 0;
+ if ((i4 | 0) > 0) {
+ i6 = HEAP32[i5 >> 2] | 0;
+ i8 = 0;
+ while (1) {
+ i10 = i8 + 1 | 0;
+ i11 = (i10 | 0) < (i4 | 0);
+ i12 = i6 + 112 | 0;
+ HEAP32[i6 >> 2] = i11 ? i12 : 0;
+ if (i11) {
+ i6 = i12;
+ i8 = i10;
+ } else {
+ break;
+ }
+ }
+ }
+ i8 = HEAP32[i5 >> 2] | 0;
+ HEAP32[i2 >> 2] = HEAP32[i8 >> 2];
+ if ((i8 | 0) == 0) {
+ i13 = 0;
+ } else {
+ i14 = i8;
+ break;
+ }
+ return i13 | 0;
+ } else {
+ HEAP32[i2 >> 2] = HEAP32[i3 >> 2];
+ i14 = i3;
+ }
+ } while (0);
+ _memset(i14 | 0, 0, 20);
+ HEAP32[i14 + 104 >> 2] = -1;
+ i13 = i14;
+ return i13 | 0;
+}
+function __ZN20btConvexHullInternal14getCoordinatesEPKNS_6VertexE(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, d6 = 0.0, i7 = 0, d8 = 0.0, i9 = 0, d10 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i5 = i4 | 0;
+ if ((HEAP32[i3 + 100 >> 2] | 0) > -1) {
+ HEAPF32[i5 + (HEAP32[i2 + 108 >> 2] << 2) >> 2] = +(HEAP32[i3 + 88 >> 2] | 0);
+ HEAPF32[i5 + (HEAP32[i2 + 112 >> 2] << 2) >> 2] = +(HEAP32[i3 + 92 >> 2] | 0);
+ d6 = +(HEAP32[i3 + 96 >> 2] | 0);
+ i7 = i5 | 0;
+ } else {
+ d8 = +__ZNK20btConvexHullInternal6Int1288toScalarEv(i3 + 24 | 0);
+ i9 = i3 + 72 | 0;
+ d10 = d8 / +__ZNK20btConvexHullInternal6Int1288toScalarEv(i9);
+ HEAPF32[i5 + (HEAP32[i2 + 108 >> 2] << 2) >> 2] = d10;
+ d10 = +__ZNK20btConvexHullInternal6Int1288toScalarEv(i3 + 40 | 0);
+ d8 = d10 / +__ZNK20btConvexHullInternal6Int1288toScalarEv(i9);
+ HEAPF32[i5 + (HEAP32[i2 + 112 >> 2] << 2) >> 2] = d8;
+ d8 = +__ZNK20btConvexHullInternal6Int1288toScalarEv(i3 + 56 | 0);
+ d6 = d8 / +__ZNK20btConvexHullInternal6Int1288toScalarEv(i9);
+ i7 = i5 | 0;
+ }
+ HEAPF32[i5 + (HEAP32[i2 + 104 >> 2] << 2) >> 2] = d6;
+ d6 = +HEAPF32[i5 + 4 >> 2] * +HEAPF32[i2 + 4 >> 2] + +HEAPF32[i2 + 20 >> 2];
+ d8 = +HEAPF32[i5 + 8 >> 2] * +HEAPF32[i2 + 8 >> 2] + +HEAPF32[i2 + 24 >> 2];
+ HEAPF32[i1 >> 2] = +HEAPF32[i7 >> 2] * +HEAPF32[i2 >> 2] + +HEAPF32[i2 + 16 >> 2];
+ HEAPF32[i1 + 4 >> 2] = d6;
+ HEAPF32[i1 + 8 >> 2] = d8;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+}
+function __ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_PfRj(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, d7 = 0.0, d8 = 0.0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, i13 = 0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0;
+ i5 = i2 | 0;
+ i6 = i1 | 0;
+ d7 = +HEAPF32[i6 >> 2];
+ d8 = +HEAPF32[i5 >> 2] - d7;
+ i9 = i2 + 4 | 0;
+ i10 = i1 + 4 | 0;
+ d11 = +HEAPF32[i10 >> 2];
+ d12 = +HEAPF32[i9 >> 2] - d11;
+ i13 = i2 + 8 | 0;
+ i2 = i1 + 8 | 0;
+ d14 = +HEAPF32[i2 >> 2];
+ d15 = +HEAPF32[i13 >> 2] - d14;
+ d16 = d8 * d8 + d12 * d12 + d15 * d15;
+ if (d16 <= 0.0) {
+ d17 = -1.0;
+ return +d17;
+ }
+ d18 = (-0.0 - (d7 * d8 + d11 * d12 + d14 * d15)) / d16;
+ if (d18 >= 1.0) {
+ HEAPF32[i3 >> 2] = 0.0;
+ HEAPF32[i3 + 4 >> 2] = 1.0;
+ HEAP32[i4 >> 2] = 2;
+ d16 = +HEAPF32[i5 >> 2];
+ d14 = +HEAPF32[i9 >> 2];
+ d11 = +HEAPF32[i13 >> 2];
+ d17 = d16 * d16 + d14 * d14 + d11 * d11;
+ return +d17;
+ }
+ if (d18 > 0.0) {
+ HEAPF32[i3 + 4 >> 2] = d18;
+ HEAPF32[i3 >> 2] = 1.0 - d18;
+ HEAP32[i4 >> 2] = 3;
+ d11 = d8 * d18 + +HEAPF32[i6 >> 2];
+ d8 = d12 * d18 + +HEAPF32[i10 >> 2];
+ d12 = d15 * d18 + +HEAPF32[i2 >> 2];
+ d17 = d11 * d11 + d8 * d8 + d12 * d12;
+ return +d17;
+ } else {
+ HEAPF32[i3 >> 2] = 1.0;
+ HEAPF32[i3 + 4 >> 2] = 0.0;
+ HEAP32[i4 >> 2] = 1;
+ d12 = +HEAPF32[i6 >> 2];
+ d8 = +HEAPF32[i10 >> 2];
+ d11 = +HEAPF32[i2 >> 2];
+ d17 = d12 * d12 + d8 * d8 + d11 * d11;
+ return +d17;
+ }
+ return 0.0;
+}
+function __ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i2 = i1 + 8 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ do {
+ if ((i3 | 0) == 0) {
+ i4 = i1 + 4 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if ((i5 | 0) == 0) {
+ i6 = __Z22btAlignedAllocInternalji(12, 16) | 0;
+ if ((i6 | 0) == 0) {
+ i7 = 0;
+ } else {
+ i8 = HEAP32[i1 + 12 >> 2] | 0;
+ HEAP32[i6 + 4 >> 2] = i8;
+ HEAP32[i6 + 8 >> 2] = 0;
+ HEAP32[i6 >> 2] = __Z22btAlignedAllocInternalji(i8 * 24 | 0, 16) | 0;
+ i7 = i6;
+ }
+ i6 = i1 | 0;
+ HEAP32[i7 + 8 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i6 >> 2] = i7;
+ i9 = i7;
+ } else {
+ HEAP32[i4 >> 2] = HEAP32[i5 + 8 >> 2];
+ i9 = i5;
+ }
+ i5 = i9 | 0;
+ i4 = HEAP32[i9 + 4 >> 2] | 0;
+ if ((i4 | 0) > 0) {
+ i6 = HEAP32[i5 >> 2] | 0;
+ i8 = 0;
+ while (1) {
+ i10 = i8 + 1 | 0;
+ i11 = (i10 | 0) < (i4 | 0);
+ i12 = i6 + 24 | 0;
+ HEAP32[i6 >> 2] = i11 ? i12 : 0;
+ if (i11) {
+ i6 = i12;
+ i8 = i10;
+ } else {
+ break;
+ }
+ }
+ }
+ i8 = HEAP32[i5 >> 2] | 0;
+ HEAP32[i2 >> 2] = HEAP32[i8 >> 2];
+ if ((i8 | 0) == 0) {
+ i13 = 0;
+ } else {
+ i14 = i8;
+ break;
+ }
+ return i13 | 0;
+ } else {
+ HEAP32[i2 >> 2] = HEAP32[i3 >> 2];
+ i14 = i3;
+ }
+ } while (0);
+ _memset(i14 | 0, 0, 24);
+ i13 = i14;
+ return i13 | 0;
+}
+function __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeED2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ i2 = i1 + 64 | 0;
+ i3 = i1 + 72 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 76 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 68 >> 2] = 0;
+ i2 = i1 + 44 | 0;
+ i3 = i1 + 52 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 56 | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 48 >> 2] = 0;
+ i2 = i1 + 24 | 0;
+ i3 = i1 + 32 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 36 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ i2 = i1 + 4 | 0;
+ i3 = i1 + 12 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 16 | 0;
+ if ((i5 | 0) == 0) {
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 8 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+ }
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 8 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+}
+function __ZN11btRigidBody19integrateVelocitiesEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var d3 = 0.0, d4 = 0.0, d5 = 0.0, i6 = 0, d7 = 0.0, d8 = 0.0, d9 = 0.0, i10 = 0, i11 = 0;
+ if ((HEAP32[i1 + 204 >> 2] & 3 | 0) != 0) {
+ return;
+ }
+ d3 = +HEAPF32[i1 + 336 >> 2] * d2;
+ d4 = d3 * +HEAPF32[i1 + 408 >> 2];
+ d5 = d3 * +HEAPF32[i1 + 412 >> 2];
+ i6 = i1 + 304 | 0;
+ HEAPF32[i6 >> 2] = +HEAPF32[i1 + 404 >> 2] * d3 + +HEAPF32[i6 >> 2];
+ i6 = i1 + 308 | 0;
+ HEAPF32[i6 >> 2] = d4 + +HEAPF32[i6 >> 2];
+ i6 = i1 + 312 | 0;
+ HEAPF32[i6 >> 2] = d5 + +HEAPF32[i6 >> 2];
+ d5 = +HEAPF32[i1 + 420 >> 2];
+ d4 = +HEAPF32[i1 + 424 >> 2];
+ d3 = +HEAPF32[i1 + 428 >> 2];
+ d7 = (d5 * +HEAPF32[i1 + 272 >> 2] + d4 * +HEAPF32[i1 + 276 >> 2] + d3 * +HEAPF32[i1 + 280 >> 2]) * d2;
+ d8 = (d5 * +HEAPF32[i1 + 288 >> 2] + d4 * +HEAPF32[i1 + 292 >> 2] + d3 * +HEAPF32[i1 + 296 >> 2]) * d2;
+ i6 = i1 + 320 | 0;
+ d9 = (+HEAPF32[i1 + 256 >> 2] * d5 + +HEAPF32[i1 + 260 >> 2] * d4 + +HEAPF32[i1 + 264 >> 2] * d3) * d2 + +HEAPF32[i6 >> 2];
+ HEAPF32[i6 >> 2] = d9;
+ i10 = i1 + 324 | 0;
+ d3 = d7 + +HEAPF32[i10 >> 2];
+ HEAPF32[i10 >> 2] = d3;
+ i11 = i1 + 328 | 0;
+ d7 = d8 + +HEAPF32[i11 >> 2];
+ HEAPF32[i11 >> 2] = d7;
+ d8 = +Math_sqrt(+(d7 * d7 + (d9 * d9 + d3 * d3)));
+ if (d8 * d2 <= 1.5707963705062866) {
+ return;
+ }
+ d4 = 1.5707963705062866 / d2 / d8;
+ HEAPF32[i6 >> 2] = d9 * d4;
+ HEAPF32[i10 >> 2] = d3 * d4;
+ HEAPF32[i11 >> 2] = d7 * d4;
+ return;
+}
+function __ZN9btHashMapI9btHashPtrP16btCollisionShapeED2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ i2 = i1 + 64 | 0;
+ i3 = i1 + 72 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 76 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 68 >> 2] = 0;
+ i2 = i1 + 44 | 0;
+ i3 = i1 + 52 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 56 | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 48 >> 2] = 0;
+ i2 = i1 + 24 | 0;
+ i3 = i1 + 32 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 36 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ i2 = i1 + 4 | 0;
+ i3 = i1 + 12 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 16 | 0;
+ if ((i5 | 0) == 0) {
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 8 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+ }
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 8 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+}
+function __ZN33btConvexConcaveCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, i10 = 0, i11 = 0;
+ i6 = (HEAP8[i1 + 8 | 0] | 0) != 0;
+ i7 = i6 ? i3 : i2;
+ i8 = i6 ? i2 : i3;
+ i3 = HEAP32[i8 + 192 >> 2] | 0;
+ if (((HEAP32[i3 + 4 >> 2] | 0) - 21 | 0) >>> 0 >= 9) {
+ return;
+ }
+ i2 = i3;
+ if ((HEAP32[(HEAP32[i7 + 192 >> 2] | 0) + 4 >> 2] | 0) >= 20) {
+ return;
+ }
+ d9 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i3 >> 2] | 0) + 44 >> 2] & 7](i2);
+ i6 = i1 + 12 | 0;
+ i10 = i1 + 76 | 0;
+ i11 = i5 + 4 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i10 >> 2];
+ __ZN24btConvexTriangleCallback22setTimeStepAndCountersEfRK16btDispatcherInfoP16btManifoldResult(i6, d9, i4, i5);
+ i4 = HEAP32[i10 >> 2] | 0;
+ HEAP32[i4 + 1108 >> 2] = i7;
+ HEAP32[i4 + 1112 >> 2] = i8;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i3 >> 2] | 0) + 60 >> 2] & 127](i2, i6 | 0, i1 + 24 | 0, i1 + 40 | 0);
+ i1 = HEAP32[i11 >> 2] | 0;
+ if ((HEAP32[i1 + 1116 >> 2] | 0) == 0) {
+ return;
+ }
+ if ((HEAP32[i1 + 1108 >> 2] | 0) == (HEAP32[i5 + 136 >> 2] | 0)) {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i1, i5 + 8 | 0, i5 + 72 | 0);
+ return;
+ } else {
+ __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i1, i5 + 72 | 0, i5 + 8 | 0);
+ return;
+ }
+}
+function __ZN11btRigidBodyC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(i1, d2, i3, i4, i5) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 136 | 0;
+ i7 = i6 | 0;
+ __ZN17btCollisionObjectC2Ev(i1 | 0);
+ HEAP32[i1 >> 2] = 4936;
+ HEAP8[i1 + 492 | 0] = 1;
+ HEAP32[i1 + 488 >> 2] = 0;
+ HEAP32[i1 + 480 >> 2] = 0;
+ HEAP32[i1 + 484 >> 2] = 0;
+ HEAPF32[i7 >> 2] = d2;
+ HEAP32[i7 + 4 >> 2] = i3;
+ HEAP32[i7 + 72 >> 2] = i4;
+ i4 = i7 + 76 | 0;
+ i3 = i5;
+ HEAP32[i4 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ HEAPF32[i7 + 92 >> 2] = 0.0;
+ HEAPF32[i7 + 96 >> 2] = 0.0;
+ HEAPF32[i7 + 100 >> 2] = .5;
+ HEAPF32[i7 + 104 >> 2] = 0.0;
+ HEAPF32[i7 + 108 >> 2] = .800000011920929;
+ HEAPF32[i7 + 112 >> 2] = 1.0;
+ HEAP8[i7 + 116 | 0] = 0;
+ HEAPF32[i7 + 120 >> 2] = .004999999888241291;
+ HEAPF32[i7 + 124 >> 2] = .009999999776482582;
+ HEAPF32[i7 + 128 >> 2] = .009999999776482582;
+ HEAPF32[i7 + 132 >> 2] = .009999999776482582;
+ HEAPF32[i7 + 8 >> 2] = 1.0;
+ _memset(i7 + 12 | 0, 0, 16);
+ HEAPF32[i7 + 28 >> 2] = 1.0;
+ _memset(i7 + 32 | 0, 0, 16);
+ HEAPF32[i7 + 48 >> 2] = 1.0;
+ _memset(i7 + 52 | 0, 0, 20);
+ __ZN11btRigidBody14setupRigidBodyERKNS_27btRigidBodyConstructionInfoE(i1, i7);
+ STACKTOP = i6;
+ return;
+}
+function __ZN11btUnionFind8allocateEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0;
+ i3 = i1 + 4 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ if ((i4 | 0) >= (i2 | 0)) {
+ HEAP32[i3 >> 2] = i2;
+ return;
+ }
+ i5 = i1 + 8 | 0;
+ if ((HEAP32[i5 >> 2] | 0) < (i2 | 0)) {
+ if ((i2 | 0) == 0) {
+ i6 = 0;
+ i7 = i4;
+ } else {
+ i8 = __Z22btAlignedAllocInternalji(i2 << 3, 16) | 0;
+ i6 = i8;
+ i7 = HEAP32[i3 >> 2] | 0;
+ }
+ i8 = i1 + 12 | 0;
+ if ((i7 | 0) > 0) {
+ i9 = 0;
+ do {
+ i10 = i6 + (i9 << 3) | 0;
+ if ((i10 | 0) != 0) {
+ i11 = (HEAP32[i8 >> 2] | 0) + (i9 << 3) | 0;
+ i12 = i10;
+ i10 = HEAP32[i11 + 4 >> 2] | 0;
+ HEAP32[i12 >> 2] = HEAP32[i11 >> 2];
+ HEAP32[i12 + 4 >> 2] = i10;
+ }
+ i9 = i9 + 1 | 0;
+ } while ((i9 | 0) < (i7 | 0));
+ }
+ i7 = HEAP32[i8 >> 2] | 0;
+ i9 = i1 + 16 | 0;
+ if ((i7 | 0) != 0) {
+ if ((HEAP8[i9] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i7);
+ }
+ HEAP32[i8 >> 2] = 0;
+ }
+ HEAP8[i9] = 1;
+ HEAP32[i8 >> 2] = i6;
+ HEAP32[i5 >> 2] = i2;
+ i13 = i8;
+ } else {
+ i13 = i1 + 12 | 0;
+ }
+ i1 = i4;
+ do {
+ i4 = (HEAP32[i13 >> 2] | 0) + (i1 << 3) | 0;
+ if ((i4 | 0) != 0) {
+ i8 = i4;
+ HEAP32[i8 >> 2] = 0;
+ HEAP32[i8 + 4 >> 2] = 0;
+ }
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i2 | 0));
+ HEAP32[i3 >> 2] = i2;
+ return;
+}
+function __ZNK10btBoxShape7getAabbERK11btTransformR9btVector3S4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0;
+ d5 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i1 >> 2] | 0) + 44 >> 2] & 7](i1 | 0);
+ d6 = d5 + +HEAPF32[i1 + 28 >> 2];
+ d7 = d5 + +HEAPF32[i1 + 32 >> 2];
+ d8 = d5 + +HEAPF32[i1 + 36 >> 2];
+ d5 = +Math_abs(+(+HEAPF32[i2 >> 2]));
+ d9 = +Math_abs(+(+HEAPF32[i2 + 4 >> 2]));
+ d10 = +Math_abs(+(+HEAPF32[i2 + 8 >> 2]));
+ d11 = +Math_abs(+(+HEAPF32[i2 + 16 >> 2]));
+ d12 = +Math_abs(+(+HEAPF32[i2 + 20 >> 2]));
+ d13 = +Math_abs(+(+HEAPF32[i2 + 24 >> 2]));
+ d14 = +Math_abs(+(+HEAPF32[i2 + 32 >> 2]));
+ d15 = +Math_abs(+(+HEAPF32[i2 + 36 >> 2]));
+ d16 = +Math_abs(+(+HEAPF32[i2 + 40 >> 2]));
+ d17 = +HEAPF32[i2 + 48 >> 2];
+ d18 = +HEAPF32[i2 + 52 >> 2];
+ d19 = +HEAPF32[i2 + 56 >> 2];
+ d20 = d6 * d5 + d7 * d9 + d8 * d10;
+ d10 = d6 * d11 + d7 * d12 + d8 * d13;
+ d13 = d6 * d14 + d7 * d15 + d8 * d16;
+ HEAPF32[i3 >> 2] = d17 - d20;
+ HEAPF32[i3 + 4 >> 2] = d18 - d10;
+ HEAPF32[i3 + 8 >> 2] = d19 - d13;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ HEAPF32[i4 >> 2] = d20 + d17;
+ HEAPF32[i4 + 4 >> 2] = d10 + d18;
+ HEAPF32[i4 + 8 >> 2] = d13 + d19;
+ HEAPF32[i4 + 12 >> 2] = 0.0;
+ return;
+}
+function __ZNK15btTriangleShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, i21 = 0, i22 = 0, i23 = 0;
+ if ((i4 | 0) <= 0) {
+ return;
+ }
+ i5 = i1 + 56 | 0;
+ i6 = i1 + 60 | 0;
+ i7 = i1 + 64 | 0;
+ i8 = i1 + 72 | 0;
+ i9 = i1 + 76 | 0;
+ i10 = i1 + 80 | 0;
+ i11 = i1 + 88 | 0;
+ i12 = i1 + 92 | 0;
+ i13 = i1 + 96 | 0;
+ i14 = 0;
+ do {
+ d15 = +HEAPF32[i2 + (i14 << 4) >> 2];
+ d16 = +HEAPF32[i2 + (i14 << 4) + 4 >> 2];
+ d17 = +HEAPF32[i2 + (i14 << 4) + 8 >> 2];
+ d18 = d15 * +HEAPF32[i5 >> 2] + d16 * +HEAPF32[i6 >> 2] + d17 * +HEAPF32[i7 >> 2];
+ d19 = d15 * +HEAPF32[i8 >> 2] + d16 * +HEAPF32[i9 >> 2] + d17 * +HEAPF32[i10 >> 2];
+ d20 = d15 * +HEAPF32[i11 >> 2] + d16 * +HEAPF32[i12 >> 2] + d17 * +HEAPF32[i13 >> 2];
+ if (d18 < d19) {
+ i21 = d19 < d20 ? 2 : 1;
+ } else {
+ i21 = d18 < d20 ? 2 : 0;
+ }
+ i22 = i3 + (i14 << 4) | 0;
+ i23 = i1 + 56 + (i21 << 4) | 0;
+ HEAP32[i22 >> 2] = HEAP32[i23 >> 2];
+ HEAP32[i22 + 4 >> 2] = HEAP32[i23 + 4 >> 2];
+ HEAP32[i22 + 8 >> 2] = HEAP32[i23 + 8 >> 2];
+ HEAP32[i22 + 12 >> 2] = HEAP32[i23 + 12 >> 2];
+ i14 = i14 + 1 | 0;
+ } while ((i14 | 0) < (i4 | 0));
+ return;
+}
+function __ZN20btAlignedObjectArrayI6btFaceE7reserveEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0;
+ i3 = i1 + 8 | 0;
+ if ((HEAP32[i3 >> 2] | 0) >= (i2 | 0)) {
+ return;
+ }
+ if ((i2 | 0) == 0) {
+ i4 = 0;
+ } else {
+ i4 = __Z22btAlignedAllocInternalji(i2 * 56 | 0, 16) | 0;
+ }
+ i5 = i1 + 4 | 0;
+ i6 = HEAP32[i5 >> 2] | 0;
+ i7 = i1 + 12 | 0;
+ if ((i6 | 0) > 0) {
+ i8 = 0;
+ do {
+ i9 = i4 + (i8 * 56 | 0) | 0;
+ if ((i9 | 0) != 0) {
+ i10 = HEAP32[i7 >> 2] | 0;
+ __ZN20btAlignedObjectArrayIiEC2ERKS0_(i9, i10 + (i8 * 56 | 0) | 0);
+ __ZN20btAlignedObjectArrayIiEC2ERKS0_(i9 + 20 | 0, i10 + (i8 * 56 | 0) + 20 | 0);
+ i11 = i9 + 40 | 0;
+ i9 = i10 + (i8 * 56 | 0) + 40 | 0;
+ HEAP32[i11 >> 2] = HEAP32[i9 >> 2];
+ HEAP32[i11 + 4 >> 2] = HEAP32[i9 + 4 >> 2];
+ HEAP32[i11 + 8 >> 2] = HEAP32[i9 + 8 >> 2];
+ HEAP32[i11 + 12 >> 2] = HEAP32[i9 + 12 >> 2];
+ }
+ i8 = i8 + 1 | 0;
+ } while ((i8 | 0) < (i6 | 0));
+ i12 = HEAP32[i5 >> 2] | 0;
+ } else {
+ i12 = i6;
+ }
+ __ZN20btAlignedObjectArrayI6btFaceE7destroyEii(i1, 0, i12);
+ i12 = HEAP32[i7 >> 2] | 0;
+ i6 = i1 + 16 | 0;
+ if ((i12 | 0) != 0) {
+ if ((HEAP8[i6] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i12 | 0);
+ }
+ HEAP32[i7 >> 2] = 0;
+ }
+ HEAP8[i6] = 1;
+ HEAP32[i7 >> 2] = i4;
+ HEAP32[i3 >> 2] = i2;
+ return;
+}
+function __ZN28btHashedOverlappingPairCacheC2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ HEAP32[i1 >> 2] = 2800;
+ i2 = i1 + 20 | 0;
+ HEAP8[i2] = 1;
+ i3 = i1 + 16 | 0;
+ HEAP32[i3 >> 2] = 0;
+ i4 = i1 + 8 | 0;
+ HEAP32[i4 >> 2] = 0;
+ i5 = i1 + 12 | 0;
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i1 + 24 >> 2] = 0;
+ HEAP8[i1 + 28 | 0] = 0;
+ HEAP8[i1 + 48 | 0] = 1;
+ HEAP32[i1 + 44 >> 2] = 0;
+ HEAP32[i1 + 36 >> 2] = 0;
+ HEAP32[i1 + 40 >> 2] = 0;
+ HEAP8[i1 + 68 | 0] = 1;
+ HEAP32[i1 + 64 >> 2] = 0;
+ HEAP32[i1 + 56 >> 2] = 0;
+ HEAP32[i1 + 60 >> 2] = 0;
+ HEAP32[i1 + 72 >> 2] = 0;
+ i6 = __Z22btAlignedAllocInternalji(32, 16) | 0;
+ i7 = HEAP32[i4 >> 2] | 0;
+ if ((i7 | 0) > 0) {
+ i4 = 0;
+ do {
+ i8 = HEAP32[i3 >> 2] | 0;
+ HEAP32[i6 + (i4 << 4) >> 2] = HEAP32[i8 + (i4 << 4) >> 2];
+ HEAP32[i6 + (i4 << 4) + 4 >> 2] = HEAP32[i8 + (i4 << 4) + 4 >> 2];
+ HEAP32[i6 + (i4 << 4) + 8 >> 2] = HEAP32[i8 + (i4 << 4) + 8 >> 2];
+ HEAP32[i6 + (i4 << 4) + 12 >> 2] = HEAP32[i8 + (i4 << 4) + 12 >> 2];
+ i4 = i4 + 1 | 0;
+ } while ((i4 | 0) < (i7 | 0));
+ }
+ i7 = HEAP32[i3 >> 2] | 0;
+ if ((i7 | 0) != 0) {
+ if ((HEAP8[i2] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i7);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i2] = 1;
+ HEAP32[i3 >> 2] = i6;
+ HEAP32[i5 >> 2] = 2;
+ __ZN28btHashedOverlappingPairCache10growTablesEv(i1);
+ return;
+}
+function __ZN15CProfileManager13Start_ProfileEPKc(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i3 = i2 | 0;
+ i4 = HEAP32[2966] | 0;
+ if ((HEAP32[i4 >> 2] | 0) == (i1 | 0)) {
+ i5 = i4;
+ } else {
+ i6 = i4 + 24 | 0;
+ i7 = i6;
+ while (1) {
+ i8 = HEAP32[i7 >> 2] | 0;
+ if ((i8 | 0) == 0) {
+ i9 = 1900;
+ break;
+ }
+ if ((HEAP32[i8 >> 2] | 0) == (i1 | 0)) {
+ i10 = i8;
+ break;
+ } else {
+ i7 = i8 + 28 | 0;
+ }
+ }
+ if ((i9 | 0) == 1900) {
+ i9 = __Znwj(32) | 0;
+ i7 = i9;
+ HEAP32[i9 >> 2] = i1;
+ _memset(i9 + 4 | 0, 0, 16);
+ HEAP32[i9 + 20 >> 2] = i4;
+ HEAP32[i9 + 24 >> 2] = 0;
+ i4 = i9 + 28 | 0;
+ HEAP32[i4 >> 2] = 0;
+ __ZN12CProfileNode5ResetEv(i7);
+ HEAP32[i4 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i6 >> 2] = i7;
+ i10 = i7;
+ }
+ HEAP32[2966] = i10;
+ i5 = i10;
+ }
+ i10 = i5 + 4 | 0;
+ HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) + 1;
+ i10 = i5 + 16 | 0;
+ i7 = HEAP32[i10 >> 2] | 0;
+ HEAP32[i10 >> 2] = i7 + 1;
+ if ((i7 | 0) != 0) {
+ STACKTOP = i2;
+ return;
+ }
+ _gettimeofday(i3 | 0, 0) | 0;
+ i7 = HEAP32[3578] | 0;
+ HEAP32[i5 + 12 >> 2] = (HEAP32[i3 + 4 >> 2] | 0) - (HEAP32[i7 + 4 >> 2] | 0) + (((HEAP32[i3 >> 2] | 0) - (HEAP32[i7 >> 2] | 0) | 0) * 1e6 | 0);
+ STACKTOP = i2;
+ return;
+}
+function __ZN20btAlignedObjectArrayIiEC2ERKS0_(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0;
+ i3 = i1 + 16 | 0;
+ HEAP8[i3] = 1;
+ i4 = i1 + 12 | 0;
+ HEAP32[i4 >> 2] = 0;
+ i5 = i1 + 4 | 0;
+ HEAP32[i5 >> 2] = 0;
+ i6 = i1 + 8 | 0;
+ HEAP32[i6 >> 2] = 0;
+ i1 = HEAP32[i2 + 4 >> 2] | 0;
+ if ((i1 | 0) <= 0) {
+ HEAP32[i5 >> 2] = i1;
+ return;
+ }
+ i7 = __Z22btAlignedAllocInternalji(i1 << 2, 16) | 0;
+ i8 = HEAP32[i5 >> 2] | 0;
+ if ((i8 | 0) > 0) {
+ i9 = 0;
+ do {
+ i10 = i7 + (i9 << 2) | 0;
+ if ((i10 | 0) != 0) {
+ HEAP32[i10 >> 2] = HEAP32[(HEAP32[i4 >> 2] | 0) + (i9 << 2) >> 2];
+ }
+ i9 = i9 + 1 | 0;
+ } while ((i9 | 0) < (i8 | 0));
+ }
+ i8 = HEAP32[i4 >> 2] | 0;
+ if ((i8 | 0) != 0) {
+ if ((HEAP8[i3] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ HEAP32[i4 >> 2] = 0;
+ }
+ HEAP8[i3] = 1;
+ HEAP32[i4 >> 2] = i7;
+ HEAP32[i6 >> 2] = i1;
+ i6 = 0;
+ do {
+ i4 = i7 + (i6 << 2) | 0;
+ if ((i4 | 0) != 0) {
+ HEAP32[i4 >> 2] = 0;
+ }
+ i6 = i6 + 1 | 0;
+ } while ((i6 | 0) < (i1 | 0));
+ HEAP32[i5 >> 2] = i1;
+ i5 = i2 + 12 | 0;
+ i2 = 0;
+ do {
+ i6 = i7 + (i2 << 2) | 0;
+ if ((i6 | 0) != 0) {
+ HEAP32[i6 >> 2] = HEAP32[(HEAP32[i5 >> 2] | 0) + (i2 << 2) >> 2];
+ }
+ i2 = i2 + 1 | 0;
+ } while ((i2 | 0) < (i1 | 0));
+ return;
+}
+function __ZN25btSimulationIslandManager26storeIslandActivationStateEP16btCollisionWorld(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0;
+ i3 = i2 + 8 | 0;
+ if ((HEAP32[i3 >> 2] | 0) <= 0) {
+ return;
+ }
+ i4 = HEAP32[i2 + 16 >> 2] | 0;
+ i2 = i1 + 16 | 0;
+ i1 = 0;
+ i5 = 0;
+ while (1) {
+ i6 = HEAP32[i4 + (i1 << 2) >> 2] | 0;
+ if ((HEAP32[i6 + 204 >> 2] & 3 | 0) == 0) {
+ i7 = HEAP32[i2 >> 2] | 0;
+ i8 = i7 + (i5 << 3) | 0;
+ i9 = HEAP32[i8 >> 2] | 0;
+ if ((i9 | 0) == (i5 | 0)) {
+ i10 = i5;
+ } else {
+ i11 = i8;
+ i8 = i9;
+ while (1) {
+ i9 = i7 + (i8 << 3) | 0;
+ HEAP32[i11 >> 2] = HEAP32[i9 >> 2];
+ i12 = HEAP32[i9 >> 2] | 0;
+ i9 = i7 + (i12 << 3) | 0;
+ i13 = HEAP32[i9 >> 2] | 0;
+ if ((i12 | 0) == (i13 | 0)) {
+ i10 = i12;
+ break;
+ } else {
+ i11 = i9;
+ i8 = i13;
+ }
+ }
+ }
+ HEAP32[i6 + 208 >> 2] = i10;
+ HEAP32[i7 + (i5 << 3) + 4 >> 2] = i1;
+ HEAP32[i6 + 212 >> 2] = -1;
+ i14 = i5 + 1 | 0;
+ } else {
+ HEAP32[i6 + 208 >> 2] = -1;
+ HEAP32[i6 + 212 >> 2] = -2;
+ i14 = i5;
+ }
+ i8 = i1 + 1 | 0;
+ if ((i8 | 0) < (HEAP32[i3 >> 2] | 0)) {
+ i1 = i8;
+ i5 = i14;
+ } else {
+ break;
+ }
+ }
+ return;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTester7ProcessE_1PK10btDbvtNode(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 96 | 0;
+ i4 = i3 | 0;
+ i5 = i3 + 64 | 0;
+ i6 = HEAP32[i2 + 36 >> 2] | 0;
+ i2 = HEAP32[(HEAP32[i1 + 8 >> 2] | 0) + 24 >> 2] | 0;
+ i7 = HEAP32[i2 + (i6 * 80 | 0) + 64 >> 2] | 0;
+ __ZNK11btTransformmlERKS_(i4, HEAP32[i1 + 12 >> 2] | 0, i2 + (i6 * 80 | 0) | 0);
+ i2 = i1 + 4 | 0;
+ i8 = (HEAP32[i2 >> 2] | 0) + 192 | 0;
+ i9 = HEAP32[i8 >> 2] | 0;
+ HEAP32[i8 >> 2] = i7;
+ i8 = HEAP32[i1 + 24 >> 2] | 0;
+ i10 = i5 + 4 | 0;
+ HEAPF32[i10 >> 2] = 1.0;
+ HEAP32[i5 + 8 >> 2] = 0;
+ HEAP16[i5 + 12 >> 1] = 1;
+ HEAP16[i5 + 14 >> 1] = -1;
+ HEAP32[i5 + 16 >> 2] = 0;
+ HEAP32[i5 >> 2] = 1864;
+ HEAP32[i5 + 20 >> 2] = i8;
+ HEAP32[i5 + 24 >> 2] = i6;
+ HEAPF32[i10 >> 2] = +HEAPF32[i8 + 4 >> 2];
+ __ZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackE(HEAP32[i1 + 16 >> 2] | 0, HEAP32[i1 + 20 >> 2] | 0, HEAP32[i2 >> 2] | 0, i7, i4, i5 | 0);
+ HEAP32[(HEAP32[i2 >> 2] | 0) + 192 >> 2] = i9;
+ STACKTOP = i3;
+ return;
+}
+function __ZN11btRigidBody12setMassPropsEfRK9btVector3(i1, d2, i3) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0;
+ i4 = i1 + 204 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ if (d2 == 0.0) {
+ HEAP32[i4 >> 2] = i5 | 1;
+ HEAPF32[i1 + 336 >> 2] = 0.0;
+ d6 = 0.0;
+ } else {
+ HEAP32[i4 >> 2] = i5 & -2;
+ d7 = 1.0 / d2;
+ HEAPF32[i1 + 336 >> 2] = d7;
+ d6 = d7;
+ }
+ d7 = +HEAPF32[i1 + 376 >> 2] * d2;
+ d8 = +HEAPF32[i1 + 380 >> 2] * d2;
+ HEAPF32[i1 + 356 >> 2] = +HEAPF32[i1 + 372 >> 2] * d2;
+ HEAPF32[i1 + 360 >> 2] = d7;
+ HEAPF32[i1 + 364 >> 2] = d8;
+ HEAPF32[i1 + 368 >> 2] = 0.0;
+ d8 = +HEAPF32[i3 >> 2];
+ if (d8 != 0.0) {
+ d9 = 1.0 / d8;
+ } else {
+ d9 = 0.0;
+ }
+ d8 = +HEAPF32[i3 + 4 >> 2];
+ if (d8 != 0.0) {
+ d10 = 1.0 / d8;
+ } else {
+ d10 = 0.0;
+ }
+ d8 = +HEAPF32[i3 + 8 >> 2];
+ if (d8 != 0.0) {
+ d11 = 1.0 / d8;
+ } else {
+ d11 = 0.0;
+ }
+ HEAPF32[i1 + 388 >> 2] = d9;
+ HEAPF32[i1 + 392 >> 2] = d10;
+ HEAPF32[i1 + 396 >> 2] = d11;
+ HEAPF32[i1 + 400 >> 2] = 0.0;
+ d11 = d6 * +HEAPF32[i1 + 344 >> 2];
+ d10 = d6 * +HEAPF32[i1 + 348 >> 2];
+ HEAPF32[i1 + 552 >> 2] = d6 * +HEAPF32[i1 + 340 >> 2];
+ HEAPF32[i1 + 556 >> 2] = d11;
+ HEAPF32[i1 + 560 >> 2] = d10;
+ HEAPF32[i1 + 564 >> 2] = 0.0;
+ return;
+}
+function __ZN20btConvexHullInternalD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ i2 = i1 + 84 | 0;
+ i3 = i1 + 92 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 96 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 88 >> 2] = 0;
+ i2 = i1 + 64 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ if ((i3 | 0) != 0) {
+ i5 = i3;
+ do {
+ HEAP32[i2 >> 2] = HEAP32[i5 + 8 >> 2];
+ __Z21btAlignedFreeInternalPv(HEAP32[i5 >> 2] | 0);
+ __Z21btAlignedFreeInternalPv(i5);
+ i5 = HEAP32[i2 >> 2] | 0;
+ } while ((i5 | 0) != 0);
+ }
+ i5 = i1 + 48 | 0;
+ i2 = HEAP32[i5 >> 2] | 0;
+ if ((i2 | 0) != 0) {
+ i3 = i2;
+ do {
+ HEAP32[i5 >> 2] = HEAP32[i3 + 8 >> 2];
+ __Z21btAlignedFreeInternalPv(HEAP32[i3 >> 2] | 0);
+ __Z21btAlignedFreeInternalPv(i3);
+ i3 = HEAP32[i5 >> 2] | 0;
+ } while ((i3 | 0) != 0);
+ }
+ i3 = i1 + 32 | 0;
+ i1 = HEAP32[i3 >> 2] | 0;
+ if ((i1 | 0) == 0) {
+ return;
+ } else {
+ i6 = i1;
+ }
+ do {
+ HEAP32[i3 >> 2] = HEAP32[i6 + 8 >> 2];
+ __Z21btAlignedFreeInternalPv(HEAP32[i6 >> 2] | 0);
+ __Z21btAlignedFreeInternalPv(i6);
+ i6 = HEAP32[i3 >> 2] | 0;
+ } while ((i6 | 0) != 0);
+ return;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallback9reportHitE_0RK9btVector3fii(i1, i2, d3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 40 | 0;
+ i7 = i6 | 0;
+ i8 = i6 + 8 | 0;
+ HEAP32[i7 >> 2] = i4;
+ HEAP32[i7 + 4 >> 2] = i5;
+ d9 = +HEAPF32[i2 >> 2];
+ d10 = +HEAPF32[i2 + 4 >> 2];
+ d11 = +HEAPF32[i2 + 8 >> 2];
+ d12 = +HEAPF32[i1 + 56 >> 2] * d9 + +HEAPF32[i1 + 60 >> 2] * d10 + +HEAPF32[i1 + 64 >> 2] * d11;
+ d13 = d9 * +HEAPF32[i1 + 72 >> 2] + d10 * +HEAPF32[i1 + 76 >> 2] + d11 * +HEAPF32[i1 + 80 >> 2];
+ d14 = d9 * +HEAPF32[i1 + 88 >> 2] + d10 * +HEAPF32[i1 + 92 >> 2] + d11 * +HEAPF32[i1 + 96 >> 2];
+ HEAP32[i8 >> 2] = HEAP32[i1 + 48 >> 2];
+ HEAP32[i8 + 4 >> 2] = i7;
+ HEAPF32[i8 + 8 >> 2] = d12;
+ HEAPF32[i8 + 12 >> 2] = d13;
+ HEAPF32[i8 + 16 >> 2] = d14;
+ HEAPF32[i8 + 20 >> 2] = 0.0;
+ HEAPF32[i8 + 24 >> 2] = d3;
+ i7 = HEAP32[i1 + 44 >> 2] | 0;
+ d3 = +FUNCTION_TABLE_fiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 12 >> 2] & 15](i7, i8, 1);
+ STACKTOP = i6;
+ return +d3;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallback9reportHitERK9btVector3fii(i1, i2, d3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0;
+ i6 = STACKTOP;
+ STACKTOP = STACKTOP + 40 | 0;
+ i7 = i6 | 0;
+ i8 = i6 + 8 | 0;
+ HEAP32[i7 >> 2] = i4;
+ HEAP32[i7 + 4 >> 2] = i5;
+ d9 = +HEAPF32[i2 >> 2];
+ d10 = +HEAPF32[i2 + 4 >> 2];
+ d11 = +HEAPF32[i2 + 8 >> 2];
+ d12 = +HEAPF32[i1 + 56 >> 2] * d9 + +HEAPF32[i1 + 60 >> 2] * d10 + +HEAPF32[i1 + 64 >> 2] * d11;
+ d13 = d9 * +HEAPF32[i1 + 72 >> 2] + d10 * +HEAPF32[i1 + 76 >> 2] + d11 * +HEAPF32[i1 + 80 >> 2];
+ d14 = d9 * +HEAPF32[i1 + 88 >> 2] + d10 * +HEAPF32[i1 + 92 >> 2] + d11 * +HEAPF32[i1 + 96 >> 2];
+ HEAP32[i8 >> 2] = HEAP32[i1 + 48 >> 2];
+ HEAP32[i8 + 4 >> 2] = i7;
+ HEAPF32[i8 + 8 >> 2] = d12;
+ HEAPF32[i8 + 12 >> 2] = d13;
+ HEAPF32[i8 + 16 >> 2] = d14;
+ HEAPF32[i8 + 20 >> 2] = 0.0;
+ HEAPF32[i8 + 24 >> 2] = d3;
+ i7 = HEAP32[i1 + 44 >> 2] | 0;
+ d3 = +FUNCTION_TABLE_fiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 12 >> 2] & 15](i7, i8, 1);
+ STACKTOP = i6;
+ return +d3;
+}
+function __ZN31btDefaultCollisionConfiguration31getCollisionAlgorithmCreateFuncEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ i4 = (i2 | 0) == 8;
+ i5 = (i3 | 0) == 8;
+ L1262 : do {
+ if (i4 & i5) {
+ i6 = i1 + 64 | 0;
+ } else {
+ if (i4 & (i3 | 0) == 1) {
+ i6 = i1 + 72 | 0;
+ break;
+ }
+ if ((i2 | 0) == 1 & i5) {
+ i6 = i1 + 76 | 0;
+ break;
+ }
+ if ((i3 | i2 | 0) == 0) {
+ i6 = i1 + 68 | 0;
+ break;
+ }
+ i7 = (i2 | 0) < 20;
+ if (i7 & (i3 | 0) == 28) {
+ i6 = i1 + 84 | 0;
+ break;
+ }
+ i8 = (i3 | 0) < 20;
+ if (i8 & (i2 | 0) == 28) {
+ i6 = i1 + 80 | 0;
+ break;
+ }
+ do {
+ if (i7) {
+ if (i8) {
+ i6 = i1 + 40 | 0;
+ break L1262;
+ }
+ if ((i3 - 21 | 0) >>> 0 >= 9) {
+ break;
+ }
+ i6 = i1 + 44 | 0;
+ break L1262;
+ } else {
+ if (!i8) {
+ break;
+ }
+ if ((i2 - 21 | 0) >>> 0 >= 9) {
+ break;
+ }
+ i6 = i1 + 48 | 0;
+ break L1262;
+ }
+ } while (0);
+ if ((i2 | 0) == 31) {
+ i6 = i1 + 52 | 0;
+ break;
+ }
+ if ((i3 | 0) == 31) {
+ i6 = i1 + 56 | 0;
+ break;
+ } else {
+ i6 = i1 + 60 | 0;
+ break;
+ }
+ }
+ } while (0);
+ return HEAP32[i6 >> 2] | 0;
+}
+function __ZN28btHashedOverlappingPairCache8findPairEP17btBroadphaseProxyS1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ HEAP32[3002] = (HEAP32[3002] | 0) + 1;
+ i4 = (HEAP32[i2 + 12 >> 2] | 0) > (HEAP32[i3 + 12 >> 2] | 0);
+ i5 = HEAP32[(i4 ? i3 : i2) + 12 >> 2] | 0;
+ i6 = HEAP32[(i4 ? i2 : i3) + 12 >> 2] | 0;
+ i3 = i6 << 16 | i5;
+ i2 = i3 + ~(i3 << 15) | 0;
+ i3 = (i2 >> 10 ^ i2) * 9 | 0;
+ i2 = i3 >> 6 ^ i3;
+ i3 = i2 + ~(i2 << 11) | 0;
+ i2 = (i3 >> 16 ^ i3) & (HEAP32[i1 + 12 >> 2] | 0) - 1;
+ if ((i2 | 0) >= (HEAP32[i1 + 36 >> 2] | 0)) {
+ i7 = 0;
+ return i7 | 0;
+ }
+ i3 = HEAP32[(HEAP32[i1 + 44 >> 2] | 0) + (i2 << 2) >> 2] | 0;
+ if ((i3 | 0) == -1) {
+ i7 = 0;
+ return i7 | 0;
+ }
+ i2 = HEAP32[i1 + 16 >> 2] | 0;
+ i4 = i1 + 64 | 0;
+ i1 = i3;
+ while (1) {
+ if ((HEAP32[(HEAP32[i2 + (i1 << 4) >> 2] | 0) + 12 >> 2] | 0) == (i5 | 0)) {
+ if ((HEAP32[(HEAP32[i2 + (i1 << 4) + 4 >> 2] | 0) + 12 >> 2] | 0) == (i6 | 0)) {
+ break;
+ }
+ }
+ i3 = HEAP32[(HEAP32[i4 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ if ((i3 | 0) == -1) {
+ i7 = 0;
+ i8 = 1441;
+ break;
+ } else {
+ i1 = i3;
+ }
+ }
+ if ((i8 | 0) == 1441) {
+ return i7 | 0;
+ }
+ i7 = i2 + (i1 << 4) | 0;
+ return i7 | 0;
+}
+function __ZNK21btConeTwistConstraint16GetPointForAngleEff(i1, i2, d3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ d4 = +d4;
+ var d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0;
+ d5 = +Math_cos(+d3);
+ d6 = +Math_sin(+d3);
+ d3 = +HEAPF32[i2 + 436 >> 2];
+ if (+Math_abs(+d5) > 1.1920928955078125e-7) {
+ d7 = d6 * d6;
+ d8 = d5 * d5;
+ d9 = d7 / d8;
+ d10 = +HEAPF32[i2 + 440 >> 2];
+ d11 = +Math_sqrt(+((d9 + 1.0) / (1.0 / (d10 * d10) + d9 / (d3 * d3))));
+ d12 = d8;
+ d13 = d7;
+ } else {
+ d11 = d3;
+ d12 = d5 * d5;
+ d13 = d6 * d6;
+ }
+ d3 = +Math_sqrt(+(d13 + (d12 + 0.0)));
+ d12 = d11 * .5;
+ d11 = +Math_sin(+d12) / d3;
+ d3 = d11 * 0.0;
+ d13 = d5 * d11;
+ d5 = d11 * (-0.0 - d6);
+ d6 = +Math_cos(+d12);
+ d12 = d13 * 0.0;
+ d11 = d5 * 0.0;
+ d7 = d6 * d4 + d12 - d11;
+ d8 = d6 * 0.0;
+ d9 = d3 * 0.0;
+ d10 = d5 * d4 + d8 - d9;
+ d14 = d8 + d9 - d13 * d4;
+ d9 = -0.0 - d3;
+ d3 = d4 * d9 - d12 - d11;
+ d11 = -0.0 - d13;
+ d13 = -0.0 - d5;
+ HEAPF32[i1 >> 2] = d10 * d13 + (d6 * d7 + d3 * d9) - d14 * d11;
+ HEAPF32[i1 + 4 >> 2] = d14 * d9 + (d6 * d10 + d3 * d11) - d7 * d13;
+ HEAPF32[i1 + 8 >> 2] = d7 * d11 + (d6 * d14 + d3 * d13) - d10 * d9;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ return;
+}
+function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallback9reportHitE_0RK9btVector3SG_fii(i1, i2, i3, d4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, d10 = 0.0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 56 | 0;
+ i8 = i7 | 0;
+ i9 = i7 + 8 | 0;
+ HEAP32[i8 >> 2] = i5;
+ HEAP32[i8 + 4 >> 2] = i6;
+ i6 = HEAP32[i1 + 212 >> 2] | 0;
+ if (+HEAPF32[i6 + 4 >> 2] < d4) {
+ d10 = d4;
+ STACKTOP = i7;
+ return +d10;
+ }
+ HEAP32[i9 >> 2] = HEAP32[i1 + 216 >> 2];
+ HEAP32[i9 + 4 >> 2] = i8;
+ i8 = i9 + 8 | 0;
+ i1 = i2;
+ HEAP32[i8 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ i1 = i9 + 24 | 0;
+ i8 = i3;
+ HEAP32[i1 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ HEAPF32[i9 + 40 >> 2] = d4;
+ d10 = +FUNCTION_TABLE_fiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 12 >> 2] & 15](i6, i9, 0);
+ STACKTOP = i7;
+ return +d10;
+}
+function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallback9reportHitERK9btVector3SG_fii(i1, i2, i3, d4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, d10 = 0.0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 56 | 0;
+ i8 = i7 | 0;
+ i9 = i7 + 8 | 0;
+ HEAP32[i8 >> 2] = i5;
+ HEAP32[i8 + 4 >> 2] = i6;
+ i6 = HEAP32[i1 + 212 >> 2] | 0;
+ if (+HEAPF32[i6 + 4 >> 2] < d4) {
+ d10 = d4;
+ STACKTOP = i7;
+ return +d10;
+ }
+ HEAP32[i9 >> 2] = HEAP32[i1 + 216 >> 2];
+ HEAP32[i9 + 4 >> 2] = i8;
+ i8 = i9 + 8 | 0;
+ i1 = i2;
+ HEAP32[i8 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ i1 = i9 + 24 | 0;
+ i8 = i3;
+ HEAP32[i1 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ HEAPF32[i9 + 40 >> 2] = d4;
+ d10 = +FUNCTION_TABLE_fiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 12 >> 2] & 15](i6, i9, 1);
+ STACKTOP = i7;
+ return +d10;
+}
+function __ZNK10btBoxShape16getPlaneEquationER9btVector4i(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0;
+ d4 = +HEAPF32[i1 + 28 >> 2];
+ d5 = +HEAPF32[i1 + 32 >> 2];
+ d6 = +HEAPF32[i1 + 36 >> 2];
+ switch (i3 | 0) {
+ case 5:
+ {
+ HEAPF32[i2 >> 2] = 0.0;
+ HEAPF32[i2 + 4 >> 2] = 0.0;
+ HEAPF32[i2 + 8 >> 2] = -1.0;
+ HEAPF32[i2 + 12 >> 2] = -0.0 - d6;
+ return;
+ }
+ case 3:
+ {
+ HEAPF32[i2 >> 2] = 0.0;
+ HEAPF32[i2 + 4 >> 2] = -1.0;
+ HEAPF32[i2 + 8 >> 2] = 0.0;
+ HEAPF32[i2 + 12 >> 2] = -0.0 - d5;
+ return;
+ }
+ case 0:
+ {
+ HEAPF32[i2 >> 2] = 1.0;
+ HEAPF32[i2 + 4 >> 2] = 0.0;
+ HEAPF32[i2 + 8 >> 2] = 0.0;
+ HEAPF32[i2 + 12 >> 2] = -0.0 - d4;
+ return;
+ }
+ case 1:
+ {
+ HEAPF32[i2 >> 2] = -1.0;
+ HEAPF32[i2 + 4 >> 2] = 0.0;
+ HEAPF32[i2 + 8 >> 2] = 0.0;
+ HEAPF32[i2 + 12 >> 2] = -0.0 - d4;
+ return;
+ }
+ case 2:
+ {
+ HEAPF32[i2 >> 2] = 0.0;
+ HEAPF32[i2 + 4 >> 2] = 1.0;
+ HEAPF32[i2 + 8 >> 2] = 0.0;
+ HEAPF32[i2 + 12 >> 2] = -0.0 - d5;
+ return;
+ }
+ case 4:
+ {
+ HEAPF32[i2 >> 2] = 0.0;
+ HEAPF32[i2 + 4 >> 2] = 0.0;
+ HEAPF32[i2 + 8 >> 2] = 1.0;
+ HEAPF32[i2 + 12 >> 2] = -0.0 - d6;
+ return;
+ }
+ default:
+ {
+ return;
+ }
+ }
+}
+function __ZN21btCollisionDispatcher19defaultNearCallbackER16btBroadphasePairRS_RK16btDispatcherInfo(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, d9 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 160 | 0;
+ i5 = i4 | 0;
+ i6 = HEAP32[HEAP32[i1 >> 2] >> 2] | 0;
+ i7 = HEAP32[HEAP32[i1 + 4 >> 2] >> 2] | 0;
+ if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 31](i2, i6, i7) | 0)) {
+ STACKTOP = i4;
+ return;
+ }
+ i8 = i1 + 8 | 0;
+ do {
+ if ((HEAP32[i8 >> 2] | 0) == 0) {
+ i1 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 8 >> 2] & 31](i2, i6, i7, 0) | 0;
+ HEAP32[i8 >> 2] = i1;
+ if ((i1 | 0) != 0) {
+ break;
+ }
+ STACKTOP = i4;
+ return;
+ }
+ } while (0);
+ __ZN16btManifoldResultC2EP17btCollisionObjectS1_(i5, i6, i7);
+ i2 = HEAP32[i8 >> 2] | 0;
+ if ((HEAP32[i3 + 8 >> 2] | 0) == 1) {
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 8 >> 2] & 63](i2, i6, i7, i3, i5);
+ STACKTOP = i4;
+ return;
+ }
+ d9 = +FUNCTION_TABLE_fiiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 12 >> 2] & 31](i2, i6, i7, i3, i5);
+ i5 = i3 + 12 | 0;
+ if (+HEAPF32[i5 >> 2] <= d9) {
+ STACKTOP = i4;
+ return;
+ }
+ HEAPF32[i5 >> 2] = d9;
+ STACKTOP = i4;
+ return;
+}
+function __ZN18btConvexPolyhedronD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ HEAP32[i1 >> 2] = 4112;
+ i2 = i1 + 48 | 0;
+ i3 = i1 + 56 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 60 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 52 >> 2] = 0;
+ i2 = i1 + 28 | 0;
+ __ZN20btAlignedObjectArrayI6btFaceE7destroyEii(i1 + 24 | 0, 0, HEAP32[i2 >> 2] | 0);
+ i3 = i1 + 36 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 40 | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5 | 0);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 32 >> 2] = 0;
+ i2 = i1 + 8 | 0;
+ i3 = i1 + 16 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 20 | 0;
+ if ((i4 | 0) == 0) {
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 12 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+ }
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 12 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+}
+function __ZN22btVoronoiSimplexSolver9inSimplexERK9btVector3(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, i8 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0;
+ i3 = HEAP32[i1 >> 2] | 0;
+ if ((i3 | 0) > 0) {
+ d4 = +HEAPF32[i2 >> 2];
+ d5 = +HEAPF32[i2 + 4 >> 2];
+ d6 = +HEAPF32[i2 + 8 >> 2];
+ d7 = +HEAPF32[i1 + 308 >> 2];
+ i8 = 0;
+ i9 = 0;
+ while (1) {
+ d10 = d4 - +HEAPF32[i1 + 4 + (i9 << 4) >> 2];
+ d11 = d5 - +HEAPF32[i1 + 4 + (i9 << 4) + 4 >> 2];
+ d12 = d6 - +HEAPF32[i1 + 4 + (i9 << 4) + 8 >> 2];
+ i13 = i8 | d10 * d10 + d11 * d11 + d12 * d12 <= d7;
+ i14 = i9 + 1 | 0;
+ if ((i14 | 0) < (i3 | 0)) {
+ i8 = i13;
+ i9 = i14;
+ } else {
+ i15 = i13;
+ break;
+ }
+ }
+ } else {
+ i15 = 0;
+ }
+ if (+HEAPF32[i2 + 12 >> 2] != +HEAPF32[i1 + 304 >> 2]) {
+ i16 = 0;
+ i17 = i16 | i15;
+ return i17 | 0;
+ }
+ if (+HEAPF32[i2 + 8 >> 2] != +HEAPF32[i1 + 300 >> 2]) {
+ i16 = 0;
+ i17 = i16 | i15;
+ return i17 | 0;
+ }
+ if (+HEAPF32[i2 + 4 >> 2] != +HEAPF32[i1 + 296 >> 2]) {
+ i16 = 0;
+ i17 = i16 | i15;
+ return i17 | 0;
+ }
+ i16 = +HEAPF32[i2 >> 2] == +HEAPF32[i1 + 292 >> 2];
+ i17 = i16 | i15;
+ return i17 | 0;
+}
+function __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ HEAP32[i1 >> 2] = 1520;
+ i2 = i1 + 76 | 0;
+ i3 = i1 + 84 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 88 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 80 >> 2] = 0;
+ i2 = i1 + 56 | 0;
+ i3 = i1 + 64 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 68 | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 60 >> 2] = 0;
+ i2 = i1 + 36 | 0;
+ i3 = i1 + 44 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 48 | 0;
+ if ((i4 | 0) == 0) {
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 40 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+ }
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 40 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+}
+function __ZN21btCollisionDispatcher15releaseManifoldEP20btPersistentManifold(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0;
+ HEAP32[2990] = (HEAP32[2990] | 0) - 1;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 20 >> 2] & 127](i1, i2);
+ i3 = HEAP32[i2 + 1136 >> 2] | 0;
+ i4 = i1 + 12 | 0;
+ i5 = (HEAP32[i4 >> 2] | 0) - 1 | 0;
+ i6 = i1 + 20 | 0;
+ i7 = HEAP32[i6 >> 2] | 0;
+ i8 = i7 + (i3 << 2) | 0;
+ i9 = HEAP32[i8 >> 2] | 0;
+ HEAP32[i8 >> 2] = HEAP32[i7 + (i5 << 2) >> 2];
+ HEAP32[(HEAP32[i6 >> 2] | 0) + (i5 << 2) >> 2] = i9;
+ HEAP32[(HEAP32[(HEAP32[i6 >> 2] | 0) + (i3 << 2) >> 2] | 0) + 1136 >> 2] = i3;
+ HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) - 1;
+ i4 = HEAP32[i1 + 196 >> 2] | 0;
+ i1 = i2;
+ do {
+ if ((i2 | 0) != 0) {
+ i3 = HEAP32[i4 + 16 >> 2] | 0;
+ if (i3 >>> 0 > i1 >>> 0) {
+ break;
+ }
+ if ((i3 + (Math_imul(HEAP32[i4 >> 2] | 0, HEAP32[i4 + 4 >> 2] | 0) | 0) | 0) >>> 0 <= i1 >>> 0) {
+ break;
+ }
+ i3 = i4 + 12 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i3 >> 2] = i1;
+ i3 = i4 + 8 | 0;
+ HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1;
+ return;
+ }
+ } while (0);
+ __Z21btAlignedFreeInternalPv(i1);
+ return;
+}
+function __ZN11btUnionFind11sortIslandsEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i3 = i2 | 0;
+ i4 = i1 | 0;
+ i5 = i1 + 4 | 0;
+ i6 = HEAP32[i5 >> 2] | 0;
+ if ((i6 | 0) <= 0) {
+ i7 = i3 | 0;
+ STACKTOP = i2;
+ return;
+ }
+ i8 = HEAP32[i1 + 12 >> 2] | 0;
+ i1 = 0;
+ do {
+ i9 = i8 + (i1 << 3) | 0;
+ i10 = HEAP32[i9 >> 2] | 0;
+ if ((i10 | 0) == (i1 | 0)) {
+ i11 = i1;
+ } else {
+ i12 = i9;
+ i13 = i10;
+ while (1) {
+ i10 = i8 + (i13 << 3) | 0;
+ HEAP32[i12 >> 2] = HEAP32[i10 >> 2];
+ i14 = HEAP32[i10 >> 2] | 0;
+ i10 = i8 + (i14 << 3) | 0;
+ i15 = HEAP32[i10 >> 2] | 0;
+ if ((i14 | 0) == (i15 | 0)) {
+ i11 = i14;
+ break;
+ } else {
+ i12 = i10;
+ i13 = i15;
+ }
+ }
+ }
+ HEAP32[i9 >> 2] = i11;
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i6 | 0));
+ i6 = HEAP32[i5 >> 2] | 0;
+ i5 = i3 | 0;
+ if ((i6 | 0) <= 1) {
+ i7 = i5;
+ STACKTOP = i2;
+ return;
+ }
+ __ZN20btAlignedObjectArrayI9btElementE17quickSortInternalI31btUnionFindElementSortPredicateEEvT_ii(i4, i3, 0, i6 - 1 | 0);
+ i7 = i5;
+ STACKTOP = i2;
+ return;
+}
+function __Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var d3 = 0.0, i4 = 0, d5 = 0.0, d6 = 0.0, i7 = 0, d8 = 0.0, d9 = 0.0, i10 = 0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0;
+ if ((i1 | 0) == 0) {
+ return;
+ }
+ if ((HEAP32[i1 + 180 >> 2] | 0) == 0) {
+ return;
+ }
+ d3 = +HEAPF32[i1 + 4 >> 2];
+ i4 = i2 | 0;
+ d5 = +HEAPF32[i4 >> 2];
+ d6 = +HEAPF32[i1 + 20 >> 2];
+ i7 = i2 + 4 | 0;
+ d8 = +HEAPF32[i7 >> 2];
+ d9 = +HEAPF32[i1 + 36 >> 2];
+ i10 = i2 + 8 | 0;
+ d11 = +HEAPF32[i10 >> 2];
+ d12 = +HEAPF32[i1 + 8 >> 2];
+ d13 = +HEAPF32[i1 + 24 >> 2];
+ d14 = +HEAPF32[i1 + 40 >> 2];
+ d15 = +HEAPF32[i1 + 12 >> 2];
+ d16 = +HEAPF32[i1 + 28 >> 2];
+ d17 = +HEAPF32[i1 + 44 >> 2];
+ d18 = (d3 * d5 + d6 * d8 + d9 * d11) * +HEAPF32[i1 + 164 >> 2];
+ d19 = (d5 * d12 + d8 * d13 + d11 * d14) * +HEAPF32[i1 + 168 >> 2];
+ d20 = (d5 * d15 + d8 * d16 + d11 * d17) * +HEAPF32[i1 + 172 >> 2];
+ HEAPF32[i4 >> 2] = d3 * d18 + d12 * d19 + d15 * d20;
+ HEAPF32[i7 >> 2] = d6 * d18 + d13 * d19 + d16 * d20;
+ HEAPF32[i10 >> 2] = d9 * d18 + d14 * d19 + d17 * d20;
+ HEAPF32[i2 + 12 >> 2] = 0.0;
+ return;
+}
+function __ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0;
+ if ((i1 | 0) != (HEAP32[i2 + 8 >> 2] | 0)) {
+ i7 = HEAP32[i1 + 8 >> 2] | 0;
+ FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 20 >> 2] & 15](i7, i2, i3, i4, i5, i6);
+ return;
+ }
+ HEAP8[i2 + 53 | 0] = 1;
+ if ((HEAP32[i2 + 4 >> 2] | 0) != (i4 | 0)) {
+ return;
+ }
+ HEAP8[i2 + 52 | 0] = 1;
+ i4 = i2 + 16 | 0;
+ i6 = HEAP32[i4 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ HEAP32[i4 >> 2] = i3;
+ HEAP32[i2 + 24 >> 2] = i5;
+ HEAP32[i2 + 36 >> 2] = 1;
+ if (!((HEAP32[i2 + 48 >> 2] | 0) == 1 & (i5 | 0) == 1)) {
+ return;
+ }
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+ }
+ if ((i6 | 0) != (i3 | 0)) {
+ i3 = i2 + 36 | 0;
+ HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1;
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+ }
+ i3 = i2 + 24 | 0;
+ i6 = HEAP32[i3 >> 2] | 0;
+ if ((i6 | 0) == 2) {
+ HEAP32[i3 >> 2] = i5;
+ i8 = i5;
+ } else {
+ i8 = i6;
+ }
+ if (!((HEAP32[i2 + 48 >> 2] | 0) == 1 & (i8 | 0) == 1)) {
+ return;
+ }
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+}
+function __ZN28btCompoundCollisionAlgorithmD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0;
+ HEAP32[i1 >> 2] = 2888;
+ i2 = i1 + 12 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 + 20 | 0;
+ if ((i3 | 0) > 0) {
+ i5 = i1 + 4 | 0;
+ i6 = 0;
+ do {
+ i7 = HEAP32[(HEAP32[i4 >> 2] | 0) + (i6 << 2) >> 2] | 0;
+ if ((i7 | 0) != 0) {
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i7 >> 2] >> 2] & 511](i7);
+ i7 = HEAP32[i5 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i7 >> 2] | 0) + 60 >> 2] & 127](i7, HEAP32[(HEAP32[i4 >> 2] | 0) + (i6 << 2) >> 2] | 0);
+ }
+ i6 = i6 + 1 | 0;
+ } while ((i6 | 0) < (i3 | 0));
+ }
+ i3 = HEAP32[i4 >> 2] | 0;
+ i6 = i1 + 24 | 0;
+ if ((i3 | 0) == 0) {
+ HEAP8[i6] = 1;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i8 = i1 + 16 | 0;
+ HEAP32[i8 >> 2] = 0;
+ i9 = i1 | 0;
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i9);
+ return;
+ }
+ if ((HEAP8[i6] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i3);
+ }
+ HEAP32[i4 >> 2] = 0;
+ HEAP8[i6] = 1;
+ HEAP32[i4 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i8 = i1 + 16 | 0;
+ HEAP32[i8 >> 2] = 0;
+ i9 = i1 | 0;
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i9);
+ return;
+}
+function __ZN28btHashedOverlappingPairCacheD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ HEAP32[i1 >> 2] = 2800;
+ i2 = i1 + 56 | 0;
+ i3 = i1 + 64 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 68 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 60 >> 2] = 0;
+ i2 = i1 + 36 | 0;
+ i3 = i1 + 44 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 48 | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 40 >> 2] = 0;
+ i2 = i1 + 8 | 0;
+ i3 = i1 + 16 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 20 | 0;
+ if ((i4 | 0) == 0) {
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 12 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+ }
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 12 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+}
+function __ZNK23btPolyhedralConvexShape21calculateLocalInertiaEfR9btVector3(i1, d2, i3) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 96 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 64 | 0;
+ i7 = i4 + 80 | 0;
+ i8 = i1 | 0;
+ d9 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i1 >> 2] | 0) + 44 >> 2] & 7](i8);
+ HEAPF32[i5 >> 2] = 1.0;
+ _memset(i5 + 4 | 0, 0, 16);
+ HEAPF32[i5 + 20 >> 2] = 1.0;
+ _memset(i5 + 24 | 0, 0, 16);
+ HEAPF32[i5 + 40 >> 2] = 1.0;
+ _memset(i5 + 44 | 0, 0, 20);
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 127](i8, i5, i6, i7);
+ d10 = (d9 + (+HEAPF32[i7 >> 2] - +HEAPF32[i6 >> 2]) * .5) * 2.0;
+ d11 = (d9 + (+HEAPF32[i7 + 4 >> 2] - +HEAPF32[i6 + 4 >> 2]) * .5) * 2.0;
+ d12 = (d9 + (+HEAPF32[i7 + 8 >> 2] - +HEAPF32[i6 + 8 >> 2]) * .5) * 2.0;
+ d9 = d10 * d10;
+ d10 = d11 * d11;
+ d11 = d12 * d12;
+ d12 = d2 * .0833333283662796;
+ HEAPF32[i3 >> 2] = d12 * (d10 + d11);
+ HEAPF32[i3 + 4 >> 2] = d12 * (d9 + d11);
+ HEAPF32[i3 + 8 >> 2] = d12 * (d9 + d10);
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+}
+function __ZN16btCollisionWorld21removeCollisionObjectEP17btCollisionObject(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0;
+ i3 = i2 + 188 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ if ((i4 | 0) != 0) {
+ i5 = i1 + 76 | 0;
+ i6 = HEAP32[i5 >> 2] | 0;
+ i7 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0;
+ i6 = i1 + 24 | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i7 >> 2] | 0) + 40 >> 2] & 127](i7, i4, HEAP32[i6 >> 2] | 0);
+ i7 = HEAP32[i5 >> 2] | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i7 >> 2] | 0) + 12 >> 2] & 127](i7, i4, HEAP32[i6 >> 2] | 0);
+ HEAP32[i3 >> 2] = 0;
+ }
+ i3 = i1 + 8 | 0;
+ i6 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 16 | 0;
+ i1 = 0;
+ while (1) {
+ if ((i1 | 0) >= (i6 | 0)) {
+ i8 = 2093;
+ break;
+ }
+ i9 = HEAP32[i4 >> 2] | 0;
+ i10 = i9 + (i1 << 2) | 0;
+ if ((HEAP32[i10 >> 2] | 0) == (i2 | 0)) {
+ break;
+ } else {
+ i1 = i1 + 1 | 0;
+ }
+ }
+ if ((i8 | 0) == 2093) {
+ return;
+ }
+ i8 = i6 - 1 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i9 + (i8 << 2) >> 2];
+ HEAP32[(HEAP32[i4 >> 2] | 0) + (i8 << 2) >> 2] = i2;
+ HEAP32[i3 >> 2] = i8;
+ return;
+}
+function __ZL11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, d13 = 0.0, i14 = 0, d15 = 0.0, d16 = 0.0, d17 = 0.0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i8 = i7 | 0;
+ i9 = i7 + 8 | 0;
+ i10 = i7 + 16 | 0;
+ i11 = i7 + 24 | 0;
+ __ZNK18btConvexPolyhedron7projectERK11btTransformRK9btVector3RfS6_(i1, i3, i5, i8, i9);
+ __ZNK18btConvexPolyhedron7projectERK11btTransformRK9btVector3RfS6_(i2, i4, i5, i10, i11);
+ d12 = +HEAPF32[i9 >> 2];
+ d13 = +HEAPF32[i10 >> 2];
+ if (d12 < d13) {
+ i14 = 0;
+ STACKTOP = i7;
+ return i14 | 0;
+ }
+ d15 = +HEAPF32[i11 >> 2];
+ d16 = +HEAPF32[i8 >> 2];
+ if (d15 < d16) {
+ i14 = 0;
+ STACKTOP = i7;
+ return i14 | 0;
+ }
+ d17 = d12 - d13;
+ if (d17 < 0.0) {
+ ___assert_func(336 | 0, 89, 1160 | 0, 720 | 0);
+ return 0;
+ }
+ d13 = d15 - d16;
+ if (d13 < 0.0) {
+ ___assert_func(336 | 0, 91, 1160 | 0, 568 | 0);
+ return 0;
+ }
+ HEAPF32[i6 >> 2] = d17 < d13 ? d17 : d13;
+ i14 = 1;
+ STACKTOP = i7;
+ return i14 | 0;
+}
+function __ZN22btVoronoiSimplexSolver9addVertexERK9btVector3S2_S2_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0;
+ i5 = i1 + 292 | 0;
+ i6 = i2;
+ HEAP32[i5 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ HEAP8[i1 + 356 | 0] = 1;
+ i5 = i1 | 0;
+ i2 = i1 + 4 + (HEAP32[i5 >> 2] << 4) | 0;
+ HEAP32[i2 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i6 = i1 + 84 + (HEAP32[i5 >> 2] << 4) | 0;
+ i2 = i3;
+ HEAP32[i6 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i1 + 164 + (HEAP32[i5 >> 2] << 4) | 0;
+ i1 = i4;
+ HEAP32[i2 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1;
+ return;
+}
+function __ZN20btConvexHullComputerD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ i2 = i1 + 44 | 0;
+ i3 = i1 + 52 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 56 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 48 >> 2] = 0;
+ i2 = i1 + 24 | 0;
+ i3 = i1 + 32 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 36 | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ i2 = i1 + 4 | 0;
+ i3 = i1 + 12 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 16 | 0;
+ if ((i4 | 0) == 0) {
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 8 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+ }
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ i6 = i1 + 8 | 0;
+ HEAP32[i6 >> 2] = 0;
+ return;
+}
+function __ZN31btConvexPlaneCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0;
+ i5 = HEAP32[i2 >> 2] | 0;
+ i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 56 >> 2] & 63](i5, 28) | 0;
+ i5 = (i6 | 0) == 0;
+ if ((HEAP8[i1 + 4 | 0] | 0) == 0) {
+ if (i5) {
+ i7 = 0;
+ i8 = i7 | 0;
+ return i8 | 0;
+ }
+ i9 = i6;
+ __ZN31btConvexPlaneCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_bii(i9, 0, i2, i3, i4, 0, HEAP32[i1 + 8 >> 2] | 0, HEAP32[i1 + 12 >> 2] | 0);
+ i7 = i9;
+ i8 = i7 | 0;
+ return i8 | 0;
+ } else {
+ if (i5) {
+ i7 = 0;
+ i8 = i7 | 0;
+ return i8 | 0;
+ }
+ i5 = i6;
+ __ZN31btConvexPlaneCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_bii(i5, 0, i2, i3, i4, 1, HEAP32[i1 + 8 >> 2] | 0, HEAP32[i1 + 12 >> 2] | 0);
+ i7 = i5;
+ i8 = i7 | 0;
+ return i8 | 0;
+ }
+ return 0;
+}
+function __ZN20btDefaultMotionState17setWorldTransformERK11btTransform(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 64 | 0;
+ i4 = i3 | 0;
+ __ZNK11btTransformmlERKS_(i4, i2, i1 + 68 | 0);
+ i2 = i1 + 4 | 0;
+ i5 = i4;
+ HEAP32[i2 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 20 | 0;
+ i2 = i4 + 16 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i1 + 36 | 0;
+ i5 = i4 + 32 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ i5 = i1 + 52 | 0;
+ i1 = i4 + 48 | 0;
+ HEAP32[i5 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ STACKTOP = i3;
+ return;
+}
+function __ZNK16btCollisionShape17getBoundingSphereER9btVector3Rf(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 96 | 0;
+ i5 = i4 | 0;
+ i6 = i4 + 64 | 0;
+ i7 = i4 + 80 | 0;
+ HEAPF32[i5 >> 2] = 1.0;
+ _memset(i5 + 4 | 0, 0, 16);
+ HEAPF32[i5 + 20 >> 2] = 1.0;
+ _memset(i5 + 24 | 0, 0, 16);
+ HEAPF32[i5 + 40 >> 2] = 1.0;
+ _memset(i5 + 44 | 0, 0, 20);
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 127](i1, i5, i6, i7);
+ d8 = +HEAPF32[i7 >> 2];
+ d9 = +HEAPF32[i6 >> 2];
+ d10 = d8 - d9;
+ d11 = +HEAPF32[i7 + 4 >> 2];
+ d12 = +HEAPF32[i6 + 4 >> 2];
+ d13 = d11 - d12;
+ d14 = +HEAPF32[i7 + 8 >> 2];
+ d15 = +HEAPF32[i6 + 8 >> 2];
+ d16 = d14 - d15;
+ HEAPF32[i3 >> 2] = +Math_sqrt(+(d10 * d10 + d13 * d13 + d16 * d16)) * .5;
+ HEAPF32[i2 >> 2] = (d8 + d9) * .5;
+ HEAPF32[i2 + 4 >> 2] = (d11 + d12) * .5;
+ HEAPF32[i2 + 8 >> 2] = (d14 + d15) * .5;
+ HEAPF32[i2 + 12 >> 2] = 0.0;
+ STACKTOP = i4;
+ return;
+}
+function __ZNK10btBoxShape32getPreferredPenetrationDirectionEiR9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ switch (i2 | 0) {
+ case 5:
+ {
+ HEAPF32[i3 >> 2] = 0.0;
+ HEAPF32[i3 + 4 >> 2] = 0.0;
+ HEAPF32[i3 + 8 >> 2] = -1.0;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ return;
+ }
+ case 3:
+ {
+ HEAPF32[i3 >> 2] = 0.0;
+ HEAPF32[i3 + 4 >> 2] = -1.0;
+ HEAPF32[i3 + 8 >> 2] = 0.0;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ return;
+ }
+ case 1:
+ {
+ HEAPF32[i3 >> 2] = -1.0;
+ HEAPF32[i3 + 4 >> 2] = 0.0;
+ HEAPF32[i3 + 8 >> 2] = 0.0;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ return;
+ }
+ case 2:
+ {
+ HEAPF32[i3 >> 2] = 0.0;
+ HEAPF32[i3 + 4 >> 2] = 1.0;
+ HEAPF32[i3 + 8 >> 2] = 0.0;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ return;
+ }
+ case 0:
+ {
+ HEAPF32[i3 >> 2] = 1.0;
+ HEAPF32[i3 + 4 >> 2] = 0.0;
+ HEAPF32[i3 + 8 >> 2] = 0.0;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ return;
+ }
+ case 4:
+ {
+ HEAPF32[i3 >> 2] = 0.0;
+ HEAPF32[i3 + 4 >> 2] = 0.0;
+ HEAPF32[i3 + 8 >> 2] = 1.0;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ return;
+ }
+ default:
+ {
+ return;
+ }
+ }
+}
+function __ZN35btSequentialImpulseConstraintSolver33solveGroupCacheFriendlyIterationsEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ var i11 = 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(736);
+ FUNCTION_TABLE_viiiiiiiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 24 >> 2] & 3](i1, i2, i3, i4, i5, i6, i7, i8, i9, i10);
+ i10 = i8 + 20 | 0;
+ if ((HEAP32[i10 >> 2] | 0) > 0) {
+ i11 = 0;
+ } else {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return +0.0;
+ }
+ do {
+ +__ZN35btSequentialImpulseConstraintSolver20solveSingleIterationEiPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(i1, i11, 0, 0, 0, 0, i6, i7, i8, 0, 0);
+ i11 = i11 + 1 | 0;
+ } while ((i11 | 0) < (HEAP32[i10 >> 2] | 0));
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return +0.0;
+}
+function __ZN20btAlignedObjectArrayI6btFaceE7destroyEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ if ((i2 | 0) >= (i3 | 0)) {
+ return;
+ }
+ i4 = i1 + 12 | 0;
+ i1 = i2;
+ do {
+ i2 = HEAP32[i4 >> 2] | 0;
+ i5 = i2 + (i1 * 56 | 0) + 24 | 0;
+ i6 = i2 + (i1 * 56 | 0) + 32 | 0;
+ i7 = HEAP32[i6 >> 2] | 0;
+ i8 = i2 + (i1 * 56 | 0) + 36 | 0;
+ if ((i7 | 0) != 0) {
+ if ((HEAP8[i8] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i7);
+ }
+ HEAP32[i6 >> 2] = 0;
+ }
+ HEAP8[i8] = 1;
+ HEAP32[i6 >> 2] = 0;
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i2 + (i1 * 56 | 0) + 28 >> 2] = 0;
+ i5 = i2 + (i1 * 56 | 0) + 4 | 0;
+ i6 = i2 + (i1 * 56 | 0) + 12 | 0;
+ i8 = HEAP32[i6 >> 2] | 0;
+ i7 = i2 + (i1 * 56 | 0) + 16 | 0;
+ if ((i8 | 0) != 0) {
+ if ((HEAP8[i7] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i8);
+ }
+ HEAP32[i6 >> 2] = 0;
+ }
+ HEAP8[i7] = 1;
+ HEAP32[i6 >> 2] = 0;
+ HEAP32[i5 >> 2] = 0;
+ HEAP32[i2 + (i1 * 56 | 0) + 8 >> 2] = 0;
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i3 | 0));
+ return;
+}
+function __ZNK20btConvexHullInternal6Int1288toScalarEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0, i9 = 0, i10 = 0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i3 = i2 | 0;
+ i4 = i1 + 8 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ i6 = HEAP32[i4 + 4 >> 2] | 0;
+ i4 = -1;
+ if ((i6 | 0) > (i4 | 0) | (i6 | 0) == (i4 | 0) & i5 >>> 0 > -1 >>> 0) {
+ i4 = i1 | 0;
+ d7 = (+(i5 >>> 0) + +(i6 >>> 0) * 4294967296.0) * 18446744073709552000.0 + (+((HEAP32[i4 >> 2] | 0) >>> 0) + +((HEAP32[i4 + 4 >> 2] | 0) >>> 0) * 4294967296.0);
+ STACKTOP = i2;
+ return +d7;
+ } else {
+ i4 = i1 | 0;
+ i1 = HEAP32[i4 >> 2] | 0;
+ i8 = HEAP32[i4 + 4 >> 2] | 0;
+ i4 = _i64Subtract(0, 0, i1, i8) | 0;
+ i9 = tempRet0;
+ i10 = _i64Add((i1 | 0) == 0 & (i8 | 0) == 0 & 1, 0, ~i5, ~i6) | 0;
+ i6 = i3 | 0;
+ HEAP32[i6 >> 2] = i4;
+ HEAP32[i6 + 4 >> 2] = i9;
+ i9 = i3 + 8 | 0;
+ HEAP32[i9 >> 2] = i10;
+ HEAP32[i9 + 4 >> 2] = tempRet0;
+ d7 = -0.0 - +__ZNK20btConvexHullInternal6Int1288toScalarEv(i3);
+ STACKTOP = i2;
+ return +d7;
+ }
+ return 0.0;
+}
+function __ZN10btBoxShape15setLocalScalingERK9btVector3(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, d5 = 0.0, d6 = 0.0, d7 = 0.0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, i12 = 0, d13 = 0.0, i14 = 0, d15 = 0.0, d16 = 0.0;
+ i3 = i1 | 0;
+ i4 = i1;
+ d5 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i3);
+ d6 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i3);
+ d7 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i3);
+ i4 = i1 + 28 | 0;
+ i8 = i1 + 32 | 0;
+ i9 = i1 + 36 | 0;
+ i10 = i1 + 12 | 0;
+ d11 = (d5 + +HEAPF32[i4 >> 2]) / +HEAPF32[i10 >> 2];
+ i12 = i1 + 16 | 0;
+ d13 = (d6 + +HEAPF32[i8 >> 2]) / +HEAPF32[i12 >> 2];
+ i14 = i1 + 20 | 0;
+ d15 = (d7 + +HEAPF32[i9 >> 2]) / +HEAPF32[i14 >> 2];
+ __ZN21btConvexInternalShape15setLocalScalingERK9btVector3(i3, i2);
+ d16 = d13 * +HEAPF32[i12 >> 2] - d6;
+ d6 = d15 * +HEAPF32[i14 >> 2] - d7;
+ HEAPF32[i4 >> 2] = d11 * +HEAPF32[i10 >> 2] - d5;
+ HEAPF32[i8 >> 2] = d16;
+ HEAPF32[i9 >> 2] = d6;
+ HEAPF32[i1 + 40 >> 2] = 0.0;
+ return;
+}
+function __ZNK15btTriangleShape32getPreferredPenetrationDirectionEiR9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, i12 = 0, i13 = 0;
+ d4 = +HEAPF32[i1 + 56 >> 2];
+ d5 = +HEAPF32[i1 + 72 >> 2] - d4;
+ d6 = +HEAPF32[i1 + 60 >> 2];
+ d7 = +HEAPF32[i1 + 76 >> 2] - d6;
+ d8 = +HEAPF32[i1 + 64 >> 2];
+ d9 = +HEAPF32[i1 + 80 >> 2] - d8;
+ d10 = +HEAPF32[i1 + 88 >> 2] - d4;
+ d4 = +HEAPF32[i1 + 92 >> 2] - d6;
+ d6 = +HEAPF32[i1 + 96 >> 2] - d8;
+ d8 = d7 * d6 - d9 * d4;
+ d11 = d9 * d10 - d5 * d6;
+ d6 = d5 * d4 - d7 * d10;
+ i1 = i3 | 0;
+ i12 = i3 + 4 | 0;
+ i13 = i3 + 8 | 0;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ d10 = 1.0 / +Math_sqrt(+(d6 * d6 + (d8 * d8 + d11 * d11)));
+ d7 = d10 * d8;
+ HEAPF32[i1 >> 2] = d7;
+ d8 = d10 * d11;
+ HEAPF32[i12 >> 2] = d8;
+ d11 = d6 * d10;
+ HEAPF32[i13 >> 2] = d11;
+ if ((i2 | 0) == 0) {
+ return;
+ }
+ HEAPF32[i1 >> 2] = d7 * -1.0;
+ HEAPF32[i12 >> 2] = d8 * -1.0;
+ HEAPF32[i13 >> 2] = d11 * -1.0;
+ return;
+}
+function __ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0;
+ if ((HEAP32[i2 + 8 >> 2] | 0) != (i1 | 0)) {
+ return;
+ }
+ HEAP8[i2 + 53 | 0] = 1;
+ if ((HEAP32[i2 + 4 >> 2] | 0) != (i4 | 0)) {
+ return;
+ }
+ HEAP8[i2 + 52 | 0] = 1;
+ i4 = i2 + 16 | 0;
+ i1 = HEAP32[i4 >> 2] | 0;
+ if ((i1 | 0) == 0) {
+ HEAP32[i4 >> 2] = i3;
+ HEAP32[i2 + 24 >> 2] = i5;
+ HEAP32[i2 + 36 >> 2] = 1;
+ if (!((HEAP32[i2 + 48 >> 2] | 0) == 1 & (i5 | 0) == 1)) {
+ return;
+ }
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+ }
+ if ((i1 | 0) != (i3 | 0)) {
+ i3 = i2 + 36 | 0;
+ HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1;
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+ }
+ i3 = i2 + 24 | 0;
+ i1 = HEAP32[i3 >> 2] | 0;
+ if ((i1 | 0) == 2) {
+ HEAP32[i3 >> 2] = i5;
+ i7 = i5;
+ } else {
+ i7 = i1;
+ }
+ if (!((HEAP32[i2 + 48 >> 2] | 0) == 1 & (i7 | 0) == 1)) {
+ return;
+ }
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+}
+function __ZNK10btBoxShape8getPlaneER9btVector3S1_i(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, d11 = 0.0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 48 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 16 | 0;
+ i8 = i5 + 32 | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i1 >> 2] | 0) + 116 >> 2] & 127](i1, i6, i4);
+ d9 = +HEAPF32[i6 >> 2];
+ d10 = +HEAPF32[i6 + 4 >> 2];
+ d11 = +HEAPF32[i6 + 8 >> 2];
+ HEAPF32[i2 >> 2] = d9;
+ HEAPF32[i2 + 4 >> 2] = d10;
+ HEAPF32[i2 + 8 >> 2] = d11;
+ HEAPF32[i2 + 12 >> 2] = 0.0;
+ i2 = HEAP32[(HEAP32[i1 >> 2] | 0) + 60 >> 2] | 0;
+ HEAPF32[i8 >> 2] = -0.0 - d9;
+ HEAPF32[i8 + 4 >> 2] = -0.0 - d10;
+ HEAPF32[i8 + 8 >> 2] = -0.0 - d11;
+ HEAPF32[i8 + 12 >> 2] = 0.0;
+ FUNCTION_TABLE_viii[i2 & 127](i7, i1, i8);
+ i8 = i3;
+ i3 = i7;
+ HEAP32[i8 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ STACKTOP = i5;
+ return;
+}
+function __ZN28btHashedOverlappingPairCache26processAllOverlappingPairsEP17btOverlapCallbackP12btDispatcher(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0;
+ i4 = i1 + 8 | 0;
+ if ((HEAP32[i4 >> 2] | 0) <= 0) {
+ return;
+ }
+ i5 = i1 + 16 | 0;
+ i6 = i2;
+ i7 = i1;
+ i8 = 0;
+ L1889 : while (1) {
+ while (1) {
+ i9 = HEAP32[i5 >> 2] | 0;
+ i10 = i9 + (i8 << 4) | 0;
+ if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 8 >> 2] & 63](i2, i10) | 0)) {
+ break;
+ }
+ FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 12 >> 2] & 31](i1, HEAP32[i10 >> 2] | 0, HEAP32[i9 + (i8 << 4) + 4 >> 2] | 0, i3) | 0;
+ HEAP32[2986] = (HEAP32[2986] | 0) - 1;
+ if ((i8 | 0) >= (HEAP32[i4 >> 2] | 0)) {
+ i11 = 1636;
+ break L1889;
+ }
+ }
+ i9 = i8 + 1 | 0;
+ if ((i9 | 0) < (HEAP32[i4 >> 2] | 0)) {
+ i8 = i9;
+ } else {
+ i11 = 1635;
+ break;
+ }
+ }
+ if ((i11 | 0) == 1635) {
+ return;
+ } else if ((i11 | 0) == 1636) {
+ return;
+ }
+}
+function __ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ if ((HEAP32[i2 + 8 >> 2] | 0) == (i1 | 0)) {
+ if ((HEAP32[i2 + 4 >> 2] | 0) != (i3 | 0)) {
+ return;
+ }
+ i5 = i2 + 28 | 0;
+ if ((HEAP32[i5 >> 2] | 0) == 1) {
+ return;
+ }
+ HEAP32[i5 >> 2] = i4;
+ return;
+ }
+ if ((HEAP32[i2 >> 2] | 0) != (i1 | 0)) {
+ return;
+ }
+ do {
+ if ((HEAP32[i2 + 16 >> 2] | 0) != (i3 | 0)) {
+ i1 = i2 + 20 | 0;
+ if ((HEAP32[i1 >> 2] | 0) == (i3 | 0)) {
+ break;
+ }
+ HEAP32[i2 + 32 >> 2] = i4;
+ HEAP32[i1 >> 2] = i3;
+ i1 = i2 + 40 | 0;
+ HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 1;
+ do {
+ if ((HEAP32[i2 + 36 >> 2] | 0) == 1) {
+ if ((HEAP32[i2 + 24 >> 2] | 0) != 2) {
+ break;
+ }
+ HEAP8[i2 + 54 | 0] = 1;
+ }
+ } while (0);
+ HEAP32[i2 + 44 >> 2] = 4;
+ return;
+ }
+ } while (0);
+ if ((i4 | 0) != 1) {
+ return;
+ }
+ HEAP32[i2 + 32 >> 2] = 1;
+ return;
+}
+function __ZNK15btTriangleShape16getPlaneEquationEiR9btVector3S1_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0;
+ d5 = +HEAPF32[i1 + 56 >> 2];
+ d6 = +HEAPF32[i1 + 72 >> 2] - d5;
+ d7 = +HEAPF32[i1 + 60 >> 2];
+ d8 = +HEAPF32[i1 + 76 >> 2] - d7;
+ d9 = +HEAPF32[i1 + 64 >> 2];
+ d10 = +HEAPF32[i1 + 80 >> 2] - d9;
+ d11 = +HEAPF32[i1 + 88 >> 2] - d5;
+ d5 = +HEAPF32[i1 + 92 >> 2] - d7;
+ d7 = +HEAPF32[i1 + 96 >> 2] - d9;
+ d9 = d8 * d7 - d10 * d5;
+ d12 = d10 * d11 - d6 * d7;
+ d7 = d6 * d5 - d8 * d11;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ d11 = 1.0 / +Math_sqrt(+(d7 * d7 + (d9 * d9 + d12 * d12)));
+ HEAPF32[i3 >> 2] = d11 * d9;
+ HEAPF32[i3 + 4 >> 2] = d11 * d12;
+ HEAPF32[i3 + 8 >> 2] = d7 * d11;
+ i3 = i4;
+ i4 = i1 + 56 | 0;
+ HEAP32[i3 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ return;
+}
+function __ZN23btConvexConvexAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0;
+ i5 = HEAP32[i2 >> 2] | 0;
+ i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 56 >> 2] & 63](i5, 36) | 0;
+ if ((i6 | 0) == 0) {
+ i7 = 0;
+ i8 = i7 | 0;
+ return i8 | 0;
+ }
+ i5 = HEAP32[i2 + 4 >> 2] | 0;
+ i9 = HEAP32[i1 + 12 >> 2] | 0;
+ i10 = HEAP32[i1 + 8 >> 2] | 0;
+ i11 = HEAP32[i1 + 16 >> 2] | 0;
+ i12 = HEAP32[i1 + 20 >> 2] | 0;
+ __ZN30btActivatingCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i6, i2, i3, i4);
+ HEAP32[i6 >> 2] = 3464;
+ HEAP32[i6 + 8 >> 2] = i9;
+ HEAP32[i6 + 12 >> 2] = i10;
+ HEAP8[i6 + 16 | 0] = 0;
+ HEAP32[i6 + 20 >> 2] = i5;
+ HEAP8[i6 + 24 | 0] = 0;
+ HEAP32[i6 + 28 >> 2] = i11;
+ HEAP32[i6 + 32 >> 2] = i12;
+ i7 = i6;
+ i8 = i7 | 0;
+ return i8 | 0;
+}
+function __ZNK10btBoxShape7getEdgeEiR9btVector3S1_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0;
+ switch (i2 | 0) {
+ case 0:
+ {
+ i5 = 1;
+ i6 = 0;
+ break;
+ }
+ case 11:
+ {
+ i5 = 7;
+ i6 = 6;
+ break;
+ }
+ case 2:
+ {
+ i5 = 3;
+ i6 = 1;
+ break;
+ }
+ case 5:
+ {
+ i5 = i2;
+ i6 = 1;
+ break;
+ }
+ case 4:
+ {
+ i5 = i2;
+ i6 = 0;
+ break;
+ }
+ case 3:
+ {
+ i5 = i2;
+ i6 = 2;
+ break;
+ }
+ case 6:
+ {
+ i5 = i2;
+ i6 = 2;
+ break;
+ }
+ case 7:
+ {
+ i5 = i2;
+ i6 = 3;
+ break;
+ }
+ case 1:
+ {
+ i5 = 2;
+ i6 = 0;
+ break;
+ }
+ case 8:
+ {
+ i5 = 5;
+ i6 = 4;
+ break;
+ }
+ case 9:
+ {
+ i5 = 6;
+ i6 = 4;
+ break;
+ }
+ case 10:
+ {
+ i5 = 7;
+ i6 = 5;
+ break;
+ }
+ default:
+ {
+ i5 = 0;
+ i6 = 0;
+ }
+ }
+ i2 = i1;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i2 >> 2] | 0) + 100 >> 2] & 127](i1, i6, i3);
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i2 >> 2] | 0) + 100 >> 2] & 127](i1, i5, i4);
+ return;
+}
+function __ZN16btDbvtBroadphaseC2EP22btOverlappingPairCache(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0;
+ HEAP32[i1 >> 2] = 4392;
+ __ZN6btDbvtC2Ev(i1 + 4 | 0);
+ __ZN6btDbvtC2Ev(i1 + 44 | 0);
+ HEAP8[i1 + 153 | 0] = 0;
+ HEAP8[i1 + 154 | 0] = 1;
+ i3 = (i2 | 0) != 0;
+ HEAP8[i1 + 152 | 0] = i3 & 1 ^ 1;
+ HEAPF32[i1 + 100 >> 2] = 0.0;
+ HEAP32[i1 + 104 >> 2] = 0;
+ HEAP32[i1 + 124 >> 2] = 0;
+ HEAP32[i1 + 108 >> 2] = 1;
+ HEAP32[i1 + 112 >> 2] = 0;
+ HEAP32[i1 + 116 >> 2] = 10;
+ HEAP32[i1 + 120 >> 2] = 1;
+ HEAP32[i1 + 128 >> 2] = 0;
+ HEAP32[i1 + 132 >> 2] = 0;
+ HEAPF32[i1 + 136 >> 2] = 0.0;
+ if (i3) {
+ i4 = i2;
+ } else {
+ i2 = __Z22btAlignedAllocInternalji(76, 16) | 0;
+ if ((i2 | 0) == 0) {
+ i5 = 0;
+ } else {
+ i3 = i2;
+ __ZN28btHashedOverlappingPairCacheC2Ev(i3);
+ i5 = i3;
+ }
+ i4 = i5 | 0;
+ }
+ HEAP32[i1 + 96 >> 2] = i4;
+ HEAP32[i1 + 148 >> 2] = 0;
+ HEAP32[i1 + 140 >> 2] = 0;
+ HEAP32[i1 + 144 >> 2] = 0;
+ _memset(i1 + 84 | 0, 0, 12);
+ return;
+}
+function __ZN16btDbvtBroadphase8aabbTestERK9btVector3S2_R24btBroadphaseAabbCallback(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 40 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 8 | 0;
+ HEAP32[i6 >> 2] = 3936;
+ HEAP32[i6 + 4 >> 2] = i4;
+ i4 = i7;
+ i8 = i2;
+ HEAP32[i4 >> 2] = HEAP32[i8 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i8 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i8 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i8 + 12 >> 2];
+ i8 = i7 + 16 | 0;
+ i4 = i3;
+ HEAP32[i8 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i8 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i8 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i8 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i6 | 0;
+ __ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(0, HEAP32[i1 + 4 >> 2] | 0, i7, i4);
+ __ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(0, HEAP32[i1 + 44 >> 2] | 0, i7, i4);
+ STACKTOP = i5;
+ return;
+}
+function __ZN10btBoxShape9setMarginEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var i3 = 0, i4 = 0, d5 = 0.0, d6 = 0.0, d7 = 0.0, i8 = 0, d9 = 0.0, i10 = 0, i11 = 0, d12 = 0.0;
+ i3 = i1 | 0;
+ i4 = i1;
+ d5 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i3);
+ d6 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i3);
+ d7 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i3);
+ i8 = i1 + 28 | 0;
+ d9 = d5 + +HEAPF32[i8 >> 2];
+ i10 = i1 + 32 | 0;
+ d5 = d6 + +HEAPF32[i10 >> 2];
+ i11 = i1 + 36 | 0;
+ d6 = d7 + +HEAPF32[i11 >> 2];
+ HEAPF32[i1 + 44 >> 2] = d2;
+ d2 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i3);
+ d7 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i3);
+ d12 = d6 - +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i3);
+ HEAPF32[i8 >> 2] = d9 - d2;
+ HEAPF32[i10 >> 2] = d5 - d7;
+ HEAPF32[i11 >> 2] = d12;
+ HEAPF32[i1 + 40 >> 2] = 0.0;
+ return;
+}
+function __ZNK21btConvexInternalShape24localGetSupportingVertexERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i2 >> 2] | 0) + 64 >> 2] & 127](i1, i2 | 0, i3);
+ i4 = i2;
+ if (+FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i2) == 0.0) {
+ return;
+ }
+ d5 = +HEAPF32[i3 >> 2];
+ d6 = +HEAPF32[i3 + 4 >> 2];
+ d7 = +HEAPF32[i3 + 8 >> 2];
+ i3 = d5 * d5 + d6 * d6 + d7 * d7 < 1.4210854715202004e-14;
+ d8 = i3 ? -1.0 : d7;
+ d7 = i3 ? -1.0 : d6;
+ d6 = i3 ? -1.0 : d5;
+ d5 = 1.0 / +Math_sqrt(+(d8 * d8 + (d6 * d6 + d7 * d7)));
+ d9 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i2);
+ i2 = i1 | 0;
+ HEAPF32[i2 >> 2] = d5 * d6 * d9 + +HEAPF32[i2 >> 2];
+ i2 = i1 + 4 | 0;
+ HEAPF32[i2 >> 2] = d9 * d5 * d7 + +HEAPF32[i2 >> 2];
+ i2 = i1 + 8 | 0;
+ HEAPF32[i2 >> 2] = d9 * d5 * d8 + +HEAPF32[i2 >> 2];
+ return;
+}
+function __ZN31btConvexPlaneCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_bii(i1, i2, i3, i4, i5, i6, i7, i8) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ var i9 = 0;
+ __ZN20btCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfo(i1 | 0, i3);
+ HEAP32[i1 >> 2] = 2656;
+ i3 = i1 + 8 | 0;
+ HEAP8[i3] = 0;
+ i9 = i1 + 12 | 0;
+ HEAP32[i9 >> 2] = i2;
+ HEAP8[i1 + 16 | 0] = i6 & 1;
+ HEAP32[i1 + 20 >> 2] = i7;
+ HEAP32[i1 + 24 >> 2] = i8;
+ i8 = i6 ? i5 : i4;
+ i7 = i6 ? i4 : i5;
+ if ((i2 | 0) != 0) {
+ return;
+ }
+ i2 = i1 + 4 | 0;
+ i1 = HEAP32[i2 >> 2] | 0;
+ if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 24 >> 2] & 31](i1, i8, i7) | 0)) {
+ return;
+ }
+ i1 = HEAP32[i2 >> 2] | 0;
+ HEAP32[i9 >> 2] = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] & 31](i1, i8, i7) | 0;
+ HEAP8[i3] = 1;
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld10setGravityERK9btVector3(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ i3 = i1 + 220 | 0;
+ i4 = i2;
+ HEAP32[i3 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ i4 = i1 + 204 | 0;
+ i3 = HEAP32[i4 >> 2] | 0;
+ if ((i3 | 0) <= 0) {
+ return;
+ }
+ i5 = i1 + 212 | 0;
+ i1 = 0;
+ i6 = i3;
+ while (1) {
+ i3 = HEAP32[(HEAP32[i5 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ i7 = HEAP32[i3 + 216 >> 2] | 0;
+ do {
+ if ((i7 | 0) == 5 | (i7 | 0) == 2) {
+ i8 = i6;
+ } else {
+ if ((HEAP32[i3 + 496 >> 2] & 1 | 0) != 0) {
+ i8 = i6;
+ break;
+ }
+ __ZN11btRigidBody10setGravityERK9btVector3(i3, i2);
+ i8 = HEAP32[i4 >> 2] | 0;
+ }
+ } while (0);
+ i3 = i1 + 1 | 0;
+ if ((i3 | 0) < (i8 | 0)) {
+ i1 = i3;
+ i6 = i8;
+ } else {
+ break;
+ }
+ }
+ return;
+}
+function __ZN21btCollisionDispatcherC2EP24btCollisionConfiguration(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0;
+ HEAP32[i1 >> 2] = 3784;
+ HEAP32[i1 + 4 >> 2] = 2;
+ HEAP8[i1 + 24 | 0] = 1;
+ HEAP32[i1 + 20 >> 2] = 0;
+ HEAP32[i1 + 12 >> 2] = 0;
+ HEAP32[i1 + 16 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 4312;
+ _memset(i1 + 172 | 0, -1 | 0, 16);
+ i3 = i1 + 5384 | 0;
+ HEAP32[i3 >> 2] = i2;
+ HEAP32[i1 + 188 >> 2] = 20;
+ i4 = i2;
+ HEAP32[i1 + 192 >> 2] = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 12 >> 2] & 127](i2) | 0;
+ HEAP32[i1 + 196 >> 2] = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 8 >> 2] & 127](i2) | 0;
+ i2 = 0;
+ do {
+ i4 = 0;
+ do {
+ i5 = HEAP32[i3 >> 2] | 0;
+ HEAP32[i1 + 200 + (i2 * 144 | 0) + (i4 << 2) >> 2] = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i5 >> 2] | 0) + 20 >> 2] & 31](i5, i2, i4) | 0;
+ i4 = i4 + 1 | 0;
+ } while ((i4 | 0) < 36);
+ i2 = i2 + 1 | 0;
+ } while ((i2 | 0) < 36);
+ return;
+}
+function __ZN16btCollisionWorldC2EP12btDispatcherP21btBroadphaseInterfaceP24btCollisionConfiguration(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ HEAP32[i1 >> 2] = 4464;
+ HEAP8[i1 + 20 | 0] = 1;
+ HEAP32[i1 + 16 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = 0;
+ HEAP32[i1 + 12 >> 2] = 0;
+ HEAP32[i1 + 24 >> 2] = i2;
+ HEAPF32[i1 + 28 >> 2] = 0.0;
+ HEAP32[i1 + 32 >> 2] = 0;
+ HEAP32[i1 + 36 >> 2] = 1;
+ HEAPF32[i1 + 40 >> 2] = 1.0;
+ HEAP8[i1 + 44 | 0] = 1;
+ HEAP32[i1 + 48 >> 2] = 0;
+ HEAP8[i1 + 52 | 0] = 0;
+ HEAP8[i1 + 53 | 0] = 1;
+ HEAP8[i1 + 54 | 0] = 1;
+ HEAPF32[i1 + 56 >> 2] = .03999999910593033;
+ HEAP8[i1 + 60 | 0] = 0;
+ HEAPF32[i1 + 64 >> 2] = 0.0;
+ i2 = i1 + 68 | 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 76 >> 2] = i3;
+ HEAP32[i1 + 80 >> 2] = 0;
+ HEAP8[i1 + 84 | 0] = 1;
+ i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 16 >> 2] & 127](i4) | 0;
+ HEAP32[i1 + 72 >> 2] = i3;
+ HEAP32[i2 >> 2] = i3;
+ return;
+}
+function __ZN16btCollisionWorld33performDiscreteCollisionDetectionEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(272);
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 511](i1);
+ __ZN15CProfileManager13Start_ProfileEPKc(208);
+ i2 = i1 + 76 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 + 24 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 32 >> 2] & 127](i3, HEAP32[i4 >> 2] | 0);
+ __ZN15CProfileManager12Stop_ProfileEv();
+ i3 = HEAP32[i4 >> 2] | 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(144);
+ if ((i3 | 0) != 0) {
+ i5 = HEAP32[(HEAP32[i3 >> 2] | 0) + 32 >> 2] | 0;
+ i6 = HEAP32[i2 >> 2] | 0;
+ i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0;
+ FUNCTION_TABLE_viiii[i5 & 127](i3, i2, i1 + 28 | 0, HEAP32[i4 >> 2] | 0);
+ }
+ __ZN15CProfileManager12Stop_ProfileEv();
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+}
+function __ZN16btCollisionWorld11updateAabbsEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(440);
+ i2 = i1 + 8 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ if ((i3 | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ i4 = i1 + 16 | 0;
+ i5 = i1 + 84 | 0;
+ i6 = 0;
+ i7 = i3;
+ while (1) {
+ i3 = HEAP32[(HEAP32[i4 >> 2] | 0) + (i6 << 2) >> 2] | 0;
+ if ((HEAP8[i5] | 0) == 0) {
+ i8 = HEAP32[i3 + 216 >> 2] | 0;
+ if ((i8 | 0) == 5 | (i8 | 0) == 2) {
+ i9 = i7;
+ } else {
+ i10 = 2061;
+ }
+ } else {
+ i10 = 2061;
+ }
+ if ((i10 | 0) == 2061) {
+ i10 = 0;
+ __ZN16btCollisionWorld16updateSingleAabbEP17btCollisionObject(i1, i3);
+ i9 = HEAP32[i2 >> 2] | 0;
+ }
+ i3 = i6 + 1 | 0;
+ if ((i3 | 0) < (i9 | 0)) {
+ i6 = i3;
+ i7 = i9;
+ } else {
+ break;
+ }
+ }
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+}
+function __ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 56 | 0;
+ i5 = i4 | 0;
+ if ((i1 | 0) == (i2 | 0)) {
+ i6 = 1;
+ STACKTOP = i4;
+ return i6 | 0;
+ }
+ if ((i2 | 0) == 0) {
+ i6 = 0;
+ STACKTOP = i4;
+ return i6 | 0;
+ }
+ i7 = ___dynamic_cast(i2, 10880, 10864, -1) | 0;
+ i2 = i7;
+ if ((i7 | 0) == 0) {
+ i6 = 0;
+ STACKTOP = i4;
+ return i6 | 0;
+ }
+ _memset(i5 | 0, 0, 56);
+ HEAP32[i5 >> 2] = i2;
+ HEAP32[i5 + 8 >> 2] = i1;
+ HEAP32[i5 + 12 >> 2] = -1;
+ HEAP32[i5 + 48 >> 2] = 1;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] & 127](i2, i5, HEAP32[i3 >> 2] | 0, 1);
+ if ((HEAP32[i5 + 24 >> 2] | 0) != 1) {
+ i6 = 0;
+ STACKTOP = i4;
+ return i6 | 0;
+ }
+ HEAP32[i3 >> 2] = HEAP32[i5 + 16 >> 2];
+ i6 = 1;
+ STACKTOP = i4;
+ return i6 | 0;
+}
+function __ZNK20btPersistentManifold13getCacheEntryERK15btManifoldPoint(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var d3 = 0.0, i4 = 0, i5 = 0, d6 = 0.0, d7 = 0.0, d8 = 0.0, i9 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, i14 = 0, i15 = 0, i16 = 0;
+ d3 = +HEAPF32[i1 + 1120 >> 2];
+ i4 = HEAP32[i1 + 1116 >> 2] | 0;
+ if ((i4 | 0) <= 0) {
+ i5 = -1;
+ return i5 | 0;
+ }
+ d6 = +HEAPF32[i2 >> 2];
+ d7 = +HEAPF32[i2 + 4 >> 2];
+ d8 = +HEAPF32[i2 + 8 >> 2];
+ i2 = 0;
+ i9 = -1;
+ d10 = d3 * d3;
+ while (1) {
+ d3 = +HEAPF32[i1 + 4 + (i2 * 276 | 0) >> 2] - d6;
+ d11 = +HEAPF32[i1 + 4 + (i2 * 276 | 0) + 4 >> 2] - d7;
+ d12 = +HEAPF32[i1 + 4 + (i2 * 276 | 0) + 8 >> 2] - d8;
+ d13 = d3 * d3 + d11 * d11 + d12 * d12;
+ i14 = d13 < d10;
+ i15 = i14 ? i2 : i9;
+ i16 = i2 + 1 | 0;
+ if ((i16 | 0) < (i4 | 0)) {
+ i2 = i16;
+ i9 = i15;
+ d10 = i14 ? d13 : d10;
+ } else {
+ i5 = i15;
+ break;
+ }
+ }
+ return i5 | 0;
+}
+function __ZNK13btSphereShape7getAabbERK11btTransformR9btVector3S4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, i10 = 0, d11 = 0.0;
+ i5 = i1;
+ d6 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i5 >> 2] | 0) + 44 >> 2] & 7](i1);
+ d7 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i5 >> 2] | 0) + 44 >> 2] & 7](i1);
+ d8 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i5 >> 2] | 0) + 44 >> 2] & 7](i1);
+ i1 = i2 + 48 | 0;
+ i5 = i2 + 52 | 0;
+ d9 = +HEAPF32[i5 >> 2] - d7;
+ i10 = i2 + 56 | 0;
+ d11 = +HEAPF32[i10 >> 2] - d8;
+ HEAPF32[i3 >> 2] = +HEAPF32[i1 >> 2] - d6;
+ HEAPF32[i3 + 4 >> 2] = d9;
+ HEAPF32[i3 + 8 >> 2] = d11;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ d11 = d7 + +HEAPF32[i5 >> 2];
+ d7 = d8 + +HEAPF32[i10 >> 2];
+ HEAPF32[i4 >> 2] = d6 + +HEAPF32[i1 >> 2];
+ HEAPF32[i4 + 4 >> 2] = d11;
+ HEAPF32[i4 + 8 >> 2] = d7;
+ HEAPF32[i4 + 12 >> 2] = 0.0;
+ return;
+}
+function __ZN15CProfileManager12Stop_ProfileEv() {
+ var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0;
+ i1 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i2 = i1 | 0;
+ i3 = HEAP32[2966] | 0;
+ i4 = i3 + 16 | 0;
+ i5 = (HEAP32[i4 >> 2] | 0) - 1 | 0;
+ HEAP32[i4 >> 2] = i5;
+ if ((i5 | 0) != 0) {
+ STACKTOP = i1;
+ return;
+ }
+ do {
+ if ((HEAP32[i3 + 4 >> 2] | 0) == 0) {
+ i6 = i3;
+ } else {
+ _gettimeofday(i2 | 0, 0) | 0;
+ i5 = HEAP32[3578] | 0;
+ i7 = i3 + 8 | 0;
+ HEAPF32[i7 >> 2] = +(((HEAP32[i2 + 4 >> 2] | 0) - (HEAP32[i5 + 4 >> 2] | 0) + (((HEAP32[i2 >> 2] | 0) - (HEAP32[i5 >> 2] | 0) | 0) * 1e6 | 0) - (HEAP32[i3 + 12 >> 2] | 0) | 0) >>> 0 >>> 0) / 1.0e3 + +HEAPF32[i7 >> 2];
+ if ((HEAP32[i4 >> 2] | 0) == 0) {
+ i6 = HEAP32[2966] | 0;
+ break;
+ } else {
+ STACKTOP = i1;
+ return;
+ }
+ }
+ } while (0);
+ HEAP32[2966] = HEAP32[i6 + 20 >> 2];
+ STACKTOP = i1;
+ return;
+}
+function __ZN16btDbvtBroadphase12destroyProxyEP17btBroadphaseProxyP12btDispatcher(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ i4 = i2 + 60 | 0;
+ if ((HEAP32[i4 >> 2] | 0) == 2) {
+ __ZN6btDbvt6removeEP10btDbvtNode(i1 + 44 | 0, HEAP32[i2 + 48 >> 2] | 0);
+ } else {
+ __ZN6btDbvt6removeEP10btDbvtNode(i1 + 4 | 0, HEAP32[i2 + 48 >> 2] | 0);
+ }
+ i5 = i2 + 52 | 0;
+ i6 = HEAP32[i5 >> 2] | 0;
+ i7 = i2 + 56 | 0;
+ i8 = HEAP32[i7 >> 2] | 0;
+ if ((i6 | 0) == 0) {
+ HEAP32[i1 + 84 + (HEAP32[i4 >> 2] << 2) >> 2] = i8;
+ } else {
+ HEAP32[i6 + 56 >> 2] = i8;
+ }
+ i8 = HEAP32[i7 >> 2] | 0;
+ if ((i8 | 0) != 0) {
+ HEAP32[i8 + 52 >> 2] = HEAP32[i5 >> 2];
+ }
+ i5 = HEAP32[i1 + 96 >> 2] | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i5 >> 2] | 0) + 16 >> 2] & 127](i5 | 0, i2, i3);
+ __Z21btAlignedFreeInternalPv(i2);
+ HEAP8[i1 + 154 | 0] = 1;
+ return;
+}
+function __ZN17btCollisionObjectC2Ev(i1) {
+ i1 = i1 | 0;
+ HEAP32[i1 >> 2] = 4168;
+ HEAPF32[i1 + 164 >> 2] = 1.0;
+ HEAPF32[i1 + 168 >> 2] = 1.0;
+ HEAPF32[i1 + 172 >> 2] = 1.0;
+ HEAPF32[i1 + 176 >> 2] = 0.0;
+ HEAP32[i1 + 180 >> 2] = 0;
+ HEAPF32[i1 + 184 >> 2] = 999999984306749400.0;
+ _memset(i1 + 188 | 0, 0, 16);
+ HEAP32[i1 + 204 >> 2] = 1;
+ HEAP32[i1 + 208 >> 2] = -1;
+ HEAP32[i1 + 212 >> 2] = -1;
+ HEAP32[i1 + 216 >> 2] = 1;
+ HEAPF32[i1 + 220 >> 2] = 0.0;
+ HEAPF32[i1 + 224 >> 2] = .5;
+ HEAPF32[i1 + 228 >> 2] = 0.0;
+ HEAP32[i1 + 232 >> 2] = 1;
+ HEAP32[i1 + 236 >> 2] = 0;
+ HEAPF32[i1 + 240 >> 2] = 1.0;
+ HEAPF32[i1 + 244 >> 2] = 0.0;
+ HEAPF32[i1 + 248 >> 2] = 0.0;
+ HEAP32[i1 + 252 >> 2] = 0;
+ HEAPF32[i1 + 4 >> 2] = 1.0;
+ _memset(i1 + 8 | 0, 0, 16);
+ HEAPF32[i1 + 24 >> 2] = 1.0;
+ _memset(i1 + 28 | 0, 0, 16);
+ HEAPF32[i1 + 44 >> 2] = 1.0;
+ _memset(i1 + 48 | 0, 0, 20);
+ return;
+}
+function __ZNK15btTriangleShape37localGetSupportingVertexWithoutMarginERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, i10 = 0;
+ d4 = +HEAPF32[i3 >> 2];
+ d5 = +HEAPF32[i3 + 4 >> 2];
+ d6 = +HEAPF32[i3 + 8 >> 2];
+ d7 = d4 * +HEAPF32[i2 + 56 >> 2] + d5 * +HEAPF32[i2 + 60 >> 2] + d6 * +HEAPF32[i2 + 64 >> 2];
+ d8 = d4 * +HEAPF32[i2 + 72 >> 2] + d5 * +HEAPF32[i2 + 76 >> 2] + d6 * +HEAPF32[i2 + 80 >> 2];
+ d9 = d4 * +HEAPF32[i2 + 88 >> 2] + d5 * +HEAPF32[i2 + 92 >> 2] + d6 * +HEAPF32[i2 + 96 >> 2];
+ if (d7 < d8) {
+ i10 = d8 < d9 ? 2 : 1;
+ } else {
+ i10 = d7 < d9 ? 2 : 0;
+ }
+ i3 = i1;
+ i1 = i2 + 56 + (i10 << 4) | 0;
+ HEAP32[i3 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ return;
+}
+function __ZN11btRigidBody19removeConstraintRefEP17btTypedConstraint(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0;
+ i3 = i1 + 480 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 488 | 0;
+ i6 = 0;
+ while (1) {
+ if ((i6 | 0) >= (i4 | 0)) {
+ i7 = i4;
+ i8 = 1064;
+ break;
+ }
+ i9 = HEAP32[i5 >> 2] | 0;
+ i10 = i9 + (i6 << 2) | 0;
+ if ((HEAP32[i10 >> 2] | 0) == (i2 | 0)) {
+ break;
+ } else {
+ i6 = i6 + 1 | 0;
+ }
+ }
+ if ((i8 | 0) == 1064) {
+ i11 = (i7 | 0) > 0;
+ i12 = i11 & 1;
+ i13 = i1 + 252 | 0;
+ HEAP32[i13 >> 2] = i12;
+ return;
+ }
+ i8 = i4 - 1 | 0;
+ HEAP32[i10 >> 2] = HEAP32[i9 + (i8 << 2) >> 2];
+ HEAP32[(HEAP32[i5 >> 2] | 0) + (i8 << 2) >> 2] = i2;
+ HEAP32[i3 >> 2] = i8;
+ i7 = i8;
+ i11 = (i7 | 0) > 0;
+ i12 = i11 & 1;
+ i13 = i1 + 252 | 0;
+ HEAP32[i13 >> 2] = i12;
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolver10solveGroupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAllocP12btDispatcher(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(584);
+ i11 = i1;
+ +FUNCTION_TABLE_fiiiiiiiiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 32 >> 2] & 7](i1, i2, i3, i4, i5, i6, i7, i8, i9, i10);
+ +FUNCTION_TABLE_fiiiiiiiiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 36 >> 2] & 7](i1, i2, i3, i4, i5, i6, i7, i8, i9, i10);
+ +FUNCTION_TABLE_fiiiiiiiiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 7](i1, i2, i3, i4, i5, i6, i7, i8, i9, i10);
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return +0.0;
+}
+function __ZN23btDiscreteDynamicsWorld25predictUnconstraintMotionEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(848);
+ i3 = i1 + 204 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ if ((i4 | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ i5 = i1 + 212 | 0;
+ i1 = 0;
+ i6 = i4;
+ while (1) {
+ i4 = HEAP32[(HEAP32[i5 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ if ((HEAP32[i4 + 204 >> 2] & 3 | 0) == 0) {
+ __ZN11btRigidBody19integrateVelocitiesEf(i4, d2);
+ __ZN11btRigidBody12applyDampingEf(i4, d2);
+ __ZN11btRigidBody26predictIntegratedTransformEfR11btTransform(i4, d2, i4 + 68 | 0);
+ i7 = HEAP32[i3 >> 2] | 0;
+ } else {
+ i7 = i6;
+ }
+ i4 = i1 + 1 | 0;
+ if ((i4 | 0) < (i7 | 0)) {
+ i1 = i4;
+ i6 = i7;
+ } else {
+ break;
+ }
+ }
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+}
+function __ZN33btConvexConcaveCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0, i7 = 0, i8 = 0;
+ __ZN30btActivatingCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1 | 0, i2, i3, i4);
+ HEAP32[i1 >> 2] = 2528;
+ HEAP8[i1 + 8 | 0] = i5 & 1;
+ i6 = HEAP32[i2 >> 2] | 0;
+ HEAP32[i1 + 12 >> 2] = 3104;
+ i2 = i1 + 60 | 0;
+ HEAP32[i2 >> 2] = i6;
+ HEAP32[i1 + 64 >> 2] = 0;
+ i7 = i5 ? i4 : i3;
+ HEAP32[i1 + 16 >> 2] = i7;
+ i8 = i5 ? i3 : i4;
+ HEAP32[i1 + 20 >> 2] = i8;
+ i4 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 12 >> 2] & 31](i6, i7, i8) | 0;
+ HEAP32[i1 + 76 >> 2] = i4;
+ i1 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 20 >> 2] & 127](i1, i4);
+ return;
+}
+function __ZN25btSimulationIslandManager21updateActivationStateEP16btCollisionWorldP12btDispatcher(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0;
+ i3 = i2 + 8 | 0;
+ if ((HEAP32[i3 >> 2] | 0) > 0) {
+ i4 = HEAP32[i2 + 16 >> 2] | 0;
+ i5 = 0;
+ i6 = 0;
+ while (1) {
+ i7 = HEAP32[i4 + (i5 << 2) >> 2] | 0;
+ if ((HEAP32[i7 + 204 >> 2] & 3 | 0) == 0) {
+ HEAP32[i7 + 208 >> 2] = i6;
+ i8 = i6 + 1 | 0;
+ } else {
+ i8 = i6;
+ }
+ HEAP32[i7 + 212 >> 2] = -1;
+ HEAPF32[i7 + 240 >> 2] = 1.0;
+ i7 = i5 + 1 | 0;
+ if ((i7 | 0) < (HEAP32[i3 >> 2] | 0)) {
+ i5 = i7;
+ i6 = i8;
+ } else {
+ i9 = i8;
+ break;
+ }
+ }
+ } else {
+ i9 = 0;
+ }
+ __ZN11btUnionFind5resetEi(i1 + 4 | 0, i9);
+ __ZN25btSimulationIslandManager10findUnionsEP12btDispatcherP16btCollisionWorld(i1, 0, i2);
+ return;
+}
+function __ZNK10btBoxShape24localGetSupportingVertexERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, d11 = 0.0;
+ d4 = +HEAPF32[i2 + 28 >> 2];
+ d5 = +HEAPF32[i2 + 32 >> 2];
+ d6 = +HEAPF32[i2 + 36 >> 2];
+ i7 = i2 | 0;
+ i8 = i2;
+ d9 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 44 >> 2] & 7](i7);
+ d10 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 44 >> 2] & 7](i7);
+ d11 = d4 + d9;
+ d9 = d5 + d10;
+ d10 = d6 + +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 44 >> 2] & 7](i7);
+ d6 = +HEAPF32[i3 + 4 >> 2] >= 0.0 ? d9 : -0.0 - d9;
+ d9 = +HEAPF32[i3 + 8 >> 2] >= 0.0 ? d10 : -0.0 - d10;
+ HEAPF32[i1 >> 2] = +HEAPF32[i3 >> 2] >= 0.0 ? d11 : -0.0 - d11;
+ HEAPF32[i1 + 4 >> 2] = d6;
+ HEAPF32[i1 + 8 >> 2] = d9;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ return;
+}
+function __ZNK10btBoxShape9getVertexEiR9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, d11 = 0.0;
+ d4 = +HEAPF32[i1 + 28 >> 2];
+ d5 = +HEAPF32[i1 + 32 >> 2];
+ d6 = +HEAPF32[i1 + 36 >> 2];
+ i7 = i1 | 0;
+ i8 = i1;
+ d9 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 44 >> 2] & 7](i7);
+ d10 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 44 >> 2] & 7](i7);
+ d11 = d4 + d9;
+ d9 = d5 + d10;
+ d10 = d6 + +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 44 >> 2] & 7](i7);
+ i7 = i2 & 1;
+ i8 = i2 >>> 1 & 1;
+ i1 = i2 >>> 2 & 1;
+ HEAPF32[i3 >> 2] = +(i7 ^ 1 | 0) * d11 - +(i7 | 0) * d11;
+ HEAPF32[i3 + 4 >> 2] = +(i8 ^ 1 | 0) * d9 - +(i8 | 0) * d9;
+ HEAPF32[i3 + 8 >> 2] = +(i1 ^ 1 | 0) * d10 - +(i1 | 0) * d10;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ return;
+}
+function __ZNK10btBoxShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0;
+ if ((i4 | 0) <= 0) {
+ return;
+ }
+ i5 = i1 + 28 | 0;
+ i6 = i1 + 32 | 0;
+ i7 = i1 + 36 | 0;
+ i1 = 0;
+ do {
+ d8 = +HEAPF32[i5 >> 2];
+ d9 = +HEAPF32[i6 >> 2];
+ d10 = +HEAPF32[i2 + (i1 << 4) + 4 >> 2] >= 0.0 ? d9 : -0.0 - d9;
+ d9 = +HEAPF32[i7 >> 2];
+ d11 = +HEAPF32[i2 + (i1 << 4) + 8 >> 2] >= 0.0 ? d9 : -0.0 - d9;
+ HEAPF32[i3 + (i1 << 4) >> 2] = +HEAPF32[i2 + (i1 << 4) >> 2] >= 0.0 ? d8 : -0.0 - d8;
+ HEAPF32[i3 + (i1 << 4) + 4 >> 2] = d10;
+ HEAPF32[i3 + (i1 << 4) + 8 >> 2] = d11;
+ HEAPF32[i3 + (i1 << 4) + 12 >> 2] = 0.0;
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i4 | 0));
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld18saveKinematicStateEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0;
+ i3 = i1 + 8 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ if ((i4 | 0) <= 0) {
+ return;
+ }
+ i5 = i1 + 16 | 0;
+ i1 = 0;
+ i6 = i4;
+ while (1) {
+ i4 = HEAP32[(HEAP32[i5 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ do {
+ if ((HEAP32[i4 + 232 >> 2] & 2 | 0) == 0) {
+ i7 = i6;
+ } else {
+ if ((i4 | 0) == 0) {
+ i7 = i6;
+ break;
+ }
+ if ((HEAP32[i4 + 216 >> 2] | 0) == 2) {
+ i7 = i6;
+ break;
+ }
+ if ((HEAP32[i4 + 204 >> 2] & 2 | 0) == 0) {
+ i7 = i6;
+ break;
+ }
+ __ZN11btRigidBody18saveKinematicStateEf(i4, d2);
+ i7 = HEAP32[i3 >> 2] | 0;
+ }
+ } while (0);
+ i4 = i1 + 1 | 0;
+ if ((i4 | 0) < (i7 | 0)) {
+ i1 = i4;
+ i6 = i7;
+ } else {
+ break;
+ }
+ }
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld16removeConstraintEP17btTypedConstraint(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ i3 = i1 + 184 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 192 | 0;
+ i1 = 0;
+ while (1) {
+ if ((i1 | 0) >= (i4 | 0)) {
+ break;
+ }
+ i6 = HEAP32[i5 >> 2] | 0;
+ i7 = i6 + (i1 << 2) | 0;
+ if ((HEAP32[i7 >> 2] | 0) == (i2 | 0)) {
+ i8 = 512;
+ break;
+ } else {
+ i1 = i1 + 1 | 0;
+ }
+ }
+ if ((i8 | 0) == 512) {
+ i8 = i4 - 1 | 0;
+ HEAP32[i7 >> 2] = HEAP32[i6 + (i8 << 2) >> 2];
+ HEAP32[(HEAP32[i5 >> 2] | 0) + (i8 << 2) >> 2] = i2;
+ HEAP32[i3 >> 2] = i8;
+ }
+ __ZN11btRigidBody19removeConstraintRefEP17btTypedConstraint(HEAP32[i2 + 24 >> 2] | 0, i2);
+ __ZN11btRigidBody19removeConstraintRefEP17btTypedConstraint(HEAP32[i2 + 28 >> 2] | 0, i2);
+ return;
+}
+function __ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ HEAP32[i1 >> 2] = 4136;
+ HEAPF32[i1 + 4 >> 2] = 0.0;
+ HEAPF32[i1 + 8 >> 2] = 1.0;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ HEAPF32[i1 + 16 >> 2] = 0.0;
+ HEAP32[i1 + 20 >> 2] = i5;
+ HEAP32[i1 + 24 >> 2] = i4;
+ HEAP32[i1 + 28 >> 2] = i2;
+ HEAP32[i1 + 32 >> 2] = i3;
+ HEAP32[i1 + 36 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i1 + 40 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAPF32[i1 + 44 >> 2] = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i2 >> 2] | 0) + 44 >> 2] & 7](i2);
+ HEAPF32[i1 + 48 >> 2] = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i3 >> 2] | 0) + 44 >> 2] & 7](i3);
+ HEAP8[i1 + 52 | 0] = 0;
+ HEAP32[i1 + 60 >> 2] = -1;
+ HEAP32[i1 + 72 >> 2] = 1;
+ return;
+}
+function __ZNK10btBoxShape21calculateLocalInertiaEfR9btVector3(i1, d2, i3) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, d11 = 0.0;
+ d4 = +HEAPF32[i1 + 28 >> 2];
+ d5 = +HEAPF32[i1 + 32 >> 2];
+ d6 = +HEAPF32[i1 + 36 >> 2];
+ i7 = i1 | 0;
+ i8 = i1;
+ d9 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 44 >> 2] & 7](i7);
+ d10 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 44 >> 2] & 7](i7);
+ d11 = (d4 + d9) * 2.0;
+ d9 = (d5 + d10) * 2.0;
+ d10 = (d6 + +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i8 >> 2] | 0) + 44 >> 2] & 7](i7)) * 2.0;
+ d6 = d2 / 12.0;
+ d2 = d9 * d9;
+ d9 = d10 * d10;
+ d10 = d11 * d11;
+ HEAPF32[i3 >> 2] = d6 * (d2 + d9);
+ HEAPF32[i3 + 4 >> 2] = d6 * (d10 + d9);
+ HEAPF32[i3 + 8 >> 2] = d6 * (d10 + d2);
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ return;
+}
+function __ZNK13btSphereShape24localGetSupportingVertexERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i2 >> 2] | 0) + 64 >> 2] & 127](i1, i2, i3);
+ d4 = +HEAPF32[i3 >> 2];
+ d5 = +HEAPF32[i3 + 4 >> 2];
+ d6 = +HEAPF32[i3 + 8 >> 2];
+ i3 = d4 * d4 + d5 * d5 + d6 * d6 < 1.4210854715202004e-14;
+ d7 = i3 ? -1.0 : d6;
+ d6 = i3 ? -1.0 : d5;
+ d5 = i3 ? -1.0 : d4;
+ d4 = 1.0 / +Math_sqrt(+(d7 * d7 + (d5 * d5 + d6 * d6)));
+ d8 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i2 >> 2] | 0) + 44 >> 2] & 7](i2);
+ i2 = i1 | 0;
+ HEAPF32[i2 >> 2] = d4 * d5 * d8 + +HEAPF32[i2 >> 2];
+ i2 = i1 + 4 | 0;
+ HEAPF32[i2 >> 2] = d8 * d4 * d6 + +HEAPF32[i2 >> 2];
+ i2 = i1 + 8 | 0;
+ HEAPF32[i2 >> 2] = d8 * d4 * d7 + +HEAPF32[i2 >> 2];
+ return;
+}
+function __ZN20btPersistentManifold16addManifoldPointERK15btManifoldPoint(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0;
+ i3 = i1 + 1116 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ do {
+ if ((i4 | 0) == 4) {
+ i5 = __ZN20btPersistentManifold16sortCachedPointsERK15btManifoldPoint(i1, i2) | 0;
+ i6 = i1 + 4 + (i5 * 276 | 0) + 108 | 0;
+ i7 = HEAP32[i6 >> 2] | 0;
+ if ((i7 | 0) == 0) {
+ i8 = i5;
+ break;
+ }
+ i9 = HEAP32[3008] | 0;
+ if ((i9 | 0) == 0) {
+ i8 = i5;
+ break;
+ }
+ FUNCTION_TABLE_ii[i9 & 127](i7) | 0;
+ HEAP32[i6 >> 2] = 0;
+ i8 = i5;
+ } else {
+ HEAP32[i3 >> 2] = i4 + 1;
+ i8 = i4;
+ }
+ } while (0);
+ i4 = (i8 | 0) < 0 ? 0 : i8;
+ i8 = i1 + 4 + (i4 * 276 | 0) | 0;
+ i1 = i2;
+ _memcpy(i8 | 0, i1 | 0, 276) | 0;
+ return i4 | 0;
+}
+function __ZN11btRigidBody24checkCollideWithOverrideEP17btCollisionObject(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0;
+ if ((HEAP32[i2 + 232 >> 2] & 2 | 0) == 0) {
+ i3 = 1;
+ return i3 | 0;
+ }
+ i4 = i2;
+ i2 = i1 + 488 | 0;
+ i5 = HEAP32[i1 + 480 >> 2] | 0;
+ i1 = 0;
+ while (1) {
+ if ((i1 | 0) >= (i5 | 0)) {
+ i3 = 1;
+ i6 = 1054;
+ break;
+ }
+ i7 = HEAP32[(HEAP32[i2 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ if ((HEAP32[i7 + 24 >> 2] | 0) == (i4 | 0)) {
+ i3 = 0;
+ i6 = 1055;
+ break;
+ }
+ if ((HEAP32[i7 + 28 >> 2] | 0) == (i4 | 0)) {
+ i3 = 0;
+ i6 = 1057;
+ break;
+ } else {
+ i1 = i1 + 1 | 0;
+ }
+ }
+ if ((i6 | 0) == 1054) {
+ return i3 | 0;
+ } else if ((i6 | 0) == 1055) {
+ return i3 | 0;
+ } else if ((i6 | 0) == 1057) {
+ return i3 | 0;
+ }
+ return 0;
+}
+function __ZN26btBoxBoxCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0;
+ __ZN30btActivatingCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1 | 0, i3, i4, i5);
+ HEAP32[i1 >> 2] = 2960;
+ i3 = i1 + 8 | 0;
+ HEAP8[i3] = 0;
+ i6 = i1 + 12 | 0;
+ HEAP32[i6 >> 2] = i2;
+ if ((i2 | 0) != 0) {
+ return;
+ }
+ i2 = i1 + 4 | 0;
+ i1 = HEAP32[i2 >> 2] | 0;
+ if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 24 >> 2] & 31](i1, i4, i5) | 0)) {
+ return;
+ }
+ i1 = HEAP32[i2 >> 2] | 0;
+ HEAP32[i6 >> 2] = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] & 31](i1, i4, i5) | 0;
+ HEAP8[i3] = 1;
+ return;
+}
+function __ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0;
+ if ((i1 | 0) != (HEAP32[i2 + 8 >> 2] | 0)) {
+ i5 = HEAP32[i1 + 8 >> 2] | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 127](i5, i2, i3, i4);
+ return;
+ }
+ i5 = i2 + 16 | 0;
+ i1 = HEAP32[i5 >> 2] | 0;
+ if ((i1 | 0) == 0) {
+ HEAP32[i5 >> 2] = i3;
+ HEAP32[i2 + 24 >> 2] = i4;
+ HEAP32[i2 + 36 >> 2] = 1;
+ return;
+ }
+ if ((i1 | 0) != (i3 | 0)) {
+ i3 = i2 + 36 | 0;
+ HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1;
+ HEAP32[i2 + 24 >> 2] = 2;
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+ }
+ i3 = i2 + 24 | 0;
+ if ((HEAP32[i3 >> 2] | 0) != 2) {
+ return;
+ }
+ HEAP32[i3 >> 2] = i4;
+ return;
+}
+function __ZN28btHashedOverlappingPairCache18addOverlappingPairEP17btBroadphaseProxyS1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0;
+ HEAP32[3012] = (HEAP32[3012] | 0) + 1;
+ i4 = HEAP32[i1 + 24 >> 2] | 0;
+ do {
+ if ((i4 | 0) == 0) {
+ if ((HEAP16[i3 + 6 >> 1] & HEAP16[i2 + 4 >> 1]) << 16 >> 16 == 0) {
+ i5 = 0;
+ return i5 | 0;
+ }
+ if ((HEAP16[i2 + 6 >> 1] & HEAP16[i3 + 4 >> 1]) << 16 >> 16 == 0) {
+ i5 = 0;
+ } else {
+ break;
+ }
+ return i5 | 0;
+ } else {
+ if (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i4 >> 2] | 0) + 8 >> 2] & 31](i4, i2, i3) | 0) {
+ break;
+ } else {
+ i5 = 0;
+ }
+ return i5 | 0;
+ }
+ } while (0);
+ i5 = __ZN28btHashedOverlappingPairCache15internalAddPairEP17btBroadphaseProxyS1_(i1, i2, i3) | 0;
+ return i5 | 0;
+}
+function __ZN6btDbvt6updateEP10btDbvtNodeR12btDbvtAabbMm(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0;
+ i4 = __ZL10removeleafP6btDbvtP10btDbvtNode(i1, i2) | 0;
+ L2369 : do {
+ if ((i4 | 0) == 0) {
+ i5 = 0;
+ } else {
+ i6 = HEAP32[i1 + 8 >> 2] | 0;
+ if ((i6 | 0) > -1) {
+ i7 = 0;
+ i8 = i4;
+ } else {
+ i5 = HEAP32[i1 >> 2] | 0;
+ break;
+ }
+ while (1) {
+ if ((i7 | 0) >= (i6 | 0)) {
+ i5 = i8;
+ break L2369;
+ }
+ i9 = HEAP32[i8 + 32 >> 2] | 0;
+ if ((i9 | 0) == 0) {
+ i5 = i8;
+ break;
+ } else {
+ i7 = i7 + 1 | 0;
+ i8 = i9;
+ }
+ }
+ }
+ } while (0);
+ i8 = i2;
+ i7 = i3;
+ _memcpy(i8 | 0, i7 | 0, 32) | 0;
+ __ZL10insertleafP6btDbvtP10btDbvtNodeS2_(i1, i5, i2);
+ return;
+}
+function __ZN15CProfileManager5ResetEv() {
+ var i1 = 0, i2 = 0, i3 = 0, i4 = 0;
+ i1 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i2 = i1 | 0;
+ i3 = i1 + 8 | 0;
+ _gettimeofday(HEAP32[3578] | 0, 0) | 0;
+ __ZN12CProfileNode5ResetEv(14256);
+ HEAP32[3565] = (HEAP32[3565] | 0) + 1;
+ i4 = HEAP32[3568] | 0;
+ HEAP32[3568] = i4 + 1;
+ if ((i4 | 0) == 0) {
+ _gettimeofday(i3 | 0, 0) | 0;
+ i4 = HEAP32[3578] | 0;
+ HEAP32[3567] = (HEAP32[i3 + 4 >> 2] | 0) - (HEAP32[i4 + 4 >> 2] | 0) + (((HEAP32[i3 >> 2] | 0) - (HEAP32[i4 >> 2] | 0) | 0) * 1e6 | 0);
+ }
+ HEAP32[3572] = 0;
+ _gettimeofday(i2 | 0, 0) | 0;
+ i4 = HEAP32[3578] | 0;
+ HEAP32[3562] = (HEAP32[i2 + 4 >> 2] | 0) - (HEAP32[i4 + 4 >> 2] | 0) + (((HEAP32[i2 >> 2] | 0) - (HEAP32[i4 >> 2] | 0) | 0) * 1e6 | 0);
+ STACKTOP = i1;
+ return;
+}
+function __ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult15addContactPointERKS8_SG_f(i1, i2, i3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ var i5 = 0, i6 = 0;
+ i5 = i1 + 4 | 0;
+ i6 = i2;
+ HEAP32[i5 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i6 = i1 + 20 | 0;
+ i5 = i3;
+ HEAP32[i6 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ HEAPF32[i1 + 36 >> 2] = d4;
+ HEAP8[i1 + 40 | 0] = 1;
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolverC2Ev(i1) {
+ i1 = i1 | 0;
+ HEAP32[i1 >> 2] = 2368;
+ HEAP8[i1 + 20 | 0] = 1;
+ HEAP32[i1 + 16 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = 0;
+ HEAP32[i1 + 12 >> 2] = 0;
+ HEAP8[i1 + 40 | 0] = 1;
+ HEAP32[i1 + 36 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ HEAP32[i1 + 32 >> 2] = 0;
+ HEAP8[i1 + 60 | 0] = 1;
+ HEAP32[i1 + 56 >> 2] = 0;
+ HEAP32[i1 + 48 >> 2] = 0;
+ HEAP32[i1 + 52 >> 2] = 0;
+ HEAP8[i1 + 80 | 0] = 1;
+ HEAP32[i1 + 76 >> 2] = 0;
+ HEAP32[i1 + 68 >> 2] = 0;
+ HEAP32[i1 + 72 >> 2] = 0;
+ HEAP8[i1 + 100 | 0] = 1;
+ HEAP32[i1 + 96 >> 2] = 0;
+ HEAP32[i1 + 88 >> 2] = 0;
+ HEAP32[i1 + 92 >> 2] = 0;
+ HEAP8[i1 + 120 | 0] = 1;
+ HEAP32[i1 + 116 >> 2] = 0;
+ HEAP32[i1 + 108 >> 2] = 0;
+ HEAP32[i1 + 112 >> 2] = 0;
+ HEAP32[i1 + 124 >> 2] = 0;
+ return;
+}
+function __ZN16btDbvtBroadphase7rayTestERK9btVector3S2_R23btBroadphaseRayCallbackS2_S2_(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0, i10 = 0;
+ i3 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i7 = i3 | 0;
+ HEAP32[i7 >> 2] = 4016;
+ HEAP32[i7 + 4 >> 2] = i4;
+ i8 = i4 + 4 | 0;
+ i9 = i4 + 20 | 0;
+ i10 = i4 + 32 | 0;
+ i4 = i7 | 0;
+ __ZNK6btDbvt15rayTestInternalEPK10btDbvtNodeRK9btVector3S5_S5_PjfS5_S5_RNS_8ICollideE(0, HEAP32[i1 + 4 >> 2] | 0, i2, 0, i8, i9, +HEAPF32[i10 >> 2], i5, i6, i4);
+ __ZNK6btDbvt15rayTestInternalEPK10btDbvtNodeRK9btVector3S5_S5_PjfS5_S5_RNS_8ICollideE(0, HEAP32[i1 + 44 >> 2] | 0, i2, 0, i8, i9, +HEAPF32[i10 >> 2], i5, i6, i4);
+ STACKTOP = i3;
+ return;
+}
+function ___remdi3(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i6 = i5 | 0;
+ i7 = i2 >> 31 | ((i2 | 0) < 0 ? -1 : 0) << 1;
+ i8 = ((i2 | 0) < 0 ? -1 : 0) >> 31 | ((i2 | 0) < 0 ? -1 : 0) << 1;
+ i9 = i4 >> 31 | ((i4 | 0) < 0 ? -1 : 0) << 1;
+ i10 = ((i4 | 0) < 0 ? -1 : 0) >> 31 | ((i4 | 0) < 0 ? -1 : 0) << 1;
+ i11 = _i64Subtract(i7 ^ i1, i8 ^ i2, i7, i8) | 0;
+ i2 = tempRet0;
+ i1 = _i64Subtract(i9 ^ i3, i10 ^ i4, i9, i10) | 0;
+ ___udivmoddi4(i11, i2, i1, tempRet0, i6) | 0;
+ i1 = _i64Subtract(HEAP32[i6 >> 2] ^ i7, HEAP32[i6 + 4 >> 2] ^ i8, i7, i8) | 0;
+ i8 = tempRet0;
+ STACKTOP = i5;
+ return (tempRet0 = i8, i1) | 0;
+}
+function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdder15addSingleResultE_1RNS_17LocalConvexResultEb(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, d7 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i5 = i4 | 0;
+ HEAP32[i5 >> 2] = -1;
+ HEAP32[i5 + 4 >> 2] = HEAP32[i1 + 16 >> 2];
+ i6 = i2 + 4 | 0;
+ if ((HEAP32[i6 >> 2] | 0) == 0) {
+ HEAP32[i6 >> 2] = i5;
+ }
+ i5 = i1 + 12 | 0;
+ i6 = HEAP32[i5 >> 2] | 0;
+ d7 = +FUNCTION_TABLE_fiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 12 >> 2] & 15](i6, i2, i3);
+ HEAPF32[i1 + 4 >> 2] = +HEAPF32[(HEAP32[i5 >> 2] | 0) + 4 >> 2];
+ STACKTOP = i4;
+ return +d7;
+}
+function __ZN28btCompoundCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ __ZN30btActivatingCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1 | 0, i2, i3, i4);
+ HEAP32[i1 >> 2] = 2888;
+ HEAP8[i1 + 24 | 0] = 1;
+ HEAP32[i1 + 20 >> 2] = 0;
+ HEAP32[i1 + 12 >> 2] = 0;
+ HEAP32[i1 + 16 >> 2] = 0;
+ HEAP8[i1 + 28 | 0] = i5 & 1;
+ HEAP32[i1 + 32 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP8[i1 + 36 | 0] = 0;
+ HEAP32[i1 + 40 >> 2] = HEAP32[(HEAP32[(i5 ? i4 : i3) + 192 >> 2] | 0) + 68 >> 2];
+ __ZN28btCompoundCollisionAlgorithm26preallocateChildAlgorithmsEP17btCollisionObjectS1_(i1, i3, i4);
+ return;
+}
+function __ZN25btSimulationIslandManagerD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0;
+ HEAP32[i1 >> 2] = 3032;
+ i2 = i1 + 48 | 0;
+ i3 = i1 + 56 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 60 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 52 >> 2] = 0;
+ i2 = i1 + 28 | 0;
+ i3 = i1 + 36 | 0;
+ i5 = HEAP32[i3 >> 2] | 0;
+ i4 = i1 + 40 | 0;
+ if ((i5 | 0) != 0) {
+ if ((HEAP8[i4] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i5);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i4] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 32 >> 2] = 0;
+ __ZN11btUnionFindD2Ev(i1 + 4 | 0);
+ return;
+}
+function __ZN21btSingleSweepCallback7processEPK17btBroadphaseProxy(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ i3 = i1 + 184 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ if (+HEAPF32[i4 + 4 >> 2] == 0.0) {
+ i5 = 0;
+ return i5 | 0;
+ }
+ i6 = HEAP32[i2 >> 2] | 0;
+ if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 8 >> 2] & 63](i4, HEAP32[i6 + 188 >> 2] | 0) | 0)) {
+ i5 = 1;
+ return i5 | 0;
+ }
+ __ZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEf(HEAP32[i1 + 192 >> 2] | 0, i1 + 36 | 0, i1 + 100 | 0, i6, HEAP32[i6 + 192 >> 2] | 0, i6 + 4 | 0, HEAP32[i3 >> 2] | 0, +HEAPF32[i1 + 188 >> 2]);
+ i5 = 1;
+ return i5 | 0;
+}
+function __ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_iiffP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i1, i2, i3, i4, i5, d6, d7, i8, i9) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ d6 = +d6;
+ d7 = +d7;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ HEAP32[i1 >> 2] = 4136;
+ HEAPF32[i1 + 4 >> 2] = 0.0;
+ HEAPF32[i1 + 8 >> 2] = 1.0;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ HEAPF32[i1 + 16 >> 2] = 0.0;
+ HEAP32[i1 + 20 >> 2] = i9;
+ HEAP32[i1 + 24 >> 2] = i8;
+ HEAP32[i1 + 28 >> 2] = i2;
+ HEAP32[i1 + 32 >> 2] = i3;
+ HEAP32[i1 + 36 >> 2] = i4;
+ HEAP32[i1 + 40 >> 2] = i5;
+ HEAPF32[i1 + 44 >> 2] = d6;
+ HEAPF32[i1 + 48 >> 2] = d7;
+ HEAP8[i1 + 52 | 0] = 0;
+ HEAP32[i1 + 60 >> 2] = -1;
+ HEAP32[i1 + 72 >> 2] = 1;
+ return;
+}
+function __ZNK14btQuantizedBvh25reportRayOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 32 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 16 | 0;
+ _memset(i6 | 0, 0, 16);
+ _memset(i7 | 0, 0, 16);
+ if ((HEAP8[i1 + 60 | 0] | 0) == 0) {
+ __ZNK14btQuantizedBvh27walkStacklessTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(i1, i2, i3, i4, i6, i7, 0, 0);
+ STACKTOP = i5;
+ return;
+ } else {
+ __ZNK14btQuantizedBvh36walkStacklessQuantizedTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(i1, i2, i3, i4, i6, i7, 0, HEAP32[i1 + 56 >> 2] | 0);
+ STACKTOP = i5;
+ return;
+ }
+}
+function __ZN23btDiscreteDynamicsWorld15removeRigidBodyEP11btRigidBody(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0;
+ i3 = i1 + 204 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 212 | 0;
+ i6 = 0;
+ while (1) {
+ if ((i6 | 0) >= (i4 | 0)) {
+ break;
+ }
+ i7 = HEAP32[i5 >> 2] | 0;
+ i8 = i7 + (i6 << 2) | 0;
+ if ((HEAP32[i8 >> 2] | 0) == (i2 | 0)) {
+ i9 = 433;
+ break;
+ } else {
+ i6 = i6 + 1 | 0;
+ }
+ }
+ if ((i9 | 0) == 433) {
+ i9 = i4 - 1 | 0;
+ HEAP32[i8 >> 2] = HEAP32[i7 + (i9 << 2) >> 2];
+ HEAP32[(HEAP32[i5 >> 2] | 0) + (i9 << 2) >> 2] = i2;
+ HEAP32[i3 >> 2] = i9;
+ }
+ __ZN16btCollisionWorld21removeCollisionObjectEP17btCollisionObject(i1 | 0, i2 | 0);
+ return;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder215addSingleResultERNS_14LocalRayResultEb(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, d7 = 0.0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i5 = i4 | 0;
+ HEAP32[i5 >> 2] = -1;
+ HEAP32[i5 + 4 >> 2] = HEAP32[i1 + 24 >> 2];
+ i6 = i2 + 4 | 0;
+ if ((HEAP32[i6 >> 2] | 0) == 0) {
+ HEAP32[i6 >> 2] = i5;
+ }
+ i5 = i1 + 20 | 0;
+ i6 = HEAP32[i5 >> 2] | 0;
+ d7 = +FUNCTION_TABLE_fiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 12 >> 2] & 15](i6, i2, i3);
+ HEAPF32[i1 + 4 >> 2] = +HEAPF32[(HEAP32[i5 >> 2] | 0) + 4 >> 2];
+ STACKTOP = i4;
+ return +d7;
+}
+function __ZN34btSphereTriangleCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_b(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0;
+ __ZN30btActivatingCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1 | 0, i3, i4, i5);
+ HEAP32[i1 >> 2] = 2424;
+ i3 = i1 + 8 | 0;
+ HEAP8[i3] = 0;
+ i7 = i1 + 12 | 0;
+ HEAP32[i7 >> 2] = i2;
+ HEAP8[i1 + 16 | 0] = i6 & 1;
+ if ((i2 | 0) != 0) {
+ return;
+ }
+ i2 = HEAP32[i1 + 4 >> 2] | 0;
+ HEAP32[i7 >> 2] = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 12 >> 2] & 31](i2, i4, i5) | 0;
+ HEAP8[i3] = 1;
+ return;
+}
+function __ZN6btDbvt6insertERK12btDbvtAabbMmPv(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0, i7 = 0;
+ i4 = i1 + 4 | 0;
+ i5 = HEAP32[i4 >> 2] | 0;
+ do {
+ if ((i5 | 0) == 0) {
+ i6 = __Z22btAlignedAllocInternalji(44, 16) | 0;
+ if ((i6 | 0) == 0) {
+ i7 = 0;
+ break;
+ }
+ _memset(i6 | 0, 0, 44);
+ i7 = i6;
+ } else {
+ HEAP32[i4 >> 2] = 0;
+ i7 = i5;
+ }
+ } while (0);
+ HEAP32[i7 + 32 >> 2] = 0;
+ HEAP32[i7 + 36 >> 2] = i3;
+ HEAP32[i7 + 40 >> 2] = 0;
+ i3 = i7;
+ i5 = i2;
+ _memcpy(i3 | 0, i5 | 0, 32) | 0;
+ __ZL10insertleafP6btDbvtP10btDbvtNodeS2_(i1, HEAP32[i1 >> 2] | 0, i7);
+ i5 = i1 + 12 | 0;
+ HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1;
+ return i7 | 0;
+}
+function __ZN34btSphereTriangleCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ i5 = HEAP32[i2 >> 2] | 0;
+ i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 56 >> 2] & 63](i5, 20) | 0;
+ if ((i6 | 0) == 0) {
+ i7 = 0;
+ i8 = i7 | 0;
+ return i8 | 0;
+ }
+ i5 = i6;
+ __ZN34btSphereTriangleCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_b(i5, HEAP32[i2 + 4 >> 2] | 0, i2, i3, i4, (HEAP8[i1 + 4 | 0] | 0) != 0);
+ i7 = i5;
+ i8 = i7 | 0;
+ return i8 | 0;
+}
+function __ZN16btPointCollector15addContactPointERK9btVector3S2_f(i1, i2, i3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ var i5 = 0, i6 = 0, i7 = 0;
+ i5 = i1 + 36 | 0;
+ if (+HEAPF32[i5 >> 2] <= d4) {
+ return;
+ }
+ HEAP8[i1 + 40 | 0] = 1;
+ i6 = i1 + 4 | 0;
+ i7 = i2;
+ HEAP32[i6 >> 2] = HEAP32[i7 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i7 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i7 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i7 + 12 >> 2];
+ i7 = i1 + 20 | 0;
+ i1 = i3;
+ HEAP32[i7 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i7 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i7 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i7 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ HEAPF32[i5 >> 2] = d4;
+ return;
+}
+function __ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0;
+ if ((HEAP32[i2 + 8 >> 2] | 0) != (i1 | 0)) {
+ return;
+ }
+ i1 = i2 + 16 | 0;
+ i5 = HEAP32[i1 >> 2] | 0;
+ if ((i5 | 0) == 0) {
+ HEAP32[i1 >> 2] = i3;
+ HEAP32[i2 + 24 >> 2] = i4;
+ HEAP32[i2 + 36 >> 2] = 1;
+ return;
+ }
+ if ((i5 | 0) != (i3 | 0)) {
+ i3 = i2 + 36 | 0;
+ HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1;
+ HEAP32[i2 + 24 >> 2] = 2;
+ HEAP8[i2 + 54 | 0] = 1;
+ return;
+ }
+ i3 = i2 + 24 | 0;
+ if ((HEAP32[i3 >> 2] | 0) != 2) {
+ return;
+ }
+ HEAP32[i3 >> 2] = i4;
+ return;
+}
+function __ZNK13btConvexShape19getMarginNonVirtualEv(i1) {
+ i1 = i1 | 0;
+ var d2 = 0.0;
+ switch (HEAP32[i1 + 4 >> 2] | 0) {
+ case 0:
+ {
+ d2 = +HEAPF32[i1 + 44 >> 2];
+ return +d2;
+ }
+ case 13:
+ {
+ d2 = +HEAPF32[i1 + 44 >> 2];
+ return +d2;
+ }
+ case 1:
+ {
+ d2 = +HEAPF32[i1 + 44 >> 2];
+ return +d2;
+ }
+ case 5:
+ case 4:
+ {
+ d2 = +HEAPF32[i1 + 44 >> 2];
+ return +d2;
+ }
+ case 8:
+ {
+ d2 = +HEAPF32[i1 + 28 >> 2] * +HEAPF32[i1 + 12 >> 2];
+ return +d2;
+ }
+ case 10:
+ {
+ d2 = +HEAPF32[i1 + 44 >> 2];
+ return +d2;
+ }
+ default:
+ {
+ d2 = +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i1 >> 2] | 0) + 44 >> 2] & 7](i1);
+ return +d2;
+ }
+ }
+ return 0.0;
+}
+function __ZN19btSingleRayCallback7processEPK17btBroadphaseProxy(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ i3 = i1 + 216 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ if (+HEAPF32[i4 + 4 >> 2] == 0.0) {
+ i5 = 0;
+ return i5 | 0;
+ }
+ i6 = HEAP32[i2 >> 2] | 0;
+ if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 8 >> 2] & 63](i4, HEAP32[i6 + 188 >> 2] | 0) | 0)) {
+ i5 = 1;
+ return i5 | 0;
+ }
+ __ZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackE(i1 + 68 | 0, i1 + 132 | 0, i6, HEAP32[i6 + 192 >> 2] | 0, i6 + 4 | 0, HEAP32[i3 >> 2] | 0);
+ i5 = 1;
+ return i5 | 0;
+}
+function __ZN32btSphereSphereCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ var i6 = 0;
+ __ZN30btActivatingCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1 | 0, i3, i4, i5);
+ HEAP32[i1 >> 2] = 2568;
+ i3 = i1 + 8 | 0;
+ HEAP8[i3] = 0;
+ i6 = i1 + 12 | 0;
+ HEAP32[i6 >> 2] = i2;
+ if ((i2 | 0) != 0) {
+ return;
+ }
+ i2 = HEAP32[i1 + 4 >> 2] | 0;
+ HEAP32[i6 >> 2] = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 12 >> 2] & 31](i2, i4, i5) | 0;
+ HEAP8[i3] = 1;
+ return;
+}
+function __ZN28btCompoundCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0;
+ i3 = i1 + 12 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ if ((i4 | 0) <= 0) {
+ return;
+ }
+ i5 = i1 + 20 | 0;
+ i1 = 0;
+ i6 = i4;
+ while (1) {
+ i4 = HEAP32[(HEAP32[i5 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ if ((i4 | 0) == 0) {
+ i7 = i6;
+ } else {
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 16 >> 2] & 127](i4, i2);
+ i7 = HEAP32[i3 >> 2] | 0;
+ }
+ i4 = i1 + 1 | 0;
+ if ((i4 | 0) < (i7 | 0)) {
+ i1 = i4;
+ i6 = i7;
+ } else {
+ break;
+ }
+ }
+ return;
+}
+function __ZNK21btConvexInternalShape9serializeEPvP12btSerializer(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ __ZNK16btCollisionShape9serializeEPvP12btSerializer(i1 | 0, i2, i3) | 0;
+ HEAPF32[i2 + 28 >> 2] = +HEAPF32[i1 + 28 >> 2];
+ HEAPF32[i2 + 32 >> 2] = +HEAPF32[i1 + 32 >> 2];
+ HEAPF32[i2 + 36 >> 2] = +HEAPF32[i1 + 36 >> 2];
+ HEAPF32[i2 + 40 >> 2] = +HEAPF32[i1 + 40 >> 2];
+ HEAPF32[i2 + 12 >> 2] = +HEAPF32[i1 + 12 >> 2];
+ HEAPF32[i2 + 16 >> 2] = +HEAPF32[i1 + 16 >> 2];
+ HEAPF32[i2 + 20 >> 2] = +HEAPF32[i1 + 20 >> 2];
+ HEAPF32[i2 + 24 >> 2] = +HEAPF32[i1 + 24 >> 2];
+ HEAPF32[i2 + 44 >> 2] = +HEAPF32[i1 + 44 >> 2];
+ return 800;
+}
+function __ZN23btDiscreteDynamicsWorld12removeActionEP17btActionInterface(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ i3 = i1 + 248 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 256 | 0;
+ i1 = 0;
+ while (1) {
+ if ((i1 | 0) >= (i4 | 0)) {
+ i6 = 422;
+ break;
+ }
+ i7 = HEAP32[i5 >> 2] | 0;
+ i8 = i7 + (i1 << 2) | 0;
+ if ((HEAP32[i8 >> 2] | 0) == (i2 | 0)) {
+ break;
+ } else {
+ i1 = i1 + 1 | 0;
+ }
+ }
+ if ((i6 | 0) == 422) {
+ return;
+ }
+ i6 = i4 - 1 | 0;
+ HEAP32[i8 >> 2] = HEAP32[i7 + (i6 << 2) >> 2];
+ HEAP32[(HEAP32[i5 >> 2] | 0) + (i6 << 2) >> 2] = i2;
+ HEAP32[i3 >> 2] = i6;
+ return;
+}
+function __ZN25btTriangleRaycastCallbackC2ERK9btVector3S2_j(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0;
+ HEAP32[i1 >> 2] = 3e3;
+ i5 = i1 + 4 | 0;
+ i6 = i2;
+ HEAP32[i5 >> 2] = HEAP32[i6 >> 2];
+ HEAP32[i5 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
+ HEAP32[i5 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
+ HEAP32[i5 + 12 >> 2] = HEAP32[i6 + 12 >> 2];
+ i6 = i1 + 20 | 0;
+ i5 = i3;
+ HEAP32[i6 >> 2] = HEAP32[i5 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i5 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i5 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i5 + 12 >> 2];
+ HEAP32[i1 + 36 >> 2] = i4;
+ HEAPF32[i1 + 40 >> 2] = 1.0;
+ return;
+}
+function __ZNK10btBoxShape8isInsideERK9btVector3f(i1, i2, d3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, i8 = 0;
+ d4 = +HEAPF32[i1 + 28 >> 2];
+ d5 = +HEAPF32[i1 + 32 >> 2];
+ d6 = +HEAPF32[i1 + 36 >> 2];
+ d7 = +HEAPF32[i2 >> 2];
+ if (d7 > d4 + d3) {
+ i8 = 0;
+ return i8 | 0;
+ }
+ if (d7 < -0.0 - d4 - d3) {
+ i8 = 0;
+ return i8 | 0;
+ }
+ d4 = +HEAPF32[i2 + 4 >> 2];
+ if (d4 > d5 + d3) {
+ i8 = 0;
+ return i8 | 0;
+ }
+ if (d4 < -0.0 - d5 - d3) {
+ i8 = 0;
+ return i8 | 0;
+ }
+ d5 = +HEAPF32[i2 + 8 >> 2];
+ if (d5 > d6 + d3) {
+ i8 = 0;
+ return i8 | 0;
+ }
+ i8 = d5 >= -0.0 - d6 - d3;
+ return i8 | 0;
+}
+function ___divdi3(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0;
+ i5 = i2 >> 31 | ((i2 | 0) < 0 ? -1 : 0) << 1;
+ i6 = ((i2 | 0) < 0 ? -1 : 0) >> 31 | ((i2 | 0) < 0 ? -1 : 0) << 1;
+ i7 = i4 >> 31 | ((i4 | 0) < 0 ? -1 : 0) << 1;
+ i8 = ((i4 | 0) < 0 ? -1 : 0) >> 31 | ((i4 | 0) < 0 ? -1 : 0) << 1;
+ i9 = _i64Subtract(i5 ^ i1, i6 ^ i2, i5, i6) | 0;
+ i2 = tempRet0;
+ i1 = i7 ^ i5;
+ i5 = i8 ^ i6;
+ i6 = _i64Subtract((___udivmoddi4(i9, i2, _i64Subtract(i7 ^ i3, i8 ^ i4, i7, i8) | 0, tempRet0, 0) | 0) ^ i1, tempRet0 ^ i5, i1, i5) | 0;
+ return (tempRet0 = tempRet0, i6) | 0;
+}
+function __ZN6btDbvt5clearEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0;
+ i2 = HEAP32[i1 >> 2] | 0;
+ if ((i2 | 0) != 0) {
+ __ZL17recursedeletenodeP6btDbvtP10btDbvtNode(i1, i2);
+ }
+ i2 = i1 + 4 | 0;
+ __Z21btAlignedFreeInternalPv(HEAP32[i2 >> 2] | 0);
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = -1;
+ i2 = i1 + 24 | 0;
+ i3 = i1 + 32 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 36 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ HEAP32[i1 + 16 >> 2] = 0;
+ return;
+}
+function __ZN6btDbvtD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0;
+ i2 = HEAP32[i1 >> 2] | 0;
+ if ((i2 | 0) != 0) {
+ __ZL17recursedeletenodeP6btDbvtP10btDbvtNode(i1, i2);
+ }
+ i2 = i1 + 4 | 0;
+ __Z21btAlignedFreeInternalPv(HEAP32[i2 >> 2] | 0);
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = -1;
+ i2 = i1 + 24 | 0;
+ i3 = i1 + 32 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 36 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP32[i1 + 16 >> 2] = 0;
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ return;
+}
+function __ZN32btSphereSphereCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0;
+ i1 = HEAP32[i2 >> 2] | 0;
+ i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 56 >> 2] & 63](i1, 16) | 0;
+ if ((i5 | 0) == 0) {
+ i6 = 0;
+ i7 = i6 | 0;
+ return i7 | 0;
+ }
+ i1 = i5;
+ __ZN32btSphereSphereCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_(i1, 0, i2, i3, i4);
+ i6 = i1;
+ i7 = i6 | 0;
+ return i7 | 0;
+}
+function __ZN11btRigidBody10setGravityERK9btVector3(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var d3 = 0.0, d4 = 0.0, d5 = 0.0, i6 = 0;
+ d3 = +HEAPF32[i1 + 336 >> 2];
+ if (d3 != 0.0) {
+ d4 = 1.0 / d3;
+ d3 = d4 * +HEAPF32[i2 + 4 >> 2];
+ d5 = d4 * +HEAPF32[i2 + 8 >> 2];
+ HEAPF32[i1 + 356 >> 2] = d4 * +HEAPF32[i2 >> 2];
+ HEAPF32[i1 + 360 >> 2] = d3;
+ HEAPF32[i1 + 364 >> 2] = d5;
+ HEAPF32[i1 + 368 >> 2] = 0.0;
+ }
+ i6 = i1 + 372 | 0;
+ i1 = i2;
+ HEAP32[i6 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i6 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i6 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i6 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ return;
+}
+function __ZNK16btCollisionWorld7rayTestERK9btVector3S2_RNS_17RayResultCallbackE(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0, i8 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 256 | 0;
+ i6 = i5 | 0;
+ i7 = i5 + 224 | 0;
+ i8 = i5 + 240 | 0;
+ __ZN19btSingleRayCallbackC2ERK9btVector3S2_PK16btCollisionWorldRNS3_17RayResultCallbackE(i6, i2, i3, i1, i4);
+ i4 = HEAP32[i1 + 76 >> 2] | 0;
+ i1 = HEAP32[(HEAP32[i4 >> 2] | 0) + 24 >> 2] | 0;
+ _memset(i7 | 0, 0, 16);
+ _memset(i8 | 0, 0, 16);
+ FUNCTION_TABLE_viiiiii[i1 & 15](i4, i2, i3, i6 | 0, i7, i8);
+ STACKTOP = i5;
+ return;
+}
+function __ZN22btVoronoiSimplexSolver14compute_pointsER9btVector3S1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0;
+ __ZN22btVoronoiSimplexSolver28updateClosestVectorAndPointsEv(i1) | 0;
+ i4 = i2;
+ i2 = i1 + 244 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ i2 = i3;
+ i3 = i1 + 260 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i2 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i2 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i2 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ return;
+}
+function __ZN26btBoxBoxCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0;
+ i1 = HEAP32[i2 >> 2] | 0;
+ i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 56 >> 2] & 63](i1, 16) | 0;
+ if ((i5 | 0) == 0) {
+ i6 = 0;
+ i7 = i6 | 0;
+ return i7 | 0;
+ }
+ i1 = i5;
+ __ZN26btBoxBoxCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_(i1, 0, i2, i3, i4);
+ i6 = i1;
+ i7 = i6 | 0;
+ return i7 | 0;
+}
+function __ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0;
+ i1 = HEAP32[i2 >> 2] | 0;
+ i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 56 >> 2] & 63](i1, 80) | 0;
+ if ((i5 | 0) == 0) {
+ i6 = 0;
+ i7 = i6 | 0;
+ return i7 | 0;
+ }
+ i1 = i5;
+ __ZN33btConvexConcaveCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(i1, i2, i3, i4, 1);
+ i6 = i1;
+ i7 = i6 | 0;
+ return i7 | 0;
+}
+function __ZNK34btClosestNotMeConvexResultCallback14needsCollisionEP17btBroadphaseProxy(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = HEAP32[i1 + 80 >> 2] | 0;
+ if ((i3 | 0) == (i4 | 0)) {
+ i5 = 0;
+ return i5 | 0;
+ }
+ if ((HEAP16[i1 + 10 >> 1] & HEAP16[i2 + 4 >> 1]) << 16 >> 16 == 0) {
+ i5 = 0;
+ return i5 | 0;
+ }
+ if ((HEAP16[i2 + 6 >> 1] & HEAP16[i1 + 8 >> 1]) << 16 >> 16 == 0) {
+ i5 = 0;
+ return i5 | 0;
+ }
+ i2 = HEAP32[i1 + 92 >> 2] | 0;
+ i5 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 31](i2, i4, i3) | 0;
+ return i5 | 0;
+}
+function __ZN33btConvexConcaveCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0;
+ i1 = HEAP32[i2 >> 2] | 0;
+ i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 56 >> 2] & 63](i1, 80) | 0;
+ if ((i5 | 0) == 0) {
+ i6 = 0;
+ i7 = i6 | 0;
+ return i7 | 0;
+ }
+ i1 = i5;
+ __ZN33btConvexConcaveCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(i1, i2, i3, i4, 0);
+ i6 = i1;
+ i7 = i6 | 0;
+ return i7 | 0;
+}
+function __ZN28btCompoundCollisionAlgorithm17SwappedCreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0;
+ i1 = HEAP32[i2 >> 2] | 0;
+ i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 56 >> 2] & 63](i1, 44) | 0;
+ if ((i5 | 0) == 0) {
+ i6 = 0;
+ i7 = i6 | 0;
+ return i7 | 0;
+ }
+ i1 = i5;
+ __ZN28btCompoundCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(i1, i2, i3, i4, 1);
+ i6 = i1;
+ i7 = i6 | 0;
+ return i7 | 0;
+}
+function __ZN23btDiscreteDynamicsWorld12applyGravityEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0;
+ i2 = i1 + 204 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ if ((i3 | 0) <= 0) {
+ return;
+ }
+ i4 = i1 + 212 | 0;
+ i1 = 0;
+ i5 = i3;
+ while (1) {
+ i3 = HEAP32[(HEAP32[i4 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ i6 = HEAP32[i3 + 216 >> 2] | 0;
+ if ((i6 | 0) == 5 | (i6 | 0) == 2) {
+ i7 = i5;
+ } else {
+ __ZN11btRigidBody12applyGravityEv(i3);
+ i7 = HEAP32[i2 >> 2] | 0;
+ }
+ i3 = i1 + 1 | 0;
+ if ((i3 | 0) < (i7 | 0)) {
+ i1 = i3;
+ i5 = i7;
+ } else {
+ break;
+ }
+ }
+ return;
+}
+function __ZN28btCompoundCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0;
+ i1 = HEAP32[i2 >> 2] | 0;
+ i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 56 >> 2] & 63](i1, 44) | 0;
+ if ((i5 | 0) == 0) {
+ i6 = 0;
+ i7 = i6 | 0;
+ return i7 | 0;
+ }
+ i1 = i5;
+ __ZN28btCompoundCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(i1, i2, i3, i4, 0);
+ i6 = i1;
+ i7 = i6 | 0;
+ return i7 | 0;
+}
+function __ZN21btCollisionDispatcher22freeCollisionAlgorithmEPv(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = HEAP32[i1 + 192 >> 2] | 0;
+ do {
+ if ((i2 | 0) != 0) {
+ i1 = HEAP32[i3 + 16 >> 2] | 0;
+ if (i1 >>> 0 > i2 >>> 0) {
+ break;
+ }
+ if ((i1 + (Math_imul(HEAP32[i3 >> 2] | 0, HEAP32[i3 + 4 >> 2] | 0) | 0) | 0) >>> 0 <= i2 >>> 0) {
+ break;
+ }
+ i1 = i3 + 12 | 0;
+ HEAP32[i2 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i1 >> 2] = i2;
+ i1 = i3 + 8 | 0;
+ HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 1;
+ return;
+ }
+ } while (0);
+ __Z21btAlignedFreeInternalPv(i2);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld14updateVehiclesEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ __ZN15CProfileManager13Start_ProfileEPKc(456);
+ i3 = i1 + 248 | 0;
+ if ((HEAP32[i3 >> 2] | 0) <= 0) {
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+ }
+ i4 = i1 + 256 | 0;
+ i5 = i1 | 0;
+ i1 = 0;
+ do {
+ i6 = HEAP32[(HEAP32[i4 >> 2] | 0) + (i1 << 2) >> 2] | 0;
+ FUNCTION_TABLE_viif[HEAP32[(HEAP32[i6 >> 2] | 0) + 8 >> 2] & 3](i6, i5, d2);
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (HEAP32[i3 >> 2] | 0));
+ __ZN15CProfileManager12Stop_ProfileEv();
+ return;
+}
+function __ZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ var i7 = 0, i8 = 0, i9 = 0;
+ i7 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i8 = i7 | 0;
+ i9 = HEAP32[i1 + 48 >> 2] | 0;
+ HEAP32[i8 >> 2] = 1592;
+ HEAP32[i8 + 4 >> 2] = i9;
+ HEAP32[i8 + 8 >> 2] = i2;
+ __ZNK14btQuantizedBvh29reportBoxCastOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_(HEAP32[i1 + 52 >> 2] | 0, i8 | 0, i3, i4, i5, i6);
+ STACKTOP = i7;
+ return;
+}
+function __ZNK14btQuantizedBvh29reportBoxCastOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ if ((HEAP8[i1 + 60 | 0] | 0) == 0) {
+ __ZNK14btQuantizedBvh27walkStacklessTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(i1, i2, i3, i4, i5, i6, 0, 0);
+ return;
+ } else {
+ __ZNK14btQuantizedBvh36walkStacklessQuantizedTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(i1, i2, i3, i4, i5, i6, 0, HEAP32[i1 + 56 >> 2] | 0);
+ return;
+ }
+}
+function __ZN21btCollisionDispatcher13findAlgorithmEP17btCollisionObjectS1_P20btPersistentManifold(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i6 = i5 | 0;
+ HEAP32[i6 >> 2] = i1;
+ HEAP32[i6 + 4 >> 2] = i4;
+ i4 = HEAP32[i1 + 200 + ((HEAP32[(HEAP32[i2 + 192 >> 2] | 0) + 4 >> 2] | 0) * 144 | 0) + (HEAP32[(HEAP32[i3 + 192 >> 2] | 0) + 4 >> 2] << 2) >> 2] | 0;
+ i1 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i4 >> 2] | 0) + 8 >> 2] & 31](i4, i6, i2, i3) | 0;
+ STACKTOP = i5;
+ return i1 | 0;
+}
+function __ZN33btConvexConcaveCollisionAlgorithmD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0;
+ HEAP32[i1 >> 2] = 2528;
+ i2 = i1 + 12 | 0;
+ HEAP32[i2 >> 2] = 3104;
+ i3 = i1 + 60 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 76 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 20 >> 2] & 127](i4, HEAP32[i5 >> 2] | 0);
+ i4 = HEAP32[i3 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 16 >> 2] & 127](i4, HEAP32[i5 >> 2] | 0);
+ __ZN18btTriangleCallbackD2Ev(i2 | 0);
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK16btDbvtBroadphase7getAabbEP17btBroadphaseProxyR9btVector3S3_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i1 = i3;
+ i3 = i2 + 16 | 0;
+ HEAP32[i1 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i1 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i1 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i1 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ i3 = i4;
+ i4 = i2 + 32 | 0;
+ HEAP32[i3 >> 2] = HEAP32[i4 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i4 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i4 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i4 + 12 >> 2];
+ return;
+}
+function __ZN33btConvexConcaveCollisionAlgorithmD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0;
+ HEAP32[i1 >> 2] = 2528;
+ i2 = i1 + 12 | 0;
+ HEAP32[i2 >> 2] = 3104;
+ i3 = i1 + 60 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 76 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 20 >> 2] & 127](i4, HEAP32[i5 >> 2] | 0);
+ i4 = HEAP32[i3 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 16 >> 2] & 127](i4, HEAP32[i5 >> 2] | 0);
+ __ZN18btTriangleCallbackD2Ev(i2 | 0);
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i1 | 0);
+ return;
+}
+function __ZL8pointCmpRKN20btConvexHullInternal7Point32ES2_(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0;
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ i4 = HEAP32[i2 + 4 >> 2] | 0;
+ if ((i3 | 0) < (i4 | 0)) {
+ i5 = 1;
+ return i5 | 0;
+ }
+ if ((i3 | 0) != (i4 | 0)) {
+ i5 = 0;
+ return i5 | 0;
+ }
+ i4 = HEAP32[i1 >> 2] | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ if ((i4 | 0) < (i3 | 0)) {
+ i5 = 1;
+ return i5 | 0;
+ }
+ if ((i4 | 0) != (i3 | 0)) {
+ i5 = 0;
+ return i5 | 0;
+ }
+ i5 = (HEAP32[i1 + 8 >> 2] | 0) < (HEAP32[i2 + 8 >> 2] | 0);
+ return i5 | 0;
+}
+function __ZN21btCollisionDispatcher14needsCollisionEP17btCollisionObjectS1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0;
+ i1 = HEAP32[i2 + 216 >> 2] | 0;
+ do {
+ if ((i1 | 0) == 5 | (i1 | 0) == 2) {
+ i4 = HEAP32[i3 + 216 >> 2] | 0;
+ if ((i4 | 0) == 5 | (i4 | 0) == 2) {
+ i5 = 0;
+ } else {
+ break;
+ }
+ return i5 | 0;
+ }
+ } while (0);
+ if ((HEAP32[i2 + 252 >> 2] | 0) == 0) {
+ i5 = 1;
+ return i5 | 0;
+ }
+ i5 = FUNCTION_TABLE_iii[HEAP32[HEAP32[i2 >> 2] >> 2] & 63](i2, i3) | 0;
+ return i5 | 0;
+}
+function __ZN16btDbvtBroadphase9resetPoolEP12btDispatcher(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ if ((HEAP32[i1 + 16 >> 2] | 0) != (-(HEAP32[i1 + 56 >> 2] | 0) | 0)) {
+ return;
+ }
+ __ZN6btDbvt5clearEv(i1 + 4 | 0);
+ __ZN6btDbvt5clearEv(i1 + 44 | 0);
+ HEAP8[i1 + 153 | 0] = 0;
+ HEAP8[i1 + 154 | 0] = 1;
+ HEAP32[i1 + 104 >> 2] = 0;
+ HEAP32[i1 + 124 >> 2] = 0;
+ HEAP32[i1 + 108 >> 2] = 1;
+ HEAP32[i1 + 112 >> 2] = 0;
+ HEAP32[i1 + 116 >> 2] = 10;
+ HEAP32[i1 + 120 >> 2] = 1;
+ _memset(i1 + 84 | 0, 0, 12);
+ _memset(i1 + 128 | 0, 0, 24);
+ return;
+}
+function _memcpy(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0;
+ i4 = i1 | 0;
+ if ((i1 & 3) == (i2 & 3)) {
+ while (i1 & 3) {
+ if ((i3 | 0) == 0) return i4 | 0;
+ HEAP8[i1] = HEAP8[i2] | 0;
+ i1 = i1 + 1 | 0;
+ i2 = i2 + 1 | 0;
+ i3 = i3 - 1 | 0;
+ }
+ while ((i3 | 0) >= 4) {
+ HEAP32[i1 >> 2] = HEAP32[i2 >> 2];
+ i1 = i1 + 4 | 0;
+ i2 = i2 + 4 | 0;
+ i3 = i3 - 4 | 0;
+ }
+ }
+ while ((i3 | 0) > 0) {
+ HEAP8[i1] = HEAP8[i2] | 0;
+ i1 = i1 + 1 | 0;
+ i2 = i2 + 1 | 0;
+ i3 = i3 - 1 | 0;
+ }
+ return i4 | 0;
+}
+function __ZNK10btBoxShape37localGetSupportingVertexWithoutMarginERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0;
+ d4 = +HEAPF32[i2 + 28 >> 2];
+ d5 = +HEAPF32[i2 + 32 >> 2];
+ d6 = +HEAPF32[i3 + 4 >> 2] >= 0.0 ? d5 : -0.0 - d5;
+ d5 = +HEAPF32[i2 + 36 >> 2];
+ d7 = +HEAPF32[i3 + 8 >> 2] >= 0.0 ? d5 : -0.0 - d5;
+ HEAPF32[i1 >> 2] = +HEAPF32[i3 >> 2] >= 0.0 ? d4 : -0.0 - d4;
+ HEAPF32[i1 + 4 >> 2] = d6;
+ HEAPF32[i1 + 8 >> 2] = d7;
+ HEAPF32[i1 + 12 >> 2] = 0.0;
+ return;
+}
+function __ZNK11btRigidBody21serializeSingleObjectEP12btSerializer(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0;
+ i3 = HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] | 0;
+ i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ i5 = FUNCTION_TABLE_iiii[i3 & 31](i2, i4, 1) | 0;
+ i4 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 20 >> 2] & 31](i1, HEAP32[i5 + 8 >> 2] | 0, i2) | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i2, i5, i4, 1497645650, i1);
+ return;
+}
+function __ZN16btEmptyAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0;
+ i4 = HEAP32[i2 >> 2] | 0;
+ i3 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 56 >> 2] & 63](i4, 8) | 0;
+ if ((i3 | 0) == 0) {
+ i5 = 0;
+ i6 = i5 | 0;
+ return i6 | 0;
+ }
+ i4 = i3;
+ __ZN16btEmptyAlgorithmC2ERK36btCollisionAlgorithmConstructionInfo(i4, i2);
+ i5 = i4;
+ i6 = i5 | 0;
+ return i6 | 0;
+}
+function __ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallback14processOverlapER16btBroadphasePair(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ do {
+ if ((HEAP32[i2 >> 2] | 0) != (i3 | 0)) {
+ if ((HEAP32[i2 + 4 >> 2] | 0) == (i3 | 0)) {
+ break;
+ }
+ return 0;
+ }
+ } while (0);
+ i3 = HEAP32[i1 + 8 >> 2] | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i3 >> 2] | 0) + 32 >> 2] & 127](i3, i2, HEAP32[i1 + 12 >> 2] | 0);
+ return 0;
+}
+function __ZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0, i7 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i6 = i5 | 0;
+ i7 = HEAP32[i1 + 48 >> 2] | 0;
+ HEAP32[i6 >> 2] = 1624;
+ HEAP32[i6 + 4 >> 2] = i7;
+ HEAP32[i6 + 8 >> 2] = i2;
+ __ZNK14btQuantizedBvh25reportRayOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_(HEAP32[i1 + 52 >> 2] | 0, i6 | 0, i3, i4);
+ STACKTOP = i5;
+ return;
+}
+function __ZNK17btCollisionObject21serializeSingleObjectEP12btSerializer(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0;
+ i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 16 >> 2] & 127](i1) | 0;
+ i4 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] & 31](i2, i3, 1) | 0;
+ i3 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 20 >> 2] & 31](i1, HEAP32[i4 + 8 >> 2] | 0, i2) | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i2, i4, i3, 1245859651, i1);
+ return;
+}
+function __ZN11btRigidBody12applyGravityEv(i1) {
+ i1 = i1 | 0;
+ var d2 = 0.0, d3 = 0.0, i4 = 0;
+ if ((HEAP32[i1 + 204 >> 2] & 3 | 0) != 0) {
+ return;
+ }
+ d2 = +HEAPF32[i1 + 360 >> 2] * +HEAPF32[i1 + 344 >> 2];
+ d3 = +HEAPF32[i1 + 364 >> 2] * +HEAPF32[i1 + 348 >> 2];
+ i4 = i1 + 404 | 0;
+ HEAPF32[i4 >> 2] = +HEAPF32[i1 + 356 >> 2] * +HEAPF32[i1 + 340 >> 2] + +HEAPF32[i4 >> 2];
+ i4 = i1 + 408 | 0;
+ HEAPF32[i4 >> 2] = d2 + +HEAPF32[i4 >> 2];
+ i4 = i1 + 412 | 0;
+ HEAPF32[i4 >> 2] = d3 + +HEAPF32[i4 >> 2];
+ return;
+}
+function __ZNK16btCollisionShape20serializeSingleShapeEP12btSerializer(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0;
+ i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 127](i1) | 0;
+ i4 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] & 31](i2, i3, 1) | 0;
+ i3 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 52 >> 2] & 31](i1, HEAP32[i4 + 8 >> 2] | 0, i2) | 0;
+ FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i2, i4, i3, 1346455635, i1);
+ return;
+}
+function _memset(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0;
+ i4 = i1 + i3 | 0;
+ if ((i3 | 0) >= 20) {
+ i2 = i2 & 255;
+ i3 = i1 & 3;
+ i5 = i2 | i2 << 8 | i2 << 16 | i2 << 24;
+ i6 = i4 & ~3;
+ if (i3) {
+ i3 = i1 + 4 - i3 | 0;
+ while ((i1 | 0) < (i3 | 0)) {
+ HEAP8[i1] = i2;
+ i1 = i1 + 1 | 0;
+ }
+ }
+ while ((i1 | 0) < (i6 | 0)) {
+ HEAP32[i1 >> 2] = i5;
+ i1 = i1 + 4 | 0;
+ }
+ }
+ while ((i1 | 0) < (i4 | 0)) {
+ HEAP8[i1] = i2;
+ i1 = i1 + 1 | 0;
+ }
+}
+function __ZNK16btCollisionShape9serializeEPvP12btSerializer(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0, i6 = 0;
+ i4 = i3;
+ i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 63](i3, i1) | 0;
+ i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i3, i5) | 0;
+ HEAP32[i2 >> 2] = i6;
+ if ((i6 | 0) != 0) {
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 48 >> 2] & 127](i3, i5);
+ }
+ HEAP32[i2 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ return 1064;
+}
+function __ZL17recursedeletenodeP6btDbvtP10btDbvtNode(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = i2 + 40 | 0;
+ if ((HEAP32[i3 >> 2] | 0) != 0) {
+ __ZL17recursedeletenodeP6btDbvtP10btDbvtNode(i1, HEAP32[i2 + 36 >> 2] | 0);
+ __ZL17recursedeletenodeP6btDbvtP10btDbvtNode(i1, HEAP32[i3 >> 2] | 0);
+ }
+ i3 = i1 | 0;
+ if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) {
+ HEAP32[i3 >> 2] = 0;
+ }
+ i3 = i1 + 4 | 0;
+ __Z21btAlignedFreeInternalPv(HEAP32[i3 >> 2] | 0);
+ HEAP32[i3 >> 2] = i2;
+ return;
+}
+function __ZNK16btCollisionShape20getAngularMotionDiscEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + 24 | 0;
+ i3 = i2 | 0;
+ i4 = i2 + 16 | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] & 127](i1, i3, i4);
+ d5 = +HEAPF32[i3 >> 2];
+ d6 = +HEAPF32[i3 + 4 >> 2];
+ d7 = +HEAPF32[i3 + 8 >> 2];
+ d8 = +Math_sqrt(+(d5 * d5 + d6 * d6 + d7 * d7));
+ STACKTOP = i2;
+ return +(d8 + +HEAPF32[i4 >> 2]);
+}
+function __ZN11btRigidBodyD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0;
+ HEAP32[i1 >> 2] = 4936;
+ i2 = i1 + 480 | 0;
+ i3 = i1 + 488 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 492 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 484 >> 2] = 0;
+ __ZN17btCollisionObjectD2Ev(i1 | 0);
+ __Z21btAlignedFreeInternalPv(i1);
+ return;
+}
+function __Znwj(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0;
+ i2 = (i1 | 0) == 0 ? 1 : i1;
+ while (1) {
+ i3 = _malloc(i2) | 0;
+ if ((i3 | 0) != 0) {
+ i4 = 566;
+ break;
+ }
+ i1 = (tempValue = HEAP32[3580] | 0, HEAP32[3580] = tempValue + 0, tempValue);
+ if ((i1 | 0) == 0) {
+ break;
+ }
+ FUNCTION_TABLE_v[i1 & 3]();
+ }
+ if ((i4 | 0) == 566) {
+ return i3 | 0;
+ }
+ i3 = ___cxa_allocate_exception(4) | 0;
+ HEAP32[i3 >> 2] = 1896;
+ ___cxa_throw(i3 | 0, 10592, 32);
+ return 0;
+}
+function __ZN21btCollisionDispatcher25dispatchAllCollisionPairsEP22btOverlappingPairCacheRK16btDispatcherInfoP12btDispatcher(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i6 = i5 | 0;
+ HEAP32[i6 >> 2] = 3504;
+ HEAP32[i6 + 4 >> 2] = i3;
+ HEAP32[i6 + 8 >> 2] = i1;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i2 >> 2] | 0) + 48 >> 2] & 127](i2, i6 | 0, i4);
+ STACKTOP = i5;
+ return;
+}
+function __ZN21btCollisionDispatcherD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0;
+ HEAP32[i1 >> 2] = 3784;
+ i2 = i1 + 12 | 0;
+ i3 = i1 + 20 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 24 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 16 >> 2] = 0;
+ __ZN12btDispatcherD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN21btCollisionDispatcher26allocateCollisionAlgorithmEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0;
+ i3 = HEAP32[i1 + 192 >> 2] | 0;
+ i1 = i3 + 8 | 0;
+ i4 = HEAP32[i1 >> 2] | 0;
+ if ((i4 | 0) == 0) {
+ i5 = __Z22btAlignedAllocInternalji(i2, 16) | 0;
+ return i5 | 0;
+ } else {
+ i2 = i3 + 12 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ HEAP32[i2 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i1 >> 2] = i4 - 1;
+ i5 = i3;
+ return i5 | 0;
+ }
+ return 0;
+}
+function __ZN18btDbvtTreeCollider7ProcessEPK10btDbvtNodeS2_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0;
+ if ((i2 | 0) == (i3 | 0)) {
+ return;
+ }
+ i4 = i1 + 4 | 0;
+ i1 = HEAP32[(HEAP32[i4 >> 2] | 0) + 96 >> 2] | 0;
+ FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 31](i1 | 0, HEAP32[i2 + 36 >> 2] | 0, HEAP32[i3 + 36 >> 2] | 0) | 0;
+ i3 = (HEAP32[i4 >> 2] | 0) + 120 | 0;
+ HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1;
+ return;
+}
+function __ZN12CProfileNodeD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ i2 = HEAP32[i1 + 24 >> 2] | 0;
+ if ((i2 | 0) != 0) {
+ __ZN12CProfileNodeD2Ev(i2);
+ __ZdlPv(i2);
+ }
+ i2 = HEAP32[i1 + 28 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ return;
+ }
+ i1 = HEAP32[i2 + 24 >> 2] | 0;
+ if ((i1 | 0) != 0) {
+ __ZN12CProfileNodeD2Ev(i1);
+ __ZdlPv(i1);
+ }
+ i1 = HEAP32[i2 + 28 >> 2] | 0;
+ if ((i1 | 0) != 0) {
+ __ZN12CProfileNodeD2Ev(i1);
+ __ZdlPv(i1);
+ }
+ __ZdlPv(i2);
+ return;
+}
+function __ZN24btConvexTriangleCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0;
+ HEAP32[i1 >> 2] = 3104;
+ i2 = i1 + 48 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 + 64 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 20 >> 2] & 127](i3, HEAP32[i4 >> 2] | 0);
+ i3 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, HEAP32[i4 >> 2] | 0);
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcher(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 16 | 0;
+ i5 = i4 | 0;
+ HEAP32[i5 >> 2] = 1488;
+ HEAP32[i5 + 4 >> 2] = i2;
+ HEAP32[i5 + 8 >> 2] = i1;
+ HEAP32[i5 + 12 >> 2] = i3;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 127](i1, i5 | 0, i3);
+ STACKTOP = i4;
+ return;
+}
+function __ZN21btCollisionDispatcherD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0;
+ HEAP32[i1 >> 2] = 3784;
+ i2 = i1 + 12 | 0;
+ i3 = i1 + 20 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 24 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 16 >> 2] = 0;
+ __ZN12btDispatcherD2Ev(i1 | 0);
+ return;
+}
+function __ZN11btRigidBodyD1Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0;
+ HEAP32[i1 >> 2] = 4936;
+ i2 = i1 + 480 | 0;
+ i3 = i1 + 488 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 492 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 484 >> 2] = 0;
+ __ZN17btCollisionObjectD2Ev(i1 | 0);
+ return;
+}
+function __ZNK13btSphereShape21calculateLocalInertiaEfR9btVector3(i1, d2, i3) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ var i4 = 0, d5 = 0.0;
+ i4 = i1;
+ d5 = d2 * .4000000059604645 * +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i1);
+ d2 = d5 * +FUNCTION_TABLE_fi[HEAP32[(HEAP32[i4 >> 2] | 0) + 44 >> 2] & 7](i1);
+ HEAPF32[i3 >> 2] = d2;
+ HEAPF32[i3 + 4 >> 2] = d2;
+ HEAPF32[i3 + 8 >> 2] = d2;
+ HEAPF32[i3 + 12 >> 2] = 0.0;
+ return;
+}
+function __ZN24btConvexTriangleCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0;
+ HEAP32[i1 >> 2] = 3104;
+ i2 = i1 + 48 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ i4 = i1 + 64 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 20 >> 2] & 127](i3, HEAP32[i4 >> 2] | 0);
+ i3 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, HEAP32[i4 >> 2] | 0);
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ return;
+}
+function __ZN34btSphereTriangleCollisionAlgorithmD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 2424;
+ do {
+ if ((HEAP8[i1 + 8 | 0] | 0) != 0) {
+ i2 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ break;
+ }
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, i2);
+ }
+ } while (0);
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN21btCollisionDispatcher13needsResponseEP17btCollisionObjectS1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0;
+ i1 = HEAP32[i2 + 204 >> 2] | 0;
+ do {
+ if ((i1 & 4 | 0) == 0) {
+ i2 = HEAP32[i3 + 204 >> 2] | 0;
+ if ((i2 & 4 | 0) != 0) {
+ i4 = 0;
+ break;
+ }
+ if ((i1 & 3 | 0) == 0) {
+ i4 = 1;
+ break;
+ }
+ i4 = (i2 & 3 | 0) == 0;
+ } else {
+ i4 = 0;
+ }
+ } while (0);
+ return i4 | 0;
+}
+function __ZN32btSphereSphereCollisionAlgorithmD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 2568;
+ do {
+ if ((HEAP8[i1 + 8 | 0] | 0) != 0) {
+ i2 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ break;
+ }
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, i2);
+ }
+ } while (0);
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN21btCollisionDispatcher13clearManifoldEP20btPersistentManifold(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i1 = i2 + 1116 | 0;
+ if ((HEAP32[i1 >> 2] | 0) > 0) {
+ i3 = 0;
+ } else {
+ HEAP32[i1 >> 2] = 0;
+ return;
+ }
+ do {
+ __ZN20btPersistentManifold14clearUserCacheER15btManifoldPoint(i2, i2 + 4 + (i3 * 276 | 0) | 0);
+ i3 = i3 + 1 | 0;
+ } while ((i3 | 0) < (HEAP32[i1 >> 2] | 0));
+ HEAP32[i1 >> 2] = 0;
+ return;
+}
+function copyTempDouble(i1) {
+ i1 = i1 | 0;
+ HEAP8[tempDoublePtr] = HEAP8[i1];
+ HEAP8[tempDoublePtr + 1 | 0] = HEAP8[i1 + 1 | 0];
+ HEAP8[tempDoublePtr + 2 | 0] = HEAP8[i1 + 2 | 0];
+ HEAP8[tempDoublePtr + 3 | 0] = HEAP8[i1 + 3 | 0];
+ HEAP8[tempDoublePtr + 4 | 0] = HEAP8[i1 + 4 | 0];
+ HEAP8[tempDoublePtr + 5 | 0] = HEAP8[i1 + 5 | 0];
+ HEAP8[tempDoublePtr + 6 | 0] = HEAP8[i1 + 6 | 0];
+ HEAP8[tempDoublePtr + 7 | 0] = HEAP8[i1 + 7 | 0];
+}
+function __ZN23btDiscreteDynamicsWorld9serializeEP12btSerializer(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = i2;
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i3 >> 2] | 0) + 32 >> 2] & 511](i2);
+ __ZN23btDiscreteDynamicsWorld20serializeRigidBodiesEP12btSerializer(i1, i2);
+ __ZN16btCollisionWorld25serializeCollisionObjectsEP12btSerializer(i1 | 0, i2);
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 511](i2);
+ return;
+}
+function __ZN31btConvexPlaneCollisionAlgorithmD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0;
+ HEAP32[i1 >> 2] = 2656;
+ if ((HEAP8[i1 + 8 | 0] | 0) == 0) {
+ i2 = i1;
+ __ZdlPv(i2);
+ return;
+ }
+ i3 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i3 | 0) == 0) {
+ i2 = i1;
+ __ZdlPv(i2);
+ return;
+ }
+ i4 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 16 >> 2] & 127](i4, i3);
+ i2 = i1;
+ __ZdlPv(i2);
+ return;
+}
+function __ZN26btBoxBoxCollisionAlgorithmD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 2960;
+ do {
+ if ((HEAP8[i1 + 8 | 0] | 0) != 0) {
+ i2 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ break;
+ }
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, i2);
+ }
+ } while (0);
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN23btConvexConvexAlgorithmD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 3464;
+ do {
+ if ((HEAP8[i1 + 16 | 0] | 0) != 0) {
+ i2 = HEAP32[i1 + 20 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ break;
+ }
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, i2);
+ }
+ } while (0);
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN22btVoronoiSimplexSolver5resetEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ HEAP8[i1 + 312 | 0] = 0;
+ HEAP32[i1 >> 2] = 0;
+ HEAP8[i1 + 356 | 0] = 1;
+ HEAPF32[i1 + 292 >> 2] = 999999984306749400.0;
+ HEAPF32[i1 + 296 >> 2] = 999999984306749400.0;
+ HEAPF32[i1 + 300 >> 2] = 999999984306749400.0;
+ HEAPF32[i1 + 304 >> 2] = 0.0;
+ i2 = i1 + 332 | 0;
+ _memset(i1 + 336 | 0, 0, 17);
+ HEAP16[i2 >> 1] = HEAP16[i2 >> 1] & -16;
+ return;
+}
+function __ZN34btSphereTriangleCollisionAlgorithmD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 2424;
+ do {
+ if ((HEAP8[i1 + 8 | 0] | 0) != 0) {
+ i2 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ break;
+ }
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, i2);
+ }
+ } while (0);
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i1 | 0);
+ return;
+}
+function __ZN32btSphereSphereCollisionAlgorithmD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 2568;
+ do {
+ if ((HEAP8[i1 + 8 | 0] | 0) != 0) {
+ i2 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ break;
+ }
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, i2);
+ }
+ } while (0);
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i1 | 0);
+ return;
+}
+function __ZN28btHashedOverlappingPairCache20cleanOverlappingPairER16btBroadphasePairP12btDispatcher(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i1 = i2 + 8 | 0;
+ i2 = HEAP32[i1 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ return;
+ }
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i2 >> 2] >> 2] & 511](i2);
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 60 >> 2] & 127](i3, HEAP32[i1 >> 2] | 0);
+ HEAP32[i1 >> 2] = 0;
+ return;
+}
+function __ZN26btBoxBoxCollisionAlgorithmD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 2960;
+ do {
+ if ((HEAP8[i1 + 8 | 0] | 0) != 0) {
+ i2 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ break;
+ }
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, i2);
+ }
+ } while (0);
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i1 | 0);
+ return;
+}
+function __ZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcher(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0, i5 = 0;
+ i4 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i5 = i4 | 0;
+ HEAP32[i5 >> 2] = 1456;
+ HEAP32[i5 + 4 >> 2] = i2;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 127](i1, i5 | 0, i3);
+ STACKTOP = i4;
+ return;
+}
+function __ZN23btConvexConvexAlgorithmD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 3464;
+ do {
+ if ((HEAP8[i1 + 16 | 0] | 0) != 0) {
+ i2 = HEAP32[i1 + 20 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ break;
+ }
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, i2);
+ }
+ } while (0);
+ __ZN30btActivatingCollisionAlgorithmD2Ev(i1 | 0);
+ return;
+}
+function __ZN22btVoronoiSimplexSolver7closestER9btVector3(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0;
+ i3 = __ZN22btVoronoiSimplexSolver28updateClosestVectorAndPointsEv(i1) | 0;
+ i4 = i2;
+ i2 = i1 + 276 | 0;
+ HEAP32[i4 >> 2] = HEAP32[i2 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i2 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i2 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i2 + 12 >> 2];
+ return i3 | 0;
+}
+function __ZN18btConvexPolyhedronC2Ev(i1) {
+ i1 = i1 | 0;
+ HEAP32[i1 >> 2] = 4112;
+ HEAP8[i1 + 20 | 0] = 1;
+ HEAP32[i1 + 16 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = 0;
+ HEAP32[i1 + 12 >> 2] = 0;
+ HEAP8[i1 + 40 | 0] = 1;
+ HEAP32[i1 + 36 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ HEAP32[i1 + 32 >> 2] = 0;
+ HEAP8[i1 + 60 | 0] = 1;
+ HEAP32[i1 + 56 >> 2] = 0;
+ HEAP32[i1 + 48 >> 2] = 0;
+ HEAP32[i1 + 52 >> 2] = 0;
+ return;
+}
+function ___muldsi3(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0, i6 = 0;
+ i3 = i1 & 65535;
+ i4 = i2 & 65535;
+ i5 = Math_imul(i4, i3) | 0;
+ i6 = i1 >>> 16;
+ i1 = (i5 >>> 16) + (Math_imul(i4, i6) | 0) | 0;
+ i4 = i2 >>> 16;
+ i2 = Math_imul(i4, i3) | 0;
+ return (tempRet0 = (i1 >>> 16) + (Math_imul(i4, i6) | 0) + (((i1 & 65535) + i2 | 0) >>> 16) | 0, i1 + i2 << 16 | i5 & 65535 | 0) | 0;
+}
+function __ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ __ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(i1, i2, i3, i4);
+ return;
+}
+function __ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallback14processOverlapER16btBroadphasePair(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0;
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ if ((HEAP32[i2 >> 2] | 0) == (i3 | 0)) {
+ i4 = 1;
+ return i4 | 0;
+ }
+ i4 = (HEAP32[i2 + 4 >> 2] | 0) == (i3 | 0);
+ return i4 | 0;
+}
+function dynCall_iiiiiiiiiiii(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ i12 = i12 | 0;
+ return FUNCTION_TABLE_iiiiiiiiiiii[i1 & 7](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0, i8 | 0, i9 | 0, i10 | 0, i11 | 0, i12 | 0) | 0;
+}
+function dynCall_fiiiiiiiiiii(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ i12 = i12 | 0;
+ return +FUNCTION_TABLE_fiiiiiiiiiii[i1 & 3](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0, i8 | 0, i9 | 0, i10 | 0, i11 | 0, i12 | 0);
+}
+function __ZN21btConvexInternalShape15setLocalScalingERK9btVector3(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var d3 = 0.0, d4 = 0.0, d5 = 0.0;
+ d3 = +Math_abs(+(+HEAPF32[i2 >> 2]));
+ d4 = +Math_abs(+(+HEAPF32[i2 + 4 >> 2]));
+ d5 = +Math_abs(+(+HEAPF32[i2 + 8 >> 2]));
+ HEAPF32[i1 + 12 >> 2] = d3;
+ HEAPF32[i1 + 16 >> 2] = d4;
+ HEAPF32[i1 + 20 >> 2] = d5;
+ HEAPF32[i1 + 24 >> 2] = 0.0;
+ return;
+}
+function __ZN16btDbvtBroadphaseD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 4392;
+ if ((HEAP8[i1 + 152 | 0] | 0) != 0) {
+ i2 = i1 + 96 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i2 >> 2] | 0);
+ }
+ __ZN6btDbvtD2Ev(i1 + 44 | 0);
+ __ZN6btDbvtD2Ev(i1 + 4 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK13btSphereShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0;
+ if ((i4 | 0) > 0) {
+ i5 = 0;
+ } else {
+ return;
+ }
+ while (1) {
+ i2 = i5 + 1 | 0;
+ _memset(i3 + (i5 << 4) | 0, 0, 16);
+ if ((i2 | 0) < (i4 | 0)) {
+ i5 = i2;
+ } else {
+ break;
+ }
+ }
+ return;
+}
+function __ZN27btContinuousConvexCollisionC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ HEAP32[i1 >> 2] = 2928;
+ HEAP32[i1 + 4 >> 2] = i4;
+ HEAP32[i1 + 8 >> 2] = i5;
+ HEAP32[i1 + 12 >> 2] = i2;
+ HEAP32[i1 + 16 >> 2] = i3;
+ HEAP32[i1 + 20 >> 2] = 0;
+ return;
+}
+function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfENK14LocalInfoAdder14needsCollisionE_1P17btBroadphaseProxy(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = HEAP32[i1 + 12 >> 2] | 0;
+ return FUNCTION_TABLE_iii[HEAP32[(HEAP32[i3 >> 2] | 0) + 8 >> 2] & 63](i3, i2) | 0;
+}
+function __ZN11btUnionFindD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0, i4 = 0, i5 = 0;
+ i2 = i1 + 4 | 0;
+ i3 = i1 + 12 | 0;
+ i4 = HEAP32[i3 >> 2] | 0;
+ i5 = i1 + 16 | 0;
+ if ((i4 | 0) != 0) {
+ if ((HEAP8[i5] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i4);
+ }
+ HEAP32[i3 >> 2] = 0;
+ }
+ HEAP8[i5] = 1;
+ HEAP32[i3 >> 2] = 0;
+ HEAP32[i2 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = 0;
+ return;
+}
+function __ZN16btDbvtBroadphaseD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 4392;
+ if ((HEAP8[i1 + 152 | 0] | 0) != 0) {
+ i2 = i1 + 96 | 0;
+ i3 = HEAP32[i2 >> 2] | 0;
+ FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 511](i3);
+ __Z21btAlignedFreeInternalPv(HEAP32[i2 >> 2] | 0);
+ }
+ __ZN6btDbvtD2Ev(i1 + 44 | 0);
+ __ZN6btDbvtD2Ev(i1 + 4 | 0);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld21removeCollisionObjectEP17btCollisionObject(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ if ((HEAP32[i2 + 232 >> 2] & 2 | 0) == 0 | (i2 | 0) == 0) {
+ __ZN16btCollisionWorld21removeCollisionObjectEP17btCollisionObject(i1 | 0, i2);
+ return;
+ } else {
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 88 >> 2] & 127](i1, i2);
+ return;
+ }
+}
+function __ZN25btSimulationIslandManagerC2Ev(i1) {
+ i1 = i1 | 0;
+ HEAP32[i1 >> 2] = 3032;
+ __ZN11btUnionFindC2Ev(i1 + 4 | 0);
+ HEAP8[i1 + 40 | 0] = 1;
+ HEAP32[i1 + 36 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ HEAP32[i1 + 32 >> 2] = 0;
+ HEAP8[i1 + 60 | 0] = 1;
+ HEAP32[i1 + 56 >> 2] = 0;
+ HEAP32[i1 + 48 >> 2] = 0;
+ HEAP32[i1 + 52 >> 2] = 0;
+ HEAP8[i1 + 64 | 0] = 1;
+ return;
+}
+function _llvm_cttz_i32(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ i2 = HEAP8[cttz_i8 + (i1 & 255) | 0] | 0;
+ if ((i2 | 0) < 8) return i2 | 0;
+ i2 = HEAP8[cttz_i8 + (i1 >> 8 & 255) | 0] | 0;
+ if ((i2 | 0) < 8) return i2 + 8 | 0;
+ i2 = HEAP8[cttz_i8 + (i1 >> 16 & 255) | 0] | 0;
+ if ((i2 | 0) < 8) return i2 + 16 | 0;
+ return (HEAP8[cttz_i8 + (i1 >>> 24) | 0] | 0) + 24 | 0;
+}
+function _llvm_ctlz_i32(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ i2 = HEAP8[ctlz_i8 + (i1 >>> 24) | 0] | 0;
+ if ((i2 | 0) < 8) return i2 | 0;
+ i2 = HEAP8[ctlz_i8 + (i1 >> 16 & 255) | 0] | 0;
+ if ((i2 | 0) < 8) return i2 + 8 | 0;
+ i2 = HEAP8[ctlz_i8 + (i1 >> 8 & 255) | 0] | 0;
+ if ((i2 | 0) < 8) return i2 + 16 | 0;
+ return (HEAP8[ctlz_i8 + (i1 & 255) | 0] | 0) + 24 | 0;
+}
+function __ZN11btRigidBodyC2ERKNS_27btRigidBodyConstructionInfoE(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ __ZN17btCollisionObjectC2Ev(i1 | 0);
+ HEAP32[i1 >> 2] = 4936;
+ HEAP8[i1 + 492 | 0] = 1;
+ HEAP32[i1 + 488 >> 2] = 0;
+ HEAP32[i1 + 480 >> 2] = 0;
+ HEAP32[i1 + 484 >> 2] = 0;
+ __ZN11btRigidBody14setupRigidBodyERKNS_27btRigidBodyConstructionInfoE(i1, i2);
+ return;
+}
+function dynCall_fiiiiiiiiii(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ return +FUNCTION_TABLE_fiiiiiiiiii[i1 & 7](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0, i8 | 0, i9 | 0, i10 | 0, i11 | 0);
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEENK15LocalInfoAdder214needsCollisionEP17btBroadphaseProxy(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = HEAP32[i1 + 20 >> 2] | 0;
+ return FUNCTION_TABLE_iii[HEAP32[(HEAP32[i3 >> 2] | 0) + 8 >> 2] & 63](i3, i2) | 0;
+}
+function dynCall_viiiiffffiif(i1, i2, i3, i4, i5, d6, d7, d8, d9, i10, i11, d12) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ d6 = +d6;
+ d7 = +d7;
+ d8 = +d8;
+ d9 = +d9;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ d12 = +d12;
+ FUNCTION_TABLE_viiiiffffiif[i1 & 1](i2 | 0, i3 | 0, i4 | 0, i5 | 0, +d6, +d7, +d8, +d9, i10 | 0, i11 | 0, +d12);
+}
+function dynCall_viiiiiiiiii(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ FUNCTION_TABLE_viiiiiiiiii[i1 & 3](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0, i8 | 0, i9 | 0, i10 | 0, i11 | 0);
+}
+function __ZNK14btAngularLimit7getHighEv(i1) {
+ i1 = i1 | 0;
+ var d2 = 0.0, d3 = 0.0;
+ d2 = +_fmod(+(+HEAPF32[i1 >> 2] + +HEAPF32[i1 + 4 >> 2]), 6.2831854820251465);
+ if (d2 < -3.1415927410125732) {
+ d3 = d2 + 6.2831854820251465;
+ return +d3;
+ }
+ if (d2 <= 3.1415927410125732) {
+ d3 = d2;
+ return +d3;
+ }
+ d3 = d2 - 6.2831854820251465;
+ return +d3;
+}
+function __ZN23btDiscreteDynamicsWorld11clearForcesEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ i2 = i1 + 204 | 0;
+ if ((HEAP32[i2 >> 2] | 0) <= 0) {
+ return;
+ }
+ i3 = i1 + 212 | 0;
+ i1 = 0;
+ do {
+ _memset((HEAP32[(HEAP32[i3 >> 2] | 0) + (i1 << 2) >> 2] | 0) + 404 | 0, 0, 32);
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (HEAP32[i2 >> 2] | 0));
+ return;
+}
+function __ZNK14btAngularLimit6getLowEv(i1) {
+ i1 = i1 | 0;
+ var d2 = 0.0, d3 = 0.0;
+ d2 = +_fmod(+(+HEAPF32[i1 >> 2] - +HEAPF32[i1 + 4 >> 2]), 6.2831854820251465);
+ if (d2 < -3.1415927410125732) {
+ d3 = d2 + 6.2831854820251465;
+ return +d3;
+ }
+ if (d2 <= 3.1415927410125732) {
+ d3 = d2;
+ return +d3;
+ }
+ d3 = d2 - 6.2831854820251465;
+ return +d3;
+}
+function dynCall_viiiifffffif(i1, i2, i3, i4, i5, d6, d7, d8, d9, d10, i11, d12) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ d6 = +d6;
+ d7 = +d7;
+ d8 = +d8;
+ d9 = +d9;
+ d10 = +d10;
+ i11 = i11 | 0;
+ d12 = +d12;
+ FUNCTION_TABLE_viiiifffffif[i1 & 1](i2 | 0, i3 | 0, i4 | 0, i5 | 0, +d6, +d7, +d8, +d9, +d10, i11 | 0, +d12);
+}
+function __ZN31btConvexPlaneCollisionAlgorithmD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0, i3 = 0;
+ HEAP32[i1 >> 2] = 2656;
+ if ((HEAP8[i1 + 8 | 0] | 0) == 0) {
+ return;
+ }
+ i2 = HEAP32[i1 + 12 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ return;
+ }
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3, i2);
+ return;
+}
+function __ZN16btCollisionWorld9serializeEP12btSerializer(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = i2;
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i3 >> 2] | 0) + 32 >> 2] & 511](i2);
+ __ZN16btCollisionWorld25serializeCollisionObjectsEP12btSerializer(i1, i2);
+ FUNCTION_TABLE_vi[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 511](i2);
+ return;
+}
+function __ZNK15btTriangleShape9getVertexEiR9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ var i4 = 0;
+ i4 = i3;
+ i3 = i1 + 56 + (i2 << 4) | 0;
+ HEAP32[i4 >> 2] = HEAP32[i3 >> 2];
+ HEAP32[i4 + 4 >> 2] = HEAP32[i3 + 4 >> 2];
+ HEAP32[i4 + 8 >> 2] = HEAP32[i3 + 8 >> 2];
+ HEAP32[i4 + 12 >> 2] = HEAP32[i3 + 12 >> 2];
+ return;
+}
+function __ZNK15btTriangleShape7getEdgeEiR9btVector3S1_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0;
+ i5 = i1;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i5 >> 2] | 0) + 100 >> 2] & 127](i1, i2, i3);
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i5 >> 2] | 0) + 100 >> 2] & 127](i1, (i2 + 1 | 0) % 3 | 0, i4);
+ return;
+}
+function __ZN11btUnionFind5resetEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ __ZN11btUnionFind8allocateEi(i1, i2);
+ if ((i2 | 0) <= 0) {
+ return;
+ }
+ i3 = HEAP32[i1 + 12 >> 2] | 0;
+ i1 = 0;
+ do {
+ HEAP32[i3 + (i1 << 3) >> 2] = i1;
+ HEAP32[i3 + (i1 << 3) + 4 >> 2] = 1;
+ i1 = i1 + 1 | 0;
+ } while ((i1 | 0) < (i2 | 0));
+ return;
+}
+function __ZL21btAlignedAllocDefaultji(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0, i5 = 0;
+ i3 = i2 - 1 | 0;
+ i4 = FUNCTION_TABLE_ii[HEAP32[2974] & 127](i1 + 4 + i3 | 0) | 0;
+ if ((i4 | 0) == 0) {
+ i5 = 0;
+ return i5 | 0;
+ }
+ i1 = i2 - (i4 + 4) & i3;
+ HEAP32[i4 + i1 >> 2] = i4;
+ i5 = i4 + (i1 + 4) | 0;
+ return i5 | 0;
+}
+function __ZN23btConvexConvexAlgorithm10CreateFuncC2EP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ HEAP8[i1 + 4 | 0] = 0;
+ HEAP32[i1 >> 2] = 2184;
+ HEAP32[i1 + 16 >> 2] = 0;
+ HEAP32[i1 + 20 >> 2] = 3;
+ HEAP32[i1 + 12 >> 2] = i2;
+ HEAP32[i1 + 8 >> 2] = i3;
+ return;
+}
+function dynCall_iiiiiiiiii(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ return FUNCTION_TABLE_iiiiiiiiii[i1 & 3](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0, i8 | 0, i9 | 0, i10 | 0) | 0;
+}
+function __ZN20btPersistentManifold14clearUserCacheER15btManifoldPoint(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i1 = i2 + 108 | 0;
+ i2 = HEAP32[i1 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ return;
+ }
+ i3 = HEAP32[3008] | 0;
+ if ((i3 | 0) == 0) {
+ return;
+ }
+ FUNCTION_TABLE_ii[i3 & 127](i2) | 0;
+ HEAP32[i1 >> 2] = 0;
+ return;
+}
+function __ZN17btCollisionObject8activateEb(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ do {
+ if (!i2) {
+ if ((HEAP32[i1 + 204 >> 2] & 3 | 0) == 0) {
+ break;
+ }
+ return;
+ }
+ } while (0);
+ i2 = i1 + 216 | 0;
+ if (((HEAP32[i2 >> 2] | 0) - 4 | 0) >>> 0 >= 2) {
+ HEAP32[i2 >> 2] = 1;
+ }
+ HEAPF32[i1 + 220 >> 2] = 0.0;
+ return;
+}
+function __ZNK16btCollisionWorld20ConvexResultCallback14needsCollisionEP17btBroadphaseProxy(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ if ((HEAP16[i1 + 10 >> 1] & HEAP16[i2 + 4 >> 1]) << 16 >> 16 == 0) {
+ i3 = 0;
+ return i3 | 0;
+ }
+ i3 = (HEAP16[i2 + 6 >> 1] & HEAP16[i1 + 8 >> 1]) << 16 >> 16 != 0;
+ return i3 | 0;
+}
+function _llvm_uadd_with_overflow_i64(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0;
+ i5 = i1 + i3 >>> 0;
+ i3 = i2 + i4 >>> 0;
+ i4 = i3 >>> 0 < i2 >>> 0 | 0;
+ if (i5 >>> 0 < i1 >>> 0) {
+ i3 = i3 + 1 >>> 0;
+ i4 = i4 | !i3;
+ }
+ return (tempRet0 = i3, tempRet1 = i4, i5 | 0) | 0;
+}
+function __ZNK23btDiscreteDynamicsWorld10getGravityEv(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = i1;
+ i1 = i2 + 220 | 0;
+ HEAP32[i3 >> 2] = HEAP32[i1 >> 2];
+ HEAP32[i3 + 4 >> 2] = HEAP32[i1 + 4 >> 2];
+ HEAP32[i3 + 8 >> 2] = HEAP32[i1 + 8 >> 2];
+ HEAP32[i3 + 12 >> 2] = HEAP32[i1 + 12 >> 2];
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld19setConstraintSolverEP18btConstraintSolver(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0, i4 = 0;
+ i3 = i1 + 241 | 0;
+ i4 = i1 + 172 | 0;
+ if ((HEAP8[i3] | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(HEAP32[i4 >> 2] | 0);
+ }
+ HEAP8[i3] = 0;
+ HEAP32[i4 >> 2] = i2;
+ return;
+}
+function __ZN6btDbvt6removeEP10btDbvtNode(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ __ZL10removeleafP6btDbvtP10btDbvtNode(i1, i2) | 0;
+ i3 = i1 + 4 | 0;
+ __Z21btAlignedFreeInternalPv(HEAP32[i3 >> 2] | 0);
+ HEAP32[i3 >> 2] = i2;
+ i2 = i1 + 12 | 0;
+ HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) - 1;
+ return;
+}
+function dynCall_viiiiiffii(i1, i2, i3, i4, i5, i6, d7, d8, i9, i10) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ d7 = +d7;
+ d8 = +d8;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ FUNCTION_TABLE_viiiiiffii[i1 & 3](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, +d7, +d8, i9 | 0, i10 | 0);
+}
+function __ZN27btContinuousConvexCollisionC2EPK13btConvexShapePK18btStaticPlaneShape(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ HEAP32[i1 >> 2] = 2928;
+ HEAP32[i1 + 4 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = 0;
+ HEAP32[i1 + 12 >> 2] = i2;
+ HEAP32[i1 + 16 >> 2] = 0;
+ HEAP32[i1 + 20 >> 2] = i3;
+ return;
+}
+function __ZN12CProfileNode5ResetEv(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ i2 = i1;
+ do {
+ HEAP32[i2 + 4 >> 2] = 0;
+ HEAPF32[i2 + 8 >> 2] = 0.0;
+ i1 = HEAP32[i2 + 24 >> 2] | 0;
+ if ((i1 | 0) != 0) {
+ __ZN12CProfileNode5ResetEv(i1);
+ }
+ i2 = HEAP32[i2 + 28 >> 2] | 0;
+ } while ((i2 | 0) != 0);
+ return;
+}
+function __ZN30btActivatingCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ __ZN20btCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfo(i1 | 0, i2);
+ HEAP32[i1 >> 2] = 2728;
+ return;
+}
+function ___uremdi3(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0;
+ i5 = STACKTOP;
+ STACKTOP = STACKTOP + 8 | 0;
+ i6 = i5 | 0;
+ ___udivmoddi4(i1, i2, i3, i4, i6) | 0;
+ STACKTOP = i5;
+ return (tempRet0 = HEAP32[i6 + 4 >> 2] | 0, HEAP32[i6 >> 2] | 0) | 0;
+}
+function __ZN21btConvexInternalShapeC2Ev(i1) {
+ i1 = i1 | 0;
+ __ZN13btConvexShapeC2Ev(i1 | 0);
+ HEAP32[i1 >> 2] = 3680;
+ HEAPF32[i1 + 12 >> 2] = 1.0;
+ HEAPF32[i1 + 16 >> 2] = 1.0;
+ HEAPF32[i1 + 20 >> 2] = 1.0;
+ HEAPF32[i1 + 24 >> 2] = 0.0;
+ HEAPF32[i1 + 44 >> 2] = .03999999910593033;
+ return;
+}
+function __GLOBAL__I_a() {
+ var i1 = 0;
+ i1 = __Znwj(8) | 0;
+ HEAP32[3578] = i1;
+ _gettimeofday(i1 | 0, 0) | 0;
+ _atexit(336, 14312, ___dso_handle | 0) | 0;
+ HEAP32[3564] = 264;
+ _memset(14260, 0, 28);
+ __ZN12CProfileNode5ResetEv(14256);
+ _atexit(246, 14256, ___dso_handle | 0) | 0;
+ return;
+}
+function dynCall_viiiiiiii(i1, i2, i3, i4, i5, i6, i7, i8, i9) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ FUNCTION_TABLE_viiiiiiii[i1 & 3](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0, i8 | 0, i9 | 0);
+}
+function __ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult20setShapeIdentifiersBEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return;
+}
+function __ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult20setShapeIdentifiersAEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return;
+}
+function __ZN6btDbvtC2Ev(i1) {
+ i1 = i1 | 0;
+ HEAP8[i1 + 36 | 0] = 1;
+ HEAP32[i1 + 32 >> 2] = 0;
+ HEAP32[i1 + 24 >> 2] = 0;
+ HEAP32[i1 + 28 >> 2] = 0;
+ HEAP32[i1 >> 2] = 0;
+ HEAP32[i1 + 4 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = -1;
+ HEAP32[i1 + 12 >> 2] = 0;
+ HEAP32[i1 + 16 >> 2] = 0;
+ return;
+}
+function __ZThn4_N17DebugDrawcallback28internalProcessTriangleIndexEP9btVector3ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0;
+ i5 = i1 - 92 + 88 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i5 >> 2] | 0) + 8 >> 2] & 127](i5, i2, i3, i4);
+ return;
+}
+function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD0E_0v(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function ___muldi3(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0, i6 = 0;
+ i5 = i1;
+ i1 = i3;
+ i3 = ___muldsi3(i5, i1) | 0;
+ i6 = tempRet0;
+ return (tempRet0 = (Math_imul(i2, i1) | 0) + (Math_imul(i4, i5) | 0) + i6 | i6 & 0, i3 | 0 | 0) | 0;
+}
+function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN22btSubsimplexConvexCastC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolver(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ HEAP32[i1 >> 2] = 3536;
+ HEAP32[i1 + 4 >> 2] = i4;
+ HEAP32[i1 + 8 >> 2] = i2;
+ HEAP32[i1 + 12 >> 2] = i3;
+ return;
+}
+function dynCall_iiiiiiii(i1, i2, i3, i4, i5, i6, i7, i8) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ return FUNCTION_TABLE_iiiiiiii[i1 & 1](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0, i8 | 0) | 0;
+}
+function __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallbackD2Ev(i1);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN23btPolyhedralConvexShapeD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ HEAP32[i1 >> 2] = 3136;
+ i2 = HEAP32[i1 + 52 >> 2] | 0;
+ if ((i2 | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i2);
+ }
+ __ZN13btConvexShapeD2Ev(i1 | 0);
+ __Z21btAlignedFreeInternalPv(i1);
+ return;
+}
+function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD2E_0v(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ return;
+}
+function __ZN15btGjkConvexCastC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolver(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ HEAP32[i1 >> 2] = 4696;
+ HEAP32[i1 + 4 >> 2] = i4;
+ HEAP32[i1 + 8 >> 2] = i2;
+ HEAP32[i1 + 12 >> 2] = i3;
+ return;
+}
+function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ return;
+}
+function __ZN22SphereTriangleDetectorC2EP13btSphereShapeP15btTriangleShapef(i1, i2, i3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ HEAP32[i1 >> 2] = 3616;
+ HEAP32[i1 + 4 >> 2] = i2;
+ HEAP32[i1 + 8 >> 2] = i3;
+ HEAPF32[i1 + 12 >> 2] = d4;
+ return;
+}
+function __ZN11btRigidBody26predictIntegratedTransformEfR11btTransform(i1, d2, i3) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ __ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(i1 + 4 | 0, i1 + 304 | 0, i1 + 320 | 0, d2, i3);
+ return;
+}
+function __ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD0E_0v(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld18addCollisionObjectEP17btCollisionObjectss(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ __ZN16btCollisionWorld18addCollisionObjectEP17btCollisionObjectss(i1 | 0, i2, i3, i4);
+ return;
+}
+function __ZN19BroadphaseRayTester7ProcessEPK10btDbvtNode(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_iii[HEAP32[(HEAP32[i3 >> 2] | 0) + 8 >> 2] & 63](i3 | 0, HEAP32[i2 + 36 >> 2] | 0) | 0;
+ return;
+}
+function __ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult15addContactPointERK9btVector3SA_f(i1, i2, i3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ return;
+}
+function __ZN23btCollisionPairCallback14processOverlapER16btBroadphasePair(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = HEAP32[i1 + 8 >> 2] | 0;
+ FUNCTION_TABLE_viii[HEAP32[i3 + 188 >> 2] & 127](i2, i3, HEAP32[i1 + 4 >> 2] | 0);
+ return 0;
+}
+function __ZN16btDbvtBroadphase25calculateOverlappingPairsEP12btDispatcher(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ __ZN16btDbvtBroadphase7collideEP12btDispatcher(i1, i2);
+ __ZN16btDbvtBroadphase22performDeferredRemovalEP12btDispatcher(i1, i2);
+ return;
+}
+function __ZN20BroadphaseAabbTester7ProcessEPK10btDbvtNode(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = HEAP32[i1 + 4 >> 2] | 0;
+ FUNCTION_TABLE_iii[HEAP32[(HEAP32[i3 >> 2] | 0) + 8 >> 2] & 63](i3, HEAP32[i2 + 36 >> 2] | 0) | 0;
+ return;
+}
+function __ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResultD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function dynCall_iiiiiii(i1, i2, i3, i4, i5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ return FUNCTION_TABLE_iiiiiii[i1 & 7](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0) | 0;
+}
+function _bitshift64Ashr(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ if ((i3 | 0) < 32) {
+ tempRet0 = i2 >> i3;
+ return i1 >>> i3 | (i2 & (1 << i3) - 1) << 32 - i3;
+ }
+ tempRet0 = (i2 | 0) < 0 ? -1 : 0;
+ return i2 >> i3 - 32 | 0;
+}
+function __ZNK21btConvexInternalShape7getAabbERK11btTransformR9btVector3S4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 72 >> 2] & 127](i1, i2, i3, i4);
+ return;
+}
+function __ZN17DebugDrawcallback28internalProcessTriangleIndexEP9btVector3ii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 127](i1, i2, i3, i4);
+ return;
+}
+function b12(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ abort(12);
+ return 0.0;
+}
+function __ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ return;
+}
+function __ZNK15btTriangleShape7getAabbERK11btTransformR9btVector3S4_(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 72 >> 2] & 127](i1 | 0, i2, i3, i4);
+ return;
+}
+function b25(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ i11 = i11 | 0;
+ abort(25);
+ return 0;
+}
+function __ZN34btSphereTriangleCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ return +1.0;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD2E_0v(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ return;
+}
+function __ZN32btSphereSphereCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ return +1.0;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ return;
+}
+function __ZN31btConvexPlaneCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ return +1.0;
+}
+function __ZN23btPolyhedralConvexShapeD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ HEAP32[i1 >> 2] = 3136;
+ i2 = HEAP32[i1 + 52 >> 2] | 0;
+ if ((i2 | 0) != 0) {
+ __Z21btAlignedFreeInternalPv(i2);
+ }
+ __ZN13btConvexShapeD2Ev(i1 | 0);
+ return;
+}
+function dynCall_fiiifii(i1, i2, i3, i4, d5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ d5 = +d5;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ return +FUNCTION_TABLE_fiiifii[i1 & 7](i2 | 0, i3 | 0, i4 | 0, +d5, i6 | 0, i7 | 0);
+}
+function dynCall_viiiiii(i1, i2, i3, i4, i5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ FUNCTION_TABLE_viiiiii[i1 & 15](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0);
+}
+function __ZN26btBoxBoxCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ return +1.0;
+}
+function __ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResultD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function copyTempFloat(i1) {
+ i1 = i1 | 0;
+ HEAP8[tempDoublePtr] = HEAP8[i1];
+ HEAP8[tempDoublePtr + 1 | 0] = HEAP8[i1 + 1 | 0];
+ HEAP8[tempDoublePtr + 2 | 0] = HEAP8[i1 + 2 | 0];
+ HEAP8[tempDoublePtr + 3 | 0] = HEAP8[i1 + 3 | 0];
+}
+function _bitshift64Shl(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ if ((i3 | 0) < 32) {
+ tempRet0 = i2 << i3 | (i1 & (1 << i3) - 1 << 32 - i3) >>> 32 - i3;
+ return i1 << i3;
+ }
+ tempRet0 = i1 << i3 - 32;
+ return 0;
+}
+function __ZN16btEmptyAlgorithmC2ERK36btCollisionAlgorithmConstructionInfo(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ __ZN20btCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfo(i1 | 0, i2);
+ HEAP32[i1 >> 2] = 4352;
+ return;
+}
+function __ZN18btDbvtTreeCollider7ProcessEPK10btDbvtNode(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ FUNCTION_TABLE_viii[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 127](i1, i2, HEAP32[(HEAP32[i1 + 8 >> 2] | 0) + 48 >> 2] | 0);
+ return;
+}
+function dynCall_viiifii(i1, i2, i3, i4, d5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ d5 = +d5;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ FUNCTION_TABLE_viiifii[i1 & 1](i2 | 0, i3 | 0, i4 | 0, +d5, i6 | 0, i7 | 0);
+}
+function __ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult20setShapeIdentifiersBEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return;
+}
+function __ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult20setShapeIdentifiersAEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return;
+}
+function _i64Subtract(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0;
+ i5 = i2 - i4 >>> 0;
+ i5 = i2 - i4 - (i3 >>> 0 > i1 >>> 0 | 0) >>> 0;
+ return (tempRet0 = i5, i1 - i3 >>> 0 | 0) | 0;
+}
+function _bitshift64Lshr(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ if ((i3 | 0) < 32) {
+ tempRet0 = i2 >>> i3;
+ return i1 >>> i3 | (i2 & (1 << i3) - 1) << 32 - i3;
+ }
+ tempRet0 = 0;
+ return i2 >>> i3 - 32 | 0;
+}
+function __ZNK15btTriangleShape8getPlaneER9btVector3S1_i(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 116 >> 2] & 127](i1, i4, i2, i3);
+ return;
+}
+function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdderD0E_1v(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN16btEmptyAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ return +1.0;
+}
+function b23(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ abort(23);
+ return 0.0;
+}
+function dynCall_viffiii(i1, i2, d3, d4, i5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ d4 = +d4;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ FUNCTION_TABLE_viffiii[i1 & 1](i2 | 0, +d3, +d4, i5 | 0, i6 | 0, i7 | 0);
+}
+function __ZN17btCollisionObject18setActivationStateEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ var i3 = 0;
+ i3 = i1 + 216 | 0;
+ if (((HEAP32[i3 >> 2] | 0) - 4 | 0) >>> 0 < 2) {
+ return;
+ }
+ HEAP32[i3 >> 2] = i2;
+ return;
+}
+function __ZThn4_N17DebugDrawcallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ i2 = i1 - 92 + 88 | 0;
+ __ZN31btInternalTriangleIndexCallbackD2Ev(i1 - 92 + 92 | 0);
+ __ZN18btTriangleCallbackD2Ev(i2);
+ __ZdlPv(i2);
+ return;
+}
+function dynCall_fiiiii(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ return +FUNCTION_TABLE_fiiiii[i1 & 31](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0);
+}
+function b9(i1, i2, i3, i4, d5, d6, d7, d8, i9, i10, d11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ d5 = +d5;
+ d6 = +d6;
+ d7 = +d7;
+ d8 = +d8;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ d11 = +d11;
+ abort(9);
+}
+function __ZN16btEmptyAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ return;
+}
+function b29(i1, i2, i3, i4, d5, d6, d7, d8, d9, i10, d11) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ d5 = +d5;
+ d6 = +d6;
+ d7 = +d7;
+ d8 = +d8;
+ d9 = +d9;
+ i10 = i10 | 0;
+ d11 = +d11;
+ abort(29);
+}
+function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdderD2E_1v(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function b28(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ i10 = i10 | 0;
+ abort(28);
+}
+function dynCall_fiifii(i1, i2, i3, d4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ return +FUNCTION_TABLE_fiifii[i1 & 7](i2 | 0, i3 | 0, +d4, i5 | 0, i6 | 0);
+}
+function dynCall_viiiii(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ FUNCTION_TABLE_viiiii[i1 & 63](i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0);
+}
+function _i64Add(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0;
+ i5 = i1 + i3 >>> 0;
+ return (tempRet0 = i2 + i4 + (i5 >>> 0 < i1 >>> 0 | 0) >>> 0, i5 | 0) | 0;
+}
+function dynCall_viifii(i1, i2, i3, d4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ FUNCTION_TABLE_viifii[i1 & 1](i2 | 0, i3 | 0, +d4, i5 | 0, i6 | 0);
+}
+function dynCall_vifiii(i1, i2, d3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ FUNCTION_TABLE_vifiii[i1 & 3](i2 | 0, +d3, i4 | 0, i5 | 0, i6 | 0);
+}
+function b20(i1, i2, i3, i4, i5, i6, i7, i8, i9) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ abort(20);
+ return 0;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder2D0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld15removeCharacterEP17btActionInterface(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 64 >> 2] & 127](i1, i2);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld13removeVehicleEP17btActionInterface(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 64 >> 2] & 127](i1, i2);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld12addCharacterEP17btActionInterface(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 60 >> 2] & 127](i1, i2);
+ return;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTesterD0E_1v(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld10addVehicleEP17btActionInterface(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 60 >> 2] & 127](i1, i2);
+ return;
+}
+function __ZN16btBoxBoxDetectorC2EP10btBoxShapeS1_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ HEAP32[i1 >> 2] = 4528;
+ HEAP32[i1 + 4 >> 2] = i2;
+ HEAP32[i1 + 8 >> 2] = i3;
+ return;
+}
+function __ZN6btDbvt8ICollide7ProcessEPK10btDbvtNodef(i1, i2, d3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] & 127](i1, i2);
+ return;
+}
+function __ZN20btCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfo(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ HEAP32[i1 >> 2] = 3896;
+ HEAP32[i1 + 4 >> 2] = HEAP32[i2 >> 2];
+ return;
+}
+function dynCall_iiiii(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ return FUNCTION_TABLE_iiiii[i1 & 31](i2 | 0, i3 | 0, i4 | 0, i5 | 0) | 0;
+}
+function ___udivdi3(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ var i5 = 0;
+ i5 = ___udivmoddi4(i1, i2, i3, i4, 0) | 0;
+ return (tempRet0 = tempRet0, i5) | 0;
+}
+function __ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder2D2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __Z21btAlignedFreeInternalPv(i1) {
+ i1 = i1 | 0;
+ if ((i1 | 0) == 0) {
+ return;
+ }
+ HEAP32[2998] = (HEAP32[2998] | 0) + 1;
+ FUNCTION_TABLE_vi[HEAP32[2972] & 511](i1);
+ return;
+}
+function __ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResultD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK16btCollisionShape27getContactBreakingThresholdEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ return +(+FUNCTION_TABLE_fi[HEAP32[(HEAP32[i1 >> 2] | 0) + 16 >> 2] & 7](i1) * d2);
+}
+function b30(i1, i2, i3, i4, i5, d6, d7, i8, i9) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ d6 = +d6;
+ d7 = +d7;
+ i8 = i8 | 0;
+ i9 = i9 | 0;
+ abort(30);
+}
+function __ZThn4_N17DebugDrawcallbackD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN31btInternalTriangleIndexCallbackD2Ev(i1 - 92 + 92 | 0);
+ __ZN18btTriangleCallbackD2Ev(i1 - 92 + 88 | 0);
+ return;
+}
+function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTesterD2E_1v(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN18btConstraintSolver9allSolvedERK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ return;
+}
+function dynCall_viiii(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ FUNCTION_TABLE_viiii[i1 & 127](i2 | 0, i3 | 0, i4 | 0, i5 | 0);
+}
+function __ZN16btManifoldResult20setShapeIdentifiersBEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ HEAP32[i1 + 148 >> 2] = i2;
+ HEAP32[i1 + 156 >> 2] = i3;
+ return;
+}
+function __ZN16btManifoldResult20setShapeIdentifiersAEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ HEAP32[i1 + 144 >> 2] = i2;
+ HEAP32[i1 + 152 >> 2] = i3;
+ return;
+}
+function __ZN28btHashedOverlappingPairCache28setInternalGhostPairCallbackEP25btOverlappingPairCallback(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ HEAP32[i1 + 72 >> 2] = i2;
+ return;
+}
+function dynCall_iifif(i1, i2, d3, i4, d5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ i4 = i4 | 0;
+ d5 = +d5;
+ return FUNCTION_TABLE_iifif[i1 & 3](i2 | 0, +d3, i4 | 0, +d5) | 0;
+}
+function __ZN17btCollisionObject17setCollisionShapeEP16btCollisionShape(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ HEAP32[i1 + 192 >> 2] = i2;
+ HEAP32[i1 + 200 >> 2] = i2;
+ return;
+}
+function __ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN17DebugDrawcallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN31btInternalTriangleIndexCallbackD2Ev(i1 + 4 | 0);
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __Z22btAlignedAllocInternalji(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ HEAP32[3e3] = (HEAP32[3e3] | 0) + 1;
+ return FUNCTION_TABLE_iii[HEAP32[2970] & 63](i1, i2) | 0;
+}
+function dynCall_viiif(i1, i2, i3, i4, d5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ d5 = +d5;
+ FUNCTION_TABLE_viiif[i1 & 15](i2 | 0, i3 | 0, i4 | 0, +d5);
+}
+function __ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function dynCall_viifi(i1, i2, i3, d4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ i5 = i5 | 0;
+ FUNCTION_TABLE_viifi[i1 & 1](i2 | 0, i3 | 0, +d4, i5 | 0);
+}
+function dynCall_vifii(i1, i2, d3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ FUNCTION_TABLE_vifii[i1 & 1](i2 | 0, +d3, i4 | 0, i5 | 0);
+}
+function __ZNK13btSphereShape37localGetSupportingVertexWithoutMarginERK9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ _memset(i1 | 0, 0, 16);
+ return;
+}
+function __ZN28btHashedOverlappingPairCache24setOverlapFilterCallbackEP23btOverlapFilterCallback(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ HEAP32[i1 + 24 >> 2] = i2;
+ return;
+}
+function b17(i1, i2, i3, i4, i5, i6, i7, i8) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ i8 = i8 | 0;
+ abort(17);
+}
+function __ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResultD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN21btCollisionDispatcher26getManifoldByIndexInternalEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return HEAP32[(HEAP32[i1 + 20 >> 2] | 0) + (i2 << 2) >> 2] | 0;
+}
+function __ZL20btAlignedFreeDefaultPv(i1) {
+ i1 = i1 | 0;
+ if ((i1 | 0) == 0) {
+ return;
+ }
+ FUNCTION_TABLE_vi[HEAP32[2968] & 511](HEAP32[i1 - 4 >> 2] | 0);
+ return;
+}
+function __ZN23btPolyhedralConvexShapeC2Ev(i1) {
+ i1 = i1 | 0;
+ __ZN21btConvexInternalShapeC2Ev(i1 | 0);
+ HEAP32[i1 >> 2] = 3136;
+ HEAP32[i1 + 52 >> 2] = 0;
+ return;
+}
+function __ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN11btUnionFindC2Ev(i1) {
+ i1 = i1 | 0;
+ HEAP8[i1 + 16 | 0] = 1;
+ HEAP32[i1 + 12 >> 2] = 0;
+ HEAP32[i1 + 4 >> 2] = 0;
+ HEAP32[i1 + 8 >> 2] = 0;
+ return;
+}
+function dynCall_iiii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ return FUNCTION_TABLE_iiii[i1 & 31](i2 | 0, i3 | 0, i4 | 0) | 0;
+}
+function b0(i1, i2, i3, i4, i5, i6, i7) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ i7 = i7 | 0;
+ abort(0);
+ return 0;
+}
+function __ZNK23btDiscreteDynamicsWorld13getConstraintEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return HEAP32[(HEAP32[i1 + 192 >> 2] | 0) + (i2 << 2) >> 2] | 0;
+}
+function __ZN17DebugDrawcallbackD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN31btInternalTriangleIndexCallbackD2Ev(i1 + 4 | 0);
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld13getConstraintEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return HEAP32[(HEAP32[i1 + 192 >> 2] | 0) + (i2 << 2) >> 2] | 0;
+}
+function dynCall_fiii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ return +FUNCTION_TABLE_fiii[i1 & 15](i2 | 0, i3 | 0, i4 | 0);
+}
+function __ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function dynCall_iiif(i1, i2, i3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ return FUNCTION_TABLE_iiif[i1 & 7](i2 | 0, i3 | 0, +d4) | 0;
+}
+function __ZNK15btTriangleShape21calculateLocalInertiaEfR9btVector3(i1, d2, i3) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ _memset(i3 | 0, 0, 16);
+ return;
+}
+function stackAlloc(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ i2 = STACKTOP;
+ STACKTOP = STACKTOP + i1 | 0;
+ STACKTOP = STACKTOP + 7 >> 3 << 3;
+ return i2 | 0;
+}
+function dynCall_viii(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ FUNCTION_TABLE_viii[i1 & 127](i2 | 0, i3 | 0, i4 | 0);
+}
+function __ZN16btEmptyAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return;
+}
+function __ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZNK21btConvexInternalShape32getPreferredPenetrationDirectionEiR9btVector3(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return;
+}
+function __ZN35btSequentialImpulseConstraintSolverD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN35btSequentialImpulseConstraintSolverD2Ev(i1);
+ __ZdlPv(i1);
+ return;
+}
+function b22(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ abort(22);
+ return 0;
+}
+function dynCall_vifi(i1, i2, d3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ i4 = i4 | 0;
+ FUNCTION_TABLE_vifi[i1 & 15](i2 | 0, +d3, i4 | 0);
+}
+function b38(i1, i2, i3, d4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ abort(38);
+ return 0.0;
+}
+function dynCall_viif(i1, i2, i3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ FUNCTION_TABLE_viif[i1 & 3](i2 | 0, i3 | 0, +d4);
+}
+function __ZN7btClockD2Ev(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ i2 = HEAP32[i1 >> 2] | 0;
+ if ((i2 | 0) == 0) {
+ return;
+ }
+ __ZdlPv(i2);
+ return;
+}
+function __ZN15btTriangleShapeD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN23btPolyhedralConvexShapeD2Ev(i1 | 0);
+ __Z21btAlignedFreeInternalPv(i1);
+ return;
+}
+function __ZN31btDefaultCollisionConfigurationD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN31btDefaultCollisionConfigurationD2Ev(i1);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN13btConvexShapeC2Ev(i1) {
+ i1 = i1 | 0;
+ HEAP32[i1 + 4 >> 2] = 35;
+ HEAP32[i1 + 8 >> 2] = 0;
+ HEAP32[i1 >> 2] = 4832;
+ return;
+}
+function __ZN21btConvexInternalShapeD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN13btConvexShapeD2Ev(i1 | 0);
+ __Z21btAlignedFreeInternalPv(i1);
+ return;
+}
+function __ZN16btCollisionWorld14setDebugDrawerEP12btIDebugDraw(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ HEAP32[i1 + 80 >> 2] = i2;
+ return;
+}
+function __ZNK23btGeneric6DofConstraint8getAngleEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return +(+HEAPF32[i1 + 1184 + (i2 << 2) >> 2]);
+}
+function __ZN10btBoxShapeD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN23btPolyhedralConvexShapeD2Ev(i1 | 0);
+ __Z21btAlignedFreeInternalPv(i1);
+ return;
+}
+function __ZN28btHashedOverlappingPairCacheD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN28btHashedOverlappingPairCacheD2Ev(i1);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN28btCompoundCollisionAlgorithmD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN28btCompoundCollisionAlgorithmD2Ev(i1);
+ __ZdlPv(i1);
+ return;
+}
+function b19(i1, i2, i3, i4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ abort(19);
+}
+function dynCall_iii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return FUNCTION_TABLE_iii[i1 & 63](i2 | 0, i3 | 0) | 0;
+}
+function __ZN13btSphereShapeD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN13btConvexShapeD2Ev(i1 | 0);
+ __Z21btAlignedFreeInternalPv(i1);
+ return;
+}
+function b6(i1, i2, i3, d4, i5, i6) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ abort(6);
+}
+function b24(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ abort(24);
+ return 0.0;
+}
+function __ZN31btDefaultCollisionConfiguration25getPersistentManifoldPoolEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 16 >> 2] | 0;
+}
+function __ZN31btDefaultCollisionConfiguration25getCollisionAlgorithmPoolEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 24 >> 2] | 0;
+}
+function __ZN28btTriangleConvexcastCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN25btSimulationIslandManagerD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN25btSimulationIslandManagerD2Ev(i1);
+ __ZdlPv(i1);
+ return;
+}
+function b21(i1, d2, d3, i4, i5, i6) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ d3 = +d3;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ i6 = i6 | 0;
+ abort(21);
+}
+function __ZNK28btHashedOverlappingPairCache26getOverlappingPairArrayPtrEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 16 >> 2] | 0;
+}
+function _strlen(i1) {
+ i1 = i1 | 0;
+ var i2 = 0;
+ i2 = i1;
+ while (HEAP8[i2] | 0) {
+ i2 = i2 + 1 | 0;
+ }
+ return i2 - i1 | 0;
+}
+function __ZN28btHashedOverlappingPairCache26getOverlappingPairArrayPtrEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 16 >> 2] | 0;
+}
+function b13(i1, i2, d3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ abort(13);
+ return 0.0;
+}
+function __ZN25btTriangleRaycastCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN10__cxxabiv121__vmi_class_type_infoD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZNSt9type_infoD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorldD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN23btDiscreteDynamicsWorldD2Ev(i1);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN10__cxxabiv120__si_class_type_infoD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZNSt9type_infoD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function setThrew(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ if ((__THREW__ | 0) == 0) {
+ __THREW__ = i1;
+ threwValue = i2;
+ }
+}
+function __ZNK20btPersistentManifold27getContactBreakingThresholdEv(i1) {
+ i1 = i1 | 0;
+ return +(+HEAPF32[i1 + 1120 >> 2]);
+}
+function dynCall_vii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ FUNCTION_TABLE_vii[i1 & 127](i2 | 0, i3 | 0);
+}
+function dynCall_fif(i1, i2, d3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ return +FUNCTION_TABLE_fif[i1 & 3](i2 | 0, +d3);
+}
+function __ZNK28btHashedOverlappingPairCache22getNumOverlappingPairsEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 8 >> 2] | 0;
+}
+function __ZN27btContinuousConvexCollisionD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN12btConvexCastD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN12btConvexCast10CastResult13reportFailureEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return;
+}
+function __ZN10__cxxabiv117__class_type_infoD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZNSt9type_infoD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK13btSphereShape9getMarginEv(i1) {
+ i1 = i1 | 0;
+ return +(+HEAPF32[i1 + 28 >> 2] * +HEAPF32[i1 + 12 >> 2]);
+}
+function __ZN21btConvexInternalShape9setMarginEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ HEAPF32[i1 + 44 >> 2] = d2;
+ return;
+}
+function __ZN16btPointCollector20setShapeIdentifiersBEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return;
+}
+function __ZN16btPointCollector20setShapeIdentifiersAEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return;
+}
+function __ZN6btDbvt8ICollide7ProcessEPK10btDbvtNodeS3_(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return;
+}
+function __ZN31btDefaultCollisionConfiguration17getStackAllocatorEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 8 >> 2] | 0;
+}
+function __ZN31btDefaultCollisionConfiguration16getSimplexSolverEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 32 >> 2] | 0;
+}
+function __ZN21btCollisionDispatcher26getInternalManifoldPointerEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 20 >> 2] | 0;
+}
+function __ZNK21btCollisionDispatcher23getInternalManifoldPoolEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 196 >> 2] | 0;
+}
+function __ZN12btConvexCast10CastResult15drawCoordSystemERK11btTransform(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return;
+}
+function __ZN21btCollisionDispatcher23getInternalManifoldPoolEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 196 >> 2] | 0;
+}
+function __ZN22btSubsimplexConvexCastD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN12btConvexCastD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function dynCall_vif(i1, i2, d3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ FUNCTION_TABLE_vif[i1 & 31](i2 | 0, +d3);
+}
+function __ZN23btDiscreteDynamicsWorld19getConstraintSolverEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 172 >> 2] | 0;
+}
+function __ZNK23btDiscreteDynamicsWorld17getNumConstraintsEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 184 >> 2] | 0;
+}
+function __ZN35btSequentialImpulseConstraintSolver5resetEv(i1) {
+ i1 = i1 | 0;
+ HEAP32[i1 + 124 >> 2] = 0;
+ return;
+}
+function __ZN28btTriangleConvexcastCallbackD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ return;
+}
+function __ZN18btConvexPolyhedronD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btConvexPolyhedronD2Ev(i1);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN18btConstraintSolver12prepareSolveEii(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ return;
+}
+function b3(i1, i2, i3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ abort(3);
+}
+function __ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK16btDbvtBroadphase23getOverlappingPairCacheEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 96 >> 2] | 0;
+}
+function __ZN13btSphereShape9setMarginEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ HEAPF32[i1 + 44 >> 2] = d2;
+ return;
+}
+function __ZN25btTriangleRaycastCallbackD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN18btTriangleCallbackD2Ev(i1 | 0);
+ return;
+}
+function __ZN16btDbvtBroadphase23getOverlappingPairCacheEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 96 >> 2] | 0;
+}
+function b7(i1, d2, i3, i4, i5) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ abort(7);
+}
+function b2(i1, i2, d3, i4, i5) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ i4 = i4 | 0;
+ i5 = i5 | 0;
+ abort(2);
+}
+function __ZN17btCollisionObject24checkCollideWithOverrideEPS_(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return 1;
+}
+function __ZN16btCollisionWorldD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN16btCollisionWorldD2Ev(i1);
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK21btCollisionDispatcher15getNumManifoldsEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 12 >> 2] | 0;
+}
+function __ZN28btHashedOverlappingPairCache23getOverlappingPairArrayEv(i1) {
+ i1 = i1 | 0;
+ return i1 + 4 | 0;
+}
+function __ZN15btGjkConvexCastD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZN12btConvexCastD2Ev(i1 | 0);
+ __ZdlPv(i1);
+ return;
+}
+function __ZN15CProfileManager23Increment_Frame_CounterEv() {
+ HEAP32[3572] = (HEAP32[3572] | 0) + 1;
+ return;
+}
+function b32(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ abort(32);
+ return 0;
+}
+function __ZN28btCompoundCollisionAlgorithm17SwappedCreateFuncD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK21btConvexInternalShape36getNumPreferredPenetrationDirectionsEv(i1) {
+ i1 = i1 | 0;
+ return 0;
+}
+function __ZN34btSphereTriangleCollisionAlgorithm10CreateFuncD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN27btContinuousConvexCollisionD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN12btConvexCastD2Ev(i1 | 0);
+ return;
+}
+function __ZN33btConvexConcaveCollisionAlgorithm10CreateFuncD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN16btCollisionWorld27ClosestConvexResultCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN15btTriangleShapeD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN23btPolyhedralConvexShapeD2Ev(i1 | 0);
+ return;
+}
+function __ZN10__cxxabiv116__shim_type_infoD2Ev(i1) {
+ i1 = i1 | 0;
+ __ZNSt9type_infoD2Ev(i1 | 0);
+ return;
+}
+function dynCall_ii(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return FUNCTION_TABLE_ii[i1 & 127](i2 | 0) | 0;
+}
+function __ZN32btSphereSphereCollisionAlgorithm10CreateFuncD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN31btConvexPlaneCollisionAlgorithm10CreateFuncD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK21btConvexInternalShape9getMarginEv(i1) {
+ i1 = i1 | 0;
+ return +(+HEAPF32[i1 + 44 >> 2]);
+}
+function b31(i1, d2, i3, d4) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ d4 = +d4;
+ abort(31);
+ return 0;
+}
+function __ZN6btDbvt8ICollide9AllLeavesEPK10btDbvtNode(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return 1;
+}
+function __ZN22btSubsimplexConvexCastD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN12btConvexCastD2Ev(i1 | 0);
+ return;
+}
+function __ZN21btConvexInternalShapeD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN13btConvexShapeD2Ev(i1 | 0);
+ return;
+}
+function __ZN16btCollisionWorld14getDebugDrawerEv(i1) {
+ i1 = i1 | 0;
+ return HEAP32[i1 + 80 >> 2] | 0;
+}
+function __ZNK15btTriangleShape36getNumPreferredPenetrationDirectionsEv(i1) {
+ i1 = i1 | 0;
+ return 2;
+}
+function __ZN28btCompoundCollisionAlgorithm10CreateFuncD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN10btBoxShapeD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN23btPolyhedralConvexShapeD2Ev(i1 | 0);
+ return;
+}
+function dynCall_fi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return +FUNCTION_TABLE_fi[i1 & 7](i2 | 0);
+}
+function __ZNK21btConvexInternalShape28calculateSerializeBufferSizeEv(i1) {
+ i1 = i1 | 0;
+ return 52;
+}
+function __ZN6btDbvt8ICollide7DescentEPK10btDbvtNode(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return 1;
+}
+function __ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN26btBoxBoxCollisionAlgorithm10CreateFuncD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN23btDiscreteDynamicsWorld11setNumTasksEi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ return;
+}
+function __ZN17btCollisionObjectD0Ev(i1) {
+ i1 = i1 | 0;
+ __Z21btAlignedFreeInternalPv(i1);
+ return;
+}
+function b39(i1, i2, i3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ abort(39);
+}
+function __ZNK17btCollisionObject28calculateSerializeBufferSizeEv(i1) {
+ i1 = i1 | 0;
+ return 248;
+}
+function __ZNK21btConvexInternalShape15getLocalScalingEv(i1) {
+ i1 = i1 | 0;
+ return i1 + 12 | 0;
+}
+function __ZNK10btBoxShape36getNumPreferredPenetrationDirectionsEv(i1) {
+ i1 = i1 | 0;
+ return 6;
+}
+function __ZN23btConvexConvexAlgorithm10CreateFuncD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK16btCollisionShape28calculateSerializeBufferSizeEv(i1) {
+ i1 = i1 | 0;
+ return 12;
+}
+function __ZN34btClosestNotMeConvexResultCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN28btHashedOverlappingPairCache18hasDeferredRemovalEv(i1) {
+ i1 = i1 | 0;
+ return 0;
+}
+function __ZN15btGjkConvexCastD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN12btConvexCastD2Ev(i1 | 0);
+ return;
+}
+function __ZN13btConvexShapeD0Ev(i1) {
+ i1 = i1 | 0;
+ __Z21btAlignedFreeInternalPv(i1);
+ return;
+}
+function dynCall_vi(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ FUNCTION_TABLE_vi[i1 & 511](i2 | 0);
+}
+function b34(i1, i2, d3, i4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ i4 = i4 | 0;
+ abort(34);
+}
+function b26(i1, d2, i3, i4) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ i4 = i4 | 0;
+ abort(26);
+}
+function b11(i1, i2, i3, d4) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ d4 = +d4;
+ abort(11);
+}
+function __ZN33btMinkowskiPenetrationDepthSolverD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN28btCompoundCollisionAlgorithm17SwappedCreateFuncD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN13btSphereShapeD1Ev(i1) {
+ i1 = i1 | 0;
+ __ZN13btConvexShapeD2Ev(i1 | 0);
+ return;
+}
+function __ZN12btConvexCast10CastResult9DebugDrawEf(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ return;
+}
+function __ZN34btSphereTriangleCollisionAlgorithm10CreateFuncD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function b10(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ abort(10);
+ return 0.0;
+}
+function __ZN33btConvexConcaveCollisionAlgorithm10CreateFuncD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN16btCollisionWorld27ClosestConvexResultCallbackD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZNK11btRigidBody28calculateSerializeBufferSizeEv(i1) {
+ i1 = i1 | 0;
+ return 480;
+}
+function __ZN32btSphereSphereCollisionAlgorithm10CreateFuncD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN30btGjkEpaPenetrationDepthSolverD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN30btActivatingCollisionAlgorithmD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function b15(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ abort(15);
+ return 0;
+}
+function __ZN31btConvexPlaneCollisionAlgorithm10CreateFuncD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN16btEmptyAlgorithm10CreateFuncD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function b37(i1, i2, d3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ abort(37);
+ return 0;
+}
+function __ZN28btCompoundCollisionAlgorithm10CreateFuncD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZNK23btDiscreteDynamicsWorld12getWorldTypeEv(i1) {
+ i1 = i1 | 0;
+ return 2;
+}
+function __ZN26btBoxBoxCollisionAlgorithm10CreateFuncD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN24btPerturbedContactResultD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN12btConvexCast10CastResultD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN23btCollisionPairCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN22btCompoundLeafCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN22SphereTriangleDetectorD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZdlPv(i1) {
+ i1 = i1 | 0;
+ if ((i1 | 0) != 0) {
+ _free(i1);
+ }
+ return;
+}
+function __ZN23btConvexConvexAlgorithm10CreateFuncD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN21btSingleSweepCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN34btClosestNotMeConvexResultCallbackD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN20btDefaultMotionStateD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN20btCollisionAlgorithmD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN20BroadphaseAabbTesterD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK10__cxxabiv116__shim_type_info5noop2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZNK10__cxxabiv116__shim_type_info5noop1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN33btMinkowskiPenetrationDepthSolverD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN19btSingleRayCallbackD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN19BroadphaseRayTesterD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function b33(i1, i2, i3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ i3 = i3 | 0;
+ abort(33);
+}
+function __ZNK15btTriangleShape14getNumVerticesEv(i1) {
+ i1 = i1 | 0;
+ return 3;
+}
+function __ZN18btDbvtTreeColliderD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN31btInternalTriangleIndexCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN17btGjkPairDetectorD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZNK15btTriangleShape7getNameEv(i1) {
+ i1 = i1 | 0;
+ return 832 | 0;
+}
+function __ZNK15btTriangleShape12getNumPlanesEv(i1) {
+ i1 = i1 | 0;
+ return 1;
+}
+function __ZN30btGjkEpaPenetrationDepthSolverD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN30btActivatingCollisionAlgorithmD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN16btPointCollectorD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN16btManifoldResultD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN16btEmptyAlgorithmD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN16btBoxBoxDetectorD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function b36(i1, i2, d3) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ d3 = +d3;
+ abort(36);
+}
+function b18(i1, d2, i3) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ i3 = i3 | 0;
+ abort(18);
+}
+function __ZNK15btTriangleShape11getNumEdgesEv(i1) {
+ i1 = i1 | 0;
+ return 3;
+}
+function __ZNK13btSphereShape7getNameEv(i1) {
+ i1 = i1 | 0;
+ return 776 | 0;
+}
+function __ZN16btEmptyAlgorithm10CreateFuncD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZNK10btBoxShape14getNumVerticesEv(i1) {
+ i1 = i1 | 0;
+ return 8;
+}
+function __ZL14btAllocDefaultj(i1) {
+ i1 = i1 | 0;
+ return _malloc(i1) | 0;
+}
+function __ZN16btDbvtBroadphase10printStatsEv(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function b14(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ abort(14);
+ return 0;
+}
+function __ZNK10btBoxShape7getNameEv(i1) {
+ i1 = i1 | 0;
+ return 712 | 0;
+}
+function __ZNK10btBoxShape12getNumPlanesEv(i1) {
+ i1 = i1 | 0;
+ return 6;
+}
+function __ZNK10btBoxShape11getNumEdgesEv(i1) {
+ i1 = i1 | 0;
+ return 12;
+}
+function b16(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ abort(16);
+ return 0.0;
+}
+function __ZNSt9bad_allocD0Ev(i1) {
+ i1 = i1 | 0;
+ __ZdlPv(i1);
+ return;
+}
+function __ZN24btPerturbedContactResultD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN12btConvexCast10CastResultD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN23btCollisionPairCallbackD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZL13btFreeDefaultPv(i1) {
+ i1 = i1 | 0;
+ _free(i1);
+ return;
+}
+function __ZNKSt9bad_alloc4whatEv(i1) {
+ i1 = i1 | 0;
+ return 472 | 0;
+}
+function __ZN22btCompoundLeafCallbackD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN22SphereTriangleDetectorD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN21btSingleSweepCallbackD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN20btDefaultMotionStateD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN20btCollisionAlgorithmD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN20BroadphaseAabbTesterD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function v____cxa_pure_virtual__wrapper() {
+ ___cxa_pure_virtual();
+}
+function dynCall_v(i1) {
+ i1 = i1 | 0;
+ FUNCTION_TABLE_v[i1 & 3]();
+}
+function __ZN19btSingleRayCallbackD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN19BroadphaseRayTesterD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN18btTriangleCallbackD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN18btDbvtTreeColliderD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN17btGjkPairDetectorD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN17btCollisionObjectD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN16btPointCollectorD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN16btManifoldResultD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN16btEmptyAlgorithmD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN16btBoxBoxDetectorD1Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN13btConvexShapeD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function b5(i1, i2) {
+ i1 = i1 | 0;
+ i2 = i2 | 0;
+ abort(5);
+}
+function __ZN12btDispatcherD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZN12btConvexCastD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZNSt9type_infoD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function __ZNSt9bad_allocD2Ev(i1) {
+ i1 = i1 | 0;
+ return;
+}
+function stackRestore(i1) {
+ i1 = i1 | 0;
+ STACKTOP = i1;
+}
+function b27(i1) {
+ i1 = i1 | 0;
+ abort(27);
+ return 0.0;
+}
+function b1(i1, d2) {
+ i1 = i1 | 0;
+ d2 = +d2;
+ abort(1);
+}
+function setTempRet9(i1) {
+ i1 = i1 | 0;
+ tempRet9 = i1;
+}
+function setTempRet8(i1) {
+ i1 = i1 | 0;
+ tempRet8 = i1;
+}
+function setTempRet7(i1) {
+ i1 = i1 | 0;
+ tempRet7 = i1;
+}
+function setTempRet6(i1) {
+ i1 = i1 | 0;
+ tempRet6 = i1;
+}
+function setTempRet5(i1) {
+ i1 = i1 | 0;
+ tempRet5 = i1;
+}
+function setTempRet4(i1) {
+ i1 = i1 | 0;
+ tempRet4 = i1;
+}
+function setTempRet3(i1) {
+ i1 = i1 | 0;
+ tempRet3 = i1;
+}
+function setTempRet2(i1) {
+ i1 = i1 | 0;
+ tempRet2 = i1;
+}
+function setTempRet1(i1) {
+ i1 = i1 | 0;
+ tempRet1 = i1;
+}
+function setTempRet0(i1) {
+ i1 = i1 | 0;
+ tempRet0 = i1;
+}
+function b8(i1) {
+ i1 = i1 | 0;
+ abort(8);
+ return 0;
+}
+function stackSave() {
+ return STACKTOP | 0;
+}
+function b4(i1) {
+ i1 = i1 | 0;
+ abort(4);
+}
+function b35() {
+ abort(35);
+}
+// EMSCRIPTEN_END_FUNCS
+ var FUNCTION_TABLE_iiiiiiii = [b0,b0];
+ var FUNCTION_TABLE_vif = [b1,b1,__ZN10btBoxShape9setMarginEf,b1,__ZN21btConvexInternalShape9setMarginEf,b1,__ZN23btDiscreteDynamicsWorld14updateVehiclesEf,b1,__ZN23btDiscreteDynamicsWorld22addSpeculativeContactsEf,b1,__ZN23btDiscreteDynamicsWorld19integrateTransformsEf
+ ,b1,__ZN13btSphereShape9setMarginEf,b1,__ZN23btDiscreteDynamicsWorld25predictUnconstraintMotionEf,b1,__ZN23btDiscreteDynamicsWorld28internalSingleStepSimulationEf,b1,__ZN23btDiscreteDynamicsWorld18saveKinematicStateEf,b1,__ZN12btConvexCast10CastResult9DebugDrawEf,b1,b1,b1,b1,b1,b1,b1,b1,b1,b1,b1];
+ var FUNCTION_TABLE_viifii = [b2,b2];
+ var FUNCTION_TABLE_viiiii = [b3,b3,__ZN34btSphereTriangleCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b3,__ZN28btCompoundCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b3,__ZN27btContinuousConvexCollisionC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver,b3,__ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,b3,__ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib
+ ,b3,__ZN16btDbvtBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcher,b3,__ZN32btSphereSphereCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b3,__ZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b3,__ZN22SphereTriangleDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb,b3,__ZN31btConvexPlaneCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult
+ ,b3,__ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb,b3,__ZN28btCompoundCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b,b3,__ZN33btConvexConcaveCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b3,__ZN26btBoxBoxCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b3,__ZN32btSphereSphereCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_
+ ,b3,__ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,b3,__ZN23btDiscreteDynamicsWorldC2EP12btDispatcherP21btBroadphaseInterfaceP18btConstraintSolverP24btCollisionConfiguration,b3,__ZN16btBoxBoxDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb,b3,__ZN16btEmptyAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b3,__ZN26btBoxBoxCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_,b3,__ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver,b3,__ZN33btConvexConcaveCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3];
+ var FUNCTION_TABLE_vi = [b4,b4,__ZN34btSphereTriangleCollisionAlgorithmD0Ev,b4,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD2E_0v,b4,__ZN10__cxxabiv116__shim_type_infoD2Ev,b4,__ZN26btBoxBoxCollisionAlgorithmD2Ev,b4,__ZN15btGjkConvexCastD0Ev
+ ,b4,__ZN16btManifoldResultD1Ev,b4,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD0E_0v,b4,__ZN16btPointCollectorD1Ev,b4,__ZN22btSubsimplexConvexCastD1Ev,b4,__ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncD0Ev
+ ,b4,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD2Ev,b4,__ZN20btCollisionAlgorithmD1Ev,b4,__ZN25btTriangleRaycastCallbackD0Ev,b4,__ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncD1Ev,b4,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD0Ev
+ ,b4,__ZNSt9bad_allocD2Ev,b4,__ZN16btCollisionWorld27ClosestConvexResultCallbackD1Ev,b4,__ZN21btCollisionDispatcherD0Ev,b4,__ZN35btSequentialImpulseConstraintSolverD0Ev,b4,__ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallbackD0Ev
+ ,b4,__ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallbackD0Ev,b4,__ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResultD0Ev,b4,__ZN13btSphereShapeD1Ev,b4,__ZN23btCollisionPairCallbackD1Ev,b4,__ZN15btTriangleShapeD0Ev
+ ,b4,__ZN33btMinkowskiPenetrationDepthSolverD1Ev,b4,__ZN18btDbvtTreeColliderD1Ev,b4,__ZN11btUnionFindC2Ev,b4,__ZN18btConvexPolyhedronC2Ev,b4,__ZN32btSphereSphereCollisionAlgorithm10CreateFuncD0Ev
+ ,b4,__ZN23btDiscreteDynamicsWorld12applyGravityEv,b4,__ZN25btSimulationIslandManagerC2Ev,b4,__ZN16btDbvtBroadphaseD2Ev,b4,__ZN28btHashedOverlappingPairCacheC2Ev,b4,__ZN18btConvexPolyhedronD2Ev
+ ,b4,__ZN32btSphereSphereCollisionAlgorithm10CreateFuncD1Ev,b4,__ZNK10__cxxabiv116__shim_type_info5noop1Ev,b4,__ZN16btDbvtBroadphase10printStatsEv,b4,__ZN16btCollisionWorld14debugDrawWorldEv,b4,__ZN23btPolyhedralConvexShapeD2Ev
+ ,b4,__ZN23btConvexConvexAlgorithmD0Ev,b4,__ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallbackD2Ev,b4,__ZN10btBoxShapeD0Ev,b4,__ZN31btDefaultCollisionConfigurationD2Ev,b4,__ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD2Ev
+ ,b4,__ZN31btConvexPlaneCollisionAlgorithm10CreateFuncD0Ev,b4,__ZN23btDiscreteDynamicsWorld26calculateSimulationIslandsEv,b4,__ZN16btCollisionWorld11updateAabbsEv,b4,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdderD0E_1v,b4,__ZN12btConvexCast10CastResultD1Ev
+ ,b4,__ZN28btCompoundCollisionAlgorithmD2Ev,b4,__ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallbackD0Ev,b4,__ZN30btActivatingCollisionAlgorithmD2Ev,b4,__ZThn4_N17DebugDrawcallbackD0Ev,b4,__ZN22btCompoundLeafCallbackD0Ev
+ ,b4,__ZN28btCompoundCollisionAlgorithm17SwappedCreateFuncD1Ev,b4,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTesterD2E_1v,b4,__ZN16btEmptyAlgorithmD1Ev,b4,__ZN17btCollisionObjectD2Ev,b4,__ZN15btGjkConvexCastD1Ev
+ ,b4,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD2Ev,b4,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD2E_0v,b4,__ZN12btConvexCast10CastResultD0Ev,b4,__ZN16btCollisionWorldD2Ev,b4,__ZThn4_N17DebugDrawcallbackD1Ev
+ ,b4,__ZN23btDiscreteDynamicsWorldD0Ev,b4,__ZN17DebugDrawcallbackD0Ev,b4,__ZN19btSingleRayCallbackD1Ev,b4,__ZN20BroadphaseAabbTesterD1Ev,b4,__ZN20btCollisionAlgorithmD0Ev
+ ,b4,__ZN28btCompoundCollisionAlgorithm17SwappedCreateFuncD0Ev,b4,__ZN28btHashedOverlappingPairCacheD2Ev,b4,__ZN33btConvexConcaveCollisionAlgorithmD2Ev,b4,__ZN10btBoxShapeD1Ev,b4,__ZN28btCompoundCollisionAlgorithm10CreateFuncD1Ev
+ ,b4,__ZN6btDbvtD2Ev,b4,__ZN23btDiscreteDynamicsWorld23synchronizeMotionStatesEv,b4,__ZN34btSphereTriangleCollisionAlgorithmD2Ev,b4,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTesterD0E_1v,b4,__ZN16btEmptyAlgorithmD0Ev
+ ,b4,__ZN35btSequentialImpulseConstraintSolver5resetEv,b4,__ZL20btAlignedFreeDefaultPv,b4,__ZN15btTriangleShapeD1Ev,b4,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD0E_0v,b4,__ZN19btSingleRayCallbackD0Ev
+ ,b4,__ZN22SphereTriangleDetectorD0Ev,b4,__ZN28btTriangleConvexcastCallbackD0Ev,b4,__ZN16btCollisionWorld33performDiscreteCollisionDetectionEv,b4,__ZN30btGjkEpaPenetrationDepthSolverD0Ev,b4,__ZNSt9bad_allocD0Ev
+ ,b4,__ZN33btMinkowskiPenetrationDepthSolverD0Ev,b4,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD0Ev,b4,__ZN21btConvexInternalShapeD1Ev,b4,__ZN16btDbvtBroadphaseD0Ev,b4,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder2D0Ev
+ ,b4,__ZN10__cxxabiv120__si_class_type_infoD0Ev,b4,__ZN17DebugDrawcallbackD1Ev,b4,__ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallbackD2Ev,b4,__ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD2Ev,b4,__ZN16btCollisionWorld27ClosestConvexResultCallbackD0Ev
+ ,b4,__ZN26btBoxBoxCollisionAlgorithm10CreateFuncD0Ev,b4,__ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD0Ev,b4,__ZN13btConvexShapeD2Ev,b4,__ZN21btConvexInternalShapeD0Ev,b4,__ZN23btDiscreteDynamicsWorld11clearForcesEv
+ ,b4,__ZN18btConvexPolyhedronD0Ev,b4,__ZNK10__cxxabiv116__shim_type_info5noop2Ev,b4,__ZN20btDefaultMotionStateD1Ev,b4,__ZN31btConvexPlaneCollisionAlgorithmD0Ev,b4,__ZN23btConvexConvexAlgorithm10CreateFuncD0Ev
+ ,b4,__ZN16btPointCollectorD0Ev,b4,__ZN31btDefaultCollisionConfigurationD0Ev,b4,__ZN16btBoxBoxDetectorD1Ev,b4,__ZN33btConvexConcaveCollisionAlgorithm10CreateFuncD1Ev,b4,__ZN19BroadphaseRayTesterD1Ev
+ ,b4,__ZN23btCollisionPairCallbackD0Ev,b4,__ZN11btUnionFindD2Ev,b4,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdderD2E_1v,b4,__ZN24btPerturbedContactResultD0Ev,b4,__ZN34btSphereTriangleCollisionAlgorithm10CreateFuncD0Ev
+ ,b4,__ZN23btDiscreteDynamicsWorldD2Ev,b4,__ZN6btDbvtC2Ev,b4,__ZN12CProfileNodeD2Ev,b4,__ZN33btConvexConcaveCollisionAlgorithm10CreateFuncD0Ev,b4,__ZN30btActivatingCollisionAlgorithmD0Ev
+ ,b4,__ZN26btBoxBoxCollisionAlgorithmD0Ev,b4,__ZN21btSingleSweepCallbackD1Ev,b4,__ZN18btDbvtTreeColliderD0Ev,b4,__ZN20BroadphaseAabbTesterD0Ev,b4,__ZN22SphereTriangleDetectorD1Ev
+ ,b4,__ZN32btSphereSphereCollisionAlgorithmD0Ev,b4,__ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallbackD2Ev,b4,__ZN27btContinuousConvexCollisionD1Ev,b4,__ZN11btRigidBodyD1Ev,b4,__ZN10__cxxabiv121__vmi_class_type_infoD0Ev
+ ,b4,__ZN21btSingleSweepCallbackD0Ev,b4,__ZN22btSubsimplexConvexCastD0Ev,b4,__ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResultD2Ev,b4,__ZN27btContinuousConvexCollisionD0Ev,b4,__ZN17btCollisionObjectD0Ev
+ ,b4,__ZN23btPolyhedralConvexShapeD0Ev,b4,__ZN17btGjkPairDetectorD1Ev,b4,__ZN16btEmptyAlgorithm10CreateFuncD0Ev,b4,__ZN30btGjkEpaPenetrationDepthSolverD1Ev,b4,__ZN11btRigidBodyD0Ev
+ ,b4,__ZN35btSequentialImpulseConstraintSolverC2Ev,b4,__ZN28btHashedOverlappingPairCacheD0Ev,b4,__ZN24btConvexTriangleCallbackD2Ev,b4,__ZN22btCompoundLeafCallbackD1Ev,b4,__ZL13btFreeDefaultPv
+ ,b4,__ZN21btCollisionDispatcherD2Ev,b4,__ZN26btBoxBoxCollisionAlgorithm10CreateFuncD1Ev,b4,__ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResultD0Ev,b4,__ZN25btSimulationIslandManagerD2Ev,b4,__ZN34btClosestNotMeConvexResultCallbackD1Ev
+ ,b4,__ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD0Ev,b4,__ZN25btTriangleRaycastCallbackD1Ev,b4,__ZN17btGjkPairDetectorD0Ev,b4,__ZN33btConvexConcaveCollisionAlgorithmD0Ev,b4,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder2D2Ev
+ ,b4,__ZN23btConvexConvexAlgorithmD2Ev,b4,__ZN28btCompoundCollisionAlgorithmD0Ev,b4,__ZN34btClosestNotMeConvexResultCallbackD0Ev,b4,__ZN16btBoxBoxDetectorD0Ev,b4,__ZN24btConvexTriangleCallbackD0Ev
+ ,b4,__ZN13btSphereShapeD0Ev,b4,__ZN13btConvexShapeD0Ev,b4,__ZN7btClockD2Ev,b4,__ZN31btConvexPlaneCollisionAlgorithm10CreateFuncD1Ev,b4,__ZN24btPerturbedContactResultD1Ev
+ ,b4,__ZN23btDiscreteDynamicsWorld14debugDrawWorldEv,b4,__ZN16btEmptyAlgorithm10CreateFuncD1Ev,b4,__ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD0Ev,b4,__ZN10__cxxabiv117__class_type_infoD0Ev,b4,__ZN34btSphereTriangleCollisionAlgorithm10CreateFuncD1Ev
+ ,b4,__ZN28btTriangleConvexcastCallbackD1Ev,b4,__ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResultD2Ev,b4,__ZN28btCompoundCollisionAlgorithm10CreateFuncD0Ev,b4,__ZN23btConvexConvexAlgorithm10CreateFuncD2Ev,b4,__ZN25btSimulationIslandManagerD0Ev
+ ,b4,__ZN16btCollisionWorldD0Ev,b4,__ZN19BroadphaseRayTesterD0Ev,b4,__ZN16btManifoldResultD0Ev,b4,__ZN35btSequentialImpulseConstraintSolverD2Ev,b4,__ZN20btDefaultMotionStateD0Ev,b4,__ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD2Ev,b4,__ZN32btSphereSphereCollisionAlgorithmD2Ev,b4,__ZN31btConvexPlaneCollisionAlgorithmD2Ev,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4,b4];
+ var FUNCTION_TABLE_vii = [b5,b5,__ZN21btConvexInternalShape15setLocalScalingERK9btVector3,b5,__ZN28btCompoundCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,b5,__ZN20BroadphaseAabbTester7ProcessEPK10btDbvtNode,b5,__ZN23btDiscreteDynamicsWorld13removeVehicleEP17btActionInterface,b5,__ZN23btDiscreteDynamicsWorld12removeActionEP17btActionInterface
+ ,b5,__ZN21btCollisionDispatcher15releaseManifoldEP20btPersistentManifold,b5,__ZN23btConvexConvexAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,b5,__ZN11btRigidBodyC2ERKNS_27btRigidBodyConstructionInfoE,b5,__ZN16btCollisionWorld9serializeEP12btSerializer,b5,__ZNK20btDefaultMotionState17getWorldTransformER11btTransform
+ ,b5,__ZN16btCollisionWorld14setDebugDrawerEP12btIDebugDraw,b5,__ZN16btCollisionWorld21removeCollisionObjectEP17btCollisionObject,b5,__ZN23btDiscreteDynamicsWorld12addCharacterEP17btActionInterface,b5,__ZNK11btRigidBody21serializeSingleObjectEP12btSerializer,b5,__ZN17btCollisionObject17setCollisionShapeEP16btCollisionShape
+ ,b5,__ZN25btSimulationIslandManager26storeIslandActivationStateEP16btCollisionWorld,b5,__ZN12btConvexCast10CastResult15drawCoordSystemERK11btTransform,b5,__ZN28btHashedOverlappingPairCache28setInternalGhostPairCallbackEP25btOverlappingPairCallback,b5,__ZN23btDiscreteDynamicsWorld10setGravityERK9btVector3,b5,__ZN23btDiscreteDynamicsWorld16removeConstraintEP17btTypedConstraint
+ ,b5,__ZN23btDiscreteDynamicsWorld12addRigidBodyEP11btRigidBody,b5,__ZNK23btDiscreteDynamicsWorld10getGravityEv,b5,__ZN23btDiscreteDynamicsWorld15removeCharacterEP17btActionInterface,b5,__ZN16btDbvtBroadphase9resetPoolEP12btDispatcher,b5,__ZN23btDiscreteDynamicsWorld9serializeEP12btSerializer
+ ,b5,__ZN22btCompoundLeafCallback7ProcessEPK10btDbvtNode,b5,__ZNK17btCollisionObject21serializeSingleObjectEP12btSerializer,b5,__ZN16btDbvtBroadphase25calculateOverlappingPairsEP12btDispatcher,b5,__ZN21btCollisionDispatcher22freeCollisionAlgorithmEPv,b5,__ZN26btBoxBoxCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE
+ ,b5,__ZN34btSphereTriangleCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,b5,__ZN10btBoxShape15setLocalScalingERK9btVector3,b5,__ZN23btDiscreteDynamicsWorld11setNumTasksEi,b5,__ZN28btHashedOverlappingPairCache24setOverlapFilterCallbackEP23btOverlapFilterCallback,b5,__ZN23btDiscreteDynamicsWorld19setConstraintSolverEP18btConstraintSolver
+ ,b5,__ZN21btCollisionDispatcherC2EP24btCollisionConfiguration,b5,__ZN23btDiscreteDynamicsWorld10addVehicleEP17btActionInterface,b5,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTester7ProcessE_1PK10btDbvtNode,b5,__ZN23btDiscreteDynamicsWorld21removeCollisionObjectEP17btCollisionObject,b5,__ZN19BroadphaseRayTester7ProcessEPK10btDbvtNode
+ ,b5,__ZN28btHashedOverlappingPairCache20sortOverlappingPairsEP12btDispatcher,b5,__ZN31btDefaultCollisionConfigurationC2ERK34btDefaultCollisionConstructionInfo,b5,__ZNK16btCollisionShape20serializeSingleShapeEP12btSerializer,b5,__ZN16btEmptyAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,b5,__ZN16btEmptyAlgorithmC2ERK36btCollisionAlgorithmConstructionInfo
+ ,b5,__ZN18btDbvtTreeCollider7ProcessEPK10btDbvtNode,b5,__ZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfo,b5,__ZN20btDefaultMotionState17setWorldTransformERK11btTransform,b5,__ZN33btConvexConcaveCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,b5,__ZN21btCollisionDispatcher13clearManifoldEP20btPersistentManifold
+ ,b5,__ZN16btDbvtBroadphaseC2EP22btOverlappingPairCache,b5,__ZN23btDiscreteDynamicsWorld15removeRigidBodyEP11btRigidBody,b5,__ZN23btDiscreteDynamicsWorld9addActionEP17btActionInterface,b5,__ZN31btConvexPlaneCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,b5,__ZN32btSphereSphereCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5];
+ var FUNCTION_TABLE_viiifii = [b6,b6];
+ var FUNCTION_TABLE_vifiii = [b7,b7,__ZN11btRigidBodyC2EfP13btMotionStateP16btCollisionShapeRK9btVector3,b7];
+ var FUNCTION_TABLE_ii = [b8,b8,__ZN23btPolyhedralConvexShape28initializePolyhedralFeaturesEv,b8,__ZNK15btTriangleShape11getNumEdgesEv,b8,__ZN28btHashedOverlappingPairCache26getOverlappingPairArrayPtrEv,b8,__ZNK23btDiscreteDynamicsWorld17getNumConstraintsEv,b8,__ZNK16btCollisionShape28calculateSerializeBufferSizeEv
+ ,b8,__ZNK21btConvexInternalShape36getNumPreferredPenetrationDirectionsEv,b8,__ZNK28btHashedOverlappingPairCache22getNumOverlappingPairsEv,b8,__ZNK13btSphereShape7getNameEv,b8,__ZNK15btTriangleShape7getNameEv,b8,__ZNK11btRigidBody28calculateSerializeBufferSizeEv
+ ,b8,__ZNK10btBoxShape14getNumVerticesEv,b8,__ZNK28btHashedOverlappingPairCache26getOverlappingPairArrayPtrEv,b8,__ZN21btCollisionDispatcher23getInternalManifoldPoolEv,b8,__ZNK15btTriangleShape12getNumPlanesEv,b8,__ZN16btCollisionWorld14getDebugDrawerEv
+ ,b8,__ZN31btDefaultCollisionConfiguration25getPersistentManifoldPoolEv,b8,__ZNK21btConvexInternalShape28calculateSerializeBufferSizeEv,b8,__ZN31btDefaultCollisionConfiguration25getCollisionAlgorithmPoolEv,b8,__ZNK10btBoxShape11getNumEdgesEv,b8,__ZN31btDefaultCollisionConfiguration17getStackAllocatorEv
+ ,b8,__ZNK15btTriangleShape36getNumPreferredPenetrationDirectionsEv,b8,__ZNK21btCollisionDispatcher15getNumManifoldsEv,b8,__ZNK10btBoxShape36getNumPreferredPenetrationDirectionsEv,b8,__ZN21btCollisionDispatcher26getInternalManifoldPointerEv,b8,__ZNK15btTriangleShape14getNumVerticesEv
+ ,b8,__ZNK10btBoxShape12getNumPlanesEv,b8,__ZNK23btDiscreteDynamicsWorld12getWorldTypeEv,b8,__ZNK21btConvexInternalShape15getLocalScalingEv,b8,__ZN28btHashedOverlappingPairCache18hasDeferredRemovalEv,b8,__ZN28btHashedOverlappingPairCache23getOverlappingPairArrayEv
+ ,b8,__ZN16btDbvtBroadphase23getOverlappingPairCacheEv,b8,__ZN23btDiscreteDynamicsWorld19getConstraintSolverEv,b8,__ZNKSt9bad_alloc4whatEv,b8,__ZNK16btDbvtBroadphase23getOverlappingPairCacheEv,b8,__ZNK21btCollisionDispatcher23getInternalManifoldPoolEv,b8,__ZNK10btBoxShape7getNameEv,b8,__ZN31btDefaultCollisionConfiguration16getSimplexSolverEv,b8,__ZNK17btCollisionObject28calculateSerializeBufferSizeEv,b8,__ZL14btAllocDefaultj,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8,b8];
+ var FUNCTION_TABLE_viiiiffffiif = [b9,b9];
+ var FUNCTION_TABLE_fiii = [b10,b10,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdder15addSingleResultE_1RNS_17LocalConvexResultEb,b10,__ZN16btCollisionWorld27ClosestConvexResultCallback15addSingleResultERNS_17LocalConvexResultEb,b10,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder215addSingleResultERNS_14LocalRayResultEb,b10,__ZN34btClosestNotMeConvexResultCallback15addSingleResultERN16btCollisionWorld17LocalConvexResultEb,b10,b10,b10,b10,b10,b10,b10];
+ var FUNCTION_TABLE_viiif = [b11,b11,__ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult15addContactPointERK9btVector3SA_f,b11,__ZN22SphereTriangleDetectorC2EP13btSphereShapeP15btTriangleShapef,b11,__ZN16btManifoldResult15addContactPointERK9btVector3S2_f,b11,__ZN24btPerturbedContactResult15addContactPointERK9btVector3S2_f,b11,__ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult15addContactPointERKS8_SG_f,b11,__ZN16btPointCollector15addContactPointERK9btVector3S2_f,b11,b11,b11];
+ var FUNCTION_TABLE_fiiiiiiiiiii = [b12,b12,__ZN35btSequentialImpulseConstraintSolver10solveGroupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAllocP12btDispatcher,b12];
+ var FUNCTION_TABLE_fiifii = [b13,b13,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallback9reportHitE_0RK9btVector3fii,b13,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallback9reportHitERK9btVector3fii,b13,b13,b13];
+ var FUNCTION_TABLE_iii = [b14,b14,__ZN19btSingleRayCallback7processEPK17btBroadphaseProxy,b14,__ZL21btAlignedAllocDefaultji,b14,__ZN11btRigidBody24checkCollideWithOverrideEP17btCollisionObject,b14,__ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallback14processOverlapER16btBroadphasePair,b14,__ZN6btDbvt8ICollide9AllLeavesEPK10btDbvtNode
+ ,b14,__ZN21btCollisionDispatcher26allocateCollisionAlgorithmEi,b14,__ZL8pointCmpRKN20btConvexHullInternal7Point32ES2_,b14,__ZN21btCollisionDispatcher26getManifoldByIndexInternalEi,b14,__ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallback14processOverlapER16btBroadphasePair,b14,__ZN17btCollisionObject24checkCollideWithOverrideEPS_
+ ,b14,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEENK15LocalInfoAdder214needsCollisionEP17btBroadphaseProxy,b14,__ZNK34btClosestNotMeConvexResultCallback14needsCollisionEP17btBroadphaseProxy,b14,__ZN23btCollisionPairCallback14processOverlapER16btBroadphasePair,b14,__ZN21btSingleSweepCallback7processEPK17btBroadphaseProxy,b14,__ZNK16btCollisionWorld20ConvexResultCallback14needsCollisionEP17btBroadphaseProxy,b14,__ZN6btDbvt8ICollide7DescentEPK10btDbvtNode,b14,__ZN23btDiscreteDynamicsWorld13getConstraintEi,b14,__ZNK23btDiscreteDynamicsWorld13getConstraintEi,b14,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfENK14LocalInfoAdder14needsCollisionE_1P17btBroadphaseProxy,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14,b14];
+ var FUNCTION_TABLE_iiii = [b15,b15,__ZN21btCollisionDispatcher14getNewManifoldEPvS0_,b15,__ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv,b15,__ZNK21btConvexInternalShape9serializeEPvP12btSerializer,b15,__ZN21btCollisionDispatcher14needsCollisionEP17btCollisionObjectS1_,b15,__ZN28btHashedOverlappingPairCache18addOverlappingPairEP17btBroadphaseProxyS1_
+ ,b15,__ZN28btHashedOverlappingPairCache8findPairEP17btBroadphaseProxyS1_,b15,__ZNK16btCollisionShape9serializeEPvP12btSerializer,b15,__ZN21btCollisionDispatcher13needsResponseEP17btCollisionObjectS1_,b15,__ZNK11btRigidBody9serializeEPvP12btSerializer,b15,__ZN31btDefaultCollisionConfiguration31getCollisionAlgorithmCreateFuncEii,b15,__ZNK17btCollisionObject9serializeEPvP12btSerializer,b15,b15,b15,b15,b15,b15,b15,b15,b15];
+ var FUNCTION_TABLE_fif = [b16,b16,__ZNK16btCollisionShape27getContactBreakingThresholdEf,b16];
+ var FUNCTION_TABLE_viiiiiiii = [b17,b17,__ZN31btConvexPlaneCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_bii,b17];
+ var FUNCTION_TABLE_vifi = [b18,b18,__ZNK15btTriangleShape21calculateLocalInertiaEfR9btVector3,b18,__ZNK23btPolyhedralConvexShape21calculateLocalInertiaEfR9btVector3,b18,__ZNK13btSphereShape21calculateLocalInertiaEfR9btVector3,b18,__ZNK10btBoxShape21calculateLocalInertiaEfR9btVector3,b18,b18,b18,b18,b18,b18,b18];
+ var FUNCTION_TABLE_viiiiii = [b19,b19,__ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,b19,__ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,b19,__ZN34btSphereTriangleCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_b,b19,__ZN16btDbvtBroadphase7rayTestERK9btVector3S2_R23btBroadphaseRayCallbackS2_S2_,b19,__ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,b19,__ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallback13ProcessIslandEPP17btCollisionObjectiPP20btPersistentManifoldii,b19,b19,b19];
+ var FUNCTION_TABLE_iiiiiiiiii = [b20,b20,__ZN16btDbvtBroadphase11createProxyERK9btVector3S2_iPvssP12btDispatcherS3_,b20];
+ var FUNCTION_TABLE_viffiii = [b21,b21];
+ var FUNCTION_TABLE_iiiiiii = [b22,b22,__ZN27btContinuousConvexCollision16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE,b22,__ZN22btSubsimplexConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE,b22,__ZN15btGjkConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE,b22];
+ var FUNCTION_TABLE_fiiiiiiiiii = [b23,b23,__ZN35btSequentialImpulseConstraintSolver28solveGroupCacheFriendlySetupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc,b23,__ZN35btSequentialImpulseConstraintSolver33solveGroupCacheFriendlyIterationsEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc,b23,__ZN35btSequentialImpulseConstraintSolver29solveGroupCacheFriendlyFinishEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc,b23];
+ var FUNCTION_TABLE_fiiiii = [b24,b24,__ZN32btSphereSphereCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b24,__ZN26btBoxBoxCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b24,__ZN31btConvexPlaneCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b24,__ZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b24,__ZN28btCompoundCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b24,__ZN23btConvexConvexAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b24,__ZN16btEmptyAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b24,__ZN34btSphereTriangleCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,b24,b24,b24,b24,b24,b24,b24,b24,b24,b24,b24,b24,b24,b24,b24];
+ var FUNCTION_TABLE_iiiiiiiiiiii = [b25,b25,__ZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAlloc,b25,__ZN30btGjkEpaPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAlloc,b25,b25,b25];
+ var FUNCTION_TABLE_vifii = [b26,b26];
+ var FUNCTION_TABLE_fi = [b27,b27,__ZNK13btSphereShape9getMarginEv,b27,__ZNK16btCollisionShape20getAngularMotionDiscEv,b27,__ZNK21btConvexInternalShape9getMarginEv,b27];
+ var FUNCTION_TABLE_viiiiiiiiii = [b28,b28,__ZN35btSequentialImpulseConstraintSolver45solveGroupCacheFriendlySplitImpulseIterationsEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc,b28];
+ var FUNCTION_TABLE_viiiifffffif = [b29,b29];
+ var FUNCTION_TABLE_viiiiiffii = [b30,b30,__ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_iiffP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver,b30];
+ var FUNCTION_TABLE_iifif = [b31,b31,__ZN23btDiscreteDynamicsWorld14stepSimulationEfif,b31];
+ var FUNCTION_TABLE_iiiii = [b32,b32,__ZN28btCompoundCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,b32,__ZN31btConvexPlaneCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,b32,__ZN16btEmptyAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,b32,__ZN21btCollisionDispatcher13findAlgorithmEP17btCollisionObjectS1_P20btPersistentManifold,b32,__ZN34btSphereTriangleCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_
+ ,b32,__ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,b32,__ZN32btSphereSphereCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,b32,__ZN33btConvexConcaveCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,b32,__ZN26btBoxBoxCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,b32,__ZN28btCompoundCollisionAlgorithm17SwappedCreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,b32,__ZN28btHashedOverlappingPairCache21removeOverlappingPairEP17btBroadphaseProxyS1_P12btDispatcher,b32,__ZN23btConvexConvexAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,b32,b32,b32,b32,b32,b32,b32];
+ var FUNCTION_TABLE_viii = [b33,b33,__ZN18btDbvtTreeCollider7ProcessEPK10btDbvtNodeS2_,b33,__ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult20setShapeIdentifiersBEii,b33,__ZNK15btTriangleShape37localGetSupportingVertexWithoutMarginERK9btVector3,b33,__ZNK10btBoxShape32getPreferredPenetrationDirectionEiR9btVector3,b33,__ZN6btDbvt8ICollide7ProcessEPK10btDbvtNodeS3_
+ ,b33,__ZNK15btTriangleShape32getPreferredPenetrationDirectionEiR9btVector3,b33,__ZN28btHashedOverlappingPairCache20cleanOverlappingPairER16btBroadphasePairP12btDispatcher,b33,__ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult20setShapeIdentifiersBEii,b33,__ZNK13btSphereShape37localGetSupportingVertexWithoutMarginERK9btVector3,b33,__ZN21btCollisionDispatcher19defaultNearCallbackER16btBroadphasePairRS_RK16btDispatcherInfo
+ ,b33,__ZN25btSimulationIslandManager21updateActivationStateEP16btCollisionWorldP12btDispatcher,b33,__ZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcher,b33,__ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult20setShapeIdentifiersAEii,b33,__ZNK10btBoxShape16getPlaneEquationER9btVector4i,b33,__ZNK15btTriangleShape9getVertexEiR9btVector3
+ ,b33,__ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallback11processNodeEii,b33,__ZN16btPointCollector20setShapeIdentifiersAEii,b33,__ZNK13btConvexShape31localGetSupportVertexNonVirtualERK9btVector3,b33,__ZNK21btConvexInternalShape24localGetSupportingVertexERK9btVector3,b33,__ZN23btConvexConvexAlgorithm10CreateFuncC2EP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver
+ ,b33,__ZNK23btPolyhedralConvexShape37localGetSupportingVertexWithoutMarginERK9btVector3,b33,__ZN16btBoxBoxDetectorC2EP10btBoxShapeS1_,b33,__ZNK13btSphereShape24localGetSupportingVertexERK9btVector3,b33,__ZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcher,b33,__ZN16btPointCollector20setShapeIdentifiersBEii
+ ,b33,__ZN16btManifoldResult20setShapeIdentifiersAEii,b33,__ZNK10btBoxShape9getVertexEiR9btVector3,b33,__ZN18btConstraintSolver12prepareSolveEii,b33,__ZN16btDbvtBroadphase12destroyProxyEP17btBroadphaseProxyP12btDispatcher,b33,__ZNK16btCollisionShape17getBoundingSphereER9btVector3Rf
+ ,b33,__ZN28btHashedOverlappingPairCache26processAllOverlappingPairsEP17btOverlapCallbackP12btDispatcher,b33,__ZNK10btBoxShape37localGetSupportingVertexWithoutMarginERK9btVector3,b33,__ZN27btContinuousConvexCollisionC2EPK13btConvexShapePK18btStaticPlaneShape,b33,__ZN23btDiscreteDynamicsWorld13addConstraintEP17btTypedConstraintb,b33,__ZN16btManifoldResult20setShapeIdentifiersBEii
+ ,b33,__ZNK10btBoxShape24localGetSupportingVertexERK9btVector3,b33,__ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallback11processNodeEii,b33,__ZN16btManifoldResultC2EP17btCollisionObjectS1_,b33,__ZNK21btConvexInternalShape32getPreferredPenetrationDirectionEiR9btVector3,b33,__ZN12btConvexCast10CastResult13reportFailureEii,b33,__ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3,b33,__ZNK16btDbvtBroadphase17getBroadphaseAabbER9btVector3S1_,b33,__ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult20setShapeIdentifiersAEii,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33,b33];
+ var FUNCTION_TABLE_viifi = [b34,b34];
+ var FUNCTION_TABLE_v = [b35,b35,v____cxa_pure_virtual__wrapper,b35];
+ var FUNCTION_TABLE_viif = [b36,b36,__ZN6btDbvt8ICollide7ProcessEPK10btDbvtNodef,b36];
+ var FUNCTION_TABLE_iiif = [b37,b37,__ZNK15btTriangleShape8isInsideERK9btVector3f,b37,__ZNK10btBoxShape8isInsideERK9btVector3f,b37,b37,b37];
+ var FUNCTION_TABLE_fiiifii = [b38,b38,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallback9reportHitERK9btVector3SG_fii,b38,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallback9reportHitE_0RK9btVector3SG_fii,b38,b38,b38];
+ var FUNCTION_TABLE_viiii = [b39,b39,__ZN22btSubsimplexConvexCastC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolver,b39,__ZThn4_N17DebugDrawcallback28internalProcessTriangleIndexEP9btVector3ii,b39,__ZNK15btTriangleShape8getPlaneER9btVector3S1_i,b39,__ZN16btCollisionWorld18addCollisionObjectEP17btCollisionObjectss,b39,__ZNK13btSphereShape7getAabbERK11btTransformR9btVector3S4_
+ ,b39,__ZN16btDbvtBroadphase8aabbTestERK9btVector3S2_R24btBroadphaseAabbCallback,b39,__ZN16btCollisionWorld15debugDrawObjectERK11btTransformPK16btCollisionShapeRK9btVector3,b39,__ZN17DebugDrawcallback28internalProcessTriangleIndexEP9btVector3ii,b39,__ZNK10btBoxShape7getEdgeEiR9btVector3S1_,b39,__ZNK15btTriangleShape7getEdgeEiR9btVector3S1_
+ ,b39,__ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,b39,__ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,b39,__ZN28btTriangleConvexcastCallback15processTriangleEP9btVector3ii,b39,__ZNK23btPolyhedralConvexShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,b39,__ZN18btConstraintSolver9allSolvedERK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc
+ ,b39,__ZN24btConvexTriangleCallback15processTriangleEP9btVector3ii,b39,__ZNK13btSphereShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,b39,__ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallback15processTriangleEP9btVector3ii,b39,__ZNK21btConvexInternalShape11getAabbSlowERK11btTransformR9btVector3S4_,b39,__ZN25btTriangleRaycastCallback15processTriangleEP9btVector3ii
+ ,b39,__ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,b39,__ZN21btCollisionDispatcher25dispatchAllCollisionPairsEP22btOverlappingPairCacheRK16btDispatcherInfoP12btDispatcher,b39,__ZNK10btBoxShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,b39,__ZNK10btBoxShape7getAabbERK11btTransformR9btVector3S4_,b39,__ZNK15btTriangleShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i
+ ,b39,__ZN15btGjkConvexCastC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolver,b39,__ZNK16btDbvtBroadphase7getAabbEP17btBroadphaseProxyR9btVector3S3_,b39,__ZN23btDiscreteDynamicsWorld12addRigidBodyEP11btRigidBodyss,b39,__ZNK21btConvexInternalShape7getAabbERK11btTransformR9btVector3S4_,b39,__ZNK16btCollisionWorld7rayTestERK9btVector3S2_RNS_17RayResultCallbackE
+ ,b39,__ZNK10btBoxShape8getPlaneER9btVector3S1_i,b39,__ZNK15btTriangleShape16getPlaneEquationEiR9btVector3S1_,b39,__ZNK15btTriangleShape7getAabbERK11btTransformR9btVector3S4_,b39,__ZN17DebugDrawcallback15processTriangleEP9btVector3ii,b39,__ZN23btDiscreteDynamicsWorld18addCollisionObjectEP17btCollisionObjectss,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39,b39];
+ return { _strlen: _strlen, _free: _free, _main: _main, __GLOBAL__I_a: __GLOBAL__I_a, _memset: _memset, _malloc: _malloc, _memcpy: _memcpy, _llvm_uadd_with_overflow_i64: _llvm_uadd_with_overflow_i64, runPostSets: runPostSets, stackAlloc: stackAlloc, stackSave: stackSave, stackRestore: stackRestore, setThrew: setThrew, setTempRet0: setTempRet0, setTempRet1: setTempRet1, setTempRet2: setTempRet2, setTempRet3: setTempRet3, setTempRet4: setTempRet4, setTempRet5: setTempRet5, setTempRet6: setTempRet6, setTempRet7: setTempRet7, setTempRet8: setTempRet8, setTempRet9: setTempRet9, dynCall_iiiiiiii: dynCall_iiiiiiii, dynCall_vif: dynCall_vif, dynCall_viifii: dynCall_viifii, dynCall_viiiii: dynCall_viiiii, dynCall_vi: dynCall_vi, dynCall_vii: dynCall_vii, dynCall_viiifii: dynCall_viiifii, dynCall_vifiii: dynCall_vifiii, dynCall_ii: dynCall_ii, dynCall_viiiiffffiif: dynCall_viiiiffffiif, dynCall_fiii: dynCall_fiii, dynCall_viiif: dynCall_viiif, dynCall_fiiiiiiiiiii: dynCall_fiiiiiiiiiii, dynCall_fiifii: dynCall_fiifii, dynCall_iii: dynCall_iii, dynCall_iiii: dynCall_iiii, dynCall_fif: dynCall_fif, dynCall_viiiiiiii: dynCall_viiiiiiii, dynCall_vifi: dynCall_vifi, dynCall_viiiiii: dynCall_viiiiii, dynCall_iiiiiiiiii: dynCall_iiiiiiiiii, dynCall_viffiii: dynCall_viffiii, dynCall_iiiiiii: dynCall_iiiiiii, dynCall_fiiiiiiiiii: dynCall_fiiiiiiiiii, dynCall_fiiiii: dynCall_fiiiii, dynCall_iiiiiiiiiiii: dynCall_iiiiiiiiiiii, dynCall_vifii: dynCall_vifii, dynCall_fi: dynCall_fi, dynCall_viiiiiiiiii: dynCall_viiiiiiiiii, dynCall_viiiifffffif: dynCall_viiiifffffif, dynCall_viiiiiffii: dynCall_viiiiiffii, dynCall_iifif: dynCall_iifif, dynCall_iiiii: dynCall_iiiii, dynCall_viii: dynCall_viii, dynCall_viifi: dynCall_viifi, dynCall_v: dynCall_v, dynCall_viif: dynCall_viif, dynCall_iiif: dynCall_iiif, dynCall_fiiifii: dynCall_fiiifii, dynCall_viiii: dynCall_viiii };
+};
+
+var ffis = { "abort": abort, "assert": assert, "asmPrintInt": asmPrintInt, "asmPrintFloat": asmPrintFloat, "min": Math_min, "invoke_iiiiiiii": invoke_iiiiiiii, "invoke_vif": invoke_vif, "invoke_viifii": invoke_viifii, "invoke_viiiii": invoke_viiiii, "invoke_vi": invoke_vi, "invoke_vii": invoke_vii, "invoke_viiifii": invoke_viiifii, "invoke_vifiii": invoke_vifiii, "invoke_ii": invoke_ii, "invoke_viiiiffffiif": invoke_viiiiffffiif, "invoke_fiii": invoke_fiii, "invoke_viiif": invoke_viiif, "invoke_fiiiiiiiiiii": invoke_fiiiiiiiiiii, "invoke_fiifii": invoke_fiifii, "invoke_iii": invoke_iii, "invoke_iiii": invoke_iiii, "invoke_fif": invoke_fif, "invoke_viiiiiiii": invoke_viiiiiiii, "invoke_vifi": invoke_vifi, "invoke_viiiiii": invoke_viiiiii, "invoke_iiiiiiiiii": invoke_iiiiiiiiii, "invoke_viffiii": invoke_viffiii, "invoke_iiiiiii": invoke_iiiiiii, "invoke_fiiiiiiiiii": invoke_fiiiiiiiiii, "invoke_fiiiii": invoke_fiiiii, "invoke_iiiiiiiiiiii": invoke_iiiiiiiiiiii, "invoke_vifii": invoke_vifii, "invoke_fi": invoke_fi, "invoke_viiiiiiiiii": invoke_viiiiiiiiii, "invoke_viiiifffffif": invoke_viiiifffffif, "invoke_viiiiiffii": invoke_viiiiiffii, "invoke_iifif": invoke_iifif, "invoke_iiiii": invoke_iiiii, "invoke_viii": invoke_viii, "invoke_viifi": invoke_viifi, "invoke_v": invoke_v, "invoke_viif": invoke_viif, "invoke_iiif": invoke_iiif, "invoke_fiiifii": invoke_fiiifii, "invoke_viiii": invoke_viiii, "_llvm_lifetime_end": _llvm_lifetime_end, "_cosf": _cosf, "_fabsf": _fabsf, "_sysconf": _sysconf, "___cxa_throw": ___cxa_throw, "_atexit": _atexit, "_abort": _abort, "_fprintf": _fprintf, "_llvm_eh_exception": _llvm_eh_exception, "_printf": _printf, "_acosf": _acosf, "_fflush": _fflush, "__reallyNegative": __reallyNegative, "_sqrtf": _sqrtf, "_llvm_pow_f32": _llvm_pow_f32, "___setErrNo": ___setErrNo, "_fwrite": _fwrite, "_send": _send, "_write": _write, "_exit": _exit, "_atan2f": _atan2f, "___cxa_pure_virtual": ___cxa_pure_virtual, "___cxa_is_number_type": ___cxa_is_number_type, "_time": _time, "__formatString": __formatString, "___cxa_does_inherit": ___cxa_does_inherit, "___cxa_guard_acquire": ___cxa_guard_acquire, "__ZSt9terminatev": __ZSt9terminatev, "_gettimeofday": _gettimeofday, "___cxa_find_matching_catch": ___cxa_find_matching_catch, "_sinf": _sinf, "___assert_func": ___assert_func, "__ZSt18uncaught_exceptionv": __ZSt18uncaught_exceptionv, "_pwrite": _pwrite, "___cxa_call_unexpected": ___cxa_call_unexpected, "_sbrk": _sbrk, "___cxa_guard_abort": ___cxa_guard_abort, "___cxa_allocate_exception": ___cxa_allocate_exception, "___errno_location": ___errno_location, "___gxx_personality_v0": ___gxx_personality_v0, "_llvm_lifetime_start": _llvm_lifetime_start, "_fmod": _fmod, "___cxa_guard_release": ___cxa_guard_release, "__exit": __exit, "___resumeException": ___resumeException, "STACKTOP": STACKTOP, "STACK_MAX": STACK_MAX, "tempDoublePtr": tempDoublePtr, "ABORT": ABORT, "cttz_i8": cttz_i8, "ctlz_i8": ctlz_i8, "NaN": NaN, "Infinity": Infinity, "__ZTVN10__cxxabiv117__class_type_infoE": __ZTVN10__cxxabiv117__class_type_infoE, "__ZTVN10__cxxabiv120__si_class_type_infoE": __ZTVN10__cxxabiv120__si_class_type_infoE, "___dso_handle": ___dso_handle };
+
+// Stress-test re-linking by linking once before the "real" one.
+var throwAway = asmModule(this, ffis, new ArrayBuffer(64*4096));
+
+var asm = asmModule(this, ffis, buffer);
+var _strlen = Module["_strlen"] = asm["_strlen"];
+var _free = Module["_free"] = asm["_free"];
+var _main = Module["_main"] = asm["_main"];
+var __GLOBAL__I_a = Module["__GLOBAL__I_a"] = asm["__GLOBAL__I_a"];
+var _memset = Module["_memset"] = asm["_memset"];
+var _malloc = Module["_malloc"] = asm["_malloc"];
+var _memcpy = Module["_memcpy"] = asm["_memcpy"];
+var _llvm_uadd_with_overflow_i64 = Module["_llvm_uadd_with_overflow_i64"] = asm["_llvm_uadd_with_overflow_i64"];
+var runPostSets = Module["runPostSets"] = asm["runPostSets"];
+var dynCall_iiiiiiii = Module["dynCall_iiiiiiii"] = asm["dynCall_iiiiiiii"];
+var dynCall_vif = Module["dynCall_vif"] = asm["dynCall_vif"];
+var dynCall_viifii = Module["dynCall_viifii"] = asm["dynCall_viifii"];
+var dynCall_viiiii = Module["dynCall_viiiii"] = asm["dynCall_viiiii"];
+var dynCall_vi = Module["dynCall_vi"] = asm["dynCall_vi"];
+var dynCall_vii = Module["dynCall_vii"] = asm["dynCall_vii"];
+var dynCall_viiifii = Module["dynCall_viiifii"] = asm["dynCall_viiifii"];
+var dynCall_vifiii = Module["dynCall_vifiii"] = asm["dynCall_vifiii"];
+var dynCall_ii = Module["dynCall_ii"] = asm["dynCall_ii"];
+var dynCall_viiiiffffiif = Module["dynCall_viiiiffffiif"] = asm["dynCall_viiiiffffiif"];
+var dynCall_fiii = Module["dynCall_fiii"] = asm["dynCall_fiii"];
+var dynCall_viiif = Module["dynCall_viiif"] = asm["dynCall_viiif"];
+var dynCall_fiiiiiiiiiii = Module["dynCall_fiiiiiiiiiii"] = asm["dynCall_fiiiiiiiiiii"];
+var dynCall_fiifii = Module["dynCall_fiifii"] = asm["dynCall_fiifii"];
+var dynCall_iii = Module["dynCall_iii"] = asm["dynCall_iii"];
+var dynCall_iiii = Module["dynCall_iiii"] = asm["dynCall_iiii"];
+var dynCall_fif = Module["dynCall_fif"] = asm["dynCall_fif"];
+var dynCall_viiiiiiii = Module["dynCall_viiiiiiii"] = asm["dynCall_viiiiiiii"];
+var dynCall_vifi = Module["dynCall_vifi"] = asm["dynCall_vifi"];
+var dynCall_viiiiii = Module["dynCall_viiiiii"] = asm["dynCall_viiiiii"];
+var dynCall_iiiiiiiiii = Module["dynCall_iiiiiiiiii"] = asm["dynCall_iiiiiiiiii"];
+var dynCall_viffiii = Module["dynCall_viffiii"] = asm["dynCall_viffiii"];
+var dynCall_iiiiiii = Module["dynCall_iiiiiii"] = asm["dynCall_iiiiiii"];
+var dynCall_fiiiiiiiiii = Module["dynCall_fiiiiiiiiii"] = asm["dynCall_fiiiiiiiiii"];
+var dynCall_fiiiii = Module["dynCall_fiiiii"] = asm["dynCall_fiiiii"];
+var dynCall_iiiiiiiiiiii = Module["dynCall_iiiiiiiiiiii"] = asm["dynCall_iiiiiiiiiiii"];
+var dynCall_vifii = Module["dynCall_vifii"] = asm["dynCall_vifii"];
+var dynCall_fi = Module["dynCall_fi"] = asm["dynCall_fi"];
+var dynCall_viiiiiiiiii = Module["dynCall_viiiiiiiiii"] = asm["dynCall_viiiiiiiiii"];
+var dynCall_viiiifffffif = Module["dynCall_viiiifffffif"] = asm["dynCall_viiiifffffif"];
+var dynCall_viiiiiffii = Module["dynCall_viiiiiffii"] = asm["dynCall_viiiiiffii"];
+var dynCall_iifif = Module["dynCall_iifif"] = asm["dynCall_iifif"];
+var dynCall_iiiii = Module["dynCall_iiiii"] = asm["dynCall_iiiii"];
+var dynCall_viii = Module["dynCall_viii"] = asm["dynCall_viii"];
+var dynCall_viifi = Module["dynCall_viifi"] = asm["dynCall_viifi"];
+var dynCall_v = Module["dynCall_v"] = asm["dynCall_v"];
+var dynCall_viif = Module["dynCall_viif"] = asm["dynCall_viif"];
+var dynCall_iiif = Module["dynCall_iiif"] = asm["dynCall_iiif"];
+var dynCall_fiiifii = Module["dynCall_fiiifii"] = asm["dynCall_fiiifii"];
+var dynCall_viiii = Module["dynCall_viiii"] = asm["dynCall_viiii"];
+Runtime.stackAlloc = function(size) { return asm['stackAlloc'](size) };
+Runtime.stackSave = function() { return asm['stackSave']() };
+Runtime.stackRestore = function(top) { asm['stackRestore'](top) };
+// TODO: strip out parts of this we do not need
+//======= begin closure i64 code =======
+// Copyright 2009 The Closure Library Authors. All Rights Reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS-IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+/**
+ * @fileoverview Defines a Long class for representing a 64-bit two's-complement
+ * integer value, which faithfully simulates the behavior of a Java "long". This
+ * implementation is derived from LongLib in GWT.
+ *
+ */
+var i64Math = (function() { // Emscripten wrapper
+ var goog = { math: {} };
+ /**
+ * Constructs a 64-bit two's-complement integer, given its low and high 32-bit
+ * values as *signed* integers. See the from* functions below for more
+ * convenient ways of constructing Longs.
+ *
+ * The internal representation of a long is the two given signed, 32-bit values.
+ * We use 32-bit pieces because these are the size of integers on which
+ * Javascript performs bit-operations. For operations like addition and
+ * multiplication, we split each number into 16-bit pieces, which can easily be
+ * multiplied within Javascript's floating-point representation without overflow
+ * or change in sign.
+ *
+ * In the algorithms below, we frequently reduce the negative case to the
+ * positive case by negating the input(s) and then post-processing the result.
+ * Note that we must ALWAYS check specially whether those values are MIN_VALUE
+ * (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as
+ * a positive number, it overflows back into a negative). Not handling this
+ * case would often result in infinite recursion.
+ *
+ * @param {number} low The low (signed) 32 bits of the long.
+ * @param {number} high The high (signed) 32 bits of the long.
+ * @constructor
+ */
+ goog.math.Long = function(low, high) {
+ /**
+ * @type {number}
+ * @private
+ */
+ this.low_ = low | 0; // force into 32 signed bits.
+ /**
+ * @type {number}
+ * @private
+ */
+ this.high_ = high | 0; // force into 32 signed bits.
+ };
+ // NOTE: Common constant values ZERO, ONE, NEG_ONE, etc. are defined below the
+ // from* methods on which they depend.
+ /**
+ * A cache of the Long representations of small integer values.
+ * @type {!Object}
+ * @private
+ */
+ goog.math.Long.IntCache_ = {};
+ /**
+ * Returns a Long representing the given (32-bit) integer value.
+ * @param {number} value The 32-bit integer in question.
+ * @return {!goog.math.Long} The corresponding Long value.
+ */
+ goog.math.Long.fromInt = function(value) {
+ if (-128 <= value && value < 128) {
+ var cachedObj = goog.math.Long.IntCache_[value];
+ if (cachedObj) {
+ return cachedObj;
+ }
+ }
+ var obj = new goog.math.Long(value | 0, value < 0 ? -1 : 0);
+ if (-128 <= value && value < 128) {
+ goog.math.Long.IntCache_[value] = obj;
+ }
+ return obj;
+ };
+ /**
+ * Returns a Long representing the given value, provided that it is a finite
+ * number. Otherwise, zero is returned.
+ * @param {number} value The number in question.
+ * @return {!goog.math.Long} The corresponding Long value.
+ */
+ goog.math.Long.fromNumber = function(value) {
+ if (isNaN(value) || !isFinite(value)) {
+ return goog.math.Long.ZERO;
+ } else if (value <= -goog.math.Long.TWO_PWR_63_DBL_) {
+ return goog.math.Long.MIN_VALUE;
+ } else if (value + 1 >= goog.math.Long.TWO_PWR_63_DBL_) {
+ return goog.math.Long.MAX_VALUE;
+ } else if (value < 0) {
+ return goog.math.Long.fromNumber(-value).negate();
+ } else {
+ return new goog.math.Long(
+ (value % goog.math.Long.TWO_PWR_32_DBL_) | 0,
+ (value / goog.math.Long.TWO_PWR_32_DBL_) | 0);
+ }
+ };
+ /**
+ * Returns a Long representing the 64-bit integer that comes by concatenating
+ * the given high and low bits. Each is assumed to use 32 bits.
+ * @param {number} lowBits The low 32-bits.
+ * @param {number} highBits The high 32-bits.
+ * @return {!goog.math.Long} The corresponding Long value.
+ */
+ goog.math.Long.fromBits = function(lowBits, highBits) {
+ return new goog.math.Long(lowBits, highBits);
+ };
+ /**
+ * Returns a Long representation of the given string, written using the given
+ * radix.
+ * @param {string} str The textual representation of the Long.
+ * @param {number=} opt_radix The radix in which the text is written.
+ * @return {!goog.math.Long} The corresponding Long value.
+ */
+ goog.math.Long.fromString = function(str, opt_radix) {
+ if (str.length == 0) {
+ throw Error('number format error: empty string');
+ }
+ var radix = opt_radix || 10;
+ if (radix < 2 || 36 < radix) {
+ throw Error('radix out of range: ' + radix);
+ }
+ if (str.charAt(0) == '-') {
+ return goog.math.Long.fromString(str.substring(1), radix).negate();
+ } else if (str.indexOf('-') >= 0) {
+ throw Error('number format error: interior "-" character: ' + str);
+ }
+ // Do several (8) digits each time through the loop, so as to
+ // minimize the calls to the very expensive emulated div.
+ var radixToPower = goog.math.Long.fromNumber(Math.pow(radix, 8));
+ var result = goog.math.Long.ZERO;
+ for (var i = 0; i < str.length; i += 8) {
+ var size = Math.min(8, str.length - i);
+ var value = parseInt(str.substring(i, i + size), radix);
+ if (size < 8) {
+ var power = goog.math.Long.fromNumber(Math.pow(radix, size));
+ result = result.multiply(power).add(goog.math.Long.fromNumber(value));
+ } else {
+ result = result.multiply(radixToPower);
+ result = result.add(goog.math.Long.fromNumber(value));
+ }
+ }
+ return result;
+ };
+ // NOTE: the compiler should inline these constant values below and then remove
+ // these variables, so there should be no runtime penalty for these.
+ /**
+ * Number used repeated below in calculations. This must appear before the
+ * first call to any from* function below.
+ * @type {number}
+ * @private
+ */
+ goog.math.Long.TWO_PWR_16_DBL_ = 1 << 16;
+ /**
+ * @type {number}
+ * @private
+ */
+ goog.math.Long.TWO_PWR_24_DBL_ = 1 << 24;
+ /**
+ * @type {number}
+ * @private
+ */
+ goog.math.Long.TWO_PWR_32_DBL_ =
+ goog.math.Long.TWO_PWR_16_DBL_ * goog.math.Long.TWO_PWR_16_DBL_;
+ /**
+ * @type {number}
+ * @private
+ */
+ goog.math.Long.TWO_PWR_31_DBL_ =
+ goog.math.Long.TWO_PWR_32_DBL_ / 2;
+ /**
+ * @type {number}
+ * @private
+ */
+ goog.math.Long.TWO_PWR_48_DBL_ =
+ goog.math.Long.TWO_PWR_32_DBL_ * goog.math.Long.TWO_PWR_16_DBL_;
+ /**
+ * @type {number}
+ * @private
+ */
+ goog.math.Long.TWO_PWR_64_DBL_ =
+ goog.math.Long.TWO_PWR_32_DBL_ * goog.math.Long.TWO_PWR_32_DBL_;
+ /**
+ * @type {number}
+ * @private
+ */
+ goog.math.Long.TWO_PWR_63_DBL_ =
+ goog.math.Long.TWO_PWR_64_DBL_ / 2;
+ /** @type {!goog.math.Long} */
+ goog.math.Long.ZERO = goog.math.Long.fromInt(0);
+ /** @type {!goog.math.Long} */
+ goog.math.Long.ONE = goog.math.Long.fromInt(1);
+ /** @type {!goog.math.Long} */
+ goog.math.Long.NEG_ONE = goog.math.Long.fromInt(-1);
+ /** @type {!goog.math.Long} */
+ goog.math.Long.MAX_VALUE =
+ goog.math.Long.fromBits(0xFFFFFFFF | 0, 0x7FFFFFFF | 0);
+ /** @type {!goog.math.Long} */
+ goog.math.Long.MIN_VALUE = goog.math.Long.fromBits(0, 0x80000000 | 0);
+ /**
+ * @type {!goog.math.Long}
+ * @private
+ */
+ goog.math.Long.TWO_PWR_24_ = goog.math.Long.fromInt(1 << 24);
+ /** @return {number} The value, assuming it is a 32-bit integer. */
+ goog.math.Long.prototype.toInt = function() {
+ return this.low_;
+ };
+ /** @return {number} The closest floating-point representation to this value. */
+ goog.math.Long.prototype.toNumber = function() {
+ return this.high_ * goog.math.Long.TWO_PWR_32_DBL_ +
+ this.getLowBitsUnsigned();
+ };
+ /**
+ * @param {number=} opt_radix The radix in which the text should be written.
+ * @return {string} The textual representation of this value.
+ */
+ goog.math.Long.prototype.toString = function(opt_radix) {
+ var radix = opt_radix || 10;
+ if (radix < 2 || 36 < radix) {
+ throw Error('radix out of range: ' + radix);
+ }
+ if (this.isZero()) {
+ return '0';
+ }
+ if (this.isNegative()) {
+ if (this.equals(goog.math.Long.MIN_VALUE)) {
+ // We need to change the Long value before it can be negated, so we remove
+ // the bottom-most digit in this base and then recurse to do the rest.
+ var radixLong = goog.math.Long.fromNumber(radix);
+ var div = this.div(radixLong);
+ var rem = div.multiply(radixLong).subtract(this);
+ return div.toString(radix) + rem.toInt().toString(radix);
+ } else {
+ return '-' + this.negate().toString(radix);
+ }
+ }
+ // Do several (6) digits each time through the loop, so as to
+ // minimize the calls to the very expensive emulated div.
+ var radixToPower = goog.math.Long.fromNumber(Math.pow(radix, 6));
+ var rem = this;
+ var result = '';
+ while (true) {
+ var remDiv = rem.div(radixToPower);
+ var intval = rem.subtract(remDiv.multiply(radixToPower)).toInt();
+ var digits = intval.toString(radix);
+ rem = remDiv;
+ if (rem.isZero()) {
+ return digits + result;
+ } else {
+ while (digits.length < 6) {
+ digits = '0' + digits;
+ }
+ result = '' + digits + result;
+ }
+ }
+ };
+ /** @return {number} The high 32-bits as a signed value. */
+ goog.math.Long.prototype.getHighBits = function() {
+ return this.high_;
+ };
+ /** @return {number} The low 32-bits as a signed value. */
+ goog.math.Long.prototype.getLowBits = function() {
+ return this.low_;
+ };
+ /** @return {number} The low 32-bits as an unsigned value. */
+ goog.math.Long.prototype.getLowBitsUnsigned = function() {
+ return (this.low_ >= 0) ?
+ this.low_ : goog.math.Long.TWO_PWR_32_DBL_ + this.low_;
+ };
+ /**
+ * @return {number} Returns the number of bits needed to represent the absolute
+ * value of this Long.
+ */
+ goog.math.Long.prototype.getNumBitsAbs = function() {
+ if (this.isNegative()) {
+ if (this.equals(goog.math.Long.MIN_VALUE)) {
+ return 64;
+ } else {
+ return this.negate().getNumBitsAbs();
+ }
+ } else {
+ var val = this.high_ != 0 ? this.high_ : this.low_;
+ for (var bit = 31; bit > 0; bit--) {
+ if ((val & (1 << bit)) != 0) {
+ break;
+ }
+ }
+ return this.high_ != 0 ? bit + 33 : bit + 1;
+ }
+ };
+ /** @return {boolean} Whether this value is zero. */
+ goog.math.Long.prototype.isZero = function() {
+ return this.high_ == 0 && this.low_ == 0;
+ };
+ /** @return {boolean} Whether this value is negative. */
+ goog.math.Long.prototype.isNegative = function() {
+ return this.high_ < 0;
+ };
+ /** @return {boolean} Whether this value is odd. */
+ goog.math.Long.prototype.isOdd = function() {
+ return (this.low_ & 1) == 1;
+ };
+ /**
+ * @param {goog.math.Long} other Long to compare against.
+ * @return {boolean} Whether this Long equals the other.
+ */
+ goog.math.Long.prototype.equals = function(other) {
+ return (this.high_ == other.high_) && (this.low_ == other.low_);
+ };
+ /**
+ * @param {goog.math.Long} other Long to compare against.
+ * @return {boolean} Whether this Long does not equal the other.
+ */
+ goog.math.Long.prototype.notEquals = function(other) {
+ return (this.high_ != other.high_) || (this.low_ != other.low_);
+ };
+ /**
+ * @param {goog.math.Long} other Long to compare against.
+ * @return {boolean} Whether this Long is less than the other.
+ */
+ goog.math.Long.prototype.lessThan = function(other) {
+ return this.compare(other) < 0;
+ };
+ /**
+ * @param {goog.math.Long} other Long to compare against.
+ * @return {boolean} Whether this Long is less than or equal to the other.
+ */
+ goog.math.Long.prototype.lessThanOrEqual = function(other) {
+ return this.compare(other) <= 0;
+ };
+ /**
+ * @param {goog.math.Long} other Long to compare against.
+ * @return {boolean} Whether this Long is greater than the other.
+ */
+ goog.math.Long.prototype.greaterThan = function(other) {
+ return this.compare(other) > 0;
+ };
+ /**
+ * @param {goog.math.Long} other Long to compare against.
+ * @return {boolean} Whether this Long is greater than or equal to the other.
+ */
+ goog.math.Long.prototype.greaterThanOrEqual = function(other) {
+ return this.compare(other) >= 0;
+ };
+ /**
+ * Compares this Long with the given one.
+ * @param {goog.math.Long} other Long to compare against.
+ * @return {number} 0 if they are the same, 1 if the this is greater, and -1
+ * if the given one is greater.
+ */
+ goog.math.Long.prototype.compare = function(other) {
+ if (this.equals(other)) {
+ return 0;
+ }
+ var thisNeg = this.isNegative();
+ var otherNeg = other.isNegative();
+ if (thisNeg && !otherNeg) {
+ return -1;
+ }
+ if (!thisNeg && otherNeg) {
+ return 1;
+ }
+ // at this point, the signs are the same, so subtraction will not overflow
+ if (this.subtract(other).isNegative()) {
+ return -1;
+ } else {
+ return 1;
+ }
+ };
+ /** @return {!goog.math.Long} The negation of this value. */
+ goog.math.Long.prototype.negate = function() {
+ if (this.equals(goog.math.Long.MIN_VALUE)) {
+ return goog.math.Long.MIN_VALUE;
+ } else {
+ return this.not().add(goog.math.Long.ONE);
+ }
+ };
+ /**
+ * Returns the sum of this and the given Long.
+ * @param {goog.math.Long} other Long to add to this one.
+ * @return {!goog.math.Long} The sum of this and the given Long.
+ */
+ goog.math.Long.prototype.add = function(other) {
+ // Divide each number into 4 chunks of 16 bits, and then sum the chunks.
+ var a48 = this.high_ >>> 16;
+ var a32 = this.high_ & 0xFFFF;
+ var a16 = this.low_ >>> 16;
+ var a00 = this.low_ & 0xFFFF;
+ var b48 = other.high_ >>> 16;
+ var b32 = other.high_ & 0xFFFF;
+ var b16 = other.low_ >>> 16;
+ var b00 = other.low_ & 0xFFFF;
+ var c48 = 0, c32 = 0, c16 = 0, c00 = 0;
+ c00 += a00 + b00;
+ c16 += c00 >>> 16;
+ c00 &= 0xFFFF;
+ c16 += a16 + b16;
+ c32 += c16 >>> 16;
+ c16 &= 0xFFFF;
+ c32 += a32 + b32;
+ c48 += c32 >>> 16;
+ c32 &= 0xFFFF;
+ c48 += a48 + b48;
+ c48 &= 0xFFFF;
+ return goog.math.Long.fromBits((c16 << 16) | c00, (c48 << 16) | c32);
+ };
+ /**
+ * Returns the difference of this and the given Long.
+ * @param {goog.math.Long} other Long to subtract from this.
+ * @return {!goog.math.Long} The difference of this and the given Long.
+ */
+ goog.math.Long.prototype.subtract = function(other) {
+ return this.add(other.negate());
+ };
+ /**
+ * Returns the product of this and the given long.
+ * @param {goog.math.Long} other Long to multiply with this.
+ * @return {!goog.math.Long} The product of this and the other.
+ */
+ goog.math.Long.prototype.multiply = function(other) {
+ if (this.isZero()) {
+ return goog.math.Long.ZERO;
+ } else if (other.isZero()) {
+ return goog.math.Long.ZERO;
+ }
+ if (this.equals(goog.math.Long.MIN_VALUE)) {
+ return other.isOdd() ? goog.math.Long.MIN_VALUE : goog.math.Long.ZERO;
+ } else if (other.equals(goog.math.Long.MIN_VALUE)) {
+ return this.isOdd() ? goog.math.Long.MIN_VALUE : goog.math.Long.ZERO;
+ }
+ if (this.isNegative()) {
+ if (other.isNegative()) {
+ return this.negate().multiply(other.negate());
+ } else {
+ return this.negate().multiply(other).negate();
+ }
+ } else if (other.isNegative()) {
+ return this.multiply(other.negate()).negate();
+ }
+ // If both longs are small, use float multiplication
+ if (this.lessThan(goog.math.Long.TWO_PWR_24_) &&
+ other.lessThan(goog.math.Long.TWO_PWR_24_)) {
+ return goog.math.Long.fromNumber(this.toNumber() * other.toNumber());
+ }
+ // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products.
+ // We can skip products that would overflow.
+ var a48 = this.high_ >>> 16;
+ var a32 = this.high_ & 0xFFFF;
+ var a16 = this.low_ >>> 16;
+ var a00 = this.low_ & 0xFFFF;
+ var b48 = other.high_ >>> 16;
+ var b32 = other.high_ & 0xFFFF;
+ var b16 = other.low_ >>> 16;
+ var b00 = other.low_ & 0xFFFF;
+ var c48 = 0, c32 = 0, c16 = 0, c00 = 0;
+ c00 += a00 * b00;
+ c16 += c00 >>> 16;
+ c00 &= 0xFFFF;
+ c16 += a16 * b00;
+ c32 += c16 >>> 16;
+ c16 &= 0xFFFF;
+ c16 += a00 * b16;
+ c32 += c16 >>> 16;
+ c16 &= 0xFFFF;
+ c32 += a32 * b00;
+ c48 += c32 >>> 16;
+ c32 &= 0xFFFF;
+ c32 += a16 * b16;
+ c48 += c32 >>> 16;
+ c32 &= 0xFFFF;
+ c32 += a00 * b32;
+ c48 += c32 >>> 16;
+ c32 &= 0xFFFF;
+ c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48;
+ c48 &= 0xFFFF;
+ return goog.math.Long.fromBits((c16 << 16) | c00, (c48 << 16) | c32);
+ };
+ /**
+ * Returns this Long divided by the given one.
+ * @param {goog.math.Long} other Long by which to divide.
+ * @return {!goog.math.Long} This Long divided by the given one.
+ */
+ goog.math.Long.prototype.div = function(other) {
+ if (other.isZero()) {
+ throw Error('division by zero');
+ } else if (this.isZero()) {
+ return goog.math.Long.ZERO;
+ }
+ if (this.equals(goog.math.Long.MIN_VALUE)) {
+ if (other.equals(goog.math.Long.ONE) ||
+ other.equals(goog.math.Long.NEG_ONE)) {
+ return goog.math.Long.MIN_VALUE; // recall that -MIN_VALUE == MIN_VALUE
+ } else if (other.equals(goog.math.Long.MIN_VALUE)) {
+ return goog.math.Long.ONE;
+ } else {
+ // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|.
+ var halfThis = this.shiftRight(1);
+ var approx = halfThis.div(other).shiftLeft(1);
+ if (approx.equals(goog.math.Long.ZERO)) {
+ return other.isNegative() ? goog.math.Long.ONE : goog.math.Long.NEG_ONE;
+ } else {
+ var rem = this.subtract(other.multiply(approx));
+ var result = approx.add(rem.div(other));
+ return result;
+ }
+ }
+ } else if (other.equals(goog.math.Long.MIN_VALUE)) {
+ return goog.math.Long.ZERO;
+ }
+ if (this.isNegative()) {
+ if (other.isNegative()) {
+ return this.negate().div(other.negate());
+ } else {
+ return this.negate().div(other).negate();
+ }
+ } else if (other.isNegative()) {
+ return this.div(other.negate()).negate();
+ }
+ // Repeat the following until the remainder is less than other: find a
+ // floating-point that approximates remainder / other *from below*, add this
+ // into the result, and subtract it from the remainder. It is critical that
+ // the approximate value is less than or equal to the real value so that the
+ // remainder never becomes negative.
+ var res = goog.math.Long.ZERO;
+ var rem = this;
+ while (rem.greaterThanOrEqual(other)) {
+ // Approximate the result of division. This may be a little greater or
+ // smaller than the actual value.
+ var approx = Math.max(1, Math.floor(rem.toNumber() / other.toNumber()));
+ // We will tweak the approximate result by changing it in the 48-th digit or
+ // the smallest non-fractional digit, whichever is larger.
+ var log2 = Math.ceil(Math.log(approx) / Math.LN2);
+ var delta = (log2 <= 48) ? 1 : Math.pow(2, log2 - 48);
+ // Decrease the approximation until it is smaller than the remainder. Note
+ // that if it is too large, the product overflows and is negative.
+ var approxRes = goog.math.Long.fromNumber(approx);
+ var approxRem = approxRes.multiply(other);
+ while (approxRem.isNegative() || approxRem.greaterThan(rem)) {
+ approx -= delta;
+ approxRes = goog.math.Long.fromNumber(approx);
+ approxRem = approxRes.multiply(other);
+ }
+ // We know the answer can't be zero... and actually, zero would cause
+ // infinite recursion since we would make no progress.
+ if (approxRes.isZero()) {
+ approxRes = goog.math.Long.ONE;
+ }
+ res = res.add(approxRes);
+ rem = rem.subtract(approxRem);
+ }
+ return res;
+ };
+ /**
+ * Returns this Long modulo the given one.
+ * @param {goog.math.Long} other Long by which to mod.
+ * @return {!goog.math.Long} This Long modulo the given one.
+ */
+ goog.math.Long.prototype.modulo = function(other) {
+ return this.subtract(this.div(other).multiply(other));
+ };
+ /** @return {!goog.math.Long} The bitwise-NOT of this value. */
+ goog.math.Long.prototype.not = function() {
+ return goog.math.Long.fromBits(~this.low_, ~this.high_);
+ };
+ /**
+ * Returns the bitwise-AND of this Long and the given one.
+ * @param {goog.math.Long} other The Long with which to AND.
+ * @return {!goog.math.Long} The bitwise-AND of this and the other.
+ */
+ goog.math.Long.prototype.and = function(other) {
+ return goog.math.Long.fromBits(this.low_ & other.low_,
+ this.high_ & other.high_);
+ };
+ /**
+ * Returns the bitwise-OR of this Long and the given one.
+ * @param {goog.math.Long} other The Long with which to OR.
+ * @return {!goog.math.Long} The bitwise-OR of this and the other.
+ */
+ goog.math.Long.prototype.or = function(other) {
+ return goog.math.Long.fromBits(this.low_ | other.low_,
+ this.high_ | other.high_);
+ };
+ /**
+ * Returns the bitwise-XOR of this Long and the given one.
+ * @param {goog.math.Long} other The Long with which to XOR.
+ * @return {!goog.math.Long} The bitwise-XOR of this and the other.
+ */
+ goog.math.Long.prototype.xor = function(other) {
+ return goog.math.Long.fromBits(this.low_ ^ other.low_,
+ this.high_ ^ other.high_);
+ };
+ /**
+ * Returns this Long with bits shifted to the left by the given amount.
+ * @param {number} numBits The number of bits by which to shift.
+ * @return {!goog.math.Long} This shifted to the left by the given amount.
+ */
+ goog.math.Long.prototype.shiftLeft = function(numBits) {
+ numBits &= 63;
+ if (numBits == 0) {
+ return this;
+ } else {
+ var low = this.low_;
+ if (numBits < 32) {
+ var high = this.high_;
+ return goog.math.Long.fromBits(
+ low << numBits,
+ (high << numBits) | (low >>> (32 - numBits)));
+ } else {
+ return goog.math.Long.fromBits(0, low << (numBits - 32));
+ }
+ }
+ };
+ /**
+ * Returns this Long with bits shifted to the right by the given amount.
+ * @param {number} numBits The number of bits by which to shift.
+ * @return {!goog.math.Long} This shifted to the right by the given amount.
+ */
+ goog.math.Long.prototype.shiftRight = function(numBits) {
+ numBits &= 63;
+ if (numBits == 0) {
+ return this;
+ } else {
+ var high = this.high_;
+ if (numBits < 32) {
+ var low = this.low_;
+ return goog.math.Long.fromBits(
+ (low >>> numBits) | (high << (32 - numBits)),
+ high >> numBits);
+ } else {
+ return goog.math.Long.fromBits(
+ high >> (numBits - 32),
+ high >= 0 ? 0 : -1);
+ }
+ }
+ };
+ /**
+ * Returns this Long with bits shifted to the right by the given amount, with
+ * the new top bits matching the current sign bit.
+ * @param {number} numBits The number of bits by which to shift.
+ * @return {!goog.math.Long} This shifted to the right by the given amount, with
+ * zeros placed into the new leading bits.
+ */
+ goog.math.Long.prototype.shiftRightUnsigned = function(numBits) {
+ numBits &= 63;
+ if (numBits == 0) {
+ return this;
+ } else {
+ var high = this.high_;
+ if (numBits < 32) {
+ var low = this.low_;
+ return goog.math.Long.fromBits(
+ (low >>> numBits) | (high << (32 - numBits)),
+ high >>> numBits);
+ } else if (numBits == 32) {
+ return goog.math.Long.fromBits(high, 0);
+ } else {
+ return goog.math.Long.fromBits(high >>> (numBits - 32), 0);
+ }
+ }
+ };
+ //======= begin jsbn =======
+ var navigator = { appName: 'Modern Browser' }; // polyfill a little
+ // Copyright (c) 2005 Tom Wu
+ // All Rights Reserved.
+ // http://www-cs-students.stanford.edu/~tjw/jsbn/
+ /*
+ * Copyright (c) 2003-2005 Tom Wu
+ * All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+ * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
+ * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER
+ * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF
+ * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT
+ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * In addition, the following condition applies:
+ *
+ * All redistributions must retain an intact copy of this copyright notice
+ * and disclaimer.
+ */
+ // Basic JavaScript BN library - subset useful for RSA encryption.
+ // Bits per digit
+ var dbits;
+ // JavaScript engine analysis
+ var canary = 0xdeadbeefcafe;
+ var j_lm = ((canary&0xffffff)==0xefcafe);
+ // (public) Constructor
+ function BigInteger(a,b,c) {
+ if(a != null)
+ if("number" == typeof a) this.fromNumber(a,b,c);
+ else if(b == null && "string" != typeof a) this.fromString(a,256);
+ else this.fromString(a,b);
+ }
+ // return new, unset BigInteger
+ function nbi() { return new BigInteger(null); }
+ // am: Compute w_j += (x*this_i), propagate carries,
+ // c is initial carry, returns final carry.
+ // c < 3*dvalue, x < 2*dvalue, this_i < dvalue
+ // We need to select the fastest one that works in this environment.
+ // am1: use a single mult and divide to get the high bits,
+ // max digit bits should be 26 because
+ // max internal value = 2*dvalue^2-2*dvalue (< 2^53)
+ function am1(i,x,w,j,c,n) {
+ while(--n >= 0) {
+ var v = x*this[i++]+w[j]+c;
+ c = Math.floor(v/0x4000000);
+ w[j++] = v&0x3ffffff;
+ }
+ return c;
+ }
+ // am2 avoids a big mult-and-extract completely.
+ // Max digit bits should be <= 30 because we do bitwise ops
+ // on values up to 2*hdvalue^2-hdvalue-1 (< 2^31)
+ function am2(i,x,w,j,c,n) {
+ var xl = x&0x7fff, xh = x>>15;
+ while(--n >= 0) {
+ var l = this[i]&0x7fff;
+ var h = this[i++]>>15;
+ var m = xh*l+h*xl;
+ l = xl*l+((m&0x7fff)<<15)+w[j]+(c&0x3fffffff);
+ c = (l>>>30)+(m>>>15)+xh*h+(c>>>30);
+ w[j++] = l&0x3fffffff;
+ }
+ return c;
+ }
+ // Alternately, set max digit bits to 28 since some
+ // browsers slow down when dealing with 32-bit numbers.
+ function am3(i,x,w,j,c,n) {
+ var xl = x&0x3fff, xh = x>>14;
+ while(--n >= 0) {
+ var l = this[i]&0x3fff;
+ var h = this[i++]>>14;
+ var m = xh*l+h*xl;
+ l = xl*l+((m&0x3fff)<<14)+w[j]+c;
+ c = (l>>28)+(m>>14)+xh*h;
+ w[j++] = l&0xfffffff;
+ }
+ return c;
+ }
+ if(j_lm && (navigator.appName == "Microsoft Internet Explorer")) {
+ BigInteger.prototype.am = am2;
+ dbits = 30;
+ }
+ else if(j_lm && (navigator.appName != "Netscape")) {
+ BigInteger.prototype.am = am1;
+ dbits = 26;
+ }
+ else { // Mozilla/Netscape seems to prefer am3
+ BigInteger.prototype.am = am3;
+ dbits = 28;
+ }
+ BigInteger.prototype.DB = dbits;
+ BigInteger.prototype.DM = ((1<<dbits)-1);
+ BigInteger.prototype.DV = (1<<dbits);
+ var BI_FP = 52;
+ BigInteger.prototype.FV = Math.pow(2,BI_FP);
+ BigInteger.prototype.F1 = BI_FP-dbits;
+ BigInteger.prototype.F2 = 2*dbits-BI_FP;
+ // Digit conversions
+ var BI_RM = "0123456789abcdefghijklmnopqrstuvwxyz";
+ var BI_RC = new Array();
+ var rr,vv;
+ rr = "0".charCodeAt(0);
+ for(vv = 0; vv <= 9; ++vv) BI_RC[rr++] = vv;
+ rr = "a".charCodeAt(0);
+ for(vv = 10; vv < 36; ++vv) BI_RC[rr++] = vv;
+ rr = "A".charCodeAt(0);
+ for(vv = 10; vv < 36; ++vv) BI_RC[rr++] = vv;
+ function int2char(n) { return BI_RM.charAt(n); }
+ function intAt(s,i) {
+ var c = BI_RC[s.charCodeAt(i)];
+ return (c==null)?-1:c;
+ }
+ // (protected) copy this to r
+ function bnpCopyTo(r) {
+ for(var i = this.t-1; i >= 0; --i) r[i] = this[i];
+ r.t = this.t;
+ r.s = this.s;
+ }
+ // (protected) set from integer value x, -DV <= x < DV
+ function bnpFromInt(x) {
+ this.t = 1;
+ this.s = (x<0)?-1:0;
+ if(x > 0) this[0] = x;
+ else if(x < -1) this[0] = x+DV;
+ else this.t = 0;
+ }
+ // return bigint initialized to value
+ function nbv(i) { var r = nbi(); r.fromInt(i); return r; }
+ // (protected) set from string and radix
+ function bnpFromString(s,b) {
+ var k;
+ if(b == 16) k = 4;
+ else if(b == 8) k = 3;
+ else if(b == 256) k = 8; // byte array
+ else if(b == 2) k = 1;
+ else if(b == 32) k = 5;
+ else if(b == 4) k = 2;
+ else { this.fromRadix(s,b); return; }
+ this.t = 0;
+ this.s = 0;
+ var i = s.length, mi = false, sh = 0;
+ while(--i >= 0) {
+ var x = (k==8)?s[i]&0xff:intAt(s,i);
+ if(x < 0) {
+ if(s.charAt(i) == "-") mi = true;
+ continue;
+ }
+ mi = false;
+ if(sh == 0)
+ this[this.t++] = x;
+ else if(sh+k > this.DB) {
+ this[this.t-1] |= (x&((1<<(this.DB-sh))-1))<<sh;
+ this[this.t++] = (x>>(this.DB-sh));
+ }
+ else
+ this[this.t-1] |= x<<sh;
+ sh += k;
+ if(sh >= this.DB) sh -= this.DB;
+ }
+ if(k == 8 && (s[0]&0x80) != 0) {
+ this.s = -1;
+ if(sh > 0) this[this.t-1] |= ((1<<(this.DB-sh))-1)<<sh;
+ }
+ this.clamp();
+ if(mi) BigInteger.ZERO.subTo(this,this);
+ }
+ // (protected) clamp off excess high words
+ function bnpClamp() {
+ var c = this.s&this.DM;
+ while(this.t > 0 && this[this.t-1] == c) --this.t;
+ }
+ // (public) return string representation in given radix
+ function bnToString(b) {
+ if(this.s < 0) return "-"+this.negate().toString(b);
+ var k;
+ if(b == 16) k = 4;
+ else if(b == 8) k = 3;
+ else if(b == 2) k = 1;
+ else if(b == 32) k = 5;
+ else if(b == 4) k = 2;
+ else return this.toRadix(b);
+ var km = (1<<k)-1, d, m = false, r = "", i = this.t;
+ var p = this.DB-(i*this.DB)%k;
+ if(i-- > 0) {
+ if(p < this.DB && (d = this[i]>>p) > 0) { m = true; r = int2char(d); }
+ while(i >= 0) {
+ if(p < k) {
+ d = (this[i]&((1<<p)-1))<<(k-p);
+ d |= this[--i]>>(p+=this.DB-k);
+ }
+ else {
+ d = (this[i]>>(p-=k))&km;
+ if(p <= 0) { p += this.DB; --i; }
+ }
+ if(d > 0) m = true;
+ if(m) r += int2char(d);
+ }
+ }
+ return m?r:"0";
+ }
+ // (public) -this
+ function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; }
+ // (public) |this|
+ function bnAbs() { return (this.s<0)?this.negate():this; }
+ // (public) return + if this > a, - if this < a, 0 if equal
+ function bnCompareTo(a) {
+ var r = this.s-a.s;
+ if(r != 0) return r;
+ var i = this.t;
+ r = i-a.t;
+ if(r != 0) return (this.s<0)?-r:r;
+ while(--i >= 0) if((r=this[i]-a[i]) != 0) return r;
+ return 0;
+ }
+ // returns bit length of the integer x
+ function nbits(x) {
+ var r = 1, t;
+ if((t=x>>>16) != 0) { x = t; r += 16; }
+ if((t=x>>8) != 0) { x = t; r += 8; }
+ if((t=x>>4) != 0) { x = t; r += 4; }
+ if((t=x>>2) != 0) { x = t; r += 2; }
+ if((t=x>>1) != 0) { x = t; r += 1; }
+ return r;
+ }
+ // (public) return the number of bits in "this"
+ function bnBitLength() {
+ if(this.t <= 0) return 0;
+ return this.DB*(this.t-1)+nbits(this[this.t-1]^(this.s&this.DM));
+ }
+ // (protected) r = this << n*DB
+ function bnpDLShiftTo(n,r) {
+ var i;
+ for(i = this.t-1; i >= 0; --i) r[i+n] = this[i];
+ for(i = n-1; i >= 0; --i) r[i] = 0;
+ r.t = this.t+n;
+ r.s = this.s;
+ }
+ // (protected) r = this >> n*DB
+ function bnpDRShiftTo(n,r) {
+ for(var i = n; i < this.t; ++i) r[i-n] = this[i];
+ r.t = Math.max(this.t-n,0);
+ r.s = this.s;
+ }
+ // (protected) r = this << n
+ function bnpLShiftTo(n,r) {
+ var bs = n%this.DB;
+ var cbs = this.DB-bs;
+ var bm = (1<<cbs)-1;
+ var ds = Math.floor(n/this.DB), c = (this.s<<bs)&this.DM, i;
+ for(i = this.t-1; i >= 0; --i) {
+ r[i+ds+1] = (this[i]>>cbs)|c;
+ c = (this[i]&bm)<<bs;
+ }
+ for(i = ds-1; i >= 0; --i) r[i] = 0;
+ r[ds] = c;
+ r.t = this.t+ds+1;
+ r.s = this.s;
+ r.clamp();
+ }
+ // (protected) r = this >> n
+ function bnpRShiftTo(n,r) {
+ r.s = this.s;
+ var ds = Math.floor(n/this.DB);
+ if(ds >= this.t) { r.t = 0; return; }
+ var bs = n%this.DB;
+ var cbs = this.DB-bs;
+ var bm = (1<<bs)-1;
+ r[0] = this[ds]>>bs;
+ for(var i = ds+1; i < this.t; ++i) {
+ r[i-ds-1] |= (this[i]&bm)<<cbs;
+ r[i-ds] = this[i]>>bs;
+ }
+ if(bs > 0) r[this.t-ds-1] |= (this.s&bm)<<cbs;
+ r.t = this.t-ds;
+ r.clamp();
+ }
+ // (protected) r = this - a
+ function bnpSubTo(a,r) {
+ var i = 0, c = 0, m = Math.min(a.t,this.t);
+ while(i < m) {
+ c += this[i]-a[i];
+ r[i++] = c&this.DM;
+ c >>= this.DB;
+ }
+ if(a.t < this.t) {
+ c -= a.s;
+ while(i < this.t) {
+ c += this[i];
+ r[i++] = c&this.DM;
+ c >>= this.DB;
+ }
+ c += this.s;
+ }
+ else {
+ c += this.s;
+ while(i < a.t) {
+ c -= a[i];
+ r[i++] = c&this.DM;
+ c >>= this.DB;
+ }
+ c -= a.s;
+ }
+ r.s = (c<0)?-1:0;
+ if(c < -1) r[i++] = this.DV+c;
+ else if(c > 0) r[i++] = c;
+ r.t = i;
+ r.clamp();
+ }
+ // (protected) r = this * a, r != this,a (HAC 14.12)
+ // "this" should be the larger one if appropriate.
+ function bnpMultiplyTo(a,r) {
+ var x = this.abs(), y = a.abs();
+ var i = x.t;
+ r.t = i+y.t;
+ while(--i >= 0) r[i] = 0;
+ for(i = 0; i < y.t; ++i) r[i+x.t] = x.am(0,y[i],r,i,0,x.t);
+ r.s = 0;
+ r.clamp();
+ if(this.s != a.s) BigInteger.ZERO.subTo(r,r);
+ }
+ // (protected) r = this^2, r != this (HAC 14.16)
+ function bnpSquareTo(r) {
+ var x = this.abs();
+ var i = r.t = 2*x.t;
+ while(--i >= 0) r[i] = 0;
+ for(i = 0; i < x.t-1; ++i) {
+ var c = x.am(i,x[i],r,2*i,0,1);
+ if((r[i+x.t]+=x.am(i+1,2*x[i],r,2*i+1,c,x.t-i-1)) >= x.DV) {
+ r[i+x.t] -= x.DV;
+ r[i+x.t+1] = 1;
+ }
+ }
+ if(r.t > 0) r[r.t-1] += x.am(i,x[i],r,2*i,0,1);
+ r.s = 0;
+ r.clamp();
+ }
+ // (protected) divide this by m, quotient and remainder to q, r (HAC 14.20)
+ // r != q, this != m. q or r may be null.
+ function bnpDivRemTo(m,q,r) {
+ var pm = m.abs();
+ if(pm.t <= 0) return;
+ var pt = this.abs();
+ if(pt.t < pm.t) {
+ if(q != null) q.fromInt(0);
+ if(r != null) this.copyTo(r);
+ return;
+ }
+ if(r == null) r = nbi();
+ var y = nbi(), ts = this.s, ms = m.s;
+ var nsh = this.DB-nbits(pm[pm.t-1]); // normalize modulus
+ if(nsh > 0) { pm.lShiftTo(nsh,y); pt.lShiftTo(nsh,r); }
+ else { pm.copyTo(y); pt.copyTo(r); }
+ var ys = y.t;
+ var y0 = y[ys-1];
+ if(y0 == 0) return;
+ var yt = y0*(1<<this.F1)+((ys>1)?y[ys-2]>>this.F2:0);
+ var d1 = this.FV/yt, d2 = (1<<this.F1)/yt, e = 1<<this.F2;
+ var i = r.t, j = i-ys, t = (q==null)?nbi():q;
+ y.dlShiftTo(j,t);
+ if(r.compareTo(t) >= 0) {
+ r[r.t++] = 1;
+ r.subTo(t,r);
+ }
+ BigInteger.ONE.dlShiftTo(ys,t);
+ t.subTo(y,y); // "negative" y so we can replace sub with am later
+ while(y.t < ys) y[y.t++] = 0;
+ while(--j >= 0) {
+ // Estimate quotient digit
+ var qd = (r[--i]==y0)?this.DM:Math.floor(r[i]*d1+(r[i-1]+e)*d2);
+ if((r[i]+=y.am(0,qd,r,j,0,ys)) < qd) { // Try it out
+ y.dlShiftTo(j,t);
+ r.subTo(t,r);
+ while(r[i] < --qd) r.subTo(t,r);
+ }
+ }
+ if(q != null) {
+ r.drShiftTo(ys,q);
+ if(ts != ms) BigInteger.ZERO.subTo(q,q);
+ }
+ r.t = ys;
+ r.clamp();
+ if(nsh > 0) r.rShiftTo(nsh,r); // Denormalize remainder
+ if(ts < 0) BigInteger.ZERO.subTo(r,r);
+ }
+ // (public) this mod a
+ function bnMod(a) {
+ var r = nbi();
+ this.abs().divRemTo(a,null,r);
+ if(this.s < 0 && r.compareTo(BigInteger.ZERO) > 0) a.subTo(r,r);
+ return r;
+ }
+ // Modular reduction using "classic" algorithm
+ function Classic(m) { this.m = m; }
+ function cConvert(x) {
+ if(x.s < 0 || x.compareTo(this.m) >= 0) return x.mod(this.m);
+ else return x;
+ }
+ function cRevert(x) { return x; }
+ function cReduce(x) { x.divRemTo(this.m,null,x); }
+ function cMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); }
+ function cSqrTo(x,r) { x.squareTo(r); this.reduce(r); }
+ Classic.prototype.convert = cConvert;
+ Classic.prototype.revert = cRevert;
+ Classic.prototype.reduce = cReduce;
+ Classic.prototype.mulTo = cMulTo;
+ Classic.prototype.sqrTo = cSqrTo;
+ // (protected) return "-1/this % 2^DB"; useful for Mont. reduction
+ // justification:
+ // xy == 1 (mod m)
+ // xy = 1+km
+ // xy(2-xy) = (1+km)(1-km)
+ // x[y(2-xy)] = 1-k^2m^2
+ // x[y(2-xy)] == 1 (mod m^2)
+ // if y is 1/x mod m, then y(2-xy) is 1/x mod m^2
+ // should reduce x and y(2-xy) by m^2 at each step to keep size bounded.
+ // JS multiply "overflows" differently from C/C++, so care is needed here.
+ function bnpInvDigit() {
+ if(this.t < 1) return 0;
+ var x = this[0];
+ if((x&1) == 0) return 0;
+ var y = x&3; // y == 1/x mod 2^2
+ y = (y*(2-(x&0xf)*y))&0xf; // y == 1/x mod 2^4
+ y = (y*(2-(x&0xff)*y))&0xff; // y == 1/x mod 2^8
+ y = (y*(2-(((x&0xffff)*y)&0xffff)))&0xffff; // y == 1/x mod 2^16
+ // last step - calculate inverse mod DV directly;
+ // assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints
+ y = (y*(2-x*y%this.DV))%this.DV; // y == 1/x mod 2^dbits
+ // we really want the negative inverse, and -DV < y < DV
+ return (y>0)?this.DV-y:-y;
+ }
+ // Montgomery reduction
+ function Montgomery(m) {
+ this.m = m;
+ this.mp = m.invDigit();
+ this.mpl = this.mp&0x7fff;
+ this.mph = this.mp>>15;
+ this.um = (1<<(m.DB-15))-1;
+ this.mt2 = 2*m.t;
+ }
+ // xR mod m
+ function montConvert(x) {
+ var r = nbi();
+ x.abs().dlShiftTo(this.m.t,r);
+ r.divRemTo(this.m,null,r);
+ if(x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) this.m.subTo(r,r);
+ return r;
+ }
+ // x/R mod m
+ function montRevert(x) {
+ var r = nbi();
+ x.copyTo(r);
+ this.reduce(r);
+ return r;
+ }
+ // x = x/R mod m (HAC 14.32)
+ function montReduce(x) {
+ while(x.t <= this.mt2) // pad x so am has enough room later
+ x[x.t++] = 0;
+ for(var i = 0; i < this.m.t; ++i) {
+ // faster way of calculating u0 = x[i]*mp mod DV
+ var j = x[i]&0x7fff;
+ var u0 = (j*this.mpl+(((j*this.mph+(x[i]>>15)*this.mpl)&this.um)<<15))&x.DM;
+ // use am to combine the multiply-shift-add into one call
+ j = i+this.m.t;
+ x[j] += this.m.am(0,u0,x,i,0,this.m.t);
+ // propagate carry
+ while(x[j] >= x.DV) { x[j] -= x.DV; x[++j]++; }
+ }
+ x.clamp();
+ x.drShiftTo(this.m.t,x);
+ if(x.compareTo(this.m) >= 0) x.subTo(this.m,x);
+ }
+ // r = "x^2/R mod m"; x != r
+ function montSqrTo(x,r) { x.squareTo(r); this.reduce(r); }
+ // r = "xy/R mod m"; x,y != r
+ function montMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); }
+ Montgomery.prototype.convert = montConvert;
+ Montgomery.prototype.revert = montRevert;
+ Montgomery.prototype.reduce = montReduce;
+ Montgomery.prototype.mulTo = montMulTo;
+ Montgomery.prototype.sqrTo = montSqrTo;
+ // (protected) true iff this is even
+ function bnpIsEven() { return ((this.t>0)?(this[0]&1):this.s) == 0; }
+ // (protected) this^e, e < 2^32, doing sqr and mul with "r" (HAC 14.79)
+ function bnpExp(e,z) {
+ if(e > 0xffffffff || e < 1) return BigInteger.ONE;
+ var r = nbi(), r2 = nbi(), g = z.convert(this), i = nbits(e)-1;
+ g.copyTo(r);
+ while(--i >= 0) {
+ z.sqrTo(r,r2);
+ if((e&(1<<i)) > 0) z.mulTo(r2,g,r);
+ else { var t = r; r = r2; r2 = t; }
+ }
+ return z.revert(r);
+ }
+ // (public) this^e % m, 0 <= e < 2^32
+ function bnModPowInt(e,m) {
+ var z;
+ if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m);
+ return this.exp(e,z);
+ }
+ // protected
+ BigInteger.prototype.copyTo = bnpCopyTo;
+ BigInteger.prototype.fromInt = bnpFromInt;
+ BigInteger.prototype.fromString = bnpFromString;
+ BigInteger.prototype.clamp = bnpClamp;
+ BigInteger.prototype.dlShiftTo = bnpDLShiftTo;
+ BigInteger.prototype.drShiftTo = bnpDRShiftTo;
+ BigInteger.prototype.lShiftTo = bnpLShiftTo;
+ BigInteger.prototype.rShiftTo = bnpRShiftTo;
+ BigInteger.prototype.subTo = bnpSubTo;
+ BigInteger.prototype.multiplyTo = bnpMultiplyTo;
+ BigInteger.prototype.squareTo = bnpSquareTo;
+ BigInteger.prototype.divRemTo = bnpDivRemTo;
+ BigInteger.prototype.invDigit = bnpInvDigit;
+ BigInteger.prototype.isEven = bnpIsEven;
+ BigInteger.prototype.exp = bnpExp;
+ // public
+ BigInteger.prototype.toString = bnToString;
+ BigInteger.prototype.negate = bnNegate;
+ BigInteger.prototype.abs = bnAbs;
+ BigInteger.prototype.compareTo = bnCompareTo;
+ BigInteger.prototype.bitLength = bnBitLength;
+ BigInteger.prototype.mod = bnMod;
+ BigInteger.prototype.modPowInt = bnModPowInt;
+ // "constants"
+ BigInteger.ZERO = nbv(0);
+ BigInteger.ONE = nbv(1);
+ // jsbn2 stuff
+ // (protected) convert from radix string
+ function bnpFromRadix(s,b) {
+ this.fromInt(0);
+ if(b == null) b = 10;
+ var cs = this.chunkSize(b);
+ var d = Math.pow(b,cs), mi = false, j = 0, w = 0;
+ for(var i = 0; i < s.length; ++i) {
+ var x = intAt(s,i);
+ if(x < 0) {
+ if(s.charAt(i) == "-" && this.signum() == 0) mi = true;
+ continue;
+ }
+ w = b*w+x;
+ if(++j >= cs) {
+ this.dMultiply(d);
+ this.dAddOffset(w,0);
+ j = 0;
+ w = 0;
+ }
+ }
+ if(j > 0) {
+ this.dMultiply(Math.pow(b,j));
+ this.dAddOffset(w,0);
+ }
+ if(mi) BigInteger.ZERO.subTo(this,this);
+ }
+ // (protected) return x s.t. r^x < DV
+ function bnpChunkSize(r) { return Math.floor(Math.LN2*this.DB/Math.log(r)); }
+ // (public) 0 if this == 0, 1 if this > 0
+ function bnSigNum() {
+ if(this.s < 0) return -1;
+ else if(this.t <= 0 || (this.t == 1 && this[0] <= 0)) return 0;
+ else return 1;
+ }
+ // (protected) this *= n, this >= 0, 1 < n < DV
+ function bnpDMultiply(n) {
+ this[this.t] = this.am(0,n-1,this,0,0,this.t);
+ ++this.t;
+ this.clamp();
+ }
+ // (protected) this += n << w words, this >= 0
+ function bnpDAddOffset(n,w) {
+ if(n == 0) return;
+ while(this.t <= w) this[this.t++] = 0;
+ this[w] += n;
+ while(this[w] >= this.DV) {
+ this[w] -= this.DV;
+ if(++w >= this.t) this[this.t++] = 0;
+ ++this[w];
+ }
+ }
+ // (protected) convert to radix string
+ function bnpToRadix(b) {
+ if(b == null) b = 10;
+ if(this.signum() == 0 || b < 2 || b > 36) return "0";
+ var cs = this.chunkSize(b);
+ var a = Math.pow(b,cs);
+ var d = nbv(a), y = nbi(), z = nbi(), r = "";
+ this.divRemTo(d,y,z);
+ while(y.signum() > 0) {
+ r = (a+z.intValue()).toString(b).substr(1) + r;
+ y.divRemTo(d,y,z);
+ }
+ return z.intValue().toString(b) + r;
+ }
+ // (public) return value as integer
+ function bnIntValue() {
+ if(this.s < 0) {
+ if(this.t == 1) return this[0]-this.DV;
+ else if(this.t == 0) return -1;
+ }
+ else if(this.t == 1) return this[0];
+ else if(this.t == 0) return 0;
+ // assumes 16 < DB < 32
+ return ((this[1]&((1<<(32-this.DB))-1))<<this.DB)|this[0];
+ }
+ // (protected) r = this + a
+ function bnpAddTo(a,r) {
+ var i = 0, c = 0, m = Math.min(a.t,this.t);
+ while(i < m) {
+ c += this[i]+a[i];
+ r[i++] = c&this.DM;
+ c >>= this.DB;
+ }
+ if(a.t < this.t) {
+ c += a.s;
+ while(i < this.t) {
+ c += this[i];
+ r[i++] = c&this.DM;
+ c >>= this.DB;
+ }
+ c += this.s;
+ }
+ else {
+ c += this.s;
+ while(i < a.t) {
+ c += a[i];
+ r[i++] = c&this.DM;
+ c >>= this.DB;
+ }
+ c += a.s;
+ }
+ r.s = (c<0)?-1:0;
+ if(c > 0) r[i++] = c;
+ else if(c < -1) r[i++] = this.DV+c;
+ r.t = i;
+ r.clamp();
+ }
+ BigInteger.prototype.fromRadix = bnpFromRadix;
+ BigInteger.prototype.chunkSize = bnpChunkSize;
+ BigInteger.prototype.signum = bnSigNum;
+ BigInteger.prototype.dMultiply = bnpDMultiply;
+ BigInteger.prototype.dAddOffset = bnpDAddOffset;
+ BigInteger.prototype.toRadix = bnpToRadix;
+ BigInteger.prototype.intValue = bnIntValue;
+ BigInteger.prototype.addTo = bnpAddTo;
+ //======= end jsbn =======
+ // Emscripten wrapper
+ var Wrapper = {
+ abs: function(l, h) {
+ var x = new goog.math.Long(l, h);
+ var ret;
+ if (x.isNegative()) {
+ ret = x.negate();
+ } else {
+ ret = x;
+ }
+ HEAP32[tempDoublePtr>>2] = ret.low_;
+ HEAP32[tempDoublePtr+4>>2] = ret.high_;
+ },
+ ensureTemps: function() {
+ if (Wrapper.ensuredTemps) return;
+ Wrapper.ensuredTemps = true;
+ Wrapper.two32 = new BigInteger();
+ Wrapper.two32.fromString('4294967296', 10);
+ Wrapper.two64 = new BigInteger();
+ Wrapper.two64.fromString('18446744073709551616', 10);
+ Wrapper.temp1 = new BigInteger();
+ Wrapper.temp2 = new BigInteger();
+ },
+ lh2bignum: function(l, h) {
+ var a = new BigInteger();
+ a.fromString(h.toString(), 10);
+ var b = new BigInteger();
+ a.multiplyTo(Wrapper.two32, b);
+ var c = new BigInteger();
+ c.fromString(l.toString(), 10);
+ var d = new BigInteger();
+ c.addTo(b, d);
+ return d;
+ },
+ stringify: function(l, h, unsigned) {
+ var ret = new goog.math.Long(l, h).toString();
+ if (unsigned && ret[0] == '-') {
+ // unsign slowly using jsbn bignums
+ Wrapper.ensureTemps();
+ var bignum = new BigInteger();
+ bignum.fromString(ret, 10);
+ ret = new BigInteger();
+ Wrapper.two64.addTo(bignum, ret);
+ ret = ret.toString(10);
+ }
+ return ret;
+ },
+ fromString: function(str, base, min, max, unsigned) {
+ Wrapper.ensureTemps();
+ var bignum = new BigInteger();
+ bignum.fromString(str, base);
+ var bigmin = new BigInteger();
+ bigmin.fromString(min, 10);
+ var bigmax = new BigInteger();
+ bigmax.fromString(max, 10);
+ if (unsigned && bignum.compareTo(BigInteger.ZERO) < 0) {
+ var temp = new BigInteger();
+ bignum.addTo(Wrapper.two64, temp);
+ bignum = temp;
+ }
+ var error = false;
+ if (bignum.compareTo(bigmin) < 0) {
+ bignum = bigmin;
+ error = true;
+ } else if (bignum.compareTo(bigmax) > 0) {
+ bignum = bigmax;
+ error = true;
+ }
+ var ret = goog.math.Long.fromString(bignum.toString()); // min-max checks should have clamped this to a range goog.math.Long can handle well
+ HEAP32[tempDoublePtr>>2] = ret.low_;
+ HEAP32[tempDoublePtr+4>>2] = ret.high_;
+ if (error) throw 'range error';
+ }
+ };
+ return Wrapper;
+})();
+//======= end closure i64 code =======
+// === Auto-generated postamble setup entry stuff ===
+function ExitStatus(status) {
+ this.name = "ExitStatus";
+ this.message = "Program terminated with exit(" + status + ")";
+ this.status = status;
+};
+ExitStatus.prototype = new Error();
+ExitStatus.prototype.constructor = ExitStatus;
+function exit(status) {
+ ABORT = true;
+ EXITSTATUS = status;
+ STACKTOP = initialStackTop;
+ // exit the runtime
+ exitRuntime();
+ // TODO We should handle this differently based on environment.
+ // In the browser, the best we can do is throw an exception
+ // to halt execution, but in node we could process.exit and
+ // I'd imagine SM shell would have something equivalent.
+ // This would let us set a proper exit status (which
+ // would be great for checking test exit statuses).
+ // https://github.com/kripken/emscripten/issues/1371
+ // throw an exception to halt the current execution
+ throw new ExitStatus(status);
+}
+Module['exit'] = Module.exit = exit;
+function abort(text) {
+ if (text) {
+ Module.print(text);
+ Module.printErr(text);
+ }
+ ABORT = true;
+ EXITSTATUS = 1;
+ throw 'abort() at ' + (new Error().stack);
+}
+Module['abort'] = Module.abort = abort;
+
+var initialStackTop;
+var calledMain = false;
+Module['callMain'] = Module.callMain = function callMain(args) {
+ assert(runDependencies == 0, 'cannot call main when async dependencies remain! (listen on __ATMAIN__)');
+ assert(__ATPRERUN__.length == 0, 'cannot call main when preRun functions remain to be called');
+ args = args || [];
+ ensureInitRuntime();
+ var argc = args.length+1;
+ function pad() {
+ for (var i = 0; i < 4-1; i++) {
+ argv.push(0);
+ }
+ }
+ var argv = [allocate(intArrayFromString("/bin/this.program"), 'i8', ALLOC_NORMAL) ];
+ pad();
+ for (var i = 0; i < argc-1; i = i + 1) {
+ argv.push(allocate(intArrayFromString(args[i]), 'i8', ALLOC_NORMAL));
+ pad();
+ }
+ argv.push(0);
+ argv = allocate(argv, 'i32', ALLOC_NORMAL);
+ initialStackTop = STACKTOP;
+ try {
+ var ret = Module['_main'](argc, argv, 0);
+ // if we're not running an evented main loop, it's time to exit
+ if (!Module['noExitRuntime']) {
+ exit(ret);
+ }
+ }
+ catch(e) {
+ if (e instanceof ExitStatus) {
+ // exit() throws this once it's done to make sure execution
+ // has been stopped completely
+ return;
+ } else if (e == 'SimulateInfiniteLoop') {
+ // running an evented main loop, don't immediately exit
+ Module['noExitRuntime'] = true;
+ return;
+ } else {
+ throw e;
+ }
+ } finally {
+ calledMain = true;
+ }
+}
+function runBullet() {
+ assertEq(printedOutput, "");
+ assertEq(runDependencies > 0, false);
+ preRun();
+ assertEq(runDependencies > 0, false);
+ ensureInitRuntime();
+ preMain();
+ Module['callMain']([]);
+ postRun();
+
+ // This is a canned demo which prints the final positions of all the objects.
+ assertEq(printedOutput, "world pos = 2.00,10.00,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.99,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.98,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.97,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.96,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.94,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.92,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.90,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.88,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.85,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.82,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.78,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.75,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.71,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.67,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.62,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.57,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.52,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.47,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.42,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.36,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.30,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.23,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.17,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.10,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,9.02,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.95,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.87,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.79,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.71,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.62,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.53,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.44,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.35,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.25,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.15,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,8.05,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,7.94,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,7.83,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,7.72,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,7.61,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,7.49,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,7.37,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,7.25,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,7.13,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,7.00,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,6.87,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,6.73,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,6.60,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,6.46,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,6.32,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,6.17,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,6.03,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,5.88,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,5.72,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,5.57,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,5.41,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,5.25,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,5.08,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,4.92,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,4.75,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,4.58,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,4.40,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,4.22,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,4.04,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,3.86,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,3.67,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,3.48,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,3.29,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,3.10,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,2.90,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,2.70,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,2.50,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,2.29,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,2.08,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,1.87,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,1.66,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,1.44,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,1.22,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,1.00,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,0.77,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,0.55,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,0.32,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,0.08,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-0.15,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-0.39,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-0.63,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-0.88,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-1.13,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-1.38,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-1.63,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-1.88,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-2.14,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-2.40,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-2.67,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-2.93,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-3.20,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-3.48,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-3.75,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.03,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.31,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.59,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.88,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.17,0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.13,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.10,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.08,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.05,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.03,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.01,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.99,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.98,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.97,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.96,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.95,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.95,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.95,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.95,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.96,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.97,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.98,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-4.99,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00world pos = 2.00,-5.00,-0.00world pos = 0.00,-56.00,0.00");
+ printedOutput = "";
+
+ // Let the caller decide what should have happened.
+ return {
+ asmJSValidated: isAsmJSModule(asmModule) && isAsmJSFunction(asm._main),
+ loadedFromCache: isAsmJSModule(asmModule) && isAsmJSModuleLoadedFromCache(asmModule)
+ }
+}
diff --git a/js/src/jit-test/lib/bytecode-cache.js b/js/src/jit-test/lib/bytecode-cache.js
new file mode 100644
index 000000000..d6b713d6d
--- /dev/null
+++ b/js/src/jit-test/lib/bytecode-cache.js
@@ -0,0 +1,52 @@
+
+function evalWithCache(code, ctx) {
+ ctx = ctx || {};
+ ctx = Object.create(ctx, {
+ fileName: { value: "evalWithCacheCode.js" },
+ lineNumber: { value: 0 }
+ });
+ code = code instanceof Object ? code : cacheEntry(code);
+
+ // We create a new global ...
+ if (!("global" in ctx))
+ ctx.global = newGlobal({ cloneSingletons: true });
+
+ if (!("isRunOnce" in ctx))
+ ctx.isRunOnce = true;
+
+ // Fetch the verification function from the evaluation context. This function
+ // is used to assert the state of the script/function after each run of the
+ // evaluate function.
+ var checkAfter = ctx.checkAfter || function(ctx) {};
+
+ // The generation counter is used to represent environment variations which
+ // might cause the program to run differently, and thus to have a different
+ // set of functions executed.
+ ctx.global.generation = 0;
+ var res1 = evaluate(code, Object.create(ctx, {saveBytecode: { value: true } }));
+ checkAfter(ctx);
+
+ ctx.global.generation = 1;
+ var res2 = evaluate(code, Object.create(ctx, {loadBytecode: { value: true }, saveBytecode: { value: true } }));
+ checkAfter(ctx);
+
+ ctx.global.generation = 2;
+ var res3 = evaluate(code, Object.create(ctx, {loadBytecode: { value: true } }));
+ checkAfter(ctx);
+
+ ctx.global.generation = 3;
+ var res0 = evaluate(code, ctx);
+ checkAfter(ctx);
+
+ if (ctx.assertEqResult) {
+ assertEq(res0, res1);
+ assertEq(res0, res2);
+ assertEq(res0, res3);
+ }
+
+ if (ctx.checkFrozen) {
+ assertEq(Object.isFrozen(res0), Object.isFrozen(res1));
+ assertEq(Object.isFrozen(res0), Object.isFrozen(res2));
+ assertEq(Object.isFrozen(res0), Object.isFrozen(res3));
+ }
+}
diff --git a/js/src/jit-test/lib/census.js b/js/src/jit-test/lib/census.js
new file mode 100644
index 000000000..20be2e12b
--- /dev/null
+++ b/js/src/jit-test/lib/census.js
@@ -0,0 +1,161 @@
+// Functions for checking results returned by Debugger.Memory.prototype.takeCensus.
+
+const Census = {};
+
+(function () {
+
+ // Census.walkCensus(subject, name, walker[, ignore])
+ //
+ // Use |walker| to check |subject|, a census object of the sort returned by
+ // Debugger.Memory.prototype.takeCensus: a tree of objects with integers at the
+ // leaves. Use |name| as the name for |subject| in diagnostic messages. Return
+ // the number of leaves of |subject| we visited.
+ //
+ // A walker is an object with three methods:
+ //
+ // - enter(prop): Return the walker we should use to check the property of the
+ // subject census named |prop|. This is for recursing into the subobjects of
+ // the subject.
+ //
+ // - done(ignore): Called after we have called 'enter' on every property of
+ // the subject. Passed the |ignore| set of properties.
+ //
+ // - check(value): Check |value|, a leaf in the subject.
+ //
+ // Walker methods are expected to simply throw if a node we visit doesn't look
+ // right.
+ //
+ // The optional |ignore| parameter allows you to specify a |Set| of property
+ // names which should be ignored. The walker will not traverse such
+ // properties.
+ Census.walkCensus = (subject, name, walker, ignore = new Set()) =>
+ walk(subject, name, walker, ignore, 0);
+
+ function walk(subject, name, walker, ignore, count) {
+ if (typeof subject === 'object') {
+ print(name);
+ for (let prop in subject) {
+ if (ignore.has(prop)) {
+ continue;
+ }
+ count = walk(subject[prop],
+ name + "[" + uneval(prop) + "]",
+ walker.enter(prop),
+ ignore,
+ count);
+ }
+ walker.done(ignore);
+ } else {
+ print(name + " = " + uneval(subject));
+ walker.check(subject);
+ count++;
+ }
+
+ return count;
+ }
+
+ // A walker that doesn't check anything.
+ Census.walkAnything = {
+ enter: () => Census.walkAnything,
+ done: () => undefined,
+ check: () => undefined
+ };
+
+ // A walker that requires all leaves to be zeros.
+ Census.assertAllZeros = {
+ enter: () => Census.assertAllZeros,
+ done: () => undefined,
+ check: elt => assertEq(elt, 0)
+ };
+
+ function expectedObject() {
+ throw "Census mismatch: subject has leaf where basis has nested object";
+ }
+
+ function expectedLeaf() {
+ throw "Census mismatch: subject has nested object where basis has leaf";
+ }
+
+ // Return a function that, given a 'basis' census, returns a census walker that
+ // compares the subject census against the basis. The returned walker calls the
+ // given |compare|, |missing|, and |extra| functions as follows:
+ //
+ // - compare(subjectLeaf, basisLeaf): Check a leaf of the subject against the
+ // corresponding leaf of the basis.
+ //
+ // - missing(prop, value): Called when the subject is missing a property named
+ // |prop| which is present in the basis with value |value|.
+ //
+ // - extra(prop): Called when the subject has a property named |prop|, but the
+ // basis has no such property. This should return a walker that can check
+ // the subject's value.
+ function makeBasisChecker({compare, missing, extra}) {
+ return function makeWalker(basis) {
+ if (typeof basis === 'object') {
+ var unvisited = new Set(Object.getOwnPropertyNames(basis));
+ return {
+ enter: prop => {
+ unvisited.delete(prop);
+ if (prop in basis) {
+ return makeWalker(basis[prop]);
+ } else {
+ return extra(prop);
+ }
+ },
+
+ done: ignore => [...unvisited].filter(p => !ignore.has(p)).forEach(p => missing(p, basis[p])),
+ check: expectedObject
+ };
+ } else {
+ return {
+ enter: expectedLeaf,
+ done: expectedLeaf,
+ check: elt => compare(elt, basis)
+ };
+ }
+ };
+ }
+
+ function missingProp(prop) {
+ throw "Census mismatch: subject lacks property present in basis: " + uneval(prop);
+ }
+
+ function extraProp(prop) {
+ throw "Census mismatch: subject has property not present in basis: " + uneval(prop);
+ }
+
+ // Return a walker that checks that the subject census has counts all equal to
+ // |basis|.
+ Census.assertAllEqual = makeBasisChecker({
+ compare: assertEq,
+ missing: missingProp,
+ extra: extraProp
+ });
+
+ // Return a walker that checks that the subject census has at least as many
+ // items of each category as |basis|.
+ Census.assertAllNotLessThan = makeBasisChecker({
+ compare: (subject, basis) => assertEq(subject >= basis, true),
+ missing: missingProp,
+ extra: () => Census.walkAnything
+ });
+
+ // Return a walker that checks that the subject census has at most as many
+ // items of each category as |basis|.
+ Census.assertAllNotMoreThan = makeBasisChecker({
+ compare: (subject, basis) => assertEq(subject <= basis, true),
+ missing: missingProp,
+ extra: () => Census.walkAnything
+ });
+
+ // Return a walker that checks that the subject census has within |fudge|
+ // items of each category of the count in |basis|.
+ Census.assertAllWithin = function (fudge, basis) {
+ return makeBasisChecker({
+ compare: (subject, basis) => assertEq(Math.abs(subject - basis) <= fudge, true),
+ missing: missingProp,
+ extra: () => Census.walkAnything
+ })(basis);
+ }
+
+})();
diff --git a/js/src/jit-test/lib/debuggerNXHelper.js b/js/src/jit-test/lib/debuggerNXHelper.js
new file mode 100644
index 000000000..61792da84
--- /dev/null
+++ b/js/src/jit-test/lib/debuggerNXHelper.js
@@ -0,0 +1,90 @@
+function testDebuggerHooksNX(dbg, g, testHook) {
+ function testDebuggerHook(hookName, trigger) {
+ var hit = false;
+ dbg[hookName] = () => {
+ hit = true;
+ dbg[hookName] = undefined;
+ testHook(hookName);
+ };
+ trigger();
+ assertEq(hit, true);
+ }
+
+ // Hooks on the Debugger instance itself.
+ testDebuggerHook("onDebuggerStatement",
+ () => { g.eval("debugger;"); });
+
+ testDebuggerHook("onExceptionUnwind",
+ () => {
+ try {
+ g.eval("throw 42;");
+ } catch (e) {
+ assertEq(e, 42);
+ }
+ });
+
+ testDebuggerHook("onNewScript",
+ () => { g.eval("42"); });
+
+ testDebuggerHook("onEnterFrame",
+ () => { g.eval("(() => {})()"); });
+
+ testDebuggerHook("onNewGlobalObject",
+ () => { newGlobal(); });
+
+ if ('Promise' in g) {
+ testDebuggerHook("onNewPromise",
+ () => { new g.Promise(()=>{}); });
+
+ testDebuggerHook("onPromiseSettled",
+ () => {
+ var p = new g.Promise(()=>{});
+ g.settlePromiseNow(p);
+ });
+ }
+
+ // Hooks on frames.
+ var onStepHit = false;
+ var onPopHit = false;
+ dbg.onEnterFrame = (frame) => {
+ dbg.onEnterFrame = undefined;
+
+ frame.onStep = () => {
+ onStepHit = true;
+ frame.onStep = undefined;
+ testHook("onStep");
+ };
+
+ frame.onPop = () => {
+ onPopHit = true;
+ testHook("onPop");
+ };
+ };
+ g.eval("42");
+ assertEq(onStepHit, true);
+
+ // We can't actually assert that onPop executed because there's one test
+ // that tests NX works across a removeDebuggee/addDebuggee toggle. The
+ // removeDebuggee purges D.F instances, so the onPop won't be called even
+ // when the global is re-added.
+ //assertEq(onPopHit, true);
+
+ // Breakpoints
+ var breakpointHits = 0;
+ dbg.onDebuggerStatement = (frame) => {
+ dbg.onDebuggerStatement = undefined;
+ var line0 = frame.script.getOffsetLocation(frame.offset).lineNumber;
+ var offs = frame.script.getLineOffsets(line0 + 1);
+ for (let i = 0; i < offs.length; i++) {
+ frame.script.setBreakpoint(offs[i], {
+ hit: () => {
+ breakpointHits++;
+ testHook("breakpoint");
+ }
+ });
+ }
+ };
+ g.eval(`debugger;
+ s = 'a'`);
+ assertEq(breakpointHits >= 1, true);
+}
diff --git a/js/src/jit-test/lib/dummyModuleResolveHook.js b/js/src/jit-test/lib/dummyModuleResolveHook.js
new file mode 100644
index 000000000..594ec9432
--- /dev/null
+++ b/js/src/jit-test/lib/dummyModuleResolveHook.js
@@ -0,0 +1,14 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+// A dummy implementation of the module resolve hook used by module tests. This
+// implements the bare minimum necessary to allow modules to refer to each
+// other.
+
+let moduleRepo = {};
+setModuleResolveHook(function(module, specifier) {
+ if (specifier in moduleRepo)
+ return moduleRepo[specifier];
+ throw "Module '" + specifier + "' not found";
+});
diff --git a/js/src/jit-test/lib/eqArrayHelper.js b/js/src/jit-test/lib/eqArrayHelper.js
new file mode 100644
index 000000000..bd0caf67a
--- /dev/null
+++ b/js/src/jit-test/lib/eqArrayHelper.js
@@ -0,0 +1,21 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+function assertEqArray(actual, expected) {
+ if (actual.length != expected.length) {
+ throw new Error(
+ "array lengths not equal: got " +
+ uneval(actual) + ", expected " + uneval(expected));
+ }
+
+ for (var i = 0; i < actual.length; ++i) {
+ if (actual[i] != expected[i]) {
+ throw new Error(
+ "arrays not equal at element " + i + ": got " +
+ uneval(actual) + ", expected " + uneval(expected));
+ }
+ }
+}
+
+
diff --git a/js/src/jit-test/lib/evalInFrame.js b/js/src/jit-test/lib/evalInFrame.js
new file mode 100644
index 000000000..9f725acec
--- /dev/null
+++ b/js/src/jit-test/lib/evalInFrame.js
@@ -0,0 +1,32 @@
+var evalInFrame = (function (global) {
+ var dbgGlobal = newGlobal();
+ var dbg = new dbgGlobal.Debugger();
+
+ return function evalInFrame(upCount, code) {
+ dbg.addDebuggee(global);
+
+ // Skip ourself.
+ var frame = dbg.getNewestFrame().older;
+ for (var i = 0; i < upCount; i++) {
+ if (!frame.older)
+ break;
+ frame = frame.older;
+ }
+
+ var completion = frame.eval(code);
+ if (completion.return) {
+ var v = completion.return;
+ if (typeof v === "object")
+ v = v.unsafeDereference();
+ return v;
+ }
+ if (completion.throw) {
+ var v = completion.throw;
+ if (typeof v === "object")
+ v = v.unsafeDereference();
+ throw v;
+ }
+ if (completion === null)
+ terminate();
+ };
+})(this);
diff --git a/js/src/jit-test/lib/immutable-prototype.js b/js/src/jit-test/lib/immutable-prototype.js
new file mode 100644
index 000000000..75c1f4e3c
--- /dev/null
+++ b/js/src/jit-test/lib/immutable-prototype.js
@@ -0,0 +1,4 @@
+function globalPrototypeChainIsMutable()
+{
+ return false;
+}
diff --git a/js/src/jit-test/lib/iteration.js b/js/src/jit-test/lib/iteration.js
new file mode 100644
index 000000000..b679014f7
--- /dev/null
+++ b/js/src/jit-test/lib/iteration.js
@@ -0,0 +1,30 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+
+load(libdir + "asserts.js");
+
+if (typeof assertIteratorResult === 'undefined') {
+ var assertIteratorResult = function assertIteratorResult(result, value, done) {
+ assertEq(typeof result, "object");
+ var expectedProps = ['done', 'value'];
+ var actualProps = Object.getOwnPropertyNames(result);
+ actualProps.sort(), expectedProps.sort();
+ assertDeepEq(actualProps, expectedProps);
+ assertDeepEq(result.value, value);
+ assertDeepEq(result.done, done);
+ }
+}
+
+if (typeof assertIteratorNext === 'undefined') {
+ var assertIteratorNext = function assertIteratorNext(iter, value) {
+ assertIteratorResult(iter.next(), value, false);
+ }
+}
+
+if (typeof assertIteratorDone === 'undefined') {
+ var assertIteratorDone = function assertIteratorDone(iter, value) {
+ assertIteratorResult(iter.next(), value, true);
+ }
+}
diff --git a/js/src/jit-test/lib/jitopts.js b/js/src/jit-test/lib/jitopts.js
new file mode 100644
index 000000000..0d35a9e02
--- /dev/null
+++ b/js/src/jit-test/lib/jitopts.js
@@ -0,0 +1,75 @@
+// These predicates are for tests that require a particular set of JIT options.
+
+// Check if toggles match. Useful for tests that shouldn't be run if a
+// different set of JIT toggles are set, since TBPL runs each jit-test
+// multiple times with a variety of flags.
+function jitTogglesMatch(opts) {
+ var currentOpts = getJitCompilerOptions();
+ for (var k in opts) {
+ if (k.indexOf(".enable") > 0 && opts[k] != currentOpts[k])
+ return false;
+ }
+
+ // ARM64 does not yet have an Ion code generator, so return false if
+ // ion.enable is requested.
+ if (getBuildConfiguration()['arm64-simulator'] && opts['ion.enable'])
+ return false;
+
+ return true;
+}
+
+// Run fn under a particular set of JIT options.
+function withJitOptions(opts, fn) {
+ var oldOpts = getJitCompilerOptions();
+ for (var k in opts)
+ setJitCompilerOption(k, opts[k]);
+ try {
+ fn();
+ } finally {
+ for (var k in oldOpts)
+ setJitCompilerOption(k, oldOpts[k]);
+ }
+}
+
+// N.B. Ion opts *must come before* baseline opts because there's some kind of
+// "undo eager compilation" logic. If we don't set the baseline warmup-counter
+// *after* the Ion warmup-counter we end up setting the baseline warmup-counter
+// to be the default if we hit the "undo eager compilation" logic.
+var Opts_BaselineEager =
+ {
+ 'ion.enable': 1,
+ 'baseline.enable': 1,
+ 'baseline.warmup.trigger': 0,
+ 'offthread-compilation.enable': 1
+ };
+
+// Checking for offthread compilation being off is often helpful if the test
+// requires a function be Ion compiled. Each individual test will usually
+// finish before the Ion compilation thread has a chance to attach the
+// compiled code.
+var Opts_IonEagerNoOffthreadCompilation =
+ {
+ 'ion.enable': 1,
+ 'ion.warmup.trigger': 0,
+ 'baseline.enable': 1,
+ 'baseline.warmup.trigger': 0,
+ 'offthread-compilation.enable': 0,
+ };
+
+var Opts_Ion2NoOffthreadCompilation =
+ {
+ 'ion.enable': 1,
+ 'ion.warmup.trigger': 2,
+ 'baseline.enable': 1,
+ 'baseline.warmup.trigger': 1,
+ 'offthread-compilation.enable': 0
+ };
+
+var Opts_NoJits =
+ {
+ 'ion.enable': 0,
+ 'ion.warmup.trigger': 0,
+ 'baseline.warmup.trigger': 0,
+ 'baseline.enable': 0,
+ 'offthread-compilation.enable': 0
+ };
diff --git a/js/src/jit-test/lib/mandelbrot-results.js b/js/src/jit-test/lib/mandelbrot-results.js
new file mode 100644
index 000000000..736cbbfb2
--- /dev/null
+++ b/js/src/jit-test/lib/mandelbrot-results.js
@@ -0,0 +1,7 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+var mandelbrotNoImageDataResult = "[[[60, 300, 1, 1], [61, 300, 1, 1], [62, 300, 1, 1], [63, 300, 1, 1], [64, 300, 1, 1], [65, 298, 1, 5], [66, 297, 1, 7], [67, 298, 1, 5], [68, 299, 1, 1], [68, 301, 1, 1], [78, 300, 1, 1], [91, 300, 1, 1], [92, 300, 1, 1], [107, 300, 1, 1], [110, 300, 1, 1], [111, 300, 1, 1], [112, 300, 1, 1], [113, 300, 1, 1], [114, 300, 1, 1], [115, 300, 1, 1], [116, 300, 1, 1], [117, 300, 1, 1], [118, 300, 1, 1], [119, 300, 1, 1], [120, 300, 1, 1], [121, 300, 1, 1], [122, 300, 1, 1], [123, 300, 1, 1], [124, 300, 1, 1], [125, 300, 1, 1], [126, 300, 1, 1], [127, 300, 1, 1], [128, 300, 1, 1], [129, 300, 1, 1], [130, 300, 1, 1], [131, 300, 1, 1], [132, 300, 1, 1], [133, 300, 1, 1], [134, 300, 1, 1], [135, 300, 1, 1], [136, 300, 1, 1], [137, 299, 1, 3], [138, 298, 1, 5], [139, 297, 1, 7], [140, 298, 1, 5], [141, 298, 1, 5], [142, 295, 1, 11], [143, 293, 1, 15], [144, 293, 1, 15], [145, 289, 1, 1], [145, 291, 1, 19], [145, 311, 1, 1], [146, 288, 1, 25], [147, 288, 1, 25], [148, 290, 1, 21], [149, 289, 1, 23], [150, 288, 1, 25], [151, 289, 1, 23], [152, 287, 1, 27], [153, 287, 1, 27], [154, 288, 1, 25], [155, 288, 1, 25], [156, 288, 1, 25], [157, 288, 1, 25], [158, 289, 1, 23], [159, 290, 1, 21], [160, 290, 1, 21], [161, 291, 1, 19], [162, 293, 1, 15], [163, 224, 1, 1], [163, 294, 1, 13], [163, 376, 1, 1], [164, 296, 1, 9], [165, 286, 1, 1], [165, 288, 1, 1], [165, 291, 1, 19], [165, 312, 1, 1], [165, 314, 1, 1], [166, 282, 1, 2], [166, 285, 1, 31], [166, 317, 1, 2], [167, 268, 1, 1], [167, 277, 1, 2], [167, 282, 1, 37], [167, 322, 1, 2], [167, 332, 1, 1], [168, 276, 1, 49], [169, 267, 1, 1], [169, 269, 1, 1], [169, 271, 1, 1], [169, 277, 1, 47], [169, 329, 1, 1], [169, 331, 1, 1], [169, 333, 1, 1], [170, 268, 1, 3], [170, 274, 1, 53], [170, 330, 1, 3], [171, 268, 1, 4], [171, 273, 1, 1], [171, 275, 1, 51], [171, 327, 1, 1], [171, 329, 1, 4], [172, 268, 1, 4], [172, 273, 1, 55], [172, 329, 1, 4], [173, 266, 1, 1], [173, 268, 1, 65], [173, 334, 1, 1], [174, 268, 1, 65], [175, 268, 1, 65], [176, 263, 1, 1], [176, 267, 1, 67], [176, 337, 1, 1], [177, 239, 1, 1], [177, 261, 1, 1], [177, 267, 1, 67], [177, 339, 1, 1], [177, 361, 1, 1], [178, 263, 1, 75], [179, 251, 1, 1], [179, 263, 1, 75], [179, 349, 1, 1], [180, 246, 1, 1], [180, 251, 1, 2], [180, 262, 1, 77], [180, 348, 1, 2], [180, 354, 1, 1], [181, 250, 1, 6], [181, 261, 1, 79], [181, 345, 1, 6], [182, 246, 1, 1], [182, 249, 1, 8], [182, 260, 1, 1], [182, 262, 1, 77], [182, 340, 1, 1], [182, 344, 1, 8], [182, 354, 1, 1], [183, 245, 1, 13], [183, 261, 1, 79], [183, 343, 1, 13], [184, 245, 1, 13], [184, 259, 1, 83], [184, 343, 1, 13], [185, 246, 1, 12], [185, 259, 1, 83], [185, 343, 1, 12], [186, 247, 1, 11], [186, 259, 1, 83], [186, 343, 1, 11], [187, 246, 1, 109], [188, 247, 1, 107], [189, 247, 1, 107], [190, 247, 1, 1], [190, 249, 1, 103], [190, 353, 1, 1], [191, 249, 1, 6], [191, 256, 1, 89], [191, 346, 1, 6], [192, 250, 1, 1], [192, 255, 1, 91], [192, 350, 1, 1], [193, 255, 1, 91], [194, 253, 1, 95], [195, 252, 1, 1], [195, 254, 1, 93], [195, 348, 1, 1], [196, 253, 1, 95], [197, 253, 1, 95], [198, 252, 1, 97], [199, 252, 1, 97], [200, 248, 1, 1], [200, 250, 1, 1], [200, 252, 1, 97], [200, 350, 1, 1], [200, 352, 1, 1], [201, 247, 1, 1], [201, 250, 1, 101], [201, 353, 1, 1], [202, 247, 1, 107], [203, 249, 1, 103], [204, 250, 1, 101], [205, 249, 1, 1], [205, 251, 1, 99], [205, 351, 1, 1], [206, 249, 1, 103], [207, 250, 1, 101], [208, 250, 1, 101], [209, 250, 1, 101], [210, 243, 1, 1], [210, 245, 1, 4], [210, 250, 1, 101], [210, 352, 1, 4], [210, 357, 1, 1], [211, 245, 1, 111], [212, 243, 1, 115], [213, 243, 1, 115], [214, 243, 1, 115], [215, 242, 1, 1], [215, 245, 1, 111], [215, 358, 1, 1], [216, 247, 1, 2], [216, 250, 1, 101], [216, 352, 1, 2], [217, 247, 1, 1], [217, 250, 1, 101], [217, 353, 1, 1], [218, 250, 1, 101], [219, 249, 1, 103], [220, 248, 1, 1], [220, 250, 1, 101], [220, 352, 1, 1], [221, 247, 1, 1], [221, 250, 1, 101], [221, 353, 1, 1], [222, 249, 1, 103], [223, 251, 1, 99], [224, 250, 1, 101], [225, 251, 1, 99], [226, 250, 1, 1], [226, 252, 1, 97], [226, 350, 1, 1], [227, 248, 1, 1], [227, 250, 1, 101], [227, 352, 1, 1], [228, 249, 1, 103], [229, 248, 1, 105], [230, 248, 1, 1], [230, 250, 1, 101], [230, 352, 1, 1], [231, 254, 1, 93], [232, 254, 1, 93], [233, 251, 1, 1], [233, 254, 1, 93], [233, 349, 1, 1], [234, 253, 1, 95], [235, 256, 1, 89], [236, 255, 1, 91], [237, 254, 1, 93], [238, 254, 1, 3], [238, 258, 1, 85], [238, 344, 1, 3], [239, 254, 1, 3], [239, 258, 1, 85], [239, 344, 1, 3], [240, 253, 1, 1], [240, 259, 1, 83], [240, 347, 1, 1], [241, 258, 1, 85], [242, 260, 1, 81], [243, 258, 1, 1], [243, 260, 1, 81], [243, 342, 1, 1], [244, 259, 1, 83], [245, 259, 1, 1], [245, 263, 1, 75], [245, 341, 1, 1], [246, 262, 1, 77], [247, 264, 1, 73], [248, 262, 1, 1], [248, 264, 1, 1], [248, 266, 1, 69], [248, 336, 1, 1], [248, 338, 1, 1], [249, 266, 1, 69], [250, 266, 1, 69], [251, 266, 1, 69], [252, 270, 1, 61], [253, 270, 1, 1], [253, 272, 1, 57], [253, 330, 1, 1], [254, 272, 1, 57], [255, 274, 1, 53], [256, 274, 1, 1], [256, 276, 1, 49], [256, 326, 1, 1], [257, 276, 1, 1], [257, 278, 1, 45], [257, 324, 1, 1], [258, 279, 1, 1], [258, 281, 1, 39], [258, 321, 1, 1], [259, 283, 1, 35], [260, 287, 1, 27], [261, 294, 1, 13], [262, 263, 1, 1], [262, 275, 1, 1], [262, 277, 1, 1], [262, 280, 1, 41], [262, 323, 1, 1], [262, 325, 1, 1], [262, 337, 1, 1], [263, 264, 1, 1], [263, 266, 1, 2], [263, 269, 1, 1], [263, 273, 1, 1], [263, 275, 1, 51], [263, 327, 1, 1], [263, 331, 1, 1], [263, 333, 1, 2], [263, 336, 1, 1], [264, 258, 1, 1], [264, 266, 1, 3], [264, 270, 1, 1], [264, 272, 1, 57], [264, 330, 1, 1], [264, 332, 1, 3], [264, 342, 1, 1], [265, 251, 1, 1], [265, 262, 1, 3], [265, 267, 1, 67], [265, 336, 1, 3], [265, 349, 1, 1], [266, 251, 1, 2], [266, 257, 1, 3], [266, 261, 1, 1], [266, 263, 1, 75], [266, 339, 1, 1], [266, 341, 1, 3], [266, 348, 1, 2], [267, 243, 1, 2], [267, 251, 1, 4], [267, 258, 1, 85], [267, 346, 1, 4], [267, 356, 1, 2], [268, 243, 1, 2], [268, 250, 1, 5], [268, 256, 1, 89], [268, 346, 1, 5], [268, 356, 1, 2], [269, 238, 1, 1], [269, 243, 1, 2], [269, 246, 1, 1], [269, 251, 1, 99], [269, 354, 1, 1], [269, 356, 1, 2], [269, 362, 1, 1], [270, 241, 1, 1], [270, 243, 1, 3], [270, 249, 1, 103], [270, 355, 1, 3], [270, 359, 1, 1], [271, 230, 1, 1], [271, 242, 1, 4], [271, 248, 1, 105], [271, 355, 1, 4], [271, 370, 1, 1], [272, 225, 1, 1], [272, 232, 1, 1], [272, 242, 1, 4], [272, 247, 1, 107], [272, 355, 1, 4], [272, 368, 1, 1], [272, 375, 1, 1], [273, 231, 1, 3], [273, 238, 1, 2], [273, 244, 1, 113], [273, 361, 1, 2], [273, 367, 1, 3], [274, 230, 1, 5], [274, 239, 1, 123], [274, 366, 1, 5], [275, 212, 1, 1], [275, 230, 1, 6], [275, 237, 1, 1], [275, 239, 1, 123], [275, 363, 1, 1], [275, 365, 1, 6], [275, 388, 1, 1], [276, 228, 1, 1], [276, 230, 1, 6], [276, 238, 1, 125], [276, 365, 1, 6], [276, 372, 1, 1], [277, 230, 1, 141], [278, 209, 1, 1], [278, 231, 1, 139], [278, 391, 1, 1], [279, 210, 1, 1], [279, 233, 1, 135], [279, 390, 1, 1], [280, 213, 1, 1], [280, 225, 1, 1], [280, 228, 1, 145], [280, 375, 1, 1], [280, 387, 1, 1], [281, 209, 1, 1], [281, 211, 1, 3], [281, 215, 1, 2], [281, 225, 1, 2], [281, 228, 1, 145], [281, 374, 1, 2], [281, 384, 1, 2], [281, 387, 1, 3], [281, 391, 1, 1], [282, 209, 1, 1], [282, 211, 1, 7], [282, 225, 1, 151], [282, 383, 1, 7], [282, 391, 1, 1], [283, 212, 1, 9], [283, 225, 1, 151], [283, 380, 1, 9], [284, 211, 1, 9], [284, 223, 1, 1], [284, 225, 1, 151], [284, 377, 1, 1], [284, 381, 1, 9], [285, 207, 1, 2], [285, 211, 1, 9], [285, 222, 1, 157], [285, 381, 1, 9], [285, 392, 1, 2], [286, 210, 1, 10], [286, 221, 1, 159], [286, 381, 1, 10], [287, 210, 1, 10], [287, 221, 1, 159], [287, 381, 1, 10], [288, 211, 1, 179], [289, 211, 1, 179], [290, 213, 1, 3], [290, 217, 1, 167], [290, 385, 1, 3], [291, 214, 1, 173], [292, 212, 1, 177], [293, 209, 1, 183], [294, 210, 1, 1], [294, 212, 1, 177], [294, 390, 1, 1], [295, 210, 1, 181], [296, 204, 1, 193], [297, 204, 1, 193], [298, 203, 1, 195], [299, 189, 1, 1], [299, 205, 1, 191], [299, 411, 1, 1], [300, 188, 1, 3], [300, 204, 1, 193], [300, 410, 1, 3], [301, 180, 1, 1], [301, 183, 1, 1], [301, 185, 1, 2], [301, 188, 1, 3], [301, 200, 1, 2], [301, 204, 1, 193], [301, 399, 1, 2], [301, 410, 1, 3], [301, 414, 1, 2], [301, 417, 1, 1], [301, 420, 1, 1], [302, 177, 1, 5], [302, 184, 1, 10], [302, 200, 1, 1], [302, 202, 1, 197], [302, 400, 1, 1], [302, 407, 1, 10], [302, 419, 1, 5], [303, 178, 1, 15], [303, 203, 1, 195], [303, 408, 1, 15], [304, 178, 1, 17], [304, 199, 1, 2], [304, 202, 1, 197], [304, 400, 1, 2], [304, 406, 1, 17], [305, 179, 1, 16], [305, 200, 1, 201], [305, 406, 1, 16], [306, 180, 1, 16], [306, 198, 1, 205], [306, 405, 1, 16], [307, 179, 1, 17], [307, 198, 1, 205], [307, 405, 1, 17], [308, 180, 1, 16], [308, 197, 1, 207], [308, 405, 1, 16], [309, 179, 1, 17], [309, 197, 1, 207], [309, 405, 1, 17], [310, 180, 1, 241], [311, 180, 1, 15], [311, 196, 1, 209], [311, 406, 1, 15], [312, 179, 1, 243], [313, 177, 1, 1], [313, 179, 1, 243], [313, 423, 1, 1], [314, 181, 1, 239], [315, 182, 1, 237], [316, 180, 1, 1], [316, 183, 1, 8], [316, 192, 1, 217], [316, 410, 1, 8], [316, 420, 1, 1], [317, 185, 1, 1], [317, 188, 1, 1], [317, 191, 1, 219], [317, 412, 1, 1], [317, 415, 1, 1], [318, 189, 1, 223], [319, 189, 1, 223], [320, 186, 1, 2], [320, 189, 1, 223], [320, 413, 1, 2], [321, 187, 1, 1], [321, 189, 1, 223], [321, 413, 1, 1], [322, 185, 1, 1], [322, 188, 1, 225], [322, 415, 1, 1], [323, 185, 1, 231], [324, 185, 1, 231], [325, 180, 1, 1], [325, 183, 1, 1], [325, 185, 1, 231], [325, 417, 1, 1], [325, 420, 1, 1], [326, 180, 1, 1], [326, 182, 1, 2], [326, 185, 1, 231], [326, 417, 1, 2], [326, 420, 1, 1], [327, 182, 1, 237], [328, 182, 1, 237], [329, 183, 1, 235], [330, 182, 1, 237], [331, 176, 1, 1], [331, 180, 1, 1], [331, 183, 1, 235], [331, 420, 1, 1], [331, 424, 1, 1], [332, 174, 1, 1], [332, 181, 1, 239], [332, 426, 1, 1], [333, 176, 1, 1], [333, 180, 1, 241], [333, 424, 1, 1], [334, 175, 1, 4], [334, 181, 1, 239], [334, 422, 1, 4], [335, 171, 1, 259], [336, 172, 1, 257], [337, 171, 1, 1], [337, 174, 1, 253], [337, 429, 1, 1], [338, 173, 1, 255], [339, 174, 1, 253], [340, 172, 1, 1], [340, 175, 1, 3], [340, 179, 1, 243], [340, 423, 1, 3], [340, 428, 1, 1], [341, 178, 1, 245], [342, 176, 1, 1], [342, 178, 1, 245], [342, 424, 1, 1], [343, 176, 1, 249], [344, 174, 1, 1], [344, 176, 1, 249], [344, 426, 1, 1], [345, 176, 1, 249], [346, 176, 1, 249], [347, 172, 1, 1], [347, 175, 1, 251], [347, 428, 1, 1], [348, 172, 1, 3], [348, 176, 1, 249], [348, 426, 1, 3], [349, 169, 1, 263], [350, 169, 1, 1], [350, 172, 1, 257], [350, 431, 1, 1], [351, 172, 1, 257], [352, 174, 1, 253], [353, 173, 1, 255], [354, 172, 1, 1], [354, 174, 1, 253], [354, 428, 1, 1], [355, 169, 1, 1], [355, 173, 1, 255], [355, 431, 1, 1], [356, 169, 1, 1], [356, 172, 1, 257], [356, 431, 1, 1], [357, 169, 1, 1], [357, 171, 1, 259], [357, 431, 1, 1], [358, 148, 1, 1], [358, 169, 1, 263], [358, 452, 1, 1], [359, 173, 1, 255], [360, 171, 1, 259], [361, 150, 1, 1], [361, 171, 1, 259], [361, 450, 1, 1], [362, 137, 1, 1], [362, 149, 1, 3], [362, 170, 1, 261], [362, 449, 1, 3], [362, 463, 1, 1], [363, 138, 1, 2], [363, 149, 1, 4], [363, 156, 1, 2], [363, 160, 1, 1], [363, 170, 1, 261], [363, 440, 1, 1], [363, 443, 1, 2], [363, 448, 1, 4], [363, 461, 1, 2], [364, 138, 1, 3], [364, 145, 1, 1], [364, 147, 1, 1], [364, 149, 1, 6], [364, 156, 1, 2], [364, 171, 1, 259], [364, 443, 1, 2], [364, 446, 1, 6], [364, 453, 1, 1], [364, 455, 1, 1], [364, 460, 1, 3], [365, 137, 1, 5], [365, 144, 1, 15], [365, 160, 1, 2], [365, 163, 1, 1], [365, 171, 1, 259], [365, 437, 1, 1], [365, 439, 1, 2], [365, 442, 1, 15], [365, 459, 1, 5], [366, 137, 1, 24], [366, 171, 1, 259], [366, 440, 1, 24], [367, 137, 1, 25], [367, 163, 1, 1], [367, 171, 1, 259], [367, 437, 1, 1], [367, 439, 1, 25], [368, 80, 1, 1], [368, 137, 1, 1], [368, 140, 1, 25], [368, 170, 1, 261], [368, 436, 1, 25], [368, 463, 1, 1], [368, 520, 1, 1], [369, 138, 1, 28], [369, 170, 1, 261], [369, 435, 1, 28], [370, 136, 1, 31], [370, 170, 1, 261], [370, 434, 1, 31], [371, 133, 1, 1], [371, 137, 1, 30], [371, 170, 1, 261], [371, 434, 1, 30], [371, 467, 1, 1], [372, 133, 1, 2], [372, 136, 1, 32], [372, 170, 1, 261], [372, 433, 1, 32], [372, 466, 1, 2], [373, 134, 1, 34], [373, 170, 1, 261], [373, 433, 1, 34], [374, 135, 1, 34], [374, 170, 1, 261], [374, 432, 1, 34], [375, 94, 1, 1], [375, 134, 1, 35], [375, 170, 1, 261], [375, 432, 1, 35], [375, 506, 1, 1], [376, 93, 1, 2], [376, 132, 1, 337], [376, 506, 1, 2], [377, 93, 1, 1], [377, 133, 1, 37], [377, 171, 1, 259], [377, 431, 1, 37], [377, 507, 1, 1], [378, 133, 1, 37], [378, 171, 1, 259], [378, 431, 1, 37], [379, 132, 1, 337], [380, 126, 1, 5], [380, 133, 1, 335], [380, 470, 1, 5], [381, 125, 1, 7], [381, 133, 1, 335], [381, 469, 1, 7], [382, 125, 1, 7], [382, 133, 1, 335], [382, 469, 1, 7], [383, 123, 1, 355], [384, 122, 1, 1], [384, 124, 1, 353], [384, 478, 1, 1], [385, 121, 1, 359], [386, 115, 1, 1], [386, 122, 1, 48], [386, 171, 1, 259], [386, 431, 1, 48], [386, 485, 1, 1], [387, 125, 1, 7], [387, 133, 1, 335], [387, 469, 1, 7], [388, 125, 1, 6], [388, 134, 1, 36], [388, 171, 1, 259], [388, 431, 1, 36], [388, 470, 1, 6], [389, 126, 1, 1], [389, 128, 1, 1], [389, 130, 1, 1], [389, 133, 1, 335], [389, 470, 1, 1], [389, 472, 1, 1], [389, 474, 1, 1], [390, 125, 1, 1], [390, 133, 1, 36], [390, 170, 1, 261], [390, 432, 1, 36], [390, 475, 1, 1], [391, 135, 1, 34], [391, 170, 1, 261], [391, 432, 1, 34], [392, 106, 1, 1], [392, 134, 1, 35], [392, 171, 1, 259], [392, 432, 1, 35], [392, 494, 1, 1], [393, 136, 1, 31], [393, 170, 1, 261], [393, 434, 1, 31], [394, 135, 1, 33], [394, 171, 1, 259], [394, 433, 1, 33], [395, 135, 1, 30], [395, 170, 1, 261], [395, 436, 1, 30], [396, 136, 1, 1], [396, 139, 1, 26], [396, 170, 1, 261], [396, 436, 1, 26], [396, 464, 1, 1], [397, 138, 1, 1], [397, 140, 1, 25], [397, 171, 1, 259], [397, 436, 1, 25], [397, 462, 1, 1], [398, 103, 1, 1], [398, 142, 1, 20], [398, 164, 1, 1], [398, 170, 1, 261], [398, 436, 1, 1], [398, 439, 1, 20], [398, 497, 1, 1], [399, 140, 1, 20], [399, 161, 1, 1], [399, 171, 1, 259], [399, 439, 1, 1], [399, 441, 1, 20], [400, 140, 1, 5], [400, 146, 1, 13], [400, 169, 1, 1], [400, 171, 1, 259], [400, 431, 1, 1], [400, 442, 1, 13], [400, 456, 1, 5], [401, 140, 1, 4], [401, 148, 1, 2], [401, 151, 1, 2], [401, 155, 1, 1], [401, 157, 1, 2], [401, 161, 1, 1], [401, 170, 1, 261], [401, 439, 1, 1], [401, 442, 1, 2], [401, 445, 1, 1], [401, 448, 1, 2], [401, 451, 1, 2], [401, 457, 1, 4], [402, 141, 1, 3], [402, 151, 1, 3], [402, 170, 1, 1], [402, 172, 1, 257], [402, 430, 1, 1], [402, 447, 1, 3], [402, 457, 1, 3], [403, 141, 1, 1], [403, 152, 1, 1], [403, 171, 1, 259], [403, 448, 1, 1], [403, 459, 1, 1], [404, 169, 1, 263], [405, 170, 1, 261], [406, 172, 1, 257], [407, 172, 1, 257], [408, 172, 1, 257], [409, 169, 1, 263], [410, 170, 1, 261], [411, 174, 1, 253], [412, 173, 1, 255], [413, 174, 1, 253], [414, 173, 1, 255], [415, 169, 1, 1], [415, 171, 1, 259], [415, 431, 1, 1], [416, 172, 1, 257], [417, 171, 1, 259], [418, 174, 1, 253], [419, 170, 1, 1], [419, 173, 1, 1], [419, 176, 1, 249], [419, 427, 1, 1], [419, 430, 1, 1], [420, 176, 1, 249], [421, 175, 1, 251], [422, 175, 1, 251], [423, 177, 1, 247], [424, 177, 1, 247], [425, 179, 1, 243], [426, 177, 1, 1], [426, 180, 1, 241], [426, 423, 1, 1], [427, 173, 1, 1], [427, 177, 1, 247], [427, 427, 1, 1], [428, 175, 1, 251], [429, 174, 1, 253], [430, 174, 1, 253], [431, 173, 1, 255], [432, 173, 1, 9], [432, 183, 1, 235], [432, 419, 1, 9], [433, 174, 1, 1], [433, 176, 1, 5], [433, 184, 1, 233], [433, 420, 1, 5], [433, 426, 1, 1], [434, 170, 1, 1], [434, 177, 1, 3], [434, 182, 1, 237], [434, 421, 1, 3], [434, 430, 1, 1], [435, 184, 1, 233], [436, 183, 1, 235], [437, 185, 1, 231], [438, 184, 1, 233], [439, 184, 1, 233], [440, 184, 1, 233], [441, 184, 1, 3], [441, 188, 1, 225], [441, 414, 1, 3], [442, 183, 1, 1], [442, 186, 1, 1], [442, 189, 1, 223], [442, 414, 1, 1], [442, 417, 1, 1], [443, 184, 1, 1], [443, 190, 1, 221], [443, 416, 1, 1], [444, 183, 1, 1], [444, 189, 1, 223], [444, 417, 1, 1], [445, 187, 1, 1], [445, 189, 1, 1], [445, 191, 1, 219], [445, 411, 1, 1], [445, 413, 1, 1], [446, 188, 1, 1], [446, 191, 1, 219], [446, 412, 1, 1], [447, 192, 1, 217], [448, 192, 1, 217], [449, 193, 1, 215], [450, 195, 1, 211], [451, 196, 1, 209], [452, 189, 1, 1], [452, 191, 1, 2], [452, 195, 1, 1], [452, 197, 1, 207], [452, 405, 1, 1], [452, 408, 1, 2], [452, 411, 1, 1], [453, 189, 1, 223], [454, 185, 1, 2], [454, 188, 1, 225], [454, 414, 1, 2], [455, 186, 1, 229], [456, 187, 1, 113], [456, 301, 1, 113], [457, 186, 1, 16], [457, 203, 1, 97], [457, 301, 1, 97], [457, 399, 1, 16], [458, 186, 1, 114], [458, 301, 1, 114], [459, 182, 1, 21], [459, 204, 1, 96], [459, 301, 1, 96], [459, 398, 1, 21], [460, 184, 1, 19], [460, 205, 1, 94], [460, 302, 1, 94], [460, 398, 1, 19], [461, 185, 1, 18], [461, 206, 1, 93], [461, 302, 1, 93], [461, 398, 1, 18], [462, 185, 1, 18], [462, 207, 1, 1], [462, 209, 1, 88], [462, 304, 1, 88], [462, 393, 1, 1], [462, 398, 1, 18], [463, 185, 1, 19], [463, 209, 1, 88], [463, 304, 1, 88], [463, 397, 1, 19], [464, 186, 1, 17], [464, 209, 1, 88], [464, 304, 1, 88], [464, 398, 1, 17], [465, 186, 1, 17], [465, 208, 1, 1], [465, 212, 1, 84], [465, 305, 1, 84], [465, 392, 1, 1], [465, 398, 1, 17], [466, 187, 1, 15], [466, 212, 1, 82], [466, 307, 1, 82], [466, 399, 1, 15], [467, 188, 1, 15], [467, 209, 1, 1], [467, 211, 1, 1], [467, 213, 1, 1], [467, 215, 1, 78], [467, 308, 1, 78], [467, 387, 1, 1], [467, 389, 1, 1], [467, 391, 1, 1], [467, 398, 1, 15], [468, 185, 1, 15], [468, 212, 1, 1], [468, 215, 1, 78], [468, 308, 1, 78], [468, 388, 1, 1], [468, 401, 1, 15], [469, 185, 1, 14], [469, 211, 1, 1], [469, 217, 1, 74], [469, 310, 1, 74], [469, 389, 1, 1], [469, 402, 1, 14], [470, 185, 1, 5], [470, 193, 1, 1], [470, 197, 1, 2], [470, 215, 1, 5], [470, 221, 1, 69], [470, 311, 1, 69], [470, 381, 1, 5], [470, 402, 1, 2], [470, 407, 1, 1], [470, 411, 1, 5], [471, 186, 1, 3], [471, 193, 1, 1], [471, 198, 1, 1], [471, 215, 1, 5], [471, 222, 1, 66], [471, 289, 1, 1], [471, 311, 1, 1], [471, 313, 1, 66], [471, 381, 1, 5], [471, 402, 1, 1], [471, 407, 1, 1], [471, 412, 1, 3], [472, 186, 1, 1], [472, 198, 1, 1], [472, 216, 1, 3], [472, 224, 1, 62], [472, 315, 1, 62], [472, 382, 1, 3], [472, 402, 1, 1], [472, 414, 1, 1], [473, 223, 1, 1], [473, 226, 1, 61], [473, 314, 1, 61], [473, 377, 1, 1], [474, 216, 1, 1], [474, 223, 1, 2], [474, 227, 1, 1], [474, 230, 1, 53], [474, 285, 1, 1], [474, 287, 1, 1], [474, 313, 1, 1], [474, 315, 1, 1], [474, 318, 1, 53], [474, 373, 1, 1], [474, 376, 1, 2], [474, 384, 1, 1], [475, 233, 1, 48], [475, 320, 1, 48], [476, 171, 1, 1], [476, 230, 1, 48], [476, 279, 1, 3], [476, 319, 1, 3], [476, 323, 1, 48], [476, 429, 1, 1], [477, 228, 1, 9], [477, 238, 1, 37], [477, 276, 1, 1], [477, 279, 1, 3], [477, 319, 1, 3], [477, 324, 1, 1], [477, 326, 1, 37], [477, 364, 1, 9], [478, 227, 1, 1], [478, 229, 1, 9], [478, 243, 1, 30], [478, 279, 1, 3], [478, 319, 1, 3], [478, 328, 1, 30], [478, 363, 1, 9], [478, 373, 1, 1], [479, 228, 1, 10], [479, 242, 1, 2], [479, 246, 1, 2], [479, 249, 1, 17], [479, 267, 1, 1], [479, 270, 1, 3], [479, 328, 1, 3], [479, 333, 1, 1], [479, 335, 1, 17], [479, 353, 1, 2], [479, 357, 1, 2], [479, 363, 1, 10], [480, 228, 1, 10], [480, 245, 1, 4], [480, 252, 1, 1], [480, 254, 1, 6], [480, 265, 1, 1], [480, 268, 1, 5], [480, 274, 1, 1], [480, 326, 1, 1], [480, 328, 1, 5], [480, 335, 1, 1], [480, 341, 1, 6], [480, 348, 1, 1], [480, 352, 1, 4], [480, 363, 1, 10], [481, 227, 1, 12], [481, 246, 1, 1], [481, 254, 1, 7], [481, 265, 1, 1], [481, 271, 1, 2], [481, 328, 1, 2], [481, 335, 1, 1], [481, 340, 1, 7], [481, 354, 1, 1], [481, 362, 1, 12], [482, 227, 1, 11], [482, 254, 1, 6], [482, 269, 1, 2], [482, 330, 1, 2], [482, 341, 1, 6], [482, 363, 1, 11], [483, 230, 1, 8], [483, 254, 1, 7], [483, 340, 1, 7], [483, 363, 1, 8], [484, 230, 1, 6], [484, 237, 1, 1], [484, 254, 1, 5], [484, 342, 1, 5], [484, 363, 1, 1], [484, 365, 1, 6], [485, 231, 1, 3], [485, 257, 1, 2], [485, 342, 1, 2], [485, 367, 1, 3], [486, 231, 1, 3], [486, 367, 1, 3], [487, 232, 1, 1], [487, 368, 1, 1], [491, 230, 1, 1], [491, 235, 1, 1], [491, 365, 1, 1], [491, 370, 1, 1]], [[0, 0, 1, 600], [1, 0, 1, 600], [2, 0, 1, 600], [3, 0, 1, 600], [4, 0, 1, 600], [5, 0, 1, 600], [6, 0, 1, 600], [7, 0, 1, 600], [8, 0, 1, 600], [9, 0, 1, 600], [10, 0, 1, 600], [11, 0, 1, 600], [12, 0, 1, 600], [13, 0, 1, 600], [14, 0, 1, 600], [15, 0, 1, 600], [16, 0, 1, 600], [17, 0, 1, 600], [18, 0, 1, 600], [19, 0, 1, 600], [20, 0, 1, 298], [20, 303, 1, 297], [21, 0, 1, 297], [21, 304, 1, 296], [22, 0, 1, 297], [22, 304, 1, 296], [23, 0, 1, 297], [23, 304, 1, 296], [24, 0, 1, 297], [24, 304, 1, 296], [25, 0, 1, 297], [25, 304, 1, 296], [26, 0, 1, 297], [26, 304, 1, 296], [27, 0, 1, 297], [27, 304, 1, 296], [28, 0, 1, 298], [28, 303, 1, 297], [29, 0, 1, 298], [29, 303, 1, 297], [30, 0, 1, 299], [30, 302, 1, 298], [31, 0, 1, 299], [31, 302, 1, 298], [32, 0, 1, 298], [32, 303, 1, 297], [33, 0, 1, 297], [33, 304, 1, 296], [34, 0, 1, 296], [34, 305, 1, 295], [35, 0, 1, 295], [35, 306, 1, 294], [36, 0, 1, 294], [36, 307, 1, 293], [37, 0, 1, 293], [37, 308, 1, 292], [38, 0, 1, 292], [38, 309, 1, 291], [39, 0, 1, 292], [39, 309, 1, 291], [40, 0, 1, 291], [40, 310, 1, 290], [41, 0, 1, 290], [41, 311, 1, 289], [42, 0, 1, 290], [42, 311, 1, 289], [43, 0, 1, 289], [43, 312, 1, 288], [44, 0, 1, 289], [44, 312, 1, 288], [45, 0, 1, 289], [45, 312, 1, 288], [46, 0, 1, 288], [46, 313, 1, 287], [47, 0, 1, 288], [47, 313, 1, 287], [48, 0, 1, 288], [48, 313, 1, 287], [49, 0, 1, 288], [49, 313, 1, 287], [50, 0, 1, 288], [50, 313, 1, 287], [51, 0, 1, 287], [51, 314, 1, 286], [52, 0, 1, 287], [52, 314, 1, 286], [53, 0, 1, 287], [53, 314, 1, 286], [54, 0, 1, 287], [54, 314, 1, 286], [55, 0, 1, 287], [55, 314, 1, 286], [56, 0, 1, 287], [56, 314, 1, 286], [57, 0, 1, 287], [57, 314, 1, 286], [58, 0, 1, 287], [58, 314, 1, 286], [59, 0, 1, 287], [59, 314, 1, 286], [60, 0, 1, 287], [60, 314, 1, 286], [61, 0, 1, 287], [61, 314, 1, 286], [62, 0, 1, 287], [62, 314, 1, 286], [63, 0, 1, 287], [63, 314, 1, 286], [64, 0, 1, 286], [64, 315, 1, 285], [65, 0, 1, 286], [65, 315, 1, 285], [66, 0, 1, 286], [66, 315, 1, 285], [67, 0, 1, 285], [67, 316, 1, 284], [68, 0, 1, 285], [68, 316, 1, 284], [69, 0, 1, 284], [69, 317, 1, 283], [70, 0, 1, 284], [70, 317, 1, 283], [71, 0, 1, 283], [71, 318, 1, 282], [72, 0, 1, 283], [72, 318, 1, 282], [73, 0, 1, 282], [73, 319, 1, 281], [74, 0, 1, 282], [74, 319, 1, 281], [75, 0, 1, 281], [75, 320, 1, 280], [76, 0, 1, 281], [76, 320, 1, 280], [77, 0, 1, 280], [77, 321, 1, 279], [78, 0, 1, 280], [78, 321, 1, 279], [79, 0, 1, 279], [79, 322, 1, 278], [80, 0, 1, 279], [80, 322, 1, 278], [81, 0, 1, 278], [81, 323, 1, 277], [82, 0, 1, 278], [82, 323, 1, 277], [83, 0, 1, 277], [83, 324, 1, 276], [84, 0, 1, 277], [84, 324, 1, 276], [85, 0, 1, 277], [85, 324, 1, 276], [86, 0, 1, 276], [86, 325, 1, 275], [87, 0, 1, 276], [87, 325, 1, 275], [88, 0, 1, 276], [88, 325, 1, 275], [89, 0, 1, 275], [89, 326, 1, 274], [90, 0, 1, 275], [90, 326, 1, 274], [91, 0, 1, 275], [91, 326, 1, 274], [92, 0, 1, 274], [92, 327, 1, 273], [93, 0, 1, 274], [93, 327, 1, 273], [94, 0, 1, 274], [94, 327, 1, 273], [95, 0, 1, 274], [95, 327, 1, 273], [96, 0, 1, 273], [96, 328, 1, 272], [97, 0, 1, 273], [97, 328, 1, 272], [98, 0, 1, 273], [98, 328, 1, 272], [99, 0, 1, 273], [99, 328, 1, 272], [100, 0, 1, 273], [100, 328, 1, 272], [101, 0, 1, 272], [101, 329, 1, 271], [102, 0, 1, 272], [102, 329, 1, 271], [103, 0, 1, 272], [103, 329, 1, 271], [104, 0, 1, 272], [104, 329, 1, 271], [105, 0, 1, 272], [105, 329, 1, 271], [106, 0, 1, 272], [106, 329, 1, 271], [107, 0, 1, 271], [107, 330, 1, 270], [108, 0, 1, 271], [108, 330, 1, 270], [109, 0, 1, 271], [109, 330, 1, 270], [110, 0, 1, 271], [110, 330, 1, 270], [111, 0, 1, 271], [111, 330, 1, 270], [112, 0, 1, 270], [112, 331, 1, 269], [113, 0, 1, 270], [113, 331, 1, 269], [114, 0, 1, 270], [114, 331, 1, 269], [115, 0, 1, 270], [115, 331, 1, 269], [116, 0, 1, 269], [116, 332, 1, 268], [117, 0, 1, 269], [117, 332, 1, 268], [118, 0, 1, 269], [118, 332, 1, 268], [119, 0, 1, 268], [119, 333, 1, 267], [120, 0, 1, 268], [120, 333, 1, 267], [121, 0, 1, 268], [121, 333, 1, 267], [122, 0, 1, 267], [122, 334, 1, 266], [123, 0, 1, 267], [123, 334, 1, 266], [124, 0, 1, 266], [124, 335, 1, 265], [125, 0, 1, 265], [125, 336, 1, 264], [126, 0, 1, 265], [126, 336, 1, 264], [127, 0, 1, 264], [127, 337, 1, 263], [128, 0, 1, 263], [128, 338, 1, 262], [129, 0, 1, 262], [129, 339, 1, 261], [130, 0, 1, 261], [130, 340, 1, 260], [131, 0, 1, 260], [131, 341, 1, 259], [132, 0, 1, 259], [132, 342, 1, 258], [133, 0, 1, 257], [133, 344, 1, 256], [134, 0, 1, 256], [134, 345, 1, 255], [135, 0, 1, 254], [135, 347, 1, 253], [136, 0, 1, 252], [136, 349, 1, 251], [137, 0, 1, 249], [137, 352, 1, 248], [138, 0, 1, 246], [138, 355, 1, 245], [139, 0, 1, 243], [139, 358, 1, 242], [140, 0, 1, 239], [140, 362, 1, 238], [141, 0, 1, 235], [141, 366, 1, 234], [142, 0, 1, 231], [142, 370, 1, 230], [143, 0, 1, 228], [143, 373, 1, 227], [144, 0, 1, 225], [144, 376, 1, 224], [145, 0, 1, 223], [145, 378, 1, 222], [146, 0, 1, 221], [146, 380, 1, 220], [147, 0, 1, 219], [147, 382, 1, 218], [148, 0, 1, 218], [148, 383, 1, 217], [149, 0, 1, 216], [149, 385, 1, 215], [150, 0, 1, 215], [150, 386, 1, 214], [151, 0, 1, 214], [151, 387, 1, 213], [152, 0, 1, 213], [152, 388, 1, 212], [153, 0, 1, 212], [153, 389, 1, 211], [154, 0, 1, 212], [154, 389, 1, 211], [155, 0, 1, 211], [155, 390, 1, 210], [156, 0, 1, 210], [156, 391, 1, 209], [157, 0, 1, 210], [157, 391, 1, 209], [158, 0, 1, 209], [158, 392, 1, 208], [159, 0, 1, 209], [159, 392, 1, 208], [160, 0, 1, 208], [160, 393, 1, 207], [161, 0, 1, 208], [161, 393, 1, 207], [162, 0, 1, 208], [162, 393, 1, 207], [163, 0, 1, 208], [163, 393, 1, 207], [164, 0, 1, 207], [164, 394, 1, 206], [165, 0, 1, 207], [165, 394, 1, 206], [166, 0, 1, 207], [166, 394, 1, 206], [167, 0, 1, 207], [167, 394, 1, 206], [168, 0, 1, 207], [168, 394, 1, 206], [169, 0, 1, 207], [169, 394, 1, 206], [170, 0, 1, 207], [170, 394, 1, 206], [171, 0, 1, 207], [171, 394, 1, 206], [172, 0, 1, 207], [172, 394, 1, 206], [173, 0, 1, 207], [173, 394, 1, 206], [174, 0, 1, 207], [174, 394, 1, 206], [175, 0, 1, 207], [175, 394, 1, 206], [176, 0, 1, 207], [176, 394, 1, 206], [177, 0, 1, 208], [177, 393, 1, 207], [178, 0, 1, 208], [178, 393, 1, 207], [179, 0, 1, 208], [179, 393, 1, 207], [180, 0, 1, 208], [180, 393, 1, 207], [181, 0, 1, 209], [181, 392, 1, 208], [182, 0, 1, 209], [182, 392, 1, 208], [183, 0, 1, 209], [183, 392, 1, 208], [184, 0, 1, 209], [184, 392, 1, 208], [185, 0, 1, 210], [185, 391, 1, 209], [186, 0, 1, 210], [186, 391, 1, 209], [187, 0, 1, 210], [187, 391, 1, 209], [188, 0, 1, 210], [188, 391, 1, 209], [189, 0, 1, 211], [189, 390, 1, 210], [190, 0, 1, 211], [190, 390, 1, 210], [191, 0, 1, 211], [191, 390, 1, 210], [192, 0, 1, 211], [192, 390, 1, 210], [193, 0, 1, 212], [193, 389, 1, 211], [194, 0, 1, 212], [194, 389, 1, 211], [195, 0, 1, 212], [195, 389, 1, 211], [196, 0, 1, 212], [196, 389, 1, 211], [197, 0, 1, 212], [197, 389, 1, 211], [198, 0, 1, 213], [198, 388, 1, 212], [199, 0, 1, 213], [199, 388, 1, 212], [200, 0, 1, 213], [200, 388, 1, 212], [201, 0, 1, 213], [201, 388, 1, 212], [202, 0, 1, 213], [202, 388, 1, 212], [203, 0, 1, 213], [203, 388, 1, 212], [204, 0, 1, 213], [204, 388, 1, 212], [205, 0, 1, 213], [205, 388, 1, 212], [206, 0, 1, 213], [206, 388, 1, 212], [207, 0, 1, 213], [207, 388, 1, 212], [208, 0, 1, 213], [208, 388, 1, 212], [209, 0, 1, 213], [209, 388, 1, 212], [210, 0, 1, 213], [210, 388, 1, 212], [211, 0, 1, 213], [211, 388, 1, 212], [212, 0, 1, 213], [212, 388, 1, 212], [213, 0, 1, 213], [213, 388, 1, 212], [214, 0, 1, 212], [214, 389, 1, 211], [215, 0, 1, 212], [215, 389, 1, 211], [216, 0, 1, 212], [216, 389, 1, 211], [217, 0, 1, 212], [217, 389, 1, 211], [218, 0, 1, 211], [218, 390, 1, 210], [219, 0, 1, 211], [219, 390, 1, 210], [220, 0, 1, 211], [220, 390, 1, 210], [221, 0, 1, 210], [221, 391, 1, 209], [222, 0, 1, 210], [222, 391, 1, 209], [223, 0, 1, 210], [223, 391, 1, 209], [224, 0, 1, 209], [224, 392, 1, 208], [225, 0, 1, 209], [225, 392, 1, 208], [226, 0, 1, 208], [226, 393, 1, 207], [227, 0, 1, 208], [227, 393, 1, 207], [228, 0, 1, 207], [228, 394, 1, 206], [229, 0, 1, 207], [229, 394, 1, 206], [230, 0, 1, 206], [230, 395, 1, 205], [231, 0, 1, 206], [231, 395, 1, 205], [232, 0, 1, 205], [232, 396, 1, 204], [233, 0, 1, 204], [233, 397, 1, 203], [234, 0, 1, 204], [234, 397, 1, 203], [235, 0, 1, 203], [235, 398, 1, 202], [236, 0, 1, 202], [236, 399, 1, 201], [237, 0, 1, 201], [237, 400, 1, 200], [238, 0, 1, 201], [238, 400, 1, 200], [239, 0, 1, 200], [239, 401, 1, 199], [240, 0, 1, 199], [240, 402, 1, 198], [241, 0, 1, 198], [241, 403, 1, 197], [242, 0, 1, 197], [242, 404, 1, 196], [243, 0, 1, 196], [243, 405, 1, 195], [244, 0, 1, 196], [244, 405, 1, 195], [245, 0, 1, 195], [245, 406, 1, 194], [246, 0, 1, 194], [246, 407, 1, 193], [247, 0, 1, 193], [247, 408, 1, 192], [248, 0, 1, 192], [248, 409, 1, 191], [249, 0, 1, 191], [249, 410, 1, 190], [250, 0, 1, 190], [250, 411, 1, 189], [251, 0, 1, 189], [251, 412, 1, 188], [252, 0, 1, 188], [252, 413, 1, 187], [253, 0, 1, 187], [253, 414, 1, 186], [254, 0, 1, 186], [254, 415, 1, 185], [255, 0, 1, 185], [255, 416, 1, 184], [256, 0, 1, 184], [256, 417, 1, 183], [257, 0, 1, 183], [257, 418, 1, 182], [258, 0, 1, 181], [258, 420, 1, 180], [259, 0, 1, 180], [259, 421, 1, 179], [260, 0, 1, 179], [260, 422, 1, 178], [261, 0, 1, 178], [261, 423, 1, 177], [262, 0, 1, 177], [262, 424, 1, 176], [263, 0, 1, 176], [263, 425, 1, 175], [264, 0, 1, 175], [264, 426, 1, 174], [265, 0, 1, 174], [265, 427, 1, 173], [266, 0, 1, 173], [266, 428, 1, 172], [267, 0, 1, 172], [267, 429, 1, 171], [268, 0, 1, 171], [268, 430, 1, 170], [269, 0, 1, 170], [269, 431, 1, 169], [270, 0, 1, 169], [270, 432, 1, 168], [271, 0, 1, 168], [271, 433, 1, 167], [272, 0, 1, 167], [272, 434, 1, 166], [273, 0, 1, 166], [273, 435, 1, 165], [274, 0, 1, 165], [274, 436, 1, 164], [275, 0, 1, 164], [275, 437, 1, 163], [276, 0, 1, 163], [276, 438, 1, 162], [277, 0, 1, 162], [277, 439, 1, 161], [278, 0, 1, 161], [278, 440, 1, 160], [279, 0, 1, 161], [279, 440, 1, 160], [280, 0, 1, 160], [280, 441, 1, 159], [281, 0, 1, 159], [281, 442, 1, 158], [282, 0, 1, 158], [282, 443, 1, 157], [283, 0, 1, 157], [283, 444, 1, 156], [284, 0, 1, 157], [284, 444, 1, 156], [285, 0, 1, 156], [285, 445, 1, 155], [286, 0, 1, 155], [286, 446, 1, 154], [287, 0, 1, 155], [287, 446, 1, 154], [288, 0, 1, 154], [288, 447, 1, 153], [289, 0, 1, 153], [289, 448, 1, 152], [290, 0, 1, 153], [290, 448, 1, 152], [291, 0, 1, 152], [291, 449, 1, 151], [292, 0, 1, 151], [292, 450, 1, 150], [293, 0, 1, 151], [293, 450, 1, 150], [294, 0, 1, 150], [294, 451, 1, 149], [295, 0, 1, 149], [295, 452, 1, 148], [296, 0, 1, 149], [296, 452, 1, 148], [297, 0, 1, 148], [297, 453, 1, 147], [298, 0, 1, 148], [298, 453, 1, 147], [299, 0, 1, 147], [299, 454, 1, 146], [300, 0, 1, 147], [300, 454, 1, 146], [301, 0, 1, 146], [301, 455, 1, 145], [302, 0, 1, 146], [302, 455, 1, 145], [303, 0, 1, 145], [303, 456, 1, 144], [304, 0, 1, 145], [304, 456, 1, 144], [305, 0, 1, 144], [305, 457, 1, 143], [306, 0, 1, 144], [306, 457, 1, 143], [307, 0, 1, 143], [307, 458, 1, 142], [308, 0, 1, 143], [308, 458, 1, 142], [309, 0, 1, 142], [309, 459, 1, 141], [310, 0, 1, 142], [310, 459, 1, 141], [311, 0, 1, 141], [311, 460, 1, 140], [312, 0, 1, 141], [312, 460, 1, 140], [313, 0, 1, 140], [313, 461, 1, 139], [314, 0, 1, 140], [314, 461, 1, 139], [315, 0, 1, 139], [315, 462, 1, 138], [316, 0, 1, 139], [316, 462, 1, 138], [317, 0, 1, 138], [317, 463, 1, 137], [318, 0, 1, 138], [318, 463, 1, 137], [319, 0, 1, 138], [319, 463, 1, 137], [320, 0, 1, 137], [320, 464, 1, 136], [321, 0, 1, 137], [321, 464, 1, 136], [322, 0, 1, 136], [322, 465, 1, 135], [323, 0, 1, 136], [323, 465, 1, 135], [324, 0, 1, 135], [324, 466, 1, 134], [325, 0, 1, 135], [325, 466, 1, 134], [326, 0, 1, 134], [326, 467, 1, 133], [327, 0, 1, 133], [327, 468, 1, 132], [328, 0, 1, 133], [328, 468, 1, 132], [329, 0, 1, 132], [329, 469, 1, 131], [330, 0, 1, 132], [330, 469, 1, 131], [331, 0, 1, 131], [331, 470, 1, 130], [332, 0, 1, 131], [332, 470, 1, 130], [333, 0, 1, 130], [333, 471, 1, 129], [334, 0, 1, 129], [334, 472, 1, 128], [335, 0, 1, 129], [335, 472, 1, 128], [336, 0, 1, 128], [336, 473, 1, 127], [337, 0, 1, 127], [337, 474, 1, 126], [338, 0, 1, 126], [338, 475, 1, 125], [339, 0, 1, 126], [339, 475, 1, 125], [340, 0, 1, 125], [340, 476, 1, 124], [341, 0, 1, 124], [341, 477, 1, 123], [342, 0, 1, 123], [342, 478, 1, 122], [343, 0, 1, 122], [343, 479, 1, 121], [344, 0, 1, 121], [344, 480, 1, 120], [345, 0, 1, 120], [345, 481, 1, 119], [346, 0, 1, 119], [346, 482, 1, 118], [347, 0, 1, 117], [347, 484, 1, 116], [348, 0, 1, 116], [348, 485, 1, 115], [349, 0, 1, 115], [349, 486, 1, 114], [350, 0, 1, 113], [350, 488, 1, 112], [351, 0, 1, 111], [351, 490, 1, 110], [352, 0, 1, 109], [352, 492, 1, 108], [353, 0, 1, 107], [353, 494, 1, 106], [354, 0, 1, 104], [354, 497, 1, 103], [355, 0, 1, 101], [355, 500, 1, 100], [356, 0, 1, 96], [356, 505, 1, 95], [357, 0, 1, 88], [357, 513, 1, 87], [358, 0, 1, 83], [358, 518, 1, 82], [359, 0, 1, 80], [359, 521, 1, 79], [360, 0, 1, 78], [360, 523, 1, 77], [361, 0, 1, 77], [361, 524, 1, 76], [362, 0, 1, 76], [362, 525, 1, 75], [363, 0, 1, 75], [363, 526, 1, 74], [364, 0, 1, 74], [364, 527, 1, 73], [365, 0, 1, 74], [365, 527, 1, 73], [366, 0, 1, 73], [366, 528, 1, 72], [367, 0, 1, 73], [367, 528, 1, 72], [368, 0, 1, 73], [368, 528, 1, 72], [369, 0, 1, 73], [369, 528, 1, 72], [370, 0, 1, 73], [370, 528, 1, 72], [371, 0, 1, 73], [371, 528, 1, 72], [372, 0, 1, 74], [372, 527, 1, 73], [373, 0, 1, 74], [373, 527, 1, 73], [374, 0, 1, 74], [374, 527, 1, 73], [375, 0, 1, 75], [375, 526, 1, 74], [376, 0, 1, 76], [376, 525, 1, 75], [377, 0, 1, 76], [377, 525, 1, 75], [378, 0, 1, 77], [378, 524, 1, 76], [379, 0, 1, 78], [379, 523, 1, 77], [380, 0, 1, 79], [380, 522, 1, 78], [381, 0, 1, 80], [381, 521, 1, 79], [382, 0, 1, 80], [382, 521, 1, 79], [383, 0, 1, 81], [383, 520, 1, 80], [384, 0, 1, 82], [384, 519, 1, 81], [385, 0, 1, 82], [385, 519, 1, 81], [386, 0, 1, 83], [386, 518, 1, 82], [387, 0, 1, 84], [387, 517, 1, 83], [388, 0, 1, 84], [388, 517, 1, 83], [389, 0, 1, 84], [389, 517, 1, 83], [390, 0, 1, 85], [390, 516, 1, 84], [391, 0, 1, 85], [391, 516, 1, 84], [392, 0, 1, 85], [392, 516, 1, 84], [393, 0, 1, 86], [393, 515, 1, 85], [394, 0, 1, 86], [394, 515, 1, 85], [395, 0, 1, 86], [395, 515, 1, 85], [396, 0, 1, 87], [396, 514, 1, 86], [397, 0, 1, 87], [397, 514, 1, 86], [398, 0, 1, 88], [398, 513, 1, 87], [399, 0, 1, 88], [399, 513, 1, 87], [400, 0, 1, 88], [400, 513, 1, 87], [401, 0, 1, 89], [401, 512, 1, 88], [402, 0, 1, 89], [402, 512, 1, 88], [403, 0, 1, 90], [403, 511, 1, 89], [404, 0, 1, 91], [404, 510, 1, 90], [405, 0, 1, 91], [405, 510, 1, 90], [406, 0, 1, 92], [406, 509, 1, 91], [407, 0, 1, 93], [407, 508, 1, 92], [408, 0, 1, 94], [408, 507, 1, 93], [409, 0, 1, 95], [409, 506, 1, 94], [410, 0, 1, 96], [410, 505, 1, 95], [411, 0, 1, 97], [411, 504, 1, 96], [412, 0, 1, 99], [412, 502, 1, 98], [413, 0, 1, 101], [413, 500, 1, 100], [414, 0, 1, 103], [414, 498, 1, 102], [415, 0, 1, 106], [415, 495, 1, 105], [416, 0, 1, 109], [416, 492, 1, 108], [417, 0, 1, 112], [417, 489, 1, 111], [418, 0, 1, 116], [418, 485, 1, 115], [419, 0, 1, 120], [419, 481, 1, 119], [420, 0, 1, 123], [420, 478, 1, 122], [421, 0, 1, 125], [421, 476, 1, 124], [422, 0, 1, 128], [422, 473, 1, 127], [423, 0, 1, 130], [423, 471, 1, 129], [424, 0, 1, 131], [424, 470, 1, 130], [425, 0, 1, 133], [425, 468, 1, 132], [426, 0, 1, 134], [426, 467, 1, 133], [427, 0, 1, 136], [427, 465, 1, 135], [428, 0, 1, 137], [428, 464, 1, 136], [429, 0, 1, 138], [429, 463, 1, 137], [430, 0, 1, 139], [430, 462, 1, 138], [431, 0, 1, 140], [431, 461, 1, 139], [432, 0, 1, 141], [432, 460, 1, 140], [433, 0, 1, 142], [433, 459, 1, 141], [434, 0, 1, 142], [434, 459, 1, 141], [435, 0, 1, 143], [435, 458, 1, 142], [436, 0, 1, 144], [436, 457, 1, 143], [437, 0, 1, 144], [437, 457, 1, 143], [438, 0, 1, 145], [438, 456, 1, 144], [439, 0, 1, 146], [439, 455, 1, 145], [440, 0, 1, 146], [440, 455, 1, 145], [441, 0, 1, 147], [441, 454, 1, 146], [442, 0, 1, 147], [442, 454, 1, 146], [443, 0, 1, 148], [443, 453, 1, 147], [444, 0, 1, 148], [444, 453, 1, 147], [445, 0, 1, 149], [445, 452, 1, 148], [446, 0, 1, 149], [446, 452, 1, 148], [447, 0, 1, 149], [447, 452, 1, 148], [448, 0, 1, 150], [448, 451, 1, 149], [449, 0, 1, 150], [449, 451, 1, 149], [450, 0, 1, 150], [450, 451, 1, 149], [451, 0, 1, 151], [451, 450, 1, 150], [452, 0, 1, 151], [452, 450, 1, 150], [453, 0, 1, 151], [453, 450, 1, 150], [454, 0, 1, 152], [454, 449, 1, 151], [455, 0, 1, 152], [455, 449, 1, 151], [456, 0, 1, 152], [456, 449, 1, 151], [457, 0, 1, 152], [457, 449, 1, 151], [458, 0, 1, 152], [458, 449, 1, 151], [459, 0, 1, 153], [459, 448, 1, 152], [460, 0, 1, 153], [460, 448, 1, 152], [461, 0, 1, 153], [461, 448, 1, 152], [462, 0, 1, 153], [462, 448, 1, 152], [463, 0, 1, 153], [463, 448, 1, 152], [464, 0, 1, 153], [464, 448, 1, 152], [465, 0, 1, 154], [465, 447, 1, 153], [466, 0, 1, 154], [466, 447, 1, 153], [467, 0, 1, 154], [467, 447, 1, 153], [468, 0, 1, 154], [468, 447, 1, 153], [469, 0, 1, 154], [469, 447, 1, 153], [470, 0, 1, 155], [470, 446, 1, 154], [471, 0, 1, 155], [471, 446, 1, 154], [472, 0, 1, 155], [472, 446, 1, 154], [473, 0, 1, 155], [473, 446, 1, 154], [474, 0, 1, 156], [474, 445, 1, 155], [475, 0, 1, 156], [475, 445, 1, 155], [476, 0, 1, 156], [476, 445, 1, 155], [477, 0, 1, 157], [477, 444, 1, 156], [478, 0, 1, 157], [478, 444, 1, 156], [479, 0, 1, 158], [479, 443, 1, 157], [480, 0, 1, 158], [480, 443, 1, 157], [481, 0, 1, 159], [481, 442, 1, 158], [482, 0, 1, 160], [482, 441, 1, 159], [483, 0, 1, 161], [483, 440, 1, 160], [484, 0, 1, 162], [484, 439, 1, 161], [485, 0, 1, 163], [485, 438, 1, 162], [486, 0, 1, 164], [486, 437, 1, 163], [487, 0, 1, 165], [487, 436, 1, 164], [488, 0, 1, 167], [488, 434, 1, 166], [489, 0, 1, 169], [489, 432, 1, 168], [490, 0, 1, 171], [490, 430, 1, 170], [491, 0, 1, 175], [491, 426, 1, 174], [492, 0, 1, 183], [492, 418, 1, 182], [493, 0, 1, 192], [493, 409, 1, 191], [494, 0, 1, 197], [494, 404, 1, 196], [495, 0, 1, 201], [495, 286, 1, 29], [495, 400, 1, 200], [496, 0, 1, 204], [496, 279, 1, 43], [496, 397, 1, 203], [497, 0, 1, 207], [497, 273, 1, 55], [497, 394, 1, 206], [498, 0, 1, 210], [498, 269, 1, 63], [498, 391, 1, 209], [499, 0, 1, 213], [499, 264, 1, 73], [499, 388, 1, 212], [500, 0, 1, 216], [500, 260, 1, 81], [500, 385, 1, 215], [501, 0, 1, 219], [501, 256, 1, 89], [501, 382, 1, 218], [502, 0, 1, 223], [502, 251, 1, 99], [502, 378, 1, 222], [503, 0, 1, 229], [503, 245, 1, 111], [503, 372, 1, 228], [504, 0, 1, 600], [505, 0, 1, 600], [506, 0, 1, 600], [507, 0, 1, 600], [508, 0, 1, 600], [509, 0, 1, 600], [510, 0, 1, 600], [511, 0, 1, 600], [512, 0, 1, 600], [513, 0, 1, 600], [514, 0, 1, 600], [515, 0, 1, 600], [516, 0, 1, 600], [517, 0, 1, 600], [518, 0, 1, 600], [519, 0, 1, 600], [520, 0, 1, 600], [521, 0, 1, 600], [522, 0, 1, 600], [523, 0, 1, 600], [524, 0, 1, 600], [525, 0, 1, 600], [526, 0, 1, 600], [527, 0, 1, 600], [528, 0, 1, 600], [529, 0, 1, 600], [530, 0, 1, 600], [531, 0, 1, 600], [532, 0, 1, 600], [533, 0, 1, 600], [534, 0, 1, 600], [535, 0, 1, 600], [536, 0, 1, 600], [537, 0, 1, 600], [538, 0, 1, 600], [539, 0, 1, 600], [540, 0, 1, 600], [541, 0, 1, 600], [542, 0, 1, 600], [543, 0, 1, 600], [544, 0, 1, 600], [545, 0, 1, 600], [546, 0, 1, 600], [547, 0, 1, 600], [548, 0, 1, 600], [549, 0, 1, 600], [550, 0, 1, 600], [551, 0, 1, 600], [552, 0, 1, 600], [553, 0, 1, 600], [554, 0, 1, 600], [555, 0, 1, 600], [556, 0, 1, 600], [557, 0, 1, 600], [558, 0, 1, 600], [559, 0, 1, 600], [560, 0, 1, 600], [561, 0, 1, 600], [562, 0, 1, 600], [563, 0, 1, 600], [564, 0, 1, 600], [565, 0, 1, 600], [566, 0, 1, 600], [567, 0, 1, 600], [568, 0, 1, 600], [569, 0, 1, 600], [570, 0, 1, 600], [571, 0, 1, 600], [572, 0, 1, 600], [573, 0, 1, 600], [574, 0, 1, 600], [575, 0, 1, 600], [576, 0, 1, 600], [577, 0, 1, 600], [578, 0, 1, 600], [579, 0, 1, 600], [580, 0, 1, 600], [581, 0, 1, 600], [582, 0, 1, 600], [583, 0, 1, 600], [584, 0, 1, 600], [585, 0, 1, 600], [586, 0, 1, 600], [587, 0, 1, 600], [588, 0, 1, 600], [589, 0, 1, 600], [590, 0, 1, 600], [591, 0, 1, 600], [592, 0, 1, 600], [593, 0, 1, 600], [594, 0, 1, 600], [595, 0, 1, 600], [596, 0, 1, 600], [597, 0, 1, 600], [598, 0, 1, 600], [599, 0, 1, 600]], [[20, 298, 1, 2], [20, 301, 1, 2], [21, 297, 1, 3], [21, 301, 1, 3], [22, 297, 1, 3], [22, 301, 1, 3], [23, 297, 1, 3], [23, 301, 1, 3], [24, 297, 1, 3], [24, 301, 1, 3], [25, 297, 1, 3], [25, 301, 1, 3], [26, 297, 1, 3], [26, 301, 1, 3], [27, 297, 1, 3], [27, 301, 1, 3], [28, 298, 1, 2], [28, 301, 1, 2], [29, 298, 1, 2], [29, 301, 1, 2], [30, 299, 1, 1], [30, 301, 1, 1], [31, 299, 1, 1], [31, 301, 1, 1], [32, 298, 1, 2], [32, 301, 1, 2], [33, 297, 1, 3], [33, 301, 1, 3], [34, 296, 1, 4], [34, 301, 1, 4], [35, 295, 1, 5], [35, 301, 1, 5], [36, 294, 1, 6], [36, 301, 1, 6], [37, 293, 1, 7], [37, 301, 1, 7], [38, 292, 1, 8], [38, 301, 1, 8], [39, 292, 1, 8], [39, 301, 1, 8], [40, 291, 1, 9], [40, 301, 1, 9], [41, 290, 1, 10], [41, 301, 1, 10], [42, 290, 1, 10], [42, 301, 1, 10], [43, 289, 1, 11], [43, 301, 1, 11], [44, 289, 1, 11], [44, 301, 1, 11], [45, 289, 1, 11], [45, 301, 1, 11], [46, 288, 1, 10], [46, 303, 1, 10], [47, 288, 1, 11], [47, 302, 1, 11], [48, 288, 1, 12], [48, 301, 1, 12], [49, 288, 1, 12], [49, 301, 1, 12], [50, 288, 1, 12], [50, 301, 1, 12], [51, 287, 1, 13], [51, 301, 1, 13], [52, 287, 1, 13], [52, 301, 1, 13], [53, 287, 1, 13], [53, 301, 1, 13], [54, 287, 1, 13], [54, 301, 1, 13], [55, 287, 1, 13], [55, 301, 1, 13], [56, 287, 1, 13], [56, 301, 1, 13], [57, 287, 1, 12], [57, 302, 1, 12], [58, 287, 1, 12], [58, 302, 1, 12], [59, 287, 1, 12], [59, 302, 1, 12], [60, 287, 1, 12], [60, 302, 1, 12], [61, 287, 1, 9], [61, 305, 1, 9], [62, 287, 1, 9], [62, 305, 1, 9], [63, 287, 1, 10], [63, 304, 1, 10], [64, 286, 1, 2], [64, 313, 1, 2], [65, 286, 1, 5], [65, 310, 1, 5], [66, 286, 1, 7], [66, 308, 1, 7], [67, 285, 1, 10], [67, 306, 1, 10], [68, 285, 1, 10], [68, 306, 1, 10], [69, 284, 1, 11], [69, 306, 1, 11], [70, 284, 1, 11], [70, 296, 1, 2], [70, 303, 1, 2], [70, 306, 1, 11], [71, 283, 1, 15], [71, 303, 1, 15], [72, 283, 1, 16], [72, 302, 1, 16], [73, 282, 1, 17], [73, 302, 1, 17], [74, 282, 1, 17], [74, 302, 1, 17], [75, 281, 1, 18], [75, 302, 1, 18], [76, 281, 1, 18], [76, 302, 1, 18], [77, 280, 1, 19], [77, 302, 1, 19], [78, 280, 1, 19], [78, 302, 1, 19], [79, 279, 1, 21], [79, 301, 1, 21], [80, 279, 1, 20], [80, 302, 1, 20], [81, 278, 1, 21], [81, 302, 1, 21], [82, 278, 1, 20], [82, 303, 1, 20], [83, 277, 1, 21], [83, 303, 1, 21], [84, 277, 1, 22], [84, 302, 1, 22], [85, 277, 1, 22], [85, 302, 1, 22], [86, 276, 1, 23], [86, 302, 1, 23], [87, 276, 1, 23], [87, 302, 1, 23], [88, 276, 1, 22], [88, 303, 1, 22], [89, 275, 1, 22], [89, 304, 1, 22], [90, 275, 1, 20], [90, 306, 1, 20], [91, 275, 1, 18], [91, 308, 1, 18], [92, 274, 1, 20], [92, 307, 1, 20], [93, 274, 1, 22], [93, 305, 1, 22], [94, 274, 1, 23], [94, 304, 1, 23], [95, 274, 1, 23], [95, 304, 1, 23], [96, 273, 1, 25], [96, 303, 1, 25], [97, 273, 1, 26], [97, 302, 1, 26], [98, 273, 1, 26], [98, 302, 1, 26], [99, 273, 1, 25], [99, 303, 1, 25], [100, 273, 1, 25], [100, 303, 1, 25], [101, 272, 1, 25], [101, 304, 1, 25], [102, 272, 1, 25], [102, 304, 1, 25], [103, 272, 1, 25], [103, 304, 1, 25], [104, 272, 1, 26], [104, 303, 1, 26], [105, 272, 1, 27], [105, 302, 1, 27], [106, 272, 1, 27], [106, 302, 1, 27], [107, 271, 1, 27], [107, 303, 1, 27], [108, 271, 1, 27], [108, 303, 1, 27], [109, 271, 1, 27], [109, 303, 1, 27], [110, 271, 1, 27], [110, 303, 1, 27], [111, 271, 1, 26], [111, 304, 1, 26], [112, 270, 1, 27], [112, 304, 1, 27], [113, 270, 1, 27], [113, 304, 1, 27], [114, 270, 1, 26], [114, 305, 1, 26], [115, 270, 1, 26], [115, 305, 1, 26], [116, 269, 1, 26], [116, 306, 1, 26], [117, 269, 1, 25], [117, 307, 1, 25], [118, 269, 1, 21], [118, 311, 1, 21], [119, 268, 1, 23], [119, 310, 1, 23], [120, 268, 1, 24], [120, 309, 1, 24], [121, 268, 1, 24], [121, 309, 1, 24], [122, 267, 1, 25], [122, 309, 1, 25], [123, 267, 1, 25], [123, 309, 1, 25], [124, 266, 1, 26], [124, 309, 1, 26], [125, 265, 1, 27], [125, 309, 1, 27], [126, 265, 1, 27], [126, 309, 1, 27], [127, 264, 1, 27], [127, 310, 1, 27], [128, 263, 1, 28], [128, 310, 1, 28], [129, 262, 1, 28], [129, 311, 1, 28], [130, 261, 1, 28], [130, 312, 1, 28], [131, 260, 1, 8], [131, 271, 1, 3], [131, 276, 1, 12], [131, 313, 1, 12], [131, 327, 1, 3], [131, 333, 1, 8], [132, 259, 1, 10], [132, 277, 1, 9], [132, 315, 1, 9], [132, 332, 1, 10], [133, 257, 1, 13], [133, 278, 1, 6], [133, 317, 1, 6], [133, 331, 1, 13], [134, 256, 1, 14], [134, 331, 1, 14], [135, 254, 1, 16], [135, 331, 1, 16], [136, 252, 1, 18], [136, 331, 1, 18], [137, 249, 1, 24], [137, 328, 1, 24], [138, 246, 1, 29], [138, 326, 1, 29], [139, 243, 1, 32], [139, 326, 1, 32], [140, 239, 1, 36], [140, 326, 1, 36], [141, 235, 1, 41], [141, 325, 1, 41], [142, 231, 1, 45], [142, 325, 1, 45], [143, 228, 1, 48], [143, 325, 1, 48], [144, 225, 1, 51], [144, 325, 1, 51], [145, 223, 1, 53], [145, 325, 1, 53], [146, 221, 1, 55], [146, 325, 1, 55], [147, 219, 1, 57], [147, 325, 1, 57], [148, 218, 1, 58], [148, 325, 1, 58], [149, 216, 1, 60], [149, 325, 1, 60], [150, 215, 1, 60], [150, 326, 1, 60], [151, 214, 1, 61], [151, 326, 1, 61], [152, 213, 1, 61], [152, 327, 1, 61], [153, 212, 1, 62], [153, 327, 1, 62], [154, 212, 1, 61], [154, 328, 1, 61], [155, 211, 1, 60], [155, 330, 1, 60], [156, 210, 1, 2], [156, 213, 1, 57], [156, 331, 1, 57], [156, 389, 1, 2], [157, 210, 1, 3], [157, 214, 1, 2], [157, 217, 1, 12], [157, 231, 1, 29], [157, 264, 1, 4], [157, 333, 1, 4], [157, 341, 1, 29], [157, 372, 1, 12], [157, 385, 1, 2], [157, 388, 1, 3], [158, 209, 1, 4], [158, 218, 1, 11], [158, 231, 1, 29], [158, 341, 1, 29], [158, 372, 1, 11], [158, 388, 1, 4], [159, 209, 1, 7], [159, 219, 1, 9], [159, 232, 1, 28], [159, 341, 1, 28], [159, 373, 1, 9], [159, 385, 1, 7], [160, 208, 1, 8], [160, 219, 1, 9], [160, 232, 1, 28], [160, 341, 1, 28], [160, 373, 1, 9], [160, 385, 1, 8], [161, 208, 1, 9], [161, 220, 1, 2], [161, 232, 1, 28], [161, 341, 1, 28], [161, 379, 1, 2], [161, 384, 1, 9], [162, 208, 1, 8], [162, 238, 1, 22], [162, 341, 1, 22], [162, 385, 1, 8], [163, 208, 1, 10], [163, 238, 1, 21], [163, 342, 1, 21], [163, 383, 1, 10], [164, 207, 1, 11], [164, 238, 1, 20], [164, 343, 1, 20], [164, 383, 1, 11], [165, 207, 1, 10], [165, 239, 1, 18], [165, 344, 1, 18], [165, 384, 1, 10], [166, 207, 1, 10], [166, 219, 1, 3], [166, 240, 1, 16], [166, 345, 1, 16], [166, 379, 1, 3], [166, 384, 1, 10], [167, 207, 1, 23], [167, 241, 1, 14], [167, 346, 1, 14], [167, 371, 1, 23], [168, 207, 1, 24], [168, 243, 1, 10], [168, 348, 1, 10], [168, 370, 1, 24], [169, 207, 1, 25], [169, 369, 1, 25], [170, 207, 1, 25], [170, 369, 1, 25], [171, 207, 1, 25], [171, 369, 1, 25], [172, 207, 1, 26], [172, 368, 1, 26], [173, 207, 1, 26], [173, 368, 1, 26], [174, 207, 1, 26], [174, 368, 1, 26], [175, 207, 1, 26], [175, 368, 1, 26], [176, 207, 1, 26], [176, 368, 1, 26], [177, 208, 1, 26], [177, 367, 1, 26], [178, 208, 1, 26], [178, 367, 1, 26], [179, 208, 1, 26], [179, 367, 1, 26], [180, 208, 1, 25], [180, 368, 1, 25], [181, 209, 1, 24], [181, 368, 1, 24], [182, 209, 1, 24], [182, 368, 1, 24], [183, 209, 1, 22], [183, 370, 1, 22], [184, 209, 1, 22], [184, 370, 1, 22], [185, 210, 1, 22], [185, 369, 1, 22], [186, 210, 1, 24], [186, 367, 1, 24], [187, 210, 1, 25], [187, 366, 1, 25], [188, 210, 1, 25], [188, 366, 1, 25], [189, 211, 1, 25], [189, 365, 1, 25], [190, 211, 1, 26], [190, 364, 1, 26], [191, 211, 1, 26], [191, 364, 1, 26], [192, 211, 1, 26], [192, 364, 1, 26], [193, 212, 1, 26], [193, 363, 1, 26], [194, 212, 1, 26], [194, 363, 1, 26], [195, 212, 1, 26], [195, 363, 1, 26], [196, 212, 1, 25], [196, 364, 1, 25], [197, 212, 1, 25], [197, 364, 1, 25], [198, 213, 1, 24], [198, 364, 1, 24], [199, 213, 1, 23], [199, 365, 1, 23], [200, 213, 1, 22], [200, 366, 1, 22], [201, 213, 1, 21], [201, 367, 1, 21], [202, 213, 1, 15], [202, 373, 1, 15], [203, 213, 1, 14], [203, 374, 1, 14], [204, 213, 1, 14], [204, 374, 1, 14], [205, 213, 1, 14], [205, 374, 1, 14], [206, 213, 1, 10], [206, 378, 1, 10], [207, 213, 1, 8], [207, 380, 1, 8], [208, 213, 1, 9], [208, 379, 1, 9], [209, 213, 1, 11], [209, 377, 1, 11], [210, 213, 1, 12], [210, 376, 1, 12], [211, 213, 1, 12], [211, 228, 1, 1], [211, 372, 1, 1], [211, 376, 1, 12], [212, 213, 1, 18], [212, 370, 1, 18], [213, 213, 1, 19], [213, 369, 1, 19], [214, 212, 1, 21], [214, 368, 1, 21], [215, 212, 1, 21], [215, 368, 1, 21], [216, 212, 1, 22], [216, 367, 1, 22], [217, 212, 1, 23], [217, 366, 1, 23], [218, 211, 1, 24], [218, 366, 1, 24], [219, 211, 1, 25], [219, 365, 1, 25], [220, 211, 1, 25], [220, 365, 1, 25], [221, 210, 1, 26], [221, 365, 1, 26], [222, 210, 1, 27], [222, 364, 1, 27], [223, 210, 1, 27], [223, 364, 1, 27], [224, 209, 1, 28], [224, 364, 1, 28], [225, 209, 1, 27], [225, 365, 1, 27], [226, 208, 1, 28], [226, 365, 1, 28], [227, 208, 1, 27], [227, 366, 1, 27], [228, 207, 1, 27], [228, 367, 1, 27], [229, 207, 1, 27], [229, 367, 1, 27], [230, 206, 1, 29], [230, 366, 1, 29], [231, 206, 1, 31], [231, 364, 1, 31], [232, 205, 1, 34], [232, 362, 1, 34], [233, 204, 1, 36], [233, 361, 1, 36], [234, 204, 1, 36], [234, 361, 1, 36], [235, 203, 1, 38], [235, 360, 1, 38], [236, 202, 1, 40], [236, 359, 1, 40], [237, 201, 1, 41], [237, 359, 1, 41], [238, 201, 1, 42], [238, 358, 1, 42], [239, 200, 1, 43], [239, 358, 1, 43], [240, 199, 1, 45], [240, 357, 1, 45], [241, 198, 1, 46], [241, 357, 1, 46], [242, 197, 1, 48], [242, 356, 1, 48], [243, 196, 1, 49], [243, 356, 1, 49], [244, 196, 1, 49], [244, 356, 1, 49], [245, 195, 1, 51], [245, 355, 1, 51], [246, 194, 1, 52], [246, 355, 1, 52], [247, 193, 1, 53], [247, 355, 1, 53], [248, 192, 1, 54], [248, 355, 1, 54], [249, 191, 1, 55], [249, 355, 1, 55], [250, 190, 1, 56], [250, 355, 1, 56], [251, 189, 1, 57], [251, 355, 1, 57], [252, 188, 1, 58], [252, 355, 1, 58], [253, 187, 1, 59], [253, 355, 1, 59], [254, 186, 1, 59], [254, 356, 1, 59], [255, 185, 1, 60], [255, 356, 1, 60], [256, 184, 1, 61], [256, 356, 1, 61], [257, 183, 1, 61], [257, 357, 1, 61], [258, 181, 1, 62], [258, 358, 1, 62], [259, 180, 1, 63], [259, 358, 1, 63], [260, 179, 1, 62], [260, 360, 1, 62], [261, 178, 1, 62], [261, 361, 1, 62], [262, 177, 1, 61], [262, 363, 1, 61], [263, 176, 1, 55], [263, 370, 1, 55], [264, 175, 1, 53], [264, 373, 1, 53], [265, 174, 1, 52], [265, 375, 1, 52], [266, 173, 1, 52], [266, 376, 1, 52], [267, 172, 1, 53], [267, 376, 1, 53], [268, 171, 1, 53], [268, 377, 1, 53], [269, 170, 1, 35], [269, 208, 1, 15], [269, 378, 1, 15], [269, 396, 1, 35], [270, 169, 1, 36], [270, 213, 1, 9], [270, 379, 1, 9], [270, 396, 1, 36], [271, 168, 1, 36], [271, 397, 1, 36], [272, 167, 1, 37], [272, 397, 1, 37], [273, 166, 1, 38], [273, 397, 1, 38], [274, 165, 1, 39], [274, 397, 1, 39], [275, 164, 1, 40], [275, 397, 1, 40], [276, 163, 1, 40], [276, 398, 1, 40], [277, 162, 1, 40], [277, 399, 1, 40], [278, 161, 1, 39], [278, 401, 1, 39], [279, 161, 1, 39], [279, 401, 1, 39], [280, 160, 1, 39], [280, 402, 1, 39], [281, 159, 1, 40], [281, 402, 1, 40], [282, 158, 1, 41], [282, 402, 1, 41], [283, 157, 1, 42], [283, 402, 1, 42], [284, 157, 1, 6], [284, 165, 1, 34], [284, 402, 1, 34], [284, 438, 1, 6], [285, 156, 1, 7], [285, 165, 1, 34], [285, 402, 1, 34], [285, 438, 1, 7], [286, 155, 1, 8], [286, 168, 1, 9], [286, 180, 1, 19], [286, 402, 1, 19], [286, 424, 1, 9], [286, 438, 1, 8], [287, 155, 1, 8], [287, 169, 1, 5], [287, 180, 1, 18], [287, 403, 1, 18], [287, 427, 1, 5], [287, 438, 1, 8], [288, 154, 1, 9], [288, 169, 1, 4], [288, 181, 1, 16], [288, 404, 1, 16], [288, 428, 1, 4], [288, 438, 1, 9], [289, 153, 1, 9], [289, 182, 1, 14], [289, 405, 1, 14], [289, 439, 1, 9], [290, 153, 1, 9], [290, 183, 1, 11], [290, 407, 1, 11], [290, 439, 1, 9], [291, 152, 1, 11], [291, 438, 1, 11], [292, 151, 1, 14], [292, 436, 1, 14], [293, 151, 1, 15], [293, 435, 1, 15], [294, 150, 1, 15], [294, 436, 1, 15], [295, 149, 1, 16], [295, 436, 1, 16], [296, 149, 1, 15], [296, 437, 1, 15], [297, 148, 1, 16], [297, 437, 1, 16], [298, 148, 1, 16], [298, 437, 1, 16], [299, 147, 1, 17], [299, 437, 1, 17], [300, 147, 1, 17], [300, 437, 1, 17], [301, 146, 1, 18], [301, 437, 1, 18], [302, 146, 1, 16], [302, 439, 1, 16], [303, 145, 1, 16], [303, 440, 1, 16], [304, 145, 1, 14], [304, 442, 1, 14], [305, 144, 1, 15], [305, 442, 1, 15], [306, 144, 1, 17], [306, 440, 1, 17], [307, 143, 1, 18], [307, 440, 1, 18], [308, 143, 1, 18], [308, 440, 1, 18], [309, 142, 1, 20], [309, 439, 1, 20], [310, 142, 1, 25], [310, 434, 1, 25], [311, 141, 1, 27], [311, 433, 1, 27], [312, 141, 1, 28], [312, 432, 1, 28], [313, 140, 1, 30], [313, 431, 1, 30], [314, 140, 1, 30], [314, 431, 1, 30], [315, 139, 1, 32], [315, 430, 1, 32], [316, 139, 1, 32], [316, 430, 1, 32], [317, 138, 1, 33], [317, 430, 1, 33], [318, 138, 1, 34], [318, 429, 1, 34], [319, 138, 1, 34], [319, 429, 1, 34], [320, 137, 1, 35], [320, 429, 1, 35], [321, 137, 1, 35], [321, 429, 1, 35], [322, 136, 1, 36], [322, 429, 1, 36], [323, 136, 1, 35], [323, 430, 1, 35], [324, 135, 1, 36], [324, 430, 1, 36], [325, 135, 1, 35], [325, 431, 1, 35], [326, 134, 1, 36], [326, 431, 1, 36], [327, 133, 1, 35], [327, 433, 1, 35], [328, 133, 1, 32], [328, 436, 1, 32], [329, 132, 1, 32], [329, 437, 1, 32], [330, 132, 1, 31], [330, 438, 1, 31], [331, 131, 1, 32], [331, 438, 1, 32], [332, 131, 1, 32], [332, 438, 1, 32], [333, 130, 1, 33], [333, 438, 1, 33], [334, 129, 1, 34], [334, 438, 1, 34], [335, 129, 1, 34], [335, 438, 1, 34], [336, 128, 1, 35], [336, 438, 1, 35], [337, 127, 1, 36], [337, 438, 1, 36], [338, 126, 1, 37], [338, 438, 1, 37], [339, 126, 1, 37], [339, 438, 1, 37], [340, 125, 1, 38], [340, 438, 1, 38], [341, 124, 1, 39], [341, 438, 1, 39], [342, 123, 1, 41], [342, 437, 1, 41], [343, 122, 1, 42], [343, 437, 1, 42], [344, 121, 1, 43], [344, 437, 1, 43], [345, 120, 1, 44], [345, 437, 1, 44], [346, 119, 1, 45], [346, 437, 1, 45], [347, 117, 1, 46], [347, 438, 1, 46], [348, 116, 1, 15], [348, 132, 1, 31], [348, 438, 1, 31], [348, 470, 1, 15], [349, 115, 1, 15], [349, 133, 1, 29], [349, 439, 1, 29], [349, 471, 1, 15], [350, 113, 1, 16], [350, 134, 1, 27], [350, 440, 1, 27], [350, 472, 1, 16], [351, 111, 1, 18], [351, 135, 1, 25], [351, 441, 1, 25], [351, 472, 1, 18], [352, 109, 1, 20], [352, 136, 1, 12], [352, 153, 1, 4], [352, 444, 1, 4], [352, 453, 1, 12], [352, 472, 1, 20], [353, 107, 1, 22], [353, 137, 1, 9], [353, 455, 1, 9], [353, 472, 1, 22], [354, 104, 1, 25], [354, 139, 1, 4], [354, 458, 1, 4], [354, 472, 1, 25], [355, 101, 1, 27], [355, 473, 1, 27], [356, 96, 1, 31], [356, 474, 1, 31], [357, 88, 1, 39], [357, 474, 1, 39], [358, 83, 1, 40], [358, 478, 1, 40], [359, 80, 1, 43], [359, 478, 1, 43], [360, 78, 1, 45], [360, 478, 1, 45], [361, 77, 1, 46], [361, 478, 1, 46], [362, 76, 1, 48], [362, 477, 1, 48], [363, 75, 1, 50], [363, 476, 1, 50], [364, 74, 1, 3], [364, 78, 1, 47], [364, 476, 1, 47], [364, 524, 1, 3], [365, 74, 1, 3], [365, 78, 1, 47], [365, 476, 1, 47], [365, 524, 1, 3], [366, 73, 1, 4], [366, 80, 1, 45], [366, 476, 1, 45], [366, 524, 1, 4], [367, 73, 1, 6], [367, 81, 1, 44], [367, 476, 1, 44], [367, 522, 1, 6], [368, 73, 1, 6], [368, 82, 1, 42], [368, 477, 1, 42], [368, 522, 1, 6], [369, 73, 1, 7], [369, 82, 1, 41], [369, 478, 1, 41], [369, 521, 1, 7], [370, 73, 1, 7], [370, 82, 1, 39], [370, 480, 1, 39], [370, 521, 1, 7], [371, 73, 1, 8], [371, 85, 1, 3], [371, 91, 1, 3], [371, 98, 1, 22], [371, 481, 1, 22], [371, 507, 1, 3], [371, 513, 1, 3], [371, 520, 1, 8], [372, 74, 1, 8], [372, 98, 1, 21], [372, 482, 1, 21], [372, 519, 1, 8], [373, 74, 1, 7], [373, 98, 1, 20], [373, 483, 1, 20], [373, 520, 1, 7], [374, 74, 1, 7], [374, 85, 1, 1], [374, 98, 1, 19], [374, 484, 1, 19], [374, 515, 1, 1], [374, 520, 1, 7], [375, 75, 1, 5], [375, 82, 1, 6], [375, 99, 1, 18], [375, 484, 1, 18], [375, 513, 1, 6], [375, 521, 1, 5], [376, 76, 1, 2], [376, 80, 1, 10], [376, 100, 1, 16], [376, 485, 1, 16], [376, 511, 1, 10], [376, 523, 1, 2], [377, 76, 1, 3], [377, 80, 1, 10], [377, 103, 1, 12], [377, 486, 1, 12], [377, 511, 1, 10], [377, 522, 1, 3], [378, 77, 1, 13], [378, 105, 1, 8], [378, 488, 1, 8], [378, 511, 1, 13], [379, 78, 1, 11], [379, 512, 1, 11], [380, 79, 1, 16], [380, 506, 1, 16], [381, 80, 1, 15], [381, 506, 1, 15], [382, 80, 1, 15], [382, 506, 1, 15], [383, 81, 1, 17], [383, 503, 1, 17], [384, 82, 1, 18], [384, 501, 1, 18], [385, 82, 1, 19], [385, 500, 1, 19], [386, 83, 1, 19], [386, 499, 1, 19], [387, 84, 1, 19], [387, 498, 1, 19], [388, 84, 1, 19], [388, 498, 1, 19], [389, 84, 1, 19], [389, 498, 1, 19], [390, 85, 1, 18], [390, 498, 1, 18], [391, 85, 1, 18], [391, 498, 1, 18], [392, 85, 1, 17], [392, 499, 1, 17], [393, 86, 1, 14], [393, 501, 1, 14], [394, 86, 1, 14], [394, 110, 1, 4], [394, 487, 1, 4], [394, 501, 1, 14], [395, 86, 1, 14], [395, 109, 1, 7], [395, 485, 1, 7], [395, 501, 1, 14], [396, 87, 1, 14], [396, 108, 1, 10], [396, 483, 1, 10], [396, 500, 1, 14], [397, 87, 1, 13], [397, 108, 1, 11], [397, 482, 1, 11], [397, 501, 1, 13], [398, 88, 1, 12], [398, 107, 1, 16], [398, 478, 1, 16], [398, 501, 1, 12], [399, 88, 1, 12], [399, 107, 1, 19], [399, 475, 1, 19], [399, 501, 1, 12], [400, 88, 1, 12], [400, 106, 1, 21], [400, 474, 1, 21], [400, 501, 1, 12], [401, 89, 1, 11], [401, 105, 1, 23], [401, 473, 1, 23], [401, 501, 1, 11], [402, 89, 1, 8], [402, 105, 1, 23], [402, 473, 1, 23], [402, 504, 1, 8], [403, 90, 1, 6], [403, 102, 1, 26], [403, 473, 1, 26], [403, 505, 1, 6], [404, 91, 1, 3], [404, 97, 1, 1], [404, 101, 1, 27], [404, 473, 1, 27], [404, 503, 1, 1], [404, 507, 1, 3], [405, 91, 1, 3], [405, 95, 1, 4], [405, 101, 1, 27], [405, 473, 1, 27], [405, 502, 1, 4], [405, 507, 1, 3], [406, 92, 1, 7], [406, 101, 1, 27], [406, 473, 1, 27], [406, 502, 1, 7], [407, 93, 1, 6], [407, 100, 1, 28], [407, 473, 1, 28], [407, 502, 1, 6], [408, 94, 1, 34], [408, 473, 1, 34], [409, 95, 1, 33], [409, 473, 1, 33], [410, 96, 1, 31], [410, 474, 1, 31], [411, 97, 1, 29], [411, 142, 1, 5], [411, 152, 1, 7], [411, 442, 1, 7], [411, 454, 1, 5], [411, 475, 1, 29], [412, 99, 1, 27], [412, 132, 1, 3], [412, 141, 1, 19], [412, 441, 1, 19], [412, 466, 1, 3], [412, 475, 1, 27], [413, 101, 1, 35], [413, 140, 1, 21], [413, 440, 1, 21], [413, 465, 1, 35], [414, 103, 1, 33], [414, 139, 1, 23], [414, 439, 1, 23], [414, 465, 1, 33], [415, 106, 1, 57], [415, 438, 1, 57], [416, 109, 1, 54], [416, 438, 1, 54], [417, 112, 1, 52], [417, 437, 1, 52], [418, 116, 1, 48], [418, 437, 1, 48], [419, 120, 1, 45], [419, 436, 1, 45], [420, 123, 1, 42], [420, 436, 1, 42], [421, 125, 1, 40], [421, 436, 1, 40], [422, 128, 1, 38], [422, 435, 1, 38], [423, 130, 1, 36], [423, 435, 1, 36], [424, 131, 1, 35], [424, 435, 1, 35], [425, 133, 1, 33], [425, 435, 1, 33], [426, 134, 1, 32], [426, 435, 1, 32], [427, 136, 1, 30], [427, 435, 1, 30], [428, 137, 1, 28], [428, 436, 1, 28], [429, 138, 1, 27], [429, 436, 1, 27], [430, 139, 1, 24], [430, 438, 1, 24], [431, 140, 1, 22], [431, 439, 1, 22], [432, 141, 1, 21], [432, 439, 1, 21], [433, 142, 1, 20], [433, 439, 1, 20], [434, 142, 1, 21], [434, 438, 1, 21], [435, 143, 1, 22], [435, 436, 1, 22], [436, 144, 1, 22], [436, 435, 1, 22], [437, 144, 1, 22], [437, 435, 1, 22], [438, 145, 1, 21], [438, 435, 1, 21], [439, 146, 1, 23], [439, 432, 1, 23], [440, 146, 1, 25], [440, 430, 1, 25], [441, 147, 1, 26], [441, 428, 1, 26], [442, 147, 1, 28], [442, 426, 1, 28], [443, 148, 1, 29], [443, 424, 1, 29], [444, 148, 1, 30], [444, 423, 1, 30], [445, 149, 1, 30], [445, 422, 1, 30], [446, 149, 1, 30], [446, 422, 1, 30], [447, 149, 1, 31], [447, 421, 1, 31], [448, 150, 1, 30], [448, 421, 1, 30], [449, 150, 1, 30], [449, 421, 1, 30], [450, 150, 1, 29], [450, 422, 1, 29], [451, 151, 1, 28], [451, 422, 1, 28], [452, 151, 1, 27], [452, 423, 1, 27], [453, 151, 1, 26], [453, 424, 1, 26], [454, 152, 1, 23], [454, 426, 1, 23], [455, 152, 1, 23], [455, 426, 1, 23], [456, 152, 1, 23], [456, 426, 1, 23], [457, 152, 1, 23], [457, 426, 1, 23], [458, 152, 1, 23], [458, 426, 1, 23], [459, 153, 1, 22], [459, 426, 1, 22], [460, 153, 1, 22], [460, 426, 1, 22], [461, 153, 1, 22], [461, 426, 1, 22], [462, 153, 1, 22], [462, 426, 1, 22], [463, 153, 1, 23], [463, 425, 1, 23], [464, 153, 1, 23], [464, 425, 1, 23], [465, 154, 1, 23], [465, 424, 1, 23], [466, 154, 1, 23], [466, 424, 1, 23], [467, 154, 1, 23], [467, 424, 1, 23], [468, 154, 1, 23], [468, 299, 1, 3], [468, 424, 1, 23], [469, 154, 1, 22], [469, 296, 1, 9], [469, 425, 1, 22], [470, 155, 1, 20], [470, 295, 1, 11], [470, 426, 1, 20], [471, 155, 1, 18], [471, 294, 1, 13], [471, 428, 1, 18], [472, 155, 1, 16], [472, 293, 1, 15], [472, 430, 1, 16], [473, 155, 1, 14], [473, 292, 1, 17], [473, 432, 1, 14], [474, 156, 1, 4], [474, 161, 1, 6], [474, 204, 1, 4], [474, 291, 1, 19], [474, 393, 1, 4], [474, 434, 1, 6], [474, 441, 1, 4], [475, 156, 1, 4], [475, 202, 1, 8], [475, 289, 1, 23], [475, 391, 1, 8], [475, 441, 1, 4], [476, 156, 1, 4], [476, 202, 1, 9], [476, 289, 1, 23], [476, 390, 1, 9], [476, 441, 1, 4], [477, 157, 1, 6], [477, 200, 1, 13], [477, 287, 1, 27], [477, 388, 1, 13], [477, 438, 1, 6], [478, 157, 1, 7], [478, 198, 1, 18], [478, 285, 1, 31], [478, 385, 1, 18], [478, 437, 1, 7], [479, 158, 1, 6], [479, 169, 1, 5], [479, 190, 1, 5], [479, 196, 1, 23], [479, 284, 1, 33], [479, 382, 1, 23], [479, 406, 1, 5], [479, 427, 1, 5], [479, 437, 1, 6], [480, 158, 1, 5], [480, 165, 1, 1], [480, 168, 1, 8], [480, 190, 1, 30], [480, 284, 1, 33], [480, 381, 1, 30], [480, 425, 1, 8], [480, 435, 1, 1], [480, 438, 1, 5], [481, 159, 1, 18], [481, 190, 1, 31], [481, 282, 1, 37], [481, 380, 1, 31], [481, 424, 1, 18], [482, 160, 1, 17], [482, 190, 1, 31], [482, 280, 1, 41], [482, 380, 1, 31], [482, 424, 1, 17], [483, 161, 1, 17], [483, 190, 1, 32], [483, 276, 1, 49], [483, 379, 1, 32], [483, 423, 1, 17], [484, 162, 1, 16], [484, 182, 1, 4], [484, 190, 1, 32], [484, 276, 1, 49], [484, 379, 1, 32], [484, 415, 1, 4], [484, 423, 1, 16], [485, 163, 1, 14], [485, 181, 1, 5], [485, 188, 1, 35], [485, 275, 1, 51], [485, 378, 1, 35], [485, 415, 1, 5], [485, 424, 1, 14], [486, 164, 1, 13], [486, 181, 1, 42], [486, 243, 1, 5], [486, 264, 1, 3], [486, 274, 1, 53], [486, 334, 1, 3], [486, 353, 1, 5], [486, 378, 1, 42], [486, 424, 1, 13], [487, 165, 1, 11], [487, 180, 1, 43], [487, 241, 1, 8], [487, 263, 1, 5], [487, 272, 1, 57], [487, 333, 1, 5], [487, 352, 1, 8], [487, 378, 1, 43], [487, 425, 1, 11], [488, 167, 1, 56], [488, 240, 1, 10], [488, 263, 1, 75], [488, 351, 1, 10], [488, 378, 1, 56], [489, 169, 1, 54], [489, 239, 1, 11], [489, 262, 1, 77], [489, 351, 1, 11], [489, 378, 1, 54], [490, 171, 1, 52], [490, 238, 1, 12], [490, 262, 1, 77], [490, 351, 1, 12], [490, 378, 1, 52], [491, 175, 1, 47], [491, 238, 1, 12], [491, 261, 1, 79], [491, 351, 1, 12], [491, 379, 1, 47], [492, 183, 1, 38], [492, 238, 1, 12], [492, 260, 1, 81], [492, 351, 1, 12], [492, 380, 1, 38], [493, 192, 1, 26], [493, 237, 1, 14], [493, 255, 1, 2], [493, 258, 1, 85], [493, 344, 1, 2], [493, 350, 1, 14], [493, 383, 1, 26], [494, 197, 1, 21], [494, 236, 1, 129], [494, 383, 1, 21], [495, 201, 1, 18], [495, 226, 1, 2], [495, 236, 1, 50], [495, 315, 1, 50], [495, 373, 1, 2], [495, 382, 1, 18], [496, 204, 1, 17], [496, 225, 1, 4], [496, 232, 1, 47], [496, 322, 1, 47], [496, 372, 1, 4], [496, 380, 1, 17], [497, 207, 1, 22], [497, 232, 1, 41], [497, 328, 1, 41], [497, 372, 1, 22], [498, 210, 1, 59], [498, 332, 1, 59], [499, 213, 1, 51], [499, 337, 1, 51], [500, 216, 1, 44], [500, 341, 1, 44], [501, 219, 1, 37], [501, 345, 1, 37], [502, 223, 1, 28], [502, 350, 1, 28], [503, 229, 1, 16], [503, 356, 1, 16]], [[46, 298, 1, 2], [46, 301, 1, 2], [47, 299, 1, 1], [47, 301, 1, 1], [57, 299, 1, 1], [57, 301, 1, 1], [58, 299, 1, 1], [58, 301, 1, 1], [59, 299, 1, 1], [59, 301, 1, 1], [60, 299, 1, 1], [60, 301, 1, 1], [61, 296, 1, 3], [61, 302, 1, 3], [62, 296, 1, 2], [62, 303, 1, 2], [63, 297, 1, 1], [63, 303, 1, 1], [64, 288, 1, 1], [64, 290, 1, 7], [64, 304, 1, 7], [64, 312, 1, 1], [65, 291, 1, 3], [65, 295, 1, 2], [65, 304, 1, 2], [65, 307, 1, 3], [66, 293, 1, 3], [66, 305, 1, 3], [67, 295, 1, 1], [67, 305, 1, 1], [68, 295, 1, 2], [68, 304, 1, 2], [69, 295, 1, 3], [69, 303, 1, 3], [70, 295, 1, 1], [70, 298, 1, 2], [70, 301, 1, 2], [70, 305, 1, 1], [71, 298, 1, 2], [71, 301, 1, 2], [72, 299, 1, 1], [72, 301, 1, 1], [73, 299, 1, 1], [73, 301, 1, 1], [74, 299, 1, 1], [74, 301, 1, 1], [75, 299, 1, 1], [75, 301, 1, 1], [76, 299, 1, 1], [76, 301, 1, 1], [77, 299, 1, 1], [77, 301, 1, 1], [78, 299, 1, 1], [78, 301, 1, 1], [80, 299, 1, 1], [80, 301, 1, 1], [81, 299, 1, 1], [81, 301, 1, 1], [82, 298, 1, 2], [82, 301, 1, 2], [83, 298, 1, 2], [83, 301, 1, 2], [84, 299, 1, 1], [84, 301, 1, 1], [85, 299, 1, 1], [85, 301, 1, 1], [86, 299, 1, 1], [86, 301, 1, 1], [87, 299, 1, 1], [87, 301, 1, 1], [88, 298, 1, 2], [88, 301, 1, 2], [89, 297, 1, 3], [89, 301, 1, 3], [90, 295, 1, 4], [90, 302, 1, 4], [91, 294, 1, 2], [91, 297, 1, 2], [91, 302, 1, 2], [91, 305, 1, 2], [92, 294, 1, 5], [92, 302, 1, 5], [93, 296, 1, 3], [93, 302, 1, 3], [94, 297, 1, 3], [94, 301, 1, 3], [95, 297, 1, 3], [95, 301, 1, 3], [96, 298, 1, 2], [96, 301, 1, 2], [97, 299, 1, 1], [97, 301, 1, 1], [98, 299, 1, 1], [98, 301, 1, 1], [99, 298, 1, 2], [99, 301, 1, 2], [100, 298, 1, 2], [100, 301, 1, 2], [101, 297, 1, 3], [101, 301, 1, 3], [102, 297, 1, 2], [102, 302, 1, 2], [103, 297, 1, 3], [103, 301, 1, 3], [104, 298, 1, 2], [104, 301, 1, 2], [105, 299, 1, 1], [105, 301, 1, 1], [106, 299, 1, 1], [106, 301, 1, 1], [107, 298, 1, 2], [107, 301, 1, 2], [108, 298, 1, 2], [108, 301, 1, 2], [109, 298, 1, 2], [109, 301, 1, 2], [110, 298, 1, 2], [110, 301, 1, 2], [111, 297, 1, 3], [111, 301, 1, 3], [112, 297, 1, 1], [112, 303, 1, 1], [113, 297, 1, 3], [113, 301, 1, 3], [114, 296, 1, 4], [114, 301, 1, 4], [115, 296, 1, 4], [115, 301, 1, 4], [116, 295, 1, 4], [116, 302, 1, 4], [117, 294, 1, 6], [117, 301, 1, 6], [118, 290, 1, 3], [118, 294, 1, 5], [118, 302, 1, 5], [118, 308, 1, 3], [119, 291, 1, 1], [119, 296, 1, 2], [119, 303, 1, 2], [119, 309, 1, 1], [120, 292, 1, 2], [120, 307, 1, 2], [121, 292, 1, 5], [121, 304, 1, 5], [122, 292, 1, 6], [122, 303, 1, 6], [123, 292, 1, 6], [123, 303, 1, 6], [124, 292, 1, 7], [124, 302, 1, 7], [125, 292, 1, 6], [125, 303, 1, 6], [126, 292, 1, 4], [126, 305, 1, 4], [127, 291, 1, 6], [127, 304, 1, 6], [128, 291, 1, 7], [128, 303, 1, 7], [129, 290, 1, 8], [129, 303, 1, 8], [130, 289, 1, 8], [130, 304, 1, 8], [131, 268, 1, 1], [131, 270, 1, 1], [131, 274, 1, 2], [131, 288, 1, 2], [131, 292, 1, 4], [131, 305, 1, 4], [131, 311, 1, 2], [131, 325, 1, 2], [131, 330, 1, 1], [131, 332, 1, 1], [132, 269, 1, 1], [132, 271, 1, 6], [132, 286, 1, 4], [132, 293, 1, 3], [132, 305, 1, 3], [132, 311, 1, 4], [132, 324, 1, 6], [132, 331, 1, 1], [133, 270, 1, 1], [133, 272, 1, 2], [133, 275, 1, 3], [133, 284, 1, 7], [133, 310, 1, 7], [133, 323, 1, 3], [133, 327, 1, 2], [133, 330, 1, 1], [134, 270, 1, 1], [134, 276, 1, 16], [134, 309, 1, 16], [134, 330, 1, 1], [135, 270, 1, 5], [135, 278, 1, 14], [135, 309, 1, 14], [135, 326, 1, 5], [136, 270, 1, 5], [136, 280, 1, 12], [136, 309, 1, 12], [136, 326, 1, 5], [137, 273, 1, 4], [137, 280, 1, 11], [137, 310, 1, 11], [137, 324, 1, 4], [138, 275, 1, 4], [138, 282, 1, 2], [138, 286, 1, 3], [138, 312, 1, 3], [138, 317, 1, 2], [138, 322, 1, 4], [139, 275, 1, 5], [139, 287, 1, 2], [139, 312, 1, 2], [139, 321, 1, 5], [140, 275, 1, 5], [140, 321, 1, 5], [141, 276, 1, 5], [141, 320, 1, 5], [142, 276, 1, 4], [142, 321, 1, 4], [143, 276, 1, 7], [143, 318, 1, 7], [144, 276, 1, 7], [144, 318, 1, 7], [145, 276, 1, 7], [145, 318, 1, 7], [146, 276, 1, 7], [146, 318, 1, 7], [147, 276, 1, 7], [147, 318, 1, 7], [148, 276, 1, 7], [148, 318, 1, 7], [149, 276, 1, 2], [149, 279, 1, 1], [149, 321, 1, 1], [149, 323, 1, 2], [150, 275, 1, 2], [150, 324, 1, 2], [151, 275, 1, 2], [151, 324, 1, 2], [152, 274, 1, 7], [152, 320, 1, 7], [153, 274, 1, 8], [153, 319, 1, 8], [154, 273, 1, 9], [154, 319, 1, 9], [155, 271, 1, 11], [155, 319, 1, 11], [156, 212, 1, 1], [156, 270, 1, 11], [156, 320, 1, 11], [156, 388, 1, 1], [157, 213, 1, 1], [157, 216, 1, 1], [157, 229, 1, 2], [157, 260, 1, 4], [157, 268, 1, 14], [157, 319, 1, 14], [157, 337, 1, 4], [157, 370, 1, 2], [157, 384, 1, 1], [157, 387, 1, 1], [158, 213, 1, 2], [158, 217, 1, 1], [158, 229, 1, 1], [158, 260, 1, 1], [158, 262, 1, 20], [158, 319, 1, 20], [158, 340, 1, 1], [158, 371, 1, 1], [158, 383, 1, 1], [158, 386, 1, 2], [159, 216, 1, 1], [159, 218, 1, 1], [159, 228, 1, 2], [159, 231, 1, 1], [159, 260, 1, 1], [159, 265, 1, 17], [159, 319, 1, 17], [159, 340, 1, 1], [159, 369, 1, 1], [159, 371, 1, 2], [159, 382, 1, 1], [159, 384, 1, 1], [160, 216, 1, 3], [160, 228, 1, 1], [160, 230, 1, 2], [160, 260, 1, 1], [160, 265, 1, 17], [160, 319, 1, 17], [160, 340, 1, 1], [160, 369, 1, 2], [160, 372, 1, 1], [160, 382, 1, 3], [161, 218, 1, 2], [161, 222, 1, 7], [161, 230, 1, 2], [161, 260, 1, 2], [161, 266, 1, 9], [161, 278, 1, 3], [161, 320, 1, 3], [161, 326, 1, 9], [161, 339, 1, 2], [161, 369, 1, 2], [161, 372, 1, 7], [161, 381, 1, 2], [162, 216, 1, 2], [162, 219, 1, 4], [162, 224, 1, 5], [162, 230, 1, 6], [162, 237, 1, 1], [162, 260, 1, 4], [162, 267, 1, 8], [162, 326, 1, 8], [162, 337, 1, 4], [162, 363, 1, 1], [162, 365, 1, 6], [162, 372, 1, 5], [162, 378, 1, 4], [162, 383, 1, 2], [163, 218, 1, 1], [163, 220, 1, 3], [163, 233, 1, 3], [163, 237, 1, 1], [163, 259, 1, 5], [163, 267, 1, 7], [163, 327, 1, 7], [163, 337, 1, 5], [163, 363, 1, 1], [163, 365, 1, 3], [163, 378, 1, 3], [163, 382, 1, 1], [164, 218, 1, 1], [164, 220, 1, 2], [164, 226, 1, 5], [164, 236, 1, 2], [164, 258, 1, 7], [164, 268, 1, 1], [164, 271, 1, 3], [164, 327, 1, 3], [164, 332, 1, 1], [164, 336, 1, 7], [164, 363, 1, 2], [164, 370, 1, 5], [164, 379, 1, 2], [164, 382, 1, 1], [165, 217, 1, 1], [165, 220, 1, 4], [165, 225, 1, 6], [165, 236, 1, 3], [165, 257, 1, 7], [165, 337, 1, 7], [165, 362, 1, 3], [165, 370, 1, 6], [165, 377, 1, 4], [165, 383, 1, 1], [166, 217, 1, 2], [166, 222, 1, 12], [166, 237, 1, 1], [166, 239, 1, 1], [166, 256, 1, 8], [166, 337, 1, 8], [166, 361, 1, 1], [166, 363, 1, 1], [166, 367, 1, 12], [166, 382, 1, 2], [167, 230, 1, 5], [167, 238, 1, 3], [167, 255, 1, 9], [167, 337, 1, 9], [167, 360, 1, 3], [167, 366, 1, 5], [168, 231, 1, 5], [168, 238, 1, 5], [168, 253, 1, 8], [168, 340, 1, 8], [168, 358, 1, 5], [168, 365, 1, 5], [169, 232, 1, 5], [169, 238, 1, 24], [169, 339, 1, 24], [169, 364, 1, 5], [170, 232, 1, 4], [170, 238, 1, 13], [170, 252, 1, 10], [170, 339, 1, 10], [170, 350, 1, 13], [170, 365, 1, 4], [171, 232, 1, 4], [171, 238, 1, 13], [171, 254, 1, 8], [171, 339, 1, 8], [171, 350, 1, 13], [171, 365, 1, 4], [172, 233, 1, 2], [172, 239, 1, 12], [172, 254, 1, 7], [172, 340, 1, 7], [172, 350, 1, 12], [172, 366, 1, 2], [173, 233, 1, 3], [173, 239, 1, 12], [173, 254, 1, 6], [173, 341, 1, 6], [173, 350, 1, 12], [173, 365, 1, 3], [174, 233, 1, 3], [174, 240, 1, 1], [174, 244, 1, 7], [174, 255, 1, 4], [174, 342, 1, 4], [174, 350, 1, 7], [174, 360, 1, 1], [174, 365, 1, 3], [175, 233, 1, 1], [175, 244, 1, 6], [175, 256, 1, 2], [175, 343, 1, 2], [175, 351, 1, 6], [175, 367, 1, 1], [176, 233, 1, 4], [176, 244, 1, 3], [176, 354, 1, 3], [176, 364, 1, 4], [177, 234, 1, 3], [177, 364, 1, 3], [178, 234, 1, 2], [178, 365, 1, 2], [179, 234, 1, 4], [179, 363, 1, 4], [180, 233, 1, 5], [180, 363, 1, 5], [181, 233, 1, 5], [181, 363, 1, 5], [182, 233, 1, 4], [182, 364, 1, 4], [183, 231, 1, 2], [183, 368, 1, 2], [184, 234, 1, 2], [184, 365, 1, 2], [185, 232, 1, 5], [185, 364, 1, 5], [186, 234, 1, 7], [186, 360, 1, 7], [187, 235, 1, 6], [187, 360, 1, 6], [188, 235, 1, 6], [188, 360, 1, 6], [189, 236, 1, 4], [189, 361, 1, 4], [190, 237, 1, 2], [190, 362, 1, 2], [191, 237, 1, 1], [191, 241, 1, 1], [191, 359, 1, 1], [191, 363, 1, 1], [192, 237, 1, 6], [192, 358, 1, 6], [193, 238, 1, 6], [193, 357, 1, 6], [194, 238, 1, 8], [194, 355, 1, 8], [195, 238, 1, 8], [195, 355, 1, 8], [196, 237, 1, 8], [196, 356, 1, 8], [197, 237, 1, 7], [197, 357, 1, 7], [198, 237, 1, 6], [198, 358, 1, 6], [199, 236, 1, 7], [199, 358, 1, 7], [200, 235, 1, 9], [200, 357, 1, 9], [201, 234, 1, 11], [201, 356, 1, 11], [202, 228, 1, 17], [202, 356, 1, 17], [203, 227, 1, 1], [203, 229, 1, 3], [203, 233, 1, 11], [203, 357, 1, 11], [203, 369, 1, 3], [203, 373, 1, 1], [204, 227, 1, 1], [204, 230, 1, 1], [204, 235, 1, 8], [204, 358, 1, 8], [204, 370, 1, 1], [204, 373, 1, 1], [205, 236, 1, 6], [205, 359, 1, 6], [206, 223, 1, 5], [206, 237, 1, 4], [206, 360, 1, 4], [206, 373, 1, 5], [207, 221, 1, 2], [207, 225, 1, 2], [207, 230, 1, 3], [207, 238, 1, 3], [207, 360, 1, 3], [207, 368, 1, 3], [207, 374, 1, 2], [207, 378, 1, 2], [208, 222, 1, 2], [208, 226, 1, 1], [208, 229, 1, 5], [208, 367, 1, 5], [208, 374, 1, 1], [208, 377, 1, 2], [209, 228, 1, 6], [209, 367, 1, 6], [210, 225, 1, 1], [210, 228, 1, 6], [210, 367, 1, 6], [210, 375, 1, 1], [211, 226, 1, 2], [211, 229, 1, 5], [211, 367, 1, 5], [211, 373, 1, 2], [212, 231, 1, 4], [212, 366, 1, 4], [213, 232, 1, 5], [213, 364, 1, 5], [214, 233, 1, 3], [214, 365, 1, 3], [215, 233, 1, 2], [215, 366, 1, 2], [216, 234, 1, 1], [216, 236, 1, 1], [216, 364, 1, 1], [216, 366, 1, 1], [217, 235, 1, 4], [217, 362, 1, 4], [218, 235, 1, 6], [218, 360, 1, 6], [219, 236, 1, 6], [219, 359, 1, 6], [220, 236, 1, 7], [220, 358, 1, 7], [221, 236, 1, 8], [221, 357, 1, 8], [222, 237, 1, 7], [222, 357, 1, 7], [223, 237, 1, 7], [223, 357, 1, 7], [224, 237, 1, 2], [224, 362, 1, 2], [225, 236, 1, 1], [225, 238, 1, 1], [225, 362, 1, 1], [225, 364, 1, 1], [226, 236, 1, 1], [226, 364, 1, 1], [227, 235, 1, 2], [227, 364, 1, 2], [228, 234, 1, 2], [228, 365, 1, 2], [229, 234, 1, 1], [229, 239, 1, 3], [229, 359, 1, 3], [229, 366, 1, 1], [230, 235, 1, 2], [230, 238, 1, 5], [230, 358, 1, 5], [230, 364, 1, 2], [231, 237, 1, 6], [231, 358, 1, 6], [232, 239, 1, 4], [232, 358, 1, 4], [233, 240, 1, 6], [233, 355, 1, 6], [234, 240, 1, 8], [234, 353, 1, 8], [235, 241, 1, 7], [235, 353, 1, 7], [236, 242, 1, 5], [236, 354, 1, 5], [237, 242, 1, 4], [237, 355, 1, 4], [238, 243, 1, 3], [238, 355, 1, 3], [239, 243, 1, 2], [239, 356, 1, 2], [240, 244, 1, 2], [240, 248, 1, 2], [240, 351, 1, 2], [240, 355, 1, 2], [241, 244, 1, 7], [241, 350, 1, 7], [242, 245, 1, 8], [242, 348, 1, 8], [243, 245, 1, 8], [243, 348, 1, 8], [244, 245, 1, 8], [244, 348, 1, 8], [245, 246, 1, 7], [245, 348, 1, 7], [246, 246, 1, 7], [246, 348, 1, 7], [247, 246, 1, 11], [247, 344, 1, 11], [248, 246, 1, 12], [248, 343, 1, 12], [249, 246, 1, 12], [249, 343, 1, 12], [250, 246, 1, 13], [250, 342, 1, 13], [251, 246, 1, 14], [251, 341, 1, 14], [252, 246, 1, 15], [252, 340, 1, 15], [253, 246, 1, 16], [253, 339, 1, 16], [254, 245, 1, 18], [254, 338, 1, 18], [255, 245, 1, 18], [255, 338, 1, 18], [256, 245, 1, 18], [256, 338, 1, 18], [257, 244, 1, 19], [257, 338, 1, 19], [258, 243, 1, 19], [258, 339, 1, 19], [259, 243, 1, 19], [259, 339, 1, 19], [260, 241, 1, 19], [260, 341, 1, 19], [261, 240, 1, 19], [261, 342, 1, 19], [262, 238, 1, 18], [262, 345, 1, 18], [263, 231, 1, 11], [263, 243, 1, 8], [263, 350, 1, 8], [263, 359, 1, 11], [264, 228, 1, 13], [264, 245, 1, 4], [264, 352, 1, 4], [264, 360, 1, 13], [265, 226, 1, 2], [265, 230, 1, 11], [265, 360, 1, 11], [265, 373, 1, 2], [266, 225, 1, 3], [266, 232, 1, 8], [266, 361, 1, 8], [266, 373, 1, 3], [267, 225, 1, 3], [267, 233, 1, 5], [267, 363, 1, 5], [267, 373, 1, 3], [268, 224, 1, 4], [268, 234, 1, 4], [268, 363, 1, 4], [268, 373, 1, 4], [269, 205, 1, 3], [269, 223, 1, 3], [269, 235, 1, 2], [269, 364, 1, 2], [269, 375, 1, 3], [269, 393, 1, 3], [270, 205, 1, 1], [270, 207, 1, 6], [270, 222, 1, 4], [270, 375, 1, 4], [270, 388, 1, 6], [270, 395, 1, 1], [271, 204, 1, 1], [271, 208, 1, 2], [271, 213, 1, 11], [271, 377, 1, 11], [271, 391, 1, 2], [271, 396, 1, 1], [272, 208, 1, 2], [272, 213, 1, 11], [272, 377, 1, 11], [272, 391, 1, 2], [273, 204, 1, 2], [273, 213, 1, 10], [273, 378, 1, 10], [273, 395, 1, 2], [274, 204, 1, 2], [274, 216, 1, 7], [274, 378, 1, 7], [274, 395, 1, 2], [275, 204, 1, 2], [275, 216, 1, 8], [275, 377, 1, 8], [275, 395, 1, 2], [276, 203, 1, 1], [276, 216, 1, 8], [276, 377, 1, 8], [276, 397, 1, 1], [277, 202, 1, 2], [277, 217, 1, 7], [277, 377, 1, 7], [277, 397, 1, 2], [278, 200, 1, 4], [278, 221, 1, 2], [278, 378, 1, 2], [278, 397, 1, 4], [280, 199, 1, 1], [280, 401, 1, 1], [281, 199, 1, 2], [281, 400, 1, 2], [282, 199, 1, 2], [282, 400, 1, 2], [283, 199, 1, 1], [283, 401, 1, 1], [284, 164, 1, 1], [284, 199, 1, 6], [284, 396, 1, 6], [284, 436, 1, 1], [285, 164, 1, 1], [285, 199, 1, 6], [285, 396, 1, 6], [285, 436, 1, 1], [286, 163, 1, 1], [286, 165, 1, 1], [286, 167, 1, 1], [286, 177, 1, 1], [286, 179, 1, 1], [286, 199, 1, 6], [286, 396, 1, 6], [286, 421, 1, 1], [286, 423, 1, 1], [286, 433, 1, 1], [286, 435, 1, 1], [286, 437, 1, 1], [287, 163, 1, 1], [287, 167, 1, 2], [287, 174, 1, 3], [287, 179, 1, 1], [287, 198, 1, 8], [287, 395, 1, 8], [287, 421, 1, 1], [287, 424, 1, 3], [287, 432, 1, 2], [287, 437, 1, 1], [288, 163, 1, 1], [288, 166, 1, 3], [288, 173, 1, 1], [288, 179, 1, 2], [288, 197, 1, 9], [288, 395, 1, 9], [288, 420, 1, 2], [288, 427, 1, 1], [288, 432, 1, 3], [288, 437, 1, 1], [289, 168, 1, 7], [289, 180, 1, 2], [289, 196, 1, 10], [289, 395, 1, 10], [289, 419, 1, 2], [289, 426, 1, 7], [290, 162, 1, 4], [290, 169, 1, 7], [290, 179, 1, 4], [290, 194, 1, 12], [290, 395, 1, 12], [290, 418, 1, 4], [290, 425, 1, 7], [290, 435, 1, 4], [291, 163, 1, 3], [291, 170, 1, 4], [291, 179, 1, 26], [291, 396, 1, 26], [291, 427, 1, 4], [291, 435, 1, 3], [292, 165, 1, 2], [292, 171, 1, 2], [292, 179, 1, 22], [292, 400, 1, 22], [292, 428, 1, 2], [292, 434, 1, 2], [293, 166, 1, 2], [293, 171, 1, 1], [293, 178, 1, 10], [293, 190, 1, 11], [293, 400, 1, 11], [293, 413, 1, 10], [293, 429, 1, 1], [293, 433, 1, 2], [294, 165, 1, 3], [294, 178, 1, 6], [294, 186, 1, 1], [294, 190, 1, 11], [294, 400, 1, 11], [294, 414, 1, 1], [294, 417, 1, 6], [294, 433, 1, 3], [295, 165, 1, 4], [295, 179, 1, 5], [295, 193, 1, 6], [295, 402, 1, 6], [295, 417, 1, 5], [295, 432, 1, 4], [296, 164, 1, 1], [296, 166, 1, 1], [296, 180, 1, 2], [296, 193, 1, 6], [296, 402, 1, 6], [296, 419, 1, 2], [296, 434, 1, 1], [296, 436, 1, 1], [297, 164, 1, 1], [297, 193, 1, 6], [297, 402, 1, 6], [297, 436, 1, 1], [298, 164, 1, 2], [298, 195, 1, 3], [298, 403, 1, 3], [298, 435, 1, 2], [299, 164, 1, 4], [299, 433, 1, 4], [300, 164, 1, 4], [300, 433, 1, 4], [301, 164, 1, 2], [301, 435, 1, 2], [302, 162, 1, 4], [302, 435, 1, 4], [303, 161, 1, 1], [303, 163, 1, 2], [303, 436, 1, 2], [303, 439, 1, 1], [304, 161, 1, 1], [304, 439, 1, 1], [305, 159, 1, 2], [305, 169, 1, 3], [305, 429, 1, 3], [305, 440, 1, 2], [306, 167, 1, 6], [306, 428, 1, 6], [307, 161, 1, 2], [307, 164, 1, 10], [307, 427, 1, 10], [307, 438, 1, 2], [308, 161, 1, 1], [308, 164, 1, 10], [308, 427, 1, 10], [308, 439, 1, 1], [309, 162, 1, 11], [309, 428, 1, 11], [310, 167, 1, 5], [310, 429, 1, 5], [311, 168, 1, 4], [311, 429, 1, 4], [312, 169, 1, 4], [312, 428, 1, 4], [313, 170, 1, 2], [313, 429, 1, 2], [314, 170, 1, 2], [314, 429, 1, 2], [315, 171, 1, 3], [315, 427, 1, 3], [316, 171, 1, 4], [316, 426, 1, 4], [317, 171, 1, 3], [317, 427, 1, 3], [318, 172, 1, 7], [318, 422, 1, 7], [319, 172, 1, 8], [319, 421, 1, 8], [320, 172, 1, 9], [320, 420, 1, 9], [321, 172, 1, 9], [321, 420, 1, 9], [322, 172, 1, 8], [322, 421, 1, 8], [323, 171, 1, 9], [323, 421, 1, 9], [324, 171, 1, 7], [324, 423, 1, 7], [325, 170, 1, 8], [325, 423, 1, 8], [326, 170, 1, 8], [326, 423, 1, 8], [327, 168, 1, 9], [327, 424, 1, 9], [328, 165, 1, 5], [328, 173, 1, 4], [328, 424, 1, 4], [328, 431, 1, 5], [329, 164, 1, 5], [329, 174, 1, 2], [329, 425, 1, 2], [329, 432, 1, 5], [330, 163, 1, 1], [330, 167, 1, 2], [330, 432, 1, 2], [330, 437, 1, 1], [331, 163, 1, 1], [331, 437, 1, 1], [332, 163, 1, 2], [332, 436, 1, 2], [333, 163, 1, 2], [333, 436, 1, 2], [334, 163, 1, 2], [334, 436, 1, 2], [335, 163, 1, 3], [335, 435, 1, 3], [336, 163, 1, 2], [336, 436, 1, 2], [337, 163, 1, 1], [337, 437, 1, 1], [338, 163, 1, 1], [338, 437, 1, 1], [339, 163, 1, 4], [339, 434, 1, 4], [340, 163, 1, 5], [340, 433, 1, 5], [341, 163, 1, 7], [341, 431, 1, 7], [342, 164, 1, 7], [342, 430, 1, 7], [343, 164, 1, 7], [343, 430, 1, 7], [344, 164, 1, 6], [344, 431, 1, 6], [345, 164, 1, 5], [345, 432, 1, 5], [346, 164, 1, 4], [346, 433, 1, 4], [347, 163, 1, 3], [347, 435, 1, 3], [348, 163, 1, 4], [348, 434, 1, 4], [349, 130, 1, 1], [349, 132, 1, 1], [349, 162, 1, 5], [349, 434, 1, 5], [349, 468, 1, 1], [349, 470, 1, 1], [350, 129, 1, 1], [350, 132, 1, 2], [350, 161, 1, 5], [350, 435, 1, 5], [350, 467, 1, 2], [350, 471, 1, 1], [351, 129, 1, 1], [351, 134, 1, 1], [351, 160, 1, 7], [351, 434, 1, 7], [351, 466, 1, 1], [351, 471, 1, 1], [352, 129, 1, 3], [352, 135, 1, 1], [352, 148, 1, 5], [352, 157, 1, 11], [352, 433, 1, 11], [352, 448, 1, 5], [352, 465, 1, 1], [352, 469, 1, 3], [353, 129, 1, 2], [353, 134, 1, 3], [353, 146, 1, 3], [353, 150, 1, 18], [353, 433, 1, 18], [353, 452, 1, 3], [353, 464, 1, 3], [353, 470, 1, 2], [354, 129, 1, 2], [354, 133, 1, 6], [354, 143, 1, 5], [354, 150, 1, 18], [354, 433, 1, 18], [354, 453, 1, 5], [354, 462, 1, 6], [354, 470, 1, 2], [355, 128, 1, 1], [355, 133, 1, 11], [355, 145, 1, 2], [355, 151, 1, 16], [355, 434, 1, 16], [355, 454, 1, 2], [355, 457, 1, 11], [355, 472, 1, 1], [356, 127, 1, 3], [356, 132, 1, 12], [356, 151, 1, 16], [356, 434, 1, 16], [356, 457, 1, 12], [356, 471, 1, 3], [357, 127, 1, 2], [357, 133, 1, 11], [357, 151, 1, 16], [357, 434, 1, 16], [357, 457, 1, 11], [357, 472, 1, 2], [358, 124, 1, 5], [358, 134, 1, 3], [358, 140, 1, 4], [358, 152, 1, 2], [358, 159, 1, 8], [358, 434, 1, 8], [358, 447, 1, 2], [358, 457, 1, 4], [358, 464, 1, 3], [358, 472, 1, 5], [359, 123, 1, 1], [359, 126, 1, 3], [359, 140, 1, 3], [359, 159, 1, 8], [359, 434, 1, 8], [359, 458, 1, 3], [359, 472, 1, 3], [359, 477, 1, 1], [360, 124, 1, 1], [360, 160, 1, 6], [360, 435, 1, 6], [360, 476, 1, 1], [361, 123, 1, 3], [361, 475, 1, 3], [362, 124, 1, 1], [362, 476, 1, 1], [363, 125, 1, 4], [363, 472, 1, 4], [364, 77, 1, 1], [364, 125, 1, 7], [364, 469, 1, 7], [364, 523, 1, 1], [365, 77, 1, 1], [365, 125, 1, 7], [365, 469, 1, 7], [365, 523, 1, 1], [366, 77, 1, 1], [366, 79, 1, 1], [366, 125, 1, 7], [366, 469, 1, 7], [366, 521, 1, 1], [366, 523, 1, 1], [367, 79, 1, 1], [367, 125, 1, 7], [367, 469, 1, 7], [367, 521, 1, 1], [368, 79, 1, 1], [368, 81, 1, 1], [368, 124, 1, 7], [368, 470, 1, 7], [368, 519, 1, 1], [368, 521, 1, 1], [369, 81, 1, 1], [369, 123, 1, 6], [369, 472, 1, 6], [369, 519, 1, 1], [370, 80, 1, 2], [370, 121, 1, 8], [370, 472, 1, 8], [370, 519, 1, 2], [371, 81, 1, 1], [371, 83, 1, 2], [371, 88, 1, 3], [371, 94, 1, 2], [371, 97, 1, 1], [371, 120, 1, 9], [371, 472, 1, 9], [371, 503, 1, 1], [371, 505, 1, 2], [371, 510, 1, 3], [371, 516, 1, 2], [371, 519, 1, 1], [372, 82, 1, 4], [372, 87, 1, 2], [372, 90, 1, 5], [372, 96, 1, 2], [372, 119, 1, 1], [372, 121, 1, 7], [372, 473, 1, 7], [372, 481, 1, 1], [372, 503, 1, 2], [372, 506, 1, 5], [372, 512, 1, 2], [372, 515, 1, 4], [373, 81, 1, 5], [373, 89, 1, 1], [373, 92, 1, 3], [373, 96, 1, 2], [373, 118, 1, 2], [373, 123, 1, 5], [373, 473, 1, 5], [373, 481, 1, 2], [373, 503, 1, 2], [373, 506, 1, 3], [373, 511, 1, 1], [373, 515, 1, 5], [374, 81, 1, 4], [374, 86, 1, 5], [374, 96, 1, 2], [374, 117, 1, 3], [374, 123, 1, 5], [374, 473, 1, 5], [374, 481, 1, 3], [374, 503, 1, 2], [374, 510, 1, 5], [374, 516, 1, 4], [375, 80, 1, 2], [375, 88, 1, 3], [375, 97, 1, 2], [375, 117, 1, 3], [375, 124, 1, 3], [375, 474, 1, 3], [375, 481, 1, 3], [375, 502, 1, 2], [375, 510, 1, 3], [375, 519, 1, 2], [376, 90, 1, 2], [376, 96, 1, 4], [376, 116, 1, 1], [376, 118, 1, 1], [376, 482, 1, 1], [376, 484, 1, 1], [376, 501, 1, 4], [376, 509, 1, 2], [377, 79, 1, 1], [377, 90, 1, 1], [377, 96, 1, 7], [377, 115, 1, 3], [377, 483, 1, 3], [377, 498, 1, 7], [377, 510, 1, 1], [377, 521, 1, 1], [378, 90, 1, 1], [378, 92, 1, 1], [378, 94, 1, 1], [378, 97, 1, 8], [378, 113, 1, 5], [378, 483, 1, 5], [378, 496, 1, 8], [378, 506, 1, 1], [378, 508, 1, 1], [378, 510, 1, 1], [379, 89, 1, 7], [379, 98, 1, 7], [379, 106, 1, 13], [379, 482, 1, 13], [379, 496, 1, 7], [379, 505, 1, 7], [380, 95, 1, 2], [380, 105, 1, 14], [380, 482, 1, 14], [380, 504, 1, 2], [381, 95, 1, 1], [381, 97, 1, 4], [381, 105, 1, 14], [381, 482, 1, 14], [381, 500, 1, 4], [381, 505, 1, 1], [382, 95, 1, 6], [382, 105, 1, 10], [382, 116, 1, 2], [382, 483, 1, 2], [382, 486, 1, 10], [382, 500, 1, 6], [383, 98, 1, 3], [383, 107, 1, 6], [383, 488, 1, 6], [383, 500, 1, 3], [384, 100, 1, 3], [384, 108, 1, 5], [384, 488, 1, 5], [384, 498, 1, 3], [385, 101, 1, 4], [385, 109, 1, 2], [385, 490, 1, 2], [385, 496, 1, 4], [386, 102, 1, 5], [386, 494, 1, 5], [387, 103, 1, 5], [387, 493, 1, 5], [388, 103, 1, 4], [388, 494, 1, 4], [389, 103, 1, 4], [389, 110, 1, 4], [389, 487, 1, 4], [389, 494, 1, 4], [390, 103, 1, 2], [390, 109, 1, 5], [390, 115, 1, 5], [390, 481, 1, 5], [390, 487, 1, 5], [390, 496, 1, 2], [391, 103, 1, 2], [391, 108, 1, 13], [391, 480, 1, 13], [391, 496, 1, 2], [392, 102, 1, 3], [392, 108, 1, 13], [392, 480, 1, 13], [392, 496, 1, 3], [393, 100, 1, 5], [393, 108, 1, 12], [393, 481, 1, 12], [393, 496, 1, 5], [394, 102, 1, 2], [394, 108, 1, 2], [394, 114, 1, 6], [394, 127, 1, 2], [394, 472, 1, 2], [394, 481, 1, 6], [394, 491, 1, 2], [394, 497, 1, 2], [395, 100, 1, 2], [395, 105, 1, 4], [395, 116, 1, 4], [395, 122, 1, 1], [395, 126, 1, 4], [395, 471, 1, 4], [395, 478, 1, 1], [395, 481, 1, 4], [395, 492, 1, 4], [395, 499, 1, 2], [396, 101, 1, 2], [396, 104, 1, 4], [396, 118, 1, 1], [396, 120, 1, 4], [396, 125, 1, 5], [396, 471, 1, 5], [396, 477, 1, 4], [396, 482, 1, 1], [396, 493, 1, 4], [396, 498, 1, 2], [397, 100, 1, 2], [397, 104, 1, 4], [397, 119, 1, 11], [397, 471, 1, 11], [397, 493, 1, 4], [397, 499, 1, 2], [398, 100, 1, 1], [398, 105, 1, 2], [398, 123, 1, 9], [398, 469, 1, 9], [398, 494, 1, 2], [398, 500, 1, 1], [399, 100, 1, 2], [399, 106, 1, 1], [399, 126, 1, 7], [399, 468, 1, 7], [399, 494, 1, 1], [399, 499, 1, 2], [400, 100, 1, 2], [400, 104, 1, 2], [400, 127, 1, 8], [400, 466, 1, 8], [400, 495, 1, 2], [400, 499, 1, 2], [401, 100, 1, 1], [401, 103, 1, 2], [401, 128, 1, 7], [401, 466, 1, 7], [401, 496, 1, 2], [401, 500, 1, 1], [402, 97, 1, 3], [402, 101, 1, 4], [402, 128, 1, 8], [402, 465, 1, 8], [402, 496, 1, 4], [402, 501, 1, 3], [403, 96, 1, 1], [403, 100, 1, 2], [403, 128, 1, 7], [403, 162, 1, 4], [403, 435, 1, 4], [403, 466, 1, 7], [403, 499, 1, 2], [403, 504, 1, 1], [404, 94, 1, 3], [404, 98, 1, 1], [404, 100, 1, 1], [404, 128, 1, 7], [404, 160, 1, 7], [404, 434, 1, 7], [404, 466, 1, 7], [404, 500, 1, 1], [404, 502, 1, 1], [404, 504, 1, 3], [405, 94, 1, 1], [405, 100, 1, 1], [405, 128, 1, 4], [405, 160, 1, 8], [405, 433, 1, 8], [405, 469, 1, 4], [405, 500, 1, 1], [405, 506, 1, 1], [406, 99, 1, 2], [406, 128, 1, 3], [406, 144, 1, 3], [406, 154, 1, 2], [406, 158, 1, 10], [406, 433, 1, 10], [406, 445, 1, 2], [406, 454, 1, 3], [406, 470, 1, 3], [406, 500, 1, 2], [407, 99, 1, 1], [407, 128, 1, 1], [407, 143, 1, 4], [407, 153, 1, 14], [407, 434, 1, 14], [407, 454, 1, 4], [407, 472, 1, 1], [407, 501, 1, 1], [408, 128, 1, 2], [408, 133, 1, 1], [408, 139, 1, 2], [408, 142, 1, 5], [408, 153, 1, 14], [408, 434, 1, 14], [408, 454, 1, 5], [408, 460, 1, 2], [408, 467, 1, 1], [408, 471, 1, 2], [409, 128, 1, 2], [409, 132, 1, 3], [409, 138, 1, 10], [409, 150, 1, 2], [409, 153, 1, 14], [409, 434, 1, 14], [409, 449, 1, 2], [409, 453, 1, 10], [409, 466, 1, 3], [409, 471, 1, 2], [410, 127, 1, 3], [410, 132, 1, 3], [410, 138, 1, 10], [410, 149, 1, 19], [410, 433, 1, 19], [410, 453, 1, 10], [410, 466, 1, 3], [410, 471, 1, 3], [411, 126, 1, 2], [411, 131, 1, 4], [411, 139, 1, 3], [411, 147, 1, 5], [411, 159, 1, 10], [411, 432, 1, 10], [411, 449, 1, 5], [411, 459, 1, 3], [411, 466, 1, 4], [411, 473, 1, 2], [412, 126, 1, 1], [412, 128, 1, 4], [412, 135, 1, 3], [412, 140, 1, 1], [412, 160, 1, 9], [412, 432, 1, 9], [412, 460, 1, 1], [412, 463, 1, 3], [412, 469, 1, 4], [412, 474, 1, 1], [413, 136, 1, 1], [413, 139, 1, 1], [413, 161, 1, 8], [413, 432, 1, 8], [413, 461, 1, 1], [413, 464, 1, 1], [414, 136, 1, 1], [414, 138, 1, 1], [414, 162, 1, 6], [414, 433, 1, 6], [414, 462, 1, 1], [414, 464, 1, 1], [415, 163, 1, 4], [415, 434, 1, 4], [416, 163, 1, 2], [416, 436, 1, 2], [417, 164, 1, 2], [417, 435, 1, 2], [418, 164, 1, 3], [418, 434, 1, 3], [419, 165, 1, 2], [419, 434, 1, 2], [420, 165, 1, 4], [420, 432, 1, 4], [421, 165, 1, 4], [421, 432, 1, 4], [422, 166, 1, 6], [422, 429, 1, 6], [423, 166, 1, 7], [423, 428, 1, 7], [424, 166, 1, 7], [424, 428, 1, 7], [425, 166, 1, 6], [425, 429, 1, 6], [426, 166, 1, 6], [426, 429, 1, 6], [427, 166, 1, 5], [427, 430, 1, 5], [428, 165, 1, 2], [428, 434, 1, 2], [429, 165, 1, 2], [429, 434, 1, 2], [430, 163, 1, 4], [430, 434, 1, 4], [431, 162, 1, 2], [431, 165, 1, 2], [431, 434, 1, 2], [431, 437, 1, 2], [433, 162, 1, 1], [433, 438, 1, 1], [434, 163, 1, 1], [434, 165, 1, 2], [434, 434, 1, 2], [434, 437, 1, 1], [435, 165, 1, 1], [435, 435, 1, 1], [436, 166, 1, 2], [436, 433, 1, 2], [437, 166, 1, 1], [437, 434, 1, 1], [438, 166, 1, 1], [438, 169, 1, 2], [438, 175, 1, 5], [438, 421, 1, 5], [438, 430, 1, 2], [438, 434, 1, 1], [439, 169, 1, 3], [439, 175, 1, 6], [439, 420, 1, 6], [439, 429, 1, 3], [440, 171, 1, 10], [440, 420, 1, 10], [441, 173, 1, 7], [441, 421, 1, 7], [442, 175, 1, 5], [442, 421, 1, 5], [443, 177, 1, 4], [443, 420, 1, 4], [444, 178, 1, 3], [444, 420, 1, 3], [445, 179, 1, 6], [445, 416, 1, 6], [446, 179, 1, 7], [446, 415, 1, 7], [447, 180, 1, 7], [447, 414, 1, 7], [448, 180, 1, 7], [448, 414, 1, 7], [449, 180, 1, 7], [449, 414, 1, 7], [450, 179, 1, 8], [450, 414, 1, 8], [451, 179, 1, 5], [451, 417, 1, 5], [452, 178, 1, 5], [452, 418, 1, 5], [453, 177, 1, 6], [453, 418, 1, 6], [454, 175, 1, 7], [454, 419, 1, 7], [455, 175, 1, 1], [455, 177, 1, 5], [455, 419, 1, 5], [455, 425, 1, 1], [456, 175, 1, 1], [456, 179, 1, 2], [456, 420, 1, 2], [456, 425, 1, 1], [457, 175, 1, 1], [457, 425, 1, 1], [458, 175, 1, 2], [458, 424, 1, 2], [459, 175, 1, 2], [459, 424, 1, 2], [460, 175, 1, 1], [460, 425, 1, 1], [461, 175, 1, 1], [461, 425, 1, 1], [462, 175, 1, 3], [462, 299, 1, 3], [462, 423, 1, 3], [463, 176, 1, 1], [463, 298, 1, 5], [463, 424, 1, 1], [464, 176, 1, 1], [464, 179, 1, 2], [464, 297, 1, 7], [464, 420, 1, 2], [464, 424, 1, 1], [465, 177, 1, 5], [465, 297, 1, 7], [465, 419, 1, 5], [466, 177, 1, 5], [466, 296, 1, 9], [466, 419, 1, 5], [467, 177, 1, 3], [467, 205, 1, 3], [467, 295, 1, 11], [467, 393, 1, 3], [467, 421, 1, 3], [468, 177, 1, 4], [468, 205, 1, 3], [468, 295, 1, 4], [468, 302, 1, 4], [468, 393, 1, 3], [468, 420, 1, 4], [469, 176, 1, 5], [469, 204, 1, 6], [469, 294, 1, 2], [469, 305, 1, 2], [469, 391, 1, 6], [469, 420, 1, 5], [470, 175, 1, 6], [470, 204, 1, 8], [470, 293, 1, 2], [470, 306, 1, 2], [470, 389, 1, 8], [470, 420, 1, 6], [471, 173, 1, 8], [471, 203, 1, 10], [471, 292, 1, 2], [471, 307, 1, 2], [471, 388, 1, 10], [471, 420, 1, 8], [472, 171, 1, 10], [472, 201, 1, 12], [472, 292, 1, 1], [472, 308, 1, 1], [472, 388, 1, 12], [472, 420, 1, 10], [473, 169, 1, 2], [473, 172, 1, 9], [473, 201, 1, 12], [473, 291, 1, 1], [473, 309, 1, 1], [473, 388, 1, 12], [473, 420, 1, 9], [473, 430, 1, 2], [474, 160, 1, 1], [474, 167, 1, 1], [474, 169, 1, 2], [474, 173, 1, 5], [474, 179, 1, 2], [474, 192, 1, 2], [474, 202, 1, 2], [474, 208, 1, 4], [474, 288, 1, 3], [474, 310, 1, 3], [474, 389, 1, 4], [474, 397, 1, 2], [474, 407, 1, 2], [474, 420, 1, 2], [474, 423, 1, 5], [474, 430, 1, 2], [474, 433, 1, 1], [474, 440, 1, 1], [475, 160, 1, 8], [475, 174, 1, 2], [475, 191, 1, 3], [475, 200, 1, 2], [475, 210, 1, 1], [475, 220, 1, 2], [475, 288, 1, 1], [475, 312, 1, 1], [475, 379, 1, 2], [475, 390, 1, 1], [475, 399, 1, 2], [475, 407, 1, 3], [475, 425, 1, 2], [475, 433, 1, 8], [476, 162, 1, 1], [476, 164, 1, 4], [476, 189, 1, 6], [476, 200, 1, 2], [476, 211, 1, 4], [476, 218, 1, 6], [476, 284, 1, 1], [476, 288, 1, 1], [476, 312, 1, 1], [476, 316, 1, 1], [476, 377, 1, 6], [476, 386, 1, 4], [476, 399, 1, 2], [476, 406, 1, 6], [476, 433, 1, 4], [476, 438, 1, 1], [477, 163, 1, 1], [477, 165, 1, 1], [477, 168, 1, 3], [477, 186, 1, 10], [477, 197, 1, 2], [477, 213, 1, 12], [477, 283, 1, 2], [477, 286, 1, 1], [477, 314, 1, 1], [477, 316, 1, 2], [477, 376, 1, 12], [477, 402, 1, 2], [477, 405, 1, 10], [477, 430, 1, 3], [477, 435, 1, 1], [477, 437, 1, 1], [478, 164, 1, 1], [478, 167, 1, 4], [478, 172, 1, 3], [478, 176, 1, 3], [478, 186, 1, 9], [478, 197, 1, 1], [478, 216, 1, 9], [478, 283, 1, 2], [478, 316, 1, 2], [478, 376, 1, 9], [478, 403, 1, 1], [478, 406, 1, 9], [478, 422, 1, 3], [478, 426, 1, 3], [478, 430, 1, 4], [478, 436, 1, 1], [479, 164, 1, 1], [479, 166, 1, 3], [479, 174, 1, 6], [479, 186, 1, 4], [479, 195, 1, 1], [479, 219, 1, 6], [479, 276, 1, 3], [479, 322, 1, 3], [479, 376, 1, 6], [479, 405, 1, 1], [479, 411, 1, 4], [479, 421, 1, 6], [479, 432, 1, 3], [479, 436, 1, 1], [480, 163, 1, 2], [480, 166, 1, 2], [480, 176, 1, 4], [480, 182, 1, 1], [480, 187, 1, 3], [480, 220, 1, 4], [480, 275, 1, 4], [480, 283, 1, 1], [480, 317, 1, 1], [480, 322, 1, 4], [480, 377, 1, 4], [480, 411, 1, 3], [480, 418, 1, 1], [480, 421, 1, 4], [480, 433, 1, 2], [480, 436, 1, 2], [481, 177, 1, 2], [481, 181, 1, 3], [481, 188, 1, 2], [481, 221, 1, 1], [481, 275, 1, 3], [481, 281, 1, 1], [481, 319, 1, 1], [481, 323, 1, 3], [481, 379, 1, 1], [481, 411, 1, 2], [481, 417, 1, 3], [481, 422, 1, 2], [482, 177, 1, 1], [482, 181, 1, 4], [482, 188, 1, 2], [482, 221, 1, 2], [482, 241, 1, 3], [482, 266, 1, 2], [482, 275, 1, 5], [482, 321, 1, 5], [482, 333, 1, 2], [482, 357, 1, 3], [482, 378, 1, 2], [482, 411, 1, 2], [482, 416, 1, 4], [482, 423, 1, 1], [483, 178, 1, 1], [483, 180, 1, 7], [483, 222, 1, 2], [483, 240, 1, 4], [483, 248, 1, 3], [483, 262, 1, 7], [483, 332, 1, 7], [483, 350, 1, 3], [483, 357, 1, 4], [483, 377, 1, 2], [483, 414, 1, 7], [483, 422, 1, 1], [484, 178, 1, 1], [484, 180, 1, 2], [484, 186, 1, 1], [484, 189, 1, 1], [484, 222, 1, 2], [484, 240, 1, 11], [484, 262, 1, 8], [484, 275, 1, 1], [484, 325, 1, 1], [484, 331, 1, 8], [484, 350, 1, 11], [484, 377, 1, 2], [484, 411, 1, 1], [484, 414, 1, 1], [484, 419, 1, 2], [484, 422, 1, 1], [485, 177, 1, 2], [485, 186, 1, 1], [485, 223, 1, 2], [485, 240, 1, 12], [485, 262, 1, 8], [485, 331, 1, 8], [485, 349, 1, 12], [485, 376, 1, 2], [485, 414, 1, 1], [485, 422, 1, 2], [486, 177, 1, 1], [486, 180, 1, 1], [486, 223, 1, 4], [486, 240, 1, 3], [486, 248, 1, 5], [486, 261, 1, 3], [486, 267, 1, 2], [486, 272, 1, 1], [486, 328, 1, 1], [486, 332, 1, 2], [486, 337, 1, 3], [486, 348, 1, 5], [486, 358, 1, 3], [486, 374, 1, 4], [486, 420, 1, 1], [486, 423, 1, 1], [487, 176, 1, 4], [487, 223, 1, 5], [487, 239, 1, 2], [487, 249, 1, 5], [487, 262, 1, 1], [487, 271, 1, 1], [487, 329, 1, 1], [487, 338, 1, 1], [487, 347, 1, 5], [487, 360, 1, 2], [487, 373, 1, 5], [487, 421, 1, 4], [488, 223, 1, 5], [488, 236, 1, 2], [488, 239, 1, 1], [488, 250, 1, 4], [488, 262, 1, 1], [488, 338, 1, 1], [488, 347, 1, 4], [488, 361, 1, 1], [488, 363, 1, 2], [488, 373, 1, 5], [489, 223, 1, 5], [489, 235, 1, 4], [489, 250, 1, 4], [489, 347, 1, 4], [489, 362, 1, 4], [489, 373, 1, 5], [490, 223, 1, 2], [490, 226, 1, 1], [490, 236, 1, 2], [490, 250, 1, 3], [490, 261, 1, 1], [490, 339, 1, 1], [490, 348, 1, 3], [490, 363, 1, 2], [490, 374, 1, 1], [490, 376, 1, 2], [491, 222, 1, 2], [491, 237, 1, 1], [491, 250, 1, 3], [491, 256, 1, 2], [491, 259, 1, 1], [491, 341, 1, 1], [491, 343, 1, 2], [491, 348, 1, 3], [491, 363, 1, 1], [491, 377, 1, 2], [492, 221, 1, 2], [492, 235, 1, 1], [492, 237, 1, 1], [492, 255, 1, 3], [492, 259, 1, 1], [492, 341, 1, 1], [492, 343, 1, 3], [492, 363, 1, 1], [492, 365, 1, 1], [492, 378, 1, 2], [493, 219, 1, 4], [493, 228, 1, 2], [493, 234, 1, 3], [493, 251, 1, 2], [493, 257, 1, 1], [493, 343, 1, 1], [493, 348, 1, 2], [493, 364, 1, 3], [493, 371, 1, 2], [493, 378, 1, 4], [494, 218, 1, 1], [494, 224, 1, 6], [494, 232, 1, 1], [494, 235, 1, 1], [494, 365, 1, 1], [494, 368, 1, 1], [494, 371, 1, 6], [494, 382, 1, 1], [495, 219, 1, 3], [495, 225, 1, 1], [495, 228, 1, 2], [495, 232, 1, 2], [495, 235, 1, 1], [495, 365, 1, 1], [495, 367, 1, 2], [495, 371, 1, 2], [495, 375, 1, 1], [495, 379, 1, 3], [496, 221, 1, 1], [496, 223, 1, 2], [496, 229, 1, 3], [496, 369, 1, 3], [496, 376, 1, 2], [496, 379, 1, 1], [497, 229, 1, 3], [497, 369, 1, 3]], [[61, 299, 1, 1], [61, 301, 1, 1], [62, 298, 1, 2], [62, 301, 1, 2], [63, 298, 1, 1], [63, 302, 1, 1], [64, 289, 1, 1], [64, 297, 1, 1], [64, 303, 1, 1], [64, 311, 1, 1], [65, 294, 1, 1], [65, 297, 1, 1], [65, 303, 1, 1], [65, 306, 1, 1], [67, 296, 1, 1], [67, 304, 1, 1], [68, 297, 1, 1], [68, 303, 1, 1], [69, 298, 1, 2], [69, 301, 1, 2], [90, 299, 1, 1], [90, 301, 1, 1], [93, 299, 1, 1], [93, 301, 1, 1], [102, 299, 1, 1], [102, 301, 1, 1], [112, 298, 1, 2], [112, 301, 1, 2], [116, 299, 1, 1], [116, 301, 1, 1], [118, 293, 1, 1], [118, 299, 1, 1], [118, 301, 1, 1], [118, 307, 1, 1], [119, 292, 1, 1], [119, 294, 1, 2], [119, 298, 1, 1], [119, 302, 1, 1], [119, 305, 1, 2], [119, 308, 1, 1], [120, 295, 1, 2], [120, 304, 1, 2], [121, 297, 1, 2], [121, 302, 1, 2], [122, 299, 1, 1], [122, 301, 1, 1], [123, 298, 1, 2], [123, 301, 1, 2], [124, 299, 1, 1], [124, 301, 1, 1], [125, 298, 1, 2], [125, 301, 1, 2], [126, 298, 1, 1], [126, 302, 1, 1], [127, 297, 1, 2], [127, 302, 1, 2], [128, 298, 1, 2], [128, 301, 1, 2], [129, 298, 1, 2], [129, 301, 1, 2], [130, 297, 1, 2], [130, 302, 1, 2], [131, 269, 1, 1], [131, 290, 1, 1], [131, 296, 1, 1], [131, 298, 1, 1], [131, 302, 1, 1], [131, 304, 1, 1], [131, 310, 1, 1], [131, 331, 1, 1], [132, 270, 1, 1], [132, 296, 1, 2], [132, 303, 1, 2], [132, 330, 1, 1], [133, 271, 1, 1], [133, 274, 1, 1], [133, 293, 1, 5], [133, 303, 1, 5], [133, 326, 1, 1], [133, 329, 1, 1], [134, 271, 1, 2], [134, 274, 1, 1], [134, 292, 1, 1], [134, 296, 1, 1], [134, 304, 1, 1], [134, 308, 1, 1], [134, 326, 1, 1], [134, 328, 1, 2], [135, 277, 1, 1], [135, 292, 1, 2], [135, 307, 1, 2], [135, 323, 1, 1], [136, 277, 1, 2], [136, 292, 1, 2], [136, 307, 1, 2], [136, 322, 1, 2], [137, 277, 1, 1], [137, 279, 1, 1], [137, 291, 1, 4], [137, 306, 1, 4], [137, 321, 1, 1], [137, 323, 1, 1], [138, 279, 1, 3], [138, 284, 1, 2], [138, 289, 1, 1], [138, 291, 1, 3], [138, 307, 1, 3], [138, 311, 1, 1], [138, 315, 1, 2], [138, 319, 1, 3], [139, 282, 1, 5], [139, 289, 1, 2], [139, 292, 1, 2], [139, 307, 1, 2], [139, 310, 1, 2], [139, 314, 1, 5], [140, 280, 1, 1], [140, 286, 1, 5], [140, 310, 1, 5], [140, 320, 1, 1], [141, 287, 1, 4], [141, 310, 1, 4], [142, 281, 1, 2], [142, 318, 1, 2], [143, 283, 1, 2], [143, 316, 1, 2], [144, 283, 1, 2], [144, 316, 1, 2], [145, 283, 1, 2], [145, 316, 1, 2], [146, 283, 1, 2], [146, 316, 1, 2], [147, 283, 1, 2], [147, 316, 1, 2], [148, 283, 1, 2], [148, 316, 1, 2], [149, 280, 1, 3], [149, 284, 1, 1], [149, 316, 1, 1], [149, 318, 1, 3], [150, 281, 1, 2], [150, 318, 1, 2], [151, 277, 1, 5], [151, 319, 1, 5], [152, 281, 1, 1], [152, 319, 1, 1], [153, 282, 1, 2], [153, 317, 1, 2], [154, 282, 1, 3], [154, 316, 1, 3], [155, 282, 1, 3], [155, 316, 1, 3], [156, 281, 1, 1], [156, 319, 1, 1], [157, 282, 1, 3], [157, 316, 1, 3], [158, 215, 1, 1], [158, 261, 1, 1], [158, 282, 1, 4], [158, 315, 1, 4], [158, 339, 1, 1], [158, 385, 1, 1], [159, 230, 1, 1], [159, 261, 1, 1], [159, 263, 1, 2], [159, 282, 1, 3], [159, 316, 1, 3], [159, 336, 1, 2], [159, 339, 1, 1], [159, 370, 1, 1], [160, 229, 1, 1], [160, 261, 1, 2], [160, 282, 1, 4], [160, 315, 1, 4], [160, 338, 1, 2], [160, 371, 1, 1], [161, 217, 1, 1], [161, 262, 1, 1], [161, 276, 1, 2], [161, 281, 1, 5], [161, 315, 1, 5], [161, 323, 1, 2], [161, 338, 1, 1], [161, 383, 1, 1], [162, 218, 1, 1], [162, 223, 1, 1], [162, 229, 1, 1], [162, 236, 1, 1], [162, 264, 1, 1], [162, 266, 1, 1], [162, 277, 1, 5], [162, 283, 1, 3], [162, 315, 1, 3], [162, 319, 1, 5], [162, 334, 1, 1], [162, 336, 1, 1], [162, 364, 1, 1], [162, 371, 1, 1], [162, 377, 1, 1], [162, 382, 1, 1], [163, 219, 1, 1], [163, 223, 1, 1], [163, 226, 1, 2], [163, 229, 1, 1], [163, 231, 1, 2], [163, 236, 1, 1], [163, 264, 1, 3], [163, 274, 1, 2], [163, 277, 1, 5], [163, 319, 1, 5], [163, 325, 1, 2], [163, 334, 1, 3], [163, 364, 1, 1], [163, 368, 1, 2], [163, 371, 1, 1], [163, 373, 1, 2], [163, 377, 1, 1], [163, 381, 1, 1], [164, 219, 1, 1], [164, 225, 1, 1], [164, 233, 1, 2], [164, 266, 1, 2], [164, 269, 1, 2], [164, 274, 1, 2], [164, 279, 1, 2], [164, 320, 1, 2], [164, 325, 1, 2], [164, 330, 1, 2], [164, 333, 1, 2], [164, 366, 1, 2], [164, 375, 1, 1], [164, 381, 1, 1], [165, 232, 1, 1], [165, 264, 1, 1], [165, 267, 1, 7], [165, 275, 1, 1], [165, 325, 1, 1], [165, 327, 1, 7], [165, 336, 1, 1], [165, 368, 1, 1], [166, 234, 1, 1], [166, 236, 1, 1], [166, 238, 1, 1], [166, 264, 1, 1], [166, 270, 1, 4], [166, 327, 1, 4], [166, 336, 1, 1], [166, 362, 1, 1], [166, 364, 1, 1], [166, 366, 1, 1], [167, 235, 1, 1], [167, 237, 1, 1], [167, 271, 1, 3], [167, 327, 1, 3], [167, 363, 1, 1], [167, 365, 1, 1], [168, 236, 1, 2], [168, 262, 1, 3], [168, 336, 1, 3], [168, 363, 1, 2], [169, 262, 1, 1], [169, 338, 1, 1], [170, 236, 1, 2], [170, 251, 1, 1], [170, 262, 1, 1], [170, 338, 1, 1], [170, 349, 1, 1], [170, 363, 1, 2], [171, 237, 1, 1], [171, 252, 1, 1], [171, 262, 1, 2], [171, 337, 1, 2], [171, 348, 1, 1], [171, 363, 1, 1], [172, 235, 1, 1], [172, 237, 1, 2], [172, 253, 1, 1], [172, 261, 1, 3], [172, 337, 1, 3], [172, 347, 1, 1], [172, 362, 1, 2], [172, 365, 1, 1], [173, 238, 1, 1], [173, 251, 1, 1], [173, 260, 1, 4], [173, 337, 1, 4], [173, 349, 1, 1], [173, 362, 1, 1], [174, 236, 1, 1], [174, 238, 1, 2], [174, 241, 1, 1], [174, 243, 1, 1], [174, 251, 1, 4], [174, 259, 1, 2], [174, 262, 1, 2], [174, 337, 1, 2], [174, 340, 1, 2], [174, 346, 1, 4], [174, 357, 1, 1], [174, 359, 1, 1], [174, 361, 1, 2], [174, 364, 1, 1], [175, 234, 1, 2], [175, 240, 1, 2], [175, 243, 1, 1], [175, 250, 1, 2], [175, 253, 1, 3], [175, 258, 1, 3], [175, 340, 1, 3], [175, 345, 1, 3], [175, 349, 1, 2], [175, 357, 1, 1], [175, 359, 1, 2], [175, 365, 1, 2], [176, 237, 1, 1], [176, 242, 1, 2], [176, 247, 1, 1], [176, 249, 1, 1], [176, 253, 1, 8], [176, 340, 1, 8], [176, 351, 1, 1], [176, 353, 1, 1], [176, 357, 1, 2], [176, 363, 1, 1], [177, 237, 1, 1], [177, 242, 1, 6], [177, 254, 1, 2], [177, 257, 1, 3], [177, 341, 1, 3], [177, 345, 1, 2], [177, 353, 1, 6], [177, 363, 1, 1], [178, 237, 1, 2], [178, 242, 1, 4], [178, 247, 1, 1], [178, 258, 1, 2], [178, 341, 1, 2], [178, 353, 1, 1], [178, 355, 1, 4], [178, 362, 1, 2], [179, 238, 1, 1], [179, 244, 1, 2], [179, 355, 1, 2], [179, 362, 1, 1], [180, 238, 1, 2], [180, 361, 1, 2], [181, 239, 1, 1], [181, 361, 1, 1], [182, 237, 1, 2], [182, 362, 1, 2], [183, 234, 1, 1], [183, 236, 1, 2], [183, 363, 1, 2], [183, 366, 1, 1], [184, 231, 1, 3], [184, 240, 1, 1], [184, 360, 1, 1], [184, 367, 1, 3], [185, 239, 1, 3], [185, 359, 1, 3], [186, 241, 1, 2], [186, 358, 1, 2], [187, 241, 1, 3], [187, 357, 1, 3], [188, 241, 1, 2], [188, 358, 1, 2], [189, 241, 1, 1], [189, 359, 1, 1], [190, 240, 1, 2], [190, 359, 1, 2], [191, 238, 1, 1], [191, 240, 1, 1], [191, 242, 1, 2], [191, 357, 1, 2], [191, 360, 1, 1], [191, 362, 1, 1], [192, 244, 1, 2], [192, 355, 1, 2], [193, 244, 1, 2], [193, 355, 1, 2], [194, 246, 1, 3], [194, 352, 1, 3], [195, 246, 1, 3], [195, 352, 1, 3], [196, 245, 1, 3], [196, 353, 1, 3], [197, 244, 1, 5], [197, 352, 1, 5], [198, 243, 1, 1], [198, 246, 1, 2], [198, 353, 1, 2], [198, 357, 1, 1], [200, 244, 1, 2], [200, 355, 1, 2], [201, 245, 1, 1], [201, 355, 1, 1], [202, 245, 1, 1], [202, 355, 1, 1], [203, 228, 1, 1], [203, 232, 1, 1], [203, 244, 1, 2], [203, 355, 1, 2], [203, 368, 1, 1], [203, 372, 1, 1], [204, 228, 1, 2], [204, 233, 1, 2], [204, 243, 1, 4], [204, 354, 1, 4], [204, 366, 1, 2], [204, 371, 1, 2], [205, 228, 1, 1], [205, 235, 1, 1], [205, 243, 1, 4], [205, 354, 1, 4], [205, 365, 1, 1], [205, 372, 1, 1], [206, 228, 1, 1], [206, 230, 1, 1], [206, 232, 1, 2], [206, 236, 1, 1], [206, 241, 1, 2], [206, 358, 1, 2], [206, 364, 1, 1], [206, 367, 1, 2], [206, 370, 1, 1], [206, 372, 1, 1], [207, 229, 1, 1], [207, 233, 1, 2], [207, 236, 1, 2], [207, 241, 1, 2], [207, 358, 1, 2], [207, 363, 1, 2], [207, 366, 1, 2], [207, 371, 1, 1], [208, 224, 1, 2], [208, 227, 1, 2], [208, 235, 1, 8], [208, 358, 1, 8], [208, 372, 1, 2], [208, 375, 1, 2], [209, 225, 1, 1], [209, 227, 1, 1], [209, 237, 1, 2], [209, 240, 1, 2], [209, 359, 1, 2], [209, 362, 1, 2], [209, 373, 1, 1], [209, 375, 1, 1], [210, 227, 1, 1], [210, 234, 1, 1], [210, 366, 1, 1], [210, 373, 1, 1], [211, 225, 1, 1], [211, 375, 1, 1], [212, 235, 1, 2], [212, 364, 1, 2], [213, 237, 1, 1], [213, 363, 1, 1], [214, 236, 1, 2], [214, 363, 1, 2], [216, 235, 1, 1], [216, 238, 1, 2], [216, 361, 1, 2], [216, 365, 1, 1], [217, 241, 1, 1], [217, 359, 1, 1], [218, 241, 1, 1], [218, 359, 1, 1], [219, 242, 1, 4], [219, 355, 1, 4], [220, 243, 1, 3], [220, 355, 1, 3], [221, 244, 1, 1], [221, 356, 1, 1], [222, 244, 1, 3], [222, 354, 1, 3], [223, 244, 1, 3], [223, 354, 1, 3], [224, 240, 1, 7], [224, 354, 1, 7], [225, 237, 1, 1], [225, 243, 1, 3], [225, 355, 1, 3], [225, 363, 1, 1], [226, 237, 1, 1], [226, 243, 1, 3], [226, 355, 1, 3], [226, 363, 1, 1], [227, 239, 1, 2], [227, 360, 1, 2], [228, 236, 1, 2], [228, 239, 1, 3], [228, 359, 1, 3], [228, 363, 1, 2], [230, 243, 1, 1], [230, 357, 1, 1], [231, 243, 1, 1], [231, 357, 1, 1], [232, 244, 1, 2], [232, 355, 1, 2], [233, 246, 1, 4], [233, 351, 1, 4], [234, 248, 1, 3], [234, 350, 1, 3], [235, 248, 1, 3], [235, 350, 1, 3], [236, 247, 1, 1], [236, 353, 1, 1], [237, 246, 1, 1], [237, 354, 1, 1], [239, 246, 1, 1], [239, 248, 1, 2], [239, 351, 1, 2], [239, 354, 1, 1], [240, 246, 1, 1], [240, 250, 1, 1], [240, 350, 1, 1], [240, 354, 1, 1], [241, 251, 1, 1], [241, 349, 1, 1], [242, 253, 1, 2], [242, 346, 1, 2], [243, 253, 1, 1], [243, 347, 1, 1], [245, 253, 1, 1], [245, 347, 1, 1], [246, 253, 1, 1], [246, 255, 1, 2], [246, 344, 1, 2], [246, 347, 1, 1], [247, 257, 1, 2], [247, 342, 1, 2], [248, 258, 1, 1], [248, 342, 1, 1], [249, 258, 1, 1], [249, 342, 1, 1], [250, 259, 1, 3], [250, 339, 1, 3], [251, 260, 1, 4], [251, 337, 1, 4], [252, 261, 1, 3], [252, 337, 1, 3], [253, 262, 1, 5], [253, 334, 1, 5], [254, 263, 1, 4], [254, 334, 1, 4], [255, 263, 1, 6], [255, 332, 1, 6], [256, 263, 1, 7], [256, 331, 1, 7], [257, 263, 1, 8], [257, 330, 1, 8], [258, 262, 1, 9], [258, 330, 1, 9], [259, 262, 1, 10], [259, 329, 1, 10], [260, 260, 1, 11], [260, 330, 1, 11], [261, 259, 1, 11], [261, 331, 1, 11], [262, 256, 1, 2], [262, 259, 1, 4], [262, 265, 1, 2], [262, 334, 1, 2], [262, 338, 1, 4], [262, 343, 1, 2], [263, 253, 1, 5], [263, 260, 1, 2], [263, 339, 1, 2], [263, 343, 1, 5], [264, 241, 1, 1], [264, 249, 1, 2], [264, 254, 1, 2], [264, 345, 1, 2], [264, 350, 1, 2], [264, 359, 1, 1], [265, 229, 1, 1], [265, 241, 1, 1], [265, 246, 1, 3], [265, 352, 1, 3], [265, 359, 1, 1], [265, 371, 1, 1], [266, 230, 1, 1], [266, 240, 1, 1], [266, 246, 1, 2], [266, 353, 1, 2], [266, 360, 1, 1], [266, 370, 1, 1], [267, 228, 1, 1], [267, 232, 1, 1], [267, 238, 1, 1], [267, 246, 1, 2], [267, 353, 1, 2], [267, 362, 1, 1], [267, 368, 1, 1], [267, 372, 1, 1], [269, 226, 1, 2], [269, 234, 1, 1], [269, 237, 1, 1], [269, 363, 1, 1], [269, 366, 1, 1], [269, 373, 1, 2], [270, 206, 1, 1], [270, 235, 1, 4], [270, 362, 1, 4], [270, 394, 1, 1], [271, 205, 1, 1], [271, 207, 1, 1], [271, 211, 1, 2], [271, 235, 1, 4], [271, 362, 1, 4], [271, 388, 1, 2], [271, 393, 1, 1], [271, 395, 1, 1], [272, 204, 1, 4], [272, 210, 1, 1], [272, 236, 1, 2], [272, 363, 1, 2], [272, 390, 1, 1], [272, 393, 1, 4], [273, 206, 1, 1], [273, 208, 1, 2], [273, 212, 1, 1], [273, 388, 1, 1], [273, 391, 1, 2], [273, 394, 1, 1], [274, 206, 1, 1], [274, 211, 1, 2], [274, 223, 1, 1], [274, 225, 1, 2], [274, 374, 1, 2], [274, 377, 1, 1], [274, 388, 1, 2], [274, 394, 1, 1], [275, 224, 1, 3], [275, 374, 1, 3], [276, 205, 1, 1], [276, 215, 1, 1], [276, 224, 1, 3], [276, 374, 1, 3], [276, 385, 1, 1], [276, 395, 1, 1], [277, 214, 1, 3], [277, 224, 1, 3], [277, 374, 1, 3], [277, 384, 1, 3], [278, 204, 1, 2], [278, 214, 1, 1], [278, 217, 1, 1], [278, 219, 1, 2], [278, 223, 1, 4], [278, 374, 1, 4], [278, 380, 1, 2], [278, 383, 1, 1], [278, 386, 1, 1], [278, 395, 1, 2], [279, 202, 1, 3], [279, 220, 1, 4], [279, 377, 1, 4], [279, 396, 1, 3], [280, 200, 1, 1], [280, 220, 1, 3], [280, 378, 1, 3], [280, 400, 1, 1], [281, 220, 1, 2], [281, 379, 1, 2], [282, 202, 1, 1], [282, 206, 1, 2], [282, 393, 1, 2], [282, 398, 1, 1], [283, 202, 1, 6], [283, 393, 1, 6], [284, 163, 1, 1], [284, 205, 1, 2], [284, 394, 1, 2], [284, 437, 1, 1], [285, 205, 1, 1], [285, 395, 1, 1], [286, 166, 1, 1], [286, 205, 1, 1], [286, 395, 1, 1], [286, 434, 1, 1], [287, 164, 1, 3], [287, 177, 1, 1], [287, 206, 1, 1], [287, 394, 1, 1], [287, 423, 1, 1], [287, 434, 1, 3], [288, 164, 1, 1], [288, 176, 1, 1], [288, 178, 1, 1], [288, 206, 1, 1], [288, 394, 1, 1], [288, 422, 1, 1], [288, 424, 1, 1], [288, 436, 1, 1], [289, 163, 1, 1], [289, 165, 1, 1], [289, 167, 1, 1], [289, 175, 1, 2], [289, 178, 1, 2], [289, 206, 1, 1], [289, 394, 1, 1], [289, 421, 1, 2], [289, 424, 1, 2], [289, 433, 1, 1], [289, 435, 1, 1], [289, 437, 1, 1], [290, 166, 1, 1], [290, 176, 1, 1], [290, 178, 1, 1], [290, 206, 1, 3], [290, 392, 1, 3], [290, 422, 1, 1], [290, 424, 1, 1], [290, 434, 1, 1], [291, 169, 1, 1], [291, 178, 1, 1], [291, 205, 1, 4], [291, 392, 1, 4], [291, 422, 1, 1], [291, 431, 1, 1], [292, 167, 1, 1], [292, 170, 1, 1], [292, 173, 1, 1], [292, 178, 1, 1], [292, 202, 1, 1], [292, 204, 1, 4], [292, 393, 1, 4], [292, 398, 1, 1], [292, 422, 1, 1], [292, 427, 1, 1], [292, 430, 1, 1], [292, 433, 1, 1], [293, 170, 1, 1], [293, 172, 1, 2], [293, 427, 1, 2], [293, 430, 1, 1], [294, 168, 1, 1], [294, 171, 1, 2], [294, 176, 1, 2], [294, 184, 1, 1], [294, 187, 1, 1], [294, 413, 1, 1], [294, 416, 1, 1], [294, 423, 1, 2], [294, 428, 1, 2], [294, 432, 1, 1], [295, 169, 1, 1], [295, 176, 1, 3], [295, 184, 1, 1], [295, 190, 1, 1], [295, 199, 1, 1], [295, 401, 1, 1], [295, 410, 1, 1], [295, 416, 1, 1], [295, 422, 1, 3], [295, 431, 1, 1], [296, 165, 1, 1], [296, 167, 1, 3], [296, 175, 1, 5], [296, 182, 1, 2], [296, 192, 1, 1], [296, 199, 1, 1], [296, 401, 1, 1], [296, 408, 1, 1], [296, 417, 1, 2], [296, 421, 1, 5], [296, 431, 1, 3], [296, 435, 1, 1], [297, 176, 1, 2], [297, 179, 1, 1], [297, 181, 1, 4], [297, 191, 1, 2], [297, 199, 1, 2], [297, 400, 1, 2], [297, 408, 1, 2], [297, 416, 1, 4], [297, 421, 1, 1], [297, 423, 1, 2], [298, 183, 1, 2], [298, 191, 1, 4], [298, 198, 1, 4], [298, 399, 1, 4], [298, 406, 1, 4], [298, 416, 1, 2], [299, 168, 1, 2], [299, 195, 1, 6], [299, 400, 1, 6], [299, 431, 1, 2], [300, 168, 1, 1], [300, 195, 1, 5], [300, 401, 1, 5], [300, 432, 1, 1], [301, 166, 1, 1], [301, 196, 1, 3], [301, 402, 1, 3], [301, 434, 1, 1], [302, 166, 1, 1], [302, 171, 1, 3], [302, 196, 1, 2], [302, 403, 1, 2], [302, 427, 1, 3], [302, 434, 1, 1], [303, 165, 1, 1], [303, 168, 1, 6], [303, 427, 1, 6], [303, 435, 1, 1], [304, 160, 1, 1], [304, 162, 1, 1], [304, 164, 1, 2], [304, 168, 1, 6], [304, 427, 1, 6], [304, 435, 1, 2], [304, 438, 1, 1], [304, 440, 1, 1], [305, 161, 1, 1], [305, 168, 1, 1], [305, 172, 1, 1], [305, 428, 1, 1], [305, 432, 1, 1], [305, 439, 1, 1], [306, 162, 1, 3], [306, 166, 1, 1], [306, 173, 1, 2], [306, 426, 1, 2], [306, 434, 1, 1], [306, 436, 1, 3], [307, 163, 1, 1], [307, 174, 1, 1], [307, 426, 1, 1], [307, 437, 1, 1], [308, 163, 1, 1], [308, 174, 1, 3], [308, 424, 1, 3], [308, 437, 1, 1], [309, 173, 1, 3], [309, 425, 1, 3], [311, 172, 1, 1], [311, 428, 1, 1], [314, 172, 1, 2], [314, 427, 1, 2], [315, 174, 1, 1], [315, 426, 1, 1], [316, 177, 1, 2], [316, 422, 1, 2], [317, 176, 1, 4], [317, 421, 1, 4], [318, 179, 1, 2], [318, 420, 1, 2], [319, 180, 1, 4], [319, 417, 1, 4], [320, 181, 1, 4], [320, 416, 1, 4], [321, 181, 1, 3], [321, 417, 1, 3], [322, 180, 1, 4], [322, 417, 1, 4], [323, 180, 1, 3], [323, 418, 1, 3], [324, 179, 1, 1], [324, 421, 1, 1], [325, 178, 1, 1], [325, 422, 1, 1], [326, 178, 1, 1], [326, 422, 1, 1], [327, 177, 1, 1], [327, 423, 1, 1], [328, 170, 1, 1], [328, 172, 1, 1], [328, 177, 1, 2], [328, 422, 1, 2], [328, 428, 1, 1], [328, 430, 1, 1], [329, 169, 1, 1], [329, 173, 1, 1], [329, 176, 1, 3], [329, 422, 1, 3], [329, 427, 1, 1], [329, 431, 1, 1], [330, 165, 1, 2], [330, 169, 1, 1], [330, 173, 1, 7], [330, 421, 1, 7], [330, 431, 1, 1], [330, 434, 1, 2], [331, 166, 1, 2], [331, 169, 1, 1], [331, 173, 1, 1], [331, 427, 1, 1], [331, 431, 1, 1], [331, 433, 1, 2], [332, 165, 1, 1], [332, 435, 1, 1], [336, 165, 1, 1], [336, 435, 1, 1], [338, 166, 1, 1], [338, 434, 1, 1], [339, 167, 1, 1], [339, 170, 1, 1], [339, 430, 1, 1], [339, 433, 1, 1], [340, 169, 1, 2], [340, 430, 1, 2], [341, 170, 1, 2], [341, 429, 1, 2], [342, 171, 1, 3], [342, 427, 1, 3], [343, 171, 1, 3], [343, 427, 1, 3], [344, 170, 1, 3], [344, 428, 1, 3], [345, 172, 1, 1], [345, 428, 1, 1], [346, 168, 1, 1], [346, 432, 1, 1], [348, 131, 1, 1], [348, 469, 1, 1], [350, 130, 1, 2], [350, 469, 1, 2], [351, 131, 1, 3], [351, 167, 1, 1], [351, 433, 1, 1], [351, 467, 1, 3], [352, 134, 1, 1], [352, 168, 1, 2], [352, 431, 1, 2], [352, 466, 1, 1], [353, 131, 1, 1], [353, 149, 1, 1], [353, 168, 1, 2], [353, 431, 1, 2], [353, 451, 1, 1], [353, 469, 1, 1], [354, 148, 1, 1], [354, 168, 1, 1], [354, 432, 1, 1], [354, 452, 1, 1], [355, 132, 1, 1], [355, 167, 1, 1], [355, 433, 1, 1], [355, 468, 1, 1], [356, 144, 1, 1], [356, 146, 1, 1], [356, 149, 1, 2], [356, 167, 1, 1], [356, 433, 1, 1], [356, 450, 1, 2], [356, 454, 1, 1], [356, 456, 1, 1], [357, 129, 1, 1], [357, 132, 1, 1], [357, 149, 1, 2], [357, 167, 1, 1], [357, 433, 1, 1], [357, 450, 1, 2], [357, 468, 1, 1], [357, 471, 1, 1], [358, 129, 1, 1], [358, 131, 1, 3], [358, 137, 1, 3], [358, 144, 1, 1], [358, 150, 1, 2], [358, 154, 1, 3], [358, 158, 1, 1], [358, 167, 1, 1], [358, 433, 1, 1], [358, 442, 1, 1], [358, 444, 1, 3], [358, 449, 1, 2], [358, 456, 1, 1], [358, 461, 1, 3], [358, 467, 1, 3], [358, 471, 1, 1], [359, 129, 1, 1], [359, 133, 1, 1], [359, 135, 1, 2], [359, 139, 1, 1], [359, 143, 1, 3], [359, 152, 1, 2], [359, 158, 1, 1], [359, 167, 1, 2], [359, 432, 1, 2], [359, 442, 1, 1], [359, 447, 1, 2], [359, 455, 1, 3], [359, 461, 1, 1], [359, 464, 1, 2], [359, 467, 1, 1], [359, 471, 1, 1], [360, 123, 1, 1], [360, 125, 1, 1], [360, 128, 1, 2], [360, 139, 1, 7], [360, 152, 1, 2], [360, 158, 1, 2], [360, 166, 1, 3], [360, 432, 1, 3], [360, 441, 1, 2], [360, 447, 1, 2], [360, 455, 1, 7], [360, 471, 1, 2], [360, 475, 1, 1], [360, 477, 1, 1], [361, 126, 1, 1], [361, 142, 1, 4], [361, 158, 1, 11], [361, 432, 1, 11], [361, 455, 1, 4], [361, 474, 1, 1], [362, 127, 1, 2], [362, 131, 1, 2], [362, 162, 1, 6], [362, 433, 1, 6], [362, 468, 1, 2], [362, 472, 1, 2], [363, 129, 1, 5], [363, 162, 1, 7], [363, 432, 1, 7], [363, 467, 1, 5], [364, 132, 1, 3], [364, 163, 1, 6], [364, 432, 1, 6], [364, 466, 1, 3], [365, 132, 1, 1], [365, 165, 1, 3], [365, 433, 1, 3], [365, 468, 1, 1], [366, 78, 1, 1], [366, 132, 1, 1], [366, 468, 1, 1], [366, 522, 1, 1], [367, 80, 1, 1], [367, 132, 1, 1], [367, 468, 1, 1], [367, 520, 1, 1], [368, 131, 1, 3], [368, 467, 1, 3], [369, 80, 1, 1], [369, 129, 1, 5], [369, 467, 1, 5], [369, 520, 1, 1], [370, 131, 1, 1], [370, 469, 1, 1], [371, 82, 1, 1], [371, 96, 1, 1], [371, 129, 1, 1], [371, 471, 1, 1], [371, 504, 1, 1], [371, 518, 1, 1], [372, 95, 1, 1], [372, 505, 1, 1], [373, 86, 1, 2], [373, 120, 1, 1], [373, 128, 1, 3], [373, 470, 1, 3], [373, 480, 1, 1], [373, 513, 1, 2], [374, 91, 1, 1], [374, 94, 1, 2], [374, 122, 1, 1], [374, 128, 1, 3], [374, 470, 1, 3], [374, 478, 1, 1], [374, 505, 1, 2], [374, 509, 1, 1], [375, 91, 1, 1], [375, 96, 1, 1], [375, 120, 1, 1], [375, 123, 1, 1], [375, 127, 1, 3], [375, 471, 1, 3], [375, 477, 1, 1], [375, 480, 1, 1], [375, 504, 1, 1], [375, 509, 1, 1], [376, 78, 1, 2], [376, 119, 1, 2], [376, 122, 1, 5], [376, 128, 1, 2], [376, 471, 1, 2], [376, 474, 1, 5], [376, 480, 1, 2], [376, 521, 1, 2], [377, 91, 1, 1], [377, 95, 1, 1], [377, 122, 1, 3], [377, 476, 1, 3], [377, 505, 1, 1], [377, 509, 1, 1], [378, 91, 1, 1], [378, 93, 1, 1], [378, 96, 1, 1], [378, 118, 1, 1], [378, 120, 1, 1], [378, 480, 1, 1], [378, 482, 1, 1], [378, 504, 1, 1], [378, 507, 1, 1], [378, 509, 1, 1], [379, 96, 1, 2], [379, 105, 1, 1], [379, 119, 1, 2], [379, 480, 1, 2], [379, 495, 1, 1], [379, 503, 1, 2], [380, 100, 1, 4], [380, 119, 1, 3], [380, 479, 1, 3], [380, 497, 1, 4], [381, 96, 1, 1], [381, 101, 1, 1], [381, 104, 1, 1], [381, 119, 1, 3], [381, 479, 1, 3], [381, 496, 1, 1], [381, 499, 1, 1], [381, 504, 1, 1], [382, 101, 1, 1], [382, 104, 1, 1], [382, 115, 1, 1], [382, 118, 1, 2], [382, 481, 1, 2], [382, 485, 1, 1], [382, 496, 1, 1], [382, 499, 1, 1], [383, 102, 1, 2], [383, 106, 1, 1], [383, 113, 1, 2], [383, 116, 1, 3], [383, 482, 1, 3], [383, 486, 1, 2], [383, 494, 1, 1], [383, 497, 1, 2], [384, 104, 1, 2], [384, 113, 1, 1], [384, 116, 1, 3], [384, 482, 1, 3], [384, 487, 1, 1], [384, 495, 1, 2], [385, 105, 1, 1], [385, 108, 1, 1], [385, 111, 1, 3], [385, 487, 1, 3], [385, 492, 1, 1], [385, 495, 1, 1], [386, 109, 1, 2], [386, 490, 1, 2], [387, 108, 1, 1], [387, 492, 1, 1], [388, 107, 1, 1], [388, 109, 1, 5], [388, 117, 1, 3], [388, 481, 1, 3], [388, 487, 1, 5], [388, 493, 1, 1], [389, 109, 1, 1], [389, 115, 1, 1], [389, 117, 1, 2], [389, 120, 1, 1], [389, 480, 1, 1], [389, 482, 1, 2], [389, 485, 1, 1], [389, 491, 1, 1], [390, 105, 1, 2], [390, 120, 1, 3], [390, 478, 1, 3], [390, 494, 1, 2], [391, 105, 1, 1], [391, 107, 1, 1], [391, 121, 1, 2], [391, 478, 1, 2], [391, 493, 1, 1], [391, 495, 1, 1], [392, 107, 1, 1], [392, 121, 1, 2], [392, 126, 1, 1], [392, 130, 1, 1], [392, 470, 1, 1], [392, 474, 1, 1], [392, 478, 1, 2], [392, 493, 1, 1], [393, 105, 1, 1], [393, 107, 1, 1], [393, 120, 1, 1], [393, 124, 1, 3], [393, 128, 1, 4], [393, 469, 1, 4], [393, 474, 1, 3], [393, 480, 1, 1], [393, 493, 1, 1], [393, 495, 1, 1], [394, 100, 1, 2], [394, 104, 1, 4], [394, 122, 1, 1], [394, 124, 1, 3], [394, 129, 1, 4], [394, 468, 1, 4], [394, 474, 1, 3], [394, 478, 1, 1], [394, 493, 1, 4], [394, 499, 1, 2], [395, 102, 1, 3], [395, 121, 1, 1], [395, 123, 1, 1], [395, 125, 1, 1], [395, 130, 1, 3], [395, 468, 1, 3], [395, 475, 1, 1], [395, 477, 1, 1], [395, 479, 1, 1], [395, 496, 1, 3], [396, 119, 1, 1], [396, 130, 1, 1], [396, 470, 1, 1], [396, 481, 1, 1], [397, 102, 1, 2], [397, 497, 1, 2], [398, 104, 1, 1], [398, 132, 1, 1], [398, 134, 1, 3], [398, 166, 1, 1], [398, 434, 1, 1], [398, 464, 1, 3], [398, 468, 1, 1], [398, 496, 1, 1], [399, 104, 1, 2], [399, 133, 1, 4], [399, 165, 1, 3], [399, 433, 1, 3], [399, 464, 1, 4], [399, 495, 1, 2], [400, 102, 1, 2], [400, 135, 1, 1], [400, 163, 1, 6], [400, 432, 1, 6], [400, 465, 1, 1], [400, 497, 1, 2], [401, 101, 1, 2], [401, 135, 1, 2], [401, 163, 1, 6], [401, 432, 1, 6], [401, 464, 1, 2], [401, 498, 1, 2], [402, 100, 1, 1], [402, 136, 1, 2], [402, 162, 1, 7], [402, 432, 1, 7], [402, 463, 1, 2], [402, 500, 1, 1], [403, 97, 1, 3], [403, 135, 1, 3], [403, 160, 1, 2], [403, 166, 1, 2], [403, 433, 1, 2], [403, 439, 1, 2], [403, 463, 1, 3], [403, 501, 1, 3], [404, 99, 1, 1], [404, 135, 1, 3], [404, 145, 1, 4], [404, 155, 1, 1], [404, 159, 1, 1], [404, 167, 1, 2], [404, 432, 1, 2], [404, 441, 1, 1], [404, 445, 1, 1], [404, 452, 1, 4], [404, 463, 1, 3], [404, 501, 1, 1], [405, 99, 1, 1], [405, 133, 1, 1], [405, 135, 1, 2], [405, 144, 1, 5], [405, 154, 1, 2], [405, 158, 1, 2], [405, 168, 1, 1], [405, 432, 1, 1], [405, 441, 1, 2], [405, 445, 1, 2], [405, 452, 1, 5], [405, 464, 1, 2], [405, 467, 1, 1], [405, 501, 1, 1], [406, 131, 1, 1], [406, 140, 1, 1], [406, 143, 1, 1], [406, 147, 1, 1], [406, 152, 1, 1], [406, 156, 1, 2], [406, 168, 1, 2], [406, 431, 1, 2], [406, 443, 1, 2], [406, 448, 1, 1], [406, 453, 1, 1], [406, 457, 1, 1], [406, 460, 1, 1], [406, 469, 1, 1], [407, 129, 1, 2], [407, 133, 1, 2], [407, 139, 1, 2], [407, 142, 1, 1], [407, 147, 1, 1], [407, 152, 1, 1], [407, 167, 1, 1], [407, 433, 1, 1], [407, 448, 1, 1], [407, 453, 1, 1], [407, 458, 1, 1], [407, 460, 1, 2], [407, 466, 1, 2], [407, 470, 1, 2], [408, 130, 1, 1], [408, 132, 1, 1], [408, 134, 1, 1], [408, 136, 1, 3], [408, 141, 1, 1], [408, 149, 1, 1], [408, 451, 1, 1], [408, 459, 1, 1], [408, 462, 1, 3], [408, 466, 1, 1], [408, 468, 1, 1], [408, 470, 1, 1], [409, 130, 1, 2], [409, 137, 1, 1], [409, 148, 1, 2], [409, 167, 1, 1], [409, 433, 1, 1], [409, 451, 1, 2], [409, 463, 1, 1], [409, 469, 1, 2], [410, 131, 1, 1], [410, 135, 1, 1], [410, 137, 1, 1], [410, 463, 1, 1], [410, 465, 1, 1], [410, 469, 1, 1], [411, 129, 1, 2], [411, 135, 1, 2], [411, 169, 1, 1], [411, 431, 1, 1], [411, 464, 1, 2], [411, 470, 1, 2], [412, 169, 1, 1], [412, 431, 1, 1], [413, 138, 1, 1], [413, 169, 1, 2], [413, 430, 1, 2], [413, 462, 1, 1], [414, 137, 1, 1], [414, 168, 1, 3], [414, 430, 1, 3], [414, 463, 1, 1], [420, 169, 1, 1], [420, 431, 1, 1], [421, 169, 1, 1], [421, 172, 1, 2], [421, 427, 1, 2], [421, 431, 1, 1], [422, 172, 1, 2], [422, 427, 1, 2], [423, 173, 1, 2], [423, 426, 1, 2], [424, 173, 1, 3], [424, 425, 1, 3], [425, 172, 1, 3], [425, 426, 1, 3], [427, 171, 1, 1], [427, 429, 1, 1], [428, 169, 1, 3], [428, 429, 1, 3], [429, 169, 1, 3], [429, 429, 1, 3], [431, 167, 1, 1], [431, 433, 1, 1], [432, 163, 1, 1], [432, 167, 1, 1], [432, 433, 1, 1], [432, 437, 1, 1], [434, 167, 1, 1], [434, 433, 1, 1], [435, 166, 1, 1], [435, 434, 1, 1], [436, 174, 1, 1], [436, 180, 1, 1], [436, 420, 1, 1], [436, 426, 1, 1], [437, 169, 1, 1], [437, 171, 1, 1], [437, 174, 1, 2], [437, 177, 1, 5], [437, 419, 1, 5], [437, 425, 1, 2], [437, 429, 1, 1], [437, 431, 1, 1], [438, 167, 1, 1], [438, 171, 1, 1], [438, 174, 1, 1], [438, 180, 1, 3], [438, 418, 1, 3], [438, 426, 1, 1], [438, 429, 1, 1], [438, 433, 1, 1], [439, 174, 1, 1], [439, 426, 1, 1], [441, 180, 1, 1], [441, 420, 1, 1], [443, 181, 1, 1], [443, 419, 1, 1], [444, 181, 1, 2], [444, 185, 1, 2], [444, 414, 1, 2], [444, 418, 1, 2], [445, 185, 1, 2], [445, 414, 1, 2], [446, 186, 1, 1], [446, 414, 1, 1], [447, 187, 1, 1], [447, 413, 1, 1], [448, 187, 1, 3], [448, 411, 1, 3], [449, 187, 1, 4], [449, 410, 1, 4], [450, 187, 1, 4], [450, 410, 1, 4], [451, 184, 1, 4], [451, 413, 1, 4], [452, 183, 1, 1], [452, 185, 1, 2], [452, 414, 1, 2], [452, 417, 1, 1], [454, 182, 1, 1], [454, 418, 1, 1], [456, 178, 1, 1], [456, 181, 1, 2], [456, 418, 1, 2], [456, 422, 1, 1], [457, 179, 1, 4], [457, 418, 1, 4], [458, 177, 1, 1], [458, 179, 1, 2], [458, 420, 1, 2], [458, 423, 1, 1], [459, 177, 1, 1], [459, 300, 1, 1], [459, 423, 1, 1], [460, 176, 1, 2], [460, 299, 1, 3], [460, 423, 1, 2], [461, 176, 1, 1], [461, 299, 1, 3], [461, 424, 1, 1], [462, 178, 1, 1], [462, 181, 1, 1], [462, 298, 1, 1], [462, 302, 1, 1], [462, 419, 1, 1], [462, 422, 1, 1], [463, 177, 1, 1], [463, 180, 1, 3], [463, 418, 1, 3], [463, 423, 1, 1], [464, 177, 1, 2], [464, 181, 1, 1], [464, 205, 1, 2], [464, 394, 1, 2], [464, 419, 1, 1], [464, 422, 1, 2], [465, 182, 1, 1], [465, 205, 1, 2], [465, 296, 1, 1], [465, 304, 1, 1], [465, 394, 1, 2], [465, 418, 1, 1], [466, 182, 1, 2], [466, 205, 1, 5], [466, 391, 1, 5], [466, 417, 1, 2], [467, 181, 1, 3], [467, 204, 1, 1], [467, 208, 1, 1], [467, 392, 1, 1], [467, 396, 1, 1], [467, 417, 1, 3], [468, 203, 1, 2], [468, 208, 1, 1], [468, 293, 1, 1], [468, 307, 1, 1], [468, 392, 1, 1], [468, 396, 1, 2], [469, 213, 1, 1], [469, 387, 1, 1], [470, 181, 1, 1], [470, 212, 1, 2], [470, 291, 1, 1], [470, 309, 1, 1], [470, 387, 1, 2], [470, 419, 1, 1], [471, 182, 1, 1], [471, 200, 1, 2], [471, 213, 1, 2], [471, 386, 1, 2], [471, 399, 1, 2], [471, 418, 1, 1], [472, 181, 1, 2], [472, 200, 1, 1], [472, 288, 1, 1], [472, 312, 1, 1], [472, 400, 1, 1], [472, 418, 1, 2], [473, 171, 1, 1], [473, 181, 1, 1], [473, 191, 1, 5], [473, 200, 1, 1], [473, 220, 1, 1], [473, 288, 1, 1], [473, 312, 1, 1], [473, 380, 1, 1], [473, 400, 1, 1], [473, 405, 1, 5], [473, 419, 1, 1], [473, 429, 1, 1], [474, 168, 1, 1], [474, 172, 1, 1], [474, 178, 1, 1], [474, 181, 1, 1], [474, 191, 1, 1], [474, 194, 1, 1], [474, 201, 1, 1], [474, 213, 1, 1], [474, 219, 1, 3], [474, 379, 1, 3], [474, 387, 1, 1], [474, 399, 1, 1], [474, 406, 1, 1], [474, 409, 1, 1], [474, 419, 1, 1], [474, 422, 1, 1], [474, 428, 1, 1], [474, 432, 1, 1], [475, 168, 1, 2], [475, 178, 1, 4], [475, 186, 1, 2], [475, 189, 1, 1], [475, 194, 1, 2], [475, 199, 1, 1], [475, 219, 1, 1], [475, 222, 1, 1], [475, 225, 1, 2], [475, 284, 1, 2], [475, 315, 1, 2], [475, 374, 1, 2], [475, 378, 1, 1], [475, 381, 1, 1], [475, 401, 1, 1], [475, 405, 1, 2], [475, 411, 1, 1], [475, 413, 1, 2], [475, 419, 1, 4], [475, 431, 1, 2], [476, 160, 1, 1], [476, 169, 1, 1], [476, 173, 1, 2], [476, 181, 1, 1], [476, 185, 1, 4], [476, 197, 1, 1], [476, 216, 1, 2], [476, 224, 1, 3], [476, 283, 1, 1], [476, 285, 1, 1], [476, 315, 1, 1], [476, 317, 1, 1], [476, 374, 1, 3], [476, 383, 1, 2], [476, 403, 1, 1], [476, 412, 1, 4], [476, 419, 1, 1], [476, 426, 1, 2], [476, 431, 1, 1], [476, 440, 1, 1], [477, 164, 1, 1], [477, 172, 1, 2], [477, 175, 1, 3], [477, 184, 1, 2], [477, 225, 1, 2], [477, 374, 1, 2], [477, 415, 1, 2], [477, 423, 1, 3], [477, 427, 1, 2], [477, 436, 1, 1], [478, 165, 1, 2], [478, 171, 1, 1], [478, 175, 1, 1], [478, 179, 1, 2], [478, 184, 1, 2], [478, 195, 1, 1], [478, 225, 1, 1], [478, 277, 1, 1], [478, 323, 1, 1], [478, 375, 1, 1], [478, 405, 1, 1], [478, 415, 1, 2], [478, 420, 1, 2], [478, 425, 1, 1], [478, 429, 1, 1], [478, 434, 1, 2], [479, 180, 1, 1], [479, 182, 1, 1], [479, 225, 1, 1], [479, 275, 1, 1], [479, 279, 1, 1], [479, 283, 1, 1], [479, 317, 1, 1], [479, 321, 1, 1], [479, 325, 1, 1], [479, 375, 1, 1], [479, 418, 1, 1], [479, 420, 1, 1], [480, 183, 1, 1], [480, 186, 1, 1], [480, 224, 1, 2], [480, 240, 1, 2], [480, 267, 1, 1], [480, 279, 1, 1], [480, 281, 1, 1], [480, 319, 1, 1], [480, 321, 1, 1], [480, 333, 1, 1], [480, 359, 1, 2], [480, 375, 1, 2], [480, 414, 1, 1], [480, 417, 1, 1], [481, 179, 1, 1], [481, 184, 1, 1], [481, 187, 1, 1], [481, 223, 1, 1], [481, 225, 1, 1], [481, 240, 1, 4], [481, 249, 1, 1], [481, 251, 1, 1], [481, 262, 1, 2], [481, 266, 1, 2], [481, 279, 1, 1], [481, 321, 1, 1], [481, 333, 1, 2], [481, 337, 1, 2], [481, 349, 1, 1], [481, 351, 1, 1], [481, 357, 1, 4], [481, 375, 1, 1], [481, 377, 1, 1], [481, 413, 1, 1], [481, 416, 1, 1], [481, 421, 1, 1], [482, 178, 1, 1], [482, 240, 1, 1], [482, 244, 1, 1], [482, 249, 1, 3], [482, 262, 1, 2], [482, 265, 1, 1], [482, 335, 1, 1], [482, 337, 1, 2], [482, 349, 1, 3], [482, 356, 1, 1], [482, 360, 1, 1], [482, 422, 1, 1], [483, 187, 1, 3], [483, 224, 1, 1], [483, 239, 1, 1], [483, 251, 1, 2], [483, 269, 1, 2], [483, 275, 1, 1], [483, 325, 1, 1], [483, 330, 1, 2], [483, 348, 1, 2], [483, 361, 1, 1], [483, 376, 1, 1], [483, 411, 1, 3], [484, 224, 1, 1], [484, 376, 1, 1], [485, 179, 1, 2], [485, 187, 1, 1], [485, 225, 1, 1], [485, 227, 1, 2], [485, 272, 1, 1], [485, 274, 1, 1], [485, 326, 1, 1], [485, 328, 1, 1], [485, 372, 1, 2], [485, 375, 1, 1], [485, 413, 1, 1], [485, 420, 1, 2], [486, 179, 1, 1], [486, 227, 1, 1], [486, 236, 1, 1], [486, 260, 1, 1], [486, 269, 1, 1], [486, 331, 1, 1], [486, 340, 1, 1], [486, 364, 1, 1], [486, 373, 1, 1], [486, 421, 1, 1], [487, 228, 1, 1], [487, 235, 1, 2], [487, 254, 1, 2], [487, 270, 1, 1], [487, 330, 1, 1], [487, 345, 1, 2], [487, 364, 1, 2], [487, 372, 1, 1], [488, 228, 1, 2], [488, 235, 1, 1], [488, 254, 1, 3], [488, 261, 1, 1], [488, 339, 1, 1], [488, 344, 1, 3], [488, 365, 1, 1], [488, 371, 1, 2], [489, 228, 1, 3], [489, 234, 1, 1], [489, 255, 1, 1], [489, 345, 1, 1], [489, 366, 1, 1], [489, 370, 1, 3], [490, 225, 1, 1], [490, 227, 1, 3], [490, 234, 1, 2], [490, 253, 1, 1], [490, 257, 1, 1], [490, 260, 1, 1], [490, 340, 1, 1], [490, 343, 1, 1], [490, 347, 1, 1], [490, 365, 1, 2], [490, 371, 1, 3], [490, 375, 1, 1], [491, 224, 1, 1], [491, 226, 1, 2], [491, 253, 1, 1], [491, 347, 1, 1], [491, 373, 1, 2], [491, 376, 1, 1], [492, 223, 1, 1], [492, 229, 1, 2], [492, 233, 1, 2], [492, 236, 1, 1], [492, 251, 1, 1], [492, 349, 1, 1], [492, 364, 1, 1], [492, 366, 1, 2], [492, 370, 1, 2], [492, 377, 1, 1], [493, 218, 1, 1], [493, 223, 1, 2], [493, 226, 1, 2], [493, 230, 1, 1], [493, 232, 1, 1], [493, 368, 1, 1], [493, 370, 1, 1], [493, 373, 1, 2], [493, 376, 1, 2], [493, 382, 1, 1], [494, 219, 1, 2], [494, 222, 1, 1], [494, 233, 1, 1], [494, 367, 1, 1], [494, 378, 1, 1], [494, 380, 1, 2], [495, 222, 1, 1], [495, 231, 1, 1], [495, 234, 1, 1], [495, 366, 1, 1], [495, 369, 1, 1], [495, 378, 1, 1]], [[64, 298, 1, 1], [64, 302, 1, 1], [67, 297, 1, 1], [67, 303, 1, 1], [91, 293, 1, 1], [91, 307, 1, 1], [92, 299, 1, 1], [92, 301, 1, 1], [119, 293, 1, 1], [119, 307, 1, 1], [120, 294, 1, 1], [120, 298, 1, 1], [120, 302, 1, 1], [120, 306, 1, 1], [122, 298, 1, 1], [122, 302, 1, 1], [126, 296, 1, 2], [126, 303, 1, 2], [127, 299, 1, 1], [127, 301, 1, 1], [130, 299, 1, 1], [130, 301, 1, 1], [131, 291, 1, 1], [131, 299, 1, 1], [131, 301, 1, 1], [131, 309, 1, 1], [132, 290, 1, 1], [132, 292, 1, 1], [132, 298, 1, 1], [132, 302, 1, 1], [132, 308, 1, 1], [132, 310, 1, 1], [133, 291, 1, 1], [133, 298, 1, 1], [133, 302, 1, 1], [133, 309, 1, 1], [134, 273, 1, 1], [134, 294, 1, 2], [134, 297, 1, 1], [134, 303, 1, 1], [134, 305, 1, 2], [134, 327, 1, 1], [135, 275, 1, 2], [135, 296, 1, 2], [135, 303, 1, 2], [135, 324, 1, 2], [136, 275, 1, 2], [136, 324, 1, 2], [137, 295, 1, 1], [137, 305, 1, 1], [138, 290, 1, 1], [138, 310, 1, 1], [139, 280, 1, 1], [139, 291, 1, 1], [139, 294, 1, 1], [139, 306, 1, 1], [139, 309, 1, 1], [139, 320, 1, 1], [140, 281, 1, 2], [140, 284, 1, 2], [140, 291, 1, 1], [140, 293, 1, 1], [140, 307, 1, 1], [140, 309, 1, 1], [140, 315, 1, 2], [140, 318, 1, 2], [141, 291, 1, 1], [141, 309, 1, 1], [142, 283, 1, 3], [142, 287, 1, 2], [142, 290, 1, 1], [142, 310, 1, 1], [142, 312, 1, 2], [142, 315, 1, 3], [143, 285, 1, 1], [143, 288, 1, 1], [143, 312, 1, 1], [143, 315, 1, 1], [144, 285, 1, 1], [144, 315, 1, 1], [146, 285, 1, 1], [146, 315, 1, 1], [147, 285, 1, 1], [147, 315, 1, 1], [148, 285, 1, 2], [148, 314, 1, 2], [149, 283, 1, 1], [149, 285, 1, 1], [149, 315, 1, 1], [149, 317, 1, 1], [150, 280, 1, 1], [150, 320, 1, 1], [154, 285, 1, 1], [154, 315, 1, 1], [156, 282, 1, 1], [156, 318, 1, 1], [157, 285, 1, 1], [157, 315, 1, 1], [158, 216, 1, 1], [158, 230, 1, 1], [158, 286, 1, 1], [158, 314, 1, 1], [158, 370, 1, 1], [158, 384, 1, 1], [159, 217, 1, 1], [159, 262, 1, 1], [159, 285, 1, 1], [159, 315, 1, 1], [159, 338, 1, 1], [159, 383, 1, 1], [160, 264, 1, 1], [160, 286, 1, 2], [160, 313, 1, 2], [160, 336, 1, 1], [161, 263, 1, 1], [161, 265, 1, 1], [161, 286, 1, 2], [161, 313, 1, 2], [161, 335, 1, 1], [161, 337, 1, 1], [162, 275, 1, 1], [162, 282, 1, 1], [162, 286, 1, 3], [162, 312, 1, 3], [162, 318, 1, 1], [162, 325, 1, 1], [163, 225, 1, 1], [163, 228, 1, 1], [163, 230, 1, 1], [163, 276, 1, 1], [163, 283, 1, 2], [163, 286, 1, 2], [163, 313, 1, 2], [163, 316, 1, 2], [163, 324, 1, 1], [163, 370, 1, 1], [163, 372, 1, 1], [163, 375, 1, 1], [164, 222, 1, 3], [164, 232, 1, 1], [164, 235, 1, 1], [164, 278, 1, 1], [164, 281, 1, 1], [164, 284, 1, 1], [164, 316, 1, 1], [164, 319, 1, 1], [164, 322, 1, 1], [164, 365, 1, 1], [164, 368, 1, 1], [164, 376, 1, 3], [165, 219, 1, 1], [165, 224, 1, 1], [165, 231, 1, 1], [165, 235, 1, 1], [165, 280, 1, 1], [165, 320, 1, 1], [165, 365, 1, 1], [165, 369, 1, 1], [165, 376, 1, 1], [165, 381, 1, 1], [166, 265, 1, 1], [166, 267, 1, 1], [166, 274, 1, 1], [166, 326, 1, 1], [166, 333, 1, 1], [166, 335, 1, 1], [167, 236, 1, 1], [167, 264, 1, 2], [167, 270, 1, 1], [167, 274, 1, 1], [167, 326, 1, 1], [167, 330, 1, 1], [167, 335, 1, 2], [167, 364, 1, 1], [168, 261, 1, 1], [168, 272, 1, 3], [168, 326, 1, 3], [168, 339, 1, 1], [169, 273, 1, 1], [169, 327, 1, 1], [170, 263, 1, 1], [170, 337, 1, 1], [171, 264, 1, 1], [171, 336, 1, 1], [172, 236, 1, 1], [172, 364, 1, 1], [173, 236, 1, 1], [173, 252, 1, 2], [173, 264, 1, 2], [173, 335, 1, 2], [173, 347, 1, 2], [173, 364, 1, 1], [174, 242, 1, 1], [174, 264, 1, 2], [174, 335, 1, 2], [174, 358, 1, 1], [175, 237, 1, 1], [175, 261, 1, 1], [175, 263, 1, 1], [175, 337, 1, 1], [175, 339, 1, 1], [175, 363, 1, 1], [176, 238, 1, 1], [176, 248, 1, 1], [176, 250, 1, 1], [176, 261, 1, 1], [176, 339, 1, 1], [176, 350, 1, 1], [176, 352, 1, 1], [176, 362, 1, 1], [177, 241, 1, 1], [177, 248, 1, 1], [177, 253, 1, 1], [177, 260, 1, 1], [177, 340, 1, 1], [177, 347, 1, 1], [177, 352, 1, 1], [177, 359, 1, 1], [178, 236, 1, 1], [178, 239, 1, 1], [178, 241, 1, 1], [178, 248, 1, 1], [178, 253, 1, 5], [178, 260, 1, 1], [178, 340, 1, 1], [178, 343, 1, 5], [178, 352, 1, 1], [178, 359, 1, 1], [178, 361, 1, 1], [178, 364, 1, 1], [179, 239, 1, 1], [179, 243, 1, 1], [179, 246, 1, 3], [179, 257, 1, 3], [179, 341, 1, 3], [179, 352, 1, 3], [179, 357, 1, 1], [179, 361, 1, 1], [180, 240, 1, 1], [180, 243, 1, 2], [180, 257, 1, 3], [180, 341, 1, 3], [180, 356, 1, 2], [180, 360, 1, 1], [181, 238, 1, 1], [181, 240, 1, 1], [181, 360, 1, 1], [181, 362, 1, 1], [183, 233, 1, 1], [183, 235, 1, 1], [183, 241, 1, 1], [183, 359, 1, 1], [183, 365, 1, 1], [183, 367, 1, 1], [184, 241, 1, 2], [184, 358, 1, 2], [185, 238, 1, 1], [185, 362, 1, 1], [187, 244, 1, 1], [187, 356, 1, 1], [188, 244, 1, 1], [188, 356, 1, 1], [189, 240, 1, 1], [189, 242, 1, 1], [189, 358, 1, 1], [189, 360, 1, 1], [191, 244, 1, 1], [191, 356, 1, 1], [192, 246, 1, 1], [192, 354, 1, 1], [193, 247, 1, 1], [193, 249, 1, 1], [193, 351, 1, 1], [193, 353, 1, 1], [194, 249, 1, 2], [194, 350, 1, 2], [195, 249, 1, 2], [195, 350, 1, 2], [196, 248, 1, 1], [196, 352, 1, 1], [197, 249, 1, 1], [197, 351, 1, 1], [198, 248, 1, 2], [198, 351, 1, 2], [199, 245, 1, 3], [199, 353, 1, 3], [203, 246, 1, 1], [203, 354, 1, 1], [204, 232, 1, 1], [204, 247, 1, 1], [204, 353, 1, 1], [204, 368, 1, 1], [205, 227, 1, 1], [205, 229, 1, 1], [205, 232, 1, 1], [205, 368, 1, 1], [205, 371, 1, 1], [205, 373, 1, 1], [206, 229, 1, 1], [206, 231, 1, 1], [206, 234, 1, 1], [206, 243, 1, 1], [206, 245, 1, 3], [206, 353, 1, 3], [206, 357, 1, 1], [206, 366, 1, 1], [206, 369, 1, 1], [206, 371, 1, 1], [207, 223, 1, 2], [207, 228, 1, 1], [207, 243, 1, 1], [207, 245, 1, 3], [207, 353, 1, 3], [207, 357, 1, 1], [207, 372, 1, 1], [207, 376, 1, 2], [208, 243, 1, 1], [208, 357, 1, 1], [209, 224, 1, 1], [209, 226, 1, 1], [209, 234, 1, 1], [209, 242, 1, 1], [209, 358, 1, 1], [209, 366, 1, 1], [209, 374, 1, 1], [209, 376, 1, 1], [210, 235, 1, 4], [210, 240, 1, 3], [210, 358, 1, 3], [210, 362, 1, 4], [211, 234, 1, 1], [211, 240, 1, 2], [211, 359, 1, 2], [211, 366, 1, 1], [213, 238, 1, 1], [213, 362, 1, 1], [215, 236, 1, 2], [215, 239, 1, 1], [215, 361, 1, 1], [215, 363, 1, 2], [216, 237, 1, 1], [216, 241, 1, 2], [216, 358, 1, 2], [216, 363, 1, 1], [217, 242, 1, 1], [217, 358, 1, 1], [218, 243, 1, 1], [218, 247, 1, 1], [218, 353, 1, 1], [218, 357, 1, 1], [219, 246, 1, 2], [219, 353, 1, 2], [221, 246, 1, 1], [221, 354, 1, 1], [223, 247, 1, 2], [223, 352, 1, 2], [224, 239, 1, 1], [224, 247, 1, 2], [224, 352, 1, 2], [224, 361, 1, 1], [225, 242, 1, 1], [225, 246, 1, 1], [225, 354, 1, 1], [225, 358, 1, 1], [226, 238, 1, 1], [226, 240, 1, 2], [226, 246, 1, 1], [226, 354, 1, 1], [226, 359, 1, 2], [226, 362, 1, 1], [227, 242, 1, 5], [227, 354, 1, 5], [228, 244, 1, 1], [228, 356, 1, 1], [229, 235, 1, 2], [229, 242, 1, 1], [229, 358, 1, 1], [229, 364, 1, 2], [231, 244, 1, 1], [231, 356, 1, 1], [232, 248, 1, 1], [232, 352, 1, 1], [233, 250, 1, 1], [233, 350, 1, 1], [234, 251, 1, 1], [234, 349, 1, 1], [235, 251, 1, 2], [235, 348, 1, 2], [236, 248, 1, 4], [236, 349, 1, 4], [237, 250, 1, 3], [237, 348, 1, 3], [238, 247, 1, 2], [238, 352, 1, 2], [240, 251, 1, 1], [240, 349, 1, 1], [241, 252, 1, 1], [241, 255, 1, 1], [241, 345, 1, 1], [241, 348, 1, 1], [242, 255, 1, 2], [242, 344, 1, 2], [244, 253, 1, 1], [244, 347, 1, 1], [245, 255, 1, 1], [245, 345, 1, 1], [247, 259, 1, 2], [247, 340, 1, 2], [249, 260, 1, 1], [249, 340, 1, 1], [250, 262, 1, 1], [250, 338, 1, 1], [252, 265, 1, 1], [252, 335, 1, 1], [254, 268, 1, 1], [254, 332, 1, 1], [255, 269, 1, 1], [255, 331, 1, 1], [256, 270, 1, 3], [256, 328, 1, 3], [257, 271, 1, 4], [257, 326, 1, 4], [258, 271, 1, 6], [258, 324, 1, 6], [259, 272, 1, 5], [259, 324, 1, 5], [260, 271, 1, 6], [260, 324, 1, 6], [261, 270, 1, 6], [261, 325, 1, 6], [262, 264, 1, 1], [262, 268, 1, 2], [262, 331, 1, 2], [262, 336, 1, 1], [263, 262, 1, 1], [263, 265, 1, 1], [263, 335, 1, 1], [263, 338, 1, 1], [264, 243, 1, 1], [264, 251, 1, 1], [264, 260, 1, 1], [264, 340, 1, 1], [264, 349, 1, 1], [264, 357, 1, 1], [265, 228, 1, 1], [265, 242, 1, 1], [265, 254, 1, 1], [265, 346, 1, 1], [265, 358, 1, 1], [265, 372, 1, 1], [267, 230, 1, 1], [267, 240, 1, 1], [267, 360, 1, 1], [267, 370, 1, 1], [268, 246, 1, 4], [268, 351, 1, 4], [269, 239, 1, 1], [269, 361, 1, 1], [270, 239, 1, 2], [270, 360, 1, 2], [271, 210, 1, 1], [271, 226, 1, 1], [271, 233, 1, 2], [271, 239, 1, 2], [271, 360, 1, 2], [271, 366, 1, 2], [271, 374, 1, 1], [271, 390, 1, 1], [272, 212, 1, 1], [272, 238, 1, 3], [272, 360, 1, 3], [272, 388, 1, 1], [273, 210, 1, 1], [273, 226, 1, 1], [273, 236, 1, 2], [273, 363, 1, 2], [273, 374, 1, 1], [273, 390, 1, 1], [274, 208, 1, 2], [274, 213, 1, 1], [274, 227, 1, 1], [274, 373, 1, 1], [274, 387, 1, 1], [274, 391, 1, 2], [275, 207, 1, 1], [275, 213, 1, 1], [275, 387, 1, 1], [275, 393, 1, 1], [276, 204, 1, 1], [276, 206, 1, 1], [276, 214, 1, 1], [276, 386, 1, 1], [276, 394, 1, 1], [276, 396, 1, 1], [277, 204, 1, 1], [277, 212, 1, 2], [277, 387, 1, 2], [277, 396, 1, 1], [278, 206, 1, 1], [278, 213, 1, 1], [278, 215, 1, 1], [278, 227, 1, 1], [278, 373, 1, 1], [278, 385, 1, 1], [278, 387, 1, 1], [278, 394, 1, 1], [279, 201, 1, 1], [279, 215, 1, 1], [279, 226, 1, 2], [279, 373, 1, 2], [279, 385, 1, 1], [279, 399, 1, 1], [280, 203, 1, 1], [280, 397, 1, 1], [281, 201, 1, 1], [281, 206, 1, 3], [281, 219, 1, 1], [281, 222, 1, 1], [281, 378, 1, 1], [281, 381, 1, 1], [281, 392, 1, 3], [281, 399, 1, 1], [282, 201, 1, 1], [282, 204, 1, 1], [282, 221, 1, 2], [282, 378, 1, 2], [282, 396, 1, 1], [282, 399, 1, 1], [283, 208, 1, 1], [283, 221, 1, 1], [283, 379, 1, 1], [283, 392, 1, 1], [284, 208, 1, 1], [284, 392, 1, 1], [285, 163, 1, 1], [285, 206, 1, 1], [285, 394, 1, 1], [285, 437, 1, 1], [286, 164, 1, 1], [286, 436, 1, 1], [287, 178, 1, 1], [287, 422, 1, 1], [288, 165, 1, 1], [288, 174, 1, 2], [288, 177, 1, 1], [288, 423, 1, 1], [288, 425, 1, 2], [288, 435, 1, 1], [289, 164, 1, 1], [289, 207, 1, 3], [289, 391, 1, 3], [289, 436, 1, 1], [290, 168, 1, 1], [290, 177, 1, 1], [290, 209, 1, 1], [290, 391, 1, 1], [290, 423, 1, 1], [290, 432, 1, 1], [291, 174, 1, 1], [291, 209, 1, 2], [291, 390, 1, 2], [291, 426, 1, 1], [292, 174, 1, 1], [292, 177, 1, 1], [292, 208, 1, 1], [292, 392, 1, 1], [292, 423, 1, 1], [292, 426, 1, 1], [293, 169, 1, 1], [293, 174, 1, 3], [293, 201, 1, 1], [293, 206, 1, 2], [293, 393, 1, 2], [293, 399, 1, 1], [293, 424, 1, 3], [293, 431, 1, 1], [294, 169, 1, 1], [294, 206, 1, 2], [294, 393, 1, 2], [294, 431, 1, 1], [295, 171, 1, 2], [295, 186, 1, 1], [295, 189, 1, 1], [295, 192, 1, 1], [295, 200, 1, 1], [295, 400, 1, 1], [295, 408, 1, 1], [295, 411, 1, 1], [295, 414, 1, 1], [295, 428, 1, 2], [296, 170, 1, 1], [296, 172, 1, 1], [296, 174, 1, 1], [296, 184, 1, 1], [296, 416, 1, 1], [296, 426, 1, 1], [296, 428, 1, 1], [296, 430, 1, 1], [297, 165, 1, 1], [297, 168, 1, 1], [297, 170, 1, 1], [297, 174, 1, 2], [297, 178, 1, 1], [297, 180, 1, 1], [297, 185, 1, 1], [297, 190, 1, 1], [297, 410, 1, 1], [297, 415, 1, 1], [297, 420, 1, 1], [297, 422, 1, 1], [297, 425, 1, 2], [297, 430, 1, 1], [297, 432, 1, 1], [297, 435, 1, 1], [298, 166, 1, 3], [298, 174, 1, 2], [298, 177, 1, 1], [298, 182, 1, 1], [298, 185, 1, 2], [298, 202, 1, 1], [298, 398, 1, 1], [298, 414, 1, 2], [298, 418, 1, 1], [298, 423, 1, 1], [298, 425, 1, 2], [298, 432, 1, 3], [299, 177, 1, 1], [299, 182, 1, 2], [299, 191, 1, 1], [299, 201, 1, 2], [299, 398, 1, 2], [299, 409, 1, 1], [299, 417, 1, 2], [299, 423, 1, 1], [300, 171, 1, 2], [300, 428, 1, 2], [301, 167, 1, 1], [301, 171, 1, 2], [301, 195, 1, 1], [301, 405, 1, 1], [301, 428, 1, 2], [301, 433, 1, 1], [302, 170, 1, 1], [302, 174, 1, 1], [302, 195, 1, 1], [302, 198, 1, 1], [302, 402, 1, 1], [302, 405, 1, 1], [302, 426, 1, 1], [302, 430, 1, 1], [303, 166, 1, 2], [303, 174, 1, 1], [303, 196, 1, 3], [303, 402, 1, 3], [303, 426, 1, 1], [303, 433, 1, 2], [304, 159, 1, 1], [304, 163, 1, 1], [304, 196, 1, 2], [304, 403, 1, 2], [304, 437, 1, 1], [304, 441, 1, 1], [305, 162, 1, 2], [305, 167, 1, 1], [305, 173, 1, 1], [305, 427, 1, 1], [305, 433, 1, 1], [305, 437, 1, 2], [306, 161, 1, 1], [306, 165, 1, 1], [306, 435, 1, 1], [306, 439, 1, 1], [307, 176, 1, 2], [307, 423, 1, 2], [308, 162, 1, 1], [308, 438, 1, 1], [309, 176, 1, 1], [309, 424, 1, 1], [310, 174, 1, 4], [310, 423, 1, 4], [312, 173, 1, 1], [312, 427, 1, 1], [313, 172, 1, 1], [313, 428, 1, 1], [315, 176, 1, 4], [315, 421, 1, 4], [316, 175, 1, 1], [316, 425, 1, 1], [317, 175, 1, 1], [317, 425, 1, 1], [318, 182, 1, 2], [318, 417, 1, 2], [319, 184, 1, 3], [319, 414, 1, 3], [320, 185, 1, 1], [320, 415, 1, 1], [321, 184, 1, 2], [321, 415, 1, 2], [324, 181, 1, 3], [324, 417, 1, 3], [329, 172, 1, 1], [329, 428, 1, 1], [330, 170, 1, 1], [330, 172, 1, 1], [330, 180, 1, 1], [330, 420, 1, 1], [330, 428, 1, 1], [330, 430, 1, 1], [331, 172, 1, 1], [331, 178, 1, 2], [331, 421, 1, 2], [331, 428, 1, 1], [332, 167, 1, 1], [332, 172, 1, 2], [332, 178, 1, 2], [332, 421, 1, 2], [332, 427, 1, 2], [332, 433, 1, 1], [333, 165, 1, 2], [333, 434, 1, 2], [334, 165, 1, 2], [334, 434, 1, 2], [337, 167, 1, 1], [337, 433, 1, 1], [338, 167, 1, 1], [338, 170, 1, 2], [338, 429, 1, 2], [338, 433, 1, 1], [339, 169, 1, 1], [339, 431, 1, 1], [340, 171, 1, 1], [340, 429, 1, 1], [342, 174, 1, 2], [342, 425, 1, 2], [343, 174, 1, 1], [343, 426, 1, 1], [344, 173, 1, 1], [344, 427, 1, 1], [345, 173, 1, 1], [345, 427, 1, 1], [346, 169, 1, 1], [346, 171, 1, 3], [346, 427, 1, 3], [346, 431, 1, 1], [347, 167, 1, 2], [347, 432, 1, 2], [349, 131, 1, 1], [349, 469, 1, 1], [350, 166, 1, 1], [350, 434, 1, 1], [352, 170, 1, 2], [352, 429, 1, 2], [353, 132, 1, 2], [353, 170, 1, 2], [353, 429, 1, 2], [353, 467, 1, 2], [355, 129, 1, 1], [355, 144, 1, 1], [355, 148, 1, 1], [355, 150, 1, 1], [355, 168, 1, 1], [355, 432, 1, 1], [355, 450, 1, 1], [355, 452, 1, 1], [355, 456, 1, 1], [355, 471, 1, 1], [356, 130, 1, 2], [356, 145, 1, 1], [356, 148, 1, 1], [356, 452, 1, 1], [356, 455, 1, 1], [356, 469, 1, 2], [357, 145, 1, 1], [357, 148, 1, 1], [357, 452, 1, 1], [357, 455, 1, 1], [358, 123, 1, 1], [358, 168, 1, 1], [358, 432, 1, 1], [358, 477, 1, 1], [359, 124, 1, 2], [359, 131, 1, 2], [359, 138, 1, 1], [359, 146, 1, 2], [359, 151, 1, 1], [359, 155, 1, 1], [359, 169, 1, 1], [359, 431, 1, 1], [359, 445, 1, 1], [359, 449, 1, 1], [359, 453, 1, 2], [359, 462, 1, 1], [359, 468, 1, 2], [359, 475, 1, 2], [360, 127, 1, 1], [360, 130, 1, 1], [360, 136, 1, 2], [360, 146, 1, 2], [360, 157, 1, 1], [360, 169, 1, 1], [360, 431, 1, 1], [360, 443, 1, 1], [360, 453, 1, 2], [360, 463, 1, 2], [360, 470, 1, 1], [360, 473, 1, 1], [361, 129, 1, 1], [361, 132, 1, 2], [361, 139, 1, 1], [361, 146, 1, 1], [361, 153, 1, 2], [361, 446, 1, 2], [361, 454, 1, 1], [361, 461, 1, 1], [361, 467, 1, 2], [361, 471, 1, 1], [362, 129, 1, 1], [362, 133, 1, 1], [362, 142, 1, 1], [362, 145, 1, 2], [362, 160, 1, 1], [362, 168, 1, 1], [362, 432, 1, 1], [362, 440, 1, 1], [362, 454, 1, 2], [362, 458, 1, 1], [362, 467, 1, 1], [362, 471, 1, 1], [363, 134, 1, 2], [363, 142, 1, 1], [363, 161, 1, 1], [363, 169, 1, 1], [363, 431, 1, 1], [363, 439, 1, 1], [363, 458, 1, 1], [363, 465, 1, 2], [364, 135, 1, 1], [364, 162, 1, 1], [364, 438, 1, 1], [364, 465, 1, 1], [365, 133, 1, 2], [365, 168, 1, 1], [365, 432, 1, 1], [365, 466, 1, 2], [366, 133, 1, 1], [366, 164, 1, 6], [366, 431, 1, 6], [366, 467, 1, 1], [367, 166, 1, 3], [367, 432, 1, 3], [368, 134, 1, 2], [368, 166, 1, 3], [368, 432, 1, 3], [368, 465, 1, 2], [369, 134, 1, 1], [369, 466, 1, 1], [370, 129, 1, 1], [370, 133, 1, 2], [370, 466, 1, 2], [370, 471, 1, 1], [372, 89, 1, 1], [372, 120, 1, 1], [372, 128, 1, 1], [372, 472, 1, 1], [372, 480, 1, 1], [372, 511, 1, 1], [373, 88, 1, 1], [373, 121, 1, 2], [373, 478, 1, 2], [373, 512, 1, 1], [374, 93, 1, 1], [374, 120, 1, 2], [374, 131, 1, 1], [374, 469, 1, 1], [374, 479, 1, 2], [374, 507, 1, 1], [375, 122, 1, 1], [375, 130, 1, 1], [375, 470, 1, 1], [375, 478, 1, 1], [376, 117, 1, 1], [376, 483, 1, 1], [377, 94, 1, 1], [377, 118, 1, 1], [377, 125, 1, 1], [377, 127, 1, 4], [377, 470, 1, 4], [377, 475, 1, 1], [377, 482, 1, 1], [377, 506, 1, 1], [378, 95, 1, 1], [378, 119, 1, 1], [378, 121, 1, 1], [378, 124, 1, 2], [378, 130, 1, 1], [378, 470, 1, 1], [378, 475, 1, 2], [378, 479, 1, 1], [378, 481, 1, 1], [378, 505, 1, 1], [379, 121, 1, 1], [379, 479, 1, 1], [380, 97, 1, 1], [380, 104, 1, 1], [380, 122, 1, 1], [380, 478, 1, 1], [380, 496, 1, 1], [380, 503, 1, 1], [381, 103, 1, 1], [381, 497, 1, 1], [382, 121, 1, 1], [382, 479, 1, 1], [383, 101, 1, 1], [383, 119, 1, 1], [383, 481, 1, 1], [383, 499, 1, 1], [384, 103, 1, 1], [384, 107, 1, 1], [384, 114, 1, 1], [384, 119, 1, 1], [384, 481, 1, 1], [384, 486, 1, 1], [384, 493, 1, 1], [384, 497, 1, 1], [385, 106, 1, 1], [385, 114, 1, 1], [385, 486, 1, 1], [385, 494, 1, 1], [386, 111, 1, 2], [386, 488, 1, 2], [387, 109, 1, 2], [387, 112, 1, 3], [387, 116, 1, 2], [387, 119, 1, 2], [387, 480, 1, 2], [387, 483, 1, 2], [387, 486, 1, 3], [387, 490, 1, 2], [388, 114, 1, 1], [388, 116, 1, 1], [388, 120, 1, 1], [388, 480, 1, 1], [388, 484, 1, 1], [388, 486, 1, 1], [389, 107, 1, 2], [389, 121, 1, 2], [389, 478, 1, 2], [389, 492, 1, 2], [390, 114, 1, 1], [390, 123, 1, 1], [390, 477, 1, 1], [390, 486, 1, 1], [391, 129, 1, 4], [391, 468, 1, 4], [392, 123, 1, 1], [392, 127, 1, 1], [392, 129, 1, 1], [392, 131, 1, 1], [392, 469, 1, 1], [392, 471, 1, 1], [392, 473, 1, 1], [392, 477, 1, 1], [393, 106, 1, 1], [393, 127, 1, 1], [393, 132, 1, 1], [393, 468, 1, 1], [393, 473, 1, 1], [393, 494, 1, 1], [394, 120, 1, 1], [394, 123, 1, 1], [394, 133, 1, 1], [394, 467, 1, 1], [394, 477, 1, 1], [394, 480, 1, 1], [395, 120, 1, 1], [395, 124, 1, 1], [395, 133, 1, 1], [395, 467, 1, 1], [395, 476, 1, 1], [395, 480, 1, 1], [396, 131, 1, 1], [396, 167, 1, 2], [396, 432, 1, 2], [396, 469, 1, 1], [397, 132, 1, 3], [397, 166, 1, 4], [397, 431, 1, 4], [397, 466, 1, 3], [398, 133, 1, 1], [398, 137, 1, 1], [398, 165, 1, 1], [398, 167, 1, 2], [398, 432, 1, 2], [398, 435, 1, 1], [398, 463, 1, 1], [398, 467, 1, 1], [399, 102, 1, 1], [399, 137, 1, 1], [399, 168, 1, 2], [399, 431, 1, 2], [399, 463, 1, 1], [399, 498, 1, 1], [402, 160, 1, 1], [402, 169, 1, 1], [402, 431, 1, 1], [402, 440, 1, 1], [403, 138, 1, 1], [403, 145, 1, 1], [403, 148, 1, 1], [403, 155, 1, 1], [403, 159, 1, 1], [403, 168, 1, 1], [403, 432, 1, 1], [403, 441, 1, 1], [403, 445, 1, 1], [403, 452, 1, 1], [403, 455, 1, 1], [403, 462, 1, 1], [404, 144, 1, 1], [404, 149, 1, 2], [404, 154, 1, 1], [404, 446, 1, 1], [404, 450, 1, 2], [404, 456, 1, 1], [405, 132, 1, 1], [405, 134, 1, 1], [405, 137, 1, 1], [405, 142, 1, 1], [405, 149, 1, 2], [405, 157, 1, 1], [405, 169, 1, 1], [405, 431, 1, 1], [405, 443, 1, 1], [405, 450, 1, 2], [405, 458, 1, 1], [405, 463, 1, 1], [405, 466, 1, 1], [405, 468, 1, 1], [406, 132, 1, 1], [406, 136, 1, 1], [406, 141, 1, 2], [406, 458, 1, 2], [406, 464, 1, 1], [406, 468, 1, 1], [407, 138, 1, 1], [407, 149, 1, 1], [407, 151, 1, 1], [407, 168, 1, 1], [407, 432, 1, 1], [407, 449, 1, 1], [407, 451, 1, 1], [407, 462, 1, 1], [409, 136, 1, 1], [409, 464, 1, 1], [410, 130, 1, 1], [410, 470, 1, 1], [412, 127, 1, 1], [412, 139, 1, 1], [412, 170, 1, 2], [412, 429, 1, 2], [412, 461, 1, 1], [412, 473, 1, 1], [413, 137, 1, 1], [413, 171, 1, 2], [413, 428, 1, 2], [413, 463, 1, 1], [415, 167, 1, 2], [415, 432, 1, 2], [416, 167, 1, 1], [416, 433, 1, 1], [419, 168, 1, 1], [419, 432, 1, 1], [420, 172, 1, 3], [420, 426, 1, 3], [421, 174, 1, 1], [421, 426, 1, 1], [423, 175, 1, 1], [423, 425, 1, 1], [424, 176, 1, 1], [424, 424, 1, 1], [425, 175, 1, 2], [425, 424, 1, 2], [429, 172, 1, 1], [429, 428, 1, 1], [430, 167, 1, 1], [430, 170, 1, 2], [430, 429, 1, 2], [430, 433, 1, 1], [431, 170, 1, 1], [431, 430, 1, 1], [432, 164, 1, 2], [432, 168, 1, 1], [432, 432, 1, 1], [432, 435, 1, 2], [433, 163, 1, 1], [433, 437, 1, 1], [434, 181, 1, 1], [434, 419, 1, 1], [435, 173, 1, 3], [435, 179, 1, 3], [435, 419, 1, 3], [435, 425, 1, 3], [436, 169, 1, 1], [436, 173, 1, 1], [436, 175, 1, 2], [436, 181, 1, 1], [436, 419, 1, 1], [436, 424, 1, 2], [436, 427, 1, 1], [436, 431, 1, 1], [437, 167, 1, 1], [437, 182, 1, 1], [437, 418, 1, 1], [437, 433, 1, 1], [438, 183, 1, 1], [438, 417, 1, 1], [439, 172, 1, 1], [439, 181, 1, 1], [439, 419, 1, 1], [439, 428, 1, 1], [443, 186, 1, 2], [443, 413, 1, 2], [444, 184, 1, 1], [444, 416, 1, 1], [447, 188, 1, 3], [447, 410, 1, 3], [448, 190, 1, 1], [448, 410, 1, 1], [449, 191, 1, 1], [449, 409, 1, 1], [450, 191, 1, 2], [450, 408, 1, 2], [451, 189, 1, 1], [451, 191, 1, 1], [451, 409, 1, 1], [451, 411, 1, 1], [453, 183, 1, 1], [453, 185, 1, 2], [453, 414, 1, 2], [453, 417, 1, 1], [456, 176, 1, 2], [456, 183, 1, 2], [456, 416, 1, 2], [456, 423, 1, 2], [457, 177, 1, 2], [457, 422, 1, 2], [458, 178, 1, 1], [458, 300, 1, 1], [458, 422, 1, 1], [459, 179, 1, 1], [459, 421, 1, 1], [461, 180, 1, 2], [461, 419, 1, 2], [462, 180, 1, 1], [462, 182, 1, 1], [462, 205, 1, 1], [462, 395, 1, 1], [462, 418, 1, 1], [462, 420, 1, 1], [463, 183, 1, 1], [463, 204, 1, 3], [463, 394, 1, 3], [463, 417, 1, 1], [464, 204, 1, 1], [464, 207, 1, 1], [464, 393, 1, 1], [464, 396, 1, 1], [465, 204, 1, 1], [465, 207, 1, 1], [465, 393, 1, 1], [465, 396, 1, 1], [466, 184, 1, 1], [466, 295, 1, 1], [466, 305, 1, 1], [466, 416, 1, 1], [467, 203, 1, 1], [467, 397, 1, 1], [468, 183, 1, 1], [468, 213, 1, 1], [468, 387, 1, 1], [468, 417, 1, 1], [469, 181, 1, 1], [469, 214, 1, 1], [469, 386, 1, 1], [469, 419, 1, 1], [470, 200, 1, 1], [470, 202, 1, 1], [470, 214, 1, 1], [470, 292, 1, 1], [470, 308, 1, 1], [470, 386, 1, 1], [470, 398, 1, 1], [470, 400, 1, 1], [471, 183, 1, 1], [471, 191, 1, 1], [471, 409, 1, 1], [471, 417, 1, 1], [472, 183, 1, 1], [472, 191, 1, 1], [472, 194, 1, 3], [472, 214, 1, 1], [472, 221, 1, 1], [472, 289, 1, 1], [472, 291, 1, 1], [472, 309, 1, 1], [472, 311, 1, 1], [472, 379, 1, 1], [472, 386, 1, 1], [472, 404, 1, 3], [472, 409, 1, 1], [472, 417, 1, 1], [473, 183, 1, 1], [473, 190, 1, 1], [473, 196, 1, 2], [473, 199, 1, 1], [473, 221, 1, 1], [473, 289, 1, 2], [473, 310, 1, 2], [473, 379, 1, 1], [473, 401, 1, 1], [473, 403, 1, 2], [473, 410, 1, 1], [473, 417, 1, 1], [474, 171, 1, 1], [474, 182, 1, 1], [474, 186, 1, 3], [474, 200, 1, 1], [474, 225, 1, 1], [474, 375, 1, 1], [474, 400, 1, 1], [474, 412, 1, 3], [474, 418, 1, 1], [474, 429, 1, 1], [475, 170, 1, 1], [475, 173, 1, 1], [475, 176, 1, 2], [475, 182, 1, 1], [475, 190, 1, 1], [475, 197, 1, 2], [475, 213, 1, 2], [475, 224, 1, 1], [475, 227, 1, 2], [475, 282, 1, 2], [475, 317, 1, 2], [475, 372, 1, 2], [475, 376, 1, 1], [475, 386, 1, 2], [475, 402, 1, 2], [475, 410, 1, 1], [475, 418, 1, 1], [475, 423, 1, 2], [475, 427, 1, 1], [475, 430, 1, 1], [476, 175, 1, 1], [476, 178, 1, 1], [476, 182, 1, 1], [476, 184, 1, 1], [476, 227, 1, 2], [476, 287, 1, 1], [476, 313, 1, 1], [476, 372, 1, 2], [476, 416, 1, 1], [476, 418, 1, 1], [476, 422, 1, 1], [476, 425, 1, 1], [477, 166, 1, 2], [477, 171, 1, 1], [477, 180, 1, 1], [477, 183, 1, 1], [477, 227, 1, 1], [477, 277, 1, 1], [477, 282, 1, 1], [477, 318, 1, 1], [477, 323, 1, 1], [477, 373, 1, 1], [477, 417, 1, 1], [477, 420, 1, 1], [477, 429, 1, 1], [477, 433, 1, 2], [478, 196, 1, 1], [478, 274, 1, 2], [478, 325, 1, 2], [478, 404, 1, 1], [479, 183, 1, 1], [479, 185, 1, 1], [479, 239, 1, 3], [479, 274, 1, 1], [479, 280, 1, 1], [479, 320, 1, 1], [479, 326, 1, 1], [479, 359, 1, 3], [479, 415, 1, 1], [479, 417, 1, 1], [480, 181, 1, 1], [480, 185, 1, 1], [480, 244, 1, 1], [480, 263, 1, 1], [480, 266, 1, 1], [480, 334, 1, 1], [480, 337, 1, 1], [480, 356, 1, 1], [480, 415, 1, 1], [480, 419, 1, 1], [481, 180, 1, 1], [481, 250, 1, 1], [481, 252, 1, 1], [481, 261, 1, 1], [481, 268, 1, 1], [481, 274, 1, 1], [481, 280, 1, 1], [481, 320, 1, 1], [481, 326, 1, 1], [481, 332, 1, 1], [481, 339, 1, 1], [481, 348, 1, 1], [481, 350, 1, 1], [481, 420, 1, 1], [482, 179, 1, 2], [482, 187, 1, 1], [482, 225, 1, 1], [482, 248, 1, 1], [482, 261, 1, 1], [482, 339, 1, 1], [482, 352, 1, 1], [482, 375, 1, 1], [482, 413, 1, 1], [482, 420, 1, 2], [483, 246, 1, 1], [483, 271, 1, 1], [483, 329, 1, 1], [483, 354, 1, 1], [484, 179, 1, 1], [484, 187, 1, 1], [484, 227, 1, 1], [484, 239, 1, 1], [484, 271, 1, 1], [484, 274, 1, 1], [484, 326, 1, 1], [484, 329, 1, 1], [484, 361, 1, 1], [484, 373, 1, 1], [484, 413, 1, 1], [484, 421, 1, 1], [485, 229, 1, 1], [485, 260, 1, 1], [485, 270, 1, 1], [485, 330, 1, 1], [485, 340, 1, 1], [485, 371, 1, 1], [486, 178, 1, 1], [486, 228, 1, 1], [486, 235, 1, 1], [486, 239, 1, 1], [486, 253, 1, 1], [486, 255, 1, 1], [486, 270, 1, 1], [486, 330, 1, 1], [486, 345, 1, 1], [486, 347, 1, 1], [486, 361, 1, 1], [486, 365, 1, 1], [486, 372, 1, 1], [486, 422, 1, 1], [487, 256, 1, 1], [487, 259, 1, 3], [487, 339, 1, 3], [487, 344, 1, 1], [488, 230, 1, 1], [488, 233, 1, 1], [488, 238, 1, 1], [488, 257, 1, 1], [488, 343, 1, 1], [488, 362, 1, 1], [488, 367, 1, 1], [488, 370, 1, 1], [489, 233, 1, 1], [489, 367, 1, 1], [490, 230, 1, 2], [490, 233, 1, 1], [490, 259, 1, 1], [490, 341, 1, 1], [490, 367, 1, 1], [490, 369, 1, 2], [491, 254, 1, 1], [491, 346, 1, 1], [492, 227, 1, 2], [492, 250, 1, 1], [492, 253, 1, 1], [492, 258, 1, 1], [492, 342, 1, 1], [492, 347, 1, 1], [492, 350, 1, 1], [492, 372, 1, 2], [493, 225, 1, 1], [493, 253, 1, 1], [493, 347, 1, 1], [493, 375, 1, 1], [494, 221, 1, 1], [494, 379, 1, 1]], [[91, 299, 1, 1], [91, 301, 1, 1], [119, 299, 1, 1], [119, 301, 1, 1], [120, 299, 1, 1], [120, 301, 1, 1], [133, 299, 1, 1], [133, 301, 1, 1], [134, 298, 1, 1], [134, 302, 1, 1], [135, 298, 1, 1], [135, 302, 1, 1], [136, 279, 1, 1], [136, 294, 1, 2], [136, 305, 1, 2], [136, 321, 1, 1], [137, 296, 1, 1], [137, 304, 1, 1], [138, 295, 1, 1], [138, 305, 1, 1], [139, 281, 1, 1], [139, 295, 1, 1], [139, 305, 1, 1], [139, 319, 1, 1], [140, 283, 1, 1], [140, 292, 1, 1], [140, 295, 1, 1], [140, 305, 1, 1], [140, 308, 1, 1], [140, 317, 1, 1], [141, 282, 1, 1], [141, 284, 1, 1], [141, 286, 1, 1], [141, 293, 1, 2], [141, 306, 1, 2], [141, 314, 1, 1], [141, 316, 1, 1], [141, 318, 1, 1], [142, 280, 1, 1], [142, 320, 1, 1], [143, 287, 1, 1], [143, 290, 1, 2], [143, 309, 1, 2], [143, 313, 1, 1], [145, 285, 1, 1], [145, 315, 1, 1], [148, 287, 1, 1], [148, 313, 1, 1], [149, 286, 1, 1], [149, 314, 1, 1], [150, 278, 1, 2], [150, 283, 1, 1], [150, 317, 1, 1], [150, 321, 1, 2], [151, 282, 1, 1], [151, 284, 1, 1], [151, 316, 1, 1], [151, 318, 1, 1], [152, 282, 1, 1], [152, 284, 1, 1], [152, 316, 1, 1], [152, 318, 1, 1], [154, 286, 1, 1], [154, 314, 1, 1], [160, 288, 1, 1], [160, 312, 1, 1], [161, 229, 1, 1], [161, 264, 1, 1], [161, 288, 1, 2], [161, 311, 1, 2], [161, 336, 1, 1], [161, 371, 1, 1], [162, 289, 1, 1], [162, 311, 1, 1], [163, 288, 1, 3], [163, 310, 1, 3], [164, 231, 1, 1], [164, 276, 1, 2], [164, 283, 1, 1], [164, 285, 1, 1], [164, 287, 1, 1], [164, 313, 1, 1], [164, 315, 1, 1], [164, 317, 1, 1], [164, 323, 1, 2], [164, 369, 1, 1], [165, 234, 1, 1], [165, 366, 1, 1], [166, 279, 1, 2], [166, 320, 1, 2], [167, 269, 1, 1], [167, 331, 1, 1], [168, 269, 1, 1], [168, 271, 1, 1], [168, 329, 1, 1], [168, 331, 1, 1], [169, 237, 1, 1], [169, 363, 1, 1], [170, 264, 1, 1], [170, 336, 1, 1], [171, 253, 1, 1], [171, 265, 1, 1], [171, 335, 1, 1], [171, 347, 1, 1], [172, 251, 1, 1], [172, 349, 1, 1], [173, 237, 1, 1], [173, 363, 1, 1], [174, 266, 1, 1], [174, 334, 1, 1], [175, 238, 1, 2], [175, 242, 1, 1], [175, 252, 1, 1], [175, 264, 1, 2], [175, 335, 1, 2], [175, 348, 1, 1], [175, 358, 1, 1], [175, 361, 1, 2], [176, 240, 1, 2], [176, 251, 1, 1], [176, 349, 1, 1], [176, 359, 1, 2], [177, 238, 1, 1], [177, 250, 1, 1], [177, 252, 1, 1], [177, 348, 1, 1], [177, 350, 1, 1], [177, 362, 1, 1], [178, 252, 1, 1], [178, 261, 1, 1], [178, 339, 1, 1], [178, 348, 1, 1], [179, 240, 1, 1], [179, 242, 1, 1], [179, 249, 1, 1], [179, 253, 1, 1], [179, 256, 1, 1], [179, 260, 1, 2], [179, 339, 1, 2], [179, 344, 1, 1], [179, 347, 1, 1], [179, 351, 1, 1], [179, 358, 1, 1], [179, 360, 1, 1], [180, 242, 1, 1], [180, 245, 1, 1], [180, 247, 1, 2], [180, 256, 1, 1], [180, 260, 1, 1], [180, 340, 1, 1], [180, 344, 1, 1], [180, 352, 1, 2], [180, 355, 1, 1], [180, 358, 1, 1], [181, 241, 1, 4], [181, 258, 1, 2], [181, 341, 1, 2], [181, 356, 1, 4], [182, 259, 1, 1], [182, 341, 1, 1], [183, 238, 1, 1], [183, 240, 1, 1], [183, 242, 1, 1], [183, 358, 1, 1], [183, 360, 1, 1], [183, 362, 1, 1], [184, 236, 1, 1], [184, 238, 1, 2], [184, 243, 1, 1], [184, 357, 1, 1], [184, 361, 1, 2], [184, 364, 1, 1], [185, 237, 1, 1], [185, 242, 1, 1], [185, 358, 1, 1], [185, 363, 1, 1], [186, 244, 1, 1], [186, 356, 1, 1], [188, 243, 1, 1], [188, 245, 1, 1], [188, 355, 1, 1], [188, 357, 1, 1], [191, 239, 1, 1], [191, 245, 1, 3], [191, 353, 1, 3], [191, 361, 1, 1], [193, 248, 1, 1], [193, 250, 1, 2], [193, 349, 1, 2], [193, 352, 1, 1], [194, 251, 1, 1], [194, 349, 1, 1], [195, 251, 1, 1], [195, 349, 1, 1], [196, 249, 1, 2], [196, 350, 1, 2], [199, 243, 1, 1], [199, 248, 1, 3], [199, 350, 1, 3], [199, 357, 1, 1], [204, 248, 1, 1], [204, 352, 1, 1], [205, 230, 1, 2], [205, 369, 1, 2], [207, 244, 1, 1], [207, 248, 1, 1], [207, 352, 1, 1], [207, 356, 1, 1], [208, 234, 1, 1], [208, 245, 1, 2], [208, 248, 1, 1], [208, 352, 1, 1], [208, 354, 1, 2], [208, 366, 1, 1], [209, 235, 1, 1], [209, 239, 1, 1], [209, 361, 1, 1], [209, 365, 1, 1], [210, 239, 1, 1], [210, 361, 1, 1], [211, 239, 1, 1], [211, 361, 1, 1], [212, 241, 1, 1], [212, 359, 1, 1], [215, 241, 1, 1], [215, 359, 1, 1], [216, 243, 1, 1], [216, 357, 1, 1], [217, 243, 1, 1], [217, 357, 1, 1], [218, 242, 1, 1], [218, 245, 1, 1], [218, 355, 1, 1], [218, 358, 1, 1], [219, 248, 1, 1], [219, 352, 1, 1], [220, 247, 1, 1], [220, 353, 1, 1], [221, 245, 1, 1], [221, 355, 1, 1], [224, 249, 1, 1], [224, 351, 1, 1], [225, 240, 1, 2], [225, 247, 1, 2], [225, 352, 1, 2], [225, 359, 1, 2], [226, 239, 1, 1], [226, 247, 1, 1], [226, 353, 1, 1], [226, 361, 1, 1], [227, 237, 1, 1], [227, 363, 1, 1], [228, 246, 1, 1], [228, 354, 1, 1], [232, 243, 1, 1], [232, 247, 1, 1], [232, 251, 1, 1], [232, 349, 1, 1], [232, 353, 1, 1], [232, 357, 1, 1], [234, 252, 1, 1], [234, 348, 1, 1], [235, 253, 1, 1], [235, 347, 1, 1], [236, 252, 1, 1], [236, 348, 1, 1], [237, 248, 1, 1], [237, 352, 1, 1], [238, 246, 1, 1], [238, 250, 1, 2], [238, 349, 1, 2], [238, 354, 1, 1], [239, 245, 1, 1], [239, 355, 1, 1], [241, 253, 1, 2], [241, 256, 1, 1], [241, 344, 1, 1], [241, 346, 1, 2], [242, 257, 1, 1], [242, 343, 1, 1], [243, 256, 1, 2], [243, 343, 1, 2], [244, 254, 1, 1], [244, 256, 1, 2], [244, 343, 1, 2], [244, 346, 1, 1], [245, 254, 1, 1], [245, 346, 1, 1], [246, 254, 1, 1], [246, 346, 1, 1], [247, 261, 1, 1], [247, 339, 1, 1], [250, 264, 1, 1], [250, 336, 1, 1], [253, 267, 1, 1], [253, 333, 1, 1], [255, 271, 1, 1], [255, 329, 1, 1], [258, 277, 1, 1], [258, 323, 1, 1], [259, 277, 1, 3], [259, 321, 1, 3], [260, 277, 1, 4], [260, 320, 1, 4], [261, 276, 1, 4], [261, 321, 1, 4], [262, 271, 1, 2], [262, 274, 1, 1], [262, 326, 1, 1], [262, 328, 1, 2], [263, 251, 1, 1], [263, 258, 1, 1], [263, 342, 1, 1], [263, 349, 1, 1], [265, 244, 1, 1], [265, 250, 1, 1], [265, 260, 1, 1], [265, 340, 1, 1], [265, 350, 1, 1], [265, 356, 1, 1], [266, 228, 1, 1], [266, 231, 1, 1], [266, 241, 1, 1], [266, 254, 1, 3], [266, 344, 1, 3], [266, 359, 1, 1], [266, 369, 1, 1], [266, 372, 1, 1], [267, 249, 1, 1], [267, 255, 1, 1], [267, 345, 1, 1], [267, 351, 1, 1], [268, 232, 1, 1], [268, 238, 1, 1], [268, 362, 1, 1], [268, 368, 1, 1], [269, 232, 1, 1], [269, 240, 1, 1], [269, 247, 1, 2], [269, 352, 1, 2], [269, 360, 1, 1], [269, 368, 1, 1], [270, 227, 1, 1], [270, 234, 1, 1], [270, 366, 1, 1], [270, 373, 1, 1], [271, 225, 1, 1], [271, 232, 1, 1], [271, 368, 1, 1], [271, 375, 1, 1], [272, 211, 1, 1], [272, 233, 1, 1], [272, 367, 1, 1], [272, 389, 1, 1], [273, 223, 1, 1], [273, 228, 1, 1], [273, 372, 1, 1], [273, 377, 1, 1], [274, 207, 1, 1], [274, 228, 1, 1], [274, 236, 1, 2], [274, 363, 1, 2], [274, 372, 1, 1], [274, 393, 1, 1], [275, 210, 1, 2], [275, 389, 1, 2], [277, 211, 1, 1], [277, 389, 1, 1], [278, 211, 1, 2], [278, 218, 1, 1], [278, 228, 1, 1], [278, 372, 1, 1], [278, 382, 1, 1], [278, 388, 1, 2], [279, 208, 1, 1], [279, 214, 1, 1], [279, 228, 1, 1], [279, 372, 1, 1], [279, 386, 1, 1], [279, 392, 1, 1], [280, 201, 1, 2], [280, 204, 1, 1], [280, 207, 1, 3], [280, 215, 1, 1], [280, 223, 1, 1], [280, 227, 1, 1], [280, 373, 1, 1], [280, 377, 1, 1], [280, 385, 1, 1], [280, 391, 1, 3], [280, 396, 1, 1], [280, 398, 1, 2], [281, 223, 1, 1], [281, 377, 1, 1], [282, 205, 1, 1], [282, 208, 1, 1], [282, 223, 1, 1], [282, 377, 1, 1], [282, 392, 1, 1], [282, 395, 1, 1], [283, 201, 1, 1], [283, 399, 1, 1], [284, 207, 1, 1], [284, 209, 1, 1], [284, 221, 1, 1], [284, 379, 1, 1], [284, 391, 1, 1], [284, 393, 1, 1], [286, 206, 1, 1], [286, 394, 1, 1], [288, 209, 1, 1], [288, 391, 1, 1], [289, 177, 1, 1], [289, 423, 1, 1], [290, 167, 1, 1], [290, 210, 1, 1], [290, 390, 1, 1], [290, 433, 1, 1], [291, 168, 1, 1], [291, 176, 1, 1], [291, 211, 1, 2], [291, 388, 1, 2], [291, 424, 1, 1], [291, 432, 1, 1], [292, 211, 1, 1], [292, 389, 1, 1], [293, 168, 1, 1], [293, 204, 1, 1], [293, 208, 1, 1], [293, 392, 1, 1], [293, 396, 1, 1], [293, 432, 1, 1], [294, 170, 1, 1], [294, 174, 1, 1], [294, 201, 1, 1], [294, 399, 1, 1], [294, 426, 1, 1], [294, 430, 1, 1], [295, 187, 1, 2], [295, 191, 1, 1], [295, 409, 1, 1], [295, 412, 1, 2], [296, 171, 1, 1], [296, 191, 1, 1], [296, 201, 1, 1], [296, 399, 1, 1], [296, 409, 1, 1], [296, 429, 1, 1], [297, 166, 1, 2], [297, 169, 1, 1], [297, 173, 1, 1], [297, 427, 1, 1], [297, 431, 1, 1], [297, 433, 1, 2], [298, 170, 1, 1], [298, 179, 1, 1], [298, 187, 1, 1], [298, 413, 1, 1], [298, 421, 1, 1], [298, 430, 1, 1], [299, 170, 1, 1], [299, 172, 1, 1], [299, 178, 1, 1], [299, 181, 1, 1], [299, 186, 1, 1], [299, 414, 1, 1], [299, 419, 1, 1], [299, 422, 1, 1], [299, 428, 1, 1], [299, 430, 1, 1], [300, 169, 1, 1], [300, 173, 1, 1], [300, 182, 1, 1], [300, 191, 1, 1], [300, 409, 1, 1], [300, 418, 1, 1], [300, 427, 1, 1], [300, 431, 1, 1], [301, 168, 1, 1], [301, 170, 1, 1], [301, 194, 1, 1], [301, 406, 1, 1], [301, 430, 1, 1], [301, 432, 1, 1], [302, 175, 1, 1], [302, 194, 1, 1], [302, 199, 1, 1], [302, 401, 1, 1], [302, 406, 1, 1], [302, 425, 1, 1], [303, 162, 1, 1], [303, 175, 1, 1], [303, 199, 1, 1], [303, 401, 1, 1], [303, 425, 1, 1], [303, 438, 1, 1], [305, 164, 1, 1], [305, 197, 1, 2], [305, 402, 1, 2], [305, 436, 1, 1], [306, 176, 1, 1], [306, 197, 1, 1], [306, 403, 1, 1], [306, 424, 1, 1], [307, 175, 1, 1], [307, 178, 1, 1], [307, 422, 1, 1], [307, 425, 1, 1], [308, 177, 1, 1], [308, 423, 1, 1], [311, 176, 1, 2], [311, 423, 1, 2], [314, 177, 1, 1], [314, 423, 1, 1], [315, 180, 1, 1], [315, 420, 1, 1], [316, 179, 1, 1], [316, 421, 1, 1], [317, 174, 1, 1], [317, 426, 1, 1], [318, 184, 1, 4], [318, 413, 1, 4], [319, 187, 1, 1], [319, 413, 1, 1], [324, 178, 1, 1], [324, 422, 1, 1], [329, 179, 1, 2], [329, 420, 1, 2], [331, 164, 1, 1], [331, 436, 1, 1], [332, 169, 1, 1], [332, 171, 1, 1], [332, 429, 1, 1], [332, 431, 1, 1], [333, 171, 1, 3], [333, 179, 1, 1], [333, 421, 1, 1], [333, 427, 1, 3], [336, 167, 1, 1], [336, 433, 1, 1], [337, 169, 1, 2], [337, 430, 1, 2], [338, 164, 1, 2], [338, 168, 1, 1], [338, 432, 1, 1], [338, 435, 1, 2], [340, 168, 1, 1], [340, 432, 1, 1], [341, 174, 1, 1], [341, 426, 1, 1], [345, 170, 1, 1], [345, 430, 1, 1], [346, 174, 1, 1], [346, 426, 1, 1], [347, 171, 1, 1], [347, 429, 1, 1], [348, 167, 1, 1], [348, 433, 1, 1], [351, 130, 1, 1], [351, 170, 1, 1], [351, 430, 1, 1], [351, 470, 1, 1], [352, 132, 1, 2], [352, 467, 1, 2], [353, 172, 1, 1], [353, 428, 1, 1], [354, 131, 1, 2], [354, 149, 1, 1], [354, 171, 1, 1], [354, 429, 1, 1], [354, 451, 1, 1], [354, 468, 1, 2], [355, 131, 1, 1], [355, 147, 1, 1], [355, 149, 1, 1], [355, 451, 1, 1], [355, 453, 1, 1], [355, 469, 1, 1], [357, 131, 1, 1], [357, 147, 1, 1], [357, 168, 1, 1], [357, 432, 1, 1], [357, 453, 1, 1], [357, 469, 1, 1], [358, 146, 1, 1], [358, 157, 1, 1], [358, 443, 1, 1], [358, 454, 1, 1], [359, 134, 1, 1], [359, 148, 1, 1], [359, 150, 1, 1], [359, 450, 1, 1], [359, 452, 1, 1], [359, 466, 1, 1], [360, 134, 1, 1], [360, 466, 1, 1], [361, 130, 1, 2], [361, 136, 1, 1], [361, 138, 1, 1], [361, 141, 1, 1], [361, 155, 1, 1], [361, 157, 1, 1], [361, 443, 1, 1], [361, 445, 1, 1], [361, 459, 1, 1], [361, 462, 1, 1], [361, 464, 1, 1], [361, 469, 1, 2], [362, 125, 1, 1], [362, 135, 1, 1], [362, 139, 1, 1], [362, 141, 1, 1], [362, 143, 1, 1], [362, 152, 1, 1], [362, 154, 1, 1], [362, 158, 1, 2], [362, 161, 1, 1], [362, 439, 1, 1], [362, 441, 1, 2], [362, 446, 1, 1], [362, 448, 1, 1], [362, 457, 1, 1], [362, 459, 1, 1], [362, 461, 1, 1], [362, 465, 1, 1], [362, 475, 1, 1], [363, 136, 1, 1], [363, 143, 1, 1], [363, 457, 1, 1], [363, 464, 1, 1], [366, 134, 1, 1], [366, 466, 1, 1], [367, 135, 1, 1], [367, 169, 1, 1], [367, 431, 1, 1], [367, 465, 1, 1], [368, 169, 1, 1], [368, 431, 1, 1], [369, 135, 1, 1], [369, 167, 1, 3], [369, 431, 1, 3], [369, 465, 1, 1], [370, 130, 1, 1], [370, 168, 1, 2], [370, 431, 1, 2], [370, 470, 1, 1], [371, 131, 1, 1], [371, 469, 1, 1], [372, 130, 1, 1], [372, 470, 1, 1], [373, 90, 1, 2], [373, 95, 1, 1], [373, 505, 1, 1], [373, 509, 1, 2], [374, 92, 1, 1], [374, 132, 1, 1], [374, 468, 1, 1], [374, 508, 1, 1], [375, 95, 1, 1], [375, 131, 1, 1], [375, 469, 1, 1], [375, 505, 1, 1], [376, 95, 1, 1], [376, 130, 1, 2], [376, 469, 1, 2], [376, 505, 1, 1], [377, 92, 1, 1], [377, 119, 1, 1], [377, 121, 1, 1], [377, 126, 1, 1], [377, 131, 1, 1], [377, 469, 1, 1], [377, 474, 1, 1], [377, 479, 1, 1], [377, 481, 1, 1], [377, 508, 1, 1], [378, 123, 1, 1], [378, 126, 1, 1], [378, 128, 1, 1], [378, 472, 1, 1], [378, 474, 1, 1], [378, 477, 1, 1], [379, 122, 1, 1], [379, 124, 1, 1], [379, 476, 1, 1], [379, 478, 1, 1], [380, 98, 1, 1], [380, 502, 1, 1], [381, 102, 1, 1], [381, 498, 1, 1], [382, 102, 1, 2], [382, 120, 1, 1], [382, 122, 1, 1], [382, 478, 1, 1], [382, 480, 1, 1], [382, 497, 1, 2], [383, 104, 1, 2], [383, 115, 1, 1], [383, 120, 1, 1], [383, 480, 1, 1], [383, 485, 1, 1], [383, 495, 1, 2], [384, 120, 1, 1], [384, 480, 1, 1], [385, 107, 1, 1], [385, 115, 1, 5], [385, 481, 1, 5], [385, 493, 1, 1], [386, 113, 1, 1], [386, 118, 1, 2], [386, 481, 1, 2], [386, 487, 1, 1], [387, 111, 1, 1], [387, 489, 1, 1], [388, 108, 1, 1], [388, 115, 1, 1], [388, 122, 1, 1], [388, 478, 1, 1], [388, 485, 1, 1], [388, 492, 1, 1], [389, 119, 1, 1], [389, 481, 1, 1], [390, 107, 1, 1], [390, 131, 1, 2], [390, 468, 1, 2], [390, 493, 1, 1], [391, 106, 1, 1], [391, 123, 1, 1], [391, 125, 1, 1], [391, 127, 1, 1], [391, 473, 1, 1], [391, 475, 1, 1], [391, 477, 1, 1], [391, 494, 1, 1], [392, 105, 1, 1], [392, 132, 1, 1], [392, 468, 1, 1], [392, 495, 1, 1], [393, 133, 1, 1], [393, 467, 1, 1], [394, 134, 1, 1], [394, 168, 1, 2], [394, 431, 1, 2], [394, 466, 1, 1], [395, 167, 1, 3], [395, 431, 1, 3], [396, 103, 1, 1], [396, 132, 1, 2], [396, 166, 1, 1], [396, 169, 1, 1], [396, 431, 1, 1], [396, 434, 1, 1], [396, 467, 1, 2], [396, 497, 1, 1], [397, 135, 1, 3], [397, 463, 1, 3], [398, 101, 1, 2], [398, 138, 1, 1], [398, 169, 1, 1], [398, 431, 1, 1], [398, 462, 1, 1], [398, 498, 1, 2], [399, 138, 1, 1], [399, 462, 1, 1], [400, 138, 1, 1], [400, 462, 1, 1], [401, 137, 1, 1], [401, 160, 1, 1], [401, 169, 1, 1], [401, 431, 1, 1], [401, 440, 1, 1], [401, 463, 1, 1], [402, 138, 1, 1], [402, 145, 1, 2], [402, 156, 1, 1], [402, 444, 1, 1], [402, 454, 1, 2], [402, 462, 1, 1], [403, 139, 1, 1], [403, 156, 1, 1], [403, 444, 1, 1], [403, 461, 1, 1], [404, 139, 1, 1], [404, 143, 1, 1], [404, 158, 1, 1], [404, 442, 1, 1], [404, 457, 1, 1], [404, 461, 1, 1], [405, 138, 1, 1], [405, 140, 1, 1], [405, 152, 1, 1], [405, 448, 1, 1], [405, 460, 1, 1], [405, 462, 1, 1], [406, 148, 1, 1], [406, 150, 1, 1], [406, 153, 1, 1], [406, 171, 1, 1], [406, 429, 1, 1], [406, 447, 1, 1], [406, 450, 1, 1], [406, 452, 1, 1], [407, 131, 1, 1], [407, 150, 1, 1], [407, 170, 1, 1], [407, 430, 1, 1], [407, 450, 1, 1], [407, 469, 1, 1], [408, 148, 1, 1], [408, 168, 1, 1], [408, 432, 1, 1], [408, 452, 1, 1], [410, 148, 1, 1], [410, 452, 1, 1], [411, 128, 1, 1], [411, 137, 1, 2], [411, 171, 1, 2], [411, 428, 1, 2], [411, 462, 1, 2], [411, 472, 1, 1], [412, 172, 1, 1], [412, 428, 1, 1], [415, 170, 1, 1], [415, 430, 1, 1], [418, 167, 1, 1], [418, 433, 1, 1], [420, 170, 1, 1], [420, 175, 1, 1], [420, 425, 1, 1], [420, 430, 1, 1], [425, 177, 1, 1], [425, 423, 1, 1], [428, 167, 1, 1], [428, 433, 1, 1], [430, 168, 1, 1], [430, 432, 1, 1], [431, 164, 1, 1], [431, 169, 1, 1], [431, 171, 1, 1], [431, 429, 1, 1], [431, 431, 1, 1], [431, 436, 1, 1], [432, 162, 1, 1], [432, 166, 1, 1], [432, 170, 1, 2], [432, 429, 1, 2], [432, 434, 1, 1], [432, 438, 1, 1], [433, 166, 1, 1], [433, 434, 1, 1], [434, 168, 1, 1], [434, 175, 1, 1], [434, 425, 1, 1], [434, 432, 1, 1], [435, 168, 1, 1], [435, 172, 1, 1], [435, 428, 1, 1], [435, 432, 1, 1], [436, 170, 1, 2], [436, 178, 1, 1], [436, 422, 1, 1], [436, 429, 1, 2], [437, 168, 1, 1], [437, 170, 1, 1], [437, 172, 1, 2], [437, 183, 1, 1], [437, 417, 1, 1], [437, 427, 1, 2], [437, 430, 1, 1], [437, 432, 1, 1], [438, 173, 1, 1], [438, 427, 1, 1], [439, 183, 1, 1], [439, 417, 1, 1], [442, 187, 1, 1], [442, 413, 1, 1], [446, 190, 1, 1], [446, 410, 1, 1], [449, 192, 1, 1], [449, 408, 1, 1], [450, 193, 1, 1], [450, 407, 1, 1], [451, 190, 1, 1], [451, 193, 1, 1], [451, 407, 1, 1], [451, 410, 1, 1], [453, 184, 1, 1], [453, 416, 1, 1], [457, 184, 1, 1], [457, 300, 1, 1], [457, 416, 1, 1], [461, 179, 1, 1], [461, 182, 1, 1], [461, 204, 1, 2], [461, 395, 1, 2], [461, 418, 1, 1], [461, 421, 1, 1], [462, 204, 1, 1], [462, 206, 1, 1], [462, 394, 1, 1], [462, 396, 1, 1], [463, 207, 1, 1], [463, 393, 1, 1], [464, 182, 1, 1], [464, 418, 1, 1], [465, 183, 1, 2], [465, 210, 1, 1], [465, 390, 1, 1], [465, 416, 1, 2], [466, 204, 1, 1], [466, 210, 1, 1], [466, 390, 1, 1], [466, 396, 1, 1], [469, 200, 1, 1], [469, 203, 1, 1], [469, 215, 1, 1], [469, 291, 1, 1], [469, 309, 1, 1], [469, 385, 1, 1], [469, 397, 1, 1], [469, 400, 1, 1], [471, 192, 1, 1], [471, 195, 1, 1], [471, 199, 1, 1], [471, 288, 1, 1], [471, 291, 1, 1], [471, 309, 1, 1], [471, 312, 1, 1], [471, 401, 1, 1], [471, 405, 1, 1], [471, 408, 1, 1], [472, 184, 1, 1], [472, 213, 1, 1], [472, 215, 1, 1], [472, 222, 1, 1], [472, 287, 1, 1], [472, 313, 1, 1], [472, 378, 1, 1], [472, 385, 1, 1], [472, 387, 1, 1], [472, 416, 1, 1], [473, 187, 1, 1], [473, 218, 1, 1], [473, 382, 1, 1], [473, 413, 1, 1], [474, 185, 1, 1], [474, 195, 1, 2], [474, 214, 1, 1], [474, 218, 1, 1], [474, 284, 1, 1], [474, 316, 1, 1], [474, 382, 1, 1], [474, 386, 1, 1], [474, 404, 1, 2], [474, 415, 1, 1], [475, 171, 1, 1], [475, 185, 1, 1], [475, 188, 1, 1], [475, 212, 1, 1], [475, 217, 1, 1], [475, 229, 1, 1], [475, 286, 1, 1], [475, 314, 1, 1], [475, 371, 1, 1], [475, 383, 1, 1], [475, 388, 1, 1], [475, 412, 1, 1], [475, 415, 1, 1], [475, 429, 1, 1], [476, 161, 1, 1], [476, 168, 1, 1], [476, 170, 1, 1], [476, 176, 1, 1], [476, 183, 1, 1], [476, 417, 1, 1], [476, 424, 1, 1], [476, 430, 1, 1], [476, 432, 1, 1], [476, 439, 1, 1], [477, 179, 1, 1], [477, 196, 1, 1], [477, 199, 1, 1], [477, 401, 1, 1], [477, 404, 1, 1], [477, 421, 1, 1], [479, 165, 1, 1], [479, 181, 1, 1], [479, 184, 1, 1], [479, 244, 1, 1], [479, 268, 1, 1], [479, 332, 1, 1], [479, 356, 1, 1], [479, 416, 1, 1], [479, 419, 1, 1], [479, 435, 1, 1], [480, 180, 1, 1], [480, 184, 1, 1], [480, 226, 1, 1], [480, 249, 1, 1], [480, 253, 1, 1], [480, 260, 1, 2], [480, 282, 1, 1], [480, 318, 1, 1], [480, 339, 1, 2], [480, 347, 1, 1], [480, 351, 1, 1], [480, 374, 1, 1], [480, 416, 1, 1], [480, 420, 1, 1], [481, 224, 1, 1], [481, 239, 1, 1], [481, 245, 1, 1], [481, 248, 1, 1], [481, 352, 1, 1], [481, 355, 1, 1], [481, 361, 1, 1], [481, 376, 1, 1], [482, 185, 1, 2], [482, 245, 1, 1], [482, 355, 1, 1], [482, 414, 1, 2], [483, 244, 1, 1], [483, 272, 1, 1], [483, 274, 1, 1], [483, 326, 1, 1], [483, 328, 1, 1], [483, 356, 1, 1], [484, 225, 1, 1], [484, 252, 1, 1], [484, 260, 1, 1], [484, 340, 1, 1], [484, 348, 1, 1], [484, 375, 1, 1], [485, 236, 1, 2], [485, 259, 1, 1], [485, 261, 1, 1], [485, 339, 1, 1], [485, 341, 1, 1], [485, 363, 1, 2], [486, 229, 1, 1], [486, 238, 1, 1], [486, 273, 1, 1], [486, 327, 1, 1], [486, 362, 1, 1], [486, 371, 1, 1], [487, 237, 1, 1], [487, 257, 1, 1], [487, 268, 1, 1], [487, 332, 1, 1], [487, 343, 1, 1], [487, 363, 1, 1], [488, 231, 1, 1], [488, 369, 1, 1], [491, 228, 1, 2], [491, 258, 1, 1], [491, 342, 1, 1], [491, 371, 1, 2], [493, 233, 1, 1], [493, 367, 1, 1], [494, 231, 1, 1], [494, 234, 1, 1], [494, 366, 1, 1], [494, 369, 1, 1], [496, 222, 1, 1], [496, 378, 1, 1]], [[64, 299, 1, 1], [64, 301, 1, 1], [66, 296, 1, 1], [66, 304, 1, 1], [120, 297, 1, 1], [120, 303, 1, 1], [121, 299, 1, 1], [121, 301, 1, 1], [126, 299, 1, 1], [126, 301, 1, 1], [132, 291, 1, 1], [132, 309, 1, 1], [134, 275, 1, 1], [134, 299, 1, 1], [134, 301, 1, 1], [134, 325, 1, 1], [135, 294, 1, 2], [135, 305, 1, 2], [136, 297, 1, 1], [136, 303, 1, 1], [137, 278, 1, 1], [137, 322, 1, 1], [138, 296, 1, 1], [138, 304, 1, 1], [141, 281, 1, 1], [141, 295, 1, 1], [141, 305, 1, 1], [141, 319, 1, 1], [142, 289, 1, 1], [142, 291, 1, 1], [142, 309, 1, 1], [142, 311, 1, 1], [144, 288, 1, 1], [144, 312, 1, 1], [146, 286, 1, 1], [146, 314, 1, 1], [150, 285, 1, 3], [150, 313, 1, 3], [151, 286, 1, 1], [151, 314, 1, 1], [153, 285, 1, 1], [153, 315, 1, 1], [155, 285, 1, 1], [155, 315, 1, 1], [156, 283, 1, 1], [156, 317, 1, 1], [157, 286, 1, 1], [157, 314, 1, 1], [162, 265, 1, 1], [162, 290, 1, 1], [162, 310, 1, 1], [162, 335, 1, 1], [163, 285, 1, 1], [163, 291, 1, 1], [163, 309, 1, 1], [163, 315, 1, 1], [164, 265, 1, 1], [164, 286, 1, 1], [164, 289, 1, 2], [164, 310, 1, 2], [164, 314, 1, 1], [164, 335, 1, 1], [165, 218, 1, 1], [165, 266, 1, 1], [165, 276, 1, 1], [165, 278, 1, 1], [165, 284, 1, 1], [165, 316, 1, 1], [165, 322, 1, 1], [165, 324, 1, 1], [165, 334, 1, 1], [165, 382, 1, 1], [166, 235, 1, 1], [166, 365, 1, 1], [167, 267, 1, 1], [167, 275, 1, 1], [167, 280, 1, 1], [167, 320, 1, 1], [167, 325, 1, 1], [167, 333, 1, 1], [168, 265, 1, 1], [168, 268, 1, 1], [168, 270, 1, 1], [168, 275, 1, 1], [168, 325, 1, 1], [168, 330, 1, 1], [168, 332, 1, 1], [168, 335, 1, 1], [169, 263, 1, 1], [169, 275, 1, 1], [169, 325, 1, 1], [169, 337, 1, 1], [170, 265, 1, 2], [170, 272, 1, 2], [170, 327, 1, 2], [170, 334, 1, 2], [171, 266, 1, 1], [171, 334, 1, 1], [174, 237, 1, 1], [174, 363, 1, 1], [175, 266, 1, 1], [175, 334, 1, 1], [176, 252, 1, 1], [176, 264, 1, 2], [176, 335, 1, 2], [176, 348, 1, 1], [178, 246, 1, 1], [178, 251, 1, 1], [178, 349, 1, 1], [178, 354, 1, 1], [179, 241, 1, 1], [179, 250, 1, 1], [179, 262, 1, 1], [179, 338, 1, 1], [179, 350, 1, 1], [179, 359, 1, 1], [180, 249, 1, 1], [180, 351, 1, 1], [181, 245, 1, 1], [181, 247, 1, 1], [181, 260, 1, 1], [181, 340, 1, 1], [181, 353, 1, 1], [181, 355, 1, 1], [182, 239, 1, 1], [182, 361, 1, 1], [183, 239, 1, 1], [183, 243, 1, 1], [183, 357, 1, 1], [183, 361, 1, 1], [184, 237, 1, 1], [184, 363, 1, 1], [186, 243, 1, 1], [186, 245, 1, 1], [186, 355, 1, 1], [186, 357, 1, 1], [187, 245, 1, 1], [187, 355, 1, 1], [189, 245, 1, 1], [189, 355, 1, 1], [190, 239, 1, 1], [190, 242, 1, 3], [190, 356, 1, 3], [190, 361, 1, 1], [192, 247, 1, 1], [192, 353, 1, 1], [193, 252, 1, 1], [193, 348, 1, 1], [194, 252, 1, 1], [194, 348, 1, 1], [196, 251, 1, 1], [196, 349, 1, 1], [198, 244, 1, 1], [198, 356, 1, 1], [200, 249, 1, 1], [200, 351, 1, 1], [203, 248, 1, 1], [203, 352, 1, 1], [204, 231, 1, 1], [204, 249, 1, 1], [204, 351, 1, 1], [204, 369, 1, 1], [205, 234, 1, 1], [205, 248, 1, 1], [205, 352, 1, 1], [205, 366, 1, 1], [207, 227, 1, 1], [207, 235, 1, 1], [207, 365, 1, 1], [207, 373, 1, 1], [208, 247, 1, 1], [208, 353, 1, 1], [210, 226, 1, 1], [210, 374, 1, 1], [211, 235, 1, 3], [211, 242, 1, 2], [211, 357, 1, 2], [211, 363, 1, 3], [212, 239, 1, 2], [212, 360, 1, 2], [213, 241, 1, 1], [213, 359, 1, 1], [215, 235, 1, 1], [215, 365, 1, 1], [217, 240, 1, 1], [217, 248, 1, 1], [217, 352, 1, 1], [217, 360, 1, 1], [220, 246, 1, 1], [220, 354, 1, 1], [222, 247, 1, 1], [222, 353, 1, 1], [223, 249, 1, 1], [223, 351, 1, 1], [225, 249, 1, 2], [225, 350, 1, 2], [227, 241, 1, 1], [227, 359, 1, 1], [228, 242, 1, 1], [228, 245, 1, 1], [228, 247, 1, 1], [228, 353, 1, 1], [228, 355, 1, 1], [228, 358, 1, 1], [229, 246, 1, 1], [229, 354, 1, 1], [231, 245, 1, 1], [231, 355, 1, 1], [232, 246, 1, 1], [232, 250, 1, 1], [232, 252, 1, 1], [232, 348, 1, 1], [232, 350, 1, 1], [232, 354, 1, 1], [233, 252, 1, 1], [233, 348, 1, 1], [235, 254, 1, 1], [235, 346, 1, 1], [237, 247, 1, 1], [237, 249, 1, 1], [237, 351, 1, 1], [237, 353, 1, 1], [238, 249, 1, 1], [238, 351, 1, 1], [239, 250, 1, 1], [239, 350, 1, 1], [243, 255, 1, 1], [243, 345, 1, 1], [248, 259, 1, 1], [248, 261, 1, 1], [248, 339, 1, 1], [248, 341, 1, 1], [250, 263, 1, 1], [250, 265, 1, 1], [250, 335, 1, 1], [250, 337, 1, 1], [252, 268, 1, 1], [252, 332, 1, 1], [258, 278, 1, 1], [258, 322, 1, 1], [259, 280, 1, 1], [259, 320, 1, 1], [260, 281, 1, 2], [260, 318, 1, 2], [261, 280, 1, 3], [261, 318, 1, 3], [262, 276, 1, 1], [262, 324, 1, 1], [263, 268, 1, 1], [263, 332, 1, 1], [264, 253, 1, 1], [264, 257, 1, 1], [264, 265, 1, 1], [264, 335, 1, 1], [264, 343, 1, 1], [264, 347, 1, 1], [265, 245, 1, 1], [265, 256, 1, 1], [265, 261, 1, 1], [265, 339, 1, 1], [265, 344, 1, 1], [265, 355, 1, 1], [266, 229, 1, 1], [266, 371, 1, 1], [267, 229, 1, 1], [267, 241, 1, 1], [267, 250, 1, 1], [267, 350, 1, 1], [267, 359, 1, 1], [267, 371, 1, 1], [268, 229, 1, 1], [268, 231, 1, 1], [268, 239, 1, 1], [268, 245, 1, 1], [268, 355, 1, 1], [268, 361, 1, 1], [268, 369, 1, 1], [268, 371, 1, 1], [269, 233, 1, 1], [269, 241, 1, 1], [269, 249, 1, 1], [269, 351, 1, 1], [269, 359, 1, 1], [269, 367, 1, 1], [270, 247, 1, 1], [270, 353, 1, 1], [271, 224, 1, 1], [271, 376, 1, 1], [272, 227, 1, 3], [272, 241, 1, 1], [272, 359, 1, 1], [272, 371, 1, 3], [273, 211, 1, 1], [273, 241, 1, 1], [273, 359, 1, 1], [273, 389, 1, 1], [274, 210, 1, 1], [274, 214, 1, 2], [274, 385, 1, 2], [274, 390, 1, 1], [275, 236, 1, 1], [275, 364, 1, 1], [276, 210, 1, 1], [276, 212, 1, 1], [276, 388, 1, 1], [276, 390, 1, 1], [277, 210, 1, 1], [277, 390, 1, 1], [278, 207, 1, 1], [278, 393, 1, 1], [279, 205, 1, 1], [279, 229, 1, 1], [279, 371, 1, 1], [279, 395, 1, 1], [280, 205, 1, 1], [280, 214, 1, 1], [280, 386, 1, 1], [280, 395, 1, 1], [282, 203, 1, 1], [282, 397, 1, 1], [283, 222, 1, 1], [283, 378, 1, 1], [285, 209, 1, 1], [285, 391, 1, 1], [286, 178, 1, 1], [286, 422, 1, 1], [289, 162, 1, 1], [289, 166, 1, 1], [289, 434, 1, 1], [289, 438, 1, 1], [290, 211, 1, 1], [290, 389, 1, 1], [291, 177, 1, 1], [291, 423, 1, 1], [292, 175, 1, 1], [292, 201, 1, 1], [292, 399, 1, 1], [292, 425, 1, 1], [293, 202, 1, 1], [293, 398, 1, 1], [294, 188, 1, 1], [294, 412, 1, 1], [295, 201, 1, 1], [295, 208, 1, 1], [295, 392, 1, 1], [295, 399, 1, 1], [296, 186, 1, 1], [296, 189, 1, 1], [296, 411, 1, 1], [296, 414, 1, 1], [297, 186, 1, 1], [297, 414, 1, 1], [298, 171, 1, 1], [298, 173, 1, 1], [298, 427, 1, 1], [298, 429, 1, 1], [299, 179, 1, 1], [299, 185, 1, 1], [299, 190, 1, 1], [299, 193, 1, 1], [299, 203, 1, 1], [299, 397, 1, 1], [299, 407, 1, 1], [299, 410, 1, 1], [299, 415, 1, 1], [299, 421, 1, 1], [300, 186, 1, 1], [300, 203, 1, 1], [300, 397, 1, 1], [300, 414, 1, 1], [301, 174, 1, 2], [301, 182, 1, 1], [301, 418, 1, 1], [301, 425, 1, 2], [302, 168, 1, 1], [302, 432, 1, 1], [304, 174, 1, 2], [304, 425, 1, 2], [305, 166, 1, 1], [305, 196, 1, 1], [305, 404, 1, 1], [305, 434, 1, 1], [306, 175, 1, 1], [306, 196, 1, 1], [306, 404, 1, 1], [306, 425, 1, 1], [309, 177, 1, 1], [309, 423, 1, 1], [310, 172, 1, 1], [310, 178, 1, 1], [310, 422, 1, 1], [310, 428, 1, 1], [312, 174, 1, 1], [312, 176, 1, 2], [312, 423, 1, 2], [312, 426, 1, 1], [314, 174, 1, 1], [314, 176, 1, 1], [314, 424, 1, 1], [314, 426, 1, 1], [316, 176, 1, 1], [316, 424, 1, 1], [317, 183, 1, 1], [317, 417, 1, 1], [318, 188, 1, 1], [318, 412, 1, 1], [321, 186, 1, 1], [321, 414, 1, 1], [322, 186, 1, 1], [322, 414, 1, 1], [325, 182, 1, 1], [325, 184, 1, 1], [325, 416, 1, 1], [325, 418, 1, 1], [329, 171, 1, 1], [329, 429, 1, 1], [330, 164, 1, 1], [330, 436, 1, 1], [331, 174, 1, 1], [331, 426, 1, 1], [333, 174, 1, 1], [333, 426, 1, 1], [335, 166, 1, 2], [335, 433, 1, 2], [336, 169, 1, 2], [336, 430, 1, 2], [337, 164, 1, 3], [337, 434, 1, 3], [338, 172, 1, 1], [338, 428, 1, 1], [341, 172, 1, 1], [341, 176, 1, 1], [341, 424, 1, 1], [341, 428, 1, 1], [343, 175, 1, 1], [343, 425, 1, 1], [347, 166, 1, 1], [347, 169, 1, 1], [347, 431, 1, 1], [347, 434, 1, 1], [350, 167, 1, 1], [350, 433, 1, 1], [355, 130, 1, 1], [355, 470, 1, 1], [358, 130, 1, 1], [358, 147, 1, 1], [358, 453, 1, 1], [358, 470, 1, 1], [359, 130, 1, 1], [359, 137, 1, 1], [359, 170, 1, 2], [359, 429, 1, 2], [359, 463, 1, 1], [359, 470, 1, 1], [360, 131, 1, 1], [360, 135, 1, 1], [360, 148, 1, 1], [360, 452, 1, 1], [360, 465, 1, 1], [360, 469, 1, 1], [361, 127, 1, 2], [361, 140, 1, 1], [361, 147, 1, 2], [361, 452, 1, 2], [361, 460, 1, 1], [361, 472, 1, 2], [362, 134, 1, 1], [362, 155, 1, 1], [362, 445, 1, 1], [362, 466, 1, 1], [363, 141, 1, 1], [363, 144, 1, 1], [363, 146, 1, 2], [363, 158, 1, 1], [363, 442, 1, 1], [363, 453, 1, 2], [363, 456, 1, 1], [363, 459, 1, 1], [364, 136, 1, 1], [364, 142, 1, 1], [364, 159, 1, 1], [364, 441, 1, 1], [364, 458, 1, 1], [364, 464, 1, 1], [365, 135, 1, 1], [365, 162, 1, 1], [365, 438, 1, 1], [365, 465, 1, 1], [367, 134, 1, 1], [367, 466, 1, 1], [369, 136, 1, 1], [369, 464, 1, 1], [371, 168, 1, 2], [371, 431, 1, 2], [372, 86, 1, 1], [372, 169, 1, 1], [372, 431, 1, 1], [372, 514, 1, 1], [373, 131, 1, 1], [373, 469, 1, 1], [375, 121, 1, 1], [375, 479, 1, 1], [376, 92, 1, 1], [376, 127, 1, 1], [376, 473, 1, 1], [376, 508, 1, 1], [377, 120, 1, 1], [377, 480, 1, 1], [378, 127, 1, 1], [378, 131, 1, 1], [378, 469, 1, 1], [378, 473, 1, 1], [379, 123, 1, 1], [379, 125, 1, 1], [379, 129, 1, 1], [379, 131, 1, 1], [379, 469, 1, 1], [379, 471, 1, 1], [379, 475, 1, 1], [379, 477, 1, 1], [383, 121, 1, 1], [383, 479, 1, 1], [386, 108, 1, 1], [386, 114, 1, 1], [386, 120, 1, 1], [386, 480, 1, 1], [386, 486, 1, 1], [386, 492, 1, 1], [388, 121, 1, 1], [388, 123, 1, 1], [388, 477, 1, 1], [388, 479, 1, 1], [389, 132, 1, 1], [389, 468, 1, 1], [390, 124, 1, 1], [390, 127, 1, 1], [390, 129, 1, 1], [390, 471, 1, 1], [390, 473, 1, 1], [390, 476, 1, 1], [391, 133, 1, 1], [391, 467, 1, 1], [392, 169, 1, 1], [392, 431, 1, 1], [393, 121, 1, 1], [393, 168, 1, 2], [393, 431, 1, 2], [393, 479, 1, 1], [396, 124, 1, 1], [396, 476, 1, 1], [397, 131, 1, 1], [397, 469, 1, 1], [398, 139, 1, 1], [398, 461, 1, 1], [399, 103, 1, 1], [399, 497, 1, 1], [400, 160, 1, 1], [400, 440, 1, 1], [401, 145, 1, 1], [401, 455, 1, 1], [402, 139, 1, 1], [402, 148, 1, 2], [402, 154, 1, 1], [402, 157, 1, 1], [402, 443, 1, 1], [402, 446, 1, 1], [402, 451, 1, 2], [402, 461, 1, 1], [403, 149, 1, 1], [403, 157, 1, 1], [403, 443, 1, 1], [403, 451, 1, 1], [404, 142, 1, 1], [404, 151, 1, 1], [404, 449, 1, 1], [404, 458, 1, 1], [406, 133, 1, 1], [406, 137, 1, 1], [406, 139, 1, 1], [406, 170, 1, 1], [406, 430, 1, 1], [406, 461, 1, 1], [406, 463, 1, 1], [406, 467, 1, 1], [407, 132, 1, 1], [407, 135, 1, 1], [407, 148, 1, 1], [407, 452, 1, 1], [407, 465, 1, 1], [407, 468, 1, 1], [408, 147, 1, 1], [408, 150, 1, 2], [408, 449, 1, 2], [408, 453, 1, 1], [410, 136, 1, 1], [410, 464, 1, 1], [412, 138, 1, 1], [412, 462, 1, 1], [413, 173, 1, 1], [413, 427, 1, 1], [416, 170, 1, 1], [416, 430, 1, 1], [417, 166, 1, 1], [417, 434, 1, 1], [419, 171, 1, 1], [419, 175, 1, 1], [419, 425, 1, 1], [419, 429, 1, 1], [426, 172, 1, 1], [426, 174, 1, 1], [426, 426, 1, 1], [426, 428, 1, 1], [428, 172, 1, 1], [428, 428, 1, 1], [429, 167, 1, 1], [429, 173, 1, 1], [429, 427, 1, 1], [429, 433, 1, 1], [430, 173, 1, 1], [430, 427, 1, 1], [433, 165, 1, 1], [433, 167, 1, 1], [433, 169, 1, 2], [433, 181, 1, 2], [433, 418, 1, 2], [433, 430, 1, 2], [433, 433, 1, 1], [433, 435, 1, 1], [435, 182, 1, 1], [435, 418, 1, 1], [437, 184, 1, 1], [437, 416, 1, 1], [438, 172, 1, 1], [438, 428, 1, 1], [439, 182, 1, 1], [439, 418, 1, 1], [440, 183, 1, 1], [440, 417, 1, 1], [443, 188, 1, 1], [443, 412, 1, 1], [450, 194, 1, 1], [450, 406, 1, 1], [451, 194, 1, 1], [451, 406, 1, 1], [452, 184, 1, 1], [452, 416, 1, 1], [453, 187, 1, 1], [453, 413, 1, 1], [454, 183, 1, 1], [454, 417, 1, 1], [455, 176, 1, 1], [455, 184, 1, 2], [455, 415, 1, 2], [455, 424, 1, 1], [456, 185, 1, 1], [456, 415, 1, 1], [459, 178, 1, 1], [459, 422, 1, 1], [460, 178, 1, 1], [460, 182, 1, 1], [460, 204, 1, 1], [460, 396, 1, 1], [460, 418, 1, 1], [460, 422, 1, 1], [463, 208, 1, 1], [463, 392, 1, 1], [464, 183, 1, 1], [464, 417, 1, 1], [466, 202, 1, 1], [466, 398, 1, 1], [467, 293, 1, 1], [467, 307, 1, 1], [468, 181, 1, 1], [468, 184, 1, 1], [468, 416, 1, 1], [468, 419, 1, 1], [469, 201, 1, 1], [469, 292, 1, 1], [469, 308, 1, 1], [469, 399, 1, 1], [470, 184, 1, 1], [470, 191, 1, 1], [470, 409, 1, 1], [470, 416, 1, 1], [471, 184, 1, 1], [471, 190, 1, 1], [471, 202, 1, 1], [471, 398, 1, 1], [471, 410, 1, 1], [471, 416, 1, 1], [473, 185, 1, 2], [473, 189, 1, 1], [473, 213, 1, 1], [473, 215, 1, 1], [473, 385, 1, 1], [473, 387, 1, 1], [473, 411, 1, 1], [473, 414, 1, 2], [474, 197, 1, 1], [474, 199, 1, 1], [474, 217, 1, 1], [474, 383, 1, 1], [474, 401, 1, 1], [474, 403, 1, 1], [475, 183, 1, 2], [475, 230, 1, 1], [475, 370, 1, 1], [475, 416, 1, 2], [478, 182, 1, 2], [478, 238, 1, 1], [478, 273, 1, 1], [478, 327, 1, 1], [478, 362, 1, 1], [478, 417, 1, 2], [479, 245, 1, 1], [479, 266, 1, 1], [479, 334, 1, 1], [479, 355, 1, 1], [480, 227, 1, 1], [480, 242, 1, 1], [480, 358, 1, 1], [480, 373, 1, 1], [481, 186, 1, 1], [481, 226, 1, 1], [481, 264, 1, 1], [481, 278, 1, 1], [481, 322, 1, 1], [481, 336, 1, 1], [481, 374, 1, 1], [481, 414, 1, 1], [482, 223, 1, 1], [482, 238, 1, 1], [482, 273, 1, 1], [482, 327, 1, 1], [482, 362, 1, 1], [482, 377, 1, 1], [483, 179, 1, 1], [483, 226, 1, 1], [483, 374, 1, 1], [483, 421, 1, 1], [484, 251, 1, 1], [484, 349, 1, 1], [485, 254, 1, 1], [485, 346, 1, 1], [486, 230, 1, 1], [486, 370, 1, 1], [487, 230, 1, 1], [487, 269, 1, 1], [487, 331, 1, 1], [487, 370, 1, 1], [488, 258, 1, 1], [488, 342, 1, 1], [489, 258, 1, 2], [489, 341, 1, 2], [490, 255, 1, 2], [490, 344, 1, 2], [491, 232, 1, 2], [491, 255, 1, 1], [491, 345, 1, 1], [491, 367, 1, 2], [492, 252, 1, 1], [492, 254, 1, 1], [492, 346, 1, 1], [492, 348, 1, 1], [494, 223, 1, 1], [494, 377, 1, 1], [495, 230, 1, 1], [495, 370, 1, 1]], [[132, 299, 1, 1], [132, 301, 1, 1], [134, 293, 1, 1], [134, 307, 1, 1], [139, 296, 1, 1], [139, 304, 1, 1], [140, 294, 1, 1], [140, 296, 1, 1], [140, 304, 1, 1], [140, 306, 1, 1], [141, 292, 1, 1], [141, 308, 1, 1], [142, 292, 1, 1], [142, 308, 1, 1], [144, 287, 1, 1], [144, 290, 1, 2], [144, 309, 1, 2], [144, 313, 1, 1], [149, 278, 1, 1], [149, 322, 1, 1], [150, 277, 1, 1], [150, 323, 1, 1], [151, 285, 1, 1], [151, 315, 1, 1], [155, 286, 1, 1], [155, 314, 1, 1], [156, 284, 1, 1], [156, 316, 1, 1], [158, 287, 1, 1], [158, 313, 1, 1], [160, 263, 1, 1], [160, 337, 1, 1], [163, 292, 1, 1], [163, 308, 1, 1], [164, 291, 1, 2], [164, 308, 1, 2], [165, 233, 1, 1], [165, 279, 1, 1], [165, 281, 1, 1], [165, 319, 1, 1], [165, 321, 1, 1], [165, 367, 1, 1], [166, 269, 1, 1], [166, 275, 1, 1], [166, 281, 1, 1], [166, 319, 1, 1], [166, 325, 1, 1], [166, 331, 1, 1], [167, 276, 1, 1], [167, 324, 1, 1], [169, 264, 1, 1], [169, 336, 1, 1], [175, 236, 1, 1], [175, 262, 1, 1], [175, 267, 1, 1], [175, 333, 1, 1], [175, 338, 1, 1], [175, 364, 1, 1], [177, 251, 1, 1], [177, 349, 1, 1], [178, 240, 1, 1], [178, 360, 1, 1], [181, 246, 1, 1], [181, 248, 1, 1], [181, 352, 1, 1], [181, 354, 1, 1], [182, 241, 1, 1], [182, 257, 1, 1], [182, 343, 1, 1], [182, 359, 1, 1], [183, 258, 1, 2], [183, 341, 1, 2], [185, 243, 1, 1], [185, 357, 1, 1], [189, 243, 1, 1], [189, 357, 1, 1], [193, 253, 1, 1], [193, 347, 1, 1], [198, 245, 1, 1], [198, 250, 1, 1], [198, 350, 1, 1], [198, 355, 1, 1], [206, 235, 1, 1], [206, 365, 1, 1], [207, 249, 1, 1], [207, 351, 1, 1], [209, 244, 1, 1], [209, 249, 1, 1], [209, 351, 1, 1], [209, 356, 1, 1], [212, 238, 1, 1], [212, 362, 1, 1], [213, 239, 1, 1], [213, 361, 1, 1], [216, 244, 1, 1], [216, 356, 1, 1], [218, 244, 1, 1], [218, 356, 1, 1], [226, 242, 1, 1], [226, 358, 1, 1], [227, 247, 1, 1], [227, 353, 1, 1], [229, 238, 1, 1], [229, 362, 1, 1], [230, 244, 1, 1], [230, 356, 1, 1], [231, 249, 1, 1], [231, 252, 1, 1], [231, 348, 1, 1], [231, 351, 1, 1], [238, 253, 1, 1], [238, 347, 1, 1], [240, 247, 1, 1], [240, 252, 1, 1], [240, 257, 1, 1], [240, 343, 1, 1], [240, 348, 1, 1], [240, 353, 1, 1], [242, 258, 1, 1], [242, 342, 1, 1], [243, 254, 1, 1], [243, 346, 1, 1], [244, 258, 1, 1], [244, 342, 1, 1], [246, 261, 1, 1], [246, 339, 1, 1], [251, 264, 1, 2], [251, 335, 1, 2], [252, 266, 1, 1], [252, 334, 1, 1], [254, 269, 1, 1], [254, 271, 1, 1], [254, 329, 1, 1], [254, 331, 1, 1], [259, 281, 1, 1], [259, 319, 1, 1], [260, 283, 1, 2], [260, 316, 1, 2], [261, 283, 1, 2], [261, 316, 1, 2], [262, 258, 1, 1], [262, 342, 1, 1], [263, 242, 1, 1], [263, 271, 1, 1], [263, 329, 1, 1], [263, 358, 1, 1], [264, 242, 1, 1], [264, 261, 1, 1], [264, 339, 1, 1], [264, 358, 1, 1], [265, 243, 1, 1], [265, 255, 1, 1], [265, 345, 1, 1], [265, 357, 1, 1], [269, 231, 1, 1], [269, 250, 1, 1], [269, 350, 1, 1], [269, 369, 1, 1], [271, 206, 1, 1], [271, 394, 1, 1], [272, 224, 1, 1], [272, 376, 1, 1], [273, 240, 1, 1], [273, 360, 1, 1], [275, 208, 1, 1], [275, 227, 1, 1], [275, 373, 1, 1], [275, 392, 1, 1], [276, 236, 1, 1], [276, 364, 1, 1], [277, 227, 1, 1], [277, 373, 1, 1], [278, 210, 1, 1], [278, 390, 1, 1], [279, 207, 1, 1], [279, 212, 1, 1], [279, 230, 1, 1], [279, 370, 1, 1], [279, 388, 1, 1], [279, 393, 1, 1], [282, 224, 1, 1], [282, 376, 1, 1], [283, 210, 1, 1], [283, 224, 1, 1], [283, 376, 1, 1], [283, 390, 1, 1], [285, 220, 1, 1], [285, 380, 1, 1], [288, 210, 1, 1], [288, 390, 1, 1], [291, 166, 1, 1], [291, 175, 1, 1], [291, 213, 1, 1], [291, 387, 1, 1], [291, 425, 1, 1], [291, 434, 1, 1], [293, 188, 1, 1], [293, 412, 1, 1], [294, 173, 1, 1], [294, 427, 1, 1], [295, 175, 1, 1], [295, 207, 1, 1], [295, 393, 1, 1], [295, 425, 1, 1], [296, 185, 1, 1], [296, 200, 1, 1], [296, 400, 1, 1], [296, 415, 1, 1], [297, 171, 1, 1], [297, 187, 1, 2], [297, 202, 1, 2], [297, 397, 1, 2], [297, 412, 1, 2], [297, 429, 1, 1], [298, 169, 1, 1], [298, 176, 1, 1], [298, 424, 1, 1], [298, 431, 1, 1], [301, 192, 1, 1], [301, 408, 1, 1], [302, 167, 1, 1], [302, 433, 1, 1], [303, 176, 1, 1], [303, 424, 1, 1], [304, 167, 1, 1], [304, 433, 1, 1], [305, 165, 1, 1], [305, 435, 1, 1], [306, 178, 1, 1], [306, 422, 1, 1], [307, 196, 1, 2], [307, 403, 1, 2], [308, 178, 1, 1], [308, 422, 1, 1], [311, 173, 1, 1], [311, 175, 1, 1], [311, 425, 1, 1], [311, 427, 1, 1], [313, 173, 1, 1], [313, 176, 1, 1], [313, 424, 1, 1], [313, 427, 1, 1], [314, 180, 1, 1], [314, 420, 1, 1], [315, 181, 1, 1], [315, 419, 1, 1], [316, 181, 1, 1], [316, 419, 1, 1], [317, 189, 1, 1], [317, 411, 1, 1], [324, 180, 1, 1], [324, 420, 1, 1], [328, 180, 1, 1], [328, 420, 1, 1], [332, 166, 1, 1], [332, 434, 1, 1], [333, 167, 1, 1], [333, 170, 1, 1], [333, 430, 1, 1], [333, 433, 1, 1], [334, 167, 1, 1], [334, 171, 1, 1], [334, 180, 1, 1], [334, 420, 1, 1], [334, 429, 1, 1], [334, 433, 1, 1], [335, 169, 1, 1], [335, 431, 1, 1], [339, 171, 1, 1], [339, 429, 1, 1], [345, 174, 1, 1], [345, 426, 1, 1], [347, 170, 1, 1], [347, 174, 1, 1], [347, 426, 1, 1], [347, 430, 1, 1], [352, 173, 1, 1], [352, 427, 1, 1], [356, 147, 1, 1], [356, 168, 1, 1], [356, 432, 1, 1], [356, 453, 1, 1], [357, 130, 1, 1], [357, 144, 1, 1], [357, 146, 1, 1], [357, 454, 1, 1], [357, 456, 1, 1], [357, 470, 1, 1], [358, 145, 1, 1], [358, 455, 1, 1], [359, 157, 1, 1], [359, 443, 1, 1], [360, 132, 1, 1], [360, 149, 1, 1], [360, 451, 1, 1], [360, 468, 1, 1], [361, 151, 1, 1], [361, 449, 1, 1], [362, 126, 1, 1], [362, 138, 1, 1], [362, 140, 1, 1], [362, 153, 1, 1], [362, 447, 1, 1], [362, 460, 1, 1], [362, 462, 1, 1], [362, 474, 1, 1], [363, 154, 1, 1], [363, 446, 1, 1], [364, 144, 1, 1], [364, 160, 1, 2], [364, 439, 1, 2], [364, 456, 1, 1], [365, 142, 1, 1], [365, 458, 1, 1], [366, 162, 1, 1], [366, 438, 1, 1], [367, 136, 1, 1], [367, 164, 1, 1], [367, 436, 1, 1], [367, 464, 1, 1], [370, 132, 1, 1], [370, 468, 1, 1], [373, 169, 1, 1], [373, 431, 1, 1], [374, 133, 1, 1], [374, 467, 1, 1], [376, 121, 1, 1], [376, 479, 1, 1], [379, 126, 1, 1], [379, 128, 1, 1], [379, 472, 1, 1], [379, 474, 1, 1], [380, 131, 1, 1], [380, 469, 1, 1], [381, 122, 1, 1], [381, 478, 1, 1], [383, 122, 1, 1], [383, 478, 1, 1], [384, 106, 1, 1], [384, 115, 1, 1], [384, 485, 1, 1], [384, 494, 1, 1], [385, 120, 1, 1], [385, 480, 1, 1], [386, 107, 1, 1], [386, 116, 1, 1], [386, 484, 1, 1], [386, 493, 1, 1], [387, 122, 1, 2], [387, 477, 1, 2], [389, 114, 1, 1], [389, 131, 1, 1], [389, 469, 1, 1], [389, 486, 1, 1], [390, 130, 1, 1], [390, 470, 1, 1], [391, 126, 1, 1], [391, 169, 1, 1], [391, 431, 1, 1], [391, 474, 1, 1], [392, 124, 1, 1], [392, 476, 1, 1], [394, 121, 1, 1], [394, 479, 1, 1], [396, 137, 1, 1], [396, 463, 1, 1], [398, 163, 1, 1], [398, 437, 1, 1], [399, 139, 1, 1], [399, 461, 1, 1], [400, 136, 1, 1], [400, 161, 1, 2], [400, 438, 1, 2], [400, 464, 1, 1], [401, 138, 1, 1], [401, 156, 1, 1], [401, 444, 1, 1], [401, 462, 1, 1], [402, 159, 1, 1], [402, 441, 1, 1], [403, 144, 1, 1], [403, 154, 1, 1], [403, 446, 1, 1], [403, 456, 1, 1], [404, 138, 1, 1], [404, 462, 1, 1], [405, 151, 1, 1], [405, 449, 1, 1], [406, 134, 1, 1], [406, 466, 1, 1], [407, 137, 1, 1], [407, 141, 1, 1], [407, 459, 1, 1], [407, 463, 1, 1], [408, 135, 1, 1], [408, 465, 1, 1], [410, 169, 1, 1], [410, 431, 1, 1], [417, 167, 1, 1], [417, 433, 1, 1], [427, 172, 1, 1], [427, 428, 1, 1], [428, 168, 1, 1], [428, 432, 1, 1], [431, 168, 1, 1], [431, 432, 1, 1], [434, 164, 1, 1], [434, 171, 1, 2], [434, 176, 1, 1], [434, 424, 1, 1], [434, 428, 1, 2], [434, 436, 1, 1], [435, 170, 1, 1], [435, 176, 1, 1], [435, 424, 1, 1], [435, 430, 1, 1], [436, 168, 1, 1], [436, 432, 1, 1], [441, 181, 1, 2], [441, 418, 1, 2], [442, 185, 1, 1], [442, 415, 1, 1], [451, 188, 1, 1], [451, 195, 1, 1], [451, 405, 1, 1], [451, 412, 1, 1], [456, 300, 1, 1], [457, 183, 1, 1], [457, 417, 1, 1], [458, 181, 1, 1], [458, 419, 1, 1], [462, 184, 1, 1], [462, 416, 1, 1], [463, 178, 1, 1], [463, 422, 1, 1], [465, 211, 1, 1], [465, 389, 1, 1], [467, 185, 1, 1], [467, 294, 1, 1], [467, 306, 1, 1], [467, 415, 1, 1], [468, 182, 1, 1], [468, 200, 1, 2], [468, 209, 1, 1], [468, 214, 1, 1], [468, 294, 1, 1], [468, 306, 1, 1], [468, 386, 1, 1], [468, 391, 1, 1], [468, 399, 1, 2], [468, 418, 1, 1], [469, 199, 1, 1], [469, 401, 1, 1], [470, 183, 1, 1], [470, 203, 1, 1], [470, 397, 1, 1], [470, 417, 1, 1], [471, 221, 1, 1], [471, 379, 1, 1], [472, 220, 1, 1], [472, 380, 1, 1], [473, 222, 1, 1], [473, 225, 1, 1], [473, 287, 1, 1], [473, 313, 1, 1], [473, 375, 1, 1], [473, 378, 1, 1], [474, 198, 1, 1], [474, 402, 1, 1], [475, 172, 1, 1], [475, 196, 1, 1], [475, 211, 1, 1], [475, 389, 1, 1], [475, 404, 1, 1], [475, 428, 1, 1], [476, 195, 1, 1], [476, 198, 1, 1], [476, 229, 1, 1], [476, 278, 1, 1], [476, 322, 1, 1], [476, 371, 1, 1], [476, 402, 1, 1], [476, 405, 1, 1], [477, 285, 1, 1], [477, 315, 1, 1], [478, 240, 1, 1], [478, 360, 1, 1], [479, 282, 1, 1], [479, 318, 1, 1], [480, 280, 1, 1], [480, 320, 1, 1], [481, 244, 1, 1], [481, 356, 1, 1], [482, 264, 1, 1], [482, 336, 1, 1], [483, 225, 1, 1], [483, 375, 1, 1], [484, 226, 1, 1], [484, 270, 1, 1], [484, 272, 1, 1], [484, 328, 1, 1], [484, 330, 1, 1], [484, 374, 1, 1], [485, 226, 1, 1], [485, 230, 1, 1], [485, 235, 1, 1], [485, 256, 1, 1], [485, 344, 1, 1], [485, 365, 1, 1], [485, 370, 1, 1], [485, 374, 1, 1], [486, 256, 1, 1], [486, 271, 1, 1], [486, 329, 1, 1], [486, 344, 1, 1], [487, 233, 1, 1], [487, 238, 1, 1], [487, 362, 1, 1], [487, 367, 1, 1], [488, 232, 1, 1], [488, 368, 1, 1], [489, 256, 1, 2], [489, 343, 1, 2], [490, 232, 1, 1], [490, 368, 1, 1], [492, 231, 1, 1], [492, 369, 1, 1], [493, 231, 1, 1], [493, 254, 1, 1], [493, 346, 1, 1], [493, 369, 1, 1], [494, 230, 1, 1], [494, 370, 1, 1]], [[20, 300, 1, 1], [63, 299, 1, 1], [63, 301, 1, 1], [91, 296, 1, 1], [91, 304, 1, 1], [131, 297, 1, 1], [131, 303, 1, 1], [133, 292, 1, 1], [133, 308, 1, 1], [135, 299, 1, 1], [135, 301, 1, 1], [138, 294, 1, 1], [138, 306, 1, 1], [141, 283, 1, 1], [141, 285, 1, 1], [141, 297, 1, 1], [141, 303, 1, 1], [141, 315, 1, 1], [141, 317, 1, 1], [143, 289, 1, 1], [143, 311, 1, 1], [148, 288, 1, 1], [148, 312, 1, 1], [152, 283, 1, 1], [152, 285, 1, 1], [152, 315, 1, 1], [152, 317, 1, 1], [154, 287, 1, 1], [154, 313, 1, 1], [158, 288, 1, 1], [158, 312, 1, 1], [159, 286, 1, 1], [159, 314, 1, 1], [162, 276, 1, 1], [162, 324, 1, 1], [164, 293, 1, 1], [164, 307, 1, 1], [165, 277, 1, 1], [165, 323, 1, 1], [166, 268, 1, 1], [166, 284, 1, 1], [166, 316, 1, 1], [166, 332, 1, 1], [167, 266, 1, 1], [167, 281, 1, 1], [167, 319, 1, 1], [167, 334, 1, 1], [169, 266, 1, 1], [169, 276, 1, 1], [169, 324, 1, 1], [169, 334, 1, 1], [171, 251, 1, 1], [171, 272, 1, 1], [171, 328, 1, 1], [171, 349, 1, 1], [174, 261, 1, 1], [174, 339, 1, 1], [176, 239, 1, 1], [176, 361, 1, 1], [177, 240, 1, 1], [177, 360, 1, 1], [178, 250, 1, 1], [178, 350, 1, 1], [180, 253, 1, 2], [180, 346, 1, 2], [181, 257, 1, 1], [181, 343, 1, 1], [182, 242, 1, 1], [182, 244, 1, 1], [182, 356, 1, 1], [182, 358, 1, 1], [184, 244, 1, 1], [184, 258, 1, 1], [184, 342, 1, 1], [184, 356, 1, 1], [185, 244, 1, 1], [185, 356, 1, 1], [188, 246, 1, 1], [188, 354, 1, 1], [191, 248, 1, 1], [191, 352, 1, 1], [192, 249, 1, 1], [192, 253, 1, 1], [192, 347, 1, 1], [192, 351, 1, 1], [193, 246, 1, 1], [193, 354, 1, 1], [199, 251, 1, 1], [199, 349, 1, 1], [200, 247, 1, 1], [200, 353, 1, 1], [205, 233, 1, 1], [205, 242, 1, 1], [205, 358, 1, 1], [205, 367, 1, 1], [206, 248, 1, 1], [206, 352, 1, 1], [212, 237, 1, 1], [212, 363, 1, 1], [213, 240, 1, 1], [213, 360, 1, 1], [215, 243, 1, 1], [215, 357, 1, 1], [216, 249, 1, 1], [216, 351, 1, 1], [217, 244, 1, 1], [217, 246, 1, 1], [217, 249, 1, 1], [217, 351, 1, 1], [217, 354, 1, 1], [217, 356, 1, 1], [223, 250, 1, 1], [223, 350, 1, 1], [226, 248, 1, 1], [226, 352, 1, 1], [227, 238, 1, 1], [227, 362, 1, 1], [229, 237, 1, 1], [229, 244, 1, 1], [229, 356, 1, 1], [229, 363, 1, 1], [231, 246, 1, 1], [231, 354, 1, 1], [232, 249, 1, 1], [232, 351, 1, 1], [236, 253, 1, 2], [236, 346, 1, 2], [238, 252, 1, 1], [238, 348, 1, 1], [239, 247, 1, 1], [239, 253, 1, 1], [239, 347, 1, 1], [239, 353, 1, 1], [242, 259, 1, 1], [242, 341, 1, 1], [244, 255, 1, 1], [244, 345, 1, 1], [245, 261, 1, 1], [245, 339, 1, 1], [246, 257, 1, 2], [246, 342, 1, 2], [254, 267, 1, 1], [254, 333, 1, 1], [255, 273, 1, 1], [255, 327, 1, 1], [256, 273, 1, 1], [256, 275, 1, 1], [256, 325, 1, 1], [256, 327, 1, 1], [260, 285, 1, 1], [260, 315, 1, 1], [261, 285, 1, 2], [261, 314, 1, 2], [263, 259, 1, 1], [263, 341, 1, 1], [266, 253, 1, 1], [266, 347, 1, 1], [269, 245, 1, 1], [269, 355, 1, 1], [270, 226, 1, 1], [270, 232, 1, 1], [270, 368, 1, 1], [270, 374, 1, 1], [271, 229, 1, 1], [271, 371, 1, 1], [272, 234, 1, 1], [272, 366, 1, 1], [273, 224, 1, 1], [273, 242, 1, 1], [273, 358, 1, 1], [273, 376, 1, 1], [274, 229, 1, 1], [274, 235, 1, 1], [274, 365, 1, 1], [274, 371, 1, 1], [275, 214, 1, 1], [275, 238, 1, 1], [275, 362, 1, 1], [275, 386, 1, 1], [276, 208, 1, 2], [276, 391, 1, 2], [277, 209, 1, 1], [277, 228, 1, 1], [277, 372, 1, 1], [277, 391, 1, 1], [278, 208, 1, 1], [278, 392, 1, 1], [279, 209, 1, 1], [279, 391, 1, 1], [280, 206, 1, 1], [280, 210, 1, 1], [280, 216, 1, 1], [280, 219, 1, 1], [280, 381, 1, 1], [280, 384, 1, 1], [280, 390, 1, 1], [280, 394, 1, 1], [281, 214, 1, 1], [281, 386, 1, 1], [286, 209, 1, 1], [286, 220, 1, 1], [286, 380, 1, 1], [286, 391, 1, 1], [287, 208, 1, 1], [287, 392, 1, 1], [294, 205, 1, 1], [294, 395, 1, 1], [295, 170, 1, 1], [295, 173, 1, 2], [295, 205, 1, 1], [295, 395, 1, 1], [295, 426, 1, 2], [295, 430, 1, 1], [296, 173, 1, 1], [296, 427, 1, 1], [297, 172, 1, 1], [297, 428, 1, 1], [298, 178, 1, 1], [298, 189, 1, 1], [298, 411, 1, 1], [298, 422, 1, 1], [299, 173, 1, 3], [299, 180, 1, 1], [299, 187, 1, 1], [299, 413, 1, 1], [299, 420, 1, 1], [299, 425, 1, 3], [300, 174, 1, 1], [300, 178, 1, 3], [300, 184, 1, 1], [300, 201, 1, 1], [300, 399, 1, 1], [300, 416, 1, 1], [300, 420, 1, 3], [300, 426, 1, 1], [301, 173, 1, 1], [301, 191, 1, 1], [301, 203, 1, 1], [301, 397, 1, 1], [301, 409, 1, 1], [301, 427, 1, 1], [302, 169, 1, 1], [302, 176, 1, 1], [302, 182, 1, 1], [302, 418, 1, 1], [302, 424, 1, 1], [302, 431, 1, 1], [303, 194, 1, 1], [303, 201, 1, 1], [303, 399, 1, 1], [303, 406, 1, 1], [304, 195, 1, 1], [304, 405, 1, 1], [305, 199, 1, 1], [305, 401, 1, 1], [306, 179, 1, 1], [306, 421, 1, 1], [308, 196, 1, 1], [308, 404, 1, 1], [309, 178, 1, 1], [309, 422, 1, 1], [310, 173, 1, 1], [310, 427, 1, 1], [317, 190, 1, 1], [317, 410, 1, 1], [326, 184, 1, 1], [326, 416, 1, 1], [329, 170, 1, 1], [329, 430, 1, 1], [331, 170, 1, 2], [331, 429, 1, 2], [333, 168, 1, 1], [333, 175, 1, 1], [333, 177, 1, 1], [333, 423, 1, 1], [333, 425, 1, 1], [333, 432, 1, 1], [334, 169, 1, 2], [334, 430, 1, 2], [338, 169, 1, 1], [338, 431, 1, 1], [345, 169, 1, 1], [345, 171, 1, 1], [345, 429, 1, 1], [345, 431, 1, 1], [348, 170, 1, 1], [348, 430, 1, 1], [350, 168, 1, 1], [350, 432, 1, 1], [352, 172, 1, 1], [352, 428, 1, 1], [360, 126, 1, 1], [360, 138, 1, 1], [360, 462, 1, 1], [360, 474, 1, 1], [361, 137, 1, 1], [361, 463, 1, 1], [365, 136, 1, 1], [365, 464, 1, 1], [367, 165, 1, 1], [367, 435, 1, 1], [368, 136, 1, 1], [368, 464, 1, 1], [370, 135, 1, 1], [370, 465, 1, 1], [371, 135, 1, 1], [371, 465, 1, 1], [372, 132, 1, 1], [372, 468, 1, 1], [374, 169, 1, 1], [374, 431, 1, 1], [377, 132, 1, 1], [377, 468, 1, 1], [380, 123, 1, 1], [380, 477, 1, 1], [387, 115, 1, 1], [387, 485, 1, 1], [388, 132, 1, 1], [388, 468, 1, 1], [389, 124, 1, 1], [389, 476, 1, 1], [390, 108, 1, 1], [390, 126, 1, 1], [390, 169, 1, 1], [390, 431, 1, 1], [390, 474, 1, 1], [390, 492, 1, 1], [398, 140, 1, 1], [398, 460, 1, 1], [399, 164, 1, 1], [399, 436, 1, 1], [400, 139, 1, 1], [400, 159, 1, 1], [400, 441, 1, 1], [400, 461, 1, 1], [402, 150, 1, 1], [402, 450, 1, 1], [403, 142, 1, 1], [403, 153, 1, 1], [403, 158, 1, 1], [403, 442, 1, 1], [403, 447, 1, 1], [403, 458, 1, 1], [404, 141, 1, 1], [404, 157, 1, 1], [404, 443, 1, 1], [404, 459, 1, 1], [405, 143, 1, 1], [405, 457, 1, 1], [406, 149, 1, 1], [406, 451, 1, 1], [407, 136, 1, 1], [407, 464, 1, 1], [408, 131, 1, 1], [408, 167, 1, 1], [408, 170, 1, 1], [408, 430, 1, 1], [408, 433, 1, 1], [408, 469, 1, 1], [409, 168, 1, 1], [409, 432, 1, 1], [411, 173, 1, 1], [411, 427, 1, 1], [416, 165, 1, 2], [416, 434, 1, 2], [417, 168, 1, 1], [417, 432, 1, 1], [418, 170, 1, 1], [418, 430, 1, 1], [426, 175, 1, 1], [426, 425, 1, 1], [428, 173, 1, 1], [428, 427, 1, 1], [433, 164, 1, 1], [433, 436, 1, 1], [435, 167, 1, 1], [435, 178, 1, 1], [435, 422, 1, 1], [435, 433, 1, 1], [436, 172, 1, 1], [436, 428, 1, 1], [438, 168, 1, 1], [438, 432, 1, 1], [439, 173, 1, 1], [439, 427, 1, 1], [441, 183, 1, 1], [441, 417, 1, 1], [452, 187, 1, 1], [452, 196, 1, 1], [452, 404, 1, 1], [452, 413, 1, 1], [454, 184, 1, 1], [454, 416, 1, 1], [455, 182, 1, 1], [455, 418, 1, 1], [457, 176, 1, 1], [457, 424, 1, 1], [459, 180, 1, 1], [459, 203, 1, 1], [459, 397, 1, 1], [459, 420, 1, 1], [460, 179, 1, 1], [460, 181, 1, 1], [460, 419, 1, 1], [460, 421, 1, 1], [462, 183, 1, 1], [462, 417, 1, 1], [464, 203, 1, 1], [464, 397, 1, 1], [465, 185, 1, 1], [465, 415, 1, 1], [469, 182, 1, 1], [469, 184, 1, 1], [469, 416, 1, 1], [469, 418, 1, 1], [470, 190, 1, 1], [470, 199, 1, 1], [470, 401, 1, 1], [470, 410, 1, 1], [471, 181, 1, 1], [471, 196, 1, 2], [471, 403, 1, 2], [471, 419, 1, 1], [472, 189, 1, 2], [472, 286, 1, 1], [472, 314, 1, 1], [472, 410, 1, 2], [474, 183, 1, 1], [474, 189, 1, 2], [474, 410, 1, 2], [474, 417, 1, 1], [475, 231, 1, 1], [475, 369, 1, 1], [476, 179, 1, 1], [476, 196, 1, 1], [476, 199, 1, 1], [476, 215, 1, 1], [476, 385, 1, 1], [476, 401, 1, 1], [476, 404, 1, 1], [476, 421, 1, 1], [477, 178, 1, 1], [477, 181, 1, 2], [477, 418, 1, 2], [477, 422, 1, 1], [478, 242, 1, 1], [478, 358, 1, 1], [479, 227, 1, 1], [479, 248, 1, 1], [479, 352, 1, 1], [479, 373, 1, 1], [480, 239, 1, 1], [480, 361, 1, 1], [481, 269, 1, 1], [481, 331, 1, 1], [482, 260, 1, 1], [482, 271, 1, 1], [482, 329, 1, 1], [482, 340, 1, 1], [483, 228, 1, 1], [483, 253, 1, 1], [483, 347, 1, 1], [483, 372, 1, 1], [484, 229, 1, 1], [484, 236, 1, 1], [484, 364, 1, 1], [484, 371, 1, 1], [485, 234, 1, 1], [485, 238, 1, 2], [485, 361, 1, 2], [485, 366, 1, 1], [486, 234, 1, 1], [486, 366, 1, 1], [487, 231, 1, 1], [487, 369, 1, 1], [488, 259, 1, 1], [488, 341, 1, 1], [489, 231, 1, 1], [489, 369, 1, 1], [490, 254, 1, 1], [490, 346, 1, 1], [491, 234, 1, 1], [491, 366, 1, 1], [492, 226, 1, 1], [492, 374, 1, 1], [495, 223, 1, 2], [495, 376, 1, 2]], [[21, 300, 1, 1], [22, 300, 1, 1], [23, 300, 1, 1], [24, 300, 1, 1], [25, 300, 1, 1], [27, 300, 1, 1], [136, 296, 1, 1], [136, 304, 1, 1], [141, 296, 1, 1], [141, 304, 1, 1], [143, 286, 1, 1], [143, 292, 1, 1], [143, 308, 1, 1], [143, 314, 1, 1], [150, 284, 1, 1], [150, 316, 1, 1], [159, 287, 1, 1], [159, 313, 1, 1], [161, 275, 1, 1], [161, 325, 1, 1], [163, 282, 1, 1], [163, 293, 1, 1], [163, 307, 1, 1], [163, 318, 1, 1], [165, 274, 1, 1], [165, 283, 1, 1], [165, 317, 1, 1], [165, 326, 1, 1], [166, 276, 1, 1], [166, 324, 1, 1], [171, 236, 1, 1], [171, 364, 1, 1], [177, 256, 1, 1], [177, 265, 1, 1], [177, 335, 1, 1], [177, 344, 1, 1], [182, 240, 1, 1], [182, 245, 1, 1], [182, 258, 1, 1], [182, 342, 1, 1], [182, 355, 1, 1], [182, 360, 1, 1], [183, 244, 1, 1], [183, 356, 1, 1], [185, 245, 1, 1], [185, 355, 1, 1], [192, 254, 1, 1], [192, 346, 1, 1], [200, 251, 1, 1], [200, 349, 1, 1], [201, 246, 1, 1], [201, 354, 1, 1], [209, 243, 1, 1], [209, 248, 1, 1], [209, 352, 1, 1], [209, 357, 1, 1], [211, 238, 1, 1], [211, 362, 1, 1], [212, 242, 1, 1], [212, 358, 1, 1], [214, 238, 1, 1], [214, 362, 1, 1], [216, 240, 1, 1], [216, 360, 1, 1], [217, 239, 1, 1], [217, 361, 1, 1], [218, 249, 1, 1], [218, 351, 1, 1], [221, 248, 1, 1], [221, 352, 1, 1], [225, 239, 1, 1], [225, 361, 1, 1], [228, 238, 1, 1], [228, 362, 1, 1], [229, 243, 1, 1], [229, 357, 1, 1], [230, 237, 1, 1], [230, 363, 1, 1], [231, 247, 1, 1], [231, 353, 1, 1], [239, 251, 1, 1], [239, 349, 1, 1], [240, 254, 1, 1], [240, 256, 1, 1], [240, 344, 1, 1], [240, 346, 1, 1], [241, 257, 1, 1], [241, 343, 1, 1], [245, 256, 1, 1], [245, 344, 1, 1], [246, 259, 1, 1], [246, 341, 1, 1], [253, 269, 1, 1], [253, 331, 1, 1], [261, 287, 1, 1], [261, 313, 1, 1], [263, 274, 1, 1], [263, 326, 1, 1], [264, 244, 1, 1], [264, 269, 1, 1], [264, 331, 1, 1], [264, 356, 1, 1], [265, 253, 1, 1], [265, 257, 1, 1], [265, 343, 1, 1], [265, 347, 1, 1], [266, 249, 1, 1], [266, 260, 1, 1], [266, 340, 1, 1], [266, 351, 1, 1], [267, 231, 1, 1], [267, 369, 1, 1], [268, 255, 1, 1], [268, 345, 1, 1], [269, 230, 1, 1], [269, 370, 1, 1], [270, 242, 1, 1], [270, 358, 1, 1], [271, 227, 1, 1], [271, 373, 1, 1], [274, 224, 1, 1], [274, 376, 1, 1], [275, 206, 1, 1], [275, 229, 1, 1], [275, 371, 1, 1], [275, 394, 1, 1], [277, 206, 1, 1], [277, 208, 1, 1], [277, 229, 1, 1], [277, 371, 1, 1], [277, 392, 1, 1], [277, 394, 1, 1], [279, 200, 1, 1], [279, 217, 1, 1], [279, 383, 1, 1], [279, 400, 1, 1], [281, 203, 1, 1], [281, 397, 1, 1], [283, 200, 1, 1], [283, 400, 1, 1], [288, 207, 1, 1], [288, 393, 1, 1], [292, 169, 1, 1], [292, 431, 1, 1], [293, 203, 1, 1], [293, 397, 1, 1], [294, 175, 1, 1], [294, 425, 1, 1], [295, 209, 1, 1], [295, 391, 1, 1], [299, 184, 1, 1], [299, 416, 1, 1], [300, 170, 1, 1], [300, 194, 1, 1], [300, 202, 1, 1], [300, 398, 1, 1], [300, 406, 1, 1], [300, 430, 1, 1], [301, 184, 1, 1], [301, 416, 1, 1], [309, 196, 1, 1], [309, 404, 1, 1], [317, 187, 1, 1], [317, 413, 1, 1], [324, 184, 1, 1], [324, 416, 1, 1], [328, 179, 1, 1], [328, 421, 1, 1], [334, 172, 1, 1], [334, 428, 1, 1], [340, 174, 1, 1], [340, 426, 1, 1], [341, 175, 1, 1], [341, 425, 1, 1], [348, 168, 1, 1], [348, 432, 1, 1], [351, 168, 1, 1], [351, 432, 1, 1], [354, 170, 1, 1], [354, 430, 1, 1], [358, 149, 1, 1], [358, 451, 1, 1], [359, 149, 1, 1], [359, 451, 1, 1], [361, 134, 1, 1], [361, 466, 1, 1], [362, 130, 1, 1], [362, 136, 1, 1], [362, 169, 1, 1], [362, 431, 1, 1], [362, 464, 1, 1], [362, 470, 1, 1], [363, 155, 1, 1], [363, 445, 1, 1], [365, 143, 1, 1], [365, 169, 1, 1], [365, 431, 1, 1], [365, 457, 1, 1], [366, 163, 1, 1], [366, 437, 1, 1], [375, 132, 1, 2], [375, 467, 1, 2], [378, 129, 1, 1], [378, 471, 1, 1], [382, 123, 1, 1], [382, 477, 1, 1], [386, 121, 1, 1], [386, 479, 1, 1], [387, 121, 1, 1], [387, 479, 1, 1], [388, 124, 1, 1], [388, 476, 1, 1], [389, 116, 1, 1], [389, 484, 1, 1], [391, 128, 1, 1], [391, 472, 1, 1], [392, 125, 1, 1], [392, 128, 1, 1], [392, 472, 1, 1], [392, 475, 1, 1], [393, 134, 1, 1], [393, 466, 1, 1], [397, 130, 1, 1], [397, 470, 1, 1], [401, 162, 1, 1], [401, 438, 1, 1], [402, 140, 1, 1], [402, 147, 1, 1], [402, 161, 1, 1], [402, 439, 1, 1], [402, 453, 1, 1], [402, 460, 1, 1], [404, 140, 1, 1], [404, 460, 1, 1], [406, 138, 1, 1], [406, 462, 1, 1], [408, 152, 1, 1], [408, 448, 1, 1], [409, 152, 1, 1], [409, 448, 1, 1], [416, 168, 1, 2], [416, 431, 1, 2], [418, 172, 1, 1], [418, 428, 1, 1], [421, 171, 1, 1], [421, 429, 1, 1], [426, 179, 1, 1], [426, 421, 1, 1], [427, 175, 1, 1], [427, 425, 1, 1], [430, 172, 1, 1], [430, 428, 1, 1], [432, 182, 1, 1], [432, 418, 1, 1], [433, 168, 1, 1], [433, 171, 1, 1], [433, 429, 1, 1], [433, 432, 1, 1], [436, 177, 1, 1], [436, 179, 1, 1], [436, 421, 1, 1], [436, 423, 1, 1], [440, 181, 1, 1], [440, 419, 1, 1], [442, 184, 1, 1], [442, 416, 1, 1], [443, 189, 1, 1], [443, 411, 1, 1], [446, 189, 1, 1], [446, 411, 1, 1], [455, 183, 1, 1], [455, 417, 1, 1], [458, 182, 1, 2], [458, 417, 1, 2], [459, 181, 1, 1], [459, 419, 1, 1], [460, 180, 1, 1], [460, 420, 1, 1], [461, 184, 1, 1], [461, 416, 1, 1], [462, 179, 1, 1], [462, 297, 1, 1], [462, 303, 1, 1], [462, 421, 1, 1], [466, 294, 1, 1], [466, 306, 1, 1], [467, 214, 1, 1], [467, 386, 1, 1], [469, 202, 1, 1], [469, 210, 1, 1], [469, 390, 1, 1], [469, 398, 1, 1], [470, 195, 1, 1], [470, 220, 1, 1], [470, 380, 1, 1], [470, 405, 1, 1], [472, 188, 1, 1], [472, 197, 1, 1], [472, 403, 1, 1], [472, 412, 1, 1], [473, 198, 1, 1], [473, 217, 1, 1], [473, 383, 1, 1], [473, 402, 1, 1], [474, 215, 1, 1], [474, 385, 1, 1], [475, 216, 1, 1], [475, 384, 1, 1], [476, 180, 1, 1], [476, 420, 1, 1], [477, 174, 1, 1], [477, 237, 1, 1], [477, 363, 1, 1], [477, 426, 1, 1], [481, 222, 1, 1], [481, 378, 1, 1], [482, 224, 1, 1], [482, 246, 1, 1], [482, 252, 1, 1], [482, 268, 1, 1], [482, 332, 1, 1], [482, 348, 1, 1], [482, 354, 1, 1], [482, 376, 1, 1], [483, 273, 1, 1], [483, 327, 1, 1], [484, 228, 1, 1], [484, 238, 1, 1], [484, 362, 1, 1], [484, 372, 1, 1], [485, 253, 1, 1], [485, 347, 1, 1], [487, 229, 1, 1], [487, 371, 1, 1], [489, 260, 1, 1], [489, 340, 1, 1], [491, 231, 1, 1], [491, 236, 1, 1], [491, 260, 1, 1], [491, 340, 1, 1], [491, 364, 1, 1], [491, 369, 1, 1]], [[28, 300, 1, 1], [29, 300, 1, 1], [31, 300, 1, 1], [32, 300, 1, 1], [33, 300, 1, 1], [34, 300, 1, 1], [35, 300, 1, 1], [37, 300, 1, 1], [38, 300, 1, 1], [39, 300, 1, 1], [40, 300, 1, 1], [43, 300, 1, 1], [138, 297, 1, 1], [138, 303, 1, 1], [149, 288, 1, 1], [149, 312, 1, 1], [151, 283, 1, 1], [151, 287, 1, 1], [151, 313, 1, 1], [151, 317, 1, 1], [152, 286, 1, 1], [152, 314, 1, 1], [164, 294, 1, 1], [164, 306, 1, 1], [170, 271, 1, 1], [170, 329, 1, 1], [172, 252, 1, 1], [172, 265, 1, 1], [172, 335, 1, 1], [172, 348, 1, 1], [178, 249, 1, 1], [178, 351, 1, 1], [180, 255, 1, 1], [180, 345, 1, 1], [182, 248, 1, 1], [182, 352, 1, 1], [185, 258, 1, 1], [185, 342, 1, 1], [190, 245, 1, 1], [190, 355, 1, 1], [192, 248, 1, 1], [192, 352, 1, 1], [201, 248, 1, 1], [201, 352, 1, 1], [202, 246, 1, 1], [202, 354, 1, 1], [206, 244, 1, 1], [206, 356, 1, 1], [210, 244, 1, 1], [210, 356, 1, 1], [215, 244, 1, 1], [215, 356, 1, 1], [239, 257, 1, 1], [239, 343, 1, 1], [247, 263, 1, 1], [247, 337, 1, 1], [252, 264, 1, 1], [252, 336, 1, 1], [254, 270, 1, 1], [254, 330, 1, 1], [257, 275, 1, 1], [257, 325, 1, 1], [261, 288, 1, 1], [261, 312, 1, 1], [263, 272, 1, 1], [263, 328, 1, 1], [265, 249, 1, 1], [265, 259, 1, 1], [265, 266, 1, 1], [265, 334, 1, 1], [265, 341, 1, 1], [265, 351, 1, 1], [266, 242, 1, 1], [266, 262, 1, 1], [266, 338, 1, 1], [266, 358, 1, 1], [267, 257, 1, 1], [267, 343, 1, 1], [268, 230, 1, 1], [268, 241, 1, 1], [268, 359, 1, 1], [268, 370, 1, 1], [269, 228, 1, 1], [269, 372, 1, 1], [270, 229, 1, 3], [270, 246, 1, 1], [270, 354, 1, 1], [270, 369, 1, 3], [272, 226, 1, 1], [272, 230, 1, 1], [272, 370, 1, 1], [272, 374, 1, 1], [273, 227, 1, 1], [273, 373, 1, 1], [275, 228, 1, 1], [275, 372, 1, 1], [276, 211, 1, 1], [276, 389, 1, 1], [280, 212, 1, 1], [280, 388, 1, 1], [281, 202, 1, 1], [281, 210, 1, 1], [281, 390, 1, 1], [281, 398, 1, 1], [282, 219, 1, 1], [282, 381, 1, 1], [284, 222, 1, 1], [284, 378, 1, 1], [285, 210, 1, 1], [285, 390, 1, 1], [287, 207, 1, 1], [287, 393, 1, 1], [293, 189, 1, 1], [293, 411, 1, 1], [294, 185, 1, 1], [294, 415, 1, 1], [295, 202, 1, 1], [295, 204, 1, 1], [295, 396, 1, 1], [295, 398, 1, 1], [298, 180, 1, 1], [298, 420, 1, 1], [299, 176, 1, 1], [299, 424, 1, 1], [300, 185, 1, 1], [300, 187, 1, 1], [300, 413, 1, 1], [300, 415, 1, 1], [308, 179, 1, 1], [308, 421, 1, 1], [311, 174, 1, 1], [311, 426, 1, 1], [317, 181, 1, 2], [317, 418, 1, 2], [318, 181, 1, 1], [318, 419, 1, 1], [322, 187, 1, 1], [322, 413, 1, 1], [327, 180, 1, 1], [327, 420, 1, 1], [328, 181, 1, 1], [328, 419, 1, 1], [331, 165, 1, 1], [331, 175, 1, 1], [331, 425, 1, 1], [331, 435, 1, 1], [332, 170, 1, 1], [332, 430, 1, 1], [336, 166, 1, 1], [336, 171, 1, 1], [336, 429, 1, 1], [336, 434, 1, 1], [337, 168, 1, 1], [337, 432, 1, 1], [342, 177, 1, 1], [342, 423, 1, 1], [348, 175, 1, 1], [348, 425, 1, 1], [356, 170, 1, 1], [356, 430, 1, 1], [360, 151, 1, 1], [360, 155, 1, 1], [360, 445, 1, 1], [360, 449, 1, 1], [361, 135, 1, 1], [361, 465, 1, 1], [362, 148, 1, 1], [362, 452, 1, 1], [363, 140, 1, 1], [363, 460, 1, 1], [365, 159, 1, 1], [365, 441, 1, 1], [371, 167, 1, 1], [371, 433, 1, 1], [373, 132, 1, 1], [373, 468, 1, 1], [378, 122, 1, 1], [378, 478, 1, 1], [380, 99, 1, 1], [380, 501, 1, 1], [384, 121, 1, 1], [384, 479, 1, 1], [387, 118, 1, 1], [387, 482, 1, 1], [391, 124, 1, 1], [391, 134, 1, 1], [391, 466, 1, 1], [391, 476, 1, 1], [393, 122, 1, 1], [393, 478, 1, 1], [395, 166, 1, 1], [395, 434, 1, 1], [398, 162, 1, 1], [398, 438, 1, 1], [399, 170, 1, 1], [399, 430, 1, 1], [404, 152, 1, 1], [404, 448, 1, 1], [405, 141, 1, 1], [405, 153, 1, 1], [405, 156, 1, 1], [405, 444, 1, 1], [405, 447, 1, 1], [405, 459, 1, 1], [406, 151, 1, 1], [406, 449, 1, 1], [409, 135, 1, 1], [409, 465, 1, 1], [410, 168, 1, 1], [410, 432, 1, 1], [418, 171, 1, 1], [418, 429, 1, 1], [427, 174, 1, 1], [427, 426, 1, 1], [432, 169, 1, 1], [432, 431, 1, 1], [433, 175, 1, 1], [433, 425, 1, 1], [435, 177, 1, 1], [435, 423, 1, 1], [442, 182, 1, 1], [442, 418, 1, 1], [448, 191, 1, 1], [448, 409, 1, 1], [453, 188, 1, 1], [453, 412, 1, 1], [458, 184, 1, 2], [458, 415, 1, 2], [461, 177, 1, 1], [461, 183, 1, 1], [461, 417, 1, 1], [461, 423, 1, 1], [464, 184, 1, 1], [464, 416, 1, 1], [465, 203, 1, 1], [465, 397, 1, 1], [466, 186, 1, 1], [466, 414, 1, 1], [467, 180, 1, 1], [467, 420, 1, 1], [468, 202, 1, 1], [468, 210, 1, 1], [468, 390, 1, 1], [468, 398, 1, 1], [469, 183, 1, 1], [469, 293, 1, 1], [469, 307, 1, 1], [469, 417, 1, 1], [472, 185, 1, 1], [472, 187, 1, 1], [472, 199, 1, 1], [472, 290, 1, 1], [472, 310, 1, 1], [472, 401, 1, 1], [472, 413, 1, 1], [472, 415, 1, 1], [473, 188, 1, 1], [473, 412, 1, 1], [474, 184, 1, 1], [474, 283, 1, 1], [474, 317, 1, 1], [474, 416, 1, 1], [477, 278, 1, 1], [477, 322, 1, 1], [478, 226, 1, 1], [478, 374, 1, 1], [482, 226, 1, 1], [482, 239, 1, 1], [482, 247, 1, 1], [482, 274, 1, 1], [482, 326, 1, 1], [482, 353, 1, 1], [482, 361, 1, 1], [482, 374, 1, 1], [484, 188, 1, 1], [484, 273, 1, 1], [484, 327, 1, 1], [484, 412, 1, 1], [489, 232, 1, 1], [489, 368, 1, 1], [492, 224, 1, 1], [492, 376, 1, 1]], [[26, 300, 1, 1], [30, 300, 1, 1], [36, 300, 1, 1], [42, 300, 1, 1], [47, 300, 1, 1], [49, 300, 1, 1], [53, 300, 1, 1], [56, 300, 1, 1], [136, 298, 1, 1], [136, 302, 1, 1], [140, 297, 1, 1], [140, 303, 1, 1], [142, 286, 1, 1], [142, 314, 1, 1], [144, 286, 1, 1], [144, 292, 1, 1], [144, 308, 1, 1], [144, 314, 1, 1], [145, 287, 1, 1], [145, 313, 1, 1], [146, 287, 1, 1], [146, 313, 1, 1], [153, 286, 1, 1], [153, 314, 1, 1], [155, 287, 1, 1], [155, 313, 1, 1], [156, 286, 1, 1], [156, 314, 1, 1], [166, 266, 1, 1], [166, 334, 1, 1], [169, 268, 1, 1], [169, 332, 1, 1], [171, 267, 1, 1], [171, 333, 1, 1], [172, 272, 1, 1], [172, 328, 1, 1], [174, 267, 1, 1], [174, 333, 1, 1], [179, 255, 1, 1], [179, 345, 1, 1], [186, 246, 1, 1], [186, 354, 1, 1], [189, 244, 1, 1], [189, 356, 1, 1], [190, 246, 1, 1], [190, 354, 1, 1], [199, 244, 1, 1], [199, 356, 1, 1], [209, 236, 1, 1], [209, 364, 1, 1], [215, 240, 1, 1], [215, 360, 1, 1], [221, 249, 1, 1], [221, 351, 1, 1], [233, 253, 1, 1], [233, 347, 1, 1], [237, 253, 1, 1], [237, 347, 1, 1], [245, 258, 1, 1], [245, 342, 1, 1], [246, 260, 1, 1], [246, 340, 1, 1], [253, 271, 1, 1], [253, 329, 1, 1], [261, 289, 1, 1], [261, 311, 1, 1], [263, 252, 1, 1], [263, 348, 1, 1], [266, 248, 1, 1], [266, 352, 1, 1], [268, 242, 1, 1], [268, 358, 1, 1], [271, 228, 1, 1], [271, 372, 1, 1], [273, 207, 1, 1], [273, 225, 1, 1], [273, 375, 1, 1], [273, 393, 1, 1], [275, 209, 1, 1], [275, 391, 1, 1], [276, 237, 1, 1], [276, 363, 1, 1], [277, 207, 1, 1], [277, 393, 1, 1], [279, 206, 1, 1], [279, 219, 1, 1], [279, 231, 1, 1], [279, 369, 1, 1], [279, 381, 1, 1], [279, 394, 1, 1], [280, 218, 1, 1], [280, 382, 1, 1], [281, 204, 1, 1], [281, 217, 1, 1], [281, 383, 1, 1], [281, 396, 1, 1], [282, 210, 1, 1], [282, 218, 1, 1], [282, 382, 1, 1], [282, 390, 1, 1], [286, 207, 1, 1], [286, 393, 1, 1], [291, 167, 1, 1], [291, 433, 1, 1], [292, 168, 1, 1], [292, 432, 1, 1], [293, 177, 1, 1], [293, 423, 1, 1], [294, 189, 1, 1], [294, 411, 1, 1], [296, 190, 1, 1], [296, 202, 1, 1], [296, 398, 1, 1], [296, 410, 1, 1], [300, 176, 1, 1], [300, 424, 1, 1], [303, 177, 1, 1], [303, 423, 1, 1], [305, 195, 1, 1], [305, 405, 1, 1], [312, 175, 1, 1], [312, 425, 1, 1], [316, 191, 1, 1], [316, 409, 1, 1], [317, 186, 1, 1], [317, 414, 1, 1], [326, 181, 1, 1], [326, 419, 1, 1], [327, 178, 1, 1], [327, 422, 1, 1], [331, 177, 1, 1], [331, 423, 1, 1], [332, 168, 1, 1], [332, 175, 1, 1], [332, 425, 1, 1], [332, 432, 1, 1], [334, 174, 1, 1], [334, 426, 1, 1], [340, 178, 1, 1], [340, 422, 1, 1], [345, 175, 1, 1], [345, 425, 1, 1], [347, 173, 1, 1], [347, 427, 1, 1], [349, 167, 1, 1], [349, 433, 1, 1], [357, 170, 1, 1], [357, 430, 1, 1], [360, 154, 1, 1], [360, 156, 1, 1], [360, 170, 1, 1], [360, 430, 1, 1], [360, 444, 1, 1], [360, 446, 1, 1], [362, 144, 1, 1], [362, 456, 1, 1], [363, 148, 1, 1], [363, 452, 1, 1], [365, 164, 1, 1], [365, 436, 1, 1], [366, 161, 1, 1], [366, 439, 1, 1], [368, 138, 1, 1], [368, 165, 1, 1], [368, 435, 1, 1], [368, 462, 1, 1], [371, 130, 1, 1], [371, 470, 1, 1], [372, 131, 1, 1], [372, 469, 1, 1], [379, 130, 1, 1], [379, 470, 1, 1], [386, 117, 1, 1], [386, 483, 1, 1], [389, 123, 1, 1], [389, 477, 1, 1], [399, 160, 1, 1], [399, 440, 1, 1], [401, 159, 1, 1], [401, 441, 1, 1], [402, 144, 1, 1], [402, 158, 1, 1], [402, 442, 1, 1], [402, 456, 1, 1], [403, 151, 1, 1], [403, 449, 1, 1], [414, 172, 1, 1], [414, 428, 1, 1], [434, 169, 1, 1], [434, 431, 1, 1], [440, 182, 1, 1], [440, 418, 1, 1], [441, 187, 1, 1], [441, 413, 1, 1], [462, 203, 1, 1], [462, 397, 1, 1], [466, 203, 1, 1], [466, 211, 1, 1], [466, 389, 1, 1], [466, 397, 1, 1], [467, 184, 1, 1], [467, 416, 1, 1], [469, 212, 1, 1], [469, 388, 1, 1], [471, 194, 1, 1], [471, 406, 1, 1], [472, 192, 1, 1], [472, 408, 1, 1], [473, 182, 1, 1], [473, 184, 1, 1], [473, 216, 1, 1], [473, 384, 1, 1], [473, 416, 1, 1], [473, 418, 1, 1], [474, 226, 1, 1], [474, 374, 1, 1], [475, 215, 1, 1], [475, 223, 1, 1], [475, 377, 1, 1], [475, 385, 1, 1], [476, 163, 1, 1], [476, 437, 1, 1], [478, 181, 1, 1], [478, 282, 1, 1], [478, 318, 1, 1], [478, 419, 1, 1], [480, 250, 1, 1], [480, 350, 1, 1], [482, 253, 1, 1], [482, 347, 1, 1], [484, 253, 1, 1], [484, 347, 1, 1], [485, 252, 1, 1], [485, 348, 1, 1], [490, 258, 1, 1], [490, 342, 1, 1], [491, 225, 1, 1], [491, 375, 1, 1], [492, 232, 1, 1], [492, 368, 1, 1]], [[41, 300, 1, 1], [44, 300, 1, 1], [45, 300, 1, 1], [48, 300, 1, 1], [51, 300, 1, 1], [54, 300, 1, 1], [72, 300, 1, 1], [144, 289, 1, 1], [144, 311, 1, 1], [145, 290, 1, 1], [145, 310, 1, 1], [147, 286, 1, 2], [147, 313, 1, 2], [156, 285, 1, 1], [156, 287, 1, 1], [156, 313, 1, 1], [156, 315, 1, 1], [164, 282, 1, 1], [164, 295, 1, 1], [164, 305, 1, 1], [164, 318, 1, 1], [165, 287, 1, 1], [165, 289, 1, 1], [165, 311, 1, 1], [165, 313, 1, 1], [169, 265, 1, 1], [169, 272, 1, 1], [169, 328, 1, 1], [169, 335, 1, 1], [171, 274, 1, 1], [171, 326, 1, 1], [173, 267, 1, 1], [173, 333, 1, 1], [176, 262, 1, 1], [176, 338, 1, 1], [178, 262, 1, 1], [178, 338, 1, 1], [180, 250, 1, 1], [180, 350, 1, 1], [181, 256, 1, 1], [181, 344, 1, 1], [182, 247, 1, 1], [182, 353, 1, 1], [183, 260, 1, 1], [183, 340, 1, 1], [192, 243, 1, 1], [192, 252, 1, 1], [192, 348, 1, 1], [192, 357, 1, 1], [208, 244, 1, 1], [208, 356, 1, 1], [211, 244, 1, 1], [211, 356, 1, 1], [214, 241, 1, 2], [214, 358, 1, 2], [217, 245, 1, 1], [217, 355, 1, 1], [230, 247, 1, 1], [230, 353, 1, 1], [231, 250, 1, 1], [231, 253, 1, 1], [231, 347, 1, 1], [231, 350, 1, 1], [239, 252, 1, 1], [239, 348, 1, 1], [240, 258, 1, 1], [240, 342, 1, 1], [245, 257, 1, 1], [245, 260, 1, 1], [245, 340, 1, 1], [245, 343, 1, 1], [249, 259, 1, 1], [249, 341, 1, 1], [252, 269, 1, 1], [252, 331, 1, 1], [253, 268, 1, 1], [253, 332, 1, 1], [258, 280, 1, 1], [258, 320, 1, 1], [261, 290, 1, 1], [261, 310, 1, 1], [262, 278, 1, 1], [262, 322, 1, 1], [264, 252, 1, 1], [264, 348, 1, 1], [268, 233, 1, 1], [268, 240, 1, 1], [268, 360, 1, 1], [268, 367, 1, 1], [271, 241, 1, 1], [271, 247, 1, 1], [271, 353, 1, 1], [271, 359, 1, 1], [273, 234, 1, 1], [273, 366, 1, 1], [275, 215, 1, 1], [275, 385, 1, 1], [277, 205, 1, 1], [277, 395, 1, 1], [279, 216, 1, 1], [279, 224, 1, 1], [279, 376, 1, 1], [279, 384, 1, 1], [282, 220, 1, 1], [282, 380, 1, 1], [284, 220, 1, 1], [284, 380, 1, 1], [287, 209, 1, 1], [287, 391, 1, 1], [294, 203, 1, 1], [294, 397, 1, 1], [295, 185, 1, 1], [295, 415, 1, 1], [296, 187, 1, 2], [296, 412, 1, 2], [297, 189, 1, 1], [297, 411, 1, 1], [298, 172, 1, 1], [298, 188, 1, 1], [298, 190, 1, 1], [298, 410, 1, 1], [298, 412, 1, 1], [298, 428, 1, 1], [299, 171, 1, 1], [299, 429, 1, 1], [300, 175, 1, 1], [300, 177, 1, 1], [300, 200, 1, 1], [300, 400, 1, 1], [300, 423, 1, 1], [300, 425, 1, 1], [301, 176, 1, 1], [301, 424, 1, 1], [304, 176, 1, 1], [304, 424, 1, 1], [305, 174, 1, 2], [305, 177, 1, 1], [305, 423, 1, 1], [305, 425, 1, 2], [313, 174, 1, 2], [313, 425, 1, 2], [316, 182, 1, 1], [316, 418, 1, 1], [320, 188, 1, 1], [320, 412, 1, 1], [325, 179, 1, 1], [325, 421, 1, 1], [328, 171, 1, 1], [328, 429, 1, 1], [330, 181, 1, 1], [330, 419, 1, 1], [331, 182, 1, 1], [331, 418, 1, 1], [334, 173, 1, 1], [334, 427, 1, 1], [350, 171, 1, 1], [350, 429, 1, 1], [359, 154, 1, 1], [359, 446, 1, 1], [361, 149, 1, 1], [361, 152, 1, 1], [361, 448, 1, 1], [361, 451, 1, 1], [362, 157, 1, 1], [362, 443, 1, 1], [363, 145, 1, 1], [363, 455, 1, 1], [369, 137, 1, 1], [369, 166, 1, 1], [369, 434, 1, 1], [369, 463, 1, 1], [370, 167, 1, 1], [370, 433, 1, 1], [371, 132, 1, 1], [371, 468, 1, 1], [372, 135, 1, 1], [372, 465, 1, 1], [380, 124, 1, 1], [380, 132, 1, 1], [380, 468, 1, 1], [380, 476, 1, 1], [381, 124, 1, 1], [381, 132, 1, 1], [381, 468, 1, 1], [381, 476, 1, 1], [393, 167, 1, 1], [393, 433, 1, 1], [397, 139, 1, 1], [397, 170, 1, 1], [397, 430, 1, 1], [397, 461, 1, 1], [401, 144, 1, 1], [401, 146, 1, 1], [401, 150, 1, 1], [401, 450, 1, 1], [401, 454, 1, 1], [401, 456, 1, 1], [402, 155, 1, 1], [402, 445, 1, 1], [403, 140, 1, 1], [403, 143, 1, 1], [403, 457, 1, 1], [403, 460, 1, 1], [406, 135, 1, 1], [406, 465, 1, 1], [434, 180, 1, 1], [434, 420, 1, 1], [437, 176, 1, 1], [437, 424, 1, 1], [445, 188, 1, 1], [445, 190, 1, 1], [445, 410, 1, 1], [445, 412, 1, 1], [451, 192, 1, 1], [451, 408, 1, 1], [452, 193, 1, 1], [452, 407, 1, 1], [461, 203, 1, 1], [461, 397, 1, 1], [463, 179, 1, 1], [463, 297, 1, 1], [463, 303, 1, 1], [463, 421, 1, 1], [475, 218, 1, 1], [475, 232, 1, 1], [475, 368, 1, 1], [475, 382, 1, 1], [476, 172, 1, 1], [476, 428, 1, 1], [478, 276, 1, 1], [478, 324, 1, 1], [480, 273, 1, 1], [480, 327, 1, 1], [481, 247, 1, 1], [481, 273, 1, 1], [481, 327, 1, 1], [481, 353, 1, 1], [483, 245, 1, 1], [483, 247, 1, 1], [483, 353, 1, 1], [483, 355, 1, 1], [486, 258, 1, 2], [486, 341, 1, 2], [487, 234, 1, 1], [487, 366, 1, 1], [488, 234, 1, 1], [488, 366, 1, 1], [489, 261, 1, 1], [489, 339, 1, 1]], [[46, 300, 1, 1], [50, 300, 1, 1], [52, 300, 1, 1], [55, 300, 1, 1], [57, 300, 1, 1], [58, 300, 1, 1], [68, 298, 1, 1], [68, 302, 1, 1], [76, 300, 1, 1], [77, 300, 1, 1], [80, 300, 1, 1], [137, 298, 1, 1], [137, 302, 1, 1], [145, 286, 1, 1], [145, 314, 1, 1], [153, 284, 1, 1], [153, 316, 1, 1], [162, 291, 1, 1], [162, 309, 1, 1], [165, 290, 1, 1], [165, 310, 1, 1], [166, 278, 1, 1], [166, 322, 1, 1], [177, 262, 1, 1], [177, 338, 1, 1], [182, 261, 1, 1], [182, 339, 1, 1], [186, 258, 1, 1], [186, 342, 1, 1], [190, 248, 1, 1], [190, 352, 1, 1], [196, 252, 1, 1], [196, 348, 1, 1], [198, 251, 1, 1], [198, 349, 1, 1], [201, 249, 1, 1], [201, 351, 1, 1], [205, 250, 1, 1], [205, 350, 1, 1], [226, 251, 1, 1], [226, 349, 1, 1], [228, 243, 1, 1], [228, 357, 1, 1], [231, 248, 1, 1], [231, 251, 1, 1], [231, 349, 1, 1], [231, 352, 1, 1], [235, 255, 1, 1], [235, 345, 1, 1], [248, 263, 1, 1], [248, 337, 1, 1], [249, 261, 1, 2], [249, 265, 1, 1], [249, 335, 1, 1], [249, 338, 1, 2], [259, 282, 1, 1], [259, 318, 1, 1], [261, 291, 1, 1], [261, 309, 1, 1], [262, 267, 1, 1], [262, 333, 1, 1], [265, 258, 1, 1], [265, 342, 1, 1], [267, 239, 1, 1], [267, 361, 1, 1], [270, 248, 1, 1], [270, 352, 1, 1], [274, 238, 1, 1], [274, 362, 1, 1], [276, 213, 1, 1], [276, 387, 1, 1], [279, 225, 1, 1], [279, 375, 1, 1], [281, 224, 1, 1], [281, 376, 1, 1], [285, 221, 1, 1], [285, 379, 1, 1], [294, 211, 1, 1], [294, 389, 1, 1], [301, 177, 1, 1], [301, 423, 1, 1], [303, 200, 1, 1], [303, 400, 1, 1], [304, 177, 1, 1], [304, 423, 1, 1], [314, 175, 1, 1], [314, 179, 1, 1], [314, 421, 1, 1], [314, 425, 1, 1], [323, 184, 1, 1], [323, 416, 1, 1], [325, 181, 1, 1], [325, 419, 1, 1], [332, 180, 1, 1], [332, 420, 1, 1], [333, 169, 1, 1], [333, 431, 1, 1], [335, 168, 1, 1], [335, 432, 1, 1], [337, 173, 1, 1], [337, 427, 1, 1], [346, 170, 1, 1], [346, 430, 1, 1], [350, 170, 1, 1], [350, 430, 1, 1], [351, 169, 1, 1], [351, 431, 1, 1], [354, 169, 1, 1], [354, 431, 1, 1], [360, 150, 1, 1], [360, 450, 1, 1], [363, 153, 1, 1], [363, 447, 1, 1], [364, 137, 1, 1], [364, 141, 1, 1], [364, 155, 1, 1], [364, 158, 1, 1], [364, 170, 1, 1], [364, 430, 1, 1], [364, 442, 1, 1], [364, 445, 1, 1], [364, 459, 1, 1], [364, 463, 1, 1], [366, 170, 1, 1], [366, 430, 1, 1], [372, 129, 1, 1], [372, 471, 1, 1], [375, 93, 1, 1], [375, 507, 1, 1], [381, 123, 1, 1], [381, 477, 1, 1], [388, 170, 1, 1], [388, 430, 1, 1], [390, 128, 1, 1], [390, 472, 1, 1], [394, 170, 1, 1], [394, 430, 1, 1], [396, 138, 1, 1], [396, 462, 1, 1], [399, 162, 1, 1], [399, 438, 1, 1], [400, 137, 1, 1], [400, 463, 1, 1], [401, 153, 1, 1], [401, 447, 1, 1], [402, 171, 1, 1], [402, 429, 1, 1], [403, 147, 1, 1], [403, 453, 1, 1], [408, 169, 1, 1], [408, 431, 1, 1], [411, 170, 1, 1], [411, 430, 1, 1], [414, 171, 1, 1], [414, 429, 1, 1], [419, 174, 1, 1], [419, 426, 1, 1], [431, 172, 1, 1], [431, 428, 1, 1], [434, 173, 1, 1], [434, 427, 1, 1], [435, 169, 1, 1], [435, 431, 1, 1], [452, 188, 1, 1], [452, 194, 1, 1], [452, 406, 1, 1], [452, 412, 1, 1], [461, 178, 1, 1], [461, 422, 1, 1], [463, 184, 1, 1], [463, 416, 1, 1], [468, 211, 1, 1], [468, 389, 1, 1], [470, 182, 1, 1], [470, 192, 1, 1], [470, 196, 1, 1], [470, 290, 1, 1], [470, 310, 1, 1], [470, 404, 1, 1], [470, 408, 1, 1], [470, 418, 1, 1], [472, 193, 1, 1], [472, 407, 1, 1], [475, 287, 1, 1], [475, 313, 1, 1], [478, 278, 1, 1], [478, 322, 1, 1], [479, 238, 1, 1], [479, 362, 1, 1], [481, 185, 1, 1], [481, 415, 1, 1], [482, 272, 1, 1], [482, 328, 1, 1], [483, 229, 1, 1], [483, 261, 1, 1], [483, 339, 1, 1], [483, 371, 1, 1], [488, 260, 1, 1], [488, 340, 1, 1]], [[59, 300, 1, 1], [69, 300, 1, 1], [70, 300, 1, 1], [71, 300, 1, 1], [74, 300, 1, 1], [89, 300, 1, 1], [136, 299, 1, 1], [136, 301, 1, 1], [148, 289, 1, 1], [148, 311, 1, 1], [151, 288, 1, 1], [151, 312, 1, 1], [165, 265, 1, 1], [165, 335, 1, 1], [172, 264, 1, 1], [172, 266, 1, 1], [172, 334, 1, 1], [172, 336, 1, 1], [180, 241, 1, 1], [180, 359, 1, 1], [189, 246, 1, 1], [189, 354, 1, 1], [191, 255, 1, 1], [191, 345, 1, 1], [192, 251, 1, 1], [192, 349, 1, 1], [193, 254, 1, 1], [193, 346, 1, 1], [195, 253, 1, 1], [195, 347, 1, 1], [203, 247, 1, 1], [203, 353, 1, 1], [213, 242, 1, 1], [213, 358, 1, 1], [214, 239, 1, 1], [214, 361, 1, 1], [218, 248, 1, 1], [218, 352, 1, 1], [220, 249, 1, 1], [220, 351, 1, 1], [248, 260, 1, 1], [248, 340, 1, 1], [255, 270, 1, 1], [255, 272, 1, 1], [255, 328, 1, 1], [255, 330, 1, 1], [262, 279, 1, 1], [262, 321, 1, 1], [264, 263, 1, 1], [264, 271, 1, 1], [264, 329, 1, 1], [264, 337, 1, 1], [266, 243, 1, 1], [266, 250, 1, 1], [266, 350, 1, 1], [266, 357, 1, 1], [267, 256, 1, 1], [267, 344, 1, 1], [272, 235, 1, 1], [272, 246, 1, 1], [272, 354, 1, 1], [272, 365, 1, 1], [273, 235, 1, 1], [273, 365, 1, 1], [280, 211, 1, 1], [280, 389, 1, 1], [281, 205, 1, 1], [281, 395, 1, 1], [283, 211, 1, 1], [283, 223, 1, 1], [283, 377, 1, 1], [283, 389, 1, 1], [284, 224, 1, 1], [284, 376, 1, 1], [288, 208, 1, 1], [288, 392, 1, 1], [299, 204, 1, 1], [299, 396, 1, 1], [300, 181, 1, 1], [300, 193, 1, 1], [300, 407, 1, 1], [300, 419, 1, 1], [301, 169, 1, 1], [301, 179, 1, 1], [301, 181, 1, 1], [301, 187, 1, 1], [301, 413, 1, 1], [301, 419, 1, 1], [301, 421, 1, 1], [301, 431, 1, 1], [302, 201, 1, 1], [302, 399, 1, 1], [303, 193, 1, 1], [303, 195, 1, 1], [303, 405, 1, 1], [303, 407, 1, 1], [306, 177, 1, 1], [306, 423, 1, 1], [310, 179, 1, 1], [310, 421, 1, 1], [311, 178, 1, 2], [311, 421, 1, 2], [332, 177, 1, 1], [332, 423, 1, 1], [336, 168, 1, 1], [336, 432, 1, 1], [337, 172, 1, 1], [337, 428, 1, 1], [359, 156, 1, 1], [359, 444, 1, 1], [361, 170, 1, 1], [361, 430, 1, 1], [364, 146, 1, 1], [364, 169, 1, 1], [364, 431, 1, 1], [364, 454, 1, 1], [365, 170, 1, 1], [365, 430, 1, 1], [366, 135, 1, 2], [366, 464, 1, 2], [367, 133, 1, 1], [367, 467, 1, 1], [372, 168, 1, 1], [372, 432, 1, 1], [377, 170, 1, 1], [377, 430, 1, 1], [379, 127, 1, 1], [379, 473, 1, 1], [387, 132, 1, 1], [387, 468, 1, 1], [395, 134, 1, 1], [395, 466, 1, 1], [397, 165, 1, 1], [397, 435, 1, 1], [401, 154, 1, 1], [401, 446, 1, 1], [404, 153, 1, 1], [404, 156, 1, 1], [404, 444, 1, 1], [404, 447, 1, 1], [430, 169, 1, 1], [430, 431, 1, 1], [436, 182, 1, 1], [436, 418, 1, 1], [442, 180, 1, 1], [442, 420, 1, 1], [443, 185, 1, 1], [443, 415, 1, 1], [446, 187, 1, 1], [446, 413, 1, 1], [457, 202, 1, 1], [457, 398, 1, 1], [460, 203, 1, 1], [460, 397, 1, 1], [464, 208, 1, 1], [464, 392, 1, 1], [467, 212, 1, 1], [467, 388, 1, 1], [470, 194, 1, 1], [470, 406, 1, 1], [471, 185, 1, 1], [471, 415, 1, 1], [472, 219, 1, 1], [472, 381, 1, 1], [473, 214, 1, 1], [473, 386, 1, 1], [478, 241, 1, 1], [478, 359, 1, 1], [479, 269, 1, 1], [479, 331, 1, 1], [480, 238, 1, 1], [480, 362, 1, 1], [484, 261, 1, 1], [484, 339, 1, 1], [486, 237, 1, 1], [486, 254, 1, 1], [486, 346, 1, 1], [486, 363, 1, 1]], [[73, 300, 1, 1], [75, 300, 1, 1], [81, 300, 1, 1], [82, 300, 1, 1], [83, 300, 1, 1], [84, 300, 1, 1], [88, 300, 1, 1], [99, 300, 1, 1], [100, 300, 1, 1], [142, 293, 1, 1], [142, 307, 1, 1], [145, 288, 1, 1], [145, 312, 1, 1], [160, 289, 1, 1], [160, 311, 1, 1], [164, 288, 1, 1], [164, 312, 1, 1], [165, 285, 1, 1], [165, 315, 1, 1], [170, 267, 1, 1], [170, 333, 1, 1], [177, 249, 1, 1], [177, 351, 1, 1], [179, 254, 1, 1], [179, 346, 1, 1], [197, 252, 1, 1], [197, 348, 1, 1], [209, 245, 1, 1], [209, 355, 1, 1], [215, 238, 1, 1], [215, 362, 1, 1], [216, 246, 1, 1], [216, 354, 1, 1], [222, 248, 1, 1], [222, 352, 1, 1], [230, 249, 1, 1], [230, 351, 1, 1], [249, 264, 1, 1], [249, 336, 1, 1], [261, 292, 1, 1], [261, 308, 1, 1], [262, 270, 1, 1], [262, 330, 1, 1], [267, 242, 1, 1], [267, 358, 1, 1], [269, 242, 1, 1], [269, 358, 1, 1], [273, 230, 1, 1], [273, 243, 1, 1], [273, 357, 1, 1], [273, 370, 1, 1], [279, 211, 1, 1], [279, 389, 1, 1], [283, 209, 1, 1], [283, 391, 1, 1], [284, 210, 1, 1], [284, 390, 1, 1], [292, 203, 1, 1], [292, 209, 1, 1], [292, 391, 1, 1], [292, 397, 1, 1], [294, 202, 1, 1], [294, 209, 1, 1], [294, 391, 1, 1], [294, 398, 1, 1], [302, 183, 1, 1], [302, 417, 1, 1], [317, 184, 1, 1], [317, 416, 1, 1], [330, 171, 1, 1], [330, 429, 1, 1], [331, 168, 1, 1], [331, 181, 1, 1], [331, 419, 1, 1], [331, 432, 1, 1], [346, 175, 1, 1], [346, 425, 1, 1], [349, 168, 1, 1], [349, 432, 1, 1], [355, 170, 1, 1], [355, 430, 1, 1], [363, 159, 1, 1], [363, 441, 1, 1], [371, 136, 1, 1], [371, 464, 1, 1], [373, 168, 1, 1], [373, 432, 1, 1], [374, 134, 1, 1], [374, 466, 1, 1], [382, 132, 1, 1], [382, 468, 1, 1], [384, 123, 1, 1], [384, 477, 1, 1], [389, 125, 1, 1], [389, 127, 1, 1], [389, 473, 1, 1], [389, 475, 1, 1], [393, 123, 1, 1], [393, 477, 1, 1], [398, 141, 1, 1], [398, 459, 1, 1], [403, 169, 1, 1], [403, 431, 1, 1], [417, 170, 1, 1], [417, 430, 1, 1], [418, 173, 1, 1], [418, 427, 1, 1], [429, 168, 1, 1], [429, 432, 1, 1], [432, 172, 1, 1], [432, 428, 1, 1], [433, 172, 1, 2], [433, 427, 1, 2], [434, 174, 1, 1], [434, 426, 1, 1], [435, 171, 1, 1], [435, 429, 1, 1], [444, 188, 1, 1], [444, 412, 1, 1], [464, 185, 1, 1], [464, 415, 1, 1], [467, 187, 1, 1], [467, 413, 1, 1], [472, 223, 1, 1], [472, 377, 1, 1], [474, 228, 1, 1], [474, 372, 1, 1], [476, 177, 1, 1], [476, 286, 1, 1], [476, 314, 1, 1], [476, 423, 1, 1], [477, 275, 1, 1], [477, 325, 1, 1], [483, 238, 1, 1], [483, 362, 1, 1], [486, 257, 1, 1], [486, 343, 1, 1], [489, 254, 1, 1], [489, 346, 1, 1]], [[68, 300, 1, 1], [79, 300, 1, 1], [85, 300, 1, 1], [86, 300, 1, 1], [87, 300, 1, 1], [93, 300, 1, 1], [94, 300, 1, 1], [95, 300, 1, 1], [96, 300, 1, 1], [98, 300, 1, 1], [106, 300, 1, 1], [159, 288, 1, 2], [159, 311, 1, 2], [168, 266, 1, 1], [168, 334, 1, 1], [169, 274, 1, 1], [169, 326, 1, 1], [177, 264, 1, 1], [177, 266, 1, 1], [177, 334, 1, 1], [177, 336, 1, 1], [197, 250, 1, 2], [197, 349, 1, 2], [209, 247, 1, 1], [209, 353, 1, 1], [229, 247, 1, 1], [229, 353, 1, 1], [232, 253, 1, 1], [232, 347, 1, 1], [248, 265, 1, 1], [248, 335, 1, 1], [249, 263, 1, 1], [249, 337, 1, 1], [263, 270, 1, 1], [263, 330, 1, 1], [264, 264, 1, 1], [264, 336, 1, 1], [266, 245, 1, 1], [266, 355, 1, 1], [267, 248, 1, 1], [267, 352, 1, 1], [272, 231, 1, 1], [272, 369, 1, 1], [276, 227, 1, 1], [276, 373, 1, 1], [278, 216, 1, 1], [278, 384, 1, 1], [279, 213, 1, 1], [279, 232, 1, 1], [279, 368, 1, 1], [279, 387, 1, 1], [280, 224, 1, 1], [280, 376, 1, 1], [281, 227, 1, 1], [281, 373, 1, 1], [290, 212, 1, 1], [290, 388, 1, 1], [293, 205, 1, 1], [293, 395, 1, 1], [295, 206, 1, 1], [295, 394, 1, 1], [298, 181, 1, 1], [298, 419, 1, 1], [299, 188, 1, 1], [299, 412, 1, 1], [301, 178, 1, 1], [301, 199, 1, 1], [301, 401, 1, 1], [301, 422, 1, 1], [304, 198, 1, 1], [304, 402, 1, 1], [313, 178, 1, 1], [313, 422, 1, 1], [329, 181, 1, 1], [329, 419, 1, 1], [334, 168, 1, 1], [334, 432, 1, 1], [340, 173, 1, 1], [340, 427, 1, 1], [373, 133, 1, 1], [373, 467, 1, 1], [378, 170, 1, 1], [378, 430, 1, 1], [388, 131, 1, 1], [388, 133, 1, 1], [388, 467, 1, 1], [388, 469, 1, 1], [399, 163, 1, 1], [399, 437, 1, 1], [403, 146, 1, 1], [403, 454, 1, 1], [405, 139, 1, 1], [405, 461, 1, 1], [416, 171, 1, 1], [416, 429, 1, 1], [419, 169, 1, 1], [419, 431, 1, 1], [426, 173, 1, 1], [426, 427, 1, 1], [435, 183, 1, 1], [435, 417, 1, 1], [442, 188, 1, 1], [442, 412, 1, 1], [443, 182, 1, 1], [443, 418, 1, 1], [447, 191, 1, 1], [447, 409, 1, 1], [456, 186, 1, 1], [456, 414, 1, 1], [467, 186, 1, 1], [467, 414, 1, 1], [470, 201, 1, 1], [470, 399, 1, 1], [471, 189, 1, 1], [471, 411, 1, 1], [474, 229, 1, 1], [474, 371, 1, 1], [478, 239, 1, 1], [478, 361, 1, 1], [479, 273, 1, 1], [479, 281, 1, 1], [479, 319, 1, 1], [479, 327, 1, 1], [487, 258, 1, 1], [487, 342, 1, 1]], [[90, 300, 1, 1], [104, 300, 1, 1], [105, 300, 1, 1], [108, 300, 1, 1], [137, 297, 1, 1], [137, 303, 1, 1], [142, 294, 1, 1], [142, 306, 1, 1], [161, 290, 1, 1], [161, 310, 1, 1], [165, 282, 1, 1], [165, 318, 1, 1], [168, 267, 1, 1], [168, 333, 1, 1], [172, 267, 1, 1], [172, 333, 1, 1], [179, 252, 1, 1], [179, 348, 1, 1], [182, 243, 1, 1], [182, 357, 1, 1], [205, 247, 1, 1], [205, 353, 1, 1], [214, 240, 1, 1], [214, 360, 1, 1], [229, 245, 1, 1], [229, 355, 1, 1], [230, 245, 1, 1], [230, 355, 1, 1], [240, 255, 1, 1], [240, 345, 1, 1], [247, 262, 1, 1], [247, 338, 1, 1], [261, 293, 1, 1], [261, 307, 1, 1], [264, 259, 1, 1], [264, 262, 1, 1], [264, 338, 1, 1], [264, 341, 1, 1], [265, 252, 1, 1], [265, 348, 1, 1], [266, 244, 1, 1], [266, 356, 1, 1], [270, 228, 1, 1], [270, 233, 1, 1], [270, 367, 1, 1], [270, 372, 1, 1], [271, 231, 1, 1], [271, 246, 1, 1], [271, 354, 1, 1], [271, 369, 1, 1], [273, 229, 1, 1], [273, 371, 1, 1], [280, 226, 1, 1], [280, 374, 1, 1], [281, 218, 1, 1], [281, 382, 1, 1], [286, 208, 1, 1], [286, 392, 1, 1], [294, 204, 1, 1], [294, 396, 1, 1], [296, 203, 1, 1], [296, 397, 1, 1], [300, 183, 1, 1], [300, 417, 1, 1], [301, 202, 1, 1], [301, 398, 1, 1], [304, 166, 1, 1], [304, 201, 1, 1], [304, 399, 1, 1], [304, 434, 1, 1], [311, 195, 1, 1], [311, 405, 1, 1], [332, 176, 1, 1], [332, 424, 1, 1], [339, 168, 1, 1], [339, 432, 1, 1], [341, 173, 1, 1], [341, 177, 1, 1], [341, 423, 1, 1], [341, 427, 1, 1], [344, 175, 1, 1], [344, 425, 1, 1], [348, 169, 1, 1], [348, 431, 1, 1], [351, 171, 1, 1], [351, 429, 1, 1], [355, 171, 1, 1], [355, 429, 1, 1], [359, 172, 1, 1], [359, 428, 1, 1], [363, 137, 1, 1], [363, 463, 1, 1], [368, 139, 1, 1], [368, 461, 1, 1], [382, 124, 1, 1], [382, 476, 1, 1], [392, 170, 1, 1], [392, 430, 1, 1], [396, 135, 1, 1], [396, 165, 1, 1], [396, 435, 1, 1], [396, 465, 1, 1], [400, 145, 1, 1], [400, 455, 1, 1], [401, 139, 1, 1], [401, 147, 1, 1], [401, 453, 1, 1], [401, 461, 1, 1], [419, 172, 1, 1], [419, 428, 1, 1], [426, 176, 1, 1], [426, 178, 1, 1], [426, 422, 1, 1], [426, 424, 1, 1], [433, 183, 1, 1], [433, 417, 1, 1], [443, 183, 1, 1], [443, 417, 1, 1], [462, 208, 1, 1], [462, 392, 1, 1], [465, 209, 1, 1], [465, 391, 1, 1], [466, 185, 1, 1], [466, 415, 1, 1], [469, 216, 1, 1], [469, 384, 1, 1], [473, 219, 1, 1], [473, 381, 1, 1], [480, 243, 1, 1], [480, 262, 1, 1], [480, 338, 1, 1], [480, 357, 1, 1], [484, 259, 1, 1], [484, 341, 1, 1], [492, 225, 1, 1], [492, 375, 1, 1]], [[97, 300, 1, 1], [101, 300, 1, 1], [109, 300, 1, 1], [177, 263, 1, 1], [177, 337, 1, 1], [208, 249, 1, 1], [208, 351, 1, 1], [209, 246, 1, 1], [209, 354, 1, 1], [228, 248, 1, 1], [228, 352, 1, 1], [243, 259, 1, 1], [243, 341, 1, 1], [245, 262, 1, 1], [245, 338, 1, 1], [252, 267, 1, 1], [252, 333, 1, 1], [257, 277, 1, 1], [257, 323, 1, 1], [260, 286, 1, 1], [260, 314, 1, 1], [262, 273, 1, 1], [262, 327, 1, 1], [264, 256, 1, 1], [264, 344, 1, 1], [265, 265, 1, 1], [265, 335, 1, 1], [267, 245, 1, 1], [267, 355, 1, 1], [268, 228, 1, 1], [268, 372, 1, 1], [278, 229, 1, 2], [278, 370, 1, 2], [292, 176, 1, 1], [292, 424, 1, 1], [294, 208, 1, 1], [294, 392, 1, 1], [295, 203, 1, 1], [295, 397, 1, 1], [299, 192, 1, 1], [299, 194, 1, 1], [299, 406, 1, 1], [299, 408, 1, 1], [305, 178, 1, 1], [305, 422, 1, 1], [312, 178, 1, 1], [312, 422, 1, 1], [314, 178, 1, 1], [314, 422, 1, 1], [315, 175, 1, 1], [315, 425, 1, 1], [321, 188, 1, 1], [321, 412, 1, 1], [327, 179, 1, 1], [327, 181, 1, 1], [327, 419, 1, 1], [327, 421, 1, 1], [333, 178, 1, 1], [333, 422, 1, 1], [339, 173, 1, 1], [339, 427, 1, 1], [354, 173, 1, 1], [354, 427, 1, 1], [362, 147, 1, 1], [362, 453, 1, 1], [364, 143, 1, 1], [364, 457, 1, 1], [367, 162, 1, 1], [367, 438, 1, 1], [371, 134, 1, 1], [371, 466, 1, 1], [375, 92, 1, 1], [375, 508, 1, 1], [378, 132, 1, 1], [378, 468, 1, 1], [380, 125, 1, 1], [380, 475, 1, 1], [386, 170, 1, 1], [386, 430, 1, 1], [392, 133, 1, 1], [392, 467, 1, 1], [393, 135, 1, 1], [393, 465, 1, 1], [400, 170, 1, 1], [400, 430, 1, 1], [403, 150, 1, 1], [403, 170, 1, 1], [403, 430, 1, 1], [403, 450, 1, 1], [407, 169, 1, 1], [407, 431, 1, 1], [418, 169, 1, 1], [418, 431, 1, 1], [420, 171, 1, 1], [420, 429, 1, 1], [421, 170, 1, 1], [421, 430, 1, 1], [423, 176, 1, 1], [423, 424, 1, 1], [425, 178, 1, 1], [425, 422, 1, 1], [428, 174, 1, 1], [428, 426, 1, 1], [442, 181, 1, 1], [442, 419, 1, 1], [444, 187, 1, 1], [444, 413, 1, 1], [452, 190, 1, 1], [452, 410, 1, 1], [457, 185, 1, 1], [457, 415, 1, 1], [467, 210, 1, 1], [467, 390, 1, 1], [473, 224, 1, 1], [473, 376, 1, 1], [476, 282, 1, 1], [476, 318, 1, 1], [479, 226, 1, 1], [479, 374, 1, 1], [481, 270, 1, 1], [481, 330, 1, 1], [485, 255, 1, 1], [485, 345, 1, 1]], [[102, 300, 1, 1], [103, 300, 1, 1], [157, 287, 1, 1], [157, 313, 1, 1], [167, 279, 1, 1], [167, 321, 1, 1], [169, 270, 1, 1], [169, 330, 1, 1], [180, 261, 1, 1], [180, 339, 1, 1], [200, 246, 1, 1], [200, 354, 1, 1], [216, 245, 1, 1], [216, 355, 1, 1], [226, 249, 1, 1], [226, 351, 1, 1], [227, 249, 1, 1], [227, 351, 1, 1], [276, 207, 1, 1], [276, 393, 1, 1], [290, 216, 1, 1], [290, 384, 1, 1], [300, 192, 1, 1], [300, 408, 1, 1], [301, 193, 1, 1], [301, 407, 1, 1], [305, 176, 1, 1], [305, 424, 1, 1], [322, 184, 1, 1], [322, 416, 1, 1], [323, 183, 1, 1], [323, 417, 1, 1], [329, 182, 1, 1], [329, 418, 1, 1], [339, 172, 1, 1], [339, 428, 1, 1], [362, 156, 1, 1], [362, 444, 1, 1], [408, 171, 1, 1], [408, 429, 1, 1], [417, 169, 1, 1], [417, 431, 1, 1], [418, 168, 1, 1], [418, 432, 1, 1], [419, 167, 1, 1], [419, 433, 1, 1], [427, 176, 1, 1], [427, 424, 1, 1], [454, 187, 1, 1], [454, 413, 1, 1], [460, 183, 1, 1], [460, 417, 1, 1], [471, 290, 1, 1], [471, 310, 1, 1], [474, 286, 1, 1], [474, 314, 1, 1], [478, 228, 1, 1], [478, 372, 1, 1], [483, 227, 1, 1], [483, 373, 1, 1], [485, 271, 1, 1], [485, 273, 1, 1], [485, 327, 1, 1], [485, 329, 1, 1]], [[149, 287, 1, 1], [149, 313, 1, 1], [162, 292, 1, 1], [162, 308, 1, 1], [166, 277, 1, 1], [166, 323, 1, 1], [176, 266, 1, 1], [176, 334, 1, 1], [181, 249, 1, 1], [181, 351, 1, 1], [210, 249, 1, 1], [210, 351, 1, 1], [218, 246, 1, 1], [218, 354, 1, 1], [230, 246, 1, 1], [230, 354, 1, 1], [238, 257, 1, 1], [238, 343, 1, 1], [263, 263, 1, 1], [263, 337, 1, 1], [269, 229, 1, 1], [269, 371, 1, 1], [276, 229, 1, 1], [276, 371, 1, 1], [279, 218, 1, 1], [279, 382, 1, 1], [280, 217, 1, 1], [280, 383, 1, 1], [287, 220, 1, 1], [287, 380, 1, 1], [289, 210, 1, 1], [289, 390, 1, 1], [292, 210, 1, 1], [292, 390, 1, 1], [297, 201, 1, 1], [297, 399, 1, 1], [303, 202, 1, 1], [303, 398, 1, 1], [317, 180, 1, 1], [317, 420, 1, 1], [319, 188, 1, 1], [319, 412, 1, 1], [326, 179, 1, 1], [326, 421, 1, 1], [334, 179, 1, 1], [334, 421, 1, 1], [335, 170, 1, 1], [335, 430, 1, 1], [348, 171, 1, 1], [348, 429, 1, 1], [355, 172, 1, 1], [355, 428, 1, 1], [356, 171, 1, 1], [356, 429, 1, 1], [360, 133, 1, 1], [360, 467, 1, 1], [361, 156, 1, 1], [361, 169, 1, 1], [361, 431, 1, 1], [361, 444, 1, 1], [364, 148, 1, 1], [364, 452, 1, 1], [367, 170, 1, 1], [367, 430, 1, 1], [375, 169, 1, 1], [375, 431, 1, 1], [387, 124, 1, 1], [387, 476, 1, 1], [389, 129, 1, 1], [389, 471, 1, 1], [395, 165, 1, 1], [395, 435, 1, 1], [396, 134, 1, 1], [396, 466, 1, 1], [407, 171, 1, 1], [407, 429, 1, 1], [422, 174, 1, 1], [422, 426, 1, 1], [471, 220, 1, 1], [471, 380, 1, 1], [474, 212, 1, 1], [474, 222, 1, 1], [474, 378, 1, 1], [474, 388, 1, 1], [475, 281, 1, 1], [475, 319, 1, 1], [480, 251, 1, 1], [480, 264, 1, 1], [480, 336, 1, 1], [480, 349, 1, 1], [481, 253, 1, 1], [481, 347, 1, 1]]]";
+var mandelbrotImageDataFuzzyResult = "[1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0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 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 12, 12, 12, 0, 13, 13, 13, 0, 12, 12, 12, 0, 14, 14, 14, 0, 13, 13, 13, 0, 14, 14, 14, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 12, 12, 12, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 16, 16, 16, 0, 15, 15, 15, 0, 16, 16, 16, 0, 14, 14, 14, 0, 14, 14, 14, 0, 0, 0, 0, 0, 17, 17, 17, 0, 14, 14, 14, 0, 16, 16, 16, 0, 16, 16, 16, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 17, 17, 17, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 18, 18, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 17, 17, 17, 0, 17, 17, 17, 0, 17, 17, 17, 0, 19, 19, 19, 0, 17, 17, 17, 0, 16, 16, 16, 0, 16, 16, 16, 0, 19, 19, 19, 0, 20, 20, 20, 0, 20, 20, 20, 0, 18, 18, 18, 0, 18, 18, 18, 0, 17, 17, 17, 0, 0, 0, 0, 0, 17, 17, 17, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 13, 13, 13, 0, 15, 15, 15, 0, 21, 21, 21, 0, 18, 18, 18, 0, 17, 17, 17, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 18, 18, 18, 0, 4, 4, 4, 0, 7, 7, 7, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 20, 20, 0, 17, 17, 17, 0, 19, 19, 19, 0, 17, 17, 17, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 12, 12, 12, 0, 7, 7, 7, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4,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 6, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 21, 21, 21, 0, 12, 12, 12, 0, 17, 17, 17, 0, 14, 14, 14, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 16, 16, 16, 0, 10, 10, 10, 0, 3, 3, 3, 0, 12, 12, 12, 0, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 15, 0, 11, 11, 11, 0, 3, 3, 3, 0, 3, 3, 3, 0, 21, 21, 21, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 15, 15, 15, 0, 20, 20, 20, 0, 9, 9, 9, 0, 6, 6, 6, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 4, 4, 4, 0, 4, 4, 4, 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0, 5, 5, 5, 0, 6, 6, 6, 0, 8, 8, 8, 0, 8, 8, 8, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 14, 14, 14, 0, 16, 16, 16, 0, 14, 14, 14, 0, 18, 18, 18, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 14, 14, 14, 0, 15, 15, 15, 0, 2, 2, 2, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 18, 18, 18, 0, 20, 20, 20, 0, 4, 4, 4, 0, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 18, 18, 18, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 5, 5, 5, 0, 14, 14, 14, 0, 10, 10, 10, 0, 8, 8, 8, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5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, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 8, 8, 8, 0, 9, 9, 9, 0, 11, 11, 11, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 1, 1, 1, 0, 14, 14, 14, 0, 18, 18, 18, 0, 16, 16, 16, 0, 15, 15, 15, 0, 17, 17, 17, 0, 3, 3, 3, 0, 1, 1, 1, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 18, 18, 18, 0, 21, 21, 21, 0, 18, 18, 18, 0, 3, 3, 3, 0, 18, 18, 18, 0, 17, 17, 17, 0, 17, 17, 17, 0, 19, 19, 19, 0, 20, 20, 20, 0, 3, 3, 3, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 11, 11, 11, 0, 2, 2, 2, 0, 21, 21, 21, 0, 18, 18, 18, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 15, 15, 15, 0, 16, 16, 16, 0, 14, 14, 14, 0, 12, 12, 12, 0, 14, 14, 14, 0, 17, 17, 17, 0, 13, 13, 13, 0, 10, 10, 10, 0, 8, 8, 8, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5,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 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 9, 9, 9, 0, 10, 10, 10, 0, 15, 15, 15, 0, 3, 3, 3, 0, 13, 13, 13, 0, 12, 12, 12, 0, 14, 14, 14, 0, 12, 12, 12, 0, 1, 1, 1, 0, 15, 15, 15, 0, 13, 13, 13, 0, 10, 10, 10, 0, 21, 21, 21, 0, 6, 6, 6, 0, 7, 7, 7, 0, 15, 15, 15, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 19, 19, 19, 0, 5, 5, 5, 0, 15, 15, 15, 0, 9, 9, 9, 0, 19, 19, 19, 0, 19, 19, 19, 0, 1, 1, 1, 0, 7, 7, 7, 0, 1, 1, 1, 0, 4, 4, 4, 0, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 15, 0, 2, 2, 2, 0, 19, 19, 19, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 4, 4, 4, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 14, 14, 14, 0, 18, 18, 18, 0, 17, 17, 17, 0, 19, 19, 19, 0, 1, 1, 1, 0, 17, 17, 17, 0, 11, 11, 11, 0, 9, 9, 9, 0, 8, 8, 8, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 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0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 8, 8, 8, 0, 19, 19, 19, 0, 21, 21, 21, 0, 15, 15, 15, 0, 18, 18, 18, 0, 15, 15, 15, 0, 16, 16, 16, 0, 5, 5, 5, 0, 8, 8, 8, 0, 3, 3, 3, 0, 5, 5, 5, 0, 18, 18, 18, 0, 20, 20, 20, 0, 11, 11, 11, 0, 9, 9, 9, 0, 18, 18, 18, 0, 16, 16, 16, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 17, 17, 17, 0, 19, 19, 19, 0, 4, 4, 4, 0, 17, 17, 17, 0, 12, 12, 12, 0, 1, 1, 1, 0, 5, 5, 5, 0, 8, 8, 8, 0, 6, 6, 6, 0, 10, 10, 10, 0, 10, 10, 10, 0, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 17, 17, 17, 0, 5, 5, 5, 0, 1, 1, 1, 0, 20, 20, 20, 0, 17, 17, 17, 0, 17, 17, 17, 0, 17, 17, 17, 0, 21, 21, 21, 0, 14, 14, 14, 0, 14, 14, 14, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 15, 15, 15, 0, 9, 9, 9, 0, 20, 20, 20, 0, 19, 19, 19, 0, 18, 18, 18, 0, 14, 14, 14, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 7, 7, 7, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5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, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 8, 8, 8, 0, 10, 10, 10, 0, 12, 12, 12, 0, 12, 12, 12, 0, 15, 15, 15, 0, 9, 9, 9, 0, 21, 21, 21, 0, 5, 5, 5, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 17, 17, 17, 0, 21, 21, 21, 0, 15, 15, 15, 0, 20, 20, 20, 0, 18, 18, 18, 0, 17, 17, 17, 0, 16, 16, 16, 0, 16, 16, 16, 0, 15, 15, 15, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 18, 18, 18, 0, 19, 19, 19, 0, 2, 2, 2, 0, 11, 11, 11, 0, 5, 5, 5, 0, 8, 8, 8, 0, 0, 0, 0, 0, 2, 2, 2, 0, 8, 8, 8, 0, 0, 0, 0, 0, 1, 1, 1, 0, 17, 17, 17, 0, 16, 16, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 11, 11, 0, 19, 19, 19, 0, 12, 12, 12, 0, 8, 8, 8, 0, 4, 4, 4, 0, 7, 7, 7, 0, 2, 2, 2, 0, 19, 19, 19, 0, 19, 19, 19, 0, 9, 9, 9, 0, 20, 20, 20, 0, 16, 16, 16, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 2, 2, 2, 0, 1, 1, 1, 0, 11, 11, 11, 0, 17, 17, 17, 0, 14, 14, 14, 0, 12, 12, 12, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5,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 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 18, 18, 18, 0, 19, 19, 19, 0, 21, 21, 21, 0, 11, 11, 11, 0, 17, 17, 17, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 0, 2, 2, 2, 0, 16, 16, 16, 0, 7, 7, 7, 0, 17, 17, 17, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 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0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16, 0, 17, 17, 17, 0, 19, 19, 19, 0, 0, 0, 0, 0, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 20, 20, 20, 0, 20, 20, 20, 0, 18, 18, 18, 0, 16, 16, 16, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9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, 14, 14, 0, 11, 11, 11, 0, 6, 6, 6, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16, 0, 17, 17, 17, 0, 17, 17, 17, 0, 14, 14, 14, 0, 2, 2, 2, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 17, 17, 17, 0, 16, 16, 16, 0, 16, 16, 16, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9,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 2, 0, 21, 21, 21, 0, 14, 14, 14, 0, 18, 18, 18, 0, 11, 11, 11, 0, 6, 6, 6, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 19, 19, 19, 0, 20, 20, 20, 0, 2, 2, 2, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 15, 0, 4, 4, 4, 0, 9, 9, 9, 0, 1, 1, 1, 0, 19, 19, 19, 0, 17, 17, 17, 0, 16, 16, 16, 0, 16, 16, 16, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 19, 19, 19, 0, 13, 13, 13, 0, 10, 10, 10, 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0, 19, 19, 19, 0, 15, 15, 15, 0, 21, 21, 21, 0, 2, 2, 2, 0, 12, 12, 12, 0, 9, 9, 9, 0, 10, 10, 10, 0, 16, 16, 16, 0, 14, 14, 14, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 9, 9, 9, 0, 15, 15, 15, 0, 14, 14, 14, 0, 2, 2, 2, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 18, 18, 18, 0, 19, 19, 19, 0, 20, 20, 20, 0, 2, 2, 2, 0, 4, 4, 4, 0, 21, 21, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 11, 11, 0, 6, 6, 6, 0, 1, 1, 1, 0, 20, 20, 20, 0, 19, 19, 19, 0, 17, 17, 17, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 1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, 10, 10, 0, 12, 12, 12, 0, 13, 13, 13, 0, 18, 18, 18, 0, 3, 3, 3, 0, 16, 16, 16, 0, 14, 14, 14, 0, 12, 12, 12, 0, 8, 8, 8, 0, 21, 21, 21, 0, 21, 21, 21, 0, 18, 18, 18, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 3, 3, 3, 0, 4, 4, 4, 0, 13, 13, 13, 0, 13, 13, 13, 0, 17, 17, 17, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 16, 16, 16, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 16, 16, 16, 0, 16, 16, 16, 0, 18, 18, 18, 0, 18, 18, 18, 0, 19, 19, 19, 0, 20, 20, 20, 0, 1, 1, 1, 0, 2, 2, 2, 0, 5, 5, 5, 0, 18, 18, 18, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 6, 6, 6, 0, 2, 2, 2, 0, 1, 1, 1, 0, 20, 20, 20, 0, 19, 19, 19, 0, 18, 18, 18, 0, 17, 17, 17, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 20, 20, 20, 0, 15, 15, 15, 0, 14, 14, 14, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13,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 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 14, 14, 14, 0, 15, 15, 15, 0, 14, 14, 14, 0, 21, 21, 21, 0, 20, 20, 20, 0, 6, 6, 6, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 1, 1, 1, 0, 4, 4, 4, 0, 13, 13, 13, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 3, 3, 3, 0, 6, 6, 6, 0, 14, 14, 14, 0, 20, 20, 20, 0, 3, 3, 3, 0, 17, 17, 17, 0, 15, 15, 15, 0, 16, 16, 16, 0, 20, 20, 20, 0, 14, 14, 14, 0, 7, 7, 7, 0, 20, 20, 20, 0, 17, 17, 17, 0, 17, 17, 17, 0, 19, 19, 19, 0, 21, 21, 21, 0, 19, 19, 19, 0, 19, 19, 19, 0, 19, 19, 19, 0, 21, 21, 21, 0, 1, 1, 1, 0, 3, 3, 3, 0, 4, 4, 4, 0, 6, 6, 6, 0, 8, 8, 8, 0, 7, 7, 7, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 10, 0, 7, 7, 7, 0, 4, 4, 4, 0, 2, 2, 2, 0, 1, 1, 1, 0, 21, 21, 21, 0, 20, 20, 20, 0, 19, 19, 19, 0, 18, 18, 18, 0, 18, 18, 18, 0, 21, 21, 21, 0, 18, 18, 18, 0, 17, 17, 17, 0, 16, 16, 16, 0, 2, 2, 2, 0, 8, 8, 8, 0, 3, 3, 3, 0, 13, 13, 13, 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, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 13, 13, 13, 0, 15, 15, 15, 0, 17, 17, 17, 0, 14, 14, 14, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 13, 13, 13, 0, 20, 20, 20, 0, 18, 18, 18, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 13, 13, 13, 0, 16, 16, 16, 0, 21, 21, 21, 0, 16, 16, 16, 0, 16, 16, 16, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7,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 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 17, 17, 17, 0, 8, 8, 8, 0, 16, 16, 16, 0, 14, 14, 14, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 20, 20, 20, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 20, 20, 20, 0, 14, 14, 14, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 16, 16, 16, 0, 11, 11, 11, 0, 20, 20, 20, 0, 19, 19, 19, 0, 7, 7, 7, 0, 3, 3, 3, 0, 15, 15, 15, 0, 4, 4, 4, 0, 13, 13, 13, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 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 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 10, 10, 10, 0, 11, 11, 11, 0, 14, 14, 14, 0, 2, 2, 2, 0, 4, 4, 4, 0, 10, 10, 10, 0, 17, 17, 17, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 16, 16, 16, 0, 13, 13, 13, 0, 14, 14, 14, 0, 19, 19, 19, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 14, 14, 14, 0, 3, 3, 3, 0, 15, 15, 15, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 15, 15, 15, 0, 16, 16, 16, 0, 18, 18, 18, 0, 10, 10, 10, 0, 19, 19, 19, 0, 7, 7, 7, 0, 2, 2, 2, 0, 13, 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5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 17, 17, 17, 0, 17, 17, 17, 0, 13, 13, 13, 0, 15, 15, 15, 0, 17, 17, 17, 0, 4, 4, 4, 0, 17, 17, 17, 0, 15, 15, 15, 0, 18, 18, 18, 0, 6, 6, 6, 0, 2, 2, 2, 0, 2, 2, 2, 0, 17, 17, 17, 0, 18, 18, 18, 0, 15, 15, 15, 0, 14, 14, 14, 0, 21, 21, 21, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 17, 17, 17, 0, 7, 7, 7, 0, 15, 15, 15, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 17, 17, 17, 0, 4, 4, 4, 0, 10, 10, 10, 0, 19, 19, 19, 0, 15, 15, 15, 0, 16, 16, 16, 0, 21, 21, 21, 0, 14, 14, 14, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 19, 19, 19, 0, 3, 3, 3, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16, 0, 17, 17, 17, 0, 20, 20, 20, 0, 3, 3, 3, 0, 5, 5, 5, 0, 11, 11, 11, 0, 18, 18, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 14, 14, 14, 0, 19, 19, 19, 0, 20, 20, 20, 0, 5, 5, 5, 0, 16, 16, 16, 0, 15, 15, 15, 0, 17, 17, 17, 0, 6, 6, 6, 0, 14, 14, 14, 0, 2, 2, 2, 0, 17, 17, 17, 0, 20, 20, 20, 0, 16, 16, 16, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 16, 16, 16, 0, 18, 18, 18, 0, 13, 13, 13, 0, 5, 5, 5, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 17, 17, 17, 0, 18, 18, 18, 0, 1, 1, 1, 0, 12, 12, 12, 0, 2, 2, 2, 0, 18, 18, 18, 0, 17, 17, 17, 0, 3, 3, 3, 0, 1, 1, 1, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 20, 20, 20, 0, 19, 19, 19, 0, 5, 5, 5, 0, 16, 16, 16, 0, 19, 19, 19, 0, 4, 4, 4, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 16, 16, 16, 0, 17, 17, 17, 0, 18, 18, 18, 0, 19, 19, 19, 0, 21, 21, 21, 0, 7, 7, 7, 0, 0, 0, 0, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 15, 15, 15, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 16, 16, 16, 0, 18, 18, 18, 0, 17, 17, 17, 0, 7, 7, 7, 0, 1, 1, 1, 0, 5, 5, 5, 0, 17, 17, 17, 0, 15, 15, 15, 0, 15, 15, 15, 0, 20, 20, 20, 0, 19, 19, 19, 0, 5, 5, 5, 0, 6, 6, 6, 0, 20, 20, 20, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 19, 19, 19, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 18, 18, 18, 0, 21, 21, 21, 0, 7, 7, 7, 0, 14, 14, 14, 0, 21, 21, 21, 0, 4, 4, 4, 0, 12, 12, 12, 0, 17, 17, 17, 0, 14, 14, 14, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 15, 15, 15, 0, 21, 21, 21, 0, 1, 1, 1, 0, 4, 4, 4, 0, 17, 17, 17, 0, 15, 15, 15, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 15, 15, 15, 0, 4, 4, 4, 0, 0, 0, 0, 0, 19, 19, 19, 0, 19, 19, 19, 0, 19, 19, 19, 0, 0, 0, 0, 0, 5, 5, 5, 0, 21, 21, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 11, 11, 11, 0, 14, 14, 14, 0, 8, 8, 8, 0, 4, 4, 4, 0, 19, 19, 19, 0, 6, 6, 6, 0, 14, 14, 14, 0, 12, 12, 12, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 1, 1, 1, 0, 7, 7, 7, 0, 5, 5, 5, 0, 18, 18, 18, 0, 16, 16, 16, 0, 14, 14, 14, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 14, 14, 14, 0, 2, 2, 2, 0, 13, 13, 13, 0, 2, 2, 2, 0, 21, 21, 21, 0, 21, 21, 21, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16, 0, 18, 18, 18, 0, 1, 1, 1, 0, 2, 2, 2, 0, 10, 10, 10, 0, 20, 20, 20, 0, 1, 1, 1, 0, 15, 15, 15, 0, 3, 3, 3, 0, 10, 10, 10, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 7, 7, 7, 0, 20, 20, 20, 0, 18, 18, 18, 0, 16, 16, 16, 0, 14, 14, 14, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 13, 13, 13, 0, 16, 16, 16, 0, 21, 21, 21, 0, 20, 20, 20, 0, 4, 4, 4, 0, 3, 3, 3, 0, 2, 2, 2, 0, 4, 4, 4, 0, 16, 16, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 16, 16, 16, 0, 17, 17, 17, 0, 19, 19, 19, 0, 21, 21, 21, 0, 2, 2, 2, 0, 6, 6, 6, 0, 14, 14, 14, 0, 18, 18, 18, 0, 8, 8, 8, 0, 2, 2, 2, 0, 19, 19, 19, 0, 16, 16, 16, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 17, 17, 17, 0, 8, 8, 8, 0, 1, 1, 1, 0, 10, 10, 10, 0, 18, 18, 18, 0, 15, 15, 15, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 20, 20, 20, 0, 15, 15, 15, 0, 5, 5, 5, 0, 12, 12, 12, 0, 9, 9, 9, 0, 9, 9, 9, 0, 0, 0, 0, 0, 1, 1, 1, 0, 13, 13, 13, 0, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 20, 20, 20, 0, 19, 19, 19, 0, 17, 17, 17, 0, 20, 20, 20, 0, 21, 21, 21, 0, 2, 2, 2, 0, 14, 14, 14, 0, 5, 5, 5, 0, 11, 11, 11, 0, 1, 1, 1, 0, 0, 0, 0, 0, 3, 3, 3, 0, 1, 1, 1, 0, 5, 5, 5, 0, 16, 16, 16, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16, 0, 20, 20, 20, 0, 15, 15, 15, 0, 2, 2, 2, 0, 10, 10, 10, 0, 20, 20, 20, 0, 15, 15, 15, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 16, 16, 16, 0, 14, 14, 14, 0, 2, 2, 2, 0, 11, 11, 11, 0, 15, 15, 15, 0, 15, 15, 15, 0, 14, 14, 14, 0, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 21, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 9, 9, 9, 0, 19, 19, 19, 0, 21, 21, 21, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 16, 16, 16, 0, 5, 5, 5, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 19, 19, 19, 0, 3, 3, 3, 0, 21, 21, 21, 0, 2, 2, 2, 0, 6, 6, 6, 0, 0, 0, 0, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 7, 7, 7, 0, 8, 8, 8, 0, 21, 21, 21, 0, 17, 17, 17, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 17, 17, 17, 0, 19, 19, 19, 0, 21, 21, 21, 0, 3, 3, 3, 0, 6, 6, 6, 0, 18, 18, 18, 0, 16, 16, 16, 0, 8, 8, 8, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 14, 14, 14, 0, 21, 21, 21, 0, 15, 15, 15, 0, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 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3, 3, 0, 2, 2, 2, 0, 13, 13, 13, 0, 12, 12, 12, 0, 4, 4, 4, 0, 19, 19, 19, 0, 16, 16, 16, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 16, 16, 16, 0, 9, 9, 9, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 18, 18, 18, 0, 9, 9, 9, 0, 6, 6, 6, 0, 19, 19, 19, 0, 19, 19, 19, 0, 12, 12, 12, 0, 20, 20, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 0, 16, 16, 16, 0, 2, 2, 2, 0, 15, 15, 15, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 17, 17, 17, 0, 17, 17, 17, 0, 19, 19, 19, 0, 19, 19, 19, 0, 2, 2, 2, 0, 21, 21, 21, 0, 17, 17, 17, 0, 1, 1, 1, 0, 17, 17, 17, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 7, 7, 7, 0, 5, 5, 5, 0, 6, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 0, 7, 7, 7, 0, 10, 10, 10, 0, 12, 12, 12, 0, 6, 6, 6, 0, 13, 13, 13, 0, 12, 12, 12, 0, 7, 7, 7, 0, 19, 19, 19, 0, 17, 17, 17, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 16, 16, 16, 0, 21, 21, 21, 0, 19, 19, 19, 0, 18, 18, 18, 0, 18, 18, 18, 0, 17, 17, 17, 0, 17, 17, 17, 0, 18, 18, 18, 0, 20, 20, 20, 0, 2, 2, 2, 0, 6, 6, 6, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 14, 14, 0, 21, 21, 21, 0, 6, 6, 6, 0, 19, 19, 19, 0, 18, 18, 18, 0, 6, 6, 6, 0, 17, 17, 17, 0, 17, 17, 17, 0, 17, 17, 17, 0, 17, 17, 17, 0, 19, 19, 19, 0, 2, 2, 2, 0, 9, 9, 9, 0, 3, 3, 3, 0, 2, 2, 2, 0, 12, 12, 12, 0, 19, 19, 19, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 7, 7, 7, 0, 13, 13, 13, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 15, 15, 15, 0, 9, 9, 9, 0, 1, 1, 1, 0, 10, 10, 10, 0, 9, 9, 9, 0, 3, 3, 3, 0,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 0, 0, 0, 0, 20, 20, 20, 0, 11, 11, 11, 0, 14, 14, 14, 0, 6, 6, 6, 0, 1, 1, 1, 0, 1, 1, 1, 0, 17, 17, 17, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 20, 20, 20, 0, 2, 2, 2, 0, 13, 13, 13, 0, 7, 7, 7, 0, 11, 11, 11, 0, 1, 1, 1, 0, 19, 19, 19, 0, 19, 19, 19, 0, 21, 21, 21, 0, 21, 21, 21, 0, 6, 6, 6, 0, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 16, 16, 0, 21, 21, 21, 0, 17, 17, 17, 0, 21, 21, 21, 0, 11, 11, 11, 0, 2, 2, 2, 0, 19, 19, 19, 0, 18, 18, 18, 0, 18, 18, 18, 0, 20, 20, 20, 0, 21, 21, 21, 0, 1, 1, 1, 0, 6, 6, 6, 0, 11, 11, 11, 0, 19, 19, 19, 0, 21, 21, 21, 0, 10, 10, 10, 0, 16, 16, 16, 0, 14, 14, 14, 0, 13, 13, 13, 0, 14, 14, 14, 0, 19, 19, 19, 0, 8, 8, 8, 0, 20, 20, 20, 0, 17, 17, 17, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 17, 17, 17, 0, 19, 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1, 1, 0, 5, 5, 5, 0, 12, 12, 12, 0, 18, 18, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 0, 10, 10, 10, 0, 21, 21, 21, 0, 18, 18, 18, 0, 17, 17, 17, 0, 17, 17, 17, 0, 17, 17, 17, 0, 19, 19, 19, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 0, 21, 21, 21, 0, 5, 5, 5, 0, 1, 1, 1, 0, 3, 3, 3, 0, 12, 12, 12, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 0, 2, 2, 2, 0, 5, 5, 5, 0, 0, 0, 0, 0, 11, 11, 11, 0, 20, 20, 20, 0, 1, 1, 1, 0, 5, 5, 5, 0, 4, 4, 4, 0, 17, 17, 17, 0, 11, 11, 11, 0, 19, 19, 19, 0, 19, 19, 19, 0, 3, 3, 3, 0, 8, 8, 8, 0, 19, 19, 19, 0, 15, 15, 15, 0, 15, 15, 15, 0, 18, 18, 18, 0, 13, 13, 13, 0, 3, 3, 3, 0, 1, 1, 1, 0, 15, 15, 15, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14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, 0, 1, 1, 1, 0, 1, 1, 1, 0, 21, 21, 21, 0, 6, 6, 6, 0, 14, 14, 14, 0, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 0, 20, 20, 20, 0, 11, 11, 11, 0, 5, 5, 5, 0, 19, 19, 19, 0, 19, 19, 19, 0, 21, 21, 21, 0, 19, 19, 19, 0, 21, 21, 21, 0, 9, 9, 9, 0, 0, 0, 0, 0, 12, 12, 12, 0, 0, 0, 0, 0, 12, 12, 12, 0, 4, 4, 4, 0, 12, 12, 12, 0, 1, 1, 1, 0, 6, 6, 6, 0, 8, 8, 8, 0, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 11, 11, 0, 12, 12, 12, 0, 6, 6, 6, 0, 0, 0, 0, 0, 3, 3, 3, 0, 14, 14, 14, 0, 3, 3, 3, 0, 3, 3, 3, 0, 8, 8, 8, 0, 2, 2, 2, 0, 0, 0, 0, 0, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 0, 4, 4, 4, 0, 17, 17, 17, 0, 17, 17, 17, 0, 16, 16, 16, 0, 1, 1, 1, 0, 4, 4, 4, 0, 21, 21, 21, 0, 18, 18, 18, 0, 15, 15, 15, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0,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 14, 14, 14, 0, 15, 15, 15, 0, 18, 18, 18, 0, 16, 16, 16, 0, 10, 10, 10, 0, 6, 6, 6, 0, 13, 13, 13, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 3, 3, 3, 0, 21, 21, 21, 0, 1, 1, 1, 0, 5, 5, 5, 0, 21, 21, 21, 0, 2, 2, 2, 0, 4, 4, 4, 0, 14, 14, 14, 0, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 14, 14, 0, 11, 11, 11, 0, 18, 18, 18, 0, 18, 18, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 0, 3, 3, 3, 0, 5, 5, 5, 0, 0, 0, 0, 0, 9, 9, 9, 0, 17, 17, 17, 0, 0, 0, 0, 0, 13, 13, 13, 0, 7, 7, 7, 0, 9, 9, 9, 0, 14, 14, 14, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 16, 16, 16, 0, 1, 1, 1, 0, 20, 20, 20, 0, 17, 17, 17, 0, 18, 18, 18, 0, 1, 1, 1, 0, 11, 11, 11, 0, 11, 11, 11, 0, 20, 20, 20, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 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12, 12, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 2, 2, 2, 0, 7, 7, 7, 0, 20, 20, 20, 0, 12, 12, 12, 0, 20, 20, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 0, 2, 2, 2, 0, 2, 2, 2, 0, 6, 6, 6, 0, 20, 20, 20, 0, 17, 17, 17, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 13, 13, 13, 0, 21, 21, 21, 0, 19, 19, 19, 0, 19, 19, 19, 0, 21, 21, 21, 0, 2, 2, 2, 0, 4, 4, 4, 0, 13, 13, 13, 0, 17, 17, 17, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11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, 0, 6, 6, 6, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 13, 13, 13, 0, 15, 15, 15, 0, 13, 13, 13, 0, 16, 16, 16, 0, 14, 14, 14, 0, 13, 13, 13, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 12, 12, 12, 0, 20, 20, 20, 0, 14, 14, 14, 0, 11, 11, 11, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 18, 18, 18, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 2, 2, 2, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0,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 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 19, 19, 19, 0, 19, 19, 19, 0, 0, 0, 0, 0, 1, 1, 1, 0, 19, 19, 19, 0, 13, 13, 13, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 15, 15, 15, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 10, 10, 10, 0, 15, 15, 15, 0, 14, 14, 14, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 21, 21, 21, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 2, 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8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 13, 13, 13, 0, 20, 20, 20, 0, 19, 19, 19, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 0, 17, 17, 17, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 15, 15, 15, 0, 15, 15, 15, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 14, 14, 14, 0, 14, 14, 14, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 15, 15, 15, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 17, 17, 17, 0, 2, 2, 2, 0, 19, 19, 19, 0, 2, 2, 2, 0, 16, 16, 16, 0, 15, 15, 15, 0, 16, 16, 16, 0, 20, 20, 20, 0, 17, 17, 17, 0, 15, 15, 15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, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 12, 12, 12, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 8, 8, 8, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 16, 16, 16, 0, 19, 19, 19, 0, 1, 1, 1, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 18, 18, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 14, 14, 14, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 17, 17, 17, 0, 8, 8, 8, 0, 2, 2, 2, 0, 16, 16, 16, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 13, 13, 13, 0, 15, 15, 15, 0, 16, 16, 16, 0, 13, 13, 13, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 13, 13, 13, 0, 14, 14, 14, 0, 18, 18, 18, 0, 14, 14, 14, 0, 13, 13, 13, 0, 15, 15, 15, 0, 17, 17, 17, 0, 15, 15, 15, 0, 17, 17, 17, 0, 5, 5, 5, 0, 8, 8, 8, 0, 10, 10, 10, 0, 19, 19, 19, 0, 17, 17, 17, 0, 20, 20, 20, 0, 19, 19, 19, 0,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 12, 12, 12, 0, 13, 13, 13, 0, 12, 12, 12, 0, 1, 1, 1, 0, 16, 16, 16, 0, 11, 11, 11, 0, 1, 1, 1, 0, 20, 20, 20, 0, 6, 6, 6, 0, 15, 15, 15, 0, 2, 2, 2, 0, 16, 16, 16, 0, 3, 3, 3, 0, 20, 20, 20, 0, 3, 3, 3, 0, 15, 15, 15, 0, 2, 2, 2, 0, 6, 6, 6, 0, 17, 17, 17, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 8, 8, 8, 0, 6, 6, 6, 0, 7, 7, 7, 0, 20, 20, 20, 0, 13, 13, 13, 0, 10, 10, 10, 0, 13, 13, 13, 0, 7, 7, 7, 0, 4, 4, 4, 0, 0, 0, 0, 0, 19, 19, 19, 0, 7, 7, 7, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 17, 17, 17, 0, 18, 18, 18, 0, 19, 19, 19, 0, 1, 1, 1, 0, 13, 13, 13, 0, 8, 8, 8, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 21, 21, 0, 20, 20, 20, 0, 19, 19, 19, 0, 21, 21, 21, 0, 11, 11, 11, 0, 20, 20, 20, 0, 14, 14, 14, 0, 16, 16, 16, 0, 9, 9, 9, 0, 16, 16, 16, 0, 13, 13, 13, 0, 4, 4, 4, 0, 2, 2, 2, 0, 21, 21, 21, 0, 0, 0, 0, 0, 1, 1, 1, 0, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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9, 9, 0, 9, 9, 9, 0, 7, 7, 7, 0, 7, 7, 7, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 12, 12, 12, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 8, 8, 8, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 16, 16, 16, 0, 19, 19, 19, 0, 1, 1, 1, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 18, 18, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 14, 14, 14, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 17, 17, 17, 0, 8, 8, 8, 0, 2, 2, 2, 0, 16, 16, 16, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 13, 13, 13, 0, 15, 15, 15, 0, 16, 16, 16, 0, 13, 13, 13, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 13, 13, 13, 0, 14, 14, 14, 0, 18, 18, 18, 0, 14, 14, 14, 0, 13, 13, 13, 0, 15, 15, 15, 0, 17, 17, 17, 0, 15, 15, 15, 0, 17, 17, 17, 0, 5, 5, 5, 0, 8, 8, 8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, 0, 8, 8, 8, 0, 8, 8, 8, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 13, 13, 13, 0, 20, 20, 20, 0, 19, 19, 19, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 0, 17, 17, 17, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 15, 15, 15, 0, 15, 15, 15, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 14, 14, 14, 0, 14, 14, 14, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 15, 15, 15, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 13, 13, 13, 0,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 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 19, 19, 19, 0, 19, 19, 19, 0, 0, 0, 0, 0, 1, 1, 1, 0, 19, 19, 19, 0, 13, 13, 13, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 15, 15, 15, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 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 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 18, 18, 18, 0, 16, 16, 16, 0, 10, 10, 10, 0, 6, 6, 6, 0, 13, 13, 13, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 3, 3, 3, 0, 21, 21, 21, 0, 1, 1, 1, 0, 5, 5, 5, 0, 21, 21, 21, 0, 2, 2, 2, 0, 4, 4, 4, 0, 14, 14, 14, 0, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 14, 14, 0, 11, 11, 11, 0, 18, 18, 18, 0, 18, 18, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 0, 3, 3, 3, 0, 5, 5, 5, 0, 0, 0, 0, 0, 9, 9, 9, 0, 17, 17, 17, 0, 0, 0, 0, 0, 13, 13, 13, 0, 7, 7, 7, 0, 9, 9, 9, 0, 14, 14, 14, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 16, 16, 16, 0, 1, 1, 1, 0, 20, 20, 20, 0, 17, 17, 17, 0, 18, 18, 18, 0, 1, 1, 1, 0, 11, 11, 11, 0, 11, 11, 11, 0, 20, 20, 20, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 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 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 15, 15, 15, 0, 14, 14, 14, 0, 3, 3, 3, 0, 0, 0, 0, 0, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 0, 0, 0, 0, 20, 20, 20, 0, 11, 11, 11, 0, 14, 14, 14, 0, 6, 6, 6, 0, 1, 1, 1, 0, 1, 1, 1, 0, 17, 17, 17, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 20, 20, 20, 0, 2, 2, 2, 0, 13, 13, 13, 0, 7, 7, 7, 0, 11, 11, 11, 0, 1, 1, 1, 0, 19, 19, 19, 0, 19, 19, 19, 0, 21, 21, 21, 0, 21, 21, 21, 0, 6, 6, 6, 0, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 16, 16, 0, 21, 21, 21, 0, 17, 17, 17, 0, 21, 21, 21, 0, 11, 11, 11, 0, 2, 2, 2, 0, 19, 19, 19, 0, 18, 18, 18, 0, 18, 18, 18, 0, 20, 20, 20, 0, 21, 21, 21, 0, 1, 1, 1, 0, 6, 6, 6, 0, 11, 11, 11, 0, 19, 19, 19, 0, 21, 21, 21, 0, 10, 10, 10, 0, 16, 16, 16, 0, 14, 14, 14, 0, 13, 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6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 18, 18, 18, 0, 19, 19, 19, 0, 5, 5, 5, 0, 13, 13, 13, 0, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 7, 7, 0, 10, 10, 10, 0, 12, 12, 12, 0, 6, 6, 6, 0, 13, 13, 13, 0, 12, 12, 12, 0, 7, 7, 7, 0, 19, 19, 19, 0, 17, 17, 17, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 16, 16, 16, 0, 21, 21, 21, 0, 19, 19, 19, 0, 18, 18, 18, 0, 18, 18, 18, 0, 17, 17, 17, 0, 17, 17, 17, 0, 18, 18, 18, 0, 20, 20, 20, 0, 2, 2, 2, 0, 6, 6, 6, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 14, 14, 0, 21, 21, 21, 0, 6, 6, 6, 0, 19, 19, 19, 0, 18, 18, 18, 0, 6, 6, 6, 0, 17, 17, 17, 0, 17, 17, 17, 0, 17, 17, 17, 0, 17, 17, 17, 0, 19, 19, 19, 0, 2, 2, 2, 0, 9, 9, 9, 0, 3, 3, 3, 0, 2, 2, 2, 0, 12, 12, 12, 0, 19, 19, 19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, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16, 0, 17, 17, 17, 0, 19, 19, 19, 0, 21, 21, 21, 0, 7, 7, 7, 0, 19, 19, 19, 0, 7, 7, 7, 0, 20, 20, 20, 0, 19, 19, 19, 0, 4, 4, 4, 0, 3, 3, 3, 0, 2, 2, 2, 0, 13, 13, 13, 0, 12, 12, 12, 0, 4, 4, 4, 0, 19, 19, 19, 0, 16, 16, 16, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 16, 16, 16, 0, 9, 9, 9, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 18, 18, 18, 0, 9, 9, 9, 0, 6, 6, 6, 0, 19, 19, 19, 0, 19, 19, 19, 0, 12, 12, 12, 0, 20, 20, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 0, 16, 16, 16, 0, 2, 2, 2, 0, 15, 15, 15, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 17, 17, 17, 0, 17, 17, 17, 0, 19, 19, 19, 0, 19, 19, 19, 0, 2, 2, 2, 0, 21, 21, 21, 0,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 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 16, 16, 16, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 17, 17, 17, 0, 20, 20, 20, 0, 1, 1, 1, 0, 7, 7, 7, 0, 6, 6, 6, 0, 14, 14, 14, 0, 8, 8, 8, 0, 16, 16, 16, 0, 11, 11, 11, 0, 20, 20, 20, 0, 7, 7, 7, 0, 15, 15, 15, 0, 9, 9, 9, 0, 19, 19, 19, 0, 21, 21, 21, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 16, 16, 16, 0, 5, 5, 5, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 19, 19, 19, 0, 3, 3, 3, 0, 21, 21, 21, 0, 2, 2, 2, 0, 6, 6, 6, 0, 0, 0, 0, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 7, 7, 7, 0, 8, 8, 8, 0, 21, 21, 21, 0, 17, 17, 17, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 17, 17, 17, 0, 19, 19, 19, 0, 21, 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5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 14, 14, 14, 0, 1, 1, 1, 0, 4, 4, 4, 0, 20, 20, 20, 0, 19, 19, 19, 0, 20, 20, 20, 0, 5, 5, 5, 0, 5, 5, 5, 0, 8, 8, 8, 0, 2, 2, 2, 0, 8, 8, 8, 0, 2, 2, 2, 0, 6, 6, 6, 0, 19, 19, 19, 0, 17, 17, 17, 0, 17, 17, 17, 0, 21, 21, 21, 0, 10, 10, 10, 0, 15, 15, 15, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 20, 20, 20, 0, 19, 19, 19, 0, 17, 17, 17, 0, 20, 20, 20, 0, 21, 21, 21, 0, 2, 2, 2, 0, 14, 14, 14, 0, 5, 5, 5, 0, 11, 11, 11, 0, 1, 1, 1, 0, 0, 0, 0, 0, 3, 3, 3, 0, 1, 1, 1, 0, 5, 5, 5, 0, 16, 16, 16, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16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, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 14, 14, 14, 0, 16, 16, 16, 0, 18, 18, 18, 0, 6, 6, 6, 0, 1, 1, 1, 0, 1, 1, 1, 0, 12, 12, 12, 0, 8, 8, 8, 0, 8, 8, 8, 0, 18, 18, 18, 0, 2, 2, 2, 0, 20, 20, 20, 0, 20, 20, 20, 0, 18, 18, 18, 0, 15, 15, 15, 0, 17, 17, 17, 0, 20, 20, 20, 0, 19, 19, 19, 0, 15, 15, 15, 0, 14, 14, 14, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 16, 16, 16, 0, 17, 17, 17, 0, 19, 19, 19, 0, 21, 21, 21, 0, 2, 2, 2, 0, 6, 6, 6, 0, 14, 14, 14, 0, 18, 18, 18, 0, 8, 8, 8, 0, 2, 2, 2, 0, 19, 19, 19, 0, 16, 16, 16, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0,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 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 18, 18, 18, 0, 6, 6, 6, 0, 2, 2, 2, 0, 14, 14, 14, 0, 6, 6, 6, 0, 2, 2, 2, 0, 2, 2, 2, 0, 4, 4, 4, 0, 8, 8, 8, 0, 19, 19, 19, 0, 17, 17, 17, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 2, 2, 2, 0, 18, 18, 18, 0, 15, 15, 15, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16, 0, 18, 18, 18, 0, 1, 1, 1, 0, 2, 2, 2, 0, 10, 10, 10, 0, 20, 20, 20, 0, 1, 1, 1, 0, 15, 15, 15, 0, 3, 3, 3, 0, 10, 10, 10, 0, 15, 15, 15, 0, 13, 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5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 16, 16, 16, 0, 8, 8, 8, 0, 20, 20, 20, 0, 0, 0, 0, 0, 2, 2, 2, 0, 1, 1, 1, 0, 17, 17, 17, 0, 19, 19, 19, 0, 9, 9, 9, 0, 13, 13, 13, 0, 5, 5, 5, 0, 17, 17, 17, 0, 15, 15, 15, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 10, 10, 10, 0, 9, 9, 9, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 11, 11, 11, 0, 14, 14, 14, 0, 8, 8, 8, 0, 4, 4, 4, 0, 19, 19, 19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, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 15, 15, 15, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 16, 16, 16, 0, 18, 18, 18, 0, 17, 17, 17, 0, 7, 7, 7, 0, 1, 1, 1, 0, 5, 5, 5, 0, 17, 17, 17, 0, 15, 15, 15, 0, 15, 15, 15, 0, 20, 20, 20, 0, 19, 19, 19, 0, 5, 5, 5, 0, 6, 6, 6, 0, 20, 20, 20, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 19, 19, 19, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 18, 18, 18, 0, 21, 21, 21, 0, 7, 7, 7, 0, 14, 14, 14, 0, 21, 21, 21, 0,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 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 14, 14, 14, 0, 19, 19, 19, 0, 20, 20, 20, 0, 5, 5, 5, 0, 16, 16, 16, 0, 15, 15, 15, 0, 17, 17, 17, 0, 6, 6, 6, 0, 14, 14, 14, 0, 2, 2, 2, 0, 17, 17, 17, 0, 20, 20, 20, 0, 16, 16, 16, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 16, 16, 16, 0, 18, 18, 18, 0, 13, 13, 13, 0, 5, 5, 5, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 17, 17, 17, 0, 18, 18, 18, 0, 1, 1, 1, 0, 12, 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5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 17, 17, 17, 0, 17, 17, 17, 0, 13, 13, 13, 0, 15, 15, 15, 0, 17, 17, 17, 0, 4, 4, 4, 0, 17, 17, 17, 0, 15, 15, 15, 0, 18, 18, 18, 0, 6, 6, 6, 0, 2, 2, 2, 0, 2, 2, 2, 0, 17, 17, 17, 0, 18, 18, 18, 0, 15, 15, 15, 0, 14, 14, 14, 0, 21, 21, 21, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 17, 17, 17, 0, 7, 7, 7, 0, 15, 15, 15, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 17, 17, 17, 0, 4, 4, 4, 0, 10, 10, 10, 0, 19, 19, 19, 0, 15, 15, 15, 0, 16, 16, 16, 0, 21, 21, 21, 0, 14, 14, 14, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 19, 19, 19, 0, 3, 3, 3, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16, 0, 17, 17, 17, 0, 20, 20, 20, 0, 3, 3, 3, 0, 5, 5, 5, 0, 11, 11, 11, 0, 18, 18, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 0, 13, 13, 13, 0, 0, 0, 0, 0, 11, 11, 11, 0, 9, 9, 9, 0, 21, 21, 21, 0, 19, 19, 19, 0, 10, 10, 10, 0, 16, 16, 16, 0, 18, 18, 18, 0, 12, 12, 12, 0, 17, 17, 17, 0, 16, 16, 16, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 16, 16, 16, 0, 19, 19, 19, 0, 17, 17, 17, 0, 19, 19, 19, 0, 3, 3, 3, 0, 0, 0, 0, 0, 13, 13, 13, 0, 7, 7, 7, 0, 1, 1, 1, 0, 19, 19, 19, 0, 6, 6, 6, 0, 17, 17, 17, 0, 17, 17, 17, 0, 18, 18, 18, 0, 16, 16, 16, 0, 20, 20, 20, 0, 3, 3, 3, 0, 18, 18, 18, 0, 17, 17, 17, 0, 13, 13, 13, 0, 21, 21, 21, 0, 20, 20, 20, 0, 4, 4, 4, 0, 2, 2, 2, 0, 8, 8, 8, 0, 17, 17, 17, 0, 15, 15, 15, 0, 13, 13, 13, 0, 12, 12, 12, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 7, 7, 7, 0, 7, 7, 7, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 0, 2, 2, 2, 0, 20, 20, 20, 0, 19, 19, 19, 0, 17, 17, 17, 0, 17, 17, 17, 0, 21, 21, 21, 0, 6, 6, 6, 0, 15, 15, 15, 0, 7, 7, 7, 0, 17, 17, 17, 0, 15, 15, 15, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 19, 19, 19, 0, 17, 17, 17, 0, 6, 6, 6, 0, 3, 3, 3, 0, 2, 2, 2, 0, 19, 19, 19, 0, 17, 17, 17, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 18, 18, 18, 0, 12, 12, 12, 0, 20, 20, 20, 0, 17, 17, 17, 0, 20, 20, 20, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 17, 17, 17, 0, 19, 19, 19, 0, 1, 1, 1, 0, 16, 16, 16, 0, 5, 5, 5, 0, 20, 20, 20, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 7, 7, 7, 0, 7, 7, 7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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 20, 20, 20, 0, 18, 18, 18, 0, 16, 16, 16, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 9, 9, 9, 0, 13, 13, 13, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 18, 18, 18, 0, 18, 18, 18, 0, 7, 7, 7, 0, 4, 4, 4, 0, 4, 4, 4, 0, 17, 17, 17, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 15, 15, 15, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16, 0, 4, 4, 4, 0, 2, 2, 2, 0, 17, 17, 17, 0, 19, 19, 19, 0, 5, 5, 5, 0, 21, 21, 21, 0, 19, 19, 19, 0, 14, 14, 14, 0, 14, 14, 14, 0, 16, 16, 16, 0,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 7, 7, 7, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 15, 15, 15, 0, 16, 16, 16, 0, 19, 19, 19, 0, 1, 1, 1, 0, 20, 20, 20, 0, 8, 8, 8, 0, 3, 3, 3, 0, 2, 2, 2, 0, 14, 14, 14, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 16, 16, 16, 0, 21, 21, 21, 0, 5, 5, 5, 0, 15, 15, 15, 0, 14, 14, 14, 0, 13, 13, 13, 0, 16, 16, 16, 0, 20, 20, 20, 0, 12, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 0, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 7, 7, 7, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 19, 19, 19, 0, 2, 2, 2, 0, 1, 1, 1, 0, 9, 9, 9, 0, 14, 14, 14, 0, 3, 3, 3, 0, 18, 18, 18, 0, 18, 18, 18, 0, 16, 16, 16, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 15, 15, 15, 0, 17, 17, 17, 0, 20, 20, 20, 0, 20, 20, 20, 0, 14, 14, 14, 0, 12, 12, 12, 0, 12, 12, 12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, 0, 6, 6, 6, 0, 12, 12, 12, 0, 21, 21, 21, 0, 6, 6, 6, 0, 21, 21, 21, 0, 19, 19, 19, 0, 19, 19, 19, 0, 19, 19, 19, 0, 1, 1, 1, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 21, 21, 21, 0, 18, 18, 18, 0, 20, 20, 20, 0, 16, 16, 16, 0, 17, 17, 17, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 16, 16, 16, 0, 17, 17, 17, 0, 19, 19, 19, 0, 1, 1, 1, 0, 7, 7, 7, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0, 0, 8, 8, 8, 0, 19, 19, 19, 0, 3, 3, 3, 0, 19, 19, 19, 0, 18, 18, 18, 0, 20, 20, 20, 0, 1, 1, 1, 0, 3, 3, 3, 0, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 15, 0, 0, 0, 0, 0, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 17, 17, 17, 0, 20, 20, 20, 0, 3, 3, 3, 0, 21, 21, 21, 0, 20, 20, 20, 0, 6, 6, 6, 0, 2, 2, 2, 0, 20, 20, 20, 0, 18, 18, 18, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 10, 10, 10, 0, 14, 14, 14, 0, 15, 15, 15, 0, 21, 21, 21, 0, 17, 17, 17, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 17, 17, 17, 0, 2, 2, 2, 0, 20, 20, 20, 0, 21, 21, 21, 0, 2, 2, 2, 0, 7, 7, 7, 0, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 10, 0, 10, 10, 10, 0, 15, 15, 15, 0, 0, 0, 0, 0, 9, 9, 9, 0, 17, 17, 17, 0, 17, 17, 17, 0, 18, 18, 18, 0, 20, 20, 20, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 7, 7, 7, 0, 0, 0, 0, 0, 21, 21, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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12, 12, 0, 14, 14, 14, 0, 15, 15, 15, 0, 18, 18, 18, 0, 20, 20, 20, 0, 7, 7, 7, 0, 14, 14, 14, 0, 12, 12, 12, 0, 21, 21, 21, 0, 4, 4, 4, 0, 21, 21, 21, 0, 18, 18, 18, 0, 16, 16, 16, 0, 16, 16, 16, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 15, 15, 15, 0, 13, 13, 13, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 13, 13, 13, 0, 2, 2, 2, 0, 9, 9, 9, 0, 16, 16, 16, 0, 1, 1, 1, 0, 5, 5, 5, 0, 7, 7, 7, 0, 18, 18, 18, 0, 0, 0, 0, 0, 8, 8, 8, 0, 0, 0, 0, 0, 4, 4, 4, 0, 16, 16, 16, 0, 2, 2, 2, 0, 17, 17, 17, 0, 15, 15, 15, 0, 15, 15, 15, 0, 17, 17, 17, 0, 20, 20, 20, 0, 3, 3, 3, 0, 8, 8, 8, 0, 21, 21, 21, 0, 0, 0, 0, 0, 18, 18, 18, 0, 3, 3, 3, 0, 4, 4, 4, 0, 2, 2, 2, 0, 5, 5, 5, 0, 4, 4, 4, 0, 16, 16, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 0, 10, 10, 10, 0, 12, 12, 12, 0, 13, 13, 13, 0, 15, 15, 15, 0, 17, 17, 17, 0, 7, 7, 7, 0, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 2, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 4, 4, 4, 0, 21, 21, 21, 0, 16, 16, 16, 0, 15, 15, 15, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 20, 20, 20, 0, 2, 2, 2, 0, 1, 1, 1, 0, 2, 2, 2, 0, 10, 10, 10, 0, 16, 16, 16, 0, 1, 1, 1, 0, 21, 21, 21, 0, 10, 10, 10, 0, 5, 5, 5, 0, 1, 1, 1, 0, 19, 19, 19, 0, 17, 17, 17, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 7, 7, 7, 0, 6, 6, 6, 0, 19, 19, 19, 0, 20, 20, 20, 0, 0, 0, 0, 0, 4, 4, 4, 0, 7, 7, 7, 0, 20, 20, 20, 0, 20, 20, 20, 0, 5, 5, 5, 0, 14, 14, 14, 0, 11, 11, 11, 0, 16, 16, 16, 0, 0, 0, 0, 0, 10, 10, 10, 0, 16, 16, 16, 0, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 0, 7, 7, 7, 0, 3, 3, 3, 0, 20, 20, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 14, 14, 14, 0, 15, 15, 15, 0, 5, 5, 5, 0, 2, 2, 2, 0, 3, 3, 3, 0, 19, 19, 19, 0, 18, 18, 18, 0, 6, 6, 6, 0, 19, 19, 19, 0, 19, 19, 19, 0, 7, 7, 7, 0, 7, 7, 7, 0, 19, 19, 19, 0, 19, 19, 19, 0, 16, 16, 16, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 16, 16, 16, 0, 16, 16, 16, 0, 20, 20, 20, 0, 5, 5, 5, 0, 4, 4, 4, 0, 2, 2, 2, 0, 18, 18, 18, 0, 13, 13, 13, 0, 8, 8, 8, 0, 3, 3, 3, 0, 21, 21, 21, 0, 16, 16, 16, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 14, 14, 14, 0, 20, 20, 20, 0, 3, 3, 3, 0, 9, 9, 9, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 0, 18, 18, 18, 0, 17, 17, 17, 0, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 20, 20, 0, 1, 1, 1, 0, 20, 20, 20, 0, 5, 5, 5, 0, 1, 1, 1, 0, 7, 7, 7, 0, 3, 3, 3, 0, 3, 3, 3, 0, 5, 5, 5, 0, 4, 4, 4, 0, 6, 6, 6, 0, 7, 7, 7, 0, 9, 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7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 13, 13, 13, 0, 20, 20, 20, 0, 4, 4, 4, 0, 15, 15, 15, 0, 9, 9, 9, 0, 16, 16, 16, 0, 15, 15, 15, 0, 16, 16, 16, 0, 1, 1, 1, 0, 21, 21, 21, 0, 17, 17, 17, 0, 16, 16, 16, 0, 5, 5, 5, 0, 10, 10, 10, 0, 20, 20, 20, 0, 18, 18, 18, 0, 20, 20, 20, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 14, 14, 14, 0, 15, 15, 15, 0, 14, 14, 14, 0, 21, 21, 21, 0, 20, 20, 20, 0, 6, 6, 6, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 1, 1, 1, 0, 4, 4, 4, 0, 13, 13, 13, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 3, 3, 3, 0, 6, 6, 6, 0, 14, 14, 14, 0, 20, 20, 20, 0, 3, 3, 3, 0, 17, 17, 17, 0, 15, 15, 15, 0, 16, 16, 16, 0, 20, 20, 20, 0, 14, 14, 14, 0, 7, 7, 7, 0, 20, 20, 20, 0, 17, 17, 17, 0, 17, 17, 17, 0, 19, 19, 19, 0, 21, 21, 21, 0, 19, 19, 19, 0, 19, 19, 19, 0, 19, 19, 19, 0, 21, 21, 21, 0, 1, 1, 1, 0, 3, 3, 3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, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 18, 18, 18, 0, 6, 6, 6, 0, 15, 15, 15, 0, 16, 16, 16, 0, 15, 15, 15, 0, 14, 14, 14, 0, 13, 13, 13, 0, 15, 15, 15, 0, 5, 5, 5, 0, 20, 20, 20, 0, 15, 15, 15, 0, 15, 15, 15, 0, 21, 21, 21, 0, 13, 13, 13, 0, 3, 3, 3, 0, 16, 16, 16, 0, 21, 21, 21, 0, 15, 15, 15, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 13, 13, 13, 0, 18, 18, 18, 0, 3, 3, 3, 0, 16, 16, 16, 0, 14, 14, 14, 0, 12, 12, 12, 0, 8, 8, 8, 0, 21, 21, 21, 0, 21, 21, 21, 0, 18, 18, 18, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 3, 3, 3, 0, 4, 4, 4, 0, 13, 13, 13, 0, 13, 13, 13, 0, 17, 17, 17, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 16, 16, 16, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 16, 16, 16, 0, 16, 16, 16, 0, 18, 18, 18, 0, 18, 18, 18, 0, 19, 19, 19, 0, 20, 20, 20, 0, 1, 1, 1, 0, 2, 2, 2, 0, 5, 5, 5, 0, 18, 18, 18, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 6, 6, 6, 0, 2, 2, 2, 0, 1, 1, 1, 0, 20, 20, 20, 0, 19, 19, 19, 0, 18, 18, 18, 0, 17, 17, 17, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 20, 20, 20, 0, 15, 15, 15, 0, 14, 14, 14, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 2, 2, 2, 0, 21, 21, 21, 0, 18, 18, 18, 0, 4, 4, 4, 0, 11, 11, 11, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 4, 4, 4, 0, 12, 12, 12, 0, 2, 2, 2, 0, 16, 16, 16, 0, 18, 18, 18, 0, 13, 13, 13, 0, 19, 19, 19, 0, 2, 2, 2, 0, 14, 14, 14, 0, 19, 19, 19, 0, 19, 19, 19, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 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 5, 5, 5, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 10, 10, 10, 0, 15, 15, 15, 0, 16, 16, 16, 0, 15, 15, 15, 0, 10, 10, 10, 0, 18, 18, 18, 0, 14, 14, 14, 0, 13, 13, 13, 0, 10, 10, 10, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 6, 6, 6, 0, 2, 2, 2, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 20, 20, 20, 0, 20, 20, 20, 0, 3, 3, 3, 0, 11, 11, 11, 0, 19, 19, 19, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 18, 18, 18, 0, 19, 19, 19, 0, 15, 15, 15, 0, 21, 21, 21, 0, 2, 2, 2, 0, 12, 12, 12, 0, 9, 9, 9, 0, 10, 10, 10, 0, 16, 16, 16, 0, 14, 14, 14, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 9, 9, 9, 0, 15, 15, 15, 0, 14, 14, 14, 0, 2, 2, 2, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 15, 15, 15, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 18, 18, 18, 0, 19, 19, 19, 0, 20, 20, 20, 0, 2, 2, 2, 0, 4, 4, 4, 0, 21, 21, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 11, 11, 0, 6, 6, 6, 0, 1, 1, 1, 0, 20, 20, 20, 0, 19, 19, 19, 0, 17, 17, 17, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 1, 1, 1, 0, 12, 12, 12, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 13, 13, 13, 0, 14, 14, 14, 0, 5, 5, 5, 0, 6, 6, 6, 0, 14, 14, 14, 0, 20, 20, 20, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6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4, 4, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 10, 10, 10, 0, 13, 13, 13, 0, 19, 19, 19, 0, 4, 4, 4, 0, 15, 15, 15, 0, 13, 13, 13, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 19, 19, 19, 0, 2, 2, 2, 0, 15, 15, 15, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 19, 19, 19, 0, 18, 18, 18, 0, 17, 17, 17, 0, 2, 2, 2, 0, 13, 13, 13, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 11, 11, 11, 0, 19, 19, 19, 0, 9, 9, 9, 0, 16, 16, 16, 0, 2, 2, 2, 0, 21, 21, 21, 0, 14, 14, 14, 0, 18, 18, 18, 0, 11, 11, 11, 0, 6, 6, 6, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 15, 15, 15, 0, 15, 15, 15, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 19, 19, 19, 0, 20, 20, 20, 0, 2, 2, 2, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 15, 0, 4, 4, 4, 0, 9, 9, 9, 0, 1, 1, 1, 0, 19, 19, 19, 0, 17, 17, 17, 0, 16, 16, 16, 0, 16, 16, 16, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 19, 19, 19, 0, 13, 13, 13, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 13, 13, 13, 0, 2, 2, 2, 0, 10, 10, 10, 0, 13, 13, 13, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0, 6, 6, 6, 0,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, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 8, 8, 8, 0, 9, 9, 9, 0, 11, 11, 11, 0, 2, 2, 2, 0, 16, 16, 16, 0, 19, 19, 19, 0, 3, 3, 3, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 14, 14, 14, 0, 14, 14, 14, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 16, 16, 16, 0, 6, 6, 6, 0, 16, 16, 16, 0, 13, 13, 13, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 12, 12, 12, 0, 9, 9, 9, 0, 5, 5, 5, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 14, 14, 14, 0, 11, 11, 11, 0, 6, 6, 6, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0,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 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 7, 7, 7, 0, 16, 16, 16, 0, 20, 20, 20, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 16, 16, 16, 0, 12, 12, 12, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 14, 14, 14, 0, 3, 3, 3, 0, 1, 1, 1, 0, 18, 18, 18, 0, 18, 18, 18, 0, 15, 15, 15, 0, 10, 10, 10, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 13, 13, 13, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 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 17, 17, 17, 0, 21, 21, 21, 0, 15, 15, 15, 0, 20, 20, 20, 0, 18, 18, 18, 0, 17, 17, 17, 0, 16, 16, 16, 0, 16, 16, 16, 0, 15, 15, 15, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 18, 18, 18, 0, 19, 19, 19, 0, 2, 2, 2, 0, 11, 11, 11, 0, 5, 5, 5, 0, 8, 8, 8, 0, 0, 0, 0, 0, 2, 2, 2, 0, 8, 8, 8, 0, 0, 0, 0, 0, 1, 1, 1, 0, 17, 17, 17, 0, 16, 16, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 11, 11, 0, 19, 19, 19, 0, 12, 12, 12, 0, 8, 8, 8, 0, 4, 4, 4, 0, 7, 7, 7, 0, 2, 2, 2, 0, 19, 19, 19, 0, 19, 19, 19, 0, 9, 9, 9, 0, 20, 20, 20, 0, 16, 16, 16, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 13, 13, 13, 0, 13, 13, 13, 0, 2, 2, 2, 0, 1, 1, 1, 0, 11, 11, 11, 0, 17, 17, 17, 0, 14, 14, 14, 0, 12, 12, 12, 0, 11, 11, 11, 0, 9, 9, 9, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 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8, 8, 0, 3, 3, 3, 0, 5, 5, 5, 0, 18, 18, 18, 0, 20, 20, 20, 0, 11, 11, 11, 0, 9, 9, 9, 0, 18, 18, 18, 0, 16, 16, 16, 0, 15, 15, 15, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 15, 15, 15, 0, 17, 17, 17, 0, 19, 19, 19, 0, 4, 4, 4, 0, 17, 17, 17, 0, 12, 12, 12, 0, 1, 1, 1, 0, 5, 5, 5, 0, 8, 8, 8, 0, 6, 6, 6, 0, 10, 10, 10, 0, 10, 10, 10, 0, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 17, 17, 17, 0, 5, 5, 5, 0, 1, 1, 1, 0, 20, 20, 20, 0, 17, 17, 17, 0, 17, 17, 17, 0, 17, 17, 17, 0, 21, 21, 21, 0, 14, 14, 14, 0, 14, 14, 14, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 15, 15, 15, 0, 9, 9, 9, 0, 20, 20, 20, 0, 19, 19, 19, 0, 18, 18, 18, 0, 14, 14, 14, 0, 9, 9, 9, 0, 8, 8, 8, 0, 8, 8, 8, 0, 7, 7, 7, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4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, 0, 12, 12, 12, 0, 14, 14, 14, 0, 12, 12, 12, 0, 1, 1, 1, 0, 15, 15, 15, 0, 13, 13, 13, 0, 10, 10, 10, 0, 21, 21, 21, 0, 6, 6, 6, 0, 7, 7, 7, 0, 15, 15, 15, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 19, 19, 19, 0, 5, 5, 5, 0, 15, 15, 15, 0, 9, 9, 9, 0, 19, 19, 19, 0, 19, 19, 19, 0, 1, 1, 1, 0, 7, 7, 7, 0, 1, 1, 1, 0, 4, 4, 4, 0, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 15, 0, 2, 2, 2, 0, 19, 19, 19, 0, 17, 17, 17, 0, 16, 16, 16, 0, 15, 15, 15, 0, 15, 15, 15, 0, 4, 4, 4, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 14, 14, 14, 0, 18, 18, 18, 0, 17, 17, 17, 0, 19, 19, 19, 0, 1, 1, 1, 0, 17, 17, 17, 0, 11, 11, 11, 0, 9, 9, 9, 0, 8, 8, 8, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 4, 4, 4, 0,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 11, 11, 11, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 1, 1, 1, 0, 14, 14, 14, 0, 18, 18, 18, 0, 16, 16, 16, 0, 15, 15, 15, 0, 17, 17, 17, 0, 3, 3, 3, 0, 1, 1, 1, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 18, 18, 18, 0, 21, 21, 21, 0, 18, 18, 18, 0, 3, 3, 3, 0, 18, 18, 18, 0, 17, 17, 17, 0, 17, 17, 17, 0, 19, 19, 19, 0, 20, 20, 20, 0, 3, 3, 3, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 0, 11, 11, 11, 0, 2, 2, 2, 0, 21, 21, 21, 0, 18, 18, 18, 0, 14, 14, 14, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 15, 15, 15, 0, 16, 16, 16, 0, 14, 14, 14, 0, 12, 12, 12, 0, 14, 14, 14, 0, 17, 17, 17, 0, 13, 13, 13, 0, 10, 10, 10, 0, 8, 8, 8, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 4, 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5, 5, 0, 6, 6, 6, 0, 8, 8, 8, 0, 8, 8, 8, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 12, 12, 12, 0, 14, 14, 14, 0, 16, 16, 16, 0, 14, 14, 14, 0, 18, 18, 18, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 12, 12, 12, 0, 14, 14, 14, 0, 15, 15, 15, 0, 2, 2, 2, 0, 16, 16, 16, 0, 16, 16, 16, 0, 17, 17, 17, 0, 18, 18, 18, 0, 20, 20, 20, 0, 4, 4, 4, 0, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 18, 18, 18, 0, 14, 14, 14, 0, 14, 14, 14, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 12, 12, 12, 0, 5, 5, 5, 0, 14, 14, 14, 0, 10, 10, 10, 0, 8, 8, 8, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5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, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 6, 6, 6, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 11, 11, 11, 0, 12, 12, 12, 0, 13, 13, 13, 0, 21, 21, 21, 0, 12, 12, 12, 0, 17, 17, 17, 0, 14, 14, 14, 0, 12, 12, 12, 0, 12, 12, 12, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 16, 16, 16, 0, 10, 10, 10, 0, 3, 3, 3, 0, 12, 12, 12, 0, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 15, 0, 11, 11, 11, 0, 3, 3, 3, 0, 3, 3, 3, 0, 21, 21, 21, 0, 14, 14, 14, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 15, 15, 15, 0, 20, 20, 20, 0, 9, 9, 9, 0, 6, 6, 6, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0,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 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 7, 7, 7, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 13, 13, 13, 0, 15, 15, 15, 0, 21, 21, 21, 0, 18, 18, 18, 0, 17, 17, 17, 0, 12, 12, 12, 0, 11, 11, 11, 0, 10, 10, 10, 0, 10, 10, 10, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 11, 11, 11, 0, 13, 13, 13, 0, 13, 13, 13, 0, 14, 14, 14, 0, 14, 14, 14, 0, 18, 18, 18, 0, 4, 4, 4, 0, 7, 7, 7, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 20, 20, 0, 17, 17, 17, 0, 19, 19, 19, 0, 17, 17, 17, 0, 15, 15, 15, 0, 13, 13, 13, 0, 13, 13, 13, 0, 12, 12, 12, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 10, 10, 10, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 9, 9, 9, 0, 10, 10, 10, 0, 12, 12, 12, 0, 7, 7, 7, 0, 6, 6, 6, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 5, 5, 0, 5, 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++ b/js/src/jit-test/lib/match.js
@@ -0,0 +1 @@
+loadRelativeToScript("../../tests/js1_8_5/reflect-parse/Match.js");
diff --git a/js/src/jit-test/lib/orTestHelper.js b/js/src/jit-test/lib/orTestHelper.js
new file mode 100644
index 000000000..bd54d7ac3
--- /dev/null
+++ b/js/src/jit-test/lib/orTestHelper.js
@@ -0,0 +1,13 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+function orTestHelper(a, b, n)
+{
+ var k = 0;
+ for (var i = 0; i < n; i++) {
+ if (a || b)
+ k += i;
+ }
+ return k;
+}
diff --git a/js/src/jit-test/lib/prologue.js b/js/src/jit-test/lib/prologue.js
new file mode 100644
index 000000000..18a5e6195
--- /dev/null
+++ b/js/src/jit-test/lib/prologue.js
@@ -0,0 +1,39 @@
+/* -*- indent-tabs-mode: nil; js-indent-level: 4 -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+// explicitly run on ECMA 5
+version(185);
+
+var appendToActual = function(s) {
+ actual += s + ',';
+}
+
+if (!("gczeal" in this)) {
+ gczeal = function() { }
+}
+
+if (!("schedulegc" in this)) {
+ schedulegc = function() { }
+}
+
+if (!("gcslice" in this)) {
+ gcslice = function() { }
+}
+
+if (!("selectforgc" in this)) {
+ selectforgc = function() { }
+}
+
+if (!("verifyprebarriers" in this)) {
+ verifyprebarriers = function() { }
+}
+
+if (!("verifypostbarriers" in this)) {
+ verifypostbarriers = function() { }
+}
+
+if (!("gcPreserveCode" in this)) {
+ gcPreserveCode = function() { }
+}
diff --git a/js/src/jit-test/lib/range.js b/js/src/jit-test/lib/range.js
new file mode 100644
index 000000000..e37c6351e
--- /dev/null
+++ b/js/src/jit-test/lib/range.js
@@ -0,0 +1,22 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+// Library file for tests to load.
+
+function Range(start, stop) {
+ this.i = start;
+ this.stop = stop;
+}
+Range.prototype = {
+ __iterator__: function() { return this; },
+ next: function() {
+ if (this.i >= this.stop)
+ throw StopIteration;
+ return this.i++;
+ }
+};
+
+function range(start, stop) {
+ return new Range(start, stop);
+}
diff --git a/js/src/jit-test/lib/regexp_parse.js b/js/src/jit-test/lib/regexp_parse.js
new file mode 100644
index 000000000..ac6ec02f3
--- /dev/null
+++ b/js/src/jit-test/lib/regexp_parse.js
@@ -0,0 +1,205 @@
+load(libdir + "asserts.js");
+
+// helper functions
+
+function Disjunction(alternatives) {
+ return{
+ type: "Disjunction",
+ alternatives: alternatives
+ };
+}
+
+function Alternative(nodes) {
+ return {
+ type: "Alternative",
+ nodes: nodes
+ };
+}
+
+function Empty() {
+ return {
+ type: "Empty"
+ };
+}
+
+function Text(elements) {
+ return {
+ type: "Text",
+ elements: elements
+ };
+}
+
+function Assertion(type) {
+ return {
+ type: "Assertion",
+ assertion_type: type
+ };
+}
+
+function Atom(data) {
+ return {
+ type: "Atom",
+ data: data
+ };
+}
+
+const kInfinity = 0x7FFFFFFF;
+function Quantifier(min, max, type, body) {
+ return {
+ type: "Quantifier",
+ min: min,
+ max: max,
+ quantifier_type: type,
+ body: body
+ };
+}
+
+function Lookahead(body) {
+ return {
+ type: "Lookahead",
+ is_positive: true,
+ body: body
+ };
+}
+
+function NegativeLookahead(body) {
+ return {
+ type: "Lookahead",
+ is_positive: false,
+ body: body
+ };
+}
+
+function BackReference(index) {
+ return {
+ type: "BackReference",
+ index: index
+ };
+}
+
+function CharacterClass(ranges) {
+ return {
+ type: "CharacterClass",
+ is_negated: false,
+ ranges: ranges.map(([from, to]) => ({ from ,to }))
+ };
+}
+
+function NegativeCharacterClass(ranges) {
+ return {
+ type: "CharacterClass",
+ is_negated: true,
+ ranges: ranges.map(([from, to]) => ({ from ,to }))
+ };
+}
+
+function Capture(index, body) {
+ return {
+ type: "Capture",
+ index: index,
+ body: body
+ };
+}
+
+function AllSurrogateAndCharacterClass(ranges) {
+ return Disjunction([
+ CharacterClass(ranges),
+ Alternative([
+ CharacterClass([["\uD800", "\uDBFF"]]),
+ NegativeLookahead(CharacterClass([["\uDC00", "\uDFFF"]]))
+ ]),
+ Alternative([
+ Assertion("NOT_AFTER_LEAD_SURROGATE"),
+ CharacterClass([["\uDC00", "\uDFFF"]])
+ ]),
+ Text([
+ CharacterClass([["\uD800", "\uDBFF"]]),
+ CharacterClass([["\uDC00", "\uDFFF"]])
+ ])
+ ]);
+}
+
+// testing functions
+
+var all_flags = [
+ "",
+ "i",
+ "m",
+ "u",
+ "im",
+ "iu",
+ "mu",
+ "imu",
+];
+
+var no_unicode_flags = [
+ "",
+ "i",
+ "m",
+ "im",
+];
+
+var unicode_flags = [
+ "u",
+ "iu",
+ "mu",
+ "imu",
+];
+
+var no_multiline_flags = [
+ "",
+ "i",
+ "u",
+ "iu",
+];
+
+var multiline_flags = [
+ "m",
+ "im",
+ "mu",
+ "imu",
+];
+
+function test_flags(pattern, flags, match_only, expected) {
+ for (var flag of flags) {
+ assertDeepEq(parseRegExp(pattern, flag, match_only), expected);
+ }
+}
+
+function make_mix(tree) {
+ if (tree.type == "Atom") {
+ return Atom("X" + tree.data + "Y");
+ }
+ if (tree.type == "CharacterClass") {
+ return Text([
+ Atom("X"),
+ tree,
+ Atom("Y")
+ ]);
+ }
+ if (tree.type == "Alternative") {
+ return Alternative([
+ Atom("X"),
+ ...tree.nodes,
+ Atom("Y")
+ ]);
+ }
+ return Alternative([
+ Atom("X"),
+ tree,
+ Atom("Y")
+ ]);
+}
+
+function test_mix(pattern, flags, expected) {
+ test_flags(pattern, flags, false, expected);
+ test_flags("X" + pattern + "Y", flags, false, make_mix(expected));
+}
+
+function test(pattern, flags, expected) {
+ test_flags(pattern, flags, false, expected);
+}
+
+function test_match_only(pattern, flags, expected) {
+ test_flags(pattern, flags, true, expected);
+}
diff --git a/js/src/jit-test/lib/simd.js b/js/src/jit-test/lib/simd.js
new file mode 100644
index 000000000..f275c6f08
--- /dev/null
+++ b/js/src/jit-test/lib/simd.js
@@ -0,0 +1,109 @@
+if (!this.hasOwnProperty("SIMD"))
+ quit();
+
+function booleanBinaryX4(op, v, w) {
+ var arr = [];
+ var [varr, warr] = [simdToArray(v), simdToArray(w)];
+ for (var i = 0; i < 4; i++)
+ arr[i] = op(varr[i], warr[i]);
+ return arr;
+}
+
+function binaryX(op, v, w) {
+ var arr = [];
+ var [varr, warr] = [simdToArray(v), simdToArray(w)];
+ [varr, warr] = [varr.map(Math.fround), warr.map(Math.fround)];
+ for (var i = 0; i < varr.length; i++)
+ arr[i] = op(varr[i], warr[i]);
+ return arr.map(Math.fround);
+}
+
+function unaryX4(op, v, coerceFunc) {
+ var arr = [];
+ var varr = simdToArray(v).map(coerceFunc);
+ for (var i = 0; i < 4; i++)
+ arr[i] = op(varr[i]);
+ return arr.map(coerceFunc);
+}
+
+function assertNear(a, b) {
+ assertEq((a != a && b != b) || Math.abs(a - b) < 0.001, true);
+}
+
+function GetType(v) {
+ var pt = Object.getPrototypeOf(v);
+ switch (pt) {
+ case SIMD.Int8x16.prototype: return SIMD.Int8x16;
+ case SIMD.Int16x8.prototype: return SIMD.Int16x8;
+ case SIMD.Int32x4.prototype: return SIMD.Int32x4;
+ case SIMD.Uint8x16.prototype: return SIMD.Uint8x16;
+ case SIMD.Uint16x8.prototype: return SIMD.Uint16x8;
+ case SIMD.Uint32x4.prototype: return SIMD.Uint32x4;
+ case SIMD.Float32x4.prototype: return SIMD.Float32x4;
+ case SIMD.Bool8x16.prototype: return SIMD.Bool8x16;
+ case SIMD.Bool16x8.prototype: return SIMD.Bool16x8;
+ case SIMD.Bool32x4.prototype: return SIMD.Bool32x4;
+ }
+ throw "unexpected SIMD type";
+}
+
+function GetLength(t) {
+ switch (t) {
+ case SIMD.Int8x16: return 16;
+ case SIMD.Int16x8: return 8;
+ case SIMD.Int32x4: return 4;
+ case SIMD.Uint8x16: return 16;
+ case SIMD.Uint16x8: return 8;
+ case SIMD.Uint32x4: return 4;
+ case SIMD.Float32x4: return 4;
+ case SIMD.Bool8x16: return 16;
+ case SIMD.Bool16x8: return 8;
+ case SIMD.Bool32x4: return 4;
+ }
+ throw "unexpected SIMD type";
+}
+
+function assertEqVec(v, w) {
+ var typeV = GetType(v);
+ var lengthV = GetLength(typeV);
+ var ext = typeV.extractLane;
+ assertEq(GetType(w), typeV);
+ for (var i = 0; i < lengthV; i++)
+ assertEq(ext(v, i), ext(w, i));
+}
+
+function assertEqVecArr(v, w) {
+ var typeV = GetType(v);
+ var lengthV = GetLength(typeV);
+ var ext = typeV.extractLane;
+ assertEq(w.length, lengthV);
+
+ for (var i = 0; i < lengthV; i++)
+ assertEq(ext(v, i), w[i]);
+}
+
+function assertEqX4(vec, arr, ...opts) {
+
+ var assertFunc;
+ if (opts.length == 1 && typeof opts[0] !== 'undefined') {
+ assertFunc = opts[0];
+ } else {
+ assertFunc = assertEq;
+ }
+
+ var Type = GetType(vec);
+
+ assertFunc(Type.extractLane(vec, 0), arr[0]);
+ assertFunc(Type.extractLane(vec, 1), arr[1]);
+ assertFunc(Type.extractLane(vec, 2), arr[2]);
+ assertFunc(Type.extractLane(vec, 3), arr[3]);
+}
+
+function simdToArray(vec) {
+ var Type = GetType(vec);
+ var Length = GetLength(Type);
+ var a = [];
+ for (var i = 0; i < Length; i++)
+ a.push(Type.extractLane(vec, i));
+ return a;
+}
diff --git a/js/src/jit-test/lib/string.js b/js/src/jit-test/lib/string.js
new file mode 100644
index 000000000..15431ae2c
--- /dev/null
+++ b/js/src/jit-test/lib/string.js
@@ -0,0 +1,24 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+
+if (typeof isHighSurrogate === 'undefined') {
+ var isHighSurrogate = function isHighSurrogate(s) {
+ var c = s.charCodeAt(0);
+ return c >= 0xD800 && c <= 0xDBFF;
+ }
+}
+
+if (typeof isLowSurrogate === 'undefined') {
+ var isLowSurrogate = function isLowSurrogate(s) {
+ var c = s.charCodeAt(0);
+ return c >= 0xDC00 && c <= 0xDFFF;
+ }
+}
+
+if (typeof isSurrogatePair === 'undefined') {
+ var isSurrogatePair = function isSurrogatePair(s) {
+ return s.length == 2 && isHighSurrogate(s[0]) && isLowSurrogate(s[1]);
+ }
+}
diff --git a/js/src/jit-test/lib/syntax.js b/js/src/jit-test/lib/syntax.js
new file mode 100644
index 000000000..9b7a94d18
--- /dev/null
+++ b/js/src/jit-test/lib/syntax.js
@@ -0,0 +1,1356 @@
+function test_syntax(postfixes, check_error, ignore_opts) {
+ function test_reflect(code, module) {
+ var options = undefined;
+ if (module) {
+ options = {target: "module"};
+ }
+ for (var postfix of postfixes) {
+ var cur_code = code + postfix;
+
+ var caught = false;
+ try {
+ Reflect.parse(cur_code, options);
+ } catch (e) {
+ caught = true;
+ check_error(e, cur_code, "reflect");
+ }
+ assertEq(caught, true);
+ }
+ }
+
+ function test_eval(code) {
+ for (var postfix of postfixes) {
+ var cur_code = code + postfix;
+
+ var caught = false;
+ try {
+ eval(cur_code);
+ } catch (e) {
+ caught = true;
+ check_error(e, cur_code, "eval");
+ }
+ assertEq(caught, true);
+ }
+ }
+
+ function test(code, opts={}) {
+ if (ignore_opts) {
+ opts = {};
+ }
+
+ let no_strict = "no_strict" in opts && opts.no_strict;
+ let no_fun = "no_fun" in opts && opts.no_fun;
+ let no_eval = "no_eval" in opts && opts.no_eval;
+ let module = "module" in opts && opts.module;
+
+ test_reflect(code, module);
+ if (!no_strict) {
+ test_reflect("'use strict'; " + code, module);
+ }
+ if (!no_fun) {
+ test_reflect("(function() { " + code, module);
+ if (!no_strict) {
+ test_reflect("(function() { 'use strict'; " + code, module);
+ }
+ }
+
+ if (!no_eval) {
+ test_eval(code);
+ if (!no_strict) {
+ test_eval("'use strict'; " + code);
+ }
+ if (!no_fun) {
+ test_eval("(function() { " + code);
+ if (!no_strict) {
+ test_eval("(function() { 'use strict'; " + code);
+ }
+ }
+ }
+ }
+
+ function test_fun_arg(arg) {
+ for (var postfix of postfixes) {
+ var cur_arg = arg + postfix;
+
+ var caught = false;
+ try {
+ new Function(cur_arg, "");
+ } catch (e) {
+ caught = true;
+ check_error(e, cur_arg, "fun_arg");
+ }
+ assertEq(caught, true);
+ }
+ }
+
+ // ==== Statements and declarations ====
+
+ // ---- Control flow ----
+
+ // Block
+
+ test("{ ");
+ test("{ } ");
+
+ test("{ 1 ");
+ test("{ 1; ");
+ test("{ 1; } ");
+
+ // break
+
+ test("a: for (;;) { break ");
+ test("a: for (;;) { break; ");
+ test("a: for (;;) { break a ");
+ test("a: for (;;) { break a; ");
+
+ test("a: for (;;) { break\n");
+
+ // continue
+
+ test("a: for (;;) { continue ");
+ test("a: for (;;) { continue; ");
+ test("a: for (;;) { continue a ");
+ test("a: for (;;) { continue a; ");
+
+ test("a: for (;;) { continue\n");
+
+ // Empty
+
+ test("");
+ test("; ");
+
+ // if...else
+
+ test("if ");
+ test("if (");
+ test("if (x ");
+ test("if (x) ");
+ test("if (x) { ");
+ test("if (x) {} ");
+ test("if (x) {} else ");
+ test("if (x) {} else { ");
+ test("if (x) {} else {} ");
+ test("if (x) x ");
+ test("if (x) x; ");
+ test("if (x) x; else ");
+ test("if (x) x; else y ");
+ test("if (x) x; else y; ");
+
+ // switch
+
+ test("switch ");
+ test("switch (");
+ test("switch (x ");
+ test("switch (x) ");
+ test("switch (x) { ");
+ test("switch (x) { case ");
+ test("switch (x) { case 1 ");
+ test("switch (x) { case 1: ");
+ test("switch (x) { case 1: case ");
+ test("switch (x) { case 1: case 2 ");
+ test("switch (x) { case 1: case 2: ");
+ test("switch (x) { case 1: case 2: x ");
+ test("switch (x) { case 1: case 2: x; ");
+ test("switch (x) { case 1: case 2: x; break ");
+ test("switch (x) { case 1: case 2: x; break; ");
+ test("switch (x) { case 1: case 2: x; break; case ");
+ test("switch (x) { case 1: case 2: x; break; case 3 ");
+ test("switch (x) { case 1: case 2: x; break; case 3: y ");
+ test("switch (x) { case 1: case 2: x; break; case 3: y; ");
+ test("switch (x) { case 1: case 2: x; break; case 3: y; default ");
+ test("switch (x) { case 1: case 2: x; break; case 3: y; default: ");
+ test("switch (x) { case 1: case 2: x; break; case 3: y; default: z ");
+ test("switch (x) { case 1: case 2: x; break; case 3: y; default: z; ");
+ test("switch (x) { case 1: case 2: x; break; case 3: y; default: z; } ");
+
+ // throw
+
+ test("throw ");
+ test("throw x ");
+ test("throw x; ");
+
+ // try...catch
+
+ test("try ");
+ test("try { ");
+ test("try {} ");
+ test("try {} catch ");
+ test("try {} catch ( ");
+ test("try {} catch (e ");
+ test("try {} catch (e) ");
+ test("try {} catch (e) { ");
+ test("try {} catch (e) {} ");
+ test("try {} catch (e) {} finally ");
+ test("try {} catch (e) {} finally { ");
+ test("try {} catch (e) {} finally {} ");
+
+ test("try {} catch (e if ");
+ test("try {} catch (e if e ");
+ test("try {} catch (e if e instanceof ");
+ test("try {} catch (e if e instanceof x ");
+ test("try {} catch (e if e instanceof x) ");
+ test("try {} catch (e if e instanceof x) { ");
+ test("try {} catch (e if e instanceof x) {} ");
+
+ // ---- Declarations ----
+
+ // var
+
+ test("var ");
+ test("var x ");
+ test("var x = ");
+ test("var x = 1 ");
+ test("var x = 1 + ");
+ test("var x = 1 + 2 ");
+ test("var x = 1 + 2, ");
+ test("var x = 1 + 2, y ");
+ test("var x = 1 + 2, y, ");
+ test("var x = 1 + 2, y, z ");
+ test("var x = 1 + 2, y, z; ");
+
+ test("var [ ");
+ test("var [ x ");
+ test("var [ x, ");
+ test("var [ x, ... ");
+ test("var { ");
+ test("var { x ");
+ test("var { x: ");
+ test("var { x: y ");
+ test("var { x: y, ");
+ test("var { x: y } ");
+ test("var { x: y } = ");
+
+ // let
+
+ test("let ");
+ test("let x ");
+ test("let x = ");
+ test("let x = 1 ");
+ test("let x = 1 + ");
+ test("let x = 1 + 2 ");
+ test("let x = 1 + 2, ");
+ test("let x = 1 + 2, y ");
+ test("let x = 1 + 2, y, ");
+ test("let x = 1 + 2, y, z ");
+ test("let x = 1 + 2, y, z; ");
+
+ test("let [ ");
+ test("let [ x ");
+ test("let [ x, ");
+ test("let [ x, ... ");
+ test("let { ");
+ test("let { x ");
+ test("let { x: ");
+ test("let { x: y ");
+ test("let { x: y, ");
+ test("let { x: y } ");
+ test("let { x: y } = ");
+
+ // const
+
+ test("const ");
+ test("const x ");
+ test("const x = ");
+ test("const x = 1 ");
+ test("const x = 1 + ");
+ test("const x = 1 + 2 ");
+ test("const x = 1 + 2, ");
+ test("const x = 1 + 2, y = 0");
+ test("const x = 1 + 2, y = 0, ");
+ test("const x = 1 + 2, y = 0, z = 0 ");
+ test("const x = 1 + 2, y = 0, z = 0; ");
+
+ test("const [ ");
+ test("const [ x ");
+ test("const [ x, ");
+ test("const [ x, ... ");
+ test("const { ");
+ test("const { x ");
+ test("const { x: ");
+ test("const { x: y ");
+ test("const { x: y, ");
+ test("const { x: y } ");
+ test("const { x: y } = ");
+
+ // ---- Functions ----
+
+ // function
+
+ test("function ");
+ test("function f ");
+ test("function f( ");
+ test("function f(x ");
+ test("function f(x, ");
+ test("function f(x, [ ");
+ test("function f(x, [y ");
+ test("function f(x, [y, ");
+ test("function f(x, [y, { ");
+ test("function f(x, [y, {z ");
+ test("function f(x, [y, {z: ");
+ test("function f(x, [y, {z: zz ");
+ test("function f(x, [y, {z: zz, ");
+ test("function f(x, [y, {z: zz, w ");
+ test("function f(x, [y, {z: zz, w} ");
+ test("function f(x, [y, {z: zz, w}] ");
+ test("function f(x, [y, {z: zz, w}], ");
+ test("function f(x, [y, {z: zz, w}], v ");
+ test("function f(x, [y, {z: zz, w}], v= ");
+ test("function f(x, [y, {z: zz, w}], v=1 ");
+ test("function f(x, [y, {z: zz, w}], v=1, ");
+ test("function f(x, [y, {z: zz, w}], v=1, ... ");
+ test("function f(x, [y, {z: zz, w}], v=1, ...t ");
+ test("function f(x, [y, {z: zz, w}], v=1, ...t) ");
+ test("function f(x, [y, {z: zz, w}], v=1, ...t) {");
+ test("function f(x, [y, {z: zz, w}], v=1, ...t) { x ");
+ test("function f(x, [y, {z: zz, w}], v=1, ...t) { x; ");
+ test("function f(x, [y, {z: zz, w}], v=1, ...t) { x; } ");
+
+ // star function
+
+ test("function* ");
+ test("function* f ");
+ test("function* f( ");
+ test("function* f(x ");
+ test("function* f(x, ");
+ test("function* f(x, ... ");
+ test("function* f(x, ...t ");
+ test("function* f(x, ...t) ");
+ test("function* f(x, ...t) {");
+ test("function* f(x, ...t) { x ");
+ test("function* f(x, ...t) { x; ");
+ test("function* f(x, ...t) { x; } ");
+
+ // return
+
+ test("function f() { return ");
+ test("function f() { return 1 ");
+ test("function f() { return 1; ");
+ test("function f() { return 1; } ");
+ test("function f() { return; ");
+ test("function f() { return\n");
+
+ // yield
+
+ test("function* f() { yield ");
+ test("function* f() { yield 1 ");
+ test("function* f() { yield* ");
+ test("function* f() { yield* 1 ");
+
+ test("function* f() { yield\n");
+ test("function* f() { yield*\n");
+
+ // ---- Iterations ----
+
+ // do...while
+
+ test("do ");
+ test("do {");
+ test("do {} ");
+ test("do {} while ");
+ test("do {} while ( ");
+ test("do {} while (x ");
+ test("do {} while (x) ");
+ test("do {} while (x); ");
+
+ test("do x ");
+ test("do x; ");
+ test("do x; while ");
+
+ // for
+
+ test("for ");
+ test("for (");
+ test("for (x ");
+ test("for (x; ");
+ test("for (x; y ");
+ test("for (x; y; ");
+ test("for (x; y; z ");
+ test("for (x; y; z) ");
+ test("for (x; y; z) { ");
+ test("for (x; y; z) {} ");
+
+ test("for (x; y; z) x ");
+ test("for (x; y; z) x; ");
+
+ test("for (var ");
+ test("for (var x ");
+ test("for (var x = ");
+ test("for (var x = y ");
+ test("for (var x = y; ");
+
+ test("for (let ");
+ test("for (let x ");
+ test("for (let x = ");
+ test("for (let x = y ");
+ test("for (let x = y; ");
+
+ // for...in
+
+ test("for (x in ");
+ test("for (x in y ");
+ test("for (x in y) ");
+
+ test("for (var x in ");
+ test("for (var x in y ");
+ test("for (var x in y) ");
+
+ test("for (let x in ");
+ test("for (let x in y ");
+ test("for (let x in y) ");
+
+ // for...of
+
+ test("for (x of ");
+ test("for (x of y ");
+ test("for (x of y) ");
+
+ test("for (var x of ");
+ test("for (var x of y ");
+ test("for (var x of y) ");
+
+ test("for (let x of ");
+ test("for (let x of y ");
+ test("for (let x of y) ");
+
+ // while
+
+ test("while ");
+ test("while (");
+ test("while (x ");
+ test("while (x) ");
+ test("while (x) { ");
+ test("while (x) {} ");
+
+ test("while (x) x ");
+ test("while (x) x; ");
+
+ // ---- Others ----
+
+ // debugger
+
+ test("debugger ");
+ test("debugger; ");
+
+ // export
+
+ var opts = { no_fun: true, no_eval: true, module: true };
+ test("export ", opts);
+ test("export { ", opts);
+ test("export { x ", opts);
+ test("export { x, ", opts);
+ test("export { x, y ", opts);
+ test("export { x, y as ", opts);
+ test("export { x, y as z ", opts);
+ test("export { x, y as z } ", opts);
+ test("export { x, y as z } from ", opts);
+ test("export { x, y as z } from 'a' ", opts);
+ test("export { x, y as z } from 'a'; ", opts);
+
+ test("export * ", opts);
+ test("export * from ", opts);
+ test("export * from 'a' ", opts);
+ test("export * from 'a'; ", opts);
+
+ test("export function ", opts);
+ test("export function f ", opts);
+ test("export function f( ", opts);
+ test("export function f() ", opts);
+ test("export function f() { ", opts);
+ test("export function f() {} ", opts);
+ test("export function f() {}; ", opts);
+
+ test("export var ", opts);
+ test("export var a ", opts);
+ test("export var a = ", opts);
+ test("export var a = 1 ", opts);
+ test("export var a = 1, ", opts);
+ test("export var a = 1, b ", opts);
+ test("export var a = 1, b = ", opts);
+ test("export var a = 1, b = 2 ", opts);
+ test("export var a = 1, b = 2; ", opts);
+
+ test("export let ", opts);
+ test("export let a ", opts);
+ test("export let a = ", opts);
+ test("export let a = 1 ", opts);
+ test("export let a = 1, ", opts);
+ test("export let a = 1, b ", opts);
+ test("export let a = 1, b = ", opts);
+ test("export let a = 1, b = 2 ", opts);
+ test("export let a = 1, b = 2; ", opts);
+
+ test("export const ", opts);
+ test("export const a ", opts);
+ test("export const a = ", opts);
+ test("export const a = 1 ", opts);
+ test("export const a = 1, ", opts);
+ test("export const a = 1, b ", opts);
+ test("export const a = 1, b = ", opts);
+ test("export const a = 1, b = 2 ", opts);
+ test("export const a = 1, b = 2; ", opts);
+
+ test("export class ", opts);
+ test("export class Foo ", opts);
+ test("export class Foo { ", opts);
+ test("export class Foo { constructor ", opts);
+ test("export class Foo { constructor( ", opts);
+ test("export class Foo { constructor() ", opts);
+ test("export class Foo { constructor() { ", opts);
+ test("export class Foo { constructor() {} ", opts);
+ test("export class Foo { constructor() {} } ", opts);
+ test("export class Foo { constructor() {} }; ", opts);
+
+ test("export default ", opts);
+ test("export default 1 ", opts);
+ test("export default 1; ", opts);
+
+ test("export default function ", opts);
+ test("export default function() ", opts);
+ test("export default function() { ", opts);
+ test("export default function() {} ", opts);
+ test("export default function() {}; ", opts);
+
+ test("export default function foo ", opts);
+ test("export default function foo( ", opts);
+ test("export default function foo() ", opts);
+ test("export default function foo() { ", opts);
+ test("export default function foo() {} ", opts);
+ test("export default function foo() {}; ", opts);
+
+ test("export default class ", opts);
+ test("export default class { ", opts);
+ test("export default class { constructor ", opts);
+ test("export default class { constructor( ", opts);
+ test("export default class { constructor() ", opts);
+ test("export default class { constructor() { ", opts);
+ test("export default class { constructor() {} ", opts);
+ test("export default class { constructor() {} } ", opts);
+ test("export default class { constructor() {} }; ", opts);
+
+ test("export default class Foo ", opts);
+ test("export default class Foo { ", opts);
+ test("export default class Foo { constructor ", opts);
+ test("export default class Foo { constructor( ", opts);
+ test("export default class Foo { constructor() ", opts);
+ test("export default class Foo { constructor() { ", opts);
+ test("export default class Foo { constructor() {} ", opts);
+ test("export default class Foo { constructor() {} } ", opts);
+ test("export default class Foo { constructor() {} }; ", opts);
+
+ // import
+
+ test("import ", opts);
+ test("import x ", opts);
+ test("import x from ", opts);
+ test("import x from 'a' ", opts);
+ test("import x from 'a'; ", opts);
+
+ test("import { ", opts);
+ test("import { x ", opts);
+ test("import { x, ", opts);
+ test("import { x, y ", opts);
+ test("import { x, y } ", opts);
+ test("import { x, y } from ", opts);
+ test("import { x, y } from 'a' ", opts);
+ test("import { x, y } from 'a'; ", opts);
+
+ test("import { x as ", opts);
+ test("import { x as y ", opts);
+ test("import { x as y } ", opts);
+ test("import { x as y } from ", opts);
+ test("import { x as y } from 'a' ", opts);
+ test("import { x as y } from 'a'; ", opts);
+
+ test("import 'a' ", opts);
+ test("import 'a'; ", opts);
+
+ test("import * ", opts);
+ test("import * as ", opts);
+ test("import * as a ", opts);
+ test("import * as a from ", opts);
+ test("import * as a from 'a' ", opts);
+ test("import * as a from 'a'; ", opts);
+
+ test("import a ", opts);
+ test("import a, ", opts);
+ test("import a, * ", opts);
+ test("import a, * as ", opts);
+ test("import a, * as b ", opts);
+ test("import a, * as b from ", opts);
+ test("import a, * as b from 'c' ", opts);
+ test("import a, * as b from 'c'; ", opts);
+
+ test("import a, { ", opts);
+ test("import a, { b ", opts);
+ test("import a, { b } ", opts);
+ test("import a, { b } from ", opts);
+ test("import a, { b } from 'c' ", opts);
+ test("import a, { b } from 'c'; ", opts);
+
+ // label
+
+ test("a ");
+ test("a: ");
+
+ // with
+
+ opts = { no_strict: true };
+ test("with ", opts);
+ test("with (", opts);
+ test("with (x ", opts);
+ test("with (x) ", opts);
+ test("with (x) { ", opts);
+ test("with (x) {} ", opts);
+
+ test("with (x) x ", opts);
+ test("with (x) x; ", opts);
+
+ // ==== Expressions and operators ====
+
+ // ---- Primary expressions ----
+
+ // this
+
+ test("this ");
+
+ // function
+
+ test("(function ");
+ test("(function ( ");
+ test("(function (x ");
+ test("(function (x, ");
+ test("(function (x, ... ");
+ test("(function (x, ...t ");
+ test("(function (x, ...t) ");
+ test("(function (x, ...t) {");
+ test("(function (x, ...t) { x ");
+ test("(function (x, ...t) { x; ");
+ test("(function (x, ...t) { x; } ");
+ test("(function (x, ...t) { x; }) ");
+
+ // star function
+
+ test("(function* ");
+ test("(function* ( ");
+ test("(function* (x ");
+ test("(function* (x, ");
+ test("(function* (x, ... ");
+ test("(function* (x, ...t ");
+ test("(function* (x, ...t) ");
+ test("(function* (x, ...t) {");
+ test("(function* (x, ...t) { x ");
+ test("(function* (x, ...t) { x; ");
+ test("(function* (x, ...t) { x; } ");
+ test("(function* (x, ...t) { x; }) ");
+
+ // Array literal
+
+ test("[ ");
+ test("[] ");
+ test("[1 ");
+ test("[1, ");
+ test("[1, ... ");
+ test("[1, ...x ");
+ test("[1, ...x] ");
+
+ // object
+
+ test("({ ");
+ test("({ x ");
+ test("({ x: ");
+ test("({ x: 1 ");
+ test("({ x: 1, ");
+ test("({ x: 1, y ");
+ test("({ x: 1, y: ");
+ test("({ x: 1, y: 2 ");
+ test("({ x: 1, y: 2, ");
+ test("({ x: 1, y: 2, z ");
+ test("({ x: 1, y: 2, z, ");
+ test("({ x: 1, y: 2, z, w ");
+ test("({ x: 1, y: 2, z, w } ");
+ test("({ x: 1, y: 2, z, w }) ");
+
+ // object: computed property
+
+ test("({ [");
+ test("({ [k ");
+ test("({ [k] ");
+ test("({ [k]: ");
+ test("({ [k]: 1 ");
+ test("({ [k]: 1, ");
+
+ // object: getter
+
+ test("({ get ");
+ test("({ get p ");
+ test("({ get p( ");
+ test("({ get p() ");
+ test("({ get p() { ");
+ test("({ get p() {} ");
+ test("({ get p() {}, ");
+ test("({ get p() {}, } ");
+
+ test("({ get [ ");
+ test("({ get [p ");
+ test("({ get [p] ");
+ test("({ get [p]( ");
+ test("({ get [p]() ");
+
+ // object: setter
+
+ test("({ set ");
+ test("({ set p ");
+ test("({ set p( ");
+ test("({ set p(v ");
+ test("({ set p(v) ");
+ test("({ set p(v) { ");
+ test("({ set p(v) {} ");
+
+ test("({ set [ ");
+ test("({ set [p ");
+ test("({ set [p] ");
+ test("({ set [p]( ");
+ test("({ set [p](v ");
+ test("({ set [p](v) ");
+
+ // object: method
+
+ test("({ m ");
+ test("({ m( ");
+ test("({ m() ");
+ test("({ m() { ");
+ test("({ m() {} ");
+ test("({ m() {}, ");
+
+ test("({ [ ");
+ test("({ [m ");
+ test("({ [m] ");
+ test("({ [m]( ");
+ test("({ [m]() ");
+ test("({ [m]() { ");
+ test("({ [m]() {} ");
+ test("({ [m]() {}, ");
+
+ test("({ * ");
+ test("({ *m ");
+ test("({ *m( ");
+ test("({ *m() ");
+ test("({ *m() { ");
+ test("({ *m() {} ");
+ test("({ *m() {}, ");
+
+ test("({ *[ ");
+ test("({ *[m ");
+ test("({ *[m] ");
+ test("({ *[m]( ");
+ test("({ *[m]() ");
+ test("({ *[m]() { ");
+ test("({ *[m]() {} ");
+ test("({ *[m]() {}, ");
+
+ test("({ * get ");
+ test("({ * get ( ");
+ test("({ * get () ");
+ test("({ * get () { ");
+ test("({ * get () {} ");
+ test("({ * get () {}, ");
+
+ test("({ * set ");
+ test("({ * set ( ");
+ test("({ * set () ");
+ test("({ * set () { ");
+ test("({ * set () {} ");
+ test("({ * set () {}, ");
+
+ // Regular expression literal
+
+ test("/a/ ");
+ test("/a/g ");
+
+ // Array comprehensions
+
+ test("[for ");
+ test("[for ( ");
+ test("[for (x ");
+ test("[for (x of ");
+ test("[for (x of y ");
+ test("[for (x of y) ");
+ test("[for (x of y) x ");
+ test("[for (x of y) if ");
+ test("[for (x of y) if ( ");
+ test("[for (x of y) if (x ");
+ test("[for (x of y) if (x == ");
+ test("[for (x of y) if (x == 1 ");
+ test("[for (x of y) if (x == 1) ");
+ test("[for (x of y) if (x == 1) x ");
+ test("[for (x of y) if (x == 1) x] ");
+
+ // Generator comprehensions
+
+ test("(for ");
+ test("(for ( ");
+ test("(for (x ");
+ test("(for (x of ");
+ test("(for (x of y ");
+ test("(for (x of y) ");
+ test("(for (x of y) x ");
+ test("(for (x of y) if ");
+ test("(for (x of y) if ( ");
+ test("(for (x of y) if (x ");
+ test("(for (x of y) if (x == ");
+ test("(for (x of y) if (x == 1 ");
+ test("(for (x of y) if (x == 1) ");
+ test("(for (x of y) if (x == 1) x ");
+ test("(for (x of y) if (x == 1) x) ");
+
+ // ---- Left-hand-side expressions ----
+
+ // property access
+
+ test("a[ ");
+ test("a[1 ");
+ test("a[1] ");
+
+ test("a. ");
+ test("a.b ");
+ test("a.b; ");
+
+ // new
+
+ test("new ");
+ test("new f ");
+ test("new f( ");
+ test("new f() ");
+ test("new f(); ");
+
+ // ---- Increment and decrement ----
+
+ test("a ++ ");
+ test("a ++; ");
+
+ test("-- ");
+ test("-- a ");
+ test("-- a; ");
+
+ // ---- Unary operators ----
+
+ // delete
+
+ test("delete ");
+ test("delete a ");
+ test("delete a[ ");
+ test("delete a[b ");
+ test("delete a[b] ");
+ test("delete a[b]; ");
+
+ test("delete ( ");
+ test("delete (a ");
+ test("delete (a[ ");
+ test("delete (a[b ");
+ test("delete (a[b] ");
+ test("delete (a[b]) ");
+ test("delete (a[b]); ");
+
+ // void
+
+ test("void ");
+ test("void a ");
+ test("void a; ");
+
+ test("void (");
+ test("void (a ");
+ test("void (a) ");
+ test("void (a); ");
+
+ // typeof
+
+ test("typeof ");
+ test("typeof a ");
+ test("typeof a; ");
+
+ test("typeof (");
+ test("typeof (a ");
+ test("typeof (a) ");
+ test("typeof (a); ");
+
+ // -
+
+ test("- ");
+ test("- 1 ");
+ test("- 1; ");
+
+ // +
+
+ test("+ ");
+ test("+ 1 ");
+ test("+ 1; ");
+
+ // ---- Arithmetic operators ----
+
+ // +
+
+ test("1 + ");
+ test("1 + 1 ");
+ test("1 + 1; ");
+
+ // ---- Relational operators ----
+
+ // in
+
+ test("a in ");
+ test("a in b ");
+ test("a in b; ");
+
+ // instanceof
+
+ test("a instanceof ");
+ test("a instanceof b ");
+ test("a instanceof b; ");
+
+ // ---- Equality operators ----
+
+ // ==
+
+ test("1 == ");
+ test("1 == 1 ");
+ test("1 == 1; ");
+
+ // ---- Bitwise shift operators ----
+
+ // <<
+
+ test("1 << ");
+ test("1 << 1 ");
+ test("1 << 1; ");
+
+ // ---- Binary bitwise operators ----
+
+ // &
+
+ test("1 & ");
+ test("1 & 1 ");
+ test("1 & 1; ");
+
+ // ---- Binary logical operators ----
+
+ // ||
+
+ test("1 || ");
+ test("1 || 1 ");
+ test("1 || 1; ");
+
+ // ---- Conditional (ternary) operator ----
+
+ test("1 ? ");
+ test("1 ? 2 ");
+ test("1 ? 2 : ");
+ test("1 ? 2 : 3 ");
+ test("1 ? 2 : 3; ");
+
+ // ---- Assignment operators ----
+
+ test("x = ");
+ test("x = 1 ");
+ test("x = 1 + ");
+ test("x = 1 + 2 ");
+ test("x = 1 + 2; ");
+
+ // ---- Comma operator ----
+
+ test("1, ");
+ test("1, 2 ");
+ test("1, 2; ");
+
+ // ---- Functions ----
+
+ // Arrow functions
+
+ test("a => ");
+ test("a => 1 ");
+ test("a => 1; ");
+ test("a => { ");
+ test("a => {} ");
+ test("a => {}; ");
+
+ test("( ");
+ test("() ");
+ test("() => ");
+
+ test("(...");
+ test("(...a ");
+ test("(...a) ");
+ test("(...a) => ");
+
+ test("([ ");
+ test("([a ");
+ test("([a] ");
+ test("([a]) ");
+ test("([a]) => ");
+
+ test("({ ");
+ test("({a ");
+ test("({a} ");
+ test("({a}) ");
+ test("({a}) => ");
+ test("({a: ");
+ test("({a: b ");
+ test("({a: b, ");
+ test("({a: b} ");
+ test("({a: b}) ");
+ test("({a: b}) => ");
+
+ // ---- Class declaration ----
+
+ test("class ");
+ test("class a ");
+ test("class a { ");
+ test("class a { constructor ");
+ test("class a { constructor( ");
+ test("class a { constructor() ");
+ test("class a { constructor() { ");
+ test("class a { constructor() { } ");
+ test("class a { constructor() { } } ");
+
+ test("class a { constructor() { } static ");
+ test("class a { constructor() { } static m ");
+ test("class a { constructor() { } static m( ");
+ test("class a { constructor() { } static m() ");
+ test("class a { constructor() { } static m() { ");
+ test("class a { constructor() { } static m() {} ");
+ test("class a { constructor() { } static m() {} } ");
+
+ test("class a { constructor() { } static ( ");
+ test("class a { constructor() { } static () ");
+ test("class a { constructor() { } static () { ");
+ test("class a { constructor() { } static () {} ");
+ test("class a { constructor() { } static () {} } ");
+
+ test("class a { constructor() { } static get ");
+ test("class a { constructor() { } static get p ");
+ test("class a { constructor() { } static get p( ");
+ test("class a { constructor() { } static get p() ");
+ test("class a { constructor() { } static get p() { ");
+ test("class a { constructor() { } static get p() {} ");
+ test("class a { constructor() { } static get p() {} } ");
+
+ test("class a { constructor() { } static set ");
+ test("class a { constructor() { } static set p ");
+ test("class a { constructor() { } static set p( ");
+ test("class a { constructor() { } static set p(v ");
+ test("class a { constructor() { } static set p(v) ");
+ test("class a { constructor() { } static set p(v) { ");
+ test("class a { constructor() { } static set p(v) {} ");
+ test("class a { constructor() { } static set p(v) {} } ");
+
+ test("class a { constructor() { } * ");
+ test("class a { constructor() { } *m ");
+ test("class a { constructor() { } *m( ");
+ test("class a { constructor() { } *m() ");
+ test("class a { constructor() { } *m() { ");
+ test("class a { constructor() { } *m() {} ");
+ test("class a { constructor() { } *m() {} } ");
+
+ test("class a { constructor() { } static * ");
+ test("class a { constructor() { } static *m ");
+ test("class a { constructor() { } static *m( ");
+ test("class a { constructor() { } static *m() ");
+ test("class a { constructor() { } static *m() { ");
+ test("class a { constructor() { } static *m() {} ");
+ test("class a { constructor() { } static *m() {} } ");
+
+ test("class a extends ");
+ test("class a extends b ");
+ test("class a extends b { ");
+
+ test("class a extends ( ");
+ test("class a extends ( b ");
+ test("class a extends ( b ) ");
+ test("class a extends ( b ) { ");
+
+ // ---- Class expression ----
+
+ test("( class ");
+ test("( class a ");
+ test("( class a { ");
+ test("( class a { constructor ");
+ test("( class a { constructor( ");
+ test("( class a { constructor() ");
+ test("( class a { constructor() { ");
+ test("( class a { constructor() { } ");
+ test("( class a { constructor() { } } ");
+ test("( class a { constructor() { } } ) ");
+
+ test("(class a extends ");
+ test("(class a extends b ");
+ test("(class a extends b { ");
+
+ test("(class a extends ( ");
+ test("(class a extends ( b ");
+ test("(class a extends ( b ) ");
+ test("(class a extends ( b ) { ");
+
+ test("( class { ");
+ test("( class { constructor ");
+ test("( class { constructor( ");
+ test("( class { constructor() ");
+ test("( class { constructor() { ");
+ test("( class { constructor() { } ");
+ test("( class { constructor() { } } ");
+ test("( class { constructor() { } } ) ");
+
+ test("(class extends ");
+ test("(class extends b ");
+ test("(class extends b { ");
+
+ test("(class extends ( ");
+ test("(class extends ( b ");
+ test("(class extends ( b ) ");
+ test("(class extends ( b ) { ");
+
+ // ---- Other ----
+
+ // Literals
+
+ test("a ");
+ test("1 ");
+ test("1. ");
+ test("1.2 ");
+ test("true ");
+ test("false ");
+ test("\"a\" ");
+ test("'a' ");
+ test("null ");
+
+ // Template strings
+
+ test("`${ ");
+ test("`${a ");
+ test("`${a}` ");
+
+ // Function calls
+
+ test("f( ");
+ test("f() ");
+ test("f(); ");
+
+ test("f(... ");
+ test("f(...x ");
+ test("f(...x) ");
+
+ // Function constructors
+
+ test_fun_arg("");
+ test_fun_arg("a ");
+ test_fun_arg("... ");
+ test_fun_arg("...a ");
+
+ // ==== Legacy ====
+
+ // Expression closures
+
+ test("function f() 1 ");
+ test("function f() 1; ");
+ test("(function () 1 ");
+ test("(function () 1); ");
+
+ // Legacy generator
+
+ test("function f() { (yield ");
+ test("function f() { (yield 1 ");
+ test("function f() { f(yield ");
+ test("function f() { f(yield 1 ");
+
+ // for each...in
+
+ test("for each ");
+ test("for each (");
+ test("for each (x ");
+ test("for each (x in ");
+ test("for each (x in y ");
+ test("for each (x in y) ");
+
+ test("for each (var ");
+ test("for each (var x ");
+ test("for each (var x in ");
+ test("for each (var x in y ");
+ test("for each (var x in y) ");
+
+ test("for each (let ");
+ test("for each (let x ");
+ test("for each (let x in ");
+ test("for each (let x in y ");
+ test("for each (let x in y) ");
+
+ // ==== asm.js ====
+
+ test("(function() { 'use asm'; ");
+ test("(function() { 'use asm'; var ");
+ test("(function() { 'use asm'; var a ");
+ test("(function() { 'use asm'; var a = ");
+ test("(function() { 'use asm'; var a = 1 ");
+ test("(function() { 'use asm'; var a = 1; ");
+ test("(function() { 'use asm'; var a = 1; function ");
+ test("(function() { 'use asm'; var a = 1; function f ");
+ test("(function() { 'use asm'; var a = 1; function f( ");
+ test("(function() { 'use asm'; var a = 1; function f() ");
+ test("(function() { 'use asm'; var a = 1; function f() { ");
+ test("(function() { 'use asm'; var a = 1; function f() { } ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = [ ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = [f ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = [f] ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = [f]; ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = [f]; return ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = [f]; return f ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = [f]; return f; ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = [f]; return f; } ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = [f]; return f; }) ");
+ test("(function() { 'use asm'; var a = 1; function f() { } var tbl = [f]; return f; }); ");
+
+ // ==== async/await ====
+
+ // async/await function decralation
+
+ test("async ");
+ test("async function ");
+ test("async function A ");
+ test("async function A( ");
+ test("async function A() ");
+ test("async function A(a ");
+ test("async function A(a) ");
+ test("async function A(a) { ");
+ test("async function A(a) {} ");
+ test("async function A(a) { await ");
+ test("async function A(a) { await X ");
+ test("async function A(a) { await X; ");
+ test("async function A(a) { await X; } ");
+ test("async function A(a) { await await ");
+ test("async function A(a) { await await await ");
+ test("async function A(a) { await await await X ");
+ test("async function A(a) { await await await X; ");
+ test("async function A(a) { await await await X; } ");
+
+ opts = { no_fun: true, no_eval: true, module: true };
+ test("export default async ", opts);
+ test("export default async function ", opts);
+ test("export default async function ( ", opts);
+ test("export default async function () ", opts);
+ test("export default async function (a ", opts);
+ test("export default async function (a) ", opts);
+ test("export default async function (a) { ", opts);
+ test("export default async function (a) {} ", opts);
+ test("export default async function (a) { await ", opts);
+ test("export default async function (a) { await X ", opts);
+ test("export default async function (a) { await X; ", opts);
+ test("export default async function (a) { await X; } ", opts);
+
+ // async/await function expression
+
+ test("(async ");
+ test("(async function ");
+ test("(async function A ");
+ test("(async function A( ");
+ test("(async function A() ");
+ test("(async function A(a ");
+ test("(async function A(a) ");
+ test("(async function A(a) { ");
+ test("(async function A(a) {} ");
+ test("(async function A(a) { await ");
+ test("(async function A(a) { await X ");
+ test("(async function A(a) { await X; ");
+ test("(async function A(a) { await X; } ");
+ test("(async function A(a) { await X; }) ");
+
+ test("(async function ( ");
+ test("(async function () ");
+ test("(async function (a ");
+ test("(async function (a) ");
+ test("(async function (a) { ");
+ test("(async function (a) {} ");
+ test("(async function (a) { await ");
+ test("(async function (a) { await X ");
+ test("(async function (a) { await X; ");
+ test("(async function (a) { await X; } ");
+ test("(async function (a) { await X; }) ");
+
+ // async/await method
+
+ test("({ async ");
+ test("({ async m ");
+ test("({ async m( ");
+ test("({ async m() ");
+ test("({ async m() { ");
+ test("({ async m() {} ");
+ test("({ async m() {}, ");
+
+ test("class X { async ");
+ test("class X { async m ");
+ test("class X { async m( ");
+ test("class X { async m() ");
+ test("class X { async m() { ");
+ test("class X { async m() {} ");
+
+ test("class X { static async ");
+ test("class X { static async m ");
+ test("class X { static async m( ");
+ test("class X { static async m() ");
+ test("class X { static async m() { ");
+ test("class X { static async m() {} ");
+
+ // async/await arrow
+
+ test("(async a ");
+ test("(async a => ");
+ test("(async a => b ");
+ test("(async a => b) ");
+
+ test("(async a => { ");
+ test("(async a => { b ");
+ test("(async a => { b } ");
+ test("(async a => { b }) ");
+
+ test("(async ( ");
+ test("(async (a ");
+ test("(async (a) ");
+ test("(async (a) => ");
+ test("(async (a) => b ");
+ test("(async (a) => b) ");
+ test("(async (a, ");
+ test("(async (a, b ");
+ test("(async (a, b) ");
+ test("(async (a, b) => ");
+ test("(async (a, b) => b ");
+ test("(async (a, b) => b) ");
+
+ test("(async ([ ");
+ test("(async ([a ");
+ test("(async ([a] ");
+ test("(async ([a]) ");
+ test("(async ([a]) => ");
+ test("(async ([a]) => b ");
+ test("(async ([a]) => b) ");
+ test("(async ([a, ");
+ test("(async ([a, b ");
+ test("(async ([a, b] ");
+ test("(async ([a, b]) ");
+ test("(async ([a, b]) => ");
+ test("(async ([a, b]) => b ");
+ test("(async ([a, b]) => b) ");
+
+ test("(async ({ ");
+ test("(async ({a ");
+ test("(async ({a} ");
+ test("(async ({a}) ");
+ test("(async ({a}) => ");
+ test("(async ({a}) => b ");
+ test("(async ({a}) => b) ");
+ test("(async ({a, ");
+ test("(async ({a, b ");
+ test("(async ({a, b} ");
+ test("(async ({a, b}) ");
+ test("(async ({a, b}) => ");
+ test("(async ({a, b}) => b ");
+ test("(async ({a, b}) => b) ");
+}
diff --git a/js/src/jit-test/lib/wasm-binary.js b/js/src/jit-test/lib/wasm-binary.js
new file mode 100644
index 000000000..e57ac8491
--- /dev/null
+++ b/js/src/jit-test/lib/wasm-binary.js
@@ -0,0 +1,95 @@
+// MagicNumber = 0x6d736100;
+const magic0 = 0x00; // '\0'
+const magic1 = 0x61; // 'a'
+const magic2 = 0x73; // 's'
+const magic3 = 0x6d; // 'm'
+
+// EncodingVersion
+const encodingVersion = 0x1;
+const ver0 = (encodingVersion >>> 0) & 0xff;
+const ver1 = (encodingVersion >>> 8) & 0xff;
+const ver2 = (encodingVersion >>> 16) & 0xff;
+const ver3 = (encodingVersion >>> 24) & 0xff;
+
+// Section opcodes
+const userDefinedId = 0;
+const typeId = 1;
+const importId = 2;
+const functionId = 3;
+const tableId = 4;
+const memoryId = 5;
+const globalId = 6;
+const exportId = 7;
+const startId = 8;
+const elemId = 9;
+const codeId = 10;
+const dataId = 11;
+
+// User-defined section names
+const nameName = "name";
+
+// Type codes
+const I32Code = 0x7f;
+const I64Code = 0x7e;
+const F32Code = 0x7d;
+const F64Code = 0x7c;
+const AnyFuncCode = 0x70;
+const FuncCode = 0x60;
+const VoidCode = 0x40;
+
+// Opcodes
+const UnreachableCode = 0x00
+const BlockCode = 0x02;
+const EndCode = 0x0b;
+const CallCode = 0x10;
+const CallIndirectCode = 0x11;
+const I32Load = 0x28;
+const I64Load = 0x29;
+const F32Load = 0x2a;
+const F64Load = 0x2b;
+const I32Load8S = 0x2c;
+const I32Load8U = 0x2d;
+const I32Load16S = 0x2e;
+const I32Load16U = 0x2f;
+const I64Load8S = 0x30;
+const I64Load8U = 0x31;
+const I64Load16S = 0x32;
+const I64Load16U = 0x33;
+const I64Load32S = 0x34;
+const I64Load32U = 0x35;
+const I32Store = 0x36;
+const I64Store = 0x37;
+const F32Store = 0x38;
+const F64Store = 0x39;
+const I32Store8 = 0x3a;
+const I32Store16 = 0x3b;
+const I64Store8 = 0x3c;
+const I64Store16 = 0x3d;
+const I64Store32 = 0x3e;
+const GrowMemoryCode = 0x40;
+const I32ConstCode = 0x41;
+const I64ConstCode = 0x42;
+const F32ConstCode = 0x43;
+const F64ConstCode = 0x44;
+const I32DivSCode = 0x6d;
+const I32DivUCode = 0x6e;
+const I32RemSCode = 0x6f;
+const I32RemUCode = 0x70;
+const I32TruncSF32Code = 0xa8;
+const I32TruncUF32Code = 0xa9;
+const I32TruncSF64Code = 0xaa;
+const I32TruncUF64Code = 0xab;
+const I64TruncSF32Code = 0xae;
+const I64TruncUF32Code = 0xaf;
+const I64TruncSF64Code = 0xb0;
+const I64TruncUF64Code = 0xb1;
+
+// DefinitionKind
+const FunctionCode = 0x00;
+const TableCode = 0x01;
+const MemoryCode = 0x02;
+const GlobalCode = 0x03;
+
+// ResizableFlags
+const HasMaximumFlag = 0x1;
+
diff --git a/js/src/jit-test/lib/wasm.js b/js/src/jit-test/lib/wasm.js
new file mode 100644
index 000000000..585f10c68
--- /dev/null
+++ b/js/src/jit-test/lib/wasm.js
@@ -0,0 +1,147 @@
+if (!wasmIsSupported())
+ quit();
+
+load(libdir + "asserts.js");
+
+function wasmEvalText(str, imports) {
+ let binary = wasmTextToBinary(str);
+ let valid = WebAssembly.validate(binary);
+
+ let m;
+ try {
+ m = new WebAssembly.Module(binary);
+ assertEq(valid, true);
+ } catch(e) {
+ assertEq(valid, false);
+ throw e;
+ }
+
+ return new WebAssembly.Instance(m, imports);
+}
+
+function wasmValidateText(str) {
+ assertEq(WebAssembly.validate(wasmTextToBinary(str)), true);
+}
+
+function wasmFailValidateText(str, pattern) {
+ let binary = wasmTextToBinary(str);
+ assertEq(WebAssembly.validate(binary), false);
+ assertErrorMessage(() => new WebAssembly.Module(binary), WebAssembly.CompileError, pattern);
+}
+
+function mismatchError(actual, expect) {
+ var str = `type mismatch: expression has type ${actual} but expected ${expect}`;
+ return RegExp(str);
+}
+
+function jsify(wasmVal) {
+ if (wasmVal === 'nan')
+ return NaN;
+ if (wasmVal === 'infinity')
+ return Infinity;
+ if (wasmVal === '-infinity')
+ return Infinity;
+ if (wasmVal === '-0')
+ return -0;
+ return wasmVal;
+}
+
+// Assert that the expected value is equal to the int64 value, as passed by
+// Baldr: {low: int32, high: int32}.
+// - if the expected value is in the int32 range, it can be just a number.
+// - otherwise, an object with the properties "high" and "low".
+function assertEqI64(observed, expect) {
+ assertEq(typeof observed, 'object', "observed must be an i64 object");
+ assertEq(typeof expect === 'object' || typeof expect === 'number', true,
+ "expect must be an i64 object or number");
+
+ let {low, high} = observed;
+ if (typeof expect === 'number') {
+ assertEq(expect, expect | 0, "in int32 range");
+ assertEq(low, expect | 0, "low 32 bits don't match");
+ assertEq(high, expect < 0 ? -1 : 0, "high 32 bits don't match"); // sign extension
+ } else {
+ assertEq(typeof expect.low, 'number');
+ assertEq(typeof expect.high, 'number');
+ assertEq(low, expect.low | 0, "low 32 bits don't match");
+ assertEq(high, expect.high | 0, "high 32 bits don't match");
+ }
+}
+
+// Asserts in Baldr test mode that NaN payloads match.
+function assertEqNaN(x, y) {
+ if (typeof x === 'number') {
+ assertEq(Number.isNaN(x), Number.isNaN(y));
+ return;
+ }
+
+ assertEq(typeof x === 'object' &&
+ typeof x.nan_low === 'number',
+ true,
+ "assertEqNaN args must have shape {nan_high, nan_low}");
+
+ assertEq(typeof y === 'object' &&
+ typeof y.nan_low === 'number',
+ true,
+ "assertEqNaN args must have shape {nan_high, nan_low}");
+
+ assertEq(typeof x.nan_high,
+ typeof y.nan_high,
+ "both args must have nan_high, or none");
+
+ assertEq(x.nan_high, y.nan_high, "assertEqNaN nan_high don't match");
+ if (typeof x.nan_low !== 'undefined')
+ assertEq(x.nan_low, y.nan_low, "assertEqNaN nan_low don't match");
+}
+
+function createI64(val) {
+ let ret;
+ if (typeof val === 'number') {
+ assertEq(val, val|0, "number input to createI64 must be an int32");
+ ret = {
+ low: val,
+ high: val < 0 ? -1 : 0 // sign extension
+ };
+ } else {
+ assertEq(typeof val, 'string');
+ assertEq(val.slice(0, 2), "0x");
+ val = val.slice(2).padStart(16, '0');
+ ret = {
+ low: parseInt(val.slice(8, 16), 16),
+ high: parseInt(val.slice(0, 8), 16)
+ };
+ }
+ return ret;
+}
+
+function _wasmFullPassInternal(assertValueFunc, text, expected, maybeImports, ...args) {
+ let binary = wasmTextToBinary(text);
+ assertEq(WebAssembly.validate(binary), true, "Must validate.");
+
+ let module = new WebAssembly.Module(binary);
+ let instance = new WebAssembly.Instance(module, maybeImports);
+ assertEq(typeof instance.exports.run, 'function', "A 'run' function must be exported.");
+ assertValueFunc(instance.exports.run(...args), expected, "Initial module must return the expected result.");
+
+ let retext = wasmBinaryToText(binary);
+ let rebinary = wasmTextToBinary(retext);
+
+ assertEq(WebAssembly.validate(rebinary), true, "Recreated binary must validate.");
+ let remodule = new WebAssembly.Module(rebinary);
+ let reinstance = new WebAssembly.Instance(remodule, maybeImports);
+ assertValueFunc(reinstance.exports.run(...args), expected, "Reformed module must return the expected result");
+}
+
+// Fully test a module:
+// - ensure it validates.
+// - ensure it compiles and produces the expected result.
+// - ensure textToBinary(binaryToText(binary)) = binary
+// Preconditions:
+// - the binary module must export a function called "run".
+function wasmFullPass(text, expected, maybeImports, ...args) {
+ _wasmFullPassInternal(assertEq, text, expected, maybeImports, ...args);
+}
+
+function wasmFullPassI64(text, expected, maybeImports, ...args) {
+ _wasmFullPassInternal(assertEqI64, text, expected, maybeImports, ...args);
+}